Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Gradle 7.2 and enable Gradle modules on JDK EA build #17102

Merged
merged 2 commits into from
Aug 20, 2021

Conversation

glefloch
Copy link
Member

@glefloch glefloch commented May 10, 2021

This branch enables gradle modules build in jdk-early-access-build workflow.

close #17081
close #19256

@glefloch glefloch requested a review from famod May 10, 2021 07:40
@quarkus-bot quarkus-bot bot added the area/infra-automation anything related to CI, bots, etc. that are used to automated our infrastructure label May 10, 2021
Copy link
Member

@famod famod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So with this the job passed in your fork (with JDK 16 instead of 17-ea)?

What about the disabled tests, see feef71a? (please note that there was a wrong commit in the issue description, sorry)

.github/workflows/jdk-early-access-build.yml Show resolved Hide resolved
@quarkus-bot
Copy link

quarkus-bot bot commented May 10, 2021

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

Failing Jobs - Building 368a99c

Status Name Step Test failures Logs Raw logs
Gradle Tests - JDK 11 Linux Build Test failures Logs Raw logs
Gradle Tests - JDK 11 Windows Build Test failures Logs Raw logs
✔️ JVM Tests - JDK 11
JVM Tests - JDK 16 Build Test failures Logs Raw logs

Full information is available in the Build summary check run.

Test Failures

⚙️ Gradle Tests - JDK 11 Linux #

📦 integration-tests/gradle

io.quarkus.gradle.BeanInTestSourcesTest.testBasicMultiModuleBuild() line 15 - More details - Source on GitHub

io.quarkus.gradle.KotlinGRPCProjectBuildTest.testBasicMultiModuleBuild() line 15 - More details - Source on GitHub

io.quarkus.gradle.MultiModuleKotlinProjectBuildTest.testBasicMultiModuleBuild() line 15 - More details - Source on GitHub

io.quarkus.gradle.MultiSourceProjectTest.shouldRunTest() line 16 - More details - Source on GitHub

io.quarkus.gradle.devmode.MultiModuleKotlinProjectDevModeTest.main() line 22 - More details - Source on GitHub


⚙️ Gradle Tests - JDK 11 Windows #

📦 integration-tests/gradle

io.quarkus.gradle.BeanInTestSourcesTest.testBasicMultiModuleBuild() line 15 - More details - Source on GitHub

io.quarkus.gradle.KotlinGRPCProjectBuildTest.testBasicMultiModuleBuild() line 15 - More details - Source on GitHub

io.quarkus.gradle.MultiModuleKotlinProjectBuildTest.testBasicMultiModuleBuild() line 15 - More details - Source on GitHub

io.quarkus.gradle.MultiSourceProjectTest.shouldRunTest() line 16 - More details - Source on GitHub

io.quarkus.gradle.devmode.MultiModuleKotlinProjectDevModeTest.main() line 22 - More details - Source on GitHub


⚙️ JVM Tests - JDK 16 #

📦 extensions/vertx-http/deployment

io.quarkus.vertx.http.testrunner.TestChangeTrackingWhenStartFailsTestCase.testChangeTrackingOnStartupFailure line 56 - More details - Source on GitHub

@famod
Copy link
Member

famod commented May 10, 2021

There is also something left here: https://github.com/quarkusio/quarkus/blob/main/.github/workflows/ci-actions-incremental.yml#L243 (remove -pl '!devtools/gradle').

@quarkus-bot quarkus-bot bot added area/cli Related to quarkus cli (not maven/gradle/etc.) area/dependencies Pull requests that update a dependency file area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins labels May 10, 2021
@gastaldi gastaldi requested a review from famod May 10, 2021 14:33
Copy link
Member

@famod famod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems my previous comment still needs to be addressed as well: #17102 (comment)

Additionally, I think the other failing Gradle tests should be fixed first - if possible.

.github/workflows/jdk-early-access-build.yml Outdated Show resolved Hide resolved
build-parent/pom.xml Outdated Show resolved Hide resolved
@quarkus-bot
Copy link

quarkus-bot bot commented May 10, 2021

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

Failing Jobs - Building 1e786d4

Status Name Step Test failures Logs Raw logs
Gradle Tests - JDK 11 Linux Build Test failures Logs Raw logs
Gradle Tests - JDK 11 Windows Build Test failures Logs Raw logs
✔️ JVM Tests - JDK 11
JVM Tests - JDK 16 Build ⚠️ Check → Logs Raw logs

Full information is available in the Build summary check run.

⚠️ Errors occurred while downloading the Surefire reports. This report is incomplete.

Test Failures

⚙️ Gradle Tests - JDK 11 Linux #

📦 integration-tests/gradle

io.quarkus.gradle.BeanInTestSourcesTest.testBasicMultiModuleBuild() line 15 - More details - Source on GitHub

io.quarkus.gradle.KotlinGRPCProjectBuildTest.testBasicMultiModuleBuild() line 16 - More details - Source on GitHub

io.quarkus.gradle.MultiModuleKotlinProjectBuildTest.testBasicMultiModuleBuild() line 15 - More details - Source on GitHub

io.quarkus.gradle.MultiSourceProjectTest.shouldRunTest() line 16 - More details - Source on GitHub

io.quarkus.gradle.devmode.MultiModuleKotlinProjectDevModeTest.main() line 22 - More details - Source on GitHub


⚙️ Gradle Tests - JDK 11 Windows #

📦 integration-tests/gradle

io.quarkus.gradle.BeanInTestSourcesTest.testBasicMultiModuleBuild() line 15 - More details - Source on GitHub

io.quarkus.gradle.KotlinGRPCProjectBuildTest.testBasicMultiModuleBuild() line 16 - More details - Source on GitHub

io.quarkus.gradle.MultiModuleKotlinProjectBuildTest.testBasicMultiModuleBuild() line 15 - More details - Source on GitHub

io.quarkus.gradle.MultiSourceProjectTest.shouldRunTest() line 16 - More details - Source on GitHub

io.quarkus.gradle.devmode.MultiModuleKotlinProjectDevModeTest.main() line 22 - More details - Source on GitHub

@famod
Copy link
Member

famod commented May 10, 2021

Something must be wrong with my comment #17102 (comment) because you keep missing it. 😉

Btw, you sould rebase on main to receive that Gradle Kotlin test failures fix from your other PR.

@@ -57,7 +57,6 @@ public void testRunTogetherCodestartsJava() throws Exception {
}

@Test
@org.junit.jupiter.api.Tag("failsOnJDK16")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this will work just yet. We need Kotlin 1.5 to make this pass.

@@ -91,7 +88,6 @@ public void testRunAloneCodestartsJava(String codestart) throws Exception {

@ParameterizedTest
@MethodSource("provideRunAloneCodestarts")
@org.junit.jupiter.api.Tag("failsOnJDK16")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

public void testGradle(String language) throws Exception {
final List<String> codestarts = getExtensionCodestarts();
generateProjectRunTests("gradle", language, codestarts, Collections.emptyMap());
}

@ParameterizedTest
@MethodSource("provideLanguages")
@org.junit.jupiter.api.Tag("failsOnJDK16")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably needs Kotlin 1.5 as well.

@famod
Copy link
Member

famod commented May 10, 2021

@glefloch I'm sorry for all those iterations, but it is all intermingled (Gradle, Kotlin etc.), hence a bit complex.

@glefloch
Copy link
Member Author

@famod no problem ;) I should be good now.

@famod
Copy link
Member

famod commented May 10, 2021

I'm afraid this is not complete yet (have you really pushed your latest changes?):

  • Still not covered: Upgrade to Gradle 7.2 and enable Gradle modules on JDK EA build #17102 (comment)
    When I build devtools/gradle locally on Java 16 then QuarkusPluginTest.shouldMakeQuarkusDevAndQuarkusBuildDependOnClassesTask() fails with:
    org.gradle.api.GradleException: Could not inject synthetic classes.
    	at org.gradle.initialization.DefaultLegacyTypesSupport.injectEmptyInterfacesIntoClassLoader(DefaultLegacyTypesSupport.java:91)
    	at org.gradle.testfixtures.internal.ProjectBuilderImpl.getGlobalServices(ProjectBuilderImpl.java:183)
    	at org.gradle.testfixtures.internal.ProjectBuilderImpl.createProject(ProjectBuilderImpl.java:111)
    	at org.gradle.testfixtures.ProjectBuilder.build(ProjectBuilder.java:120)
    	at io.quarkus.gradle.QuarkusPluginTest.shouldMakeQuarkusDevAndQuarkusBuildDependOnClassesTask(QuarkusPluginTest.java:50)
    	[...]
    Caused by: java.lang.RuntimeException: java.lang.IllegalAccessException: module java.base does not open java.lang to unnamed module @2a79781f
    	at org.gradle.internal.classloader.ClassLoaderUtils$AbstractClassLoaderLookuper.invoke(ClassLoaderUtils.java:150)
    	at org.gradle.internal.classloader.ClassLoaderUtils$LookupClassDefiner.defineClass(ClassLoaderUtils.java:206)
    	at org.gradle.internal.classloader.ClassLoaderUtils.define(ClassLoaderUtils.java:77)
    	at org.gradle.initialization.DefaultLegacyTypesSupport.injectEmptyInterfacesIntoClassLoader(DefaultLegacyTypesSupport.java:88)
    	... 94 more
    Caused by: java.lang.IllegalAccessException: module java.base does not open java.lang to unnamed module @2a79781f
    	at java.base/java.lang.invoke.MethodHandles.privateLookupIn(MethodHandles.java:260)
    	at org.gradle.internal.classloader.ClassLoaderUtils$AbstractClassLoaderLookuper.getLookupForClassLoader(ClassLoaderUtils.java:159)
    	at org.gradle.internal.classloader.ClassLoaderUtils$AbstractClassLoaderLookuper.invoke(ClassLoaderUtils.java:146)
    	... 97 more
    
  • All the tests I commented regarding " Kotlin 1.5" have to stay tagged because we do not have Kotlin 1.5 yet! To make this clear: there are two problems in those tests: Gradle 6 and Kotlin 1.4 not being fully Java 16 compatible.
  • CliTest.testGradleAddListRemove() and .testGradleBuild() both fail in CI with compilation errors:
    Unsupported class file major version 60
    

TBH, it doesn't look like the Gradle 6.9 update changed that much in terms of Java 16 compatibility.
https://docs.gradle.org/6.9/release-notes.html

Limited support for Java 16

This release does not support running Gradle with JDK 16, but you can use Java toolchains to request Java 16 and compile your project.

@quarkus-bot
Copy link

quarkus-bot bot commented May 10, 2021

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

Failing Jobs - Building a672589

Status Name Step Test failures Logs Raw logs
✔️ JVM Tests - JDK 11
JVM Tests - JDK 11 Windows Build ⚠️ Check → Logs Raw logs
JVM Tests - JDK 16 Build Test failures Logs Raw logs

Full information is available in the Build summary check run.

Test Failures

⚙️ JVM Tests - JDK 16 #

📦 devtools/cli

io.quarkus.cli.CliTest.testGradleAddListRemove line 182 - More details - Source on GitHub

io.quarkus.cli.CliTest.testGradleBuild line 314 - More details - Source on GitHub

@glefloch
Copy link
Member Author

Hmm not sure how we can handle this, the project are generated using codestart. But I'm not sure the codestart target has been updated to use gradle 6.9. I will have a look.

@famod
Copy link
Member

famod commented Jul 1, 2021

@glefloch any news on this one?

@glefloch
Copy link
Member Author

glefloch commented Jul 5, 2021

I have been in a rush for last few weeks, I should have time to look down to it this week.

@famod
Copy link
Member

famod commented Jul 5, 2021

Cool! No stress, just wanted to prevent this from falling through the cracks.

@quarkus-bot
Copy link

quarkus-bot bot commented Jul 26, 2021

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

Failing Jobs - Building e87b61a

Status Name Step Test failures Logs Raw logs
Gradle Tests - JDK 11 Build Test failures Logs Raw logs
Gradle Tests - JDK 11 Windows Build Test failures Logs Raw logs
Native Tests - Messaging1 Download Maven Repo ⚠️ Check → Logs Raw logs

Full information is available in the Build summary check run.

Test Failures

⚙️ Gradle Tests - JDK 11 #

📦 integration-tests/gradle

io.quarkus.gradle.AdditionalSourceSetsTest.executeFunctionalTest() line 21 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: Failed to run tests defined in an alternate test sources directory ==> expected: <SUCCESS> but was: <null>
	at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
	at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1135)
	at io.quarkus.gradle.AdditionalSourceSetsTest.executeFunctionalTest(AdditionalSourceSetsTest.java:21)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org....

io.quarkus.gradle.ConditionalDependenciesTest.shouldImportConditionalDependency() line 77 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  /home/runner/work/quarkus/quarkus/integration-tests/gradle/build/resources/test/conditional-test-project/runner/build/quarkus-app/lib/main/org.acme.ext-a-1.0-SNAPSHOT.jar
to exist (symbolic links were followed).
	at io.quarkus.gradle.ConditionalDependenciesTest.shouldImportConditionalDependency(ConditionalDependenciesTest.java:77)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvoca...

io.quarkus.gradle.ConditionalDependenciesTest.shouldNotImportConditionalDependency() line 98 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  /home/runner/work/quarkus/quarkus/integration-tests/gradle/build/resources/test/conditional-test-project/runner-with-exclude/build/quarkus-app/lib/main/org.acme.ext-a-1.0-SNAPSHOT.jar
to exist (symbolic links were followed).
	at io.quarkus.gradle.ConditionalDependenciesTest.shouldNotImportConditionalDependency(ConditionalDependenciesTest.java:98)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$...

io.quarkus.gradle.ConditionalDependenciesTest.shouldNotFailIfConditionalDependencyIsExplicitlyDeclared() line 116 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  /home/runner/work/quarkus/quarkus/integration-tests/gradle/build/resources/test/conditional-test-project/runner-with-explicit-import/build/quarkus-app/lib/main/org.acme.ext-a-1.0-SNAPSHOT.jar
to exist (symbolic links were followed).
	at io.quarkus.gradle.ConditionalDependenciesTest.shouldNotFailIfConditionalDependencyIsExplicitlyDeclared(ConditionalDependenciesTest.java:116)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.executio...

io.quarkus.gradle.ConditionalDependenciesTest.scenarioTwo() line 139 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  /home/runner/work/quarkus/quarkus/integration-tests/gradle/build/resources/test/conditional-test-project/scenario-two/build/quarkus-app/lib/main/org.acme.ext-f-1.0-SNAPSHOT.jar
to exist (symbolic links were followed).
	at io.quarkus.gradle.ConditionalDependenciesTest.scenarioTwo(ConditionalDependenciesTest.java:139)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(In...

io.quarkus.gradle.TestResourcesInBuildStepsTest.testBasicMultiModuleBuild() line 24 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  /home/runner/work/quarkus/quarkus/integration-tests/gradle/build/resources/test/test-resources-in-build-steps/application/build/quarkus-app/lib/main
to exist (symbolic links were followed).
	at io.quarkus.gradle.TestResourcesInBuildStepsTest.testBasicMultiModuleBuild(TestResourcesInBuildStepsTest.java:24)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInt...

io.quarkus.gradle.devmode.ResourcesInBuildStepsDevModeTest.main() line 29 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting actual:"BROKEN: quarkusDev mode has terminated"
to contain:
  "homepage" 
	at io.quarkus.gradle.devmode.ResourcesInBuildStepsDevModeTest.testDevMode(ResourcesInBuildStepsDevModeTest.java:29)
	at io.quarkus.gradle.devmode.QuarkusDevGradleTestBase.main(QuarkusDevGradleTestBase.java:52)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at or...

⚙️ Gradle Tests - JDK 11 Windows #

📦 integration-tests/gradle

io.quarkus.gradle.AdditionalSourceSetsTest.executeFunctionalTest() line 21 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: Failed to run tests defined in an alternate test sources directory ==> expected: <SUCCESS> but was: <null>
	at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
	at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1135)
	at io.quarkus.gradle.AdditionalSourceSetsTest.executeFunctionalTest(AdditionalSourceSetsTest.java:21)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org....

io.quarkus.gradle.ConditionalDependenciesTest.shouldImportConditionalDependency() line 77 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  D:\a\quarkus\quarkus\integration-tests\gradle\build\resources\test\conditional-test-project\runner\build\quarkus-app\lib\main\org.acme.ext-a-1.0-SNAPSHOT.jar
to exist (symbolic links were followed).
	at io.quarkus.gradle.ConditionalDependenciesTest.shouldImportConditionalDependency(ConditionalDependenciesTest.java:77)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(...

io.quarkus.gradle.ConditionalDependenciesTest.shouldNotImportConditionalDependency() line 98 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  D:\a\quarkus\quarkus\integration-tests\gradle\build\resources\test\conditional-test-project\runner-with-exclude\build\quarkus-app\lib\main\org.acme.ext-a-1.0-SNAPSHOT.jar
to exist (symbolic links were followed).
	at io.quarkus.gradle.ConditionalDependenciesTest.shouldNotImportConditionalDependency(ConditionalDependenciesTest.java:98)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInv...

io.quarkus.gradle.ConditionalDependenciesTest.shouldNotFailIfConditionalDependencyIsExplicitlyDeclared() line 116 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  D:\a\quarkus\quarkus\integration-tests\gradle\build\resources\test\conditional-test-project\runner-with-explicit-import\build\quarkus-app\lib\main\org.acme.ext-a-1.0-SNAPSHOT.jar
to exist (symbolic links were followed).
	at io.quarkus.gradle.ConditionalDependenciesTest.shouldNotFailIfConditionalDependencyIsExplicitlyDeclared(ConditionalDependenciesTest.java:116)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationI...

io.quarkus.gradle.ConditionalDependenciesTest.scenarioTwo() line 139 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  D:\a\quarkus\quarkus\integration-tests\gradle\build\resources\test\conditional-test-project\scenario-two\build\quarkus-app\lib\main\org.acme.ext-f-1.0-SNAPSHOT.jar
to exist (symbolic links were followed).
	at io.quarkus.gradle.ConditionalDependenciesTest.scenarioTwo(ConditionalDependenciesTest.java:139)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInter...

io.quarkus.gradle.TestResourcesInBuildStepsTest.testBasicMultiModuleBuild() line 24 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  D:\a\quarkus\quarkus\integration-tests\gradle\build\resources\test\test-resources-in-build-steps\application\build\quarkus-app\lib\main
to exist (symbolic links were followed).
	at io.quarkus.gradle.TestResourcesInBuildStepsTest.testBasicMultiModuleBuild(TestResourcesInBuildStepsTest.java:24)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain...

io.quarkus.gradle.devmode.ResourcesInBuildStepsDevModeTest.main() line 29 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting actual:"BROKEN: quarkusDev mode has terminated"
to contain:
  "homepage" 
	at io.quarkus.gradle.devmode.ResourcesInBuildStepsDevModeTest.testDevMode(ResourcesInBuildStepsDevModeTest.java:29)
	at io.quarkus.gradle.devmode.QuarkusDevGradleTestBase.main(QuarkusDevGradleTestBase.java:52)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at or...

@quarkus-bot
Copy link

quarkus-bot bot commented Jul 26, 2021

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

Failing Jobs - Building e87b61a

Status Name Step Test failures Logs Raw logs
Gradle Tests - JDK 11 Build Test failures Logs Raw logs
Gradle Tests - JDK 11 Windows Build Test failures Logs Raw logs
✔️ JVM Tests - JDK 11
JVM Tests - JDK 16 Download Maven Repo ⚠️ Check → Logs Raw logs

Full information is available in the Build summary check run.

Test Failures

⚙️ Gradle Tests - JDK 11 #

📦 integration-tests/gradle

io.quarkus.gradle.AdditionalSourceSetsTest.executeFunctionalTest() line 21 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: Failed to run tests defined in an alternate test sources directory ==> expected: <SUCCESS> but was: <null>
	at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
	at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1135)
	at io.quarkus.gradle.AdditionalSourceSetsTest.executeFunctionalTest(AdditionalSourceSetsTest.java:21)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org....

io.quarkus.gradle.ConditionalDependenciesTest.shouldImportConditionalDependency() line 77 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  /home/runner/work/quarkus/quarkus/integration-tests/gradle/build/resources/test/conditional-test-project/runner/build/quarkus-app/lib/main/org.acme.ext-a-1.0-SNAPSHOT.jar
to exist (symbolic links were followed).
	at io.quarkus.gradle.ConditionalDependenciesTest.shouldImportConditionalDependency(ConditionalDependenciesTest.java:77)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvoca...

io.quarkus.gradle.ConditionalDependenciesTest.shouldNotImportConditionalDependency() line 98 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  /home/runner/work/quarkus/quarkus/integration-tests/gradle/build/resources/test/conditional-test-project/runner-with-exclude/build/quarkus-app/lib/main/org.acme.ext-a-1.0-SNAPSHOT.jar
to exist (symbolic links were followed).
	at io.quarkus.gradle.ConditionalDependenciesTest.shouldNotImportConditionalDependency(ConditionalDependenciesTest.java:98)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$...

io.quarkus.gradle.ConditionalDependenciesTest.shouldNotFailIfConditionalDependencyIsExplicitlyDeclared() line 116 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  /home/runner/work/quarkus/quarkus/integration-tests/gradle/build/resources/test/conditional-test-project/runner-with-explicit-import/build/quarkus-app/lib/main/org.acme.ext-a-1.0-SNAPSHOT.jar
to exist (symbolic links were followed).
	at io.quarkus.gradle.ConditionalDependenciesTest.shouldNotFailIfConditionalDependencyIsExplicitlyDeclared(ConditionalDependenciesTest.java:116)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.executio...

io.quarkus.gradle.ConditionalDependenciesTest.scenarioTwo() line 139 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  /home/runner/work/quarkus/quarkus/integration-tests/gradle/build/resources/test/conditional-test-project/scenario-two/build/quarkus-app/lib/main/org.acme.ext-f-1.0-SNAPSHOT.jar
to exist (symbolic links were followed).
	at io.quarkus.gradle.ConditionalDependenciesTest.scenarioTwo(ConditionalDependenciesTest.java:139)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(In...

io.quarkus.gradle.TestResourcesInBuildStepsTest.testBasicMultiModuleBuild() line 24 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  /home/runner/work/quarkus/quarkus/integration-tests/gradle/build/resources/test/test-resources-in-build-steps/application/build/quarkus-app/lib/main
to exist (symbolic links were followed).
	at io.quarkus.gradle.TestResourcesInBuildStepsTest.testBasicMultiModuleBuild(TestResourcesInBuildStepsTest.java:24)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInt...

io.quarkus.gradle.devmode.ResourcesInBuildStepsDevModeTest.main() line 29 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting actual:"BROKEN: quarkusDev mode has terminated"
to contain:
  "homepage" 
	at io.quarkus.gradle.devmode.ResourcesInBuildStepsDevModeTest.testDevMode(ResourcesInBuildStepsDevModeTest.java:29)
	at io.quarkus.gradle.devmode.QuarkusDevGradleTestBase.main(QuarkusDevGradleTestBase.java:52)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at or...

⚙️ Gradle Tests - JDK 11 Windows #

📦 integration-tests/gradle

io.quarkus.gradle.AdditionalSourceSetsTest.executeFunctionalTest() line 21 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: Failed to run tests defined in an alternate test sources directory ==> expected: <SUCCESS> but was: <null>
	at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
	at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1135)
	at io.quarkus.gradle.AdditionalSourceSetsTest.executeFunctionalTest(AdditionalSourceSetsTest.java:21)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org....

io.quarkus.gradle.ConditionalDependenciesTest.shouldImportConditionalDependency() line 77 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  D:\a\quarkus\quarkus\integration-tests\gradle\build\resources\test\conditional-test-project\runner\build\quarkus-app\lib\main\org.acme.ext-a-1.0-SNAPSHOT.jar
to exist (symbolic links were followed).
	at io.quarkus.gradle.ConditionalDependenciesTest.shouldImportConditionalDependency(ConditionalDependenciesTest.java:77)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(...

io.quarkus.gradle.ConditionalDependenciesTest.shouldNotImportConditionalDependency() line 98 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  D:\a\quarkus\quarkus\integration-tests\gradle\build\resources\test\conditional-test-project\runner-with-exclude\build\quarkus-app\lib\main\org.acme.ext-a-1.0-SNAPSHOT.jar
to exist (symbolic links were followed).
	at io.quarkus.gradle.ConditionalDependenciesTest.shouldNotImportConditionalDependency(ConditionalDependenciesTest.java:98)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInv...

io.quarkus.gradle.ConditionalDependenciesTest.shouldNotFailIfConditionalDependencyIsExplicitlyDeclared() line 116 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  D:\a\quarkus\quarkus\integration-tests\gradle\build\resources\test\conditional-test-project\runner-with-explicit-import\build\quarkus-app\lib\main\org.acme.ext-a-1.0-SNAPSHOT.jar
to exist (symbolic links were followed).
	at io.quarkus.gradle.ConditionalDependenciesTest.shouldNotFailIfConditionalDependencyIsExplicitlyDeclared(ConditionalDependenciesTest.java:116)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationI...

io.quarkus.gradle.ConditionalDependenciesTest.scenarioTwo() line 139 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  D:\a\quarkus\quarkus\integration-tests\gradle\build\resources\test\conditional-test-project\scenario-two\build\quarkus-app\lib\main\org.acme.ext-f-1.0-SNAPSHOT.jar
to exist (symbolic links were followed).
	at io.quarkus.gradle.ConditionalDependenciesTest.scenarioTwo(ConditionalDependenciesTest.java:139)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInter...

io.quarkus.gradle.TestResourcesInBuildStepsTest.testBasicMultiModuleBuild() line 24 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting path:
  D:\a\quarkus\quarkus\integration-tests\gradle\build\resources\test\test-resources-in-build-steps\application\build\quarkus-app\lib\main
to exist (symbolic links were followed).
	at io.quarkus.gradle.TestResourcesInBuildStepsTest.testBasicMultiModuleBuild(TestResourcesInBuildStepsTest.java:24)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain...

io.quarkus.gradle.devmode.ResourcesInBuildStepsDevModeTest.main() line 29 - More details - Source on GitHub

java.lang.AssertionError: 
Expecting actual:"BROKEN: quarkusDev mode has terminated"
to contain:
  "homepage" 
	at io.quarkus.gradle.devmode.ResourcesInBuildStepsDevModeTest.testDevMode(ResourcesInBuildStepsDevModeTest.java:29)
	at io.quarkus.gradle.devmode.QuarkusDevGradleTestBase.main(QuarkusDevGradleTestBase.java:52)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at or...

Copy link
Member

@famod famod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great to see this coming to an end! 👍

AFAICS, the only thing left (apart from that on disabled test I mentioned previously) is to remove -pl '!devtools/gradle' here: https://github.com/quarkusio/quarkus/blob/main/.github/workflows/ci-actions-incremental.yml#L253

@glefloch
Copy link
Member Author

Right @famod, I enabled the cli test and the ci-actions-incremental job. Let's wait for CI :)

@glefloch glefloch added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Aug 19, 2021
Copy link
Member

@famod famod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@gsmet gsmet changed the title Enable gradle modules on JDK 16 build Upgrade to Gradle 7 and enable Gradle modules on JDK EA build Aug 19, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Aug 19, 2021

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

Failing Jobs - Building 01a7ab2

Status Name Step Test failures Logs Raw logs
Initial JDK 11 Build Build ⚠️ Check → Logs Raw logs

@famod
Copy link
Member

famod commented Aug 19, 2021

@glefloch CI says:

Imports are not sorted in /home/runner/work/quarkus/quarkus/devtools/cli/src/test/java/io/quarkus/cli/CliProjectGradleTest.java

@glefloch glefloch force-pushed the fix/17081 branch 2 times, most recently from b3e9347 to 9d5853d Compare August 19, 2021 12:04
@famod
Copy link
Member

famod commented Aug 19, 2021

@glefloch one test of CliProjectGradleTest failed on Windows, but on JDK 11, not 16!

Since this hasn't happend here before and since it seems to pass on main, I think it's a flaky test?

@quarkus-bot
Copy link

quarkus-bot bot commented Aug 19, 2021

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

Failing Jobs - Building 9d5853d

Status Name Step Test failures Logs Raw logs
✔️ JVM Tests - JDK 11
JVM Tests - JDK 11 Windows Build Test failures Logs Raw logs
✔️ JVM Tests - JDK 16
MicroProfile TCKs Tests Verify Test failures Logs Raw logs
Native Tests - Misc1 Download Maven Repo ⚠️ Check → Logs Raw logs

Full information is available in the Build summary check run.

Test Failures

⚙️ JVM Tests - JDK 11 Windows #

📦 devtools/cli

io.quarkus.cli.CliProjectGradleTest.testCreateAppOverrides line 46 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <false> but was: <true>
	at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
	at org.junit.jupiter.api.AssertFalse.assertFalse(AssertFalse.java:40)
	at org.junit.jupiter.api.AssertFalse.assertFalse(AssertFalse.java:35)
	at org.junit.jupiter.api.Assertions.assertFalse(Assertions.java:210)
	at io.quarkus.cli.CliDriver.deleteDir(CliDriver.java:142)
	at io.quarkus.cli.CliProjectGradleTest.setupTestDirectories(CliProjectGradleTest.java:46)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodIn...

⚙️ MicroProfile TCKs Tests #

📦 tcks/microprofile-fault-tolerance

org.eclipse.microprofile.fault.tolerance.tck.TimeoutUninterruptableTest.testTimeoutAsyncBulkhead line 190 - More details - Source on GitHub

java.lang.AssertionError: Unexpected exception thrown from Future
	at org.testng.Assert.fail(Assert.java:85)
	at org.eclipse.microprofile.fault.tolerance.tck.util.Exceptions.expect(Exceptions.java:98)
	at org.eclipse.microprofile.fault.tolerance.tck.TimeoutUninterruptableTest.testTimeoutAsyncBulkhead(TimeoutUninterruptableTest.java:190)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at io.quarkus.arquillian.QuarkusProtocol$QuarkusMethodExecutor$1.invoke(QuarkusProtocol.java:87)
	at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:57)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base...

@famod
Copy link
Member

famod commented Aug 19, 2021

  • MicroProfile TCKs Tests failure is not related
  • Native Tests - Misc1 had a general problem with the Maven cache and I don't see a module of relevance in "test-modules": "maven, jackson, jsonb, jsch, jgit, quartz, qute, consul-config, logging-min-level-unset, logging-min-level-set, simple with space"

I have a CI run in progress in my fork that also incorporates this change and if that run does not have the same CliProjectGradleTest failure then I'll just go ahead and merge this (in 30 mins or so).

@famod
Copy link
Member

famod commented Aug 19, 2021

@glefloch Too bad, it failed in my fork as well. 😞

Looking at the trace, I'd bet it's a "some process is still locking files" windows problem:

org.opentest4j.AssertionFailedError: expected: <false> but was: <true>
	at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
	at org.junit.jupiter.api.AssertFalse.assertFalse(AssertFalse.java:40)
	at org.junit.jupiter.api.AssertFalse.assertFalse(AssertFalse.java:35)
	at org.junit.jupiter.api.Assertions.assertFalse(Assertions.java:210)
	at io.quarkus.cli.CliDriver.deleteDir(CliDriver.java:142)
	at io.quarkus.cli.CliProjectGradleTest.setupTestDirectories(CliProjectGradleTest.java:46)

@famod
Copy link
Member

famod commented Aug 19, 2021

Hm, I cannot reproduce that test failure on my windows box. I'll push an update to Gradle 7.2 and see how it goes...

@famod famod changed the title Upgrade to Gradle 7 and enable Gradle modules on JDK EA build Upgrade to Gradle 7.2 and enable Gradle modules on JDK EA build Aug 19, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Aug 20, 2021

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

Failing Jobs - Building 0d1098f

Status Name Step Test failures Logs Raw logs
JVM Tests - JDK 11 Build Test failures Logs Raw logs
JVM Tests - JDK 11 Windows Build Test failures Logs Raw logs
✔️ JVM Tests - JDK 16

Full information is available in the Build summary check run.

Test Failures

⚙️ JVM Tests - JDK 11 #

📦 extensions/smallrye-reactive-messaging-kafka/deployment

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

org.opentest4j.AssertionFailedError: expected: <1> but was: <0>
	at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
	at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:166)
	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:161)
	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:611)
	at io.quarkus.smallrye.reactivemessaging.kafka.deployment.testing.KafkaDevServicesContinuousTestingTestCase.testContinuousTestingScenario1(KafkaDevServicesContinuousTestingTestCase.java:64)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.pla...

⚙️ JVM Tests - JDK 11 Windows #

📦 devtools/cli

io.quarkus.cli.CliProjectGradleTest.testCreateAppOverrides line 46 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <false> but was: <true>
	at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
	at org.junit.jupiter.api.AssertFalse.assertFalse(AssertFalse.java:40)
	at org.junit.jupiter.api.AssertFalse.assertFalse(AssertFalse.java:35)
	at org.junit.jupiter.api.Assertions.assertFalse(Assertions.java:210)
	at io.quarkus.cli.CliDriver.deleteDir(CliDriver.java:142)
	at io.quarkus.cli.CliProjectGradleTest.setupTestDirectories(CliProjectGradleTest.java:46)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
	at org.junit.jupiter.engine.execution.MethodIn...

@famod
Copy link
Member

famod commented Aug 20, 2021

CliProjectGradleTest failed again on Windows. 😒

@glefloch
Copy link
Member Author

Yes, I think this is due to the daemon locking the directory. I will look if we can delete the projet after all tests.

@famod
Copy link
Member

famod commented Aug 20, 2021

Yay, all green! 🎉

@famod famod merged commit 19e3ba8 into quarkusio:main Aug 20, 2021
@quarkus-bot quarkus-bot bot removed the triage/waiting-for-ci Ready to merge when CI successfully finishes label Aug 20, 2021
@quarkus-bot quarkus-bot bot added this to the 2.3 - main milestone Aug 20, 2021
@glefloch glefloch deleted the fix/17081 branch August 20, 2021 12:44
@gsmet
Copy link
Member

gsmet commented Aug 24, 2021

This won't be backported for now and will be part of 2.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Related to quarkus cli (not maven/gradle/etc.) area/dependencies Pull requests that update a dependency file area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/documentation area/gradle Gradle area/infra-automation anything related to CI, bots, etc. that are used to automated our infrastructure area/platform Issues related to definition and interaction with Quarkus Platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade Gradle wrapper to 7.0 or greater Enable Gradle modules and tests on JDK 16+
5 participants