Bug 220717

Summary: autoinstall fails to install configparser on windows builder
Product: WebKit Reporter: Aakash Jain <aakash_jain>
Component: Tools / TestsAssignee: Jonathan Bedard <jbedard>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: bfulgham, jbedard, ryanhaddad, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Aakash Jain 2021-01-18 16:01:49 PST
windows builder is failing to install configparser, e.g.: https://build.webkit.org/builders/Apple-Win-10-Debug-Tests/builds/6918/steps/bindings-generation-tests/logs/stdio
https://build.webkit.org/builders/Apple-Win-10-Debug-Tests/builds/6918

Installing configparser-4.0.2...
Failed to install configparser-4.0.2!
Traceback (most recent call last):
  File "./Tools/Scripts/run-bindings-tests", line 38, in <module>
    import flatpakutils
  File "./Tools/flatpak/flatpakutils.py", line 21, in <module>
    import configparser
  File "/home/buildbot/worker/win10-debug-tests/build/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 513, in find_module
    cls.install(name)
  File "/home/buildbot/worker/win10-debug-tests/build/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 497, in install
    return all([to_install.install() for to_install in cls.register(package)])
  File "/home/buildbot/worker/win10-debug-tests/build/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/autoinstall.py", line 273, in install
    stderr=devnull,
  File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
    raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command '['/usr/bin/python', '/tmp/configparser/configparser-4.0.2/setup.py', 'install', '--home=/home/buildbot/worker/win10-debug-tests/build/Tools/Scripts/libraries/autoinstalled/python-2', '--root=/', '--prefix=', '--install-lib=/home/buildbot/worker/win10-debug-tests/build/Tools/Scripts/libraries/autoinstalled/python-2', '--install-scripts=/home/buildbot/worker/win10-debug-tests/build/Tools/Scripts/libraries/autoinstalled/python-2/bin', '--install-data=/home/buildbot/worker/win10-debug-tests/build/Tools/Scripts/libraries/autoinstalled/python-2/data', '--install-headers=/home/buildbot/worker/win10-debug-tests/build/Tools/Scripts/libraries/autoinstalled/python-2/headers']' returned non-zero exit status 1
Comment 1 Radar WebKit Bug Importer 2021-01-25 16:02:14 PST
<rdar://problem/73592506>