Closed Bug 590940 Opened 14 years ago Closed 14 years ago

Log uploader fails to upload try logs

Categories

(Release Engineering :: General, defect, P2)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: catlee, Assigned: catlee)

References

Details

Attachments

(1 file)

Need to upload as another user I think: 2010-08-26 08:47:07-0700 [Broker,27,10.250.49.65] Log output: Running post_upload.py --tinderbox-builds-dir tryserver-linux -b tryserver -p firefox -i 20100826081508 --revision 94624b46ec1b --who lsblakk@mozilla.com --builddir tryserver_fedora_test-crashtest --release-to-tryserver-builds /tmp/tmp.rvKcP32253 /tmp/tmp.rvKcP32253/tryserver_fedora_test-crashtest-build687.txt.gz Traceback (most recent call last): File "/tools/buildbotcustom/buildbotcustom/bin/log_uploader.py", line 184, in <module> print ssh(user=options.user, identity=options.identity, host=host, remote_cmd=post_upload_cmd) File "/tools/buildbotcustom/buildbotcustom/bin/log_uploader.py", line 27, in ssh cmd, retcode, output)) Exception: Command ['ssh', '-l', 'ffxbld', '-i', '/home/cltbld/.ssh/ffxbld_dsa', '-p', '22', 'stage.mozilla.org', u'post_upload.py --tinderbox-builds-dir tryserver-linux -b tryserver -p firefox -i 20100826081508 --revision 94624b46ec1b --who lsblakk@mozilla.com --builddir tryserver_fedora_test-crashtest --release-to-tryserver-builds /tmp/tmp.rvKcP32253 /tmp/tmp.rvKcP32253/tryserver_fedora_test-crashtest-build687.txt.gz'] returned non-zero exit code 1: Traceback (most recent call last): File "/usr/local/bin/post_upload.py", line 329, in ? func(options, upload_dir, files) File "/usr/local/bin/post_upload.py", line 188, in ReleaseToTryserverBuilds CopyFileToDir(f, upload_dir, tryserverBuildsPath) File "/usr/local/bin/post_upload.py", line 46, in CopyFileToDir os.makedirs(full_dest_dir, 0755) File "/usr/lib/python2.4/os.py", line 159, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/home/ftp/pub/firefox/tryserver-builds/lsblakk@mozilla.com-94624b46ec1b/tryserver_fedora_test-crashtest'
Try needs to upload logs as a different user. The config.py changes are to get rid of extra 'None's in the output (pp.pprint actually prints and returns None)
Attachment #469499 - Flags: review?(bhearsum)
Blocks: 530318
Attachment #469499 - Flags: review?(bhearsum) → review+
Comment on attachment 469499 [details] [diff] [review] Set stage_username/ssh_key for try branch changeset: 2906:431cf2aa472c
Attachment #469499 - Flags: checked-in+
Status: ASSIGNED → RESOLVED
Closed: 14 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: