Closed Bug 962425 Opened 11 years ago Closed 10 years ago

legacy vcs-sync process doesn't auto retry when it should

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hwine, Assigned: hwine)

Details

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

Attachments

(1 file)

Should have been caught & corrected, but wasn't: [vcs2vcs@github-sync3.dmz.scl3 ~]$ ps -flwwwwt pts/8 F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD 0 S vcs2vcs 9275 6671 0 80 0 - 27476 wait 2013 pts/8 00:00:00 /bin/ bash 0 S vcs2vcs 11472 14479 0 80 0 - 49145 sk_wai 03:44 pts/8 00:00:00 /opt/ vcs2vcs/venv/hg/bin/python /opt/vcs2vcs/bin/hg id http://hg.mozilla.org/releases/mozilla-b2g26_v1_2 0 S vcs2vcs 14479 9275 0 80 0 - 26524 pipe_w 2013 pts/8 00:02:22 /bin/bash /opt/vcs2vcs/bin/keep_updated [vcs2vcs@github-sync3.dmz.scl3 ~]$ kill -hup 11472
Another example - caused 6 hour delay to gecko.git updates: [vcs2vcs@github-sync3.dmz.scl3 ~]$ ps flwwt pts/8 F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND 0 399 14142 2892 20 0 109904 3200 wait Ss pts/8 0:00 /bin/bash 0 399 17530 14142 20 0 106224 1396 pipe_w S+ pts/8 0:21 \_ /bin/bash /opt/vcs2vcs/bin/keep_updated 0 399 27467 17530 20 0 196576 12860 sk_wai S+ pts/8 0:00 \_ /opt/vcs2vcs/venv/hg/bin/python /opt/vcs2vcs/bin/hg id http://hg.mozilla.org/releases/mozilla-b2g28_v1_3t
For historical reasons, keep_updated (gecko.git) uses a different logging method than do_update (all others). This means the test used by check_process_delay may not always identify the process to HUP.[1] This could be a substantial change to legacy code -- deferring until it happens more often (boo!), or is replaced by the new system (yay!)
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2521]
developed and worked on production, updating repo to that version http://hg.mozilla.org/users/hwine_mozilla.com/repo-sync-tools/rev/6820a5aca6ba
Attachment #8522591 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Component: Tools → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: