quarkus icon indicating copy to clipboard operation
quarkus copied to clipboard

Reactive Kotlin Panache

Open nenros opened this issue 2 years ago • 40 comments

I'm trying to write it second time. I still have problem with persist I need to write like this person2.persist<Person>(). There is still need to write proper deployment module to enhance companion object.

I would be really grateful for some comments and advices how should I write that. Even more I would be grateful If someone can finish that.

nenros avatar Apr 19 '22 19:04 nenros

@nenros thanks a lot for this work!

@evanchooly can you help out with this one? It would be great to have this if it fits our needs.

geoand avatar Apr 20 '22 07:04 geoand

Thank you @evanchooly I will take a look and try to fix. I'm not sure that I'm able to finish that because of my lack of knowledge, but I will try.

nenros avatar May 23 '22 20:05 nenros

I'm happy to answer any questions that come up.

evanchooly avatar May 23 '22 20:05 evanchooly

any progress @nenros ?

evanchooly avatar Jun 13 '22 16:06 evanchooly

@evanchooly sorry, I don't have time for that at the moment

nenros avatar Jun 15 '22 13:06 nenros

@nenros would you mind me taking over this pull request and fixing the change requests?

stephan-strate avatar Jul 24 '22 13:07 stephan-strate

@stephan-strate no problem for me, iy would be great if you could finish it!

nenros avatar Jul 25 '22 08:07 nenros

I'm going to finish this one up since it's been a while.

evanchooly avatar Aug 15 '22 17:08 evanchooly


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building b253fafc448e1f514d4c4563a110ba643b298ddc

Status Name Step Failures Logs Raw logs
Initial JDK 11 Build Build Failures Logs Raw logs

Failures

:gear: Initial JDK 11 Build #

- Failing: devtools/bom-descriptor-json docs integration-tests/hibernate-reactive-panache-kotlin 
! Skipped: integration-tests/maven 

:package: devtools/bom-descriptor-json

Failed to execute goal io.quarkus:quarkus-platform-bom-maven-plugin:0.0.51:generate-platform-descriptor (default) on project quarkus-bom-quarkus-platform-descriptor: META-INF/quarkus-extension.yaml of io.quarkus:quarkus-hibernate-reactive-panache-kotlin:jar:999-SNAPSHOT is missing the artifact coordinates, please make sure the extension metadata is complete

:package: docs

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:java (all-config-classes) on project quarkus-documentation: An exception occured while executing the Java class. Could not generate all-config file because extension catalog file is missing: /home/runner/work/quarkus/quarkus/docs/../devtools/bom-descriptor-json/target/quarkus-bom-quarkus-platform-descriptor-999-SNAPSHOT-999-SNAPSHOT.json

:package: integration-tests/hibernate-reactive-panache-kotlin

Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce (enforce-deployment-deps) on project quarkus-integration-test-hibernate-reactive-panache-kotlin: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.

quarkus-bot[bot] avatar Aug 16 '22 17:08 quarkus-bot[bot]

Out of curiosity, what does this enable?

Is it mostly about better integration with Kotlin, instead of the Java API's?

GavinRay97 avatar Aug 22 '22 17:08 GavinRay97

Essentially. Provides a more idiomatic API. At least, that's the idea.

evanchooly avatar Aug 23 '22 04:08 evanchooly

This is ready to review now, finally. All the tests are passing however the tests that are in this module is but a subset of what's in the java version. I don't know how strongly we feel about porting over all the remaining tests as well but what's here seems to exercise all the bits we'd want them to.

evanchooly avatar Aug 23 '22 14:08 evanchooly


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building a80008a47abec51c865a1ffc99a45f36fc480028

Status Name Step Failures Logs Raw logs
Initial JDK 11 Build Verify extension dependencies :warning: Check → Logs Raw logs

quarkus-bot[bot] avatar Aug 23 '22 14:08 quarkus-bot[bot]

Actually I found some issues reviewing my earlier comments. I want to take the time now and add some more tests from the java side. Shouldn't take too long.

evanchooly avatar Aug 23 '22 17:08 evanchooly


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building 30d2193627f6c2f9b755ebea6643ca401ed702aa

Status Name Step Failures Logs Raw logs
JVM Tests - JDK 11 Build Failures Logs Raw logs
:hourglass: JVM Tests - JDK 11 Windows Build :warning: Check → Logs Raw logs
JVM Tests - JDK 17 Build Failures Logs Raw logs
JVM Tests - JDK 18 Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 11 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment integration-tests/kafka-ssl 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 14 - More details - Source on GitHub

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

:package: integration-tests/kafka-ssl

io.quarkus.it.kafka.SslKafkaConsumerTest.testReception - More details - Source on GitHub

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:698)
	at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:769)

:gear: JVM Tests - JDK 17 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 14 - More details - Source on GitHub

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

:gear: JVM Tests - JDK 18 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 14 - More details - Source on GitHub

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

quarkus-bot[bot] avatar Aug 23 '22 20:08 quarkus-bot[bot]

Actually I found some issues reviewing my earlier comments. I want to take the time now and add some more tests from the java side. Shouldn't take too long.

Let me know when it's ready :)

geoand avatar Aug 24 '22 05:08 geoand


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building 8b1a39af76eeae3499d67987442dc38bde6285e9

Status Name Step Failures Logs Raw logs
JVM Tests - JDK 11 Build Failures Logs Raw logs
:hourglass: JVM Tests - JDK 11 Windows Build :warning: Check → Logs Raw logs
JVM Tests - JDK 17 Build Failures Logs Raw logs
JVM Tests - JDK 18 Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 11 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment integration-tests/micrometer-prometheus 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 14 - More details - Source on GitHub

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

:package: integration-tests/micrometer-prometheus

io.quarkus.it.micrometer.prometheus.ClientRequestTest.testClientRequests line 36 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.

:gear: JVM Tests - JDK 17 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment integration-tests/micrometer-prometheus 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 14 - More details - Source on GitHub

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

:package: integration-tests/micrometer-prometheus

io.quarkus.it.micrometer.prometheus.ClientRequestTest.testClientRequests line 36 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.

:gear: JVM Tests - JDK 18 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 14 - More details - Source on GitHub

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

quarkus-bot[bot] avatar Aug 25 '22 05:08 quarkus-bot[bot]

It doesn't look like the test failures are related. It's hard to tell. It seems that all the failures over the lifetime of the PR are included and not just the ones in the last run. The code is ready to review at least and if we need to create a whole new PR to get a clean slate, I can do that, too.

evanchooly avatar Aug 25 '22 15:08 evanchooly


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building 19a7134131db8af010214051db8b37638183c229

Status Name Step Failures Logs Raw logs
JVM Tests - JDK 11 Build Failures Logs Raw logs
JVM Tests - JDK 11 Windows Build Failures Logs Raw logs
JVM Tests - JDK 17 Build Failures Logs Raw logs
JVM Tests - JDK 18 Build Failures Logs Raw logs
:hourglass: MicroProfile TCKs Tests Verify :warning: Check → Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 11 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 14 - More details - Source on GitHub

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

:gear: JVM Tests - JDK 11 Windows #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity - More details - Source on GitHub

java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: io.quarkus.dev.appstate.ApplicationStartException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:297)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeEachCallbacks$2(TestMethodTestDescriptor.java:166)

:gear: JVM Tests - JDK 17 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 14 - More details - Source on GitHub

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

:gear: JVM Tests - JDK 18 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment extensions/smallrye-reactive-messaging-kafka/deployment 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin integration-tests/kafka-oauth-keycloak integration-tests/kafka-sasl-elytron and 4 more

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 14 - More details - Source on GitHub

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

:package: extensions/smallrye-reactive-messaging-kafka/deployment

io.quarkus.smallrye.reactivemessaging.kafka.deployment.testing.KafkaDevServicesContinuousTestingTestCase.testContinuousTestingScenario2 line 83 - More details - Source on GitHub

org.awaitility.core.ConditionTimeoutException: Failed to wait for test run 4 State{lastRun=3, running=true, inProgress=true, run=1, passed=0, failed=1, skipped=0, isBrokenOnly=false, isTestOutput=false, isInstrumentationBasedReload=false, isLiveReload=true}
	at io.quarkus.test.ContinuousTestingTestUtils.waitForNextCompletion(ContinuousTestingTestUtils.java:44)
	at io.quarkus.smallrye.reactivemessaging.kafka.deployment.testing.KafkaDevServicesContinuousTestingTestCase.testContinuousTestingScenario2(KafkaDevServicesContinuousTestingTestCase.java:83)

quarkus-bot[bot] avatar Aug 25 '22 20:08 quarkus-bot[bot]

The Kotlin test failures do seem related, no?

geoand avatar Aug 26 '22 06:08 geoand

I can't quite tell, honestly. They run locally fine and when digging through the build run it's unclear what's what. It looks like a cascading failure but perhaps I'm misreading the logs. I'll take another look this morning.

evanchooly avatar Aug 26 '22 13:08 evanchooly


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building 1afaed7d56a763c46652328d5421df9b2bfe247b

Status Name Step Failures Logs Raw logs
JVM Tests - JDK 11 Build Failures Logs Raw logs
JVM Tests - JDK 11 Windows Build Failures Logs Raw logs
JVM Tests - JDK 17 Build Failures Logs Raw logs
JVM Tests - JDK 18 Build Failures Logs Raw logs
:hourglass: MicroProfile TCKs Tests Verify :warning: Check → Logs Raw logs
Native Tests - Data6 Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 11 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 25 - More details - Source on GitHub

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

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddEntity line 44 - More details - Source on GitHub

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

:gear: JVM Tests - JDK 11 Windows #

- Failing: integration-tests/hibernate-reactive-panache-kotlin 

:package: integration-tests/hibernate-reactive-panache-kotlin

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testTestTransaction(UniAsserter) - More details - Source on GitHub

io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:5432
Caused by: java.net.ConnectException: Connection refused: no further information
	at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testTestTransaction2(UniAsserter) - More details - Source on GitHub

io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:5432
Caused by: java.net.ConnectException: Connection refused: no further information
	at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testReactiveTransactional(UniAsserter) - More details - Source on GitHub

java.lang.IllegalStateException: HR000061: Session is currently connecting to database
	at org.hibernate.reactive.pool.impl.ProxyConnection.withConnection(ProxyConnection.java:66)
	at org.hibernate.reactive.pool.impl.ProxyConnection.beginTransaction(ProxyConnection.java:144)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testReactiveTransactional2(UniAsserter) - More details - Source on GitHub

java.lang.IllegalStateException: HR000061: Session is currently connecting to database
	at org.hibernate.reactive.pool.impl.ProxyConnection.withConnection(ProxyConnection.java:66)
	at org.hibernate.reactive.pool.impl.ProxyConnection.beginTransaction(ProxyConnection.java:144)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testReactiveTransactional3(UniAsserter) - More details - Source on GitHub

java.lang.IllegalStateException: HR000061: Session is currently connecting to database
	at org.hibernate.reactive.pool.impl.ProxyConnection.withConnection(ProxyConnection.java:66)
	at org.hibernate.reactive.pool.impl.ProxyConnection.beginTransaction(ProxyConnection.java:144)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug5274 line 72 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug5885 line 80 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug7102 line 202 - More details - Source on GitHub

java.util.concurrent.CompletionException: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:5432
	at io.smallrye.mutiny.operators.uni.UniBlockingAwait.await(UniBlockingAwait.java:79)
	at io.smallrye.mutiny.groups.UniAwait.atMost(UniAwait.java:65)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug7721 line 130 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug8254 line 138 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug9025 line 146 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug9036 line 154 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testSortByNullPrecedence line 162 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testPanacheInTest line 62 - More details - Source on GitHub

java.lang.IllegalStateException: This method is normally automatically overridden in subclasses: did you forget to annotate your entity with @Entity?
	at io.quarkus.hibernate.reactive.panache.common.runtime.AbstractJpaOperations.implementationInjectionMissing(AbstractJpaOperations.java:420)
	at io.quarkus.hibernate.reactive.panache.kotlin.PanacheCompanionBase$DefaultImpls.injectionMissing(PanacheCompanion.kt:557)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testCompositeKey line 122 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testPanacheFunctionality line 40 - More details - Source on GitHub

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

:gear: JVM Tests - JDK 17 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment extensions/smallrye-reactive-messaging-amqp/deployment integration-tests/oidc-token-propagation-reactive 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin integration-tests/reactive-messaging-amqp 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 25 - More details - Source on GitHub

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

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddEntity line 44 - More details - Source on GitHub

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

:package: extensions/smallrye-reactive-messaging-amqp/deployment

io.quarkus.smallrye.reactivemessaging.amqp.AnonymousAmqpTest.test line 30 - More details - Source on GitHub

org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.smallrye.reactivemessaging.amqp.AnonymousAmqpTest was not fulfilled within 1 minutes.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)

:package: integration-tests/oidc-token-propagation-reactive

io.quarkus.it.keycloak.OidcTokenReactivePropagationTest.testGetUserNameWithAccessTokenPropagation line 22 - More details - Source on GitHub

com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 401 Unauthorized for http://localhost:8081/frontend/access-token-propagation
	at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:701)
	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:461)

io.quarkus.it.keycloak.OidcTokenReactivePropagationTest.testNoToken line 43 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Expected status code <302> but was <401>.

:gear: JVM Tests - JDK 18 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 25 - More details - Source on GitHub

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

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddEntity line 44 - More details - Source on GitHub

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

:gear: Native Tests - Data6 #

- Failing: integration-tests/hibernate-reactive-panache-kotlin 

:package: integration-tests/hibernate-reactive-panache-kotlin

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testBug5274 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testBug5885 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testBug8254 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testBug9025 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testBug9036 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testSortByNullPrecedence - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testCompositeKey - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testPanacheFunctionality - More details - Source on GitHub

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

quarkus-bot[bot] avatar Sep 08 '22 01:09 quarkus-bot[bot]


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building 973c08e2d59eef6c02e9496fd8cffbc9608c56e8

Status Name Step Failures Logs Raw logs
JVM Tests - JDK 11 Build Failures Logs Raw logs
JVM Tests - JDK 11 Windows Build Failures Logs Raw logs
JVM Tests - JDK 17 Build Failures Logs Raw logs
JVM Tests - JDK 18 Build Failures Logs Raw logs
Native Tests - Data6 Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 11 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 25 - More details - Source on GitHub

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

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddEntity line 44 - More details - Source on GitHub

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

:gear: JVM Tests - JDK 11 Windows #

- Failing: integration-tests/hibernate-reactive-panache-kotlin integration-tests/opentelemetry-reactive 

:package: integration-tests/hibernate-reactive-panache-kotlin

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testTestTransaction(UniAsserter) - More details - Source on GitHub

io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:5432
Caused by: java.net.ConnectException: Connection refused: no further information
	at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testTestTransaction2(UniAsserter) - More details - Source on GitHub

io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:5432
Caused by: java.net.ConnectException: Connection refused: no further information
	at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testReactiveTransactional(UniAsserter) - More details - Source on GitHub

java.lang.IllegalStateException: HR000061: Session is currently connecting to database
	at org.hibernate.reactive.pool.impl.ProxyConnection.withConnection(ProxyConnection.java:66)
	at org.hibernate.reactive.pool.impl.ProxyConnection.beginTransaction(ProxyConnection.java:144)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testReactiveTransactional2(UniAsserter) - More details - Source on GitHub

java.lang.IllegalStateException: HR000061: Session is currently connecting to database
	at org.hibernate.reactive.pool.impl.ProxyConnection.withConnection(ProxyConnection.java:66)
	at org.hibernate.reactive.pool.impl.ProxyConnection.beginTransaction(ProxyConnection.java:144)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testReactiveTransactional3(UniAsserter) - More details - Source on GitHub

java.lang.IllegalStateException: HR000061: Session is currently connecting to database
	at org.hibernate.reactive.pool.impl.ProxyConnection.withConnection(ProxyConnection.java:66)
	at org.hibernate.reactive.pool.impl.ProxyConnection.beginTransaction(ProxyConnection.java:144)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug5274 line 72 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug5885 line 80 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug7102 line 202 - More details - Source on GitHub

java.util.concurrent.CompletionException: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:5432
	at io.smallrye.mutiny.operators.uni.UniBlockingAwait.await(UniBlockingAwait.java:79)
	at io.smallrye.mutiny.groups.UniAwait.atMost(UniAwait.java:65)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug7721 line 130 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug8254 line 138 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug9025 line 146 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug9036 line 154 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testSortByNullPrecedence line 162 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testPanacheInTest line 62 - More details - Source on GitHub

java.lang.IllegalStateException: This method is normally automatically overridden in subclasses: did you forget to annotate your entity with @Entity?
	at io.quarkus.hibernate.reactive.panache.common.runtime.AbstractJpaOperations.implementationInjectionMissing(AbstractJpaOperations.java:420)
	at io.quarkus.hibernate.reactive.panache.kotlin.PanacheCompanionBase$DefaultImpls.injectionMissing(PanacheCompanion.kt:557)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testCompositeKey line 122 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testPanacheFunctionality line 40 - More details - Source on GitHub

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

:package: integration-tests/opentelemetry-reactive

io.quarkus.it.opentelemetry.reactive.OpenTelemetryReactiveClientTest.post line 94 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <fb1ae36f92abbbf0> but was: <ac864f060a971ff5>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

:gear: JVM Tests - JDK 17 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 25 - More details - Source on GitHub

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

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddEntity line 44 - More details - Source on GitHub

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

:gear: JVM Tests - JDK 18 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 25 - More details - Source on GitHub

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

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddEntity line 44 - More details - Source on GitHub

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

:gear: Native Tests - Data6 #

- Failing: integration-tests/hibernate-reactive-panache-kotlin 

:package: integration-tests/hibernate-reactive-panache-kotlin

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testBug5274 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testBug5885 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testBug8254 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testBug9025 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testBug9036 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testSortByNullPrecedence - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testCompositeKey - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testPanacheFunctionality - More details - Source on GitHub

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

quarkus-bot[bot] avatar Sep 08 '22 17:09 quarkus-bot[bot]


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building 06b5ad1a71c462f4c752346d582588eed25fbe39

Status Name Step Failures Logs Raw logs
:heavy_check_mark: Devtools Tests - JDK 11
Devtools Tests - JDK 11 Windows Build Failures Logs Raw logs
:heavy_check_mark: Devtools Tests - JDK 17
Gradle Tests - JDK 11 Build Failures Logs Raw logs
Gradle Tests - JDK 11 Windows Build Failures Logs Raw logs
JVM Tests - JDK 11 Build Failures Logs Raw logs
JVM Tests - JDK 11 Windows Build Failures Logs Raw logs
JVM Tests - JDK 17 Build Failures Logs Raw logs
JVM Tests - JDK 18 Build Failures Logs Raw logs
Native Tests - Data6 Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: Devtools Tests - JDK 11 Windows #

- Failing: integration-tests/devtools 

:package: integration-tests/devtools

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradle(String)[2] line 81 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: 

expected: 0

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradle(String)[2] line 81 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: 

expected: 0

:gear: Gradle Tests - JDK 11 #

- Failing: integration-tests/gradle 

:package: integration-tests/gradle

io.quarkus.gradle.QuarkusPluginFunctionalTest.canDetectClasspathChangeWhenBuilding line 98 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: 

Expecting value to be true but was false

:gear: Gradle Tests - JDK 11 Windows #

- Failing: integration-tests/gradle 

:package: integration-tests/gradle

io.quarkus.gradle.QuarkusPluginFunctionalTest.canDetectClasspathChangeWhenBuilding line 102 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: 

Expecting value to be true but was false

:gear: JVM Tests - JDK 11 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 25 - More details - Source on GitHub

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

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddEntity line 44 - More details - Source on GitHub

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

:gear: JVM Tests - JDK 11 Windows #

- Failing: integration-tests/hibernate-reactive-panache-kotlin 

:package: integration-tests/hibernate-reactive-panache-kotlin

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testTestTransaction(UniAsserter) - More details - Source on GitHub

io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:5432
Caused by: java.net.ConnectException: Connection refused: no further information
	at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testTestTransaction2(UniAsserter) - More details - Source on GitHub

io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:5432
Caused by: java.net.ConnectException: Connection refused: no further information
	at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testReactiveTransactional(UniAsserter) - More details - Source on GitHub

java.lang.IllegalStateException: HR000061: Session is currently connecting to database
	at org.hibernate.reactive.pool.impl.ProxyConnection.withConnection(ProxyConnection.java:66)
	at org.hibernate.reactive.pool.impl.ProxyConnection.beginTransaction(ProxyConnection.java:144)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testReactiveTransactional2(UniAsserter) - More details - Source on GitHub

java.lang.IllegalStateException: HR000061: Session is currently connecting to database
	at org.hibernate.reactive.pool.impl.ProxyConnection.withConnection(ProxyConnection.java:66)
	at org.hibernate.reactive.pool.impl.ProxyConnection.beginTransaction(ProxyConnection.java:144)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testReactiveTransactional3(UniAsserter) - More details - Source on GitHub

java.lang.IllegalStateException: HR000061: Session is currently connecting to database
	at org.hibernate.reactive.pool.impl.ProxyConnection.withConnection(ProxyConnection.java:66)
	at org.hibernate.reactive.pool.impl.ProxyConnection.beginTransaction(ProxyConnection.java:144)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug5274 line 72 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug5885 line 80 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug7102 line 202 - More details - Source on GitHub

java.util.concurrent.CompletionException: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:5432
	at io.smallrye.mutiny.operators.uni.UniBlockingAwait.await(UniBlockingAwait.java:79)
	at io.smallrye.mutiny.groups.UniAwait.atMost(UniAwait.java:65)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug7721 line 130 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug8254 line 138 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug9025 line 146 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug9036 line 154 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testSortByNullPrecedence line 162 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testPanacheInTest line 62 - More details - Source on GitHub

java.lang.IllegalStateException: This method is normally automatically overridden in subclasses: did you forget to annotate your entity with @Entity?
	at io.quarkus.hibernate.reactive.panache.common.runtime.AbstractJpaOperations.implementationInjectionMissing(AbstractJpaOperations.java:420)
	at io.quarkus.hibernate.reactive.panache.kotlin.PanacheCompanionBase$DefaultImpls.injectionMissing(PanacheCompanion.kt:557)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testCompositeKey line 122 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testPanacheFunctionality line 40 - More details - Source on GitHub

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

:gear: JVM Tests - JDK 17 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 25 - More details - Source on GitHub

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

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddEntity line 44 - More details - Source on GitHub

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

:gear: JVM Tests - JDK 18 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 25 - More details - Source on GitHub

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

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddEntity line 44 - More details - Source on GitHub

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

:gear: Native Tests - Data6 #

- Failing: integration-tests/hibernate-reactive-panache-kotlin 

:package: integration-tests/hibernate-reactive-panache-kotlin

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testBug5274 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testBug5885 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testBug8254 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testBug9025 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testBug9036 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testSortByNullPrecedence - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testCompositeKey - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityInGraalITCase.testPanacheFunctionality - More details - Source on GitHub

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

quarkus-bot[bot] avatar Sep 09 '22 00:09 quarkus-bot[bot]


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building 9a0c1e26af017ce50e0f3de715079cc1aaba3738

Status Name Step Failures Logs Raw logs
JVM Tests - JDK 11 Build Failures Logs Raw logs
JVM Tests - JDK 11 Windows Build Failures Logs Raw logs
JVM Tests - JDK 17 Build Failures Logs Raw logs
JVM Tests - JDK 18 Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 11 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 25 - More details - Source on GitHub

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

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddEntity line 44 - More details - Source on GitHub

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

:gear: JVM Tests - JDK 11 Windows #

- Failing: integration-tests/hibernate-reactive-panache-kotlin 

:package: integration-tests/hibernate-reactive-panache-kotlin

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testTestTransaction(UniAsserter) - More details - Source on GitHub

io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:5432
Caused by: java.net.ConnectException: Connection refused: no further information
	at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testTestTransaction2(UniAsserter) - More details - Source on GitHub

io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:5432
Caused by: java.net.ConnectException: Connection refused: no further information
	at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testReactiveTransactional(UniAsserter) - More details - Source on GitHub

java.lang.IllegalStateException: HR000061: Session is currently connecting to database
	at org.hibernate.reactive.pool.impl.ProxyConnection.withConnection(ProxyConnection.java:66)
	at org.hibernate.reactive.pool.impl.ProxyConnection.beginTransaction(ProxyConnection.java:144)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testReactiveTransactional2(UniAsserter) - More details - Source on GitHub

java.lang.IllegalStateException: HR000061: Session is currently connecting to database
	at org.hibernate.reactive.pool.impl.ProxyConnection.withConnection(ProxyConnection.java:66)
	at org.hibernate.reactive.pool.impl.ProxyConnection.beginTransaction(ProxyConnection.java:144)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testReactiveTransactional3(UniAsserter) - More details - Source on GitHub

java.lang.IllegalStateException: HR000061: Session is currently connecting to database
	at org.hibernate.reactive.pool.impl.ProxyConnection.withConnection(ProxyConnection.java:66)
	at org.hibernate.reactive.pool.impl.ProxyConnection.beginTransaction(ProxyConnection.java:144)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug5274 line 72 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug5885 line 80 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug7102 line 202 - More details - Source on GitHub

java.util.concurrent.CompletionException: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:5432
	at io.smallrye.mutiny.operators.uni.UniBlockingAwait.await(UniBlockingAwait.java:79)
	at io.smallrye.mutiny.groups.UniAwait.atMost(UniAwait.java:65)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug7721 line 130 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug8254 line 138 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug9025 line 146 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug9036 line 154 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testSortByNullPrecedence line 162 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testPanacheInTest line 64 - More details - Source on GitHub

java.util.concurrent.CompletionException: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:5432
	at io.smallrye.mutiny.operators.uni.UniBlockingAwait.await(UniBlockingAwait.java:79)
	at io.smallrye.mutiny.groups.UniAwait.atMost(UniAwait.java:65)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testCompositeKey line 122 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testPanacheFunctionality line 40 - More details - Source on GitHub

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

:gear: JVM Tests - JDK 17 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment integration-tests/oidc-code-flow 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin 

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 25 - More details - Source on GitHub

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

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddEntity line 44 - More details - Source on GitHub

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

:package: integration-tests/oidc-code-flow

io.quarkus.it.keycloak.CodeFlowTest.testTokenAutoRefresh line 497 - More details - Source on GitHub

com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 401 Unauthorized for http://localhost:8081/tenant-autorefresh
	at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:701)
	at com.gargoylesoftware.htmlunit.WebClient.loadDownloadedResponses(WebClient.java:2452)

:gear: JVM Tests - JDK 18 #

- Failing: extensions/panache/hibernate-reactive-panache-kotlin/deployment extensions/smallrye-reactive-messaging-kafka/deployment 
! Skipped: integration-tests/hibernate-reactive-panache-kotlin integration-tests/kafka-oauth-keycloak integration-tests/kafka-sasl-elytron and 4 more

:package: extensions/panache/hibernate-reactive-panache-kotlin/deployment

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddNewFieldToEntity line 25 - More details - Source on GitHub

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

io.quarkus.hibernate.reactive.panache.kotlin.test.PanacheHotReloadTestCase.testAddEntity line 44 - More details - Source on GitHub

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

:package: extensions/smallrye-reactive-messaging-kafka/deployment

io.quarkus.smallrye.reactivemessaging.kafka.deployment.testing.KafkaDevServicesContinuousTestingWorkingAppPropsTestCase.testContinuousTestingScenario3 line 50 - More details - Source on GitHub

org.awaitility.core.ConditionTimeoutException: Failed to wait for test run 3 State{lastRun=2, running=true, inProgress=true, run=1, passed=0, failed=1, skipped=0, isBrokenOnly=false, isTestOutput=false, isInstrumentationBasedReload=false, isLiveReload=true}
	at io.quarkus.test.ContinuousTestingTestUtils.waitForNextCompletion(ContinuousTestingTestUtils.java:44)
	at io.quarkus.smallrye.reactivemessaging.kafka.deployment.testing.KafkaDevServicesContinuousTestingWorkingAppPropsTestCase.testContinuousTestingScenario3(KafkaDevServicesContinuousTestingWorkingAppPropsTestCase.java:50)

quarkus-bot[bot] avatar Sep 13 '22 00:09 quarkus-bot[bot]

So i've poked and prodded at everything I can think. I can not for the life of me figure out why the deployment module tests fail while the java versions work just fine. The extension itself works just fine: the integration tests run like a champ. But something is off with the deployment module's set up and I can't find it. I'm sure it's something simple and stupid and I'll look foolish when someone points it out. But I'm moving on. So we can either just remove these tests (because the ITs work just find and validate that all works) or if someone else wants to take a peek and see if they can find what's up, I'm ok with that plan, too. But I have other things to work on so I'm going to focus on those now. Thoughts?

evanchooly avatar Sep 13 '22 20:09 evanchooly

I fixed the tests.

There were two problems:

  • Maven resource filtering was not set so the DB URL was not being properly propagated
  • The Dev Mode test can't really work with Kotlin sources so I just deleted it.

On that note, I strongly urge for more tests to be added to the deployment module instead of relying too much on the integration-tests. The are various reasons for this, but the most important one is that folks making changes to the extension should get test feedback as fast as possible - something which is not possible with the integration tests.

geoand avatar Sep 14 '22 06:09 geoand


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building e8201527955f0a12b1dc9a4a30f4531790c6e3fc

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
JVM Tests - JDK 11 Windows Build Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 18 Build Failures Logs Raw logs
Native Tests - Messaging1 Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 11 Windows #

- Failing: integration-tests/hibernate-reactive-panache-kotlin 

:package: integration-tests/hibernate-reactive-panache-kotlin

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testTestTransaction(UniAsserter) - More details - Source on GitHub

io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:5432
Caused by: java.net.ConnectException: Connection refused: no further information
	at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testTestTransaction2(UniAsserter) - More details - Source on GitHub

io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:5432
Caused by: java.net.ConnectException: Connection refused: no further information
	at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testReactiveTransactional(UniAsserter) - More details - Source on GitHub

java.lang.IllegalStateException: HR000061: Session is currently connecting to database
	at org.hibernate.reactive.pool.impl.ProxyConnection.withConnection(ProxyConnection.java:66)
	at org.hibernate.reactive.pool.impl.ProxyConnection.beginTransaction(ProxyConnection.java:144)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testReactiveTransactional2(UniAsserter) - More details - Source on GitHub

java.lang.IllegalStateException: HR000061: Session is currently connecting to database
	at org.hibernate.reactive.pool.impl.ProxyConnection.withConnection(ProxyConnection.java:66)
	at org.hibernate.reactive.pool.impl.ProxyConnection.beginTransaction(ProxyConnection.java:144)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testReactiveTransactional3(UniAsserter) - More details - Source on GitHub

java.lang.IllegalStateException: HR000061: Session is currently connecting to database
	at org.hibernate.reactive.pool.impl.ProxyConnection.withConnection(ProxyConnection.java:66)
	at org.hibernate.reactive.pool.impl.ProxyConnection.beginTransaction(ProxyConnection.java:144)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug5274 line 72 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug5885 line 80 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug7102 line 202 - More details - Source on GitHub

java.util.concurrent.CompletionException: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:5432
	at io.smallrye.mutiny.operators.uni.UniBlockingAwait.await(UniBlockingAwait.java:79)
	at io.smallrye.mutiny.groups.UniAwait.atMost(UniAwait.java:65)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug7721 line 130 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug8254 line 138 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug9025 line 146 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testBug9036 line 154 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testSortByNullPrecedence line 162 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testPanacheInTest line 64 - More details - Source on GitHub

java.util.concurrent.CompletionException: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: localhost/127.0.0.1:5432
	at io.smallrye.mutiny.operators.uni.UniBlockingAwait.await(UniBlockingAwait.java:79)
	at io.smallrye.mutiny.groups.UniAwait.atMost(UniAwait.java:65)

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testCompositeKey line 122 - More details - Source on GitHub

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

io.quarkus.it.panache.reactive.kotlin.PanacheFunctionalityTest.testPanacheFunctionality line 40 - More details - Source on GitHub

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

:gear: JVM Tests - JDK 18 #

- Failing: integration-tests/oidc-code-flow 

:package: integration-tests/oidc-code-flow

io.quarkus.it.keycloak.CodeFlowTest.testTokenAutoRefresh line 497 - More details - Source on GitHub

com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 401 Unauthorized for http://localhost:8081/tenant-autorefresh
	at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:701)
	at com.gargoylesoftware.htmlunit.WebClient.loadDownloadedResponses(WebClient.java:2452)

:gear: Native Tests - Messaging1 #

- Failing: integration-tests/kafka-sasl 

:package: integration-tests/kafka-sasl

io.quarkus.it.kafka.SaslKafkaConsumerIT.testReception - More details - Source on GitHub

java.lang.RuntimeException: java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class io.quarkus.it.kafka.KafkaSASLTestResource
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.throwBootFailureException(QuarkusIntegrationTestExtension.java:292)
	at io.quarkus.test.junit.QuarkusIntegrationTestExtension.beforeEach(QuarkusIntegrationTestExtension.java:77)

quarkus-bot[bot] avatar Sep 14 '22 11:09 quarkus-bot[bot]

We'll still need to address the Windows issue, but I think it will be rather simple (we are likely just missing some property in the pom)

geoand avatar Sep 14 '22 11:09 geoand

I fixed the tests.

There were two problems:

  • Maven resource filtering was not set so the DB URL was not being properly propagated
  • The Dev Mode test can't really work with Kotlin sources so I just deleted it.

On that note, I strongly urge for more tests to be added to the deployment module instead of relying too much on the integration-tests. The are various reasons for this, but the most important one is that folks making changes to the extension should get test feedback as fast as possible - something which is not possible with the integration tests.

This was my suspicion, too, but wanted some external confirmation so thanks for that. And i agree about the tests. I think most of the integration tests could be moved in to the extensions' modules instead.

evanchooly avatar Sep 14 '22 14:09 evanchooly