Closed Bug 779273 Opened 13 years ago Closed 13 years ago

500 Internal Server Error from hg.mozilla.org caused setting the screen resolution (mouse_and_screen_resolution.py) to fail, and tests to fail with a non-obvious error

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: standard8, Assigned: jhopkins)

Details

Attachments

(1 file, 1 obsolete file)

We're using the new screen resolution setting code on the Thunderbird tree. We just had a 500 ISE whilst the builder was attempting to get the screen resolution file. This branch does not seem to have the configuration file HTTP Error 500: Internal Server Error Let's fail over to 1024x768. Screen resolution (current): (1280, 1024) Changing the screen resolution... Screen resolution (new): (1024, 768) Mouse position (current): (512, 384) Mouse position (new): (1010, 10) program finished with exit code 0 elapsedTime=6.501000 The actual tests then failed: Test Failure: Timeout waiting for resize (is the screen resolution 1280 x 1024?) but it isn't obvious that the set-up actually went wrong. Can we make it so that the mouse_and_screen_resolution.py step aborts and retries on a 500 ISE (or just retries a number of times)?
Attached patch proposed tools patch (obsolete) — Splinter Review
tested wfetch function locally
tested standalone on a talos build machine with passing and failing urls; functions as expected.
Attachment #648038 - Attachment is obsolete: true
Attachment #648050 - Flags: review?(armenzg)
Comment on attachment 648050 [details] [diff] [review] proposed tools patch with retry functionality Review of attachment 648050 [details] [diff] [review]: ----------------------------------------------------------------- You can push it to try if you want to or simply land it.
Attachment #648050 - Flags: review?(armenzg) → review+
Assignee: nobody → jhopkins
Comment on attachment 648050 [details] [diff] [review] proposed tools patch with retry functionality Landed in https://hg.mozilla.org/build/tools/rev/31d98bfc1ae2
Attachment #648050 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: