You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quarkus project compilation fails when && is present in path - e.g. 'RHEL8 && large'
I have Jenkins matrix job running on RHEL 8 slaves with large size and Quarkus compilation fails.
Reproducer:
mkdir 'RHEL8 && large'
cd 'RHEL8 && large'
git clone [email protected]:quarkusio/quarkus.git
cd quarkus
mvn clean install -DskipTests -DskipITs -DskipDocs
Quite interesting observation is that the build passes when only the extensions/grpc/runtime module is picked, but it fails when extensions/grpc or full build is executed
[INFO] ----------------------< io.quarkus:quarkus-grpc >-----------------------
[INFO] Building Quarkus - gRPC - Runtime 999-SNAPSHOT [278/646]
[INFO] --------------------------------[ jar ]---------------------------------
...
[INFO] --- protobuf-maven-plugin:0.6.1:compile (compile) @ quarkus-grpc ---
[INFO] Building protoc plugin: quarkus-grpc-protoc-plugin
[INFO] Compiling 2 proto file(s) to /Users/rsvoboda/tmp/RHEL8 && large/quarkus/extensions/grpc/runtime/target/generated-sources/protobuf/java
[ERROR] PROTOC FAILED: Error: Could not find or load main class &&
Caused by: java.lang.ClassNotFoundException: &&
--quarkus-grpc-protoc-plugin_out: protoc-gen-quarkus-grpc-protoc-plugin: Plugin failed with status code 1.
[ERROR] /Users/rsvoboda/tmp/RHEL8 && large/quarkus/extensions/grpc/runtime/src/main/proto/health/v1/health.proto [0:0]: Error: Could not find or load main class &&
Caused by: java.lang.ClassNotFoundException: &&
--quarkus-grpc-protoc-plugin_out: protoc-gen-quarkus-grpc-protoc-plugin: Plugin failed with status code 1.
[ERROR] /Users/rsvoboda/tmp/RHEL8 && large/quarkus/extensions/grpc/runtime/src/main/proto/reflection/v1alpha/reflection.proto [0:0]: Error: Could not find or load main class &&
Caused by: java.lang.ClassNotFoundException: &&
--quarkus-grpc-protoc-plugin_out: protoc-gen-quarkus-grpc-protoc-plugin: Plugin failed with status code 1.
The text was updated successfully, but these errors were encountered:
This scenario is side effect of our Jenkins setup :) Executor nodes has several labels and I created matrix job to run some Quarkus tests on nodes defined by combination of the labels.
Quarkus project compilation fails when && is present in path - e.g. 'RHEL8 && large'
I have Jenkins matrix job running on RHEL 8 slaves with large size and Quarkus compilation fails.
Reproducer:
Quite interesting observation is that the build passes when only the
extensions/grpc/runtime
module is picked, but it fails whenextensions/grpc
or full build is executedDetails:
The text was updated successfully, but these errors were encountered: