Skip to content

Add validation of execution model annotations #466

Add validation of execution model annotations

Add validation of execution model annotations #466

GitHub Actions / Build summary for c0ddfd7bf50c234b07de02fd80a80edc4c427e2f completed Oct 10, 2023 in 0s

Build summary for c0ddfd7bf50c234b07de02fd80a80edc4c427e2f

Failing Jobs - Building c0ddfd7 - Back to Workflow run summary

Status Name Step Failures Logs Raw logs Build scan
JVM Tests - JDK 11 Build Failures Logs Raw logs
JVM Tests - JDK 17 Build Failures Logs Raw logs
JVM Tests - JDK 17 Windows Build Failures Logs Raw logs
JVM Tests - JDK 20 Build Failures Logs Raw logs
Maven Tests - JDK 11 Build Failures Logs Raw logs
Maven Tests - JDK 11 Windows Build Failures Logs Raw logs
Native Tests - Data7 Build ⚠️ Check → Logs Raw logs

Details

Test Failures

⚙️ JVM Tests - JDK 11 #

- Failing: extensions/reactive-routes/deployment 
! Skipped: devtools/cli extensions/agroal/deployment extensions/avro/deployment and 260 more

📦 extensions/reactive-routes/deployment

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

io.quarkus.execannotations.ExecAnnotationInvalidTest. - Source on GitHub - 🠅

org.opentest4j.AssertionFailedError: The build was expected to fail
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:662)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)

⚙️ JVM Tests - JDK 17 #

- Failing: extensions/reactive-routes/deployment 
! Skipped: devtools/cli extensions/agroal/deployment extensions/avro/deployment and 261 more

📦 extensions/reactive-routes/deployment

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

io.quarkus.execannotations.ExecAnnotationInvalidTest. - Source on GitHub - 🠅

org.opentest4j.AssertionFailedError: The build was expected to fail
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:662)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

⚙️ JVM Tests - JDK 17 Windows #

- Failing: extensions/reactive-routes/deployment 
! Skipped: devtools/cli extensions/agroal/deployment extensions/avro/deployment and 261 more

📦 extensions/reactive-routes/deployment

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

io.quarkus.execannotations.ExecAnnotationInvalidTest. - Source on GitHub - 🠅

org.opentest4j.AssertionFailedError: The build was expected to fail
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:662)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

⚙️ JVM Tests - JDK 20 #

- Failing: extensions/reactive-routes/deployment 
! Skipped: devtools/cli extensions/agroal/deployment extensions/avro/deployment and 261 more

📦 extensions/reactive-routes/deployment

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

io.quarkus.execannotations.ExecAnnotationInvalidTest. - Source on GitHub - 🠅

org.opentest4j.AssertionFailedError: The build was expected to fail
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:662)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

⚙️ Maven Tests - JDK 11 #

- Failing: integration-tests/devmode 

📦 integration-tests/devmode

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

io.quarkus.test.devui.DevUIHibernateOrmActiveFalseTest.testGetNumberOfNamedQueries - Source on GitHub - 🠅

io.quarkus.dev.appstate.ApplicationStartException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.dev.appstate.ApplicationStateNotification.waitForApplicationStart(ApplicationStateNotification.java:58)
	at io.quarkus.runner.bootstrap.StartupActionImpl.runMainClass(StartupActionImpl.java:132)

⚙️ Maven Tests - JDK 11 Windows #

- Failing: integration-tests/maven 

📦 integration-tests/maven

# Tests:    180
+ Success:  172
- Failures: 1
- Errors:   1
! Skipped:  6

io.quarkus.maven.it.JarRunnerIT.testNonAsciiDir line 70 - Source on GitHub - 🠅

java.lang.AssertionError: 

Expecting actual:

assertThat(running.log()).containsIgnoringCase("BUILD SUCCESS");

io.quarkus.maven.it.DevMojoIT.testExternalReloadableArtifacts line 1448 - Source on GitHub - 🠅

org.awaitility.core.ConditionTimeoutException: Condition with lambda expression in io.quarkus.maven.it.DevMojoIT was not fulfilled within 1 minutes.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)

.until(() -> devModeClient.getHttpResponse("/hello").contains("BONJOUR!"));

io.quarkus.maven.it.JarRunnerIT.testNonAsciiDir line 70 - Source on GitHub - 🠅

java.lang.AssertionError: 

Expecting actual:

assertThat(running.log()).containsIgnoringCase("BUILD SUCCESS");

io.quarkus.maven.it.DevMojoIT.testExternalReloadableArtifacts line 1448 - Source on GitHub - 🠅

org.awaitility.core.ConditionTimeoutException: Condition with lambda expression in io.quarkus.maven.it.DevMojoIT was not fulfilled within 1 minutes.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)

.until(() -> devModeClient.getHttpResponse("/hello").contains("BONJOUR!"));

Annotations

Check failure on line 1 in extensions/reactive-routes/deployment/src/test/java/io/quarkus/execannotations/ExecAnnotationInvalidTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for c0ddfd7bf50c234b07de02fd80a80edc4c427e2f

JVM Tests - JDK 11

org.opentest4j.AssertionFailedError: The build was expected to fail
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:662)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Raw output
org.opentest4j.AssertionFailedError: The build was expected to fail
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:662)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)

Check failure on line 1 in extensions/reactive-routes/deployment/src/test/java/io/quarkus/execannotations/ExecAnnotationInvalidTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for c0ddfd7bf50c234b07de02fd80a80edc4c427e2f

JVM Tests - JDK 17

org.opentest4j.AssertionFailedError: The build was expected to fail
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:662)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Raw output
org.opentest4j.AssertionFailedError: The build was expected to fail
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:662)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 1 in extensions/reactive-routes/deployment/src/test/java/io/quarkus/execannotations/ExecAnnotationInvalidTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for c0ddfd7bf50c234b07de02fd80a80edc4c427e2f

JVM Tests - JDK 17 Windows

org.opentest4j.AssertionFailedError: The build was expected to fail
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:662)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Raw output
org.opentest4j.AssertionFailedError: The build was expected to fail
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:662)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 1 in extensions/reactive-routes/deployment/src/test/java/io/quarkus/execannotations/ExecAnnotationInvalidTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for c0ddfd7bf50c234b07de02fd80a80edc4c427e2f

JVM Tests - JDK 20

org.opentest4j.AssertionFailedError: The build was expected to fail
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:662)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Raw output
org.opentest4j.AssertionFailedError: The build was expected to fail
	at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:662)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check failure on line 1 in integration-tests/devmode/src/test/java/io/quarkus/test/devui/DevUIHibernateOrmActiveFalseTest.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for c0ddfd7bf50c234b07de02fd80a80edc4c427e2f

Maven Tests - JDK 11

io.quarkus.dev.appstate.ApplicationStartException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.dev.appstate.ApplicationStateNotification.waitForApplicationStart(ApplicationStateNotification.java:58)
	at io.quarkus.runner.bootstrap.StartupActionImpl.runMainClass(StartupActionImpl.java:132)
Raw output
io.quarkus.dev.appstate.ApplicationStartException: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.dev.appstate.ApplicationStateNotification.waitForApplicationStart(ApplicationStateNotification.java:58)
	at io.quarkus.runner.bootstrap.StartupActionImpl.runMainClass(StartupActionImpl.java:132)
	at io.quarkus.deployment.dev.IsolatedDevModeMain.firstStart(IsolatedDevModeMain.java:115)
	at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:438)
	at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:56)
	at io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:138)
	at io.quarkus.bootstrap.app.CuratedApplication.runInAugmentClassLoader(CuratedApplication.java:93)
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:131)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:302)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Caused by: java.lang.RuntimeException: Failed to start quarkus
	at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
	at io.quarkus.runtime.Application.start(Application.java:101)
	at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:111)
	at io.quarkus.runtime.Quarkus.run(Quarkus.java:71)
	at io.quarkus.runtime.Quarkus.run(Quarkus.java:44)
	at io.quarkus.runtime.Quarkus.run(Quarkus.java:124)
	at io.quarkus.runner.GeneratedMain.main(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at io.quarkus.runner.bootstrap.StartupActionImpl$1.run(StartupActionImpl.java:113)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.OutOfMemoryError: Metaspace
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1022)
	at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:506)
	at io.quarkus.bootstrap.classloading.QuarkusClassLoader.loadClass(QuarkusClassLoader.java:466)
	at org.jboss.threads.EnhancedQueueExecutor$Builder.<init>(EnhancedQueueExecutor.java:431)
	at io.quarkus.runtime.ExecutorRecorder.createExecutor(ExecutorRecorder.java:151)
	at io.quarkus.runtime.ExecutorRecorder.setupRunTime(ExecutorRecorder.java:39)
	at io.quarkus.deployment.steps.ThreadPoolSetup$createExecutor2117483448.deploy_0(Unknown Source)
	at io.quarkus.deployment.steps.ThreadPoolSetup$createExecutor2117483448.deploy(Unknown Source)
	... 10 more

Check failure on line 70 in integration-tests/maven/src/test/java/io/quarkus/maven/it/JarRunnerIT.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for c0ddfd7bf50c234b07de02fd80a80edc4c427e2f

Maven Tests - JDK 11 Windows

java.lang.AssertionError: 

Expecting actual:
Raw output
java.lang.AssertionError: 

Expecting actual:
  "[INFO] Scanning for projects...
[WARNING] This build will only read from the build cache, since the clean lifecycle is not part of the build invocation.
[INFO] 
[INFO] ---------------------------< org.acme:acme >----------------------------
[INFO] Building acme 1.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ acme ---
[INFO] Copying 4 resources from src\main\resources to target\classes
[INFO] 
[INFO] --- quarkus:999-SNAPSHOT:generate-code (default) @ acme ---
[INFO] 
[INFO] --- compiler:3.11.0:compile (default-compile) @ acme ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  12.958 s
[INFO] Finished at: 2023-10-10T11:24:19Z
[INFO] ------------------------------------------------------------------------
[INFO] 3 goals, 3 executed
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project acme: Error while storing the mojo status: Input length = 1 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
"
to contain:
  "BUILD SUCCESS"
 (ignoring case)
	at io.quarkus.maven.it.JarRunnerIT.testNonAsciiDir(JarRunnerIT.java:70)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)

Check failure on line 1448 in integration-tests/maven/src/test/java/io/quarkus/maven/it/DevMojoIT.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for c0ddfd7bf50c234b07de02fd80a80edc4c427e2f

Maven Tests - JDK 11 Windows

org.awaitility.core.ConditionTimeoutException: Condition with lambda expression in io.quarkus.maven.it.DevMojoIT was not fulfilled within 1 minutes.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
Raw output
org.awaitility.core.ConditionTimeoutException: Condition with lambda expression in io.quarkus.maven.it.DevMojoIT was not fulfilled within 1 minutes.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:26)
	at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
	at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:954)
	at io.quarkus.maven.it.DevMojoIT.testExternalReloadableArtifacts(DevMojoIT.java:1448)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Caused by: java.util.concurrent.TimeoutException
	at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
	at org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:101)
	at org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:81)
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:103)
	... 8 more

Check failure on line 70 in integration-tests/maven/src/test/java/io/quarkus/maven/it/JarRunnerIT.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for c0ddfd7bf50c234b07de02fd80a80edc4c427e2f

Maven Tests - JDK 11 Windows

java.lang.AssertionError: 

Expecting actual:
Raw output
java.lang.AssertionError: 

Expecting actual:
  "[INFO] Scanning for projects...
[WARNING] This build will only read from the build cache, since the clean lifecycle is not part of the build invocation.
[INFO] 
[INFO] ---------------------------< org.acme:acme >----------------------------
[INFO] Building acme 1.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ acme ---
[INFO] Copying 4 resources from src\main\resources to target\classes
[INFO] 
[INFO] --- quarkus:999-SNAPSHOT:generate-code (default) @ acme ---
[INFO] 
[INFO] --- compiler:3.11.0:compile (default-compile) @ acme ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  12.958 s
[INFO] Finished at: 2023-10-10T11:24:19Z
[INFO] ------------------------------------------------------------------------
[INFO] 3 goals, 3 executed
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project acme: Error while storing the mojo status: Input length = 1 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
"
to contain:
  "BUILD SUCCESS"
 (ignoring case)
	at io.quarkus.maven.it.JarRunnerIT.testNonAsciiDir(JarRunnerIT.java:70)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)

Check failure on line 1448 in integration-tests/maven/src/test/java/io/quarkus/maven/it/DevMojoIT.java

See this annotation in the file changed.

@github-actions github-actions / Build summary for c0ddfd7bf50c234b07de02fd80a80edc4c427e2f

Maven Tests - JDK 11 Windows

org.awaitility.core.ConditionTimeoutException: Condition with lambda expression in io.quarkus.maven.it.DevMojoIT was not fulfilled within 1 minutes.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
Raw output
org.awaitility.core.ConditionTimeoutException: Condition with lambda expression in io.quarkus.maven.it.DevMojoIT was not fulfilled within 1 minutes.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:26)
	at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
	at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:954)
	at io.quarkus.maven.it.DevMojoIT.testExternalReloadableArtifacts(DevMojoIT.java:1448)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Caused by: java.util.concurrent.TimeoutException
	at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
	at org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:101)
	at org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:81)
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:103)
	... 8 more