Trying to run wpt tests with the Chrome browser fails with CalledProcessError: Command '['git', 'log', '--format=%D', '--max-count=50']' returned non-zero exit status 128
Categories
(Testing :: web-platform-tests, defect)
Tracking
(Not tracked)
People
(Reporter: whimboo, Unassigned)
Details
I'm using a hg checkout of mozilla-central, and was trying to run the following command:
% mach wpt --product chrome
It failed immediately with the following error message:
CalledProcessError: Command '['git', 'log', '--format=%D', '--max-count=50']' returned non-zero exit status 128
File "/Volumes/data/code/gecko/testing/web-platform/mach_commands.py", line 386, in run_wpt
return self.run_web_platform_tests(**params)
File "/Volumes/data/code/gecko/testing/web-platform/mach_commands.py", line 378, in run_web_platform_tests
return wpt_runner.run(logger, **params)
File "/Volumes/data/code/gecko/testing/web-platform/mach_commands_base.py", line 40, in run
result = wptrunner.start(**kwargs)
File "/Volumes/data/code/gecko/testing/web-platform/tests/tools/wptrunner/wptrunner/wptrunner.py", line 339, in start
return not run_tests(**kwargs)
File "/Volumes/data/code/gecko/testing/web-platform/tests/tools/wptrunner/wptrunner/wptrunner.py", line 159, in run_tests
**kwargs)
File "/Volumes/data/code/gecko/testing/web-platform/tests/tools/wptrunner/wptrunner/wptrunner.py", line 57, in get_loader
manifest_download=kwargs["manifest_download"]).load()
File "/Volumes/data/code/gecko/testing/web-platform/tests/tools/wptrunner/wptrunner/testloader.py", line 395, in load
**paths)
File "/Volumes/data/code/gecko/testing/web-platform/tests/tools/wptrunner/wptrunner/testloader.py", line 404, in load_manifest
download_from_github(manifest_path, tests_path)
File "/Volumes/data/code/gecko/testing/web-platform/tests/tools/manifest/download.py", line 131, in download_from_github
force=force)
File "/Volumes/data/code/gecko/testing/web-platform/tests/tools/manifest/download.py", line 80, in download_manifest
tags = tags_func()
File "/Volumes/data/code/gecko/testing/web-platform/tests/tools/manifest/download.py", line 130, in <lambda>
return download_manifest(path, lambda: merge_pr_tags(tests_root), github_url,
File "/Volumes/data/code/gecko/testing/web-platform/tests/tools/manifest/download.py", line 39, in merge_pr_tags
for line in git("log", "--format=%D", "--max-count=%s" % max_count).split("\n"):
File "/Volumes/data/code/gecko/testing/web-platform/tests/tools/manifest/vcs.py", line 50, in git
return subprocess.check_output(full_cmd, cwd=repo_path, stderr=subprocess.STDOUT)
File "/usr/local/Cellar/python/2.7.14_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 219, in check_output
raise CalledProcessError(retcode, cmd, output=output)
Looks like it is related to the code for downloading the manifest.
Comment 1•6 years ago
|
||
I think this got fixed upstream and now WFM; please reopen if you have further problems.
Description
•