Skip to content

Redis: normalize results of Command.create() #478

Redis: normalize results of Command.create()

Redis: normalize results of Command.create() #478

GitHub Actions / Build summary for 233c74fa37030ee21c87db8d68a12bf88a26724c completed Oct 19, 2023 in 0s

Build summary for 233c74fa37030ee21c87db8d68a12bf88a26724c

Failing Jobs - Building 233c74f - Back to Workflow run summary

Status Name Step Failures Logs Raw logs Build scan
✔️ JVM Tests - JDK 11
✔️ JVM Tests - JDK 17
JVM Tests - JDK 20 Build Failures Logs Raw logs

Details

Test Failures

⚙️ JVM Tests - JDK 20 #

- Failing: integration-tests/virtual-threads/kafka-virtual-threads integration-tests/virtual-threads/redis-virtual-threads 

📦 integration-tests/virtual-threads/kafka-virtual-threads

# Tests:    2
+ Success:  0
- Failures: 0
- Errors:   2
! Skipped:  0

io.quarkus.it.vthreads.kafka.VirtualThreadTest.testAlert line 30 - Source on GitHub - 🠅

org.awaitility.core.ConditionTimeoutException: 
Assertion condition defined as a io.quarkus.it.vthreads.kafka.VirtualThreadTest Expected at least one request matching: {
  "urlPath" : "/price/alert",

await().untilAsserted(() -> mockServer.verify(new CountMatchingStrategy(GREATER_THAN_OR_EQUAL, EXPECTED_CALLS),

io.quarkus.it.vthreads.kafka.VirtualThreadTest.testAlertMessage line 36 - Source on GitHub - 🠅

org.awaitility.core.ConditionTimeoutException: 
Assertion condition defined as a io.quarkus.it.vthreads.kafka.VirtualThreadTest Expected at least one request matching: {
  "urlPath" : "/price/alert-message",

await().untilAsserted(() -> mockServer.verify(new CountMatchingStrategy(GREATER_THAN_OR_EQUAL, EXPECTED_CALLS),

📦 integration-tests/virtual-threads/redis-virtual-threads

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

io.quarkus.virtual.redis.RunOnVirtualThreadTest.test line 21 - Source on GitHub - 🠅

java.lang.AssertionError: 
1 expectation failed.
Expected status code <200> but was <500>.

Annotations

Check failure on line 30 in integration-tests/virtual-threads/kafka-virtual-threads/src/test/java/io/quarkus/it/vthreads/kafka/VirtualThreadTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 233c74fa37030ee21c87db8d68a12bf88a26724c

JVM Tests - JDK 20

org.awaitility.core.ConditionTimeoutException: 
Assertion condition defined as a io.quarkus.it.vthreads.kafka.VirtualThreadTest Expected at least one request matching: {
  "urlPath" : "/price/alert",
Raw output
org.awaitility.core.ConditionTimeoutException: 
Assertion condition defined as a io.quarkus.it.vthreads.kafka.VirtualThreadTest Expected at least one request matching: {
  "urlPath" : "/price/alert",
  "method" : "POST"
}
Requests received: [ ] within 10 seconds.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
	at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
	at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:769)
	at io.quarkus.it.vthreads.kafka.VirtualThreadTest.testAlert(VirtualThreadTest.java:30)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:1014)
	at io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:828)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: com.github.tomakehurst.wiremock.client.VerificationException: Expected at least one request matching: {
  "urlPath" : "/price/alert",
  "method" : "POST"
}
Requests received: [ ]
	at com.github.tomakehurst.wiremock.client.WireMock.verificationExceptionForNearMisses(WireMock.java:746)
	at com.github.tomakehurst.wiremock.client.WireMock.verifyThat(WireMock.java:733)
	at com.github.tomakehurst.wiremock.WireMockServer.verify(WireMockServer.java:305)
	at io.quarkus.it.vthreads.kafka.VirtualThreadTest.lambda$testAlert$0(VirtualThreadTest.java:30)
	at org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
	at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
	at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1623)

Check failure on line 36 in integration-tests/virtual-threads/kafka-virtual-threads/src/test/java/io/quarkus/it/vthreads/kafka/VirtualThreadTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 233c74fa37030ee21c87db8d68a12bf88a26724c

JVM Tests - JDK 20

org.awaitility.core.ConditionTimeoutException: 
Assertion condition defined as a io.quarkus.it.vthreads.kafka.VirtualThreadTest Expected at least one request matching: {
  "urlPath" : "/price/alert-message",
Raw output
org.awaitility.core.ConditionTimeoutException: 
Assertion condition defined as a io.quarkus.it.vthreads.kafka.VirtualThreadTest Expected at least one request matching: {
  "urlPath" : "/price/alert-message",
  "method" : "POST"
}
Requests received: [ ] within 10 seconds.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
	at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
	at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
	at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:769)
	at io.quarkus.it.vthreads.kafka.VirtualThreadTest.testAlertMessage(VirtualThreadTest.java:36)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:1014)
	at io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:828)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: com.github.tomakehurst.wiremock.client.VerificationException: Expected at least one request matching: {
  "urlPath" : "/price/alert-message",
  "method" : "POST"
}
Requests received: [ ]
	at com.github.tomakehurst.wiremock.client.WireMock.verificationExceptionForNearMisses(WireMock.java:746)
	at com.github.tomakehurst.wiremock.client.WireMock.verifyThat(WireMock.java:733)
	at com.github.tomakehurst.wiremock.WireMockServer.verify(WireMockServer.java:305)
	at io.quarkus.it.vthreads.kafka.VirtualThreadTest.lambda$testAlertMessage$1(VirtualThreadTest.java:36)
	at org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
	at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
	at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1623)

Check failure on line 21 in integration-tests/virtual-threads/redis-virtual-threads/src/test/java/io/quarkus/virtual/redis/RunOnVirtualThreadTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 233c74fa37030ee21c87db8d68a12bf88a26724c

JVM Tests - JDK 20

java.lang.AssertionError: 
1 expectation failed.
Expected status code <200> but was <500>.
Raw output
java.lang.AssertionError: 
1 expectation failed.
Expected status code <200> but was <500>.

	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:67)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:484)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:73)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:108)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:263)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:512)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.ResponseSpecificationImpl.validateResponseIfRequired(ResponseSpecificationImpl.groovy:696)
	at io.restassured.internal.ResponseSpecificationImpl.this$2$validateResponseIfRequired(ResponseSpecificationImpl.groovy)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:198)
	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:62)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:135)
	at io.restassured.specification.ResponseSpecification$statusCode$0.callCurrent(Unknown Source)
	at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:143)
	at io.restassured.internal.ValidatableResponseOptionsImpl.statusCode(ValidatableResponseOptionsImpl.java:89)
	at io.quarkus.virtual.redis.RunOnVirtualThreadTest.test(RunOnVirtualThreadTest.java:21)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:1014)
	at io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:828)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	Suppressed: java.lang.AssertionError: Thread Thread[#87,executor-thread-2,5,main] is not a virtual thread
		at io.quarkus.test.vertx.VirtualThreadsAssertions.assertThatItRunsOnVirtualThread(VirtualThreadsAssertions.java:52)
		at io.quarkus.test.vertx.VirtualThreadsAssertions.assertEverything(VirtualThreadsAssertions.java:19)
		at io.quarkus.virtual.redis.RedisResource.testRedis(RedisResource.java:26)
		at io.quarkus.virtual.redis.RedisResource$quarkusrestinvoker$testRedis_6a3a714890d0e569ce8293ea14edf1c7e8fc6a33.invoke(Unknown Source)
		at org.jboss.resteasy.reactive.server.handlers.InvocationHandler.handle(InvocationHandler.java:29)
		at io.quarkus.resteasy.reactive.server.runtime.QuarkusResteasyReactiveRequestContext.invokeHandler(QuarkusResteasyReactiveRequestContext.java:141)
		at org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext.run(AbstractResteasyReactiveContext.java:147)
		at io.quarkus.virtual.threads.FallbackVirtualThreadsExecutorService.lambda$execute$0(FallbackVirtualThreadsExecutorService.java:28)
		at io.vertx.core.impl.ContextBase.lambda$executeBlocking$0(ContextBase.java:167)
		at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:277)
		at io.vertx.core.impl.ContextBase.lambda$internalExecuteBlocking$2(ContextBase.java:199)
		at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:582)
		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:1623)