Closed Bug 1343872 Opened 7 years ago Closed 7 years ago

WindowsError: [Error 2] The system cannot find the file specified - OSError: [Errno 2] No such file or directory

Categories

(Thunderbird :: General, defect)

x86
Windows
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 56.0

People

(Reporter: jorgk-bmo, Unassigned)

Details

(Keywords: intermittent-failure, Whiteboard: [Thunderbird-testfailure: X Win,Mac debug])

Attachments

(1 file)

WindowsError: [Error 2] The system cannot find the file specified

This has become perma-red:

https://archive.mozilla.org/pub/thunderbird/tinderbox-builds/comm-central-win32-debug/1488440603/comm-central_win7_ix-debug_test-mozmill-bm110-tests1-windows-build1.txt.gz

INFO -  SUMMARY-PASS | test-virtual-folder-commands.js::test_cross_folder_select_thread
INFO -  SUMMARY-PASS | test-virtual-folder-commands.js::teardownModule
INFO -  SUMMATraceback (most recent call last):
INFO -    File "runtest.py", line 524, in <module>
INFO -      checkCrashesAtExit()
INFO -    File "runtest.py", line 514, in checkCrashesAtExit
INFO -      TEST_NAME):
INFO -    File "C:\slave\test\build\venv\lib\site-packages\mozcrash\mozcrash.py", line 95, in check_for_crashes
INFO -      for info in crash_info:
INFO -    File "C:\slave\test\build\venv\lib\site-packages\mozcrash\mozcrash.py", line 212, in __iter__
INFO -      rv = self._process_dump_file(path, extra)
INFO -    File "C:\slave\test\build\venv\lib\site-packages\mozcrash\mozcrash.py", line 256, in _process_dump_file
INFO -      stderr=subprocess.PIPE
INFO -    File "c:\mozilla-build\python27\Lib\subprocess.py", line 679, in __init__
INFO -      errread, errwrite)
INFO -    File "c:\mozilla-build\python27\Lib\subprocess.py", line 896, in _execute_child
INFO -      startupinfo)
INFO -  WindowsError: [Error 2] The system cannot find the file specified
INFO -  RY-PASS | test-watch-ignore-thread.js::setupModule
INFO -  SUMMARY-PASS | test-watch-ignore-thread.js::test_ignore_thread
INFO -  SUMMARY-PASS | test-watch-ignore-thread.js::test_view_threads_ignored_threads

Edmung, who could help us with this (now that I haven't seen Aleth in three weeks).
Flags: needinfo?(ewong)
(In reply to Jorg K (GMT+1) from comment #0)
> WindowsError: [Error 2] The system cannot find the file specified
> 
> This has become perma-red:
> 
> https://archive.mozilla.org/pub/thunderbird/tinderbox-builds/comm-central-
> win32-debug/1488440603/comm-central_win7_ix-debug_test-mozmill-bm110-tests1-
> windows-build1.txt.gz
> 
> INFO -  SUMMARY-PASS |
> test-virtual-folder-commands.js::test_cross_folder_select_thread
> INFO -  SUMMARY-PASS | test-virtual-folder-commands.js::teardownModule
> INFO -  SUMMATraceback (most recent call last):
> INFO -    File "runtest.py", line 524, in <module>
> INFO -      checkCrashesAtExit()
> INFO -    File "runtest.py", line 514, in checkCrashesAtExit
> INFO -      TEST_NAME):
> INFO -    File
> "C:\slave\test\build\venv\lib\site-packages\mozcrash\mozcrash.py", line 95,
> in check_for_crashes
> INFO -      for info in crash_info:
> INFO -    File
> "C:\slave\test\build\venv\lib\site-packages\mozcrash\mozcrash.py", line 212,
> in __iter__
> INFO -      rv = self._process_dump_file(path, extra)
> INFO -    File
> "C:\slave\test\build\venv\lib\site-packages\mozcrash\mozcrash.py", line 256,
> in _process_dump_file
> INFO -      stderr=subprocess.PIPE
> INFO -    File "c:\mozilla-build\python27\Lib\subprocess.py", line 679, in
> __init__
> INFO -      errread, errwrite)
> INFO -    File "c:\mozilla-build\python27\Lib\subprocess.py", line 896, in
> _execute_child
> INFO -      startupinfo)
> INFO -  WindowsError: [Error 2] The system cannot find the file specified
> INFO -  RY-PASS | test-watch-ignore-thread.js::setupModule
> INFO -  SUMMARY-PASS | test-watch-ignore-thread.js::test_ignore_thread
> INFO -  SUMMARY-PASS |
> test-watch-ignore-thread.js::test_view_threads_ignored_threads
> 
> Edmung, who could help us with this (now that I haven't seen Aleth in three
> weeks).

Sure.. I'll have a look at it and see what's bugging this.  But I can't
promise you soon as I'm also fixing bustages for 2.48b1.
Flags: needinfo?(ewong)
Looks like the Mac variation is "OSError: [Errno 2] No such file or directory", or maybe this is another issue.

Tom, this is my most hated bug as far as treeherder is concerned. Can you please take a look.
Flags: needinfo?(mozilla)
Summary: WindowsError: [Error 2] The system cannot find the file specified → WindowsError: [Error 2] The system cannot find the file specified - OSError: [Errno 2] No such file or directory
Whiteboard: [Thunderbird-testfailure: X Win debug] → [Thunderbird-testfailure: X Win,Mac debug]
It appears that the crashtest code has been broken since https://hg.mozilla.org/comm-central/rev/0e7c3144903e which was trying to port Bug 827446 but instead was passing the test name as the minidump_stackwalk binary name.
Flags: needinfo?(mozilla)
Comment on attachment 8881093 [details] [diff] [review]
Fix arguments to mozcrash.check_for_crashes.

Sounds plausible, sorry, I'm not very knowledgable in the build area. I'm happy to try this since this error is causing me a serious headache.
Attachment #8881093 - Flags: review+
I forgot to say: Many thanks!

Looking at https://hg.mozilla.org/comm-central/rev/0e7c3144903e#l2.48, don't we need to adjust mailnews/test/performance/bloat/runtest.py as well?
Flags: needinfo?(mozilla)
> Looking at https://hg.mozilla.org/comm-central/rev/0e7c3144903e#l2.48, don't we need to adjust mailnews/test/performance/bloat/runtest.py as well?

If that code was still around, then yes. I hadn't thought to look for other occurrences in comm-central. But looking now, moail/test/mozmill/runtest.py is the only place that calls check_for_crashes.
Flags: needinfo?(mozilla)
Right, the whole directory mailnews/test/performance has somehow disappeared. Thanks again, I'll push it after the next M-C merge.
https://hg.mozilla.org/comm-central/rev/2a185ec18e89412466841a9755c49561f05bf142
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 56.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: