Closed Bug 751715 Opened 12 years ago Closed 12 years ago

post_upload.py does not seem to be in the PATH for pvtbuilds2.dmz.scl3.mozilla.com

Categories

(Infrastructure & Operations :: RelOps: General, task)

x86
macOS
task
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: armenzg, Assigned: dustin)

Details

There is been some work from bug 749059 and bug 723340.

[cltbld@buildbot-master12 dead]$ /builds/buildbot/build1/bin/python /builds/buildbot/build1/lib/python2.6/site-packages/buildbotcustom/bin/log_uploader.py -r 2 -t 10 --master-name bm12-build1 --product fuzzing --platform win32 --branch idle --user ffxbld -i /home/cltbld/.ssh/ffxbld_dsa pvtbuilds2.dmz.scl3.mozilla.com /builds/buildbot/build1/master/fuzzer-win32 139
Running post_upload.py --tinderbox-builds-dir idle-win32 -b idle -p fuzzing --release-to-tinderbox-builds /tmp/tmp.reEJPR8PbA /tmp/tmp.reEJPR8PbA/fuzzer-win32-bm12-build1-build139.txt.gz
Traceback (most recent call last):
  File "/builds/buildbot/build1/lib/python2.6/site-packages/buildbotcustom/bin/log_uploader.py", line 331, in <module>
    print ssh(user=options.user, identity=options.identity, host=host, remote_cmd=post_upload_cmd)
  File "/builds/buildbot/build1/lib/python2.6/site-packages/buildbotcustom/bin/log_uploader.py", line 40, in ssh
    return retry(do_cmd, attempts=retries+1, sleeptime=retry_sleep, args=(cmd,))
  File "/builds/buildbot/build1/tools/lib/python/util/retry.py", line 31, in retry
    return action(*args, **kwargs)
  File "/builds/buildbot/build1/lib/python2.6/site-packages/buildbotcustom/bin/log_uploader.py", line 32, in do_cmd
    cmd, retcode, output))
Exception: Command ['ssh', '-l', 'ffxbld', '-i', '/home/cltbld/.ssh/ffxbld_dsa', '-p', '22', 'pvtbuilds2.dmz.scl3.mozilla.com', 'post_upload.py --tinderbox-builds-dir idle-win32 -b idle -p fuzzing --release-to-tinderbox-builds /tmp/tmp.reEJPR8PbA /tmp/tmp.reEJPR8PbA/fuzzer-win32-bm12-build1-build139.txt.gz'] returned non-zero exit code 127:
bash: post_upload.py: command not found
What's post_upload.py?
Assignee: server-ops-releng → dustin
http://hg.mozilla.org/build/tools/file/default/stage/post_upload.py

It runs when we upload bits and logs to stage and peers. On the new stage it's puppet controlled, see the productdelivery module.
Ah, thanks for the tip.  I pulled it out into a class in that module, and cross-included it from the fuzzing module.  Should be good to go.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Component: Server Operations: RelEng → RelOps
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.