Bug 1240056 - Disable font anti-aliasing on desktop-test image. DONTBUILD. r=dustin
authorArmen Zambrano Gasparnian <armenzg@mozilla.com>
Fri, 15 Jan 2016 09:27:45 -0500
changeset 280165 fefe66d4bc837c652d44b137cad7b420d51500ad
parent 280164 df4ac0fb09c3f1bac2e2662146b29144df70441b
child 280166 657e5d2b51de5c7719663d0288a53efd1c197fb8
push id70348
push userarmenzg@mozilla.com
push dateFri, 15 Jan 2016 17:52:57 +0000
treeherdermozilla-inbound@fefe66d4bc83 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1240056, 1239301
milestone46.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1240056 - Disable font anti-aliasing on desktop-test image. DONTBUILD. r=dustin In bug 1239301 we noticed that the fonts on the releng Linux hosts versus the docker image were slightly different and caused some test failures. The difference is that on the releng hosts we have anti-aliasing disabled and many tests (reftests mainly) had adapted for this configuration, hence, failing if enabled. In this bug we're going to disable anti-aliasing for the desktop-test image in order to pass the tests. See the difference between the two pushes: https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&revision=3c9a54d68c95,1d3078c86e52 We went from failing over 200 tests across jobs to less than 10-20 tests in total. In the future we will have to consider if we want to fix this configuration.
testing/docker/desktop-test/Dockerfile
testing/docker/desktop-test/VERSION
testing/docker/desktop-test/fonts.conf
--- a/testing/docker/desktop-test/Dockerfile
+++ b/testing/docker/desktop-test/Dockerfile
@@ -51,10 +51,13 @@ EXPOSE 5900
 
 # This helps not forgetting setting DISPLAY=:0 when running
 # tests outside of test.sh
 ENV DISPLAY :0
 
 # Disable apport (Ubuntu app crash reporter) to avoid stealing focus from test runs
 ADD apport /etc/default/apport
 
+# Disable font antialiasing for now to match releng's setup
+ADD fonts.conf /home/worker/.fonts.conf
+
 # Set a default command useful for debugging
 CMD ["/bin/bash", "--login"]
--- a/testing/docker/desktop-test/VERSION
+++ b/testing/docker/desktop-test/VERSION
@@ -1,1 +1,1 @@
-0.5.5
+0.5.6
new file mode 100644
--- /dev/null
+++ b/testing/docker/desktop-test/fonts.conf
@@ -0,0 +1,5 @@
+<match target="font">
+  <edit name="antialias" mode="assign">
+   <bool>false</bool>
+  </edit>
+</match>