Closed Bug 1187610 Opened 9 years ago Closed 9 years ago

MAR verification fails with "bad magic" error

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rail, Assigned: rail)

References

Details

[taskcluster] taskId: 9POz3cDZQumlo9hEjQ8Cdg, workerId: i-4d83899e rail/funsize-balrog-submitter@sha256:8abcd121dec7496a6ebf122ac93dad4459657f6e78788a37db200b7a9c5ad546 exists in the cache. + test https://queue.taskcluster.net/v1/task/nUulR-7gSpqQjJapxMK7cg/artifacts/public/env + test http://balrog/api + test nightly + wget -O /home/worker/manifest.json https://queue.taskcluster.net/v1/task/nUulR-7gSpqQjJapxMK7cg/artifacts/public/env/manifest.json --2015-07-25 14:07:15-- https://queue.taskcluster.net/v1/task/nUulR-7gSpqQjJapxMK7cg/artifacts/public/env/manifest.json Resolving queue.taskcluster.net (queue.taskcluster.net)... 54.221.199.178, 54.235.163.87, 23.21.178.59 Connecting to queue.taskcluster.net (queue.taskcluster.net)|54.221.199.178|:443... connected. HTTP request sent, awaiting response... 303 See Other Location: http://s3-copy-proxy-us-east-1.taskcluster.svc.tutum.io/nUulR-7gSpqQjJapxMK7cg/0/public/env/manifest.json [following] --2015-07-25 14:07:15-- http://s3-copy-proxy-us-east-1.taskcluster.svc.tutum.io/nUulR-7gSpqQjJapxMK7cg/0/public/env/manifest.json Resolving s3-copy-proxy-us-east-1.taskcluster.svc.tutum.io (s3-copy-proxy-us-east-1.taskcluster.svc.tutum.io)... 52.7.118.128 Connecting to s3-copy-proxy-us-east-1.taskcluster.svc.tutum.io (s3-copy-proxy-us-east-1.taskcluster.svc.tutum.io)|52.7.118.128|:80... connected. HTTP request sent, awaiting response... 302 Found Location: https://s3.amazonaws.com/taskcluster-public-artifacts-us-east-1/nUulR-7gSpqQjJapxMK7cg/0/public/env/manifest.json [following] --2015-07-25 14:07:16-- https://s3.amazonaws.com/taskcluster-public-artifacts-us-east-1/nUulR-7gSpqQjJapxMK7cg/0/public/env/manifest.json Resolving s3.amazonaws.com (s3.amazonaws.com)... 54.231.97.235 Connecting to s3.amazonaws.com (s3.amazonaws.com)|54.231.97.235|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1485 (1.5K) [application/json] Saving to: '/home/worker/manifest.json' /home/worker/manife 0%[ ] 0 --.-KB/s /home/worker/manife 100%[=====================>] 1.45K --.-KB/s in 0s 2015-07-25 14:07:16 (62.3 MB/s) - '/home/worker/manifest.json' saved [1485/1485] + cat /home/worker/manifest.json [ { "ACCEPTED_MAR_CHANNEL_IDS": "firefox-mozilla-central", "appName": "Firefox", "branch": "mozilla-central", "detached_signatures": { "gpg": "Firefox-mozilla-central-42.0a1-linux-en-GB-20150721030212-20150725030209.partial.mar.asc" }, "from_buildid": "20150721030212", "from_hash": "a82fb9ea8c215464072ac796562edf87749782821da0bbeb7bdb2f03a943560d5629648755c869c92cc5d4f665cc62cb51021215aa34c8b105de5d795d83de9c", "from_mar": "http://download.cdn.mozilla.net/pub/mozilla.org/firefox/nightly/2015/07/2015-07-21-03-02-12-mozilla-central-l10n/firefox-42.0a1.en-GB.linux-i686.complete.mar", "from_size": 57334539, "hash": "8632e33f50c8a4a0ac060a629332687df4d03bacec9dc488786cb7ea01343c4f8f648c6674b817cc0917e650312eecb37b6d8d17a32e299b6762d51ac655d7b5", "locale": "en-GB", "mar": "Firefox-mozilla-central-42.0a1-linux-en-GB-20150721030212-20150725030209.partial.mar", "platform": "linux", "repo": "https://hg.mozilla.org/mozilla-central", "revision": "d3228c82badd", "size": 14101460, "to_buildid": "20150725030209", "to_hash": "9482ef2eef4d7541799cb558f041d77d6f70f0411d887a20c5fab4f493554f13d0017bd8557192fb721b3a5d27794a73a2f53774d130fb03e941d94b744baa2b", "to_mar": "http://download.cdn.mozilla.net/pub/mozilla.org/firefox/nightly/2015/07/2015-07-25-03-02-09-mozilla-central-l10n/firefox-42.0a1.en-GB.linux-i686.complete.mar", "to_size": 56538143, "version": "42.0a1" } ]+ python /home/worker/bin/funsize-balrog-submitter.py --artifacts-url-prefix https://queue.taskcluster.net/v1/task/nUulR-7gSpqQjJapxMK7cg/artifacts/public/env --manifest /home/worker/manifest.json -a http://balrog/api --signing-cert /home/worker/keys/nightly.pubkey --verbose --dummy Downloading https://queue.taskcluster.net/v1/task/nUulR-7gSpqQjJapxMK7cg/artifacts/public/env/Firefox-mozilla-central-42.0a1-linux-en-GB-20150721030212-20150725030209.partial.mar to /tmp/tmp68iQzw... Downloading https://queue.taskcluster.net/v1/task/nUulR-7gSpqQjJapxMK7cg/artifacts/public/env/Firefox-mozilla-central-42.0a1-linux-en-GB-20150721030212-20150725030209.partial.mar to /tmp/tmp68iQzw Starting new HTTPS connection (1): queue.taskcluster.net "GET /v1/task/nUulR-7gSpqQjJapxMK7cg/artifacts/public/env/Firefox-mozilla-central-42.0a1-linux-en-GB-20150721030212-20150725030209.partial.mar HTTP/1.1" 503 484 Verifying the signature... Checking /tmp/tmp68iQzw signature index_offset is 1129601360 Traceback (most recent call last): File "/home/worker/bin/funsize-balrog-submitter.py", line 175, in <module> main() File "/home/worker/bin/funsize-balrog-submitter.py", line 140, in main partial_mar_url, partial_mar_dest, args.signing_cert) File "/home/worker/bin/funsize-balrog-submitter.py", line 53, in verify_copy_to_s3 verify_signature(dest, signing_cert) File "/home/worker/bin/funsize-balrog-submitter.py", line 41, in verify_signature m = MarFile(mar, signature_versions=[(1, signature)]) File "/usr/local/lib/python2.7/dist-packages/mardor/marfile.py", line 101, in __init__ self._read_index() File "/usr/local/lib/python2.7/dist-packages/mardor/marfile.py", line 141, in _read_index raise ValueError("Bad magic") ValueError: Bad magic [taskcluster] Unsuccessful task run with exit code: 1 completed in 93.564 seconds
added raise_on_status() and @retriable()
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee: nobody → rail
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.