Google Cloud Build — under the hood

  • On the “gcloud client side”, seeing some lines of the output of the job that is running on the target (“neighbor”) VM.
  • The control plane dispatching the next step of the build job to the target (“neighbor”) VM (instead of the expected one)
  • BuildStatus
  • WorkerStatus
  • BuildLog
  • BuildSummary
  • CancelBuild
  • Diagnostics
2021/08/13 09:08:35 http2: Framer 0xc0005767e0: read HEADERS flags=END_HEADERS stream=49 len=282
2021/08/13 09:08:35 http2: decoded hpack field header field ":method" = "POST"
2021/08/13 09:08:35 http2: decoded hpack field header field ":scheme" = "http"
2021/08/13 09:08:35 http2: decoded hpack field header field ":path" = "/cloud.build.proto.worker.Worker/SetToken"
2021/08/13 09:08:35 http2: decoded hpack field header field ":authority" = "[2600:2d00:4020:3b0d:a8e:2e:0:0]:1232"
2021/08/13 09:08:35 http2: decoded hpack field header field "content-type" = "application/grpc"
2021/08/13 09:08:35 http2: decoded hpack field header field "user-agent" = "grpc-go/1.41.0-dev"
2021/08/13 09:08:35 http2: decoded hpack field header field "te" = "trailers"
2021/08/13 09:08:35 http2: decoded hpack field header field "grpc-timeout" = "59999924u"
2021/08/13 09:08:35 http2: decoded hpack field header field "x-goog-ext-18466903-bin" = "CiVlc3R1YnMvZ28vcHJvZC1nbG9iYWwuYXJnby1mb3JlbWFuQHVm"
2021/08/13 09:08:35 http2: decoded hpack field header field "x-goog-ext-208477678-bin" = ""
2021/08/13 09:08:35 http2: decoded hpack field header field "x-goog-ext-201154588-bin" = "CPfK4IS5rdniPQ"
2021/08/13 09:08:35 http2: decoded hpack field header field "ssa-operation-client" = "DirectPath:Go"
2021/08/13 09:08:35 http2: decoded hpack field header field "ssa-rpc-method" = "/cloud.build.proto.worker.Worker/SetToken"
2021/08/13 09:08:35 http2: decoded hpack field header field "ssa-rpc-id" = "3c9e488f-4a69-4a0d-8de3-c72ec585cd05"
2021/08/13 09:08:35 http2: decoded hpack field header field "grpc-tags-bin" = ""
2021/08/13 09:08:35 http2: decoded hpack field header field "grpc-trace-bin" = "AAC7+0n8L7E4tgAAAAAAAAAAAaj2l+PjUKa5AgD8gAAA4f0AAAAA/gPKjwSKf2tN"
2021/08/13 09:08:35 http2: Framer 0xc0005767e0: read DATA flags=END_STREAM stream=49 len=1150 data="\x00\x00\x00\x04y\n\xf6\b\n\xde\aya29.c.KnIMCFcQw8K9amSMNZiUyFnhBzTGG23KjPWKZdpEhBPDEjh5eX_NQbgu5Oi181kwOpeXDVaGlKeN_9Xu6fNqZDXtobye0_5Pk0TWw9-mO3ttllTk8tCwN1Il9PNaZgFgPXGcmCEake3M92Ml6L3S3zZDdm4..................................................................................." (894 bytes omitted)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Imre Rad

Imre Rad

61 Followers

Software developer daytime, security researcher in freetime