RESOLVED FIXED 204400
run-api-tests reports AssertionError os.pathsep not in value in _append_value_colon_separated in Cygwin Python
https://bugs.webkit.org/show_bug.cgi?id=204400
Summary run-api-tests reports AssertionError os.pathsep not in value in _append_value...
Fujii Hironori
Reported 2019-11-20 00:00:49 PST
[Win][Cygwin][run-api-tests] assert os.pathsep not in value in _append_value_colon_separated AppleWin run-api-tests is failing. https://build.webkit.org/builders/Apple%20Win%2010%20Release%20%28Tests%29/builds/4036 > AssertionError raised: > Traceback (most recent call last): > File "/home/buildbot/worker/win10-release-tests/build/Tools/Scripts/webkitpy/api_tests/run_api_tests.py", line 59, in main > return run(port, options, args, stderr) > File "/home/buildbot/worker/win10-release-tests/build/Tools/Scripts/webkitpy/api_tests/run_api_tests.py", line 77, in run > result = manager.run(args, json_output=options.json_output) > File "/home/buildbot/worker/win10-release-tests/build/Tools/Scripts/webkitpy/api_tests/manager.py", line 171, in run > test_names = self._collect_tests(args) > File "/home/buildbot/worker/win10-release-tests/build/Tools/Scripts/webkitpy/api_tests/manager.py", line 100, in _collect_tests > env=self._port.environment_for_api_tests()) > File "/home/buildbot/worker/win10-release-tests/build/Tools/Scripts/webkitpy/port/win.py", line 141, in environment_for_api_tests > env = super(WinPort, self).environment_for_api_tests() > File "/home/buildbot/worker/win10-release-tests/build/Tools/Scripts/webkitpy/port/base.py", line 266, in environment_for_api_tests > self._append_value_colon_separated(environment, name, build_root_path) > File "/home/buildbot/worker/win10-release-tests/build/Tools/Scripts/webkitpy/port/base.py", line 942, in _append_value_colon_separated > assert os.pathsep not in value > AssertionError
Attachments
Patch (2.91 KB, patch)
2019-11-20 01:45 PST, Fujii Hironori
no flags
Fujii Hironori
Comment 1 2019-11-20 00:02:11 PST
r249500 (Bug 201311) seems the culprit.
Fujii Hironori
Comment 2 2019-11-20 01:17:43 PST
Port._build_path contains ':' because webkit-build-directory returns native paths. $ perl webkit-build-directory C:\webkit\gb\WebKitBuild C:/webkit/gb/WebKitBuild/Release
Fujii Hironori
Comment 3 2019-11-20 01:45:00 PST
WebKit Commit Bot
Comment 4 2019-11-20 15:21:17 PST
Comment on attachment 383951 [details] Patch Clearing flags on attachment: 383951 Committed r252714: <https://trac.webkit.org/changeset/252714>
WebKit Commit Bot
Comment 5 2019-11-20 15:21:19 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2019-11-20 15:22:32 PST
Note You need to log in before you can comment on or make changes to this bug.