Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: bump surefire #330

Merged
merged 1 commit into from
Feb 17, 2023
Merged

test: bump surefire #330

merged 1 commit into from
Feb 17, 2023

Conversation

carlossg
Copy link
Owner

No description provided.

@carlossg carlossg changed the title test: bump surefire to 2.22.2 test: bump surefire Feb 13, 2023
@carlossg
Copy link
Owner Author

@slide newer surefire versions are failing with

Error:  Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project example: There are test failures.
Error:  
Error:  Please refer to C:\Temp\target\surefire-reports for the individual test results.
Error:  Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
Error:  The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Error:  Command was cmd.exe /X /C "C:\openjdk-8\jre\bin\java -jar C:\Users\CONTAI~2\AppData\Local\Temp\surefire5485655954834297554\surefirebooter576843421289266[53](https://github.com/carlossg/docker-maven/actions/runs/4158097711/jobs/7193077073#step:3:54)48.jar C:\Users\ContainerAdministrator\AppData\Local\Temp\surefire5485655954834297554 2023-02-12T20-46-12_129-jvmRun1 surefire6876441647315012349tmp surefire_05353401210504586307tmp"
Error:  Error occurred in starting fork, check output in log
Error:  Process Exit Code: 1
Error:  org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
Error:  Command was cmd.exe /X /C "C:\openjdk-8\jre\bin\java -jar C:\Users\CONTAI~2\AppData\Local\Temp\surefire[54](https://github.com/carlossg/docker-maven/actions/runs/4158097711/jobs/7193077073#step:3:55)85655954834297554\surefirebooter5768434212892665348.jar C:\Users\ContainerAdministrator\AppData\Local\Temp\surefire5485655954834297554 2023-02-12T20-46-12_129-jvmRun1 surefire6876441647315012349tmp surefire_05353401210504586307tmp"
Error:  Error occurred in starting fork, check output in log
Error:  Process Exit Code: 1

https://github.com/carlossg/docker-maven/actions/runs/4158097711/jobs/7193077073

surefire 3.x is also failing #331

@slide
Copy link
Contributor

slide commented Feb 13, 2023

Is there a way to get more information, e.g. the dump file or something? Perhaps the latest jdk-8 is using something that isn't in server core?

@carlossg
Copy link
Owner Author

you can add run any command in the tests if you want to get file outputs

to test latest working version

test: surefire 2.19.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants