Hi folks
I had noticed a bug in one of our tests that seemed to be related to the version of Chrome being superold. I thought that was odd because we were defining chrome: stable
in our travis config.
I went to the job to investigate, and at first glance, it seemed like there were no errors at the install_chrome
stage strangeā¦ but when you expand that step it seemed like there was in fact an error installing chrome:
$ export CHROME_SOURCE_URL=https://dl.google.com/dl/linux/direct/google-chrome-stable_current_amd64.deb
Installing Google Chrome stable
0.30s$ wget --no-verbose -O /tmp/$(basename $CHROME_SOURCE_URL) $CHROME_SOURCE_URL
2020-05-08 21:48:52 URL:https://dl.google.com/dl/linux/direct/google-chrome-stable_current_amd64.deb [66985784/66985784] -> "/tmp/google-chrome-stable_current_amd64.deb" [1]
dpkg-deb: error: archive '/tmp/google-chrome-stable_current_amd64.deb' has premature member 'control.tar.xz' before 'control.tar.gz', giving up
dpkg: error processing archive /tmp/google-chrome-stable_current_amd64.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/tmp/google-chrome-stable_current_amd64.deb
So the problems with this are twofold:
- Itās clearly a bug that needs to be fixed somewhere
- Itās odd that it didnāt fail the build to have Chrome stable fail to install
Even if we wanted to take the approach that a Chrome install failure was not in fact a build failure, there should be some sort of indication that it failed in the build history so that we can point developers in the right direction
The build that failed if anyone is interested is here: https://travis-ci.org/github/ember-learn/ember-website/builds/683575818