Closed Bug 787019 Opened 12 years ago Closed 12 years ago

Improve sut_tools/verify.py strings "WARNING: Unable to ping tegra after 5 try" and friends

Categories

(Release Engineering :: General, defect)

ARM
Android
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

Details

Attachments

(1 file, 1 obsolete file)

eg from: https://tbpl.mozilla.org/php/getParsedLog.php?id=14833402&tree=Mozilla-Aurora (Bug 781419) { ========= Started Running verify.py failed (results: 2, elapsed: 7 mins, 45 secs) (at 2012-08-30 03:54:36.229795) ========= python /builds/sut_tools/verify.py in dir /builds/tegra-217/test/build (timeout 1200 secs) watching logfiles {} argv: ['python', '/builds/sut_tools/verify.py'] environment: HOME=/Users/cltbld PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin PWD=/builds/tegra-217/test/build SUT_IP=10.250.51.57 SUT_NAME=tegra-217 __CF_USER_TEXT_ENCODING=0x1F5:0:0 closing stdin using PTY: False DEBUG: updateSUT: Using tegra 'tegra-217' found in env variable INFO: Using tegra 'tegra-217' found in env variable INFO: attempting to ping tegra INFO: Unable to ping tegra after 1 try. Sleeping for 90s then retrying INFO: Unable to ping tegra after 2 try. Sleeping for 90s then retrying INFO: Unable to ping tegra after 3 try. Sleeping for 90s then retrying INFO: Unable to ping tegra after 4 try. Sleeping for 90s then retrying WARNING: Unable to ping tegra after 5 try program finished with exit code 1 } We should just get rid of the counts on the previous steps, since they are redundant & on the warning, make try plural (and maybe pick a better verb). Nitpicky, but I see this every time bug 781419 occurs.
Attached patch Patch v1 (obsolete) — Splinter Review
Output will now be: INFO: attempting to ping tegra INFO: Unable to ping tegra. Sleeping for 90s then retrying INFO: Unable to ping tegra. Sleeping for 90s then retrying INFO: Unable to ping tegra. Sleeping for 90s then retrying INFO: Unable to ping tegra. Sleeping for 90s then retrying WARNING: Unable to ping tegra after 5 attempts
Assignee: nobody → bmo
Status: NEW → ASSIGNED
Attachment #656828 - Flags: review?(bugspam.Callek)
Comment on attachment 656828 [details] [diff] [review] Patch v1 Land at your convenience, but leave the bug open until I deploy.
Attachment #656828 - Flags: review?(bugspam.Callek) → review+
Comment on attachment 656828 [details] [diff] [review] Patch v1 err actually, while this is fine, its not the lines you want to edit for your c#0
Attachment #656828 - Flags: review+ → review-
You want the lines at http://mxr.mozilla.org/build/source/tools/sut_tools/verify.py#49 (I endorse doing what is in your patch as well, if you like)
Attached patch Patch v2Splinter Review
Ah, indeed - good spot :-)
Attachment #656828 - Attachment is obsolete: true
Attachment #657939 - Flags: review?(bugspam.Callek)
Attachment #657939 - Flags: review?(bugspam.Callek) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: