WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
232037
[Win Python] REGRESSION(
r284398
): run-api-tests: FileNotFoundError raised: [WinError 2] The system cannot find the file specified
https://bugs.webkit.org/show_bug.cgi?id=232037
Summary
[Win Python] REGRESSION(r284398): run-api-tests: FileNotFoundError raised: [W...
Fujii Hironori
Reported
2021-10-20 13:22:26 PDT
[Win Python] REGRESSION(
r284398
): run-api-tests: FileNotFoundError raised: [WinError 2] The system cannot find the file specified WinCairo-64-bit-WKL-Debug-Tests
243185@main
https://build.webkit.org/#/builders/32/builds/1123
Collecting tests ... Looking at ['C:\\BW\\wincairo-wkl-debug-tests\\build\\WebKitBuild\\Debug\\bin64\\ToBeListed.exe', '--gtest_list_tests'] FileNotFoundError raised: [WinError 2] The system cannot find the file specified Traceback (most recent call last): File "C:\BW\wincairo-wkl-debug-tests\build\Tools\Scripts\run-api-tests", line 61, in main return run(port, options, args, stderr) File "C:\BW\wincairo-wkl-debug-tests\build\Tools\Scripts\run-api-tests", line 79, in run result = manager.run(args, json_output=options.json_output) File "C:\BW\wincairo-wkl-debug-tests\build\Tools\Scripts\webkitpy\api_tests\manager.py", line 188, in run test_names = self._collect_tests(args) File "C:\BW\wincairo-wkl-debug-tests\build\Tools\Scripts\webkitpy\api_tests\manager.py", line 113, in _collect_tests output = self.host.executive.run_command( File "C:\BW\wincairo-wkl-debug-tests\build\Tools\Scripts\webkitpy\common\system\executive.py", line 409, in run_command process = self.popen(args, File "C:\BW\wincairo-wkl-debug-tests\build\Tools\Scripts\webkitpy\common\system\executive.py", line 541, in popen result = subprocess.Popen(string_args, env=env, **kwargs) File "C:\tools\python3\lib\subprocess.py", line 951, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\tools\python3\lib\subprocess.py", line 1420, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified
Attachments
Patch
(2.56 KB, patch)
2021-10-20 14:43 PDT
,
Fujii Hironori
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2021-10-20 14:34:07 PDT
On Windows, TestWTF.exe is just a wrapper program loading TestWTFLib.dll. If I just rename TestWTF.exe to ToBeListed.exe, ToBeListed.exe tries to load ToBeListedLib.dll.
> .\WebKitBuild\Debug\bin64\ToBeListed.exe --gtest_list_tests
ToBeListed can't open. ::LoadLibraryW failed: path=C:\home\webkit\gc\WebKitBuild\Debug\bin64\ToBeListedLib.dll The specified module could not be found.
Fujii Hironori
Comment 2
2021-10-20 14:43:25 PDT
Created
attachment 441942
[details]
Patch
Fujii Hironori
Comment 3
2021-10-21 13:17:24 PDT
Comment on
attachment 441942
[details]
Patch Clearing flags on attachment: 441942 Committed
r284637
(
243357@main
): <
https://commits.webkit.org/243357@main
>
Fujii Hironori
Comment 4
2021-10-21 13:17:27 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5
2021-10-21 13:18:19 PDT
<
rdar://problem/84520709
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug