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

RuntimesSmokeTest.quarkusFullMicroProfile failing due to deprecated StackTrace option #167

Closed
jerboaa opened this issue Jun 12, 2023 · 3 comments · Fixed by quarkusio/quarkus#33987
Assignees

Comments

@jerboaa
Copy link
Collaborator

jerboaa commented Jun 12, 2023

Mandrel IT test RuntimesSmokeTest.quarkusFullMicroProfile is failing because of the now deprecated -H:+StackTrace option. See this graal commit: oracle/graal@c8a0e76 part of oracle/graal#6763

The test fails with:

Error:  Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 522.484 s <<< FAILURE! - in org.graalvm.tests.integration.RuntimesSmokeTest
Error:  quarkusFullMicroProfile{TestInfo}  Time elapsed: 348.144 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: 
build-and-run.log log should not contain error or warning lines that are not whitelisted. See /home/runner/work/mandrel/mandrel/mandrel-integration-tests/testsuite/target/archived-logs/org.graalvm.tests.integration.RuntimesSmokeTest/quarkusFullMicroProfile/build-and-run.log and check these offending lines: 
Warning: Option 'StackTrace' is deprecated and might be removed in a future release. Please refer to the GraalVM release notes. ==> expected: <true> but was: <false>
	at org.graalvm.tests.integration.RuntimesSmokeTest.testRuntime(RuntimesSmokeTest.java:166)
	at org.graalvm.tests.integration.RuntimesSmokeTest.quarkusFullMicroProfile(RuntimesSmokeTest.java:194)

See https://github.com/graalvm/mandrel/actions/runs/5227497104/jobs/9439379129#step:11:13392

This affects the Windows mandrel IT run as well.

@jerboaa jerboaa self-assigned this Jun 12, 2023
@jerboaa
Copy link
Collaborator Author

jerboaa commented Jun 12, 2023

Stack traces are always turned on with 23.1, so we should just stop adding that option in quarkus.

@jerboaa
Copy link
Collaborator Author

jerboaa commented Jun 12, 2023

Proposed quarkus fix: quarkusio/quarkus#33987

@jerboaa
Copy link
Collaborator Author

jerboaa commented Jun 22, 2023

Fixed on the quarkus side and we no longer see the issue. Example:
https://github.com/graalvm/mandrel/actions/runs/5295670650/jobs/9586499205#step:10:8738

@jerboaa jerboaa closed this as completed Jun 22, 2023
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 a pull request may close this issue.

1 participant