Trying to start the Gcloud Pub/Sub emulator that will be required for some of my tests, set up like this :
- run: command: gcloud beta emulators pubsub start background: true
Unfortunately I’m getting the infamous “Step was canceled” error and the step color is dark gray.
The emulator seems to start up just fine : I’m not sure if “step canceled” is a normal thing to see for backgrounded steps once the build has finished, or if there really is a problem (our tests are not using the emulator yet and I haven’t yet tried to connect to it, but I’d like to be ready for when we do need it)
#!/bin/bash -eo pipefail gcloud beta emulators pubsub start Executing: /usr/lib/google-cloud-sdk/platform/pubsub-emulator/bin/cloud-pubsub-emulator --host=localhost --port=8085 [pubsub] This is the Google Pub/Sub fake. [pubsub] Implementation may be incomplete or differ from the real system. [pubsub] Jan 23, 2018 1:35:23 PM com.google.cloud.pubsub.testing.v1.Main main [pubsub] INFO: IAM integration is disabled. IAM policy methods and ACL checks are not supported [pubsub] Jan 23, 2018 1:35:23 PM io.gapi.emulators.netty.NettyUtil applyJava7LongHostnameWorkaround [pubsub] INFO: Applied Java 7 long hostname workaround. [pubsub] Jan 23, 2018 1:35:23 PM com.google.cloud.pubsub.testing.v1.Main main [pubsub] INFO: Server started, listening on 8085 Step was canceled