The pact contract test for protobuf is running ins...
# protobufs
s
The pact contract test for protobuf is running inside a container, the setup is absolutely fine and proper PACT_PLUGIN_DIR is set. The same test running fine without container, while running inside container the test is not getting protobuf plugin, Could some one help on this
Copy code
26-03-2023 19:33:22.140 [main] ERROR au.com.dius.pact.consumer.dsl.PactBuilder.100 - Plugin process did not output the correct startup message in 10000 ms - got null
26-03-2023 19:33:32.308 [main] ERROR au.com.dius.pact.consumer.dsl.PactBuilder.100 - Plugin process did not output the correct startup message in 10000 ms - got null
[ERROR] Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 21.991 s <<< FAILURE! - in com.hpe.gravity.clientstats.ctest.ApplicationCTest
[ERROR] consumeConfigureClientStateMessage{AsynchronousMessage}  Time elapsed: 11.769 s  <<< ERROR!
org.junit.jupiter.api.extension.ParameterResolutionException: Failed to resolve parameter [au.com.dius.pact.core.model.V4Interaction$AsynchronousMessage message] in method [void com.hpe.gravity.clientstats.ctest.ApplicationCTest.consumeConfigureClientStateMessage(au.com.dius.pact.core.model.V4Interaction$AsynchronousMessage) throws com.google.protobuf.InvalidProtocolBufferException]: Plugin protobuf with version any was not found
        at com.hpe.gravity.clientstats.ctest.ApplicationCTest.configureClientStateMessage(ApplicationCTest.java:75)
u
Startup the container with a shell, and see if you can run the plugin executable
s
Thanks, we observed there was issued with the permission, after fixing it started working