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

KOGITO-4887 Bump Quarkus 1.13 #1200

Merged
merged 10 commits into from
Apr 30, 2021
Merged

KOGITO-4887 Bump Quarkus 1.13 #1200

merged 10 commits into from
Apr 30, 2021

Conversation

evacchi
Copy link
Contributor

@evacchi evacchi commented Apr 7, 2021

https://issues.redhat.com/browse/KOGITO-4887

Bundle

Highlights

  • Upgrades Quarkus 1.13 to latest:
    • does not include ISPN 12 yet
    • adds a version override for MongoDB on spring boot (otherwise the version upgrade breaks)
  • makes our life miserable in the process

🙈

@@ -17,7 +17,7 @@
         <bouncycastle.version>1.68</bouncycastle.version>
         <bouncycastle.fips.version>1.0.2</bouncycastle.fips.version>
         <bouncycastle.tls.fips.version>1.0.11</bouncycastle.tls.fips.version>
-        <jandex.version>2.2.2.Final</jandex.version>
+        <jandex.version>2.2.3.Final</jandex.version>
         <resteasy.version>4.5.9.Final</resteasy.version>
         <opentracing.version>0.31.0</opentracing.version>
         <opentracing-jaxrs.version>0.4.1</opentracing-jaxrs.version>
@@ -25,12 +25,14 @@
         <opentracing-tracerresolver.version>0.1.8</opentracing-tracerresolver.version>
         <opentracing-concurrent.version>0.2.0</opentracing-concurrent.version>
         <opentracing-jdbc.version>0.0.12</opentracing-jdbc.version>
-        <opentracing-kafka.version>0.1.13</opentracing-kafka.version>
+        <opentracing-kafka.version>0.1.15</opentracing-kafka.version>
+        <opentelemetry.version>1.0.1</opentelemetry.version>
+        <opentelemetry-alpha.version>1.0.1-alpha</opentelemetry-alpha.version>
         <jaeger.version>0.34.3</jaeger.version>
-        <quarkus-http.version>3.0.18.Final</quarkus-http.version>
+        <quarkus-http.version>3.1.0.Beta2</quarkus-http.version>
         <jboss-servlet-api_4.0_spec.version>1.0.0.Final</jboss-servlet-api_4.0_spec.version>
         <threetenbp.version>1.4.3</threetenbp.version>
-        <micrometer.version>1.6.3</micrometer.version> <!-- when updating, verify if com.google.auth should not be updated too -->
+        <micrometer.version>1.6.5</micrometer.version> <!-- when updating, verify if com.google.auth should not be updated too -->
         <google-auth.version>0.22.0</google-auth.version>
         <microprofile-config-api.version>1.4</microprofile-config-api.version>
         <microprofile-metrics-api.version>2.3</microprofile-metrics-api.version>
@@ -38,19 +40,20 @@
         <microprofile-opentracing-api.version>1.3.3</microprofile-opentracing-api.version>
         <microprofile-reactive-streams-operators.version>1.0.1</microprofile-reactive-streams-operators.version>
         <microprofile-rest-client.version>1.4.1</microprofile-rest-client.version>
+        <microprofile-jwt.version>1.1.1</microprofile-jwt.version>
         <smallrye-common.version>1.5.0</smallrye-common.version>
-        <smallrye-config.version>1.10.2</smallrye-config.version>
-        <smallrye-health.version>2.2.5</smallrye-health.version>
+        <smallrye-config.version>1.11.1</smallrye-config.version>
+        <smallrye-health.version>2.2.6</smallrye-health.version>
         <smallrye-metrics.version>2.4.6</smallrye-metrics.version>
-        <smallrye-open-api.version>2.0.22</smallrye-open-api.version>
-        <smallrye-graphql.version>1.0.21</smallrye-graphql.version>
+        <smallrye-open-api.version>2.0.26</smallrye-open-api.version>
+        <smallrye-graphql.version>1.0.26</smallrye-graphql.version>
         <smallrye-opentracing.version>1.3.5</smallrye-opentracing.version>
         <smallrye-fault-tolerance.version>4.3.2</smallrye-fault-tolerance.version>
-        <smallrye-jwt.version>2.4.1</smallrye-jwt.version>
-        <smallrye-context-propagation.version>1.0.19</smallrye-context-propagation.version>
+        <smallrye-jwt.version>2.4.4</smallrye-jwt.version>
+        <smallrye-context-propagation.version>1.1.0</smallrye-context-propagation.version>
         <smallrye-reactive-streams-operators.version>1.0.13</smallrye-reactive-streams-operators.version>
-        <smallrye-converter-api.version>1.3.0</smallrye-converter-api.version>
-        <smallrye-reactive-messaging.version>2.7.1</smallrye-reactive-messaging.version>
+        <smallrye-converter-api.version>1.4.0</smallrye-converter-api.version>
+        <smallrye-reactive-messaging.version>2.9.0</smallrye-reactive-messaging.version>
         <jakarta.activation.version>1.2.1</jakarta.activation.version>
         <jakarta.annotation-api.version>1.3.5</jakarta.annotation-api.version>
         <jakarta.el-impl.version>3.0.3</jakarta.el-impl.version>
@@ -72,7 +75,7 @@
         <jaxb-api.version>2.3.1</jaxb-api.version>
         <jboss-jaxrs-api_2.1_spec.version>2.0.1.Final</jboss-jaxrs-api_2.1_spec.version>
         <jboss-jaxb-api_2.3_spec.version>2.0.0.Final</jboss-jaxb-api_2.3_spec.version>
-        <asm.version>9.0</asm.version>
+        <asm.version>9.1</asm.version>
         <commons-io.version>2.8.0</commons-io.version>
         <jboss-metadata-web.version>11.0.0.Final</jboss-metadata-web.version>
         <maven-core.version>3.6.3</maven-core.version>
@@ -83,31 +86,31 @@
         <maven-plugin-annotations.version>3.6.0</maven-plugin-annotations.version>
         <plexus-component-annotations.version>2.1.0</plexus-component-annotations.version>
         <!-- What we actually depend on for the annotations, as latest Graal is not available in Maven fast enough: -->
-        <graal-sdk.version>20.3.1</graal-sdk.version>
-        <gizmo.version>1.0.6.Final</gizmo.version>
-        <jackson.version>2.11.3</jackson.version>
+        <graal-sdk.version>21.0.0</graal-sdk.version>
+        <gizmo.version>1.0.7.Final</gizmo.version>
+        <jackson.version>2.12.1</jackson.version>
         <commons-logging-jboss-logging.version>1.0.0.Final</commons-logging-jboss-logging.version>
-        <commons-lang3.version>3.11</commons-lang3.version>
+        <commons-lang3.version>3.12.0</commons-lang3.version>
         <commons-codec.version>1.14</commons-codec.version>
         <classmate.version>1.3.4</classmate.version>
-        <hibernate-orm.version>5.4.27.SP1</hibernate-orm.version>
-        <hibernate-reactive.version>1.0.0.Beta2</hibernate-reactive.version>
+        <hibernate-orm.version>5.4.29.Final</hibernate-orm.version>
+        <hibernate-reactive.version>1.0.0.CR1</hibernate-reactive.version>
         <hibernate-validator.version>6.2.0.Final</hibernate-validator.version>
-        <hibernate-search.version>6.0.0.Final</hibernate-search.version>
+        <hibernate-search.version>6.0.2.Final</hibernate-search.version>
         <narayana.version>5.10.6.Final</narayana.version>
         <jboss-transaction-api_1.2_spec.version>1.1.1.Final</jboss-transaction-api_1.2_spec.version>
         <agroal.version>1.9</agroal.version>
         <jboss-transaction-spi.version>7.6.0.Final</jboss-transaction-spi.version>
         <elasticsearch-rest-client.version>7.10.0</elasticsearch-rest-client.version>
         <rxjava1.version>1.3.8</rxjava1.version>
-        <rxjava.version>2.2.20</rxjava.version>
+        <rxjava.version>2.2.21</rxjava.version>
         <wildfly.openssl.version>1.0.6.Final</wildfly.openssl.version>
         <jboss-logging-annotations.version>2.2.0.Final</jboss-logging-annotations.version>
         <slf4j.version>1.7.30</slf4j.version>
         <slf4j-jboss-logmanager.version>1.1.0.Final</slf4j-jboss-logmanager.version>
         <wildfly-common.version>1.5.4.Final-format-001</wildfly-common.version>
         <wildfly-client-config.version>1.0.1.Final</wildfly-client-config.version>
-        <wildfly-elytron.version>1.14.1.Final</wildfly-elytron.version>
+        <wildfly-elytron.version>1.15.1.Final</wildfly-elytron.version>
         <jboss-modules.version>1.8.7.Final</jboss-modules.version>
         <jboss-threads.version>3.2.0.Final</jboss-threads.version>
         <vertx.version>3.9.5</vertx.version>
@@ -117,7 +120,7 @@
         <cronutils.version>9.1.3</cronutils.version>
         <quartz.version>2.3.2</quartz.version>
         <h2.version>1.4.197</h2.version>  <!-- keep 1.4.197 as newer versions have severe regressions -->
-        <postgresql-jdbc.version>42.2.18</postgresql-jdbc.version>
+        <postgresql-jdbc.version>42.2.19</postgresql-jdbc.version>
         <mariadb-jdbc.version>2.7.2</mariadb-jdbc.version>
         <mysql-jdbc.version>8.0.23</mysql-jdbc.version>
         <mssql-jdbc.version>7.2.2.jre8</mssql-jdbc.version>
@@ -125,74 +128,72 @@
         <db2-jdbc.version>11.5.4.0</db2-jdbc.version>
         <shrinkwrap.version>1.2.6</shrinkwrap.version>
         <rest-assured.version>4.3.3</rest-assured.version>
-        <junit.jupiter.version>5.7.0</junit.jupiter.version>
+        <junit.jupiter.version>5.7.1</junit.jupiter.version>
         <testng.version>6.14.2</testng.version>
-        <assertj.version>3.18.1</assertj.version>
+        <assertj.version>3.19.0</assertj.version>
         <json-smart.version>2.3</json-smart.version>
-        <infinispan.version>11.0.8.Final</infinispan.version>
-        <infinispan.protostream.version>4.3.4.Final</infinispan.protostream.version>
-        <caffeine.version>2.8.8</caffeine.version>
+        <infinispan.version>12.0.1.Final</infinispan.version>
+        <infinispan.protostream.version>4.4.0.Alpha4</infinispan.protostream.version>
+        <caffeine.version>2.9.0</caffeine.version>
         <netty.version>4.1.49.Final</netty.version>
         <reactive-streams.version>1.0.3</reactive-streams.version>
         <jboss-logging.version>3.4.1.Final</jboss-logging.version>
-        <mutiny.version>0.12.5</mutiny.version>
-        <axle-client.version>1.3.0</axle-client.version>
-        <mutiny-client.version>1.3.0</mutiny-client.version>
-        <kafka2.version>2.5.0</kafka2.version>
+        <mutiny.version>0.14.0</mutiny.version>
+        <mutiny-vertx.version>1.5.0</mutiny-vertx.version>
+        <kafka2.version>2.7.0</kafka2.version>
         <zookeeper.version>3.5.7</zookeeper.version>
         <!-- Scala is used by Kafka so we need to choose a compatible version -->
-        <scala.version>2.12.9</scala.version>
+        <scala.version>2.12.13</scala.version>
         <tika.version>1.24.1</tika.version>
         <ooxml-schemas.version>1.4</ooxml-schemas.version>
         <aws-lambda-java.version>1.2.1</aws-lambda-java.version>
         <aws-lambda-java-events.version>3.7.0</aws-lambda-java-events.version>
         <aws-lambda-serverless-java-container.version>1.3.1</aws-lambda-serverless-java-container.version>
-        <aws-xray.version>2.4.0</aws-xray.version>
-        <awssdk.version>2.15.62</awssdk.version>
+        <aws-xray.version>2.8.0</aws-xray.version>
+        <awssdk.version>2.16.19</awssdk.version>
         <aws-alexa-sdk.version>2.37.1</aws-alexa-sdk.version>
-        <azure-functions-java-library.version>1.3.0</azure-functions-java-library.version>
-        <kotlin.version>1.4.20</kotlin.version>
+        <azure-functions-java-library.version>1.4.0</azure-functions-java-library.version>
+        <kotlin.version>1.4.31</kotlin.version>
         <dekorate.version>0.14.2</dekorate.version>
         <maven-artifact-transfer.version>0.10.0</maven-artifact-transfer.version>
-        <jline.version>2.14.6</jline.version>
         <maven-invoker.version>3.0.1</maven-invoker.version>
         <awaitility.version>4.0.3</awaitility.version>
         <jprocesses.version>1.6.5</jprocesses.version>
-        <jboss-logmanager.version>1.0.6</jboss-logmanager.version>
-        <jgit.version>5.10.0.202012080955-r</jgit.version>
-        <flyway.version>7.4.0 </flyway.version>
+        <jboss-logmanager.version>1.0.9</jboss-logmanager.version>
+        <jgit.version>5.11.0.202103091610-r</jgit.version>
+        <flyway.version>7.7.0</flyway.version>
         <yasson.version>1.0.8</yasson.version>
-        <liquibase.version>4.2.2</liquibase.version>
-        <snakeyaml.version>1.27</snakeyaml.version>
+        <liquibase.version>4.3.1</liquibase.version>
+        <snakeyaml.version>1.28</snakeyaml.version>
         <osgi.version>6.0.0</osgi.version>
-        <neo4j-java-driver.version>4.2.0</neo4j-java-driver.version>
+        <neo4j-java-driver.version>4.2.3</neo4j-java-driver.version>
         <mongo-client.version>4.1.0</mongo-client.version>
         <mongo-crypt.version>1.0.1</mongo-crypt.version>
-        <artemis.version>2.11.0</artemis.version>
+        <artemis.version>2.17.0</artemis.version>
         <proton-j.version>0.33.8</proton-j.version>
         <okhttp.version>3.14.9</okhttp.version>
-        <sentry.version>3.2.0</sentry.version>
+        <sentry.version>4.3.0</sentry.version>
         <subethasmtp.version>3.1.7</subethasmtp.version>
         <hibernate-quarkus-local-cache.version>0.1.0</hibernate-quarkus-local-cache.version>
-        <kubernetes-client.version>5.1.0</kubernetes-client.version>
+        <kubernetes-client.version>5.2.1</kubernetes-client.version>
         <flapdoodle.mongo.version>2.2.0</flapdoodle.mongo.version>
         <quarkus-spring-api.version>5.2.SP4</quarkus-spring-api.version>
         <quarkus-spring-data-api.version>2.1.SP2</quarkus-spring-data-api.version>
         <quarkus-spring-security-api.version>5.2.Final</quarkus-spring-security-api.version>
         <quarkus-spring-boot-api.version>2.1.SP1</quarkus-spring-boot-api.version>
         <htmlunit.version>2.40.0</htmlunit.version>
-        <mockito.version>3.7.0</mockito.version>
+        <mockito.version>3.8.0</mockito.version>
         <jna.version>5.3.1</jna.version><!-- should satisfy both testcontainers and mongodb -->
         <antlr.version>4.8</antlr.version>
-        <quarkus-security.version>1.1.3.Final</quarkus-security.version>
-        <keycloak.version>11.0.3</keycloak.version>
+        <quarkus-security.version>1.1.4.Final</quarkus-security.version>
+        <keycloak.version>12.0.4</keycloak.version>
         <logstash-gelf.version>1.14.1</logstash-gelf.version>
         <jsch.version>0.1.55</jsch.version>
         <jzlib.version>1.1.1</jzlib.version>
         <checker-qual.version>2.5.2</checker-qual.version>
         <error-prone-annotations.version>2.2.0</error-prone-annotations.version>
         <jib-core.version>0.17.0</jib-core.version>
-        <google-http-client.version>1.34.0</google-http-client.version>
+        <google-http-client.version>1.38.0</google-http-client.version>
         <scram-client.version>2.1</scram-client.version>
         <!-- Make sure to check compatibility between these 2 gRPC components before upgrade -->
         <grpc.version>1.34.0</grpc.version> <!-- when updating, verify if com.google.auth should not be updated too -->
@@ -209,6 +210,8 @@
         <log4j2-jboss-logmanager.version>1.0.0.Beta1</log4j2-jboss-logmanager.version>
         <log4j-jboss-logmanager.version>1.2.0.Final</log4j-jboss-logmanager.version>
         <avro.version>1.10.0</avro.version>
+        <jacoco.version>0.8.6</jacoco.version>
+        <testcontainers.version>1.15.2</testcontainers.version>
     </properties>

Many thanks for submitting your Pull Request ❤️!

Please make sure that your PR meets the following requirements:

  • You have read the contributors guide
  • Your code is properly formatted according to this configuration
  • Pull Request title is properly formatted: KOGITO-XYZ Subject
  • Pull Request title contains the target branch if not targeting master: [0.9.x] KOGITO-XYZ Subject
  • Pull Request contains link to the JIRA issue
  • Pull Request contains link to any dependent or related Pull Request
  • Pull Request contains description of the issue
  • Pull Request does not include fixes for issues other than the main ticket
How to retest this PR or trigger a specific build:
  • Pull Request
    Please add comment: Jenkins retest this

  • Quarkus LTS checks
    Please add comment: Jenkins run LTS

  • Native checks
    Please add comment: Jenkins run native

  • Full Kogito testing (with cloud images and operator BDD testing)
    Please add comment: Jenkins run BDD
    This check should be used only if a big change is done as it takes time to run, need resources and one full BDD tests check can be done at a time ...

@evacchi
Copy link
Contributor Author

evacchi commented Apr 7, 2021

Integration tests for Quarkus currently all fail with a similar message:

[INFO] Running org.kie.kogito.integrationtests.quarkus.PMMLTreeTest
LogManager error of type WRITE_FAILURE: The delayed handler's queue was overrun and log record(s) were lost. Did you forget to configure logging?
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 8.453 s <<< FAILURE! - in org.kie.kogito.integrationtests.quarkus.PMMLTreeTest
[ERROR] testEvaluateSampleMineResult  Time elapsed: 0.007 s  <<< ERROR!
java.lang.RuntimeException: java.lang.NoSuchMethodException: io.quarkus.test.common.TestResourceManager.<init>(java.lang.Class, java.lang.Class, java.util.List, boolean)
	at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:669)
	at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:742)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.api.extension.InvocationInterceptor.interceptTestClassConstructor(InvocationInterceptor.java:72)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:77)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestClassConstructor(ClassBasedTestDescriptor.java:342)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateTestClass(ClassBasedTestDescriptor.java:289)
	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.instantiateTestClass(ClassTestDescriptor.java:79)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:267)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$2(ClassBasedTestDescriptor.java:259)
	at java.base/java.util.Optional.orElseGet(Optional.java:369)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$3(ClassBasedTestDescriptor.java:258)
	at org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:101)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:100)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:65)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$1(NodeTestTask.java:111)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:111)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:79)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220)
	at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188)
	at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: java.lang.NoSuchMethodException: io.quarkus.test.common.TestResourceManager.<init>(java.lang.Class, java.lang.Class, java.util.List, boolean)
	at java.base/java.lang.Class.getConstructor0(Class.java:3349)
	at java.base/java.lang.Class.getConstructor(Class.java:2151)
	at io.quarkus.test.junit.QuarkusTestExtension.doJavaStart(QuarkusTestExtension.java:319)
	at io.quarkus.test.junit.QuarkusTestExtension.ensureStarted(QuarkusTestExtension.java:638)
	at io.quarkus.test.junit.QuarkusTestExtension.beforeAll(QuarkusTestExtension.java:684)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$8(ClassBasedTestDescriptor.java:368)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeBeforeAllCallbacks(ClassBasedTestDescriptor.java:368)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:192)
	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:78)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:136)
	... 31 more

[INFO] Running org.kie.kogito.integrationtests.quarkus.PMMLRegressionTest
[WARNING] Tests run: 2, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0 s - in org.kie.kogito.integrationtests.quarkus.PMMLRegressionTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   PMMLTreeTest.testEvaluateSampleMineResult » Runtime java.lang.NoSuchMethodExce...
[INFO] 
[ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 3

failing:

[INFO] Kogito :: Quarkus Extension :: Integration Tests ... FAILURE [ 12.301 s]
[INFO] Kogito :: Quarkus Extension :: Integration Tests (Hot Reload) FAILURE [ 17.237 s]
[INFO] Kogito :: Quarkus Extension :: Integration Tests (Maven devmode) FAILURE [03:07 min]
[INFO] Kogito :: Quarkus Rules Extension :: Integration Tests FAILURE [  9.227 s]
[INFO] Kogito :: Quarkus Rules Extension :: Integration Tests (Hot Reload) FAILURE [ 21.034 s]
[INFO] Kogito :: Quarkus Rules Extension :: Integration Tests (SessionUnit API) FAILURE [  9.493 s]
[INFO] Kogito :: Quarkus Rules Extension :: Integration Tests (KieSession API) FAILURE [  8.778 s]
[INFO] Kogito :: Quarkus Decisions Extension :: Integration Tests FAILURE [ 12.562 s]
[INFO] Kogito :: Quarkus Decicions Extension :: Integration Tests (Hot Reload) FAILURE [ 19.455 s]
[INFO] Kogito :: Quarkus Predictions Extension :: Integration Tests FAILURE [  9.381 s]
[INFO] Kogito :: Add-Ons .................................. SUCCESS [  0.022 s]
[INFO] Kogito :: Add-Ons :: Events ........................ SUCCESS [  0.025 s]
[INFO] Kogito :: Add-Ons :: Events :: Knative Eventing .... FAILURE [  6.305 s]
[INFO] Kogito :: Add-Ons :: Cloud Events .................. SUCCESS [  0.019 s]
[INFO] Kogito :: Add-Ons :: CloudEvents :: Common ......... SUCCESS [  0.124 s]
[INFO] Kogito :: Add-Ons :: CloudEvents :: Utils .......... SUCCESS [  3.242 s]
[INFO] Kogito :: Add-Ons :: CloudEvents :: Quarkus ........ SUCCESS [  2.042 s]
[INFO] Kogito :: Quarkus Workflows Extension .............. SUCCESS [  0.031 s]
[INFO] Kogito :: Quarkus Workflows Extension :: Runtime ... SUCCESS [  2.459 s]
[INFO] Kogito :: Quarkus Workflows Extension :: Deployment  SUCCESS [  0.792 s]
[INFO] Kogito :: Quarkus Workflows Extension :: Integration Tests FAILURE [ 15.753 s]
[INFO] Kogito :: Maven Archetypes ......................... SUCCESS [  0.025 s]
[INFO] Kogito :: Maven Archetypes :: SpringBoot ........... SUCCESS [ 29.713 s]
[INFO] Kogito :: Maven Archetypes :: Quarkus .............. SUCCESS [ 37.965 s]
[INFO] Kogito :: Add-Ons :: Persistence ................... SUCCESS [  0.032 s]
[INFO] Kogito :: Add-Ons :: Persistence :: Protobuf Common  SUCCESS [  2.096 s]
[INFO] Kogito :: Add-Ons :: Persistence :: Infinispan ..... FAILURE [01:17 min]
[INFO] Kogito :: Add-Ons :: Persistence :: Infinispan Health Check for Quarkus FAILURE [  8.892 s]
[INFO] Kogito :: Add-Ons :: Persistence :: File System .... SUCCESS [  2.690 s]
[INFO] Kogito :: Add-Ons :: Persistence :: MongoDB ........ SUCCESS [ 22.435 s]
[INFO] Kogito :: Add-Ons :: Persistence :: Kafka Streams .. SUCCESS [ 38.031 s]
[INFO] Kogito :: Add-Ons :: Persistence :: PostgreSQL ..... SUCCESS [ 25.900 s]
[INFO] Kogito :: Add-Ons :: CloudEvents :: Quarkus (ITs) .. FAILURE [ 16.877 s]
[INFO] Kogito :: Add-Ons :: CloudEvents :: Spring Boot .... SUCCESS [  0.243 s]
[INFO] Kogito :: Add-Ons :: CloudEvents :: Spring Boot (ITs) FAILURE [ 41.502 s]
[INFO] Kogito :: Add-Ons :: Events :: Event-Driven Decisions SUCCESS [  0.030 s]
....
[INFO] Kogito :: Add-Ons :: Tracing :: Common ............. SUCCESS [  4.352 s]
[INFO] Kogito :: Add-Ons :: Explainability :: Quarkus Addon FAILURE [  7.706 s]
[INFO] Kogito :: Add-Ons :: Tracing :: Quarkus Addon ...... SUCCESS [  4.091 s]
...
[INFO] Kogito :: Integration Tests ........................ SUCCESS [  0.025 s]
[INFO] Kogito :: Integration Tests :: Quarkus :: Rules .... FAILURE [  7.372 s]
[INFO] Kogito :: Integration Tests :: Quarkus :: Processes  FAILURE [ 12.855 s]
[INFO] Kogito :: Integration Tests :: Quarkus :: Decisions  FAILURE [  8.581 s]
[INFO] Kogito :: Integration Tests :: Quarkus :: Predictions FAILURE [ 10.724 s]
[INFO] Kogito :: Integration Tests :: SpringBoot .......... FAILURE [01:10 min]
[INFO] Kogito :: Integration Tests :: Maven Plugin ........ FAILURE [  7.927 s]

@evacchi evacchi marked this pull request as draft April 7, 2021 13:24
@evacchi
Copy link
Contributor Author

evacchi commented Apr 7, 2021

blocked by quarkusio/quarkus#16138 -- will wait to Quarkus 1.13.1

@kie-ci
Copy link
Contributor

kie-ci commented Apr 7, 2021

The Linux check has failed. Please check the logs.

@kie-ci
Copy link
Contributor

kie-ci commented Apr 8, 2021

The Linux check has failed. Please check the logs.

@evacchi evacchi changed the title Bump Quarkus 1.13.0 Bump Quarkus 1.13.1 Apr 9, 2021
@evacchi
Copy link
Contributor Author

evacchi commented Apr 9, 2021

jenkins please retest this 😞

@kie-ci
Copy link
Contributor

kie-ci commented Apr 9, 2021

The Linux check has failed. Please check the logs.

@evacchi
Copy link
Contributor Author

evacchi commented Apr 12, 2021

@cristianonicolai this build is failing due to an auth error -- I think they changed something there https://rhba-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/KIE/job/kogito/job/pullrequest/job/kogito-runtimes/927/display/redirect

@evacchi evacchi changed the title Bump Quarkus 1.13.1 KOGITO-4887 Bump Quarkus 1.13.1 Apr 12, 2021
@kie-ci
Copy link
Contributor

kie-ci commented Apr 12, 2021

The Linux check has failed. Please check the logs.

@cristianonicolai
Copy link
Contributor

jenkins please retest this

@kie-ci
Copy link
Contributor

kie-ci commented Apr 13, 2021

The Linux check has failed. Please check the logs.

@evacchi
Copy link
Contributor Author

evacchi commented Apr 13, 2021

jenkins please retest this

@evacchi evacchi closed this Apr 13, 2021
@evacchi evacchi reopened this Apr 13, 2021
@evacchi
Copy link
Contributor Author

evacchi commented Apr 13, 2021

jenkins retest this

@mbiarnes
Copy link
Contributor

Jenkins retest this

1 similar comment
@mbiarnes
Copy link
Contributor

Jenkins retest this

@evacchi evacchi closed this Apr 13, 2021
@evacchi evacchi reopened this Apr 13, 2021
@evacchi evacchi marked this pull request as ready for review April 13, 2021 08:28
@mbiarnes
Copy link
Contributor

Jenkins retest this

2 similar comments
@mbiarnes
Copy link
Contributor

Jenkins retest this

@evacchi
Copy link
Contributor Author

evacchi commented Apr 14, 2021

Jenkins retest this

@kie-ci
Copy link
Contributor

kie-ci commented Apr 14, 2021

The Linux check has failed. Please check the logs.

@evacchi
Copy link
Contributor Author

evacchi commented Apr 29, 2021

@phillip-kruger

❯ mvn -pl jitexecutor dependency:tree -amd |egrep 'open-?api'
[INFO] +- org.kie:kie-dmn-openapi:jar:7.52.0.Final:compile
[INFO] |  +- io.smallrye:smallrye-open-api-core:jar:2.0.26:compile
[INFO] |  +- org.eclipse.microprofile.openapi:microprofile-openapi-api:jar:1.1.2:compile
[INFO] |  +- org.kie:kie-dmn-openapi:jar:7.52.0.Final:compile
[INFO] |  |  +- io.smallrye:smallrye-open-api-core:jar:2.0.26:compile
[INFO] |  |  +- org.eclipse.microprofile.openapi:microprofile-openapi-api:jar:1.1.2:compile

@phillip-kruger
Copy link

I think that is the issue. MP should be 1.1.3-RC1

@phillip-kruger
Copy link

@geoand
Copy link

geoand commented Apr 29, 2021

@geoand - looks like the same one we had a while ago. That was fixed by upgrading the MP OpenAPI version with a classloader fix. @evacchi What version of SR OpenAPI and MP OpenAPI is used ?

Thanks for checking!

@evacchi
Copy link
Contributor Author

evacchi commented Apr 29, 2021

I am always so confused about Maven resolution rules. I would expect the upstream version would win

@evacchi
Copy link
Contributor Author

evacchi commented Apr 29, 2021

ugh

❯ mvn -amd -pl jitexecutor dependency:tree -Dverbose
...
[INFO] |  +- org.kie:kie-dmn-openapi:jar:7.52.0.Final:compile
[INFO] |  |  +- io.smallrye:smallrye-open-api-core:jar:2.0.26:compile (version managed from 2.0.22)
[INFO] |  |  |  +- (org.eclipse.microprofile.openapi:microprofile-openapi-api:jar:1.1.3-RC1:compile - omitted for conflict with 1.1.2)

@phillip-kruger
Copy link

Maybe because it's an RC release ?

@kie-ci
Copy link
Contributor

kie-ci commented Apr 29, 2021

The Linux check has failed. Please check the logs.

@evacchi
Copy link
Contributor Author

evacchi commented Apr 29, 2021

jenkins please retest this 📿

@xieshenzh
Copy link
Contributor

  • @cristianonicolai @xieshenzh MongoDB-related issues. I am respinning the build for some of these, as it looks like there are some timeouts. But there are also "NoSuchMethodError"s -- weird because I don't seem to have upgraded mongo

@evacchi I cannot reproduce the issue. It seems the mongodb tests passed for the latest build.

@kie-ci
Copy link
Contributor

kie-ci commented Apr 29, 2021

The Linux check has failed. Please check the logs.

@evacchi
Copy link
Contributor Author

evacchi commented Apr 29, 2021

and the fun continues on examples, still mongodb

java.lang.NoSuchMethodError: 'com.mongodb.internal.operation.ExplainableReadOperation com.mongodb.internal.operation.SyncOperations.find(org.bson.conversions.Bson, java.lang.Class, com.mongodb.internal.client.model.FindOptions)'

@geoand
Copy link

geoand commented Apr 29, 2021

Seems like the mongo driver changed stuff

@evacchi
Copy link
Contributor Author

evacchi commented Apr 29, 2021

Seems like the mongo driver changed stuff

don't worry @geoand it's on our Spring backend. Quarkus seems to be sorted out. Thx

@geoand
Copy link

geoand commented Apr 29, 2021

Coolio :)

@evacchi
Copy link
Contributor Author

evacchi commented Apr 29, 2021

so, it looks like the Spring boot version we are using does not support mongodb 4.2.3 yet

-    <version.org.mongo>4.1.0</version.org.mongo>
+    <version.org.mongo>4.2.3</version.org.mongo>

@evacchi
Copy link
Contributor Author

evacchi commented Apr 29, 2021

@xieshenzh yes they passed because I upgraded the MongoDB version with Quarkus' however, now Spring fails :/ I am putting an override and creating https://issues.redhat.com/browse/KOGITO-5031 /cc @cristianonicolai

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@xieshenzh
Copy link
Contributor

@xieshenzh yes they passed because I upgraded the MongoDB version with Quarkus' however, now Spring fails :/ I am putting an override and creating https://issues.redhat.com/browse/KOGITO-5031 /cc @cristianonicolai

@evacchi there is a PR for dependencies management improvement: https://github.com/kiegroup/kogito-runtimes/pull/1210. It seems the PR is supposed to fix this issue.

@kie-ci
Copy link
Contributor

kie-ci commented Apr 29, 2021

The Linux check is successful.

@evacchi evacchi merged commit 837f7a9 into apache:master Apr 30, 2021
@evacchi evacchi deleted the quarkus-1.13 branch February 16, 2022 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants