-
Notifications
You must be signed in to change notification settings - Fork 25
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
Failed to Run Tests action and Generate Test Reports #976
Comments
Terminal Logs :
|
NOTE : I found something interesting: I am able to run the tests and view the generated test report using the sample project in our repository https://github.com/OpenLiberty/liberty-tools-intellij/tree/main/src/test/resources/projects/maven/singleModMavenMP . I ran the UI test locally, and it was successful. Similarly, I checked the GHA builds, and they are also passing. However, the problem arises with the new project we generated in openliberty.io. I tested it with the same project that I ran on my previous Mac machine (where the .m2 folder wasn't cleared), and I'm encountering same failures on my new Mac machine as well. |
Similar issue has been observed with Windows machine as well while testing for maven project , below is the error log [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.363 s <<< FAILURE! -- in PropertiesEndpointIT [INFO] |
@TrevCraw , @turkeylurkey Just for confirmation, I am getting the same exception even for a successful test case when executing logs:
|
@vaisakhkannan what project are you using? What version of the Liberty Maven Plugin (LMP)? What version of Java? It looks like the exception is coming from the |
@TrevCraw Maven project generated from https://openliberty.io/start/ with below configuration Version of java
|
When I searched for the error in the terminal logs, I found an issue https://issues.apache.org/jira/browse/SUREFIRE-2257 that appears to have been fixed, and the fix will be available in version 3.5.1. |
When I tested with my
new Mac laptop
, I saw that theRun Tests
action failed, and the test reports were not generated.Environment
macOS Sonoma 14.4
Chip Apple M3 Pro
LTI version : 24.0.9 release candidate driver
LSP4IJ : 0.5.0
Maven project
Screen recording of the issue
Untitled-2.mov
The text was updated successfully, but these errors were encountered: