gecko-dev/taskcluster/docker/ubuntu1804-test-base
Mike Hommey e68c3c3d3b Bug 1678451 - Split the Ubuntu test image and work around recent issues. r=releng-reviewers,bhearsum
To avoid breakage from Ubuntu package upgrades, we split the test image
into two, one that sets up the packages only, and that won't change when
we need to update our scripts, and another that derives from it, that
adds all our scripts and other setup.

Additionally, we work around the recent timeout issues due to the
upgrade of packages.

The timeout itself is due to gst-launch waiting indefinitely when it
crashes, rather than exiting with an error code. Bug 1679491 addresses
this issue, but the core problem is that gst-launch crashes, which seems
to be that some change in libc (presumably "Fix pthread_rwlock_try*lock
stalls") turns `gst_object_unref: assertion '((GObject *)
object)->ref_count > 0' failed` fatal warnings (which were already
happening) into actual crashes (presumably because a race condition is
lost on a use-after-free).

This workaround, however, will stop working as soon as the updated libc
package migrates from bionic-updates into bionic proper, presumaby on
the next 18.04 dot-release. Hopefully, we won't be rebuilding the base
image for a while, avoiding further problems. Eventually, we'll want to
upload the base image to docker hub so that it's set in stone, and
change the FROM in the base image to use that instead.

Differential Revision: https://phabricator.services.mozilla.com/D98045
2020-11-27 16:34:50 +00:00
..
Dockerfile
apt-prefs