Skip to content

don’t exclude JsonViewTest

0e63434
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

don’t exclude JsonViewTest #826

don’t exclude JsonViewTest
0e63434
Select commit
Loading
Failed to load commit list.
GitHub Actions / Java CI / Test Report (17) failed Nov 7, 2024 in 0s

1319 tests run, 1299 passed, 16 skipped, 4 failed.

Annotations

Check failure on line 63 in JsonViewsTest

See this annotation in the file changed.

@github-actions github-actions / Java CI / Test Report (17)

JsonViewsTest.testJsonViewFlux()

org.opentest4j.AssertionFailedError: Expected received body of '[{"id":1,"name":"Joe","password":"secret"}]' to doesnt_contain 'password' ==> expected: <true> but was: <false>
Raw output
org.opentest4j.AssertionFailedError: Expected received body of '[{"id":1,"name":"Joe","password":"secret"}]' to doesnt_contain 'password' ==> expected: <true> but was: <false>
	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:42)
	at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:191)
	at app//io.micronaut.http.tck.BodyAssertion.evaluate(BodyAssertion.java:84)
	at app//io.micronaut.http.tck.AssertionUtils.assertBody(AssertionUtils.java:128)
	at app//io.micronaut.http.tck.AssertionUtils.assertDoesNotThrow(AssertionUtils.java:120)
	at app//io.micronaut.http.server.tck.tests.jsonview.JsonViewsTest.lambda$assertPath$0(JsonViewsTest.java:75)
	at app//io.micronaut.http.tck.TestScenario.run(TestScenario.java:118)
	at app//io.micronaut.http.tck.TestScenario$Builder.run(TestScenario.java:201)
	at app//io.micronaut.http.tck.TestScenario.asserts(TestScenario.java:67)
	at app//io.micronaut.http.server.tck.tests.jsonview.JsonViewsTest.assertPath(JsonViewsTest.java:72)
	at app//io.micronaut.http.server.tck.tests.jsonview.JsonViewsTest.testJsonViewFlux(JsonViewsTest.java:63)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 63 in JsonViewsTest

See this annotation in the file changed.

@github-actions github-actions / Java CI / Test Report (17)

JsonViewsTest.testJsonViewFlux()

org.opentest4j.AssertionFailedError: Unexpected exception thrown: io.micronaut.http.client.exceptions.HttpClientResponseException: Internal Server Error
Raw output
org.opentest4j.AssertionFailedError: Unexpected exception thrown: io.micronaut.http.client.exceptions.HttpClientResponseException: Internal Server Error
	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
	at app//org.junit.jupiter.api.AssertDoesNotThrow.createAssertionFailedError(AssertDoesNotThrow.java:84)
	at app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:75)
	at app//org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:58)
	at app//org.junit.jupiter.api.Assertions.assertDoesNotThrow(Assertions.java:3228)
	at app//io.micronaut.http.tck.AssertionUtils.assertDoesNotThrow(AssertionUtils.java:117)
	at app//io.micronaut.http.server.tck.tests.jsonview.JsonViewsTest.lambda$assertPath$0(JsonViewsTest.java:75)
	at app//io.micronaut.http.tck.TestScenario.run(TestScenario.java:118)
	at app//io.micronaut.http.tck.TestScenario$Builder.run(TestScenario.java:201)
	at app//io.micronaut.http.tck.TestScenario.asserts(TestScenario.java:67)
	at app//io.micronaut.http.server.tck.tests.jsonview.JsonViewsTest.assertPath(JsonViewsTest.java:72)
	at app//io.micronaut.http.server.tck.tests.jsonview.JsonViewsTest.testJsonViewFlux(JsonViewsTest.java:63)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: io.micronaut.http.client.exceptions.HttpClientResponseException: Internal Server Error
	at app//io.micronaut.http.client.netty.DefaultHttpClient.makeErrorFromRequestBody(DefaultHttpClient.java:2086)
	at app//io.micronaut.http.client.netty.DefaultHttpClient.handleExchangeResponse(DefaultHttpClient.java:929)
	at app//io.micronaut.http.client.netty.DefaultHttpClient.lambda$exchange$8(DefaultHttpClient.java:882)
	at app//io.micronaut.core.execution.ImperativeExecutionFlowImpl.flatMap(ImperativeExecutionFlowImpl.java:72)
	at app//io.micronaut.http.client.netty.DefaultHttpClient.lambda$exchange$9(DefaultHttpClient.java:882)
	at app//io.micronaut.http.client.netty.DefaultHttpClient.lambda$sendRequestWithRedirectsNoFilter$46(DefaultHttpClient.java:1625)
	at app//reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:132)
	at app//reactor.core.publisher.MonoFlatMap$FlatMapMain.secondComplete(MonoFlatMap.java:245)
	at app//reactor.core.publisher.MonoFlatMap$FlatMapInner.onNext(MonoFlatMap.java:305)
	at app//reactor.core.publisher.MonoSubscribeOn$SubscribeOnSubscriber.onNext(MonoSubscribeOn.java:146)
	at app//reactor.core.publisher.MonoCreate$DefaultMonoSink.success(MonoCreate.java:176)
	at app//io.micronaut.http.client.netty.DefaultHttpClient$6.complete(DefaultHttpClient.java:1709)
	at app//io.micronaut.http.client.netty.Http1ResponseHandler$BufferedContent.complete(Http1ResponseHandler.java:218)
	at app//io.micronaut.http.client.netty.Http1ResponseHandler$BufferedContent.read(Http1ResponseHandler.java:181)
	at app//io.micronaut.http.client.netty.Http1ResponseHandler$BufferedContent.read(Http1ResponseHandler.java:153)
	at app//io.micronaut.http.client.netty.Http1ResponseHandler.channelReadInstrumented(Http1ResponseHandler.java:73)
	at app//io.micronaut.http.client.netty.Http1ResponseHandler.channelReadInstrumented(Http1ResponseHandler.java:48)
	at app//io.micronaut.http.client.netty.SimpleChannelInboundHandlerInstrumented.channelRead0(SimpleChannelInboundHandlerInstrumented.java:46)
	at app//io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
	at app//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
	at app//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
	at app//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
	at app//io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
	at app//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
	at app//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
	at app//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
	at app//io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436)
	at app//io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
	at app//io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
	at app//io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)
	at app//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
	at app//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
	at app//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
	at app//io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:289)
	at app//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
	at app//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
	at app//io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
	at app//io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1357)
	at app//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
	at app//io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
	at app//io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:868)
	at app//io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
	at app//io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
	at app//io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
	at app//io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
	at app//io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
	at app//io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
	at app//io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at app//io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at [email protected]/java.lang.Thread.run(Thread.java:842)
	Suppressed: java.lang.Exception: #block terminated with an error
		at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:104)
		at reactor.core.publisher.Mono.block(Mono.java:1779)
		at io.micronaut.http.client.netty.DefaultHttpClient$1.exchange(DefaultHttpClient.java:615)
		at io.micronaut.http.client.BlockingHttpClient.exchange(BlockingHttpClient.java:77)
		at io.micronaut.http.server.tck.poja.PojaApacheServerUnderTest.exchange(PojaApacheServerUnderTest.java:67)
		at io.micronaut.http.server.tck.poja.PojaApacheServerUnderTest.exchange(PojaApacheServerUnderTest.java:76)
		at io.micronaut.http.tck.AssertionUtils.lambda$assertDoesNotThrow$5(AssertionUtils.java:115)
		at org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:71)
		at org.junit.jupiter.api.AssertDoesNotThrow.assertDoesNotThrow(AssertDoesNotThrow.java:58)
		at org.junit.jupiter.api.Assertions.assertDoesNotThrow(Assertions.java:3228)
		at io.micronaut.http.tck.AssertionUtils.assertDoesNotThrow(AssertionUtils.java:117)
		at io.micronaut.http.server.tck.tests.jsonview.JsonViewsTest.lambda$assertPath$0(JsonViewsTest.java:75)
		at io.micronaut.http.tck.TestScenario.run(TestScenario.java:118)
		at io.micronaut.http.tck.TestScenario$Builder.run(TestScenario.java:201)
		at io.micronaut.http.tck.TestScenario.asserts(TestScenario.java:67)
		at io.micronaut.http.server.tck.tests.jsonview.JsonViewsTest.assertPath(JsonViewsTest.java:72)
		at io.micronaut.http.server.tck.tests.jsonview.JsonViewsTest.testJsonViewFlux(JsonViewsTest.java:63)
		at java.base/java.lang.reflect.Method.invoke(Method.java:568)
		at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
		at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 63 in JsonViewsTest

See this annotation in the file changed.

@github-actions github-actions / Java CI / Test Report (17)

JsonViewsTest.testJsonViewFlux()

org.opentest4j.AssertionFailedError: Expected received body of '[{"id":1,"name":"Joe","password":"secret"}]' to doesnt_contain 'password' ==> expected: <true> but was: <false>
Raw output
org.opentest4j.AssertionFailedError: Expected received body of '[{"id":1,"name":"Joe","password":"secret"}]' to doesnt_contain 'password' ==> expected: <true> but was: <false>
	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:42)
	at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:191)
	at app//io.micronaut.http.tck.BodyAssertion.evaluate(BodyAssertion.java:84)
	at app//io.micronaut.http.tck.AssertionUtils.assertBody(AssertionUtils.java:128)
	at app//io.micronaut.http.tck.AssertionUtils.assertDoesNotThrow(AssertionUtils.java:120)
	at app//io.micronaut.http.server.tck.tests.jsonview.JsonViewsTest.lambda$assertPath$0(JsonViewsTest.java:75)
	at app//io.micronaut.http.tck.TestScenario.run(TestScenario.java:118)
	at app//io.micronaut.http.tck.TestScenario$Builder.run(TestScenario.java:201)
	at app//io.micronaut.http.tck.TestScenario.asserts(TestScenario.java:67)
	at app//io.micronaut.http.server.tck.tests.jsonview.JsonViewsTest.assertPath(JsonViewsTest.java:72)
	at app//io.micronaut.http.server.tck.tests.jsonview.JsonViewsTest.testJsonViewFlux(JsonViewsTest.java:63)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 63 in JsonViewsTest

See this annotation in the file changed.

@github-actions github-actions / Java CI / Test Report (17)

JsonViewsTest.testJsonViewFlux()

org.opentest4j.AssertionFailedError: Expected received body of '[{"id":1,"name":"Joe","password":"secret"}]' to doesnt_contain 'password' ==> expected: <true> but was: <false>
Raw output
org.opentest4j.AssertionFailedError: Expected received body of '[{"id":1,"name":"Joe","password":"secret"}]' to doesnt_contain 'password' ==> expected: <true> but was: <false>
	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:42)
	at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:191)
	at app//io.micronaut.http.tck.BodyAssertion.evaluate(BodyAssertion.java:84)
	at app//io.micronaut.http.tck.AssertionUtils.assertBody(AssertionUtils.java:128)
	at app//io.micronaut.http.tck.AssertionUtils.assertDoesNotThrow(AssertionUtils.java:120)
	at app//io.micronaut.http.server.tck.tests.jsonview.JsonViewsTest.lambda$assertPath$0(JsonViewsTest.java:75)
	at app//io.micronaut.http.tck.TestScenario.run(TestScenario.java:118)
	at app//io.micronaut.http.tck.TestScenario$Builder.run(TestScenario.java:201)
	at app//io.micronaut.http.tck.TestScenario.asserts(TestScenario.java:67)
	at app//io.micronaut.http.server.tck.tests.jsonview.JsonViewsTest.assertPath(JsonViewsTest.java:72)
	at app//io.micronaut.http.server.tck.tests.jsonview.JsonViewsTest.testJsonViewFlux(JsonViewsTest.java:63)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)