Граф коммитов

120 Коммитов

Автор SHA1 Сообщение Дата
Mitchell Hentges 777c13d3d9 Bug 1713818: Use python3 with mach in test-linux.sh r=ahal
Regardless of other task configuration, if Mach
is being invoked we should use Python 3.

Differential Revision: https://phabricator.services.mozilla.com/D116615
2021-06-07 19:46:16 +00:00
Dorel Luca be3cb0088b Backed out 3 changesets (bug 1713818, bug 1714116, bug 1714118) for XPCshell in toolkit/modules/subprocess/test/xpcshell/test_subprocess.js. CLOSED TREE
Backed out changeset be4847abe491 (bug 1713818)
Backed out changeset 3e7ff2f21cbf (bug 1714118)
Backed out changeset da6994a236c9 (bug 1714116)
2021-06-03 22:07:56 +03:00
Mitchell Hentges e3f89082d3 Bug 1714116: Use python3 by default in test-linux.sh r=ahal
Most CI software is now Python3-compatible, and Mach won't allow
Python 2 at all soon.

Differential Revision: https://phabricator.services.mozilla.com/D116615
2021-06-03 15:54:27 +00:00
stransky 8fc7a589e6 Bug 1708482 [Wayland] Add Wayland taskcluster variants to linux1804 tests, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D116500
2021-06-02 16:48:49 +00:00
Mike Hommey beb8f44609 Bug 1689467 - Use mozharness virtualenv python to run custom mach commands. r=releng-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D103447
2021-01-29 12:08:33 +00:00
James Graham 3c9ea32e23 Bug 1680752 - Provide a python-3 opt-in for tests on Taskcluster, , bhearsum r=bc,bhearsum
This requires tests to specify `python-3: true` in order to be run
with Python 3. When nothing is specified things work just like today,
so it's a more conservative change than the one in bug 1672181.

Obviously in the long term we will remove this and switch to Python 3
only, but this unblocks moving harnesses to py3 today.

Differential Revision: https://phabricator.services.mozilla.com/D98766
2020-12-10 14:02:38 +00:00
Mihai Alexandru Michis 05ce4b0dac Backed out changeset ea5674f9a511 (bug 1680752) for causing android failures.
CLOSED TREE
2020-12-09 23:06:23 +02:00
James Graham dfd62d5a30 Bug 1680752 - Provide a python-3 opt-in for tests on Taskcluster, , bhearsum r=bc,bhearsum
This requires tests to specify `python-3: true` in order to be run
with Python 3. When nothing is specified things work just like today,
so it's a more conservative change than the one in bug 1672181.

Obviously in the long term we will remove this and switch to Python 3
only, but this unblocks moving harnesses to py3 today.

Differential Revision: https://phabricator.services.mozilla.com/D98766
2020-12-09 16:49:23 +00:00
Razvan Maries 1e986258d1 Backed out changeset f5532b7dc480 (bug 1672181) as per Gregory's request. CLOSED TREE 2020-12-01 17:12:11 +02:00
Andrew Halberstadt 6db2921d7f Bug 1672181 - [taskgraph] Make test tasks py3 by default and add a py2 override r=bc,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D97669
2020-11-26 17:42:27 +00:00
stransky 114cd41e5a Bug 1665844 [Wayland] Fix mutter to start in Wayland mode in Mozilla automation, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D97161
2020-11-30 07:10:57 +00:00
Razvan Maries 960c5da1e7 Backed out changeset a39c15378e6f (bug 1672181) for Mochitest perma failures. CLOSED TREE 2020-11-26 19:38:22 +02:00
Andrew Halberstadt 5e91379180 Bug 1672181 - [taskgraph] Make test tasks py3 by default and add a py2 override r=bc,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D97669
2020-11-20 21:45:17 +00:00
Noemi Erli e0fd535990 Backed out changeset c5f7092adb7a (bug 1665844) for causing mass mochitest automation errors CLOSED TREE 2020-11-17 05:50:06 +02:00
stransky 370bfbe6bc Bug 1665844 [Wayland] Fix mutter to start in Wayland mode in Mozilla automation, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D97161
2020-11-16 18:52:09 +00:00
Andrew Halberstadt 14d0784d5e Bug 1673992 - [taskgraph] Ensure we stop extracting mozharness.zip in the cwd r=bhearsum
Rather than putting a top-level "mozharness" directory in "mozharness.zip",
this puts the root of mozharness at the root of the archive. Then we extract
the archive into a "mozharness" directory. This way the path on disk ends up
being the same, but generic-worker won't attempt to modify the permissions of
files in the cwd.

Differential Revision: https://phabricator.services.mozilla.com/D95138
2020-10-30 13:32:01 +00:00
Razvan Maries ba834e9f0e Backed out changeset e281605f0fd2 (bug 1673992) for Android wrench bustage. CLOSED TREE 2020-10-29 23:10:22 +02:00
Andrew Halberstadt 93710a04d5 Bug 1673992 - [taskgraph] Ensure we stop extracting mozharness.zip in the cwd r=bhearsum
Rather than putting a top-level "mozharness" directory in "mozharness.zip",
this puts the root of mozharness at the root of the archive. Then we extract
the archive into a "mozharness" directory. This way the path on disk ends up
being the same, but generic-worker won't attempt to modify the permissions of
files in the cwd.

Differential Revision: https://phabricator.services.mozilla.com/D95138
2020-10-29 17:30:56 +00:00
stransky 50de9ff70f Bug 1663159 [Linux] Add Wayland config to test-linux.sh, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D89287
2020-09-16 09:48:15 +00:00
Cristina Coroiu d2a4bc510d Backed out changeset 5349493670b9 (bug 1663159) for mass failures on a CLOSED TREE 2020-09-09 17:58:56 +03:00
stransky bfa4d94201 Bug 1663159 [Linux] Add Wayland config to test-linux.sh, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D89287
2020-09-09 13:34:02 +00:00
Butkovits Atila 96f3218871 Backed out 3 changesets (bug 1648851) for webgl issues. CLOSED TREE
Backed out changeset 1f0d6e32a0f4 (bug 1648851)
Backed out changeset df5ec3dbab05 (bug 1648851)
Backed out changeset fbda45ebde5c (bug 1648851)
2020-07-20 12:44:43 +03:00
Edwin Takahashi 857b749921 Bug 1648851 - Part 2: create android-specific bootstrapping script r=jmaher,gbrown
Changes:
  - create a `test-android.sh` script that is based on, but removes non-android related paths from the `test-linux.sh` script.

Differential Revision: https://phabricator.services.mozilla.com/D82252
2020-07-17 22:02:41 +00:00
Razvan Maries 2af0f9a132 Backed out 4 changesets (bug 1648851) for perma failues on test_2_conformance2__glsl3__matrix-row-major-dynamic-indexing.html and test_2_conformance__state__gl-get-calls.html. CLOSED TREE
Backed out changeset 2d2686a389dc (bug 1648851)
Backed out changeset e05b2f2fdbb2 (bug 1648851)
Backed out changeset b576e680a9fa (bug 1648851)
Backed out changeset 901f16e24a60 (bug 1648851)
2020-07-17 02:19:47 +03:00
Edwin Takahashi cdce692d0a Bug 1648851 - Part 2: create android-specific bootstrapping script r=jmaher,gbrown
Changes:
  - create a `test-android.sh` script that is based on, but removes non-android related paths from the `test-linux.sh` script.

Differential Revision: https://phabricator.services.mozilla.com/D82252
2020-07-14 22:51:40 +00:00
Edwin Takahashi 3ae2d81379 Bug 1648674 - fix unary operator expected error in test-liux.sh r=glandium
Changes:
  - use parameter expansion to provide a default value of 'false' if `$NEED_COMPIZ` is not set.

Differential Revision: https://phabricator.services.mozilla.com/D81388
2020-07-02 23:03:49 +00:00
Edwin Takahashi 63d17a46c6 Bug 1648846 - more robust detection in conditional for xwit to be called in test-linux.sh r=jmaher
Changes:
  - instead of relying only on `$DISPLAY` env var, also use `$NEED_WINDOW_MANAGER` in the check.

Differential Revision: https://phabricator.services.mozilla.com/D81398
2020-06-27 09:19:17 +00:00
Edwin Takahashi 2e63f99098 Bug 1607713 - install xwit in ubuntu1804 docker image and set cursor position to 0,0 r=karlt
Changes:
  - install `xwit` package in the ubuntu1804 docker image setup phase.
  - in `test-linux.sh` call xwit to reposition the cursor to a coodinate of 0,0

Differential Revision: https://phabricator.services.mozilla.com/D80698
2020-06-25 18:02:11 +00:00
Mitchell Hentges 0bc6909185 Bug 1621960: Change |mach python| default from Python 2 to Python 3 r=rstewart
Depends on D77967

Differential Revision: https://phabricator.services.mozilla.com/D78181
2020-06-10 16:10:08 +00:00
Noemi Erli 9017f973e3 Backed out 4 changesets (bug 1621960) for causing Android bustages CLOSED TREE
Backed out changeset f36a95234a5f (bug 1621960)
Backed out changeset 0e4661c9061d (bug 1621960)
Backed out changeset 3e2cbe4dd777 (bug 1621960)
Backed out changeset d7eb101e5df7 (bug 1621960)
2020-06-09 20:59:26 +03:00
Mitchell Hentges 4006a0890c Bug 1621960: Change |mach python| default from Python 2 to Python 3 r=rstewart
Depends on D77967

Differential Revision: https://phabricator.services.mozilla.com/D78181
2020-06-09 16:44:51 +00:00
Mitchell Hentges 658f5f0eeb Bug 1642411: Removes unused test-macosx.sh script r=ahal
A grep through the repository and a brief discussion with #releng seems to point towards this script not being used.

Differential Revision: https://phabricator.services.mozilla.com/D77689
2020-06-02 18:55:35 +00:00
Edwin Takahashi 3efe2edb5c Bug 1641395 - install amd64 variants of existing i386 packages and insert additional startup parameters for pulseaudio r=jmaher
Changes:
  - install the `amd64` variants of various packages alongside `i386` packages
  - install `amd64` version of `fontconfig` instead
  - additional command line arguments for pulseaudio initialization
  - do not add configuration files to `~/.pulse` in the docker image

Differential Revision: https://phabricator.services.mozilla.com/D77512
2020-06-01 20:44:47 +00:00
Narcis Beleuzu abc58ec081 Backed out changeset 4123014cf744 (bug 1633101) for Linting failure on runtests.py . CLOSED TREE 2020-05-14 02:14:18 +03:00
egao e29bcc19ec Bug 1633101 - consolidate pulseaudio initialization process on linux and migrate to x64 fontconfig package r=jmaher
Changes:

While the ubuntu1804 migration work was taking place, `pulseaudio` related pieces of code were sprinkled across a wide variety of modules.

Now that things have settled down, remove and streamline `pulseaudio` initialization so that there are less places for this to go wrong.

Differential Revision: https://phabricator.services.mozilla.com/D74809
2020-05-13 21:46:55 +00:00
Razvan Maries e218f74304 Backed out 2 changesets (bug 1633101) for perma failures at test_getUserMedia_basicAudio_loopback.html. CLOSED TREE
Backed out changeset b85aebbd6fcc (bug 1633101)
Backed out changeset fd6537bc153f (bug 1633101)
2020-05-13 03:47:10 +03:00
Edwin Takahashi eea3ca3ae8 Bug 1633101 - remove redundant pulseaudio initializations for linux tests r=jmaher
Changes:

While the ubuntu1804 migration work was taking place, `pulseaudio` related pieces of code were sprinkled across a wide variety of modules.

Now that things have settled down, remove and streamline `pulseaudio` initialization so that there are less places for this to go wrong.

Differential Revision: https://phabricator.services.mozilla.com/D74809
2020-05-12 20:59:43 +00:00
Razvan Maries 7bb5a72350 Backed out changeset ce270ccc8290 (bug 1633101) for perma failures at test_getUserMedia_basicAudio_loopback.html. CLOSED TREE 2020-05-12 23:55:42 +03:00
Edwin Takahashi fe77d08974 Bug 1633101 - remove redundant pulseaudio initializations for linux tests r=jmaher
Changes:

While the ubuntu1804 migration work was taking place, `pulseaudio` related pieces of code were sprinkled across a wide variety of modules.

Now that things have settled down, remove and streamline `pulseaudio` initialization so that there are less places for this to go wrong.

Differential Revision: https://phabricator.services.mozilla.com/D74809
2020-05-12 12:20:45 +00:00
Geoff Brown e245496607 Bug 1612345 - Ensure that most custom retriggers repeat the original task by default; r=bc
Various updates to the custom retrigger action so that, without any custom changes to
parameters, the retriggered task runs with the same parameters as the original task.
Several issues were found and corrected, notably:
 - parameters like --allow-software-gl-layers were ignored
 - MOZHARNESS_TEST_PATHS was ignored
 - many parameter customizations in the desktop mozharness configs were ignored
 - mochitest suite/subsuite/flavor selection was not always correct
 - using repeat=1 by default meant that each test ran twice

Differential Revision: https://phabricator.services.mozilla.com/D70457
2020-04-17 22:11:02 +00:00
Edwin Takahashi c7e8b475ec Bug 1621483 - set up separate enviornment for linux1804 marionette and web-platform-tests-wdspec r=jmaher,marionette-reviewers,whimboo
Changes:

As documented in bug 1621483, `marionette` experiences a non-trivial amount of issues when run on ubuntu1804 docker image with GTK/GNOME desktop environment enabled.

GTK/GNOME has a higher degree of asynciness when manipulating window size/position and this leads to `marionette` and the derived suite `web-platform-tests-wdspec` reporting intermittent oranges for a number of tests.

While attempts were made to incorporate a fix for the marionette driver itself, the best attempts have only been able to achieve a ~50% reliability in green runs.

This patch reintroduces the use of bare `compiz` window manager exclusively for these two problematic test suites so that at least the tests are running on non-legacy software.

Differential Revision: https://phabricator.services.mozilla.com/D66482

--HG--
extra : moz-landing-system : lando
2020-03-12 21:43:56 +00:00
Edwin Takahashi 381d441cce Bug 1610069 - remove NEED_COMPIZ flag throught the tree r=gbrown
Changes:

Bug 1552563 introduced the notion that `compiz` should only be run where it was required. This was an attempt to save some seconds through the CI system as `compiz` takes 15 seconds to return an exit code.

Now that majority of tests are running under ubuntu1804, which runs the GNOME desktop environment, the flag `NEED_COMPIZ` is no longer necessary.

Differential Revision: https://phabricator.services.mozilla.com/D60342

--HG--
extra : moz-landing-system : lando
2020-01-20 19:31:34 +00:00
Edwin Takahashi bfb52d584e Bug 1596526 - use docker entrypoint to initialize dbus for Ubuntu 18.04 test image and set desktop session parameters accordingly in test-linux.sh r=jmaher
Changes:

Properly detect the distribution and release-version, and set the desktop session variable in `test-linux.sh` appropriately.

Use docker `entrypoint` for initializing `dbus`.

This change is critical for reducing the number of failures on GNOME-shell based systems, such as Ubuntu 18.04 as outlined in bug 1596526 comment 0.

Differential Revision: https://phabricator.services.mozilla.com/D53089

--HG--
extra : moz-landing-system : lando
2019-11-23 02:10:04 +00:00
Edwin Takahashi 962dd7ee27 Bug 1565332 - change how pulseaudio is initialized for Debian 10 test image without affecting existing Ubuntu 16.04 process r=jlund,dustin
Changes:
- for Debian platforms, do not initialize pulseaudio in `test-linux.sh`; instead initialize pulseaudio if required in the `desktop_unittest.py` mozharness script

Differential Revision: https://phabricator.services.mozilla.com/D45768

--HG--
extra : moz-landing-system : lando
2019-10-21 16:34:43 +00:00
Edwin Takahashi 1cb0ac3980 Bug 1565332 - restore set -e in the debian-specific block in test-linux.sh r=gbrown
I found that I did not restore the `set -e` flag after temporarily disabling it in the debian10-specific piece of experimental code in `test-linux.sh`, and this caused a bunch of my try pushes to register as successful despite having multiple unexpected failures.

Differential Revision: https://phabricator.services.mozilla.com/D44774

--HG--
extra : moz-landing-system : lando
2019-09-06 13:37:54 +00:00
Edwin Takahashi 3607d54634 Bug 1565332 - add new dockerfile for debian 10 (buster) test image and add necessary piping without switching the main CI pipeline from ubuntu 16.04 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D42597

--HG--
extra : moz-landing-system : lando
2019-08-31 09:59:43 +00:00
Tom Prince d02555e20e Bug 1553915: Check for `mach` binary before trying to use it to run python; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D33175

--HG--
extra : moz-landing-system : lando
2019-05-30 20:20:57 +00:00
Edwin Gao 231ad45e42 Bug 1552563 - remove mochitest-media from whitelist not requiring compiz CLOSED TREE
Summary:
Changes:
- remove `mochitest-media` from the whiteslist - compiz is required.

Test Plan: https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=pending%2Crunning%2Csuperseded%2Cusercancel%2Cretry%2Csuccess%2Ctestfailed%2Cbusted%2Cexception&classifiedState=unclassified&group_state=expanded&revision=f16b0ce4af9e575ef2ec877b405698c0b0c62f92

Reviewers: jmaher, gbrown

Bug #: 1552563

Differential Revision: https://phabricator.services.mozilla.com/D32383

--HG--
extra : rebase_source : 1d8b1ba401ab9b565258fd6be4c0de9975e1e4fd
extra : histedit_source : c53f405d98335228f3313abedb4dfd26fab4f9e2
2019-05-23 23:53:21 +03:00
Andreea Pavel 3c9b661125 Backed out changeset 52e365586577 (bug 1552563) for failing test_getUserMedia_basicScreenshare.html on a CLOSED TREE 2019-05-23 23:52:19 +03:00
Edwin Gao 428bdb8a57 Bug 1552563 - do not run compiz on linux tests unless needed by tests r=jmaher
Changes:

- removed UBUNTU_1604 detection mechanism at top of `test-linux.sh` file, since all tests are run on Ubuntu 16.04 anyway
- added new environment value `NEED_COMPIZ`, defaulting to `true`, which will inform the test if compiz is required for tests
- from `test-linux.sh` remove unconditional invocation of compiz, and replace it with detection of `NEED_COMPIZ` environment variable

Differential Revision: https://phabricator.services.mozilla.com/D31724

--HG--
extra : moz-landing-system : lando
2019-05-21 16:33:43 +00:00