New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 817065 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

"gclient runhooks" is flaky

Project Member Reported by chromium...@appspot.gserviceaccount.com, Feb 27 2018

Issue description

"gclient" is flaky.

This issue was created automatically by the chromium-try-flakes app. Please find the right owner to fix the respective test/step and assign this issue to them. If the step/test is not infrastructure-related (e.g. flaky test), please add Sheriff-Chromium label and change issue status to Untriaged. When done, please remove the issue from Trooper Bug Queue by removing the Infra-Troopers label.

We have detected 4 recent flakes. List of all flakes can be found at https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyEgsSBUZsYWtlIgdnY2xpZW50DA.

The chromium-try-flakes app is able to file bugs for individual tests when the test launcher is uploading results to the Test Results Server. If recent flakes above are caused by failing tests and you would like to have them filed as invidual bugs, please read more at https://goo.gl/QJKXV4.

This flaky test/step was previously tracked in  issue 739976 .
 
Cc: iannucci@chromium.org
Not sure who the right owner for this is. Adding +iannucci who appeared last in the history for gclient here: https://cs.chromium.org/chromium/tools/depot_tools/gclient 
Summary: "gclient runhooks" is flaky (was: "gclient" is flaky)
lol that's a wonderfully useless step grouping :D
Looks like the traceback is:

running '/b/swarming/w/ir/cache/vpython/d17a3a/bin/python src/third_party/depot_tools/download_from_google_storage.py --no_resume --no_auth --num_threads=4 --bucket chromium-tools-traffic_annotation -d src/tools/traffic_annotation/bin/linux64' in '/b/swarming/w/ir/cache/builder/chromium_presubmit'
Traceback (most recent call last):
  File "/b/swarming/w/ir/kitchen-checkout/scripts/slave/.recipe_deps/depot_tools/gclient.py", line 2930, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/b/swarming/w/ir/kitchen-checkout/scripts/slave/.recipe_deps/depot_tools/gclient.py", line 2916, in main
    return dispatcher.execute(OptionParser(), argv)
  File "/b/swarming/w/ir/kitchen-checkout/scripts/slave/.recipe_deps/depot_tools/subcommand.py", line 252, in execute
    return command(parser, args[1:])
  File "/b/swarming/w/ir/kitchen-checkout/scripts/slave/.recipe_deps/depot_tools/gclient.py", line 2765, in CMDrunhooks
    return client.RunOnDeps('runhooks', args)
  File "/b/swarming/w/ir/kitchen-checkout/scripts/slave/.recipe_deps/depot_tools/gclient.py", line 1658, in RunOnDeps
    self.RunHooksRecursively(self._options, pm)
  File "/b/swarming/w/ir/kitchen-checkout/scripts/slave/.recipe_deps/depot_tools/gclient.py", line 1158, in RunHooksRecursively
    hook.run(self.root.root_dir)
  File "/b/swarming/w/ir/kitchen-checkout/scripts/slave/.recipe_deps/depot_tools/gclient.py", line 229, in run
    cmd, cwd=cwd, always=self._verbose)
  File "/b/swarming/w/ir/kitchen-checkout/scripts/slave/.recipe_deps/depot_tools/gclient_utils.py", line 314, in CheckCallAndFilterAndHeader
    return CheckCallAndFilter(args, **kwargs)
  File "/b/swarming/w/ir/kitchen-checkout/scripts/slave/.recipe_deps/depot_tools/gclient_utils.py", line 525, in CheckCallAndFilter
    **kwargs)
  File "/b/swarming/w/ir/kitchen-checkout/scripts/slave/.recipe_deps/depot_tools/subprocess2.py", line 246, in __init__
    super(Popen, self).__init__(args, **kwargs)
  File "/b/swarming/w/ir/cipd_bin_packages/lib/python2.7/subprocess.py", line 390, in __init__
    errread, errwrite)
  File "/b/swarming/w/ir/cipd_bin_packages/lib/python2.7/subprocess.py", line 1024, in _execute_child
    child_exception = pickle.loads(data)
  File "/b/swarming/w/ir/cipd_bin_packages/lib/python2.7/pickle.py", line 1388, in loads
    return Unpickler(file).load()
  File "/b/swarming/w/ir/cipd_bin_packages/lib/python2.7/pickle.py", line 864, in load
    dispatch[key](self)
  File "/b/swarming/w/ir/cipd_bin_packages/lib/python2.7/pickle.py", line 977, in load_string
    self.append(rep.decode("string-escape"))
LookupError: unknown encoding: string-escape
step returned non-zero exit code: 1

This raises a lot of questions...
Not able to repro with the same cipd packages on my linux machine
Status: Fixed (was: Untriaged)
I think this was related to the recent swarming rollout/rollback of the fix_python_cmd changes. I don't see any currently failing builds: https://ci.chromium.org/p/chromium/builders/luci.chromium.try/chromium_presubmit

Sign in to add a comment