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

Bootstrap API refactoring #20500

Merged
merged 2 commits into from
Oct 6, 2021

Conversation

aloubyansky
Copy link
Member

This PR introduces a common Quarkus application model and workspace API that are supposed to be used for all the supported build systems (e.g. Maven, Gradle, JBang, etc).
I still plan to evolve the representation of the workspace module sources but I was thinking I'd open this PR now for review, since it's already a huge change.
It also reduces the number of workspace and application model resolutions for the dev mode. I am looking into getting it down to a single app model initialization in a different branch.

@aloubyansky aloubyansky changed the title Bootstrap artifact api Bootstrap API refactoring Oct 1, 2021
@aloubyansky aloubyansky requested a review from glefloch October 1, 2021 12:04
@quarkus-bot quarkus-bot bot added area/arc Issue related to ARC (dependency injection) area/core area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/gradle Gradle area/graphql area/grpc gRPC area/health area/jbang Issues related to when using jbang.dev with Quarkus area/maven area/platform Issues related to definition and interaction with Quarkus Platform area/qute The template engine area/smallrye area/swagger-ui area/testing area/undertow area/vertx labels Oct 1, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Oct 1, 2021

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

Failing Jobs - Building 9be6a31

Status Name Step Failures Logs Raw logs
MicroProfile TCKs Tests Verify Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

⚙️ MicroProfile TCKs Tests #

- Failing: tcks/microprofile-fault-tolerance 

📦 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)

Copy link
Member

@glefloch glefloch left a comment

Choose a reason for hiding this comment

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

Nice work! That will definitely ease application model usage. I left few comments.


}

@Override
public Path resolve(AppArtifact appArtifact) throws AppModelResolverException {
return resolveArtifact(appArtifact).getPaths().getSinglePath();
public io.quarkus.maven.dependency.ResolvedDependency resolve(ArtifactCoords appArtifact) throws AppModelResolverException {
Copy link
Member

Choose a reason for hiding this comment

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

I think those imports can be global in the file

Copy link
Member Author

Choose a reason for hiding this comment

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

Right, now the class/interface names don't conflict with the Gradle API, adding the imports instead.

@@ -249,7 +238,8 @@ private File getLastFile(FileCollection fileCollection) {
* @return the source sets associated with the current project.
*/
private SourceSetContainer getSourceSets() {
return project.getConvention().getPlugin(JavaPluginConvention.class).getSourceSets();
final JavaPluginExtension javaExtension = project.getExtensions().findByType(JavaPluginExtension.class);
Copy link
Member

Choose a reason for hiding this comment

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

This method has been introduce in gradle 7.1, as they also deprecate convention in that version, I think we can stick with convention for now as gradle 7.1 is quite recent

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, changing back to the convention, thanks!


default Collection<WorkspaceModule> getWorkspaceModules() {
final List<WorkspaceModule> modules = new ArrayList<>();
//ProjectModule module = getApplicationModule();
Copy link
Member

Choose a reason for hiding this comment

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

Should we keep this commented block of code?

Copy link
Member Author

Choose a reason for hiding this comment

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

Originally I left it as a reminder to myself to review why we don't add the application module to the complete list of locally available dependencies. But it's not a big deal. I'll remove it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Originally I left it as a reminder to myself to review why we don't add the application module to the complete list of locally available dependencies. But it's not a big deal. I'll remove it.

AppArtifact appArtifact = new AppArtifact("dev.jbang.user", "quarkus", null, "jar", "999-SNAPSHOT");
appArtifact.setPath(appClasses);
final ResolvedArtifactDependency appArtifact = new ResolvedArtifactDependency("dev.jbang.user", "quarkus", null,
"jar", "999-SNAPSHOT", appClasses);
Copy link
Member

Choose a reason for hiding this comment

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

It was present before your modification but should we get rid of the hard coded version?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's not important what this version actually is. I'll leave it for now.

@aloubyansky aloubyansky force-pushed the bootstrap-artifact-api branch from 9be6a31 to 964727a Compare October 2, 2021 14:27
Serialize the ApplicationModel in DevMojo to avoid re-resolving it in the dev process
@quarkus-bot
Copy link

quarkus-bot bot commented Oct 2, 2021

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

Failing Jobs - Building 964727a

Status Name Step Failures Logs Raw logs
Devtools Tests - JDK 11 Build Failures Logs Raw logs
Devtools Tests - JDK 11 Windows Build Failures Logs Raw logs
Gradle Tests - JDK 11 Build Failures Logs Raw logs
Gradle Tests - JDK 11 Windows Build Failures Logs Raw logs
JVM Tests - JDK 11 Build ⚠️ Check → Logs Raw logs
JVM Tests - JDK 11 Windows Build Failures Logs Raw logs
JVM Tests - JDK 17 Build ⚠️ Check → Logs Raw logs
Native Tests - Misc4 Build Failures Logs Raw logs

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

Failures

⚙️ Devtools Tests - JDK 11 #

- Failing: integration-tests/devtools 

📦 integration-tests/devtools

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradle(String)[1] line 77 - Source on GitHub

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

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradle(String)[3] line 77 - Source on GitHub

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradleKotlinDSL(String)[1] line 84 - Source on GitHub

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradleKotlinDSL(String)[2] line 84 - Source on GitHub

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradleKotlinDSL(String)[3] line 84 - Source on GitHub

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradle(String)[1] line 77 - Source on GitHub

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

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradle(String)[3] line 77 - Source on GitHub

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradleKotlinDSL(String)[1] line 84 - Source on GitHub

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradleKotlinDSL(String)[2] line 84 - Source on GitHub

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradleKotlinDSL(String)[3] line 84 - Source on GitHub


⚙️ Devtools Tests - JDK 11 Windows #

- Failing: integration-tests/devtools 

📦 integration-tests/devtools

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradle(String)[1] line 77 - Source on GitHub

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

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradle(String)[3] line 77 - Source on GitHub

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradleKotlinDSL(String)[1] line 84 - Source on GitHub

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradleKotlinDSL(String)[2] line 84 - Source on GitHub

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradleKotlinDSL(String)[3] line 84 - Source on GitHub

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradle(String)[1] line 77 - Source on GitHub

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

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradle(String)[3] line 77 - Source on GitHub

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradleKotlinDSL(String)[1] line 84 - Source on GitHub

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradleKotlinDSL(String)[2] line 84 - Source on GitHub

io.quarkus.devtools.codestarts.quarkus.QuarkusCodestartBuildIT.testGradleKotlinDSL(String)[3] line 84 - Source on GitHub


⚙️ Gradle Tests - JDK 11 #

- Failing: integration-tests/gradle 

📦 integration-tests/gradle

io.quarkus.gradle.AddExtensionToModuleInMultiModuleKtsProjectTest.testBasicMultiModuleBuild line 38 - Source on GitHub

io.quarkus.gradle.AddExtensionToModuleInMultiModuleProjectTest.testBasicMultiModuleBuild line 33 - Source on GitHub

io.quarkus.gradle.AddExtensionToSingleModuleKtsProjectTest.testRemoveNonExistentExtension line 43 - Source on GitHub

io.quarkus.gradle.AddExtensionToSingleModuleKtsProjectTest.testAddAndRemoveExtension line 32 - Source on GitHub

io.quarkus.gradle.AddExtensionToSingleModuleProjectTest.testRemoveNonExistentExtension line 40 - Source on GitHub

io.quarkus.gradle.AddExtensionToSingleModuleProjectTest.testAddAndRemoveExtension line 30 - Source on GitHub

io.quarkus.gradle.AdditionalSourceSetsTest.executeFunctionalTest line 21 - Source on GitHub

io.quarkus.gradle.BasicJavaLibraryModuleTest.testBasicMultiModuleBuild line 20 - Source on GitHub

io.quarkus.gradle.BasicJavaPlatformModuleTest.testBasicPlatformModuleBuild line 20 - Source on GitHub

io.quarkus.gradle.BasicMultiModuleQuarkusBuildTest.testBasicMultiModuleBuild line 20 - Source on GitHub

io.quarkus.gradle.BeanInTestSourcesTest.testBasicMultiModuleBuild line 15 - Source on GitHub

io.quarkus.gradle.ConditionalDependenciesTest.shouldImportConditionalDependency line 80 - Source on GitHub

io.quarkus.gradle.ConditionalDependenciesTest.shouldNotImportConditionalDependency line 102 - Source on GitHub

io.quarkus.gradle.ConditionalDependenciesTest.shouldNotFailIfConditionalDependencyIsExplicitlyDeclared line 120 - Source on GitHub

io.quarkus.gradle.ConditionalDependenciesTest.scenarioTwo line 143 - Source on GitHub

io.quarkus.gradle.CustomFileSystemProviderTest.test line 17 - Source on GitHub

io.quarkus.gradle.DependencyConstraintsTest.shoudBuildProjectWithDependencyConstraint line 18 - Source on GitHub

io.quarkus.gradle.DependencyResolutionTest.shouldResolveDependencyVersionFromSuperConfigurationProject line 19 - Source on GitHub

io.quarkus.gradle.FastJarFormatWorksTest.testFastJarFormatWorks line 30 - Source on GitHub

io.quarkus.gradle.GrpcMultiModuleQuarkusBuildTest.testProtocErrorOutput line 39 - Source on GitHub

io.quarkus.gradle.GrpcMultiModuleQuarkusBuildTest.testGrpcMultiModuleBuild line 22 - Source on GitHub

io.quarkus.gradle.ImplementationFilesQuarkusBuildTest.test line 28 - Source on GitHub

io.quarkus.gradle.InjectBeanFromTestConfigTest.testBasicMultiModuleBuild line 17 - Source on GitHub

io.quarkus.gradle.KotlinGRPCProjectBuildTest.testBasicMultiModuleBuild line 15 - Source on GitHub

io.quarkus.gradle.LegacyJarFormatWorksTest.testLegacyJarFormatWorks line 31 - Source on GitHub

io.quarkus.gradle.MultiModuleKotlinProjectBuildTest.testBasicMultiModuleBuild line 15 - Source on GitHub

io.quarkus.gradle.MultiModuleUberJarTest.testUberJarForMultiModule line 29 - Source on GitHub

io.quarkus.gradle.MultiSourceProjectTest.shouldRunTest line 16 - Source on GitHub

io.quarkus.gradle.MutableJarFormatBootsInDevModeTest.testFastJarFormatWorks line 31 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canDetectClasspathChangeWhenBuilding line 104 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canDetectUpToDateBuild line 64 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canDetectUpToDateTests line 133 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canDetectSystemPropertyChangeWhenBuilding line 146 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canBuild(SourceType)[1] line 51 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canBuild(SourceType)[2] line 51 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canBuild(SourceType)[3] line 51 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canRunTest line 161 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canDetectResourceChangeWhenBuilding line 75 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canDetectClassChangeWhenBuilding line 89 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canDetectOutputChangeWhenBuilding line 117 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canGenerateConfig line 40 - Source on GitHub

io.quarkus.gradle.SpringDependencyManagementTest.testQuarkusBuildShouldWorkWithSpringDependencyManagement line 20 - Source on GitHub

io.quarkus.gradle.TestFixtureModuleTest.testTaskShouldUseTestFixtures line 19 - Source on GitHub

io.quarkus.gradle.TestFixtureMultiModuleTest.testTaskShouldUseTestFixtures line 17 - Source on GitHub

io.quarkus.gradle.TestResourcesInBuildStepsTest.testBasicMultiModuleBuild line 24 - Source on GitHub

io.quarkus.gradle.UberJarFormatWorksTest.testUberJarFormatWorks line 29 - Source on GitHub

io.quarkus.gradle.builder.QuarkusModelBuilderTest.shouldLoadMultiModuleModel line 41 - Source on GitHub

io.quarkus.gradle.builder.QuarkusModelBuilderTest.shouldLoadSimpleModuleModel line 30 - Source on GitHub

io.quarkus.gradle.devmode.AvroDevModeTest.main line 15 - Source on GitHub

io.quarkus.gradle.devmode.BasicJavaApplicationModuleDevModeTest.main line 26 - Source on GitHub

io.quarkus.gradle.devmode.BasicJavaLibraryModuleDevModeTest.main line 24 - Source on GitHub

io.quarkus.gradle.devmode.BasicJavaPlatformModuleDevModeTest.main line 24 - Source on GitHub

io.quarkus.gradle.devmode.BasicKotlinApplicationModuleDevModeTest.main line 18 - Source on GitHub

io.quarkus.gradle.devmode.BasicMultiModuleProjectDevModeTest.main line 22 - Source on GitHub

io.quarkus.gradle.devmode.CustomQuarkusDevModeConfigurationTest.main line 13 - Source on GitHub

io.quarkus.gradle.devmode.DependencyConstraintsDevModeTest.main line 14 - Source on GitHub

io.quarkus.gradle.devmode.DotEnvQuarkusDevModeConfigurationTest.main line 13 - Source on GitHub

io.quarkus.gradle.devmode.ImplementationFilesDevModeTest.main line 21 - Source on GitHub

io.quarkus.gradle.devmode.InjectQuarkusAppPropertiesDevModeTest.main line 19 - Source on GitHub

io.quarkus.gradle.devmode.JandexMultiModuleProjectDevModeTest.main line 21 - Source on GitHub

io.quarkus.gradle.devmode.ModuleWithParentDependencyDevModeTest.main line 14 - Source on GitHub

io.quarkus.gradle.devmode.MultiModuleIncludedBuildTest.main line 24 - Source on GitHub

io.quarkus.gradle.devmode.MultiModuleKotlinProjectDevModeTest.main line 22 - Source on GitHub

io.quarkus.gradle.devmode.MultiModuleNamedInjectionDevModeTest.main line 21 - Source on GitHub

io.quarkus.gradle.devmode.MultiModuleWithEmptyModuleDevModeTest.main line 22 - Source on GitHub

io.quarkus.gradle.devmode.QuarkusDevDependencyDevModeTest.main line 14 - Source on GitHub

io.quarkus.gradle.devmode.ResourcesInBuildStepsDevModeTest.main line 29 - Source on GitHub


⚙️ Gradle Tests - JDK 11 Windows #

- Failing: integration-tests/gradle 

📦 integration-tests/gradle

io.quarkus.gradle.AddExtensionToModuleInMultiModuleKtsProjectTest.testBasicMultiModuleBuild line 38 - Source on GitHub

io.quarkus.gradle.AddExtensionToModuleInMultiModuleProjectTest.testBasicMultiModuleBuild line 33 - Source on GitHub

io.quarkus.gradle.AddExtensionToSingleModuleKtsProjectTest.testRemoveNonExistentExtension line 43 - Source on GitHub

io.quarkus.gradle.AddExtensionToSingleModuleKtsProjectTest.testAddAndRemoveExtension line 32 - Source on GitHub

io.quarkus.gradle.AddExtensionToSingleModuleProjectTest.testRemoveNonExistentExtension line 40 - Source on GitHub

io.quarkus.gradle.AddExtensionToSingleModuleProjectTest.testAddAndRemoveExtension line 30 - Source on GitHub

io.quarkus.gradle.AdditionalSourceSetsTest.executeFunctionalTest line 21 - Source on GitHub

io.quarkus.gradle.BasicJavaLibraryModuleTest.testBasicMultiModuleBuild line 20 - Source on GitHub

io.quarkus.gradle.BasicJavaPlatformModuleTest.testBasicPlatformModuleBuild line 20 - Source on GitHub

io.quarkus.gradle.BasicMultiModuleQuarkusBuildTest.testBasicMultiModuleBuild line 20 - Source on GitHub

io.quarkus.gradle.BeanInTestSourcesTest.testBasicMultiModuleBuild line 15 - Source on GitHub

io.quarkus.gradle.ConditionalDependenciesTest.shouldImportConditionalDependency line 80 - Source on GitHub

io.quarkus.gradle.ConditionalDependenciesTest.shouldNotImportConditionalDependency line 102 - Source on GitHub

io.quarkus.gradle.ConditionalDependenciesTest.shouldNotFailIfConditionalDependencyIsExplicitlyDeclared line 120 - Source on GitHub

io.quarkus.gradle.ConditionalDependenciesTest.scenarioTwo line 143 - Source on GitHub

io.quarkus.gradle.CustomFileSystemProviderTest.test line 17 - Source on GitHub

io.quarkus.gradle.DependencyConstraintsTest.shoudBuildProjectWithDependencyConstraint line 18 - Source on GitHub

io.quarkus.gradle.DependencyResolutionTest.shouldResolveDependencyVersionFromSuperConfigurationProject line 19 - Source on GitHub

io.quarkus.gradle.FastJarFormatWorksTest.testFastJarFormatWorks line 30 - Source on GitHub

io.quarkus.gradle.GrpcMultiModuleQuarkusBuildTest.testProtocErrorOutput line 39 - Source on GitHub

io.quarkus.gradle.GrpcMultiModuleQuarkusBuildTest.testGrpcMultiModuleBuild line 22 - Source on GitHub

io.quarkus.gradle.ImplementationFilesQuarkusBuildTest.test line 28 - Source on GitHub

io.quarkus.gradle.InjectBeanFromTestConfigTest.testBasicMultiModuleBuild line 17 - Source on GitHub

io.quarkus.gradle.KotlinGRPCProjectBuildTest.testBasicMultiModuleBuild line 15 - Source on GitHub

io.quarkus.gradle.LegacyJarFormatWorksTest.testLegacyJarFormatWorks line 31 - Source on GitHub

io.quarkus.gradle.MultiModuleKotlinProjectBuildTest.testBasicMultiModuleBuild line 15 - Source on GitHub

io.quarkus.gradle.MultiModuleUberJarTest.testUberJarForMultiModule line 29 - Source on GitHub

io.quarkus.gradle.MultiSourceProjectTest.shouldRunTest line 16 - Source on GitHub

io.quarkus.gradle.MutableJarFormatBootsInDevModeTest.testFastJarFormatWorks line 31 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canDetectClasspathChangeWhenBuilding line 104 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canDetectUpToDateBuild line 64 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canDetectUpToDateTests line 133 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canDetectSystemPropertyChangeWhenBuilding line 146 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canBuild(SourceType)[1] line 51 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canBuild(SourceType)[2] line 51 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canBuild(SourceType)[3] line 51 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canRunTest line 161 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canDetectResourceChangeWhenBuilding line 75 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canDetectClassChangeWhenBuilding line 89 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canDetectOutputChangeWhenBuilding line 117 - Source on GitHub

io.quarkus.gradle.QuarkusPluginFunctionalTest.canGenerateConfig line 40 - Source on GitHub

io.quarkus.gradle.SpringDependencyManagementTest.testQuarkusBuildShouldWorkWithSpringDependencyManagement line 20 - Source on GitHub

io.quarkus.gradle.TestFixtureModuleTest.testTaskShouldUseTestFixtures line 19 - Source on GitHub

io.quarkus.gradle.TestFixtureMultiModuleTest.testTaskShouldUseTestFixtures line 17 - Source on GitHub

io.quarkus.gradle.TestResourcesInBuildStepsTest.testBasicMultiModuleBuild line 24 - Source on GitHub

io.quarkus.gradle.UberJarFormatWorksTest.testUberJarFormatWorks line 29 - Source on GitHub

io.quarkus.gradle.builder.QuarkusModelBuilderTest.shouldLoadMultiModuleModel line 41 - Source on GitHub

io.quarkus.gradle.builder.QuarkusModelBuilderTest.shouldLoadSimpleModuleModel line 30 - Source on GitHub

io.quarkus.gradle.devmode.AvroDevModeTest.main line 15 - Source on GitHub

io.quarkus.gradle.devmode.BasicJavaLibraryModuleDevModeTest.main line 24 - Source on GitHub

io.quarkus.gradle.devmode.BasicJavaPlatformModuleDevModeTest.main line 24 - Source on GitHub

io.quarkus.gradle.devmode.BasicKotlinApplicationModuleDevModeTest.main line 18 - Source on GitHub

io.quarkus.gradle.devmode.BasicMultiModuleProjectDevModeTest.main line 22 - Source on GitHub

io.quarkus.gradle.devmode.CustomQuarkusDevModeConfigurationTest.main line 13 - Source on GitHub

io.quarkus.gradle.devmode.DependencyConstraintsDevModeTest.main line 14 - Source on GitHub

io.quarkus.gradle.devmode.DotEnvQuarkusDevModeConfigurationTest.main line 13 - Source on GitHub

io.quarkus.gradle.devmode.ImplementationFilesDevModeTest.main line 21 - Source on GitHub

io.quarkus.gradle.devmode.InjectQuarkusAppPropertiesDevModeTest.main line 19 - Source on GitHub

io.quarkus.gradle.devmode.JandexMultiModuleProjectDevModeTest.main line 21 - Source on GitHub

io.quarkus.gradle.devmode.ModuleWithParentDependencyDevModeTest.main line 14 - Source on GitHub

io.quarkus.gradle.devmode.MultiModuleIncludedBuildTest.main line 24 - Source on GitHub

io.quarkus.gradle.devmode.MultiModuleKotlinProjectDevModeTest.main line 22 - Source on GitHub

io.quarkus.gradle.devmode.MultiModuleNamedInjectionDevModeTest.main line 21 - Source on GitHub

io.quarkus.gradle.devmode.MultiModuleWithEmptyModuleDevModeTest.main line 22 - Source on GitHub

io.quarkus.gradle.devmode.QuarkusDevDependencyDevModeTest.main line 14 - Source on GitHub

io.quarkus.gradle.devmode.ResourcesInBuildStepsDevModeTest.main line 29 - Source on GitHub


⚙️ JVM Tests - JDK 11 Windows #

- Failing: devtools/cli devtools/gradle/gradle-application-plugin 

📦 devtools/cli

io.quarkus.cli.CliProjectGradleTest.testExtensionList - Source on GitHub

io.quarkus.cli.CliProjectGradleTest.testCreateAppDefaults - Source on GitHub

io.quarkus.cli.CliProjectGradleTest.testCreateCliDefaults - Source on GitHub

io.quarkus.cli.CliProjectGradleTest.testCreateAppOverrides - Source on GitHub

📦 devtools/gradle/gradle-application-plugin

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (gradle) on project io.quarkus.gradle.plugin: Command execution failed.


⚙️ Native Tests - Misc4 #

- Failing: integration-tests/gradle 

📦 integration-tests/gradle

io.quarkus.gradle.nativeimage.BasicJavaNativeBuildIT.shouldBuildNativeImage line 22 - Source on GitHub

io.quarkus.gradle.nativeimage.CustomNativeTestSourceSetIT.runNativeTests line 18 - Source on GitHub

@aloubyansky aloubyansky force-pushed the bootstrap-artifact-api branch from 964727a to 8073bad Compare October 2, 2021 19:34
@quarkus-bot
Copy link

quarkus-bot bot commented Oct 2, 2021

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

Failing Jobs - Building 03b38ad

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

Failures

⚙️ Initial JDK 11 Build #

- Failing: devtools/cli integration-tests/avro-reload integration-tests/grpc-health and 11 more

📦 devtools/cli

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:generate-code (default) on project quarkus-cli: Quarkus code generation phase has failed

📦 integration-tests/avro-reload

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:generate-code (generate-code) on project quarkus-avro-reload-test: Quarkus code generation phase has failed

📦 integration-tests/grpc-health

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:generate-code (default) on project quarkus-integration-test-grpc-health: Quarkus code generation phase has failed

📦 integration-tests/grpc-hibernate

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:generate-code (default) on project quarkus-integration-test-grpc-hibernate: Quarkus code generation phase has failed

📦 integration-tests/grpc-hibernate-reactive

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:generate-code (default) on project quarkus-integration-test-grpc-hibernate-reactive: Quarkus code generation phase has failed

📦 integration-tests/grpc-interceptors

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:generate-code (default) on project quarkus-integration-test-grpc-interceptors: Quarkus code generation phase has failed

📦 integration-tests/grpc-mutual-auth

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:generate-code (default) on project quarkus-integration-test-grpc-mutual-auth: Quarkus code generation phase has failed

📦 integration-tests/grpc-plain-text-gzip

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:generate-code (default) on project quarkus-integration-test-grpc-plain-text-gzip: Quarkus code generation phase has failed

📦 integration-tests/grpc-plain-text-mutiny

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:generate-code (default) on project quarkus-integration-test-grpc-plain-text-mutiny: Quarkus code generation phase has failed

📦 integration-tests/grpc-proto-v2

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:generate-code (default) on project quarkus-integration-test-grpc-proto-v2: Quarkus code generation phase has failed

📦 integration-tests/grpc-streaming

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:generate-code (default) on project quarkus-integration-test-grpc-streaming: Quarkus code generation phase has failed

📦 integration-tests/grpc-tls

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:generate-code (default) on project quarkus-integration-test-grpc-tls: Quarkus code generation phase has failed

📦 integration-tests/kafka-avro

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:generate-code (default) on project quarkus-integration-test-kafka-avro: Quarkus code generation phase has failed

📦 integration-tests/kafka-avro-apicurio2

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:generate-code (default) on project quarkus-integration-test-kafka-avro-apicurio2: Quarkus code generation phase has failed

@aloubyansky aloubyansky force-pushed the bootstrap-artifact-api branch from 03b38ad to 65ae5bc Compare October 3, 2021 07:13
@quarkus-bot
Copy link

quarkus-bot bot commented Oct 3, 2021

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

Failing Jobs - Building 65ae5bc

Status Name Step Failures Logs Raw logs
JVM Tests - JDK 11 Build Failures Logs Raw logs
JVM Tests - JDK 11 Windows Build Failures Logs Raw logs
JVM Tests - JDK 17 Build Failures Logs Raw logs
Maven Tests - JDK 11 Build Failures Logs Raw logs
Maven Tests - JDK 11 Windows Build ⚠️ Check → Logs Raw logs
MicroProfile TCKs Tests Verify ⚠️ Check → Logs Raw logs

Full information is available in the Build summary check run.

Failures

⚙️ JVM Tests - JDK 11 #

- Failing: integration-tests/kotlin integration-tests/scala 

📦 integration-tests/kotlin

io.quarkus.kotlin.maven.it.KotlinRemoteDevModeIT.testThatTheApplicationIsReloadedOnKotlinChange line 25 - More details - Source on GitHub

java.lang.RuntimeException: org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase was not fulfilled within 1 minutes.
	at io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase.runAndCheck(RunAndCheckWithAgentMojoTestBase.java:83)
	at io.quarkus.kotlin.maven.it.KotlinRemoteDevModeIT.testThatTheApplicationIsReloadedOnKotlinChange(KotlinRemoteDevModeIT.java:25)

📦 integration-tests/scala

io.quarkus.scala.maven.it.ScalaRemoteDevModeIT.testThatTheApplicationIsReloadedOnScalaChange line 25 - More details - Source on GitHub

java.lang.RuntimeException: org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase was not fulfilled within 1 minutes.
	at io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase.runAndCheck(RunAndCheckWithAgentMojoTestBase.java:83)
	at io.quarkus.scala.maven.it.ScalaRemoteDevModeIT.testThatTheApplicationIsReloadedOnScalaChange(ScalaRemoteDevModeIT.java:25)

⚙️ JVM Tests - JDK 11 Windows #

- Failing: integration-tests/kotlin integration-tests/scala 

📦 integration-tests/kotlin

io.quarkus.kotlin.maven.it.KotlinRemoteDevModeIT.testThatTheApplicationIsReloadedOnKotlinChange line 25 - More details - Source on GitHub

java.lang.RuntimeException: org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase was not fulfilled within 1 minutes.
	at io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase.runAndCheck(RunAndCheckWithAgentMojoTestBase.java:83)
	at io.quarkus.kotlin.maven.it.KotlinRemoteDevModeIT.testThatTheApplicationIsReloadedOnKotlinChange(KotlinRemoteDevModeIT.java:25)

📦 integration-tests/scala

io.quarkus.scala.maven.it.ScalaRemoteDevModeIT.testThatTheApplicationIsReloadedOnScalaChange line 25 - More details - Source on GitHub

java.lang.RuntimeException: org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase was not fulfilled within 1 minutes.
	at io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase.runAndCheck(RunAndCheckWithAgentMojoTestBase.java:83)
	at io.quarkus.scala.maven.it.ScalaRemoteDevModeIT.testThatTheApplicationIsReloadedOnScalaChange(ScalaRemoteDevModeIT.java:25)

⚙️ JVM Tests - JDK 17 #

- Failing: integration-tests/kotlin integration-tests/scala 

📦 integration-tests/kotlin

io.quarkus.kotlin.maven.it.KotlinRemoteDevModeIT.testThatTheApplicationIsReloadedOnKotlinChange line 25 - More details - Source on GitHub

java.lang.RuntimeException: org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase was not fulfilled within 1 minutes.
	at io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase.runAndCheck(RunAndCheckWithAgentMojoTestBase.java:83)
	at io.quarkus.kotlin.maven.it.KotlinRemoteDevModeIT.testThatTheApplicationIsReloadedOnKotlinChange(KotlinRemoteDevModeIT.java:25)

📦 integration-tests/scala

io.quarkus.scala.maven.it.ScalaRemoteDevModeIT.testThatTheApplicationIsReloadedOnScalaChange line 25 - More details - Source on GitHub

java.lang.RuntimeException: org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase was not fulfilled within 1 minutes.
	at io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase.runAndCheck(RunAndCheckWithAgentMojoTestBase.java:83)
	at io.quarkus.scala.maven.it.ScalaRemoteDevModeIT.testThatTheApplicationIsReloadedOnScalaChange(ScalaRemoteDevModeIT.java:25)

⚙️ Maven Tests - JDK 11 #

- Failing: integration-tests/maven 

📦 integration-tests/maven

io.quarkus.maven.it.RemoteDevMojoIT.testThatApplicationRecoversCompilationIssue line 164 - More details - Source on GitHub

java.lang.RuntimeException: org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase was not fulfilled within 1 minutes.
	at io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase.runAndCheck(RunAndCheckWithAgentMojoTestBase.java:83)
	at io.quarkus.maven.it.RemoteDevMojoIT.testThatApplicationRecoversCompilationIssue(RemoteDevMojoIT.java:164)

io.quarkus.maven.it.RemoteDevMojoIT.testThatTheApplicationIsReloadedOnNewResource line 66 - More details - Source on GitHub

java.lang.RuntimeException: org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase was not fulfilled within 1 minutes.
	at io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase.runAndCheck(RunAndCheckWithAgentMojoTestBase.java:83)
	at io.quarkus.maven.it.RemoteDevMojoIT.testThatTheApplicationIsReloadedOnNewResource(RemoteDevMojoIT.java:66)

io.quarkus.maven.it.RemoteDevMojoIT.testThatNewBeanAreDiscovered line 201 - More details - Source on GitHub

java.lang.RuntimeException: org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase was not fulfilled within 1 minutes.
	at io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase.runAndCheck(RunAndCheckWithAgentMojoTestBase.java:83)
	at io.quarkus.maven.it.RemoteDevMojoIT.testThatNewBeanAreDiscovered(RemoteDevMojoIT.java:201)

io.quarkus.maven.it.RemoteDevMojoIT.testThatTheApplicationIsReloadedOnConfigChange line 98 - More details - Source on GitHub

java.lang.RuntimeException: org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase was not fulfilled within 1 minutes.
	at io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase.runAndCheck(RunAndCheckWithAgentMojoTestBase.java:83)
	at io.quarkus.maven.it.RemoteDevMojoIT.testThatTheApplicationIsReloadedOnConfigChange(RemoteDevMojoIT.java:98)

io.quarkus.maven.it.RemoteDevMojoIT.testThatTheApplicationIsReloadedOnJavaChange line 34 - More details - Source on GitHub

java.lang.RuntimeException: org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase was not fulfilled within 1 minutes.
	at io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase.runAndCheck(RunAndCheckWithAgentMojoTestBase.java:83)
	at io.quarkus.maven.it.RemoteDevMojoIT.testThatTheApplicationIsReloadedOnJavaChange(RemoteDevMojoIT.java:34)

io.quarkus.maven.it.RemoteDevMojoIT.testThatApplicationRecoversCompilationIssue line 164 - More details - Source on GitHub

java.lang.RuntimeException: org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase was not fulfilled within 1 minutes.
	at io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase.runAndCheck(RunAndCheckWithAgentMojoTestBase.java:83)
	at io.quarkus.maven.it.RemoteDevMojoIT.testThatApplicationRecoversCompilationIssue(RemoteDevMojoIT.java:164)

io.quarkus.maven.it.RemoteDevMojoIT.testThatTheApplicationIsReloadedOnNewResource line 66 - More details - Source on GitHub

java.lang.RuntimeException: org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase was not fulfilled within 1 minutes.
	at io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase.runAndCheck(RunAndCheckWithAgentMojoTestBase.java:83)
	at io.quarkus.maven.it.RemoteDevMojoIT.testThatTheApplicationIsReloadedOnNewResource(RemoteDevMojoIT.java:66)

io.quarkus.maven.it.RemoteDevMojoIT.testThatNewBeanAreDiscovered line 201 - More details - Source on GitHub

java.lang.RuntimeException: org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase was not fulfilled within 1 minutes.
	at io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase.runAndCheck(RunAndCheckWithAgentMojoTestBase.java:83)
	at io.quarkus.maven.it.RemoteDevMojoIT.testThatNewBeanAreDiscovered(RemoteDevMojoIT.java:201)

io.quarkus.maven.it.RemoteDevMojoIT.testThatTheApplicationIsReloadedOnConfigChange line 98 - More details - Source on GitHub

java.lang.RuntimeException: org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase was not fulfilled within 1 minutes.
	at io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase.runAndCheck(RunAndCheckWithAgentMojoTestBase.java:83)
	at io.quarkus.maven.it.RemoteDevMojoIT.testThatTheApplicationIsReloadedOnConfigChange(RemoteDevMojoIT.java:98)

io.quarkus.maven.it.RemoteDevMojoIT.testThatTheApplicationIsReloadedOnJavaChange line 34 - More details - Source on GitHub

java.lang.RuntimeException: org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase was not fulfilled within 1 minutes.
	at io.quarkus.maven.it.RunAndCheckWithAgentMojoTestBase.runAndCheck(RunAndCheckWithAgentMojoTestBase.java:83)
	at io.quarkus.maven.it.RemoteDevMojoIT.testThatTheApplicationIsReloadedOnJavaChange(RemoteDevMojoIT.java:34)

@aloubyansky aloubyansky force-pushed the bootstrap-artifact-api branch from 65ae5bc to 0988194 Compare October 3, 2021 12:50
… the app in the dev mode; Make DevMojo re-use the app model resolved as part of the generate-code goal
@aloubyansky aloubyansky force-pushed the bootstrap-artifact-api branch from 0988194 to 870cfb7 Compare October 3, 2021 13:03
@quarkus-bot
Copy link

quarkus-bot bot commented Oct 3, 2021

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

Failing Jobs - Building 870cfb7

Status Name Step Failures Logs Raw logs
✔️ JVM Tests - JDK 11
JVM Tests - JDK 17 Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

⚙️ JVM Tests - JDK 17 #

- Failing: extensions/hibernate-orm/deployment 
! Skipped: docs extensions/hibernate-envers/deployment extensions/hibernate-reactive/deployment and 84 more

📦 extensions/hibernate-orm/deployment

io.quarkus.hibernate.orm.HibernateHotReloadTestCase.testImportSqlWithContinuousTesting line 87 - More details - Source on GitHub

org.awaitility.core.ConditionTimeoutException: Failed to wait for test run 3 State{lastRun=1, running=true, inProgress=false, run=1, passed=1, failed=0, skipped=0, isBrokenOnly=false, isTestOutput=false, isInstrumentationBasedReload=false, isLiveReload=true}
	at io.quarkus.test.ContinuousTestingTestUtils.waitForNextCompletion(ContinuousTestingTestUtils.java:44)
	at io.quarkus.hibernate.orm.HibernateHotReloadTestCase.testImportSqlWithContinuousTesting(HibernateHotReloadTestCase.java:87)

@aloubyansky
Copy link
Member Author

@stuartwdouglas what do you think about getting this in 2.4?

Copy link
Member

@stuartwdouglas stuartwdouglas left a comment

Choose a reason for hiding this comment

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

I think this looks good.

@stuartwdouglas stuartwdouglas merged commit 657ae29 into quarkusio:main Oct 6, 2021
@quarkus-bot quarkus-bot bot added this to the 2.4 - main milestone Oct 6, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Oct 6, 2021

Failing Jobs - Building 870cfb7

Status Name Step Failures Logs Raw logs
Gradle Tests - JDK 11 Windows Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

⚙️ Gradle Tests - JDK 11 Windows #

- Failing: integration-tests/gradle 

📦 integration-tests/gradle

io.quarkus.gradle.devmode.QuarkusDevDependencyDevModeTest.main line 14 - More details - Source on GitHub

org.awaitility.core.ConditionTimeoutException: Condition with lambda expression in io.quarkus.test.devmode.util.DevModeTestUtils that uses java.util.function.Supplier, java.util.function.Supplierjava.util.concurrent.atomic.AtomicReference, java.util.concurrent.atomic.AtomicReferencejava.lang.String, java.lang.Stringboolean was not fulfilled within 1 minutes.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:166)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/arc Issue related to ARC (dependency injection) area/core area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/gradle Gradle area/graphql area/grpc gRPC area/health area/jbang Issues related to when using jbang.dev with Quarkus area/maven area/platform Issues related to definition and interaction with Quarkus Platform area/qute The template engine area/smallrye area/swagger-ui area/testing area/undertow area/vertx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants