If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Win7 tests on try fail with baffling timeouts when hgweb doesn't serve machine-configuration.json

RESOLVED WORKSFORME

Status

Release Engineering
General Automation
RESOLVED WORKSFORME
4 years ago
2 years ago

People

(Reporter: jesup, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1945] )

(Reporter)

Description

4 years ago
See https://tbpl.mozilla.org/?tree=Try&rev=a652c78969d2 for an example.  This is a big problem for me; I need to retrigger some tests on Win7 to try to verify a fix for a beta uplift.
(Reporter)

Comment 1

4 years ago
Downloading a build and trying to install it gives "This file does not have a valid digital signature..." and publisher says "Unknown Publisher".  Per Philor, this will cause tests to fail to run, but rail pointed out it may be failing setting the resolution.

No Win7 tests are starting (mochitests or crashtests).  You can see my Try pushes or Monica Chew's from earlier in the morning.  

I see these errors before the timeouts...

10:43:41     INFO - ##### Running run-tests step.
10:43:41     INFO - #####
10:43:41     INFO - Running pre test command run mouse & screen adjustment script with 'c:\mozilla-build\python27\python.exe ../scripts/external_tools/mouse_and_screen_resolution.py --configuration-url http://hg.mozilla.org/%(repo_path)s/raw-file/%(revision)s/testing/machine-configuration.json'
10:43:41     INFO - Running command: ['c:\\mozilla-build\\python27\\python.exe', '../scripts/external_tools/mouse_and_screen_resolution.py', '--configuration-url', u'http://hg.mozilla.org/try/raw-file/a652c78969d2/testing/machine-configuration.json'] in C:\slave\test\build
10:43:41     INFO - Copy/paste: c:\mozilla-build\python27\python.exe ../scripts/external_tools/mouse_and_screen_resolution.py --configuration-url http://hg.mozilla.org/try/raw-file/a652c78969d2/testing/machine-configuration.json
Summary: WIn7 tests on try are all failing with timeouts (expired signature) → WIn7 tests on try are all failing with timeouts
Yeah, I was totally on the wrong track with signing, and the actual problem is that in http://mxr.mozilla.org/build/source/mozharness/external_tools/mouse_and_screen_resolution.py#30 we don't give urllib2 a timeout value, which means it takes the default value from httplib, which has no default value so it takes the default value from socket, which has a default timeout of infinity, so when hgweb isn't serving raw-files and instead is timing out (hellishly frequent until now, who knows whether the hg upgrade will solve it), mouse_and_screen_resolution.py will wait forever, and we'll just get a buildbot timeout, instead of a nice "Could not fetch url '%s'".
Severity: blocker → normal
Summary: WIn7 tests on try are all failing with timeouts → Win7 tests on try fail with baffling timeouts when hgweb doesn't serve machine-configuration.json
(Assignee)

Updated

4 years ago
Product: mozilla.org → Release Engineering

Updated

3 years ago
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/1945]

Updated

2 years ago
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.