Skip to content
This repository has been archived by the owner on Feb 13, 2021. It is now read-only.

Commit

Permalink
Bug 1602863 - migrate linux32/opt web-platform-tests to ubuntu1804 r=…
Browse files Browse the repository at this point in the history
…jmaher

Changes:

Because part of the setup for `test-linux` jobs are done in `taskcluster/taskgraph/transforms/tests.py`, I suspect there isn't an easy way like in `test-macosx1014` to migrate a green suite one at a time, in piecemeal fashion.

This is the alternative proof of concept:

- rename the linux jobs with treeherder/job labels that include the version number like every other platform on our CI
- like `test-macosx1014`, create two test sets in `test-sets.yml` and stop running tests that are green on the older platform. If test has issues running on the new platform, keep it on the older, green platform at the moment while issues are worked out.

As proof of concept, apply this to `linux32/opt web-platform-tests` tasks

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

--HG--
extra : moz-landing-system : lando
  • Loading branch information
Edwin Takahashi committed Dec 24, 2019
1 parent b055b14 commit a6f17e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion taskcluster/ci/test/test-platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
##
# Linux platforms (matching /linux.*/)

linux32-shippable/opt:
linux1804-32-shippable/opt:
build-platform: linux-shippable/opt
test-sets:
- linux32-tests
Expand Down
5 changes: 4 additions & 1 deletion taskcluster/taskgraph/transforms/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,10 @@ def set_defaults(config, tests):
test.setdefault('loopback-audio', False)
test.setdefault('loopback-video', False)
test.setdefault('limit-platforms', [])
if config.params['try_task_config'].get('ubuntu-bionic'):
# Bug 1602863 - temporarily in place while ubuntu1604 and ubuntu1804
# both exist in the CI.
if ('linux1804' in test['test-platform'] or
config.params['try_task_config'].get('ubuntu-bionic')):
test.setdefault('docker-image', {'in-tree': 'ubuntu1804-test'})
else:
test.setdefault('docker-image', {'in-tree': 'desktop1604-test'})
Expand Down

0 comments on commit a6f17e1

Please sign in to comment.