<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>258941</bug_id>
          
          <creation_ts>2023-07-06 11:16:10 -0700</creation_ts>
          <short_desc>[WPE] The bots WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests are failing to autoinstall the python dependency bcrypt</short_desc>
          <delta_ts>2023-07-07 01:50:18 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=249031</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Carlos Alberto Lopez Perez">clopez</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1965398</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-07-06 11:16:10 -0700</bug_when>
    <thetext>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 &quot;/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/webkitpy/browserperfdash/browserperfdash_runner.py&quot;, line 265, in run
    runner = benchmark_runner_class(plan,
  File &quot;/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/webkitpy/benchmark_runner/webserver_benchmark_runner.py&quot;, line 27, in __init__
    self._http_server_driver = HTTPServerDriverFactory.create(platform)
  File &quot;/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/webkitpy/benchmark_runner/generic_factory.py&quot;, line 13, in create
    return cls.products[description]()
  File &quot;/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py&quot;, line 27, in __init__
    self._ensure_http_server_dependencies()
  File &quot;/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py&quot;, line 118, in _ensure_http_server_dependencies
    from webkitpy.autoinstalled import twisted
  File &quot;/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/webkitpy/autoinstalled/twisted.py&quot;, line 35, in &lt;module&gt;
    AutoInstall.install(Package(&apos;bcrypt&apos;, Version(4), wheel=True))
  File &quot;/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py&quot;, line 635, in install
    return all([to_install.install() for to_install in packages])
  File &quot;/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py&quot;, line 635, in &lt;listcomp&gt;
    return all([to_install.install() for to_install in packages])
  File &quot;/opt/worker/WPE-Linux-RPi4-32bits-Mesa-Release-Perf-Tests/build/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py&quot;, line 305, in install
    raise ValueError(&apos;No archives for {}-{} found&apos;.format(self.pypi_name, self.version))
ValueError: No archives for bcrypt-4 found

https://build.webkit.org/#/builders/892/builds/50</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1965404</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-07-06 11:56:57 -0700</bug_when>
    <thetext>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&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1965405</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-07-06 12:05:48 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/15605</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1965510</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-07-07 01:49:29 -0700</bug_when>
    <thetext>Committed 265835@main (61e425731b47): &lt;https://commits.webkit.org/265835@main&gt;

Reviewed commits have been landed. Closing PR #15605 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1965511</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-07-07 01:50:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/111896566&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>