Skip to content

Replace [#anchors] with [[anchors]] in downstream documentation

quarkus-bot / Build summary for 7f77c9b46dfc4c27d94ecf1145fb683a6bf64250 completed Feb 7, 2024

Build summary for 7f77c9b46dfc4c27d94ecf1145fb683a6bf64250

Failing Jobs - Building 7f77c9b - Back to Pull request

Status Name Step Failures Logs Raw logs Build scan
βœ– JVM Tests - JDK 17 Build Failures Logs Raw logs 🚧
βœ”οΈ JVM Tests - JDK 21 Logs Raw logs 🚧

Details

Test Failures

βš™οΈ JVM Tests - JDK 17 #

- Failing: integration-tests/opentelemetry 

πŸ“¦ integration-tests/opentelemetry

# Tests:    19
+ Success:  18
- Failures: 1
- Errors:   0
! Skipped:  0

βœ– io.quarkus.it.opentelemetry.EndUserEnabledTest.baseTest line 23 - History - Source on GitHub - πŸ …

org.opentest4j.AssertionFailedError: expected: <null> but was: <testUser>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
	at io.quarkus.it.opentelemetry.EndUserEnabledTest.evaluateAttributes(EndUserEnabledTest.java:23)

assertEquals(attributes.get(SemanticAttributes.ENDUSER_ID), "testUser");

Annotations

Check failure on line 23 in integration-tests/opentelemetry/src/test/java/io/quarkus/it/opentelemetry/EndUserEnabledTest.java

See this annotation in the file changed.

@quarkus-bot quarkus-bot / Build summary for 7f77c9b46dfc4c27d94ecf1145fb683a6bf64250

JVM Tests - JDK 17

org.opentest4j.AssertionFailedError: expected: <null> but was: <testUser>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
Raw output
org.opentest4j.AssertionFailedError: expected: <null> but was: <testUser>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1145)
	at io.quarkus.it.opentelemetry.EndUserEnabledTest.evaluateAttributes(EndUserEnabledTest.java:23)
	at io.quarkus.it.opentelemetry.AbstractEndUserTest.baseTest(AbstractEndUserTest.java:71)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:1013)
	at io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:827)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	Suppressed: jakarta.enterprise.context.ContextNotActiveException: RequestScoped context was not active when trying to obtain a bean instance for a client proxy of CLASS bean [class=io.quarkus.test.security.DelegateSecurityIdentityAssociation, id=0sYOt2p0PYFEo5rVU2CFHdD1-E8]
	- you can activate the request context for a specific method using the @ActivateRequestContext interceptor binding
		at io.quarkus.arc.impl.ClientProxies.notActive(ClientProxies.java:70)
		at io.quarkus.arc.impl.ClientProxies.getSingleContextDelegate(ClientProxies.java:30)
		at io.quarkus.test.security.DelegateSecurityIdentityAssociation_ClientProxy.arc$delegate(Unknown Source)
		at io.quarkus.test.security.DelegateSecurityIdentityAssociation_ClientProxy.getIdentity(Unknown Source)
		at io.quarkus.test.security.TestIdentityAssociation.getIdentity(TestIdentityAssociation.java:72)
		at io.quarkus.test.security.TestIdentityAssociation_ClientProxy.getIdentity(Unknown Source)
		at io.quarkus.security.runtime.SecurityIdentityProxy.isAnonymous(SecurityIdentityProxy.java:29)
		at io.quarkus.security.runtime.SecurityIdentityProxy_ClientProxy.isAnonymous(Unknown Source)
		at io.quarkus.opentelemetry.runtime.exporter.otlp.EndUserSpanProcessor.lambda$onStart$0(EndUserSpanProcessor.java:31)
		at io.smallrye.context.impl.wrappers.SlowContextualRunnable.run(SlowContextualRunnable.java:19)
		at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:587)
		at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
		at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
		at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
		at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
		at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
		at java.base/java.lang.Thread.run(Thread.java:840)