Firefox latest-unsigned install fails silently

Following from https://github.com/travis-ci/travis-ci/issues/10102

Currently the latest-unsigned install of Firefox on trusty fails (and silently too, because a version of firefox is already present in the machine image). A curl to https://index.taskcluster.net/v1/task/gecko.v2.mozilla-release.latest.firefox.linux64-add-on-devel/artifacts/public/build/buildbot_properties.json responding with 404 appears to be the cause. This is the log:

$ export FIREFOX_SOURCE_URL="https://index.taskcluster.net/v1/task/gecko.v2.mozilla-release.latest.firefox.linux64-add-on-devel/artifacts/public/build/firefox-$(curl -sfL https://index.taskcluster.net/v1/task/gecko.v2.mozilla-release.latest.firefox.linux64-add-on-devel/artifacts/public/build/buildbot_properties.json | jq -r .properties.appVersion).en-US.linux-x86_64-add-on-devel.tar.bz2"
curl: (22) The requested URL returned error: 404 Not Found
Installing Firefox latest-unsigned
$ wget --no-verbose -O /tmp/firefox-latest-unsigned.tar.bz2 $FIREFOX_SOURCE_URL
https://queue.taskcluster.net/v1/task/Hi8DX33KS_G1Q--Q5lLn0A/artifacts/public%2Fbuild%2Ffirefox-.en-US.linux-x86_64-add-on-devel.tar.bz2:
2018-09-11 07:44:31 ERROR 404: Not Found.
The command "eval wget --no-verbose -O /tmp/firefox-latest-unsigned.tar.bz2 $FIREFOX_SOURCE_URL " failed. Retrying, 2 of 3.
https://queue.taskcluster.net/v1/task/Hi8DX33KS_G1Q--Q5lLn0A/artifacts/public%2Fbuild%2Ffirefox-.en-US.linux-x86_64-add-on-devel.tar.bz2:
2018-09-11 07:44:32 ERROR 404: Not Found.
The command "eval wget --no-verbose -O /tmp/firefox-latest-unsigned.tar.bz2 $FIREFOX_SOURCE_URL " failed. Retrying, 3 of 3.
https://queue.taskcluster.net/v1/task/Hi8DX33KS_G1Q--Q5lLn0A/artifacts/public%2Fbuild%2Ffirefox-.en-US.linux-x86_64-add-on-devel.tar.bz2:
2018-09-11 07:44:34 ERROR 404: Not Found.
The command "eval wget --no-verbose -O /tmp/firefox-latest-unsigned.tar.bz2 $FIREFOX_SOURCE_URL " failed 3 times.
tar: This does not look like a tar archive
bzip2: Compressed file ends unexpectedly;
	perhaps it is corrupted?  *Possible* reason follows.
bzip2: Inappropriate ioctl for device
	Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
$ export PATH=$HOME/firefox-latest-unsigned/firefox:$PATH
$ firefox --version
Mozilla Firefox 56.0.2

Unsigned Firefox was added here and is required for web extension testing.

I’m not sure if anyone’s actually triaging these issues regularly :-\

However, FWIW, it looks like the latest-unsigned option is working: https://travis-ci.org/mozilla-lockbox/lockbox-addon/jobs/466186481

It was fixed by https://github.com/travis-ci/travis-build/pull/1582.

1 Like