[Webkit-unassigned] [Bug 248500] New: [run-benchmark] Error when running a plan with source type git_archive on a system with GNU tar
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 29 15:14:54 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=248500
Bug ID: 248500
Summary: [run-benchmark] Error when running a plan with source
type git_archive on a system with GNU tar
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: clopez at igalia.com
CC: dewei_zhu at apple.com, jbedard at apple.com
When trying to run a plan test with a source type git_archive like motionmark the following error happens on a Debian Linux box:
$ Tools/Scripts/run-benchmark --plan motionmark
2022-11-30 00:09:24,979 - INFO - Ensure dependencies of http server is satisfied
2022-11-30 00:09:24,981 - INFO - Collecting diagnostics to /tmp/run-benchmark-diagnostics-1669763364
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Traceback (most recent call last):
File "Tools/Scripts/run-benchmark", line 13, in <module>
sys.exit(main())
File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/run_benchmark.py", line 158, in main
return start(parse_args(config_argument_parser()))
File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/run_benchmark.py", line 146, in start
run_benchmark_plan(args, args.plan)
File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/run_benchmark.py", line 101, in run_benchmark_plan
runner.execute()
File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/benchmark_runner.py", line 129, in execute
with BenchmarkBuilder(self._plan_name, self._plan, self.name, enable_signposts=self._config['enable_signposts']) as web_root:
File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/benchmark_builder.py", line 42, in __enter__
self._prepare_content_from_local_git_archive(self._plan['local_git_archive'])
File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/benchmark_builder.py", line 137, in _prepare_content_from_local_git_archive
subprocess.check_call(['tar', 'zxvf', output, '-C', temp_extract_path])
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['tar', 'zxvf', '/tmp/tmp7pcm6qqk/temp.tar', '-C', '/tmp/tmp7pcm6qqk/extract']' returned non-zero exit status 2.
The error is caused because when passing the flag 'z' to the GNU tar program the input should be in gzip format, but it is in plain tar format
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221129/ae1333df/attachment.htm>
More information about the webkit-unassigned
mailing list