[Webkit-unassigned] [Bug 255519] New: [WPE][GTK] Autoinstall version conflicts for cryptography and cffi libraries when running the run-benchmark script

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 17 07:13:09 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=255519

            Bug ID: 255519
           Summary: [WPE][GTK] Autoinstall version conflicts for
                    cryptography and cffi libraries when running the
                    run-benchmark script
           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: aakash_jain at apple.com, bugs-noreply at webkitgtk.org,
                    jbedard at apple.com, lmoura at igalia.com, philn at igalia.com

Since 262159 at main executing the run-benchmark script on Linux fails with:

$ Tools/Scripts/run-benchmark --plan sunspider
2023-04-17 16:04:07,207 - INFO - Ensure dependencies of http server is satisfied
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 173, in main
    return start(parse_args(config_argument_parser()))
  File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/run_benchmark.py", line 161, in start
    run_benchmark_plan(args, args.plan)
  File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/run_benchmark.py", line 102, in run_benchmark_plan
    args.browser_args)
  File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/webserver_benchmark_runner.py", line 27, in __init__
    self._http_server_driver = HTTPServerDriverFactory.create(platform)
  File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/generic_factory.py", line 13, in create
    return cls.products[description]()
  File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/simple_http_server_driver.py", line 27, in __init__
    self._ensure_http_server_dependencies()
  File "/home/clopez/webkit/webkit/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 "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/autoinstalled/twisted.py", line 33, in <module>
    AutoInstall.install(Package('cryptography', Version(36, 0, 2), wheel=True))
  File "/home/clopez/webkit/webkit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 616, in install
    packages = cls.register(package)
  File "/home/clopez/webkit/webkit/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 570, in register
    raise ValueError('Registered version of {} uses {}, but requested version uses {}'.format(package.name, cls.packages.get(package.name)[0].version, package.version))
ValueError: Registered version of cryptography uses 36.0.1, but requested version uses 36.0.2


The problem is caused because a mistmatch of versions for the autoinstall internal python tooling.

The issue only happens on Linux because only on Linux we also install this libraries at Tools/Scripts/libraries/webkitcorepy/webkitcorepy/__init__.py since 245420 at main

-- 
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/20230417/b162aea0/attachment-0001.htm>


More information about the webkit-unassigned mailing list