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 / TestsAssignee: 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
Reported 2023-07-06 11:16:10 PDT
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
Carlos Alberto Lopez Perez
Comment 1 2023-07-06 11:56:57 PDT
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
Comment 2 2023-07-06 12:05:48 PDT
EWS
Comment 3 2023-07-07 01:49:29 PDT
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
Comment 4 2023-07-07 01:50:18 PDT
Note You need to log in before you can comment on or make changes to this bug.