quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.17k stars 2.51k forks source link

[CI] - Kogito extension + Quarkus main #12486

Open kie-ci opened 3 years ago

kie-ci commented 3 years ago

This issue will be open and closed dependent on the state of https://github.com/kiegroup/kogito-runtimes building against Quarkus master snapshot. \n If you have interest in being notified of this subscribe to the issue.

geoand commented 3 years ago

Supercedes: #8694

kie-ci commented 3 years ago

Build fixed:

kie-ci commented 3 years ago

Unfortunately, the build failed:

kie-ci commented 3 years ago

The build is still failing:

geoand commented 3 years ago

I am seeing:


2020-10-13T06:08:16.1045655Z [INFO] [ERROR] Failed to execute goal on project integration-tests-kogito-plugin-it: Could not resolve dependencies for project org.kie.kogito:integration-tests-kogito-plugin-it:jar:1.0.0-SNAPSHOT: The following artifacts could not be resolved: io.quarkus:quarkus-resteasy:jar:1.8.0.Final, io.quarkus:quarkus-core:jar:1.8.0.Final, io.quarkus:quarkus-resteasy-jackson:jar:1.8.0.Final, io.quarkus:quarkus-arc:jar:1.8.0.Final, io.quarkus.arc:arc-processor:jar:1.8.0.Final, io.quarkus:quarkus-smallrye-openapi:jar:1.8.0.Final, io.quarkus:quarkus-junit5:jar:1.8.0.Final, org.apache.httpcomponents:httpmime:jar:4.5.3: Could not find artifact io.quarkus:quarkus-resteasy:jar:1.8.0.Final in local.mirror (file:///home/runner/.m2/repository) -> [Help 1]
evacchi commented 3 years ago

@cristianonicolai @mariofusco I think we changed something recently there (it tests) do you know what is happening?

cristianonicolai commented 3 years ago

@evacchi yep, I think it is related to the changes to use the local repo instead of pulling the deps, will take a look.

kie-ci commented 3 years ago

The build is still failing:

cristianonicolai commented 3 years ago

@evacchi see https://github.com/kiegroup/kogito-runtimes/pull/830

kie-ci commented 3 years ago

The build is still failing:

kie-ci commented 3 years ago

The build is still failing:

kie-ci commented 3 years ago

The build is still failing:

kie-ci commented 3 years ago

Build fixed:

kie-ci commented 3 years ago

Unfortunately, the build failed:

kie-ci commented 3 years ago

Build fixed:

kie-ci commented 3 years ago

Unfortunately, the build failed:

evacchi commented 3 years ago

seems like a network error (could not download artifact) but tried to restart the build and it went green then stopped immediately? :thinking:

kie-ci commented 3 years ago

Build fixed:

kie-ci commented 3 years ago

Unfortunately, the build failed:

evacchi commented 3 years ago

Issue with hot-reload. We changed nothing on our end. Has this something to do with the following?

2020-11-30 05:35:29,488 WARN  [io.qua.deployment] (vert.x-worker-thread-1) Producing values from constructors and fields is no longer supported and will be removed in a future release: io.quarkus.deployment.annotations.BuildProducer org.kie.kogito.quarkus.deployment.KogitoAssetsProcessor.generatedBeans
2020-11-30 05:35:29,488 WARN  [io.qua.deployment] (vert.x-worker-thread-1) Producing values from constructors and fields is no longer supported and will be removed in a future release: io.quarkus.deployment.annotations.BuildProducer org.kie.kogito.quarkus.deployment.KogitoAssetsProcessor.resource
2020-11-30 05:35:29,488 WARN  [io.qua.deployment] (vert.x-worker-thread-1) Producing values from constructors and fields is no longer supported and will be removed in a future release: io.quarkus.deployment.annotations.BuildProducer org.kie.kogito.quarkus.deployment.KogitoAssetsProcessor.reflectiveClass
2020-11-30 05:35:29,488 WARN  [io.qua.deployment] (vert.x-worker-thread-1) Producing values from constructors and fields is no longer supported and will be removed in a future release: io.quarkus.deployment.annotations.BuildProducer org.kie.kogito.quarkus.deployment.KogitoAssetsProcessor.genResBI

also I don't think we produce something from fields. We only use fields to share data across methods. IIRC BuildProducers are returned as appropriate from @BuildSteps

/cc @cristianonicolai @tiagodolphine @mariofusco

kie-ci commented 3 years ago

The build is still failing:

kie-ci commented 3 years ago

The build is still failing:

evacchi commented 3 years ago

@aloubyansky I don't know if it's 100% related to the way we generate code though, because it looks like only 1 of the hot reload tests is breaking, not all of them. I don't think we will be able to leverage the same approach of GRPC because we may need reflection information from user-provided classes to do our codegen. /cc @mariofusco

aloubyansky commented 3 years ago

It's https://github.com/quarkusio/quarkus/commit/71891910bd39e5c806daa18ae82bb4c3de996188 that broke it

kie-ci commented 3 years ago

The build is still failing:

kie-ci commented 3 years ago

The build is still failing:

kie-ci commented 3 years ago

The build is still failing:

kie-ci commented 3 years ago

The build is still failing:

kie-ci commented 3 years ago

The build is still failing:

kie-ci commented 3 years ago

The build is still failing:

kie-ci commented 3 years ago

Build fixed:

kie-ci commented 3 years ago

Unfortunately, the build failed:

aloubyansky commented 3 years ago
Error: [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.3.1.RELEASE:repackage (repackage) on project basic-project: Execution repackage of goal org.springframework.boot:spring-boot-maven-plugin:2.3.1.RELEASE:repackage failed: Plugin org.springframework.boot:spring-boot-maven-plugin:2.3.1.RELEASE or one of its dependencies could not be resolved: Could not transfer artifact org.springframework.boot:spring-boot-loader-tools:jar:2.3.1.RELEASE from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-loader-tools/2.3.1.RELEASE/spring-boot-loader-tools-2.3.1.RELEASE.jar: Connection reset -> [Help 1]
geoand commented 3 years ago

Seems like a transient error, hopefully :)

kie-ci commented 3 years ago

The build is still failing:

kie-ci commented 3 years ago

The build is still failing:

kie-ci commented 3 years ago

The build is still failing:

geoand commented 3 years ago

@evacchi @mariofusco it seems like there is a failure:

[INFO] Running org.kie.kogito.integrationtests.quarkus.FlexibleProcessTest
Error:  Tests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 14.813 s <<< FAILURE! - in org.kie.kogito.integrationtests.quarkus.FlexibleProcessTest
Error:  testInstantiateProcess  Time elapsed: 0.023 s  <<< ERROR!
java.lang.RuntimeException: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
Error: ]: Build step io.quarkus.smallrye.reactivemessaging.deployment.SmallRyeReactiveMessagingProcessor#build threw an exception: java.lang.NoClassDefFoundError: io/smallrye/reactive/messaging/extension/ChannelConfiguration
kie-ci commented 3 years ago

The build is still failing:

evacchi commented 3 years ago

@cristianonicolai @tiagodolphine @mariofusco can anyone please take a look?

evacchi commented 3 years ago

Maybe some smallrye class was refactored to a different artifact @geoand ?

geoand commented 3 years ago

Given the name of the class in the output I pasted above, I would say that @cescoffier would know

kie-ci commented 3 years ago

The build is still failing:

cristianonicolai commented 3 years ago

@evacchi seems like we need to align the reactive messaging, see https://github.com/kiegroup/kogito-runtimes/pull/950 but we can only merge that once we upgrade to Quarkus master ( 1.11 ? )

gsmet commented 3 years ago

@cristianonicolai @evacchi I just released 1.11.0.Beta2. You can upgrade to it.

kie-ci commented 3 years ago

The build is still failing:

kie-ci commented 3 years ago

The build is still failing:

kie-ci commented 3 years ago

The build is still failing:

kie-ci commented 3 years ago

The build is still failing:

kie-ci commented 3 years ago

The build is still failing: