Skip to content

Config: detect injected config value mismatch during static init #1334

Config: detect injected config value mismatch during static init

Config: detect injected config value mismatch during static init #1334

GitHub Actions / Build summary for 6e6494174d02b3138858c84338c3f9cab99ee6a6 completed Oct 4, 2023

Build summary for 6e6494174d02b3138858c84338c3f9cab99ee6a6

Failing Jobs - Building 6e64941 - Back to Workflow run summary

Status Name Step Failures Logs Raw logs Build scan
JVM Tests - JDK 11 Build Failures Logs Raw logs
JVM Tests - JDK 17 Build Failures Logs Raw logs
JVM Tests - JDK 17 Windows Build Failures Logs Raw logs
JVM Tests - JDK 20 Build Failures Logs Raw logs
✔️ Maven Tests - JDK 11
Maven Tests - JDK 11 Windows Build ⚠️ Check → Logs Raw logs
Native Tests - AWT, ImageIO and Java2D ⚠️ Check → Logs Raw logs
Native Tests - Cache Build ⚠️ Check → Logs Raw logs
Native Tests - Data1 Build ⚠️ Check → Logs Raw logs
Native Tests - Data7 Build ⚠️ Check → Logs Raw logs
Native Tests - DevTools Integration Tests ⚠️ Check → Logs Raw logs
Native Tests - HTTP Build ⚠️ Check → Logs Raw logs
Native Tests - Messaging1 Build Failures Logs Raw logs
Native Tests - Misc1 Build ⚠️ Check → Logs Raw logs
Native Tests - Misc2 Build ⚠️ Check → Logs Raw logs
Native Tests - Misc3 Build ⚠️ Check → Logs Raw logs
Native Tests - Misc4 Build ⚠️ Check → Logs Raw logs
Native Tests - Security2 Build ⚠️ Check → Logs Raw logs
Native Tests - Spring Build ⚠️ Check → Logs Raw logs
Native Tests - Windows - RESTEasy Jackson Build ⚠️ Check → Logs Raw logs
Native Tests - gRPC Build ⚠️ Check → Logs Raw logs

Details

Test Failures

⚙️ JVM Tests - JDK 11 #

📦 extensions/undertow/deployment

# Tests:    48
+ Success:  47
- Failures: 0
- Errors:   1
! Skipped:  0

io.quarkus.undertow.test.config.WebFilterConfigInjectionWarningsTest. - Source on GitHub - 🠅

java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:705)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)

⚙️ JVM Tests - JDK 17 #

- Failing: extensions/undertow/deployment 
! Skipped: devtools/cli extensions/agroal/deployment extensions/avro/deployment and 347 more

📦 extensions/undertow/deployment

# Tests:    48
+ Success:  47
- Failures: 0
- Errors:   1
! Skipped:  0

io.quarkus.undertow.test.config.WebFilterConfigInjectionWarningsTest. - Source on GitHub - 🠅

java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:705)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

⚙️ JVM Tests - JDK 17 Windows #

- Failing: extensions/undertow/deployment 
! Skipped: devtools/cli extensions/agroal/deployment extensions/avro/deployment and 347 more

📦 extensions/undertow/deployment

# Tests:    48
+ Success:  47
- Failures: 0
- Errors:   1
! Skipped:  0

io.quarkus.undertow.test.config.WebFilterConfigInjectionWarningsTest. - Source on GitHub - 🠅

java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:705)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

⚙️ JVM Tests - JDK 20 #

- Failing: extensions/undertow/deployment 
! Skipped: devtools/cli extensions/agroal/deployment extensions/avro/deployment and 347 more

📦 extensions/undertow/deployment

# Tests:    48
+ Success:  47
- Failures: 0
- Errors:   1
! Skipped:  0

io.quarkus.undertow.test.config.WebFilterConfigInjectionWarningsTest. - Source on GitHub - 🠅

java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:705)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

⚙️ Native Tests - Messaging1 #

- Failing: integration-tests/reactive-messaging-kafka 

📦 integration-tests/reactive-messaging-kafka

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:build (default) on project quarkus-integration-test-reactive-messaging-kafka: Failed to build quarkus application

Annotations

Check failure on line 1 in extensions/undertow/deployment/src/test/java/io/quarkus/undertow/test/config/WebFilterConfigInjectionWarningsTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 6e6494174d02b3138858c84338c3f9cab99ee6a6

JVM Tests - JDK 11

java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:705)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Raw output
java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:705)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Caused by: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
	at io.quarkus.runtime.Application.start(Application.java:101)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at io.quarkus.runner.bootstrap.StartupActionImpl.run(StartupActionImpl.java:282)
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:658)
	... 1 more
Caused by: java.lang.IllegalStateException: Injected config property value mismatch detected
The runtime value differs from the value that was injected during the static intialization phase:
 - the runtime value of 'configProperty' is [runtime] but the value [static] was injected into io.quarkus.undertow.test.config.WebFilterConfigInjectionWarningsTest$ConfigFilter#configProperty
	at io.quarkus.arc.runtime.ConfigStaticInitValues.onStart(ConfigStaticInitValues.java:52)
	at io.quarkus.arc.runtime.ConfigStaticInitValues_Observer_onStart_6ac0983e8ea95599cc73f6b6ce7e74f2b88f051f.notify(Unknown Source)
	at io.quarkus.arc.impl.EventImpl$Notifier.notifyObservers(EventImpl.java:346)
	at io.quarkus.arc.impl.EventImpl$Notifier.notify(EventImpl.java:328)
	at io.quarkus.arc.impl.EventImpl.fire(EventImpl.java:82)
	at io.quarkus.arc.runtime.ArcRecorder.fireLifecycleEvent(ArcRecorder.java:155)
	at io.quarkus.arc.runtime.ArcRecorder.handleLifecycleEvents(ArcRecorder.java:106)
	at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy_0(Unknown Source)
	at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy(Unknown Source)
	... 6 more

Check failure on line 1 in extensions/undertow/deployment/src/test/java/io/quarkus/undertow/test/config/WebFilterConfigInjectionWarningsTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 6e6494174d02b3138858c84338c3f9cab99ee6a6

JVM Tests - JDK 17

java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:705)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Raw output
java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:705)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
	at io.quarkus.runtime.Application.start(Application.java:101)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at io.quarkus.runner.bootstrap.StartupActionImpl.run(StartupActionImpl.java:282)
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:658)
	... 1 more
Caused by: java.lang.IllegalStateException: Injected config property value mismatch detected
The runtime value differs from the value that was injected during the static intialization phase:
 - the runtime value of 'configProperty' is [runtime] but the value [static] was injected into io.quarkus.undertow.test.config.WebFilterConfigInjectionWarningsTest$ConfigFilter#configProperty
	at io.quarkus.arc.runtime.ConfigStaticInitValues.onStart(ConfigStaticInitValues.java:52)
	at io.quarkus.arc.runtime.ConfigStaticInitValues_Observer_onStart_6ac0983e8ea95599cc73f6b6ce7e74f2b88f051f.notify(Unknown Source)
	at io.quarkus.arc.impl.EventImpl$Notifier.notifyObservers(EventImpl.java:346)
	at io.quarkus.arc.impl.EventImpl$Notifier.notify(EventImpl.java:328)
	at io.quarkus.arc.impl.EventImpl.fire(EventImpl.java:82)
	at io.quarkus.arc.runtime.ArcRecorder.fireLifecycleEvent(ArcRecorder.java:155)
	at io.quarkus.arc.runtime.ArcRecorder.handleLifecycleEvents(ArcRecorder.java:106)
	at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy_0(Unknown Source)
	at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy(Unknown Source)
	... 6 more

Check failure on line 1 in extensions/undertow/deployment/src/test/java/io/quarkus/undertow/test/config/WebFilterConfigInjectionWarningsTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 6e6494174d02b3138858c84338c3f9cab99ee6a6

JVM Tests - JDK 17 Windows

java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:705)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Raw output
java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:705)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
	at io.quarkus.runtime.Application.start(Application.java:101)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at io.quarkus.runner.bootstrap.StartupActionImpl.run(StartupActionImpl.java:282)
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:658)
	... 1 more
Caused by: java.lang.IllegalStateException: Injected config property value mismatch detected
The runtime value differs from the value that was injected during the static intialization phase:
 - the runtime value of 'configProperty' is [runtime] but the value [static] was injected into io.quarkus.undertow.test.config.WebFilterConfigInjectionWarningsTest$ConfigFilter#configProperty
	at io.quarkus.arc.runtime.ConfigStaticInitValues.onStart(ConfigStaticInitValues.java:52)
	at io.quarkus.arc.runtime.ConfigStaticInitValues_Observer_onStart_6ac0983e8ea95599cc73f6b6ce7e74f2b88f051f.notify(Unknown Source)
	at io.quarkus.arc.impl.EventImpl$Notifier.notifyObservers(EventImpl.java:346)
	at io.quarkus.arc.impl.EventImpl$Notifier.notify(EventImpl.java:328)
	at io.quarkus.arc.impl.EventImpl.fire(EventImpl.java:82)
	at io.quarkus.arc.runtime.ArcRecorder.fireLifecycleEvent(ArcRecorder.java:155)
	at io.quarkus.arc.runtime.ArcRecorder.handleLifecycleEvents(ArcRecorder.java:106)
	at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy_0(Unknown Source)
	at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy(Unknown Source)
	... 6 more

Check failure on line 1 in extensions/undertow/deployment/src/test/java/io/quarkus/undertow/test/config/WebFilterConfigInjectionWarningsTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 6e6494174d02b3138858c84338c3f9cab99ee6a6

JVM Tests - JDK 20

java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:705)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Raw output
java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:705)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
	at io.quarkus.runtime.Application.start(Application.java:101)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at io.quarkus.runner.bootstrap.StartupActionImpl.run(StartupActionImpl.java:282)
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:658)
	... 1 more
Caused by: java.lang.IllegalStateException: Injected config property value mismatch detected
The runtime value differs from the value that was injected during the static intialization phase:
 - the runtime value of 'configProperty' is [runtime] but the value [static] was injected into io.quarkus.undertow.test.config.WebFilterConfigInjectionWarningsTest$ConfigFilter#configProperty
	at io.quarkus.arc.runtime.ConfigStaticInitValues.onStart(ConfigStaticInitValues.java:52)
	at io.quarkus.arc.runtime.ConfigStaticInitValues_Observer_onStart_6ac0983e8ea95599cc73f6b6ce7e74f2b88f051f.notify(Unknown Source)
	at io.quarkus.arc.impl.EventImpl$Notifier.notifyObservers(EventImpl.java:346)
	at io.quarkus.arc.impl.EventImpl$Notifier.notify(EventImpl.java:328)
	at io.quarkus.arc.impl.EventImpl.fire(EventImpl.java:82)
	at io.quarkus.arc.runtime.ArcRecorder.fireLifecycleEvent(ArcRecorder.java:155)
	at io.quarkus.arc.runtime.ArcRecorder.handleLifecycleEvents(ArcRecorder.java:106)
	at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy_0(Unknown Source)
	at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy(Unknown Source)
	... 6 more