Closed Bug 1417189 Opened 7 years ago Closed 7 years ago

Intermittent IOError: [Errno 109] The pipe has been ended

Categories

(Testing :: General, defect, P1)

defect

Tracking

(firefox58 fixed, firefox59 fixed)

RESOLVED FIXED
Tracking Status
firefox58 --- fixed
firefox59 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: gbrown)

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell fixed:other])

Attachments

(1 file)

Filed by: archaeopteryx [at] coole-files.de

https://treeherder.mozilla.org/logviewer.html#?job_id=144680687&repo=mozilla-inbound

https://queue.taskcluster.net/v1/task/YfYCHZ2DS62End-lmrF-OA/runs/0/artifacts/public/logs/live_backing.log

https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://queue.taskcluster.net/v1/task/YfYCHZ2DS62End-lmrF-OA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

18:27:53     INFO - Running pre test command run mouse & screen adjustment script with 'c:\mozilla-build\python\python.exe Z:\task_1510683682\mozharness\external_tools\mouse_and_screen_resolution.py --configuration-file Z:\task_1510683682\mozharness\external_tools\machine-configuration.json'
18:27:53     INFO - Running command: ('c:\\mozilla-build\\python\\python.exe', 'Z:\\task_1510683682\\mozharness\\external_tools\\mouse_and_screen_resolution.py', '--configuration-file', 'Z:\\task_1510683682\\mozharness\\external_tools\\machine-configuration.json') in Z:\task_1510683682\build
18:27:53     INFO - Copy/paste: c:\mozilla-build\python\python.exe Z:\task_1510683682\mozharness\external_tools\mouse_and_screen_resolution.py --configuration-file Z:\task_1510683682\mozharness\external_tools\machine-configuration.json
18:27:56     INFO -  Screen resolution (current): (1600, 1200)
18:27:56     INFO -  Changing the screen resolution...
18:27:56     INFO -  Screen resolution (new): (1280, 1024)
18:27:56     INFO -  Mouse position (current): (640, 512)
18:27:56     INFO -  Mouse position (new): (1010, 10)
18:27:56     INFO - Return code: 0
18:27:56     INFO - mkdir: Z:\task_1510683682\build\blobber_upload_dir
18:29:18     INFO - Unable to complete system-info.log: <type 'exceptions.WindowsError'>
18:29:18     INFO - #### Running reftest suites
[taskcluster 2017-11-14T18:29:20.735Z]   Exit Code: 3221225477
Assignee: nobody → gbrown
Component: Buildduty → General
Priority: P5 → P1
Product: Release Engineering → Testing
QA Contact: catlee
Actually, I'm not sure that "Unable to complete system-info.log" is related to the task failure. I expect system-info.log generation to fail sometimes and generate that message, but I would not expect it to cause trouble.
Summary: Intermittent IOError: [Errno 109] The pipe has been ended after Unable to complete system-info.log: <type 'exceptions.WindowsError'> → Intermittent IOError: [Errno 109] The pipe has been ended
Whiteboard: [stockwell needswork]
I don't understand what's going wrong here. The IOError is coming from resourcemanager, which also uses psutil...maybe there is some funny interaction between the two callers of psutil??

I notice that this only happens on Windows and, from the system-info perspective, we fail when querying the list of users. So, as a speculative fix, let's not worry about getting the users on Windows. (I'm cleaning up a little too, so there are fewer nested exception handlers in use.)
Attachment #8929214 - Flags: review?(jmaher)
Comment on attachment 8929214 [details] [diff] [review]
try to avoid IOError generating system-info.log

Review of attachment 8929214 [details] [diff] [review]:
-----------------------------------------------------------------

this seems slightly better- we can assess where we are at after this is landed and we get more data.
Attachment #8929214 - Flags: review?(jmaher) → review+
Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/62b42bf135c1
Try to avoid intermittent IOError following system-log generation; r=jmaher
Leaving open to better track status if the intermittent persists.
Keywords: leave-open
No new failures since my speculative fix landed.
Status: NEW → RESOLVED
Closed: 7 years ago
Keywords: leave-open
Resolution: --- → FIXED
Whiteboard: [stockwell needswork] → [stockwell fixed:other]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: