Closed Bug 746708 Opened 13 years ago Closed 13 years ago

Updates builder fails running backupsnip and pushsnip

Categories

(Release Engineering :: Release Automation, defect, P1)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rail, Assigned: rail)

Details

(Whiteboard: [releases][automation])

Attachments

(2 files)

Attached patch don't use bashSplinter Review
In 12.0b6 the updates builder failed running backupsnip: retry: Calling <function run_with_timeout at 0xb7c790d4> with args: (['bash', '-c', 'ssh -t -l ffxbld -i ~/.ssh/auspush aus3-staging.mozilla.org ~/bin/backupsnip Firefox-12.0b6-build1-test'], 7260, None, None, False, True), kwargs: {}, attempt #1 Executing: ['bash', '-c', 'ssh -t -l ffxbld -i ~/.ssh/auspush aus3-staging.mozilla.org ~/bin/backupsnip Firefox-12.0b6-build1-test'] Pseudo-terminal will not be allocated because stdin is not a terminal. bash: /home/cltbld/bin/backupsnip: No such file or directory It turned out that ShellCommand interpolates ~ into /home/cltbld on a slave. Attached patch should fix the problem. To be tested.
I think that patch might cause the ~/.ssh not be interpolated. If so, we could do bash -c 'ssh -t -l ffxbld -i ~/.ssh/auspush aus3-staging.mozilla.org bin/backupsnip Firefox-12.0b6-build1-test' ie drop the ~/ for backupsnip.
Comment on attachment 616252 [details] [diff] [review] don't use bash (In reply to Nick Thomas [:nthomas] from comment #1) > I think that patch might cause the ~/.ssh not be interpolated. If so, we > could do > bash -c 'ssh -t -l ffxbld -i ~/.ssh/auspush aus3-staging.mozilla.org > bin/backupsnip Firefox-12.0b6-build1-test' > ie drop the ~/ for backupsnip. -oIdentityFile=~/.ssh/... interpolates ~ internally, we use it in some places. The patch worked fine in staging. However, if you prefer "./bin/backupsnip" style, I'll prep/test another patch.
Attachment #616252 - Flags: review?(nrthomas)
Attachment #616252 - Flags: review?(nrthomas) → review+
pushsnip failed the same way for Firefox 10.0.4esr: http://buildbot-master08.build.sjc1.mozilla.com:8001/builders/release-mozilla-esr10-updates/builds/1/steps/pushsnip/logs/stdio Patch should be the same as for backupsnip.
Summary: Updates builder fails running backupsnip → Updates builder fails running backupsnip and pushsnip
Attached patch pushsnip patchSplinter Review
Attachment #617217 - Flags: review?(coop)
Attachment #617217 - Flags: review?(coop) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Landed to production yesterday.
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: