Skip to content

Conversation

@holly-cummins
Copy link
Contributor

@holly-cummins holly-cummins commented Apr 22, 2025

Alternate fix for #47475

@holly-cummins holly-cummins added the ci/test-platform CI will run a Platform build consuming the Core changes and report the results label Apr 22, 2025
@quarkus-bot
Copy link

quarkus-bot bot commented Apr 22, 2025

Thanks for your pull request!

Your pull request does not follow our editorial rules. Could you have a look?

  • description should not be empty, describe your intent or provide links to the issues this PR is fixing (using Fixes #NNNNN) or changelogs

This message is automatically generated by a bot.

@holly-cummins
Copy link
Contributor Author

Platform test job is in the job list, but it was skipped. >:(

I'll try rebasing.

@holly-cummins holly-cummins added the ci/disable-gib CI disable GIB and build all modules, even if supposedly not necessary label Apr 22, 2025
@holly-cummins holly-cummins force-pushed the do-not-attempt-to-set-null-system-properties branch from 8828007 to 7e4e449 Compare April 22, 2025 19:08
@holly-cummins
Copy link
Contributor Author

holly-cummins commented Apr 22, 2025

This moves the 'config is null' failure to camel code but doesn't get azure-grouped to green:

2025-04-22T20:53:56.2405396Z Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
2025-04-22T20:53:56.2406314Z 	at io.quarkus.test.junit.ClassCoercingTestProfile.invokeReflectively(ClassCoercingTestProfile.java:30)
2025-04-22T20:53:56.2407352Z 	at io.quarkus.test.junit.ClassCoercingTestProfile.getConfigOverrides(ClassCoercingTestProfile.java:48)
2025-04-22T20:53:56.2408322Z 	at io.quarkus.test.junit.AppMakerHelper.createAugmentor(AppMakerHelper.java:102)
2025-04-22T20:53:56.2409174Z 	at io.quarkus.test.junit.AppMakerHelper.getStartupAction(AppMakerHelper.java:284)
2025-04-22T20:53:56.2410393Z 	at io.quarkus.test.junit.classloading.FacadeClassLoader.getOrCreateRuntimeClassLoader(FacadeClassLoader.java:558)
2025-04-22T20:53:56.2411606Z 	at io.quarkus.test.junit.classloading.FacadeClassLoader.getQuarkusClassLoader(FacadeClassLoader.java:474)
2025-04-22T20:53:56.2412703Z 	at io.quarkus.test.junit.classloading.FacadeClassLoader.loadClass(FacadeClassLoader.java:333)
2025-04-22T20:53:56.2413473Z 	at java.base/java.lang.Class.forName0(Native Method)
2025-04-22T20:53:56.2413990Z 	at java.base/java.lang.Class.forName(Class.java:467)
2025-04-22T20:53:56.2414715Z 	at org.junit.platform.commons.util.ReflectionUtils.lambda$tryToLoadClass$10(ReflectionUtils.java:874)
2025-04-22T20:53:56.2415949Z 	at org.junit.platform.commons.function.Try.lambda$call$0(Try.java:57)
2025-04-22T20:53:56.2416584Z 	at org.junit.platform.commons.function.Try.of(Try.java:93)
2025-04-22T20:53:56.2417162Z 	at org.junit.platform.commons.function.Try.call(Try.java:57)
2025-04-22T20:53:56.2418006Z 	at org.junit.platform.commons.util.ReflectionUtils.tryToLoadClass(ReflectionUtils.java:861)
2025-04-22T20:53:56.2418914Z 	at org.junit.platform.commons.util.ReflectionUtils.tryToLoadClass(ReflectionUtils.java:798)
2025-04-22T20:53:56.2420177Z 	at org.junit.platform.commons.support.ReflectionSupport.tryToLoadClass(ReflectionSupport.java:95)
2025-04-22T20:53:56.2421192Z 	at org.junit.platform.engine.discovery.ClassSelector.getJavaClass(ClassSelector.java:95)
2025-04-22T20:53:56.2422073Z 	... 42 more
2025-04-22T20:53:56.2422482Z Caused by: java.lang.reflect.InvocationTargetException
2025-04-22T20:53:56.2423248Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2025-04-22T20:53:56.2424164Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2025-04-22T20:53:56.2425160Z 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2025-04-22T20:53:56.2426030Z 	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
2025-04-22T20:53:56.2426871Z 	at io.quarkus.test.junit.ClassCoercingTestProfile.invokeReflectively(ClassCoercingTestProfile.java:28)
2025-04-22T20:53:56.2427660Z 	... 58 more
2025-04-22T20:53:56.2427978Z Caused by: java.lang.NullPointerException
2025-04-22T20:53:56.2428497Z 	at java.base/java.util.Objects.requireNonNull(Objects.java:209)
2025-04-22T20:53:56.2429202Z 	at java.base/java.util.ImmutableCollections$MapN.<init>(ImmutableCollections.java:1186)
2025-04-22T20:53:56.2430060Z 	at java.base/java.util.Map.of(Map.java:1395)
2025-04-22T20:53:56.2431028Z 	at org.apache.camel.quarkus.component.azure.key.vault.it.AzureKeyVaultTestProfile.getConfigOverrides(AzureKeyVaultTestProfile.java:27)
2025-04-22T20:53:56.2431971Z 	... 63 more

@quarkus-bot
Copy link

quarkus-bot bot commented Apr 22, 2025

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 7e4e449.

Failing Jobs

Status Name Step Failures Logs Raw logs Build scan
Platform Tests - JDK 17 Test Platform Failures Logs Raw logs 🚧

Full information is available in the Build summary check run.
You can consult the Develocity build scans.

Failures

⚙️ Platform Tests - JDK 17 #

- Failing: Root module 

📦 Root module

Failed to execute goal io.quarkus:quarkus-platform-bom-maven-plugin:0.0.119:invoke-platform-project (build-platform-project) on project quarkus-platform-config: Failed to build the platform project, please consult the errors logged above.

📦 quarkus-platform/generated-platform-project/quarkus-camel/integration-tests/camel-quarkus-integration-test-aws2-grouped

org.apache.camel.quarkus.component.aws.secrets.manager.it.GroupedCamelContextRefreshOnSecretRefreshTest. - History - More details - Source on GitHub

Details
java.util.ServiceConfigurationError: io.smallrye.config.SmallRyeConfigFactory: io.quarkus.runtime.configuration.QuarkusConfigFactory not a subtype
	at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593)
	at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1244)
	at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1273)
	at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1309)
	at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1393)
	at io.smallrye.config.SmallRyeConfigProviderResolver.getFactoryFor(SmallRyeConfigProviderResolver.java:102)
	at io.smallrye.config.SmallRyeConfigProviderResolver.getConfig(SmallRyeConfigProviderResolver.java:78)

📦 quarkus-platform/generated-platform-project/quarkus-camel/integration-tests/camel-quarkus-integration-test-kubernetes

org.apache.camel.quarkus.component.kubernetes.it.KubernetesConfigMapContextReloadTest.configMapTriggersCamelContextReload line 84 - History - More details - Source on GitHub

Details
org.awaitility.core.ConditionTimeoutException: 
Assertion condition defined as a Lambda expression in org.apache.camel.quarkus.component.kubernetes.it.KubernetesConfigMapContextReloadTest 1 expectation failed.
Response body doesn't match expectation.
Expected: is "reloaded"
  Actual: not-reloaded
 within 1 minutes.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)

@gsmet
Copy link
Member

gsmet commented Apr 23, 2025

OK, let's be strict for now and we will see how it pans out.

@gsmet gsmet closed this Apr 23, 2025
@quarkus-bot quarkus-bot bot added triage/invalid This doesn't seem right and removed ci/disable-gib CI disable GIB and build all modules, even if supposedly not necessary labels Apr 23, 2025
@holly-cummins
Copy link
Contributor Author

OK, let's be strict for now and we will see how it pans out.

I agree. I think it's worth merging (and probably backporting) #47482, just to give a better-looking and more useful error message, but there's something underlying that needs to be fixed... probably caused by the classloading changes. :) My plan for today is to dig into it more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/testing ci/test-platform CI will run a Platform build consuming the Core changes and report the results triage/invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants