Closed Bug 1088930 Opened 10 years ago Closed 10 years ago

trigger_runs fails if buildurl does not end in forward slash

Categories

(Testing Graveyard :: Autophone, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gbrown, Assigned: bc)

Details

Attachments

(1 file)

44 bytes, text/x-github-pull-request
gbrown
: review+
Details | Review
We can make this more convenient / avoid silly errors: $ python trigger_runs.py --repo=mozilla-inbound --build-url=http://ftp.mozilla.org/pub/mozilla.org/mobile/tinderbox-builds/mozilla-inbound-android/1414175172 Connecting to autophone server... triggerjobs http://ftp.mozilla.org/pub/mozilla.org/mobile/tinderbox-builds/mozilla-inbound-android/1414175172fennec-36.0a1.en-US.android-arm.apk - ok exit - $ python trigger_runs.py --repo=mozilla-inbound --build-url=http://ftp.mozilla.org/pub/mozilla.org/mobile/tinderbox-builds/mozilla-inbound-android/1414175172/ Connecting to autophone server... triggerjobs http://ftp.mozilla.org/pub/mozilla.org/mobile/tinderbox-builds/mozilla-inbound-android/1414175172/fennec-36.0a1.en-US.android-arm.apk - ok exit - For the first case, autophone.log shows: 2014-10-24 14:59:52,448|DEBUG|gbrown-emu|22653|handle_job: job: {'attempts': 1, 'build_url': u'http://ftp.mozilla.org/pub/mozilla.org/mobile/tinderbox-builds/mozilla-inbound-android/1414175172fennec-36.0a1.en-US.android-arm.apk', 'id': 1, 'last_attempt': '2014-10-24T14:59:52.423690', 'created': u'2014-10-24T14:59:52.394919'}, abi: armeabi-v7a 2014-10-24 14:59:52,448|INFO|gbrown-emu|22653|Checking job http://ftp.mozilla.org/pub/mozilla.org/mobile/tinderbox-builds/mozilla-inbound-android/1414175172fennec-36.0a1.en-US.android-arm.apk. 2014-10-24 14:59:52,448|INFO|gbrown-emu|22653|Fetching build... 2014-10-24 14:59:52,722|INFO|Ignoring zipfile.BadZipfile Error retrieving symbols: http://ftp.mozilla.org/pub/mozilla.org/mobile/tinderbox-builds/mozilla-inbound-android/1414175172fennec-36.0a1.en-US.android-arm.crashreporter-symbols.zip. 2014-10-24 14:59:52,723|DEBUG|<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /pub/mozilla.org/mobile/tinderbox-builds/mozilla-inbound-android/1414175172fennec-36.0a1.en-US.android-arm.crashreporter-symbols.zip was not found on this server.</p> </body></html> The second attempt was okay.
Assignee: nobody → bob
Status: NEW → ASSIGNED
Attached file pr 19
Attachment #8587436 - Flags: review?(gbrown)
Comment on attachment 8587436 [details] [review] pr 19 Awesome. Thanks.
Attachment #8587436 - Flags: review?(gbrown) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: