quarkus: Grpc Server QuarkusIntegrationTest fail

Describe the bug

I’m not completely sure if this is a bug.

I have a project that I am using quarkus with grpc server that bump to the latest version (2.0.2.Final), the run mvn clean install -Pnative, the test it fails with the error

[ERROR] com.xabe.quarkus.grpc.infrastructure.controller.CarGrpcControllerIT.givenACarIdWhenInvokeGetNavigateCarThenReturnErrorStream  Time elapsed: 0.009 s  <<< ERROR!
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

Expected behavior

I expected that executing mvn clean install -Pnative the test will pass without errors

Actual behavior

The build fails with the error:

2021-07-15 08:02:07,953 INFO  [com.xab.qua.grp.App] (main) Running main method
2021-07-15 08:02:12,982 DEBUG [io.qua.ver.cor.run.VertxCoreRecorder] (main) Vert.x Cache configured to: /var/folders/g_/j0pkgddx7zg53q2m_vgz141h0000gn/T/vertx-cache/2054993830346340011
2021-07-15 08:02:12,983 DEBUG [io.qua.ver.cor.run.VertxCoreRecorder] (main) Vertx has Native Transport Enabled: false
2021-07-15 08:02:12,984 DEBUG [io.qua.grp.run.GrpcServerRecorder] (vert.x-eventloop-thread-0) Registered gRPC service 'grpc.health.v1.Health'
2021-07-15 08:02:12,984 DEBUG [io.qua.grp.run.GrpcServerRecorder] (vert.x-eventloop-thread-0) Registered gRPC service 'com.xabe.CarEndPoint'
2021-07-15 08:02:12,984 INFO  [io.qua.grp.run.GrpcServerRecorder] (vert.x-eventloop-thread-0) Registering gRPC reflection service
2021-07-15 08:02:12,984 DEBUG [io.qua.grp.run.GrpcServerRecorder] (vert.x-eventloop-thread-0) Starting gRPC Server on 0.0.0.0:6566  [SSL enabled: false]...
2021-07-15 08:02:12,986 INFO  [io.qua.grp.run.GrpcServerRecorder] (vert.x-eventloop-thread-1) gRPC Server started on 0.0.0.0:6566 [SSL enabled: false]
2021-07-15 08:02:12,986 INFO  [ApplicationLifeCycle] (main) The application is starting with profile test
2021-07-15 08:02:12,988 INFO  [io.quarkus] (main) quarkus-grpc 1.0-SNAPSHOT native (powered by Quarkus 2.0.2.Final) started in 0.027s. Listening on: http://0.0.0.0:8009
2021-07-15 08:02:12,988 INFO  [io.quarkus] (main) Profile test activated.
2021-07-15 08:02:12,988 INFO  [io.quarkus] (main) Installed features: [cdi, config-yaml, grpc-server, resteasy-mutiny, smallrye-context-propagation, vertx]
[ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 3, Time elapsed: 11.894 s <<< FAILURE! - in com.xabe.quarkus.grpc.infrastructure.controller.CarGrpcControllerIT
[ERROR] com.xabe.quarkus.grpc.infrastructure.controller.CarGrpcControllerIT.givenACarIdWhenInvokeGetNavigateCarThenReturnErrorStream  Time elapsed: 0.009 s  <<< ERROR!
java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

How to Reproduce?

Link to a project

Steps to reproduce the behavior:

  1. cd quarkus-grpc
  2. mvn clean install -Pnative

Output of uname -a or ver

Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64

Output of java -version

openjdk version “11.0.10” 2021-01-19

GraalVM version (if different from Java)

OpenJDK Runtime Environment GraalVM CE 21.0.0 (build 11.0.10+8-jvmci-21.0-b06) OpenJDK 64-Bit Server VM GraalVM CE 21.0.0 (build 11.0.10+8-jvmci-21.0-b06, mixed mode, sharing)

Quarkus version or git rev

2.0.2.Final

Build tool (ie. output of mvnw --version or gradlew --version)

Java version: 11.0.10, vendor: GraalVM Community, runtime: /Users/chabir/.sdkman/candidates/java/21.0.0.r11-grl Default locale: es_ES, platform encoding: UTF-8 OS name: “mac os x”, version: “10.16”, arch: “x86_64”, family: “mac”

Additional information

Before it worked without problems with version 1.9.2.Final

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (9 by maintainers)

Most upvoted comments

I’ll increase the timeout and hopefully that will fix the issue