diff options
Diffstat (limited to 'infra/bots')
4 files changed, 4 insertions, 77 deletions
diff --git a/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Win-Clang-x86_64-Debug-GomaNoFallback.json b/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Win-Clang-x86_64-Debug-GomaNoFallback.json index 2611037a3d..80b8693996 100644 --- a/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Win-Clang-x86_64-Debug-GomaNoFallback.json +++ b/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Win-Clang-x86_64-Debug-GomaNoFallback.json @@ -172,7 +172,7 @@ "python", "-u", "goma_ctl.py", - "stop" + "ensure_stop" ], "cwd": "[CACHE]/goma", "env": { @@ -189,30 +189,6 @@ "name": "stop goma" }, { - "cmd": [ - "python", - "-u", - "import time; time.sleep(2)" - ], - "cwd": "[CACHE]/goma", - "env": { - "BUILDTYPE": "Debug_x64", - "CHROME_HEADLESS": "1", - "GOMA_FALLBACK": "0", - "GOMA_HERMETIC": "error", - "GOMA_SERVICE_ACCOUNT_JSON_FILE": "[START_DIR]/tmp/jwt_service_account_goma-client.json", - "GOMA_USE_LOCAL": "0", - "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", - "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]/skia/out/Build-Win-Clang-x86_64-Debug-GomaNoFallback" - }, - "infra_step": true, - "name": "wait for goma_ctl stop", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import time; time.sleep(2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { "name": "$result", "recipe_result": null, "status_code": 0 diff --git a/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Win-Clang-x86_64-Release-ANGLE_Goma.json b/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Win-Clang-x86_64-Release-ANGLE_Goma.json index 51e8c81440..e3705f1ede 100644 --- a/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Win-Clang-x86_64-Release-ANGLE_Goma.json +++ b/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Win-Clang-x86_64-Release-ANGLE_Goma.json @@ -160,7 +160,7 @@ "python", "-u", "goma_ctl.py", - "stop" + "ensure_stop" ], "cwd": "[CACHE]/goma", "env": { @@ -174,27 +174,6 @@ "name": "stop goma" }, { - "cmd": [ - "python", - "-u", - "import time; time.sleep(2)" - ], - "cwd": "[CACHE]/goma", - "env": { - "BUILDTYPE": "Release_x64", - "CHROME_HEADLESS": "1", - "GOMA_SERVICE_ACCOUNT_JSON_FILE": "[START_DIR]/tmp/jwt_service_account_goma-client.json", - "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", - "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]/skia/out/Build-Win-Clang-x86_64-Release-ANGLE_Goma" - }, - "infra_step": true, - "name": "wait for goma_ctl stop", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import time; time.sleep(2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { "name": "$result", "recipe_result": null, "status_code": 0 diff --git a/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Win-Clang-x86_64-Release-Goma.json b/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Win-Clang-x86_64-Release-Goma.json index 0999cc537f..53daade380 100644 --- a/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Win-Clang-x86_64-Release-Goma.json +++ b/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Win-Clang-x86_64-Release-Goma.json @@ -160,7 +160,7 @@ "python", "-u", "goma_ctl.py", - "stop" + "ensure_stop" ], "cwd": "[CACHE]/goma", "env": { @@ -174,27 +174,6 @@ "name": "stop goma" }, { - "cmd": [ - "python", - "-u", - "import time; time.sleep(2)" - ], - "cwd": "[CACHE]/goma", - "env": { - "BUILDTYPE": "Release_x64", - "CHROME_HEADLESS": "1", - "GOMA_SERVICE_ACCOUNT_JSON_FILE": "[START_DIR]/tmp/jwt_service_account_goma-client.json", - "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", - "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]/skia/out/Build-Win-Clang-x86_64-Release-Goma" - }, - "infra_step": true, - "name": "wait for goma_ctl stop", - "~followup_annotations": [ - "@@@STEP_LOG_LINE@python.inline@import time; time.sleep(2)@@@", - "@@@STEP_LOG_END@python.inline@@@" - ] - }, - { "name": "$result", "recipe_result": null, "status_code": 0 diff --git a/infra/bots/recipe_modules/flavor/gn_flavor.py b/infra/bots/recipe_modules/flavor/gn_flavor.py index 41965932e7..115cb2aaff 100644 --- a/infra/bots/recipe_modules/flavor/gn_flavor.py +++ b/infra/bots/recipe_modules/flavor/gn_flavor.py @@ -262,14 +262,7 @@ with open(sys.argv[1], 'w') as f: script='goma_ctl.py', args=['stat'], infra_step=True, abort_on_failure=False, fail_build_on_failure=False) self.m.run(self.m.python, 'stop goma', - script='goma_ctl.py', args=['stop'], infra_step=True, - abort_on_failure=False, fail_build_on_failure=False) - # Hack: goma_ctl stop is asynchronous, so the process often does not - # stop before the recipe exits, which causes Swarming to freak out. - # Wait a couple seconds for it to exit normally. - # TODO(dogben): Remove after internal b/72128121 is resolved. - self.m.run(self.m.python.inline, 'wait for goma_ctl stop', - program="""import time; time.sleep(2)""", + script='goma_ctl.py', args=['ensure_stop'], infra_step=True, abort_on_failure=False, fail_build_on_failure=False) |