Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36be361d authored by Kousik Kumar's avatar Kousik Kumar Committed by Automerger Merge Worker
Browse files

Print the output from RBE bootstrap shutdown am: 91a46d0e am: 1f3a7f6c am: 6874a5b8

Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/14371203

Change-Id: I8fb3c7bd539172992352ff186166ea3e889e2d7c
parents 5b1970e5 6874a5b8
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -87,9 +87,15 @@ func startRBE(ctx Context, config Config) {

func stopRBE(ctx Context, config Config) {
	cmd := Command(ctx, config, "stopRBE bootstrap", rbeCommand(ctx, config, bootstrapCmd), "-shutdown")
	if output, err := cmd.CombinedOutput(); err != nil {
	output, err := cmd.CombinedOutput()
	if err != nil {
		ctx.Fatalf("rbe bootstrap with shutdown failed with: %v\n%s\n", err, output)
	}

	if len(output) > 0 {
		fmt.Fprintln(ctx.Writer, "")
		fmt.Fprintln(ctx.Writer, fmt.Sprintf("%s", output))
	}
}

// DumpRBEMetrics creates a metrics protobuf file containing RBE related metrics.