RESOLVED FIXED 248500
[run-benchmark] Error when running a plan with source type git_archive on a system with GNU tar
https://bugs.webkit.org/show_bug.cgi?id=248500
Summary [run-benchmark] Error when running a plan with source type git_archive on a s...
Carlos Alberto Lopez Perez
Reported 2022-11-29 15:14:54 PST
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
Attachments
Carlos Alberto Lopez Perez
Comment 1 2022-11-29 15:22:00 PST
EWS
Comment 2 2022-11-30 20:48:30 PST
Committed 257218@main (3e0b8aa34ac7): <https://commits.webkit.org/257218@main> Reviewed commits have been landed. Closing PR #6946 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2022-11-30 20:49:18 PST
Note You need to log in before you can comment on or make changes to this bug.