-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
quarkus.test.native-image-profile seems to be not reflected with Quarkus main #45083
Comments
CC @sberyozkin |
Hi @rsvoboda Thanks, @gsmet pinged me about it, and pointed out that it started failing about 4 days back from 9th Dec, I had a look at commits and could not find anything obvious in the commit history... |
OK, the plan is to go via https://github.com/quarkusio/quarkus/commits/main/test-framework, run the test against different code views, and try to narrow down something :-) |
@sberyozkin QS started to fail on Dec 6th |
I'll have a look. |
Hey @rsvoboda Thanks a million, as I haven't got to it yet. Thanks @radcortez, good news it is on |
Describe the bug
quarkus.test.native-image-profile
seems to be not reflected with Quarkus mainsecurity-openid-connect-client-quickstart is failing and it uses this property in https://github.com/quarkusio/quarkus-quickstarts/blob/main/security-openid-connect-client-quickstart/src/main/resources/application.properties#L14 to control port number
security-openid-connect-client-quickstart works well with Quarkus 3.17.4
When native binary is executed in the test
INFO [io.quarkus] (main) Profile prod activated.
appears in the logWARN [io.qua.run.con.ConfigRecorder] (main) The profile 'prod' used to build the native image is different from the runtime profile 'test'. This may lead to unexpected results.
is the thing that should appear in the log asquarkus.test.native-image-profile=test
is set in the application propertiesExpected behavior
security-openid-connect-client-quickstart passes with Quarkus main
Actual behavior
security-openid-connect-client-quickstart fails with Quarkus main,
prod
mode is used in execution andquarkus.test.native-image-profile=test
is not reflectedHow to Reproduce?
Make sure GraalVM or Mandrel is available, e.g. using
sdk use java 23.1.5.r21-mandrel
Run
Output of
uname -a
orver
macOS
Output of
java -version
Java 21
Quarkus version or git rev
Quarkus main fc237a6
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: