Skip to content

Commit

Permalink
Workaround js-dsl fails on GraalVM 22.3/Quarkus 2.14.1 apache/camel-q…
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Nov 22, 2022
1 parent a9fb018 commit 9285d8f
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 12 deletions.
2 changes: 1 addition & 1 deletion generated-platform-project/quarkus-camel/bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11112,7 +11112,7 @@
<dependency>
<groupId>org.graalvm.js</groupId>
<artifactId>js</artifactId>
<version>22.2.0</version>
<version>22.3.0</version>
</dependency>
<dependency>
<groupId>org.influxdb</groupId>
Expand Down
4 changes: 2 additions & 2 deletions generated-platform-project/quarkus-universe/bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23255,7 +23255,7 @@
<dependency>
<groupId>org.graalvm.js</groupId>
<artifactId>js</artifactId>
<version>22.2.0</version>
<version>22.3.0</version>
</dependency>
<dependency>
<groupId>org.graalvm.nativeimage</groupId>
Expand All @@ -23272,7 +23272,7 @@
<dependency>
<groupId>org.graalvm.sdk</groupId>
<artifactId>graal-sdk</artifactId>
<version>22.2.0</version>
<version>22.3.0</version>
</dependency>
<dependency>
<groupId>org.hdrhistogram</groupId>
Expand Down
2 changes: 1 addition & 1 deletion generated-platform-project/quarkus/bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8531,7 +8531,7 @@
<dependency>
<groupId>org.graalvm.sdk</groupId>
<artifactId>graal-sdk</artifactId>
<version>22.2.0</version>
<version>22.3.0</version>
</dependency>
<dependency>
<groupId>org.hdrhistogram</groupId>
Expand Down
32 changes: 24 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@
<quarkus.version>2.14.0.Final</quarkus.version>
<quarkus-bom.version>${quarkus.version}</quarkus-bom.version>

<!-- Workaround for https://github.com/apache/camel-quarkus/issues/4285
Remove once Camel Quarkus manages the same version of org.graalvm.js:js
as ${graalvm.version} in Quarkus -->
<graalvm.version>22.3.0</graalvm.version>

<camel-quarkus.version>2.14.0</camel-quarkus.version>
<camel-quarkus-test-list.version>${camel-quarkus.version}</camel-quarkus-test-list.version>

Expand Down Expand Up @@ -182,6 +187,11 @@
<dependency>io.quarkiverse.vault:quarkus-vault:${quarkus-vault.version}</dependency>
<dependency>io.quarkiverse.vault:quarkus-vault-deployment:${quarkus-vault.version}</dependency>
<dependency>io.quarkiverse.vault:quarkus-vault-model:${quarkus-vault.version}</dependency>

<!-- Workaround for https://github.com/apache/camel-quarkus/issues/4285
Remove once Camel Quarkus manages the same version of org.graalvm.js:js
as ${graalvm.version} in Quarkus -->
<dependency>org.graalvm.sdk:graal-sdk:${graalvm.version}</dependency>
</dependencyManagement>
<extensionGroupIds>
<groupId>io.quarkus</groupId>
Expand Down Expand Up @@ -295,25 +305,25 @@
<artifact>org.kie.kogito:integration-tests-quarkus-rules:${kogito-quarkus.version}</artifact>
</test>
<test>
<!--
Problem in https://github.com/kiegroup/kogito-runtimes/blob/d8fda957a793c4007f92156ccd4eb5d33cd51977/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions-integration-test/src/test/java/org/kie/kogito/quarkus/dmn/KogitoDMNCodeCodestartIT.java#L63
<!--
Problem in https://github.com/kiegroup/kogito-runtimes/blob/d8fda957a793c4007f92156ccd4eb5d33cd51977/quarkus/extensions/kogito-quarkus-decisions-extension/kogito-quarkus-decisions-integration-test/src/test/java/org/kie/kogito/quarkus/dmn/KogitoDMNCodeCodestartIT.java#L63
2022-09-01T13:31:50.5121621Z [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 43.054 s <<< FAILURE! - in org.kie.kogito.quarkus.dmn.KogitoDMNCodeCodestartIT 2022-09-01T13:31:50.5121621Z [ERROR] testContent Time elapsed: 0.07 s <<< ERROR! 2022-09-01T13:31:50.5122239Z java.lang.NullPointerException 2022-09-01T13:31:50.5123228Z at org.kie.kogito.quarkus.dmn.KogitoDMNCodeCodestartIT.testContent(KogitoDMNCodeCodestartIT.java:63) -->
<excluded>true</excluded>
<packageApplication>true</packageApplication>
<artifact>org.kie.kogito:kogito-quarkus-decisions-integration-test:${kogito-quarkus.version}</artifact>
</test>
<test>
<!--
2022-09-01T13:35:02.5384549Z [INFO]
<!--
2022-09-01T13:35:02.5384549Z [INFO]
2022-09-01T13:35:02.5390848Z [INFO] Results:
2022-09-01T13:35:02.5407095Z [INFO]
2022-09-01T13:35:02.5407743Z [ERROR] Failures:
2022-09-01T13:35:02.5407095Z [INFO]
2022-09-01T13:35:02.5407743Z [ERROR] Failures:
2022-09-01T13:35:02.5409306Z [ERROR] CustomEndpointIT.testHelloEndpoint:43 1 expectation failed.
2022-09-01T13:35:02.5409920Z Expected status code <200> but was <500>.
2022-09-01T13:35:02.5410746Z
2022-09-01T13:35:02.5410746Z
2022-09-01T13:35:02.5411186Z [ERROR] PMMLRegressionIT.testEvaluateLinRegDescriptive:49 1 expectation failed.
2022-09-01T13:35:02.5412206Z Expected status code <200> but was <500>.
2022-09-01T13:35:02.5412561Z
2022-09-01T13:35:02.5412561Z
2022-09-01T13:35:02.5413380Z [ERROR] PMMLRegressionIT.testEvaluateLinRegResult:42 1 expectation failed.
2022-09-01T13:35:02.5413971Z Expected status code <200> but was <500>.
2022-09-01T13:35:02.0673251Z Caused by: org.kie.pmml.api.exceptions.KiePMMLException: Wrong number of model(s) with name 'LinReg': 0
Expand Down Expand Up @@ -456,6 +466,12 @@
<artifact>org.apache.camel.quarkus:camel-quarkus-integration-test-kudu:${camel-quarkus-test-list.version}</artifact>
</test>
</tests>
<dependencyManagement>
<!-- Workaround for https://github.com/apache/camel-quarkus/issues/4285
Remove once Camel Quarkus manages the same version of org.graalvm.js:js
as ${graalvm.version} in Quarkus -->
<dependency>org.graalvm.js:js:${graalvm.version}</dependency>
</dependencyManagement>
</member>
<member>
<name>Hazelcast</name>
Expand Down

0 comments on commit 9285d8f

Please sign in to comment.