Bug 258941
Summary: | [WPE] The bots WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests are failing to autoinstall the python dependency bcrypt | ||
---|---|---|---|
Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> |
Component: | Tools / Tests | Assignee: | Carlos Alberto Lopez Perez <clopez> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bugs-noreply, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=249031 |
Carlos Alberto Lopez Perez
The 32-bit bots added on bug 249031 are failing to run the benchmark tests with the following error:
2023-07-06 11:03:58,183 - ERROR - Error running benchmark plan: sunspider
Traceback (most recent call last):
File "/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/webkitpy/browserperfdash/browserperfdash_runner.py", line 265, in run
runner = benchmark_runner_class(plan,
File "/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/webkitpy/benchmark_runner/webserver_benchmark_runner.py", line 27, in __init__
self._http_server_driver = HTTPServerDriverFactory.create(platform)
File "/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/webkitpy/benchmark_runner/generic_factory.py", line 13, in create
return cls.products[description]()
File "/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py", line 27, in __init__
self._ensure_http_server_dependencies()
File "/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py", line 118, in _ensure_http_server_dependencies
from webkitpy.autoinstalled import twisted
File "/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/webkitpy/autoinstalled/twisted.py", line 35, in <module>
AutoInstall.install(Package('bcrypt', Version(4), wheel=True))
File "/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 635, in install
return all([to_install.install() for to_install in packages])
File "/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 635, in <listcomp>
return all([to_install.install() for to_install in packages])
File "/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 305, in install
raise ValueError('No archives for {}-{} found'.format(self.pypi_name, self.version))
ValueError: No archives for bcrypt-4 found
https://build.webkit.org/#/builders/892/builds/50
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Carlos Alberto Lopez Perez
The issue is caused because there are no pre-built packages of bcrypt for ARM32 bits (ARMv7 platform) on the python-pip repo.
I have checked to disable wheel on it so the autoinstaller tries to download the source and build from source, but then the build fails because this package needs a cargo/rust toolchain to be built.
Then I have checked adding cargo/rustc support on the Yocto image that runs on the boards but I found some issues there:
- cargo is failing to build, don't know what is wrong with the recipe
- building rust takes ages (more than one hour in a beeffy machine)
This python dependency is not really needed for this bots, we can skip installing it and things work as expected. Just checked.
Carlos Alberto Lopez Perez
Pull request: https://github.com/WebKit/WebKit/pull/15605
EWS
Committed 265835@main (61e425731b47): <https://commits.webkit.org/265835@main>
Reviewed commits have been landed. Closing PR #15605 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/111896566>