Skip to content

Remove lambdas from Arc that are used at startup #1187

Remove lambdas from Arc that are used at startup

Remove lambdas from Arc that are used at startup #1187

GitHub Actions / Build summary for 16a6d14f3c857bac13efc0e8a11cad4cba3778c8 completed Jan 21, 2025 in 0s

Build summary for 16a6d14f3c857bac13efc0e8a11cad4cba3778c8

Failing Jobs - Building 16a6d14 - Back to Workflow run summary

Status Name Step Failures Logs Raw logs Build scan
JVM Tests - JDK 17 Build Failures Logs Raw logs 🚧
JVM Tests - JDK 17 Windows Build Failures Logs Raw logs 🚧
JVM Tests - JDK 21 Build Failures Logs Raw logs 🚧

Warning

This workflow run had flaky tests. See details for more information.

Details

Test Failures

⚙️ JVM Tests - JDK 17 #

- Failing: extensions/narayana-jta/deployment 
! Skipped: extensions/agroal/deployment extensions/elytron-security-jdbc/deployment extensions/flyway/deployment and 157 more

📦 extensions/narayana-jta/deployment

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

io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest.testObserverNotificationWithErrorThrowing line 37 - Source on GitHub - 🠅

java.lang.IllegalStateException: This is an expected exception within test
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest$ObservingBean.observeAfterSuccess(TransactionalObserversErrorHandlingTest.java:50)
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest_ObservingBean_Observer_observeAfterSuccess_giN7BLeGxnhFWh0Ne3G-CSmHkbI.notify(Unknown Source)
	at io.quarkus.arc.impl.EventImpl$Notifier.notifyObservers(EventImpl.java:365)
	at io.quarkus.arc.impl.EventImpl$Notifier.notify(EventImpl.java:347)
	at io.quarkus.arc.impl.EventImpl.fire(EventImpl.java:81)
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest.testObserverNotificationWithErrorThrowing(TransactionalObserversErrorHandlingTest.java:37)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)

io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionFailed line 66 - Source on GitHub - 🠅

jakarta.transaction.NotSupportedException: BaseTransaction.checkTransactionState - ARJUNA016051: thread is already associated with a transaction!
	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:51)
	at io.quarkus.narayana.jta.runtime.NotifyingUserTransaction.begin(NotifyingUserTransaction.java:24)
	at jakarta.transaction.NarayanaJtaProducers_ProducerMethod_userTransaction_7zPXeUWVelZ-AzCmqVtVVw94OtA_ClientProxy.begin(Unknown Source)
	at io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionFailed(TransactionalObserversTest.java:66)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at io.quarkus.test.QuarkusUnitTest.runExtensionMethod(QuarkusUnitTest.java:513)
	at io.quarkus.test.QuarkusUnitTest.interceptTestMethod(QuarkusUnitTest.java:427)

io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionSuccessful line 53 - Source on GitHub - 🠅

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
	at io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionSuccessful(TransactionalObserversTest.java:53)


⚙️ JVM Tests - JDK 17 Windows #

- Failing: extensions/narayana-jta/deployment 
! Skipped: extensions/agroal/deployment extensions/elytron-security-jdbc/deployment extensions/flyway/deployment and 157 more

📦 extensions/narayana-jta/deployment

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

io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest.testObserverNotificationWithErrorThrowing line 37 - Source on GitHub - 🠅

java.lang.IllegalStateException: This is an expected exception within test
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest$ObservingBean.observeAfterSuccess(TransactionalObserversErrorHandlingTest.java:50)
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest_ObservingBean_Observer_observeAfterSuccess_giN7BLeGxnhFWh0Ne3G-CSmHkbI.notify(Unknown Source)
	at io.quarkus.arc.impl.EventImpl$Notifier.notifyObservers(EventImpl.java:365)
	at io.quarkus.arc.impl.EventImpl$Notifier.notify(EventImpl.java:347)
	at io.quarkus.arc.impl.EventImpl.fire(EventImpl.java:81)
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest.testObserverNotificationWithErrorThrowing(TransactionalObserversErrorHandlingTest.java:37)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)

io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionFailed line 66 - Source on GitHub - 🠅

jakarta.transaction.NotSupportedException: BaseTransaction.checkTransactionState - ARJUNA016051: thread is already associated with a transaction!
	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:51)
	at io.quarkus.narayana.jta.runtime.NotifyingUserTransaction.begin(NotifyingUserTransaction.java:24)
	at jakarta.transaction.NarayanaJtaProducers_ProducerMethod_userTransaction_7zPXeUWVelZ-AzCmqVtVVw94OtA_ClientProxy.begin(Unknown Source)
	at io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionFailed(TransactionalObserversTest.java:66)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at io.quarkus.test.QuarkusUnitTest.runExtensionMethod(QuarkusUnitTest.java:513)
	at io.quarkus.test.QuarkusUnitTest.interceptTestMethod(QuarkusUnitTest.java:427)

io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionSuccessful line 53 - Source on GitHub - 🠅

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
	at io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionSuccessful(TransactionalObserversTest.java:53)


⚙️ JVM Tests - JDK 21 #

- Failing: extensions/narayana-jta/deployment 
! Skipped: extensions/agroal/deployment extensions/elytron-security-jdbc/deployment extensions/flyway/deployment and 157 more

📦 extensions/narayana-jta/deployment

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

io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest.testObserverNotificationWithErrorThrowing line 37 - Source on GitHub - 🠅

java.lang.IllegalStateException: This is an expected exception within test
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest$ObservingBean.observeAfterSuccess2(TransactionalObserversErrorHandlingTest.java:55)
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest_ObservingBean_Observer_observeAfterSuccess2_IsloNAHtd50I1hUXXwUHSoMZT4o.notify(Unknown Source)
	at io.quarkus.arc.impl.EventImpl$Notifier.notifyObservers(EventImpl.java:365)
	at io.quarkus.arc.impl.EventImpl$Notifier.notify(EventImpl.java:347)
	at io.quarkus.arc.impl.EventImpl.fire(EventImpl.java:81)
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest.testObserverNotificationWithErrorThrowing(TransactionalObserversErrorHandlingTest.java:37)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionFailed line 66 - Source on GitHub - 🠅

jakarta.transaction.NotSupportedException: BaseTransaction.checkTransactionState - ARJUNA016051: thread is already associated with a transaction!
	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:51)
	at io.quarkus.narayana.jta.runtime.NotifyingUserTransaction.begin(NotifyingUserTransaction.java:24)
	at jakarta.transaction.NarayanaJtaProducers_ProducerMethod_userTransaction_7zPXeUWVelZ-AzCmqVtVVw94OtA_ClientProxy.begin(Unknown Source)
	at io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionFailed(TransactionalObserversTest.java:66)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.quarkus.test.QuarkusUnitTest.runExtensionMethod(QuarkusUnitTest.java:513)
	at io.quarkus.test.QuarkusUnitTest.interceptTestMethod(QuarkusUnitTest.java:427)

io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionSuccessful line 53 - Source on GitHub - 🠅

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
	at io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionSuccessful(TransactionalObserversTest.java:53)

Flaky tests

⚙️ JVM Tests - JDK 17

📦 extensions/narayana-jta/deployment

io.quarkus.narayana.observers.TransactionalObserversTest.testOutsideTransaction

  • expected: <true> but was: <false> - org.opentest4j.AssertionFailedError
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
	at io.quarkus.narayana.observers.TransactionalObserversTest.testOutsideTransaction(TransactionalObserversTest.java:78)

⚙️ JVM Tests - JDK 17 Windows

📦 extensions/narayana-jta/deployment

io.quarkus.narayana.observers.TransactionalObserversTest.testOutsideTransaction

  • expected: <true> but was: <false> - org.opentest4j.AssertionFailedError
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
	at io.quarkus.narayana.observers.TransactionalObserversTest.testOutsideTransaction(TransactionalObserversTest.java:78)

⚙️ JVM Tests - JDK 21

📦 extensions/narayana-jta/deployment

io.quarkus.narayana.observers.TransactionalObserversTest.testOutsideTransaction

  • expected: <true> but was: <false> - org.opentest4j.AssertionFailedError
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
	at io.quarkus.narayana.observers.TransactionalObserversTest.testOutsideTransaction(TransactionalObserversTest.java:78)

Annotations

Check failure on line 37 in extensions/narayana-jta/deployment/src/test/java/io/quarkus/narayana/observers/TransactionalObserversErrorHandlingTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 16a6d14f3c857bac13efc0e8a11cad4cba3778c8

JVM Tests - JDK 17

java.lang.IllegalStateException: This is an expected exception within test
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest$ObservingBean.observeAfterSuccess(TransactionalObserversErrorHandlingTest.java:50)
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest_ObservingBean_Observer_observeAfterSuccess_giN7BLeGxnhFWh0Ne3G-CSmHkbI.notify(Unknown Source)
Raw output
java.lang.IllegalStateException: This is an expected exception within test
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest$ObservingBean.observeAfterSuccess(TransactionalObserversErrorHandlingTest.java:50)
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest_ObservingBean_Observer_observeAfterSuccess_giN7BLeGxnhFWh0Ne3G-CSmHkbI.notify(Unknown Source)
	at io.quarkus.arc.impl.EventImpl$Notifier.notifyObservers(EventImpl.java:365)
	at io.quarkus.arc.impl.EventImpl$Notifier.notify(EventImpl.java:347)
	at io.quarkus.arc.impl.EventImpl.fire(EventImpl.java:81)
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest.testObserverNotificationWithErrorThrowing(TransactionalObserversErrorHandlingTest.java:37)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at io.quarkus.test.QuarkusUnitTest.runExtensionMethod(QuarkusUnitTest.java:513)
	at io.quarkus.test.QuarkusUnitTest.interceptTestMethod(QuarkusUnitTest.java:427)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 66 in extensions/narayana-jta/deployment/src/test/java/io/quarkus/narayana/observers/TransactionalObserversTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 16a6d14f3c857bac13efc0e8a11cad4cba3778c8

JVM Tests - JDK 17

jakarta.transaction.NotSupportedException: BaseTransaction.checkTransactionState - ARJUNA016051: thread is already associated with a transaction!
	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:51)
	at io.quarkus.narayana.jta.runtime.NotifyingUserTransaction.begin(NotifyingUserTransaction.java:24)
Raw output
jakarta.transaction.NotSupportedException: BaseTransaction.checkTransactionState - ARJUNA016051: thread is already associated with a transaction!
	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:51)
	at io.quarkus.narayana.jta.runtime.NotifyingUserTransaction.begin(NotifyingUserTransaction.java:24)
	at jakarta.transaction.NarayanaJtaProducers_ProducerMethod_userTransaction_7zPXeUWVelZ-AzCmqVtVVw94OtA_ClientProxy.begin(Unknown Source)
	at io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionFailed(TransactionalObserversTest.java:66)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at io.quarkus.test.QuarkusUnitTest.runExtensionMethod(QuarkusUnitTest.java:513)
	at io.quarkus.test.QuarkusUnitTest.interceptTestMethod(QuarkusUnitTest.java:427)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.IllegalStateException: BaseTransaction.checkTransactionState - ARJUNA016051: thread is already associated with a transaction!
	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.checkTransactionState(BaseTransaction.java:246)
	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:46)
	... 8 more

Check failure on line 53 in extensions/narayana-jta/deployment/src/test/java/io/quarkus/narayana/observers/TransactionalObserversTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 16a6d14f3c857bac13efc0e8a11cad4cba3778c8

JVM Tests - JDK 17

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
Raw output
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
	at io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionSuccessful(TransactionalObserversTest.java:53)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at io.quarkus.test.QuarkusUnitTest.runExtensionMethod(QuarkusUnitTest.java:513)
	at io.quarkus.test.QuarkusUnitTest.interceptTestMethod(QuarkusUnitTest.java:427)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 37 in extensions/narayana-jta/deployment/src/test/java/io/quarkus/narayana/observers/TransactionalObserversErrorHandlingTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 16a6d14f3c857bac13efc0e8a11cad4cba3778c8

JVM Tests - JDK 17 Windows

java.lang.IllegalStateException: This is an expected exception within test
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest$ObservingBean.observeAfterSuccess(TransactionalObserversErrorHandlingTest.java:50)
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest_ObservingBean_Observer_observeAfterSuccess_giN7BLeGxnhFWh0Ne3G-CSmHkbI.notify(Unknown Source)
Raw output
java.lang.IllegalStateException: This is an expected exception within test
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest$ObservingBean.observeAfterSuccess(TransactionalObserversErrorHandlingTest.java:50)
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest_ObservingBean_Observer_observeAfterSuccess_giN7BLeGxnhFWh0Ne3G-CSmHkbI.notify(Unknown Source)
	at io.quarkus.arc.impl.EventImpl$Notifier.notifyObservers(EventImpl.java:365)
	at io.quarkus.arc.impl.EventImpl$Notifier.notify(EventImpl.java:347)
	at io.quarkus.arc.impl.EventImpl.fire(EventImpl.java:81)
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest.testObserverNotificationWithErrorThrowing(TransactionalObserversErrorHandlingTest.java:37)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at io.quarkus.test.QuarkusUnitTest.runExtensionMethod(QuarkusUnitTest.java:513)
	at io.quarkus.test.QuarkusUnitTest.interceptTestMethod(QuarkusUnitTest.java:427)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 66 in extensions/narayana-jta/deployment/src/test/java/io/quarkus/narayana/observers/TransactionalObserversTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 16a6d14f3c857bac13efc0e8a11cad4cba3778c8

JVM Tests - JDK 17 Windows

jakarta.transaction.NotSupportedException: BaseTransaction.checkTransactionState - ARJUNA016051: thread is already associated with a transaction!
	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:51)
	at io.quarkus.narayana.jta.runtime.NotifyingUserTransaction.begin(NotifyingUserTransaction.java:24)
Raw output
jakarta.transaction.NotSupportedException: BaseTransaction.checkTransactionState - ARJUNA016051: thread is already associated with a transaction!
	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:51)
	at io.quarkus.narayana.jta.runtime.NotifyingUserTransaction.begin(NotifyingUserTransaction.java:24)
	at jakarta.transaction.NarayanaJtaProducers_ProducerMethod_userTransaction_7zPXeUWVelZ-AzCmqVtVVw94OtA_ClientProxy.begin(Unknown Source)
	at io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionFailed(TransactionalObserversTest.java:66)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at io.quarkus.test.QuarkusUnitTest.runExtensionMethod(QuarkusUnitTest.java:513)
	at io.quarkus.test.QuarkusUnitTest.interceptTestMethod(QuarkusUnitTest.java:427)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.IllegalStateException: BaseTransaction.checkTransactionState - ARJUNA016051: thread is already associated with a transaction!
	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.checkTransactionState(BaseTransaction.java:246)
	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:46)
	... 8 more

Check failure on line 53 in extensions/narayana-jta/deployment/src/test/java/io/quarkus/narayana/observers/TransactionalObserversTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 16a6d14f3c857bac13efc0e8a11cad4cba3778c8

JVM Tests - JDK 17 Windows

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
Raw output
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
	at io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionSuccessful(TransactionalObserversTest.java:53)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at io.quarkus.test.QuarkusUnitTest.runExtensionMethod(QuarkusUnitTest.java:513)
	at io.quarkus.test.QuarkusUnitTest.interceptTestMethod(QuarkusUnitTest.java:427)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 37 in extensions/narayana-jta/deployment/src/test/java/io/quarkus/narayana/observers/TransactionalObserversErrorHandlingTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 16a6d14f3c857bac13efc0e8a11cad4cba3778c8

JVM Tests - JDK 21

java.lang.IllegalStateException: This is an expected exception within test
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest$ObservingBean.observeAfterSuccess2(TransactionalObserversErrorHandlingTest.java:55)
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest_ObservingBean_Observer_observeAfterSuccess2_IsloNAHtd50I1hUXXwUHSoMZT4o.notify(Unknown Source)
Raw output
java.lang.IllegalStateException: This is an expected exception within test
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest$ObservingBean.observeAfterSuccess2(TransactionalObserversErrorHandlingTest.java:55)
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest_ObservingBean_Observer_observeAfterSuccess2_IsloNAHtd50I1hUXXwUHSoMZT4o.notify(Unknown Source)
	at io.quarkus.arc.impl.EventImpl$Notifier.notifyObservers(EventImpl.java:365)
	at io.quarkus.arc.impl.EventImpl$Notifier.notify(EventImpl.java:347)
	at io.quarkus.arc.impl.EventImpl.fire(EventImpl.java:81)
	at io.quarkus.narayana.observers.TransactionalObserversErrorHandlingTest.testObserverNotificationWithErrorThrowing(TransactionalObserversErrorHandlingTest.java:37)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.quarkus.test.QuarkusUnitTest.runExtensionMethod(QuarkusUnitTest.java:513)
	at io.quarkus.test.QuarkusUnitTest.interceptTestMethod(QuarkusUnitTest.java:427)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Check failure on line 66 in extensions/narayana-jta/deployment/src/test/java/io/quarkus/narayana/observers/TransactionalObserversTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 16a6d14f3c857bac13efc0e8a11cad4cba3778c8

JVM Tests - JDK 21

jakarta.transaction.NotSupportedException: BaseTransaction.checkTransactionState - ARJUNA016051: thread is already associated with a transaction!
	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:51)
	at io.quarkus.narayana.jta.runtime.NotifyingUserTransaction.begin(NotifyingUserTransaction.java:24)
Raw output
jakarta.transaction.NotSupportedException: BaseTransaction.checkTransactionState - ARJUNA016051: thread is already associated with a transaction!
	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:51)
	at io.quarkus.narayana.jta.runtime.NotifyingUserTransaction.begin(NotifyingUserTransaction.java:24)
	at jakarta.transaction.NarayanaJtaProducers_ProducerMethod_userTransaction_7zPXeUWVelZ-AzCmqVtVVw94OtA_ClientProxy.begin(Unknown Source)
	at io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionFailed(TransactionalObserversTest.java:66)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.quarkus.test.QuarkusUnitTest.runExtensionMethod(QuarkusUnitTest.java:513)
	at io.quarkus.test.QuarkusUnitTest.interceptTestMethod(QuarkusUnitTest.java:427)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.IllegalStateException: BaseTransaction.checkTransactionState - ARJUNA016051: thread is already associated with a transaction!
	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.checkTransactionState(BaseTransaction.java:246)
	at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:46)
	... 8 more

Check failure on line 53 in extensions/narayana-jta/deployment/src/test/java/io/quarkus/narayana/observers/TransactionalObserversTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for 16a6d14f3c857bac13efc0e8a11cad4cba3778c8

JVM Tests - JDK 21

org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
Raw output
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
	at io.quarkus.narayana.observers.TransactionalObserversTest.testTransactionSuccessful(TransactionalObserversTest.java:53)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at io.quarkus.test.QuarkusUnitTest.runExtensionMethod(QuarkusUnitTest.java:513)
	at io.quarkus.test.QuarkusUnitTest.interceptTestMethod(QuarkusUnitTest.java:427)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)