diff options
Diffstat (limited to '')
28 files changed, 62 insertions, 202 deletions
diff --git a/taskcluster/test/conftest.py b/taskcluster/test/conftest.py index 0123cee2de..224d5fb777 100644 --- a/taskcluster/test/conftest.py +++ b/taskcluster/test/conftest.py @@ -45,10 +45,10 @@ def create_tgg(responses, datadir): mock_requests[url] = "bugbug-push-schedules.json" # files changed - url = "{head_repository}/json-automationrelevance/{head_rev}".format( + url = "{head_repository}/json-pushfileschanged/{head_rev}".format( **tgg.parameters ) - mock_requests[url] = "automationrelevance.json" + mock_requests[url] = "pushfileschanged.json" url = PUSHLOG_PUSHES_TMPL.format( repository=tgg.parameters["head_repository"], diff --git a/taskcluster/test/data/automationrelevance.json b/taskcluster/test/data/automationrelevance.json deleted file mode 100644 index 36289ded18..0000000000 --- a/taskcluster/test/data/automationrelevance.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "changesets": [ - { - "author": "User \u003cuser@example.com\u003e", - "backsoutnodes": [], - "bugs": [ - { - "no": "1646582", - "url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1646582" - } - ], - "date": [1593028650.0, 0], - "desc": "Bug 1646582 - Remove nsIRemoteWebProgressRequest since it's not being used anywhere. r=barret\n\nDifferential Revision: https://phabricator.services.mozilla.com/D80127", - "extra": { "branch": "default", "moz-landing-system": "lando" }, - "files": [ - "dom/ipc/BrowserChild.cpp", - "dom/ipc/BrowserParent.cpp", - "dom/ipc/PBrowser.ipdl", - "dom/ipc/RemoteWebProgressRequest.cpp", - "dom/ipc/RemoteWebProgressRequest.h", - "dom/ipc/components.conf", - "dom/ipc/moz.build", - "dom/ipc/nsIRemoteWebProgressRequest.idl", - "dom/ipc/tests/browser.ini", - "dom/ipc/tests/browser_ElapsedTime.js", - "dom/ipc/tests/elapsed_time.sjs" - ], - "landingsystem": "lando", - "node": "9fc2e30af2852cbacf039e6b7cc36a0233c8ed4e", - "parents": ["226b1c518cba596226c80e4475a60ac3a0bfd198"], - "perfherderurl": "https://treeherder.mozilla.org/perf.html#/compare?originalProject=autoland&originalRevision=47d0de3f55cd0fcb345d4fa9a5a7d23891315182&newProject=autoland&newRevision=9fc2e30af2852cbacf039e6b7cc36a0233c8ed4e", - "phase": "public", - "pushdate": [1593029535, 0], - "pushhead": "47d0de3f55cd0fcb345d4fa9a5a7d23891315182", - "pushid": 119873, - "pushuser": "user@example.com", - "rev": 537254, - "reviewers": [{ "name": "barret", "revset": "reviewer(barret)" }], - "treeherderrepo": "autoland", - "treeherderrepourl": "https://treeherder.mozilla.org/#/jobs?repo=autoland" - }, - { - "author": "User \u003cuser@example.com\u003e", - "backsoutnodes": [], - "bugs": [ - { - "no": "1646582", - "url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1646582" - } - ], - "date": [1593028695.0, 0], - "desc": "Bug 1646582 - Remove DOM(Inner)WindowID from nsIWebProgress. r=nika\n\nDifferential Revision: https://phabricator.services.mozilla.com/D80128", - "extra": { "branch": "default", "moz-landing-system": "lando" }, - "files": [ - "docshell/base/BrowsingContextWebProgress.cpp", - "dom/ipc/BrowserChild.cpp", - "dom/ipc/BrowserParent.cpp", - "dom/ipc/PBrowser.ipdl", - "dom/ipc/RemoteWebProgress.cpp", - "dom/ipc/RemoteWebProgress.h", - "dom/ipc/WindowGlobalParent.cpp", - "dom/ipc/nsIRemoteWebProgress.idl", - "toolkit/components/sessionstore/SessionStoreListener.cpp", - "toolkit/components/statusfilter/nsBrowserStatusFilter.cpp", - "uriloader/base/nsDocLoader.cpp", - "uriloader/base/nsIWebProgress.idl" - ], - "landingsystem": "lando", - "node": "1a749d5aaa71752a9f1d8296b7c32a2a30bccc84", - "parents": ["9fc2e30af2852cbacf039e6b7cc36a0233c8ed4e"], - "perfherderurl": "https://treeherder.mozilla.org/perf.html#/compare?originalProject=autoland&originalRevision=47d0de3f55cd0fcb345d4fa9a5a7d23891315182&newProject=autoland&newRevision=9fc2e30af2852cbacf039e6b7cc36a0233c8ed4e", - "phase": "public", - "pushdate": [1593029535, 0], - "pushhead": "47d0de3f55cd0fcb345d4fa9a5a7d23891315182", - "pushid": 119873, - "pushuser": "user@example.com", - "rev": 537255, - "reviewers": [{ "name": "nika", "revset": "reviewer(nika)" }], - "treeherderrepo": "autoland", - "treeherderrepourl": "https://treeherder.mozilla.org/#/jobs?repo=autoland" - }, - { - "author": "User \u003cuser@example.com\u003e", - "backsoutnodes": [], - "bugs": [ - { - "no": "1646582", - "url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1646582" - } - ], - "date": [1593028744.0, 0], - "desc": "Bug 1646582 - Remove RemoteWebProgressManager. r=nika,Gijs\n\nDifferential Revision: https://phabricator.services.mozilla.com/D80129", - "extra": { "branch": "default", "moz-landing-system": "lando" }, - "files": [ - "devtools/client/responsive/browser/swap.js", - "dom/interfaces/base/nsIBrowser.idl", - "dom/ipc/BrowserParent.cpp", - "dom/ipc/BrowserParent.h", - "dom/ipc/RemoteWebProgress.cpp", - "dom/ipc/RemoteWebProgress.h", - "dom/ipc/WindowGlobalParent.cpp", - "dom/ipc/components.conf", - "dom/ipc/moz.build", - "dom/ipc/nsIRemoteWebProgress.idl", - "netwerk/ipc/DocumentLoadListener.cpp", - "netwerk/ipc/DocumentLoadListener.h", - "security/manager/ssl/nsSecureBrowserUI.cpp", - "toolkit/content/widgets/browser-custom-element.js", - "toolkit/modules/RemoteWebProgress.jsm", - "toolkit/modules/moz.build", - "tools/lint/eslint/modules.json" - ], - "landingsystem": "lando", - "node": "14b9b4515aabcb9060ece1a988c7993ef65a0bdc", - "parents": ["1a749d5aaa71752a9f1d8296b7c32a2a30bccc84"], - "perfherderurl": "https://treeherder.mozilla.org/perf.html#/compare?originalProject=autoland&originalRevision=47d0de3f55cd0fcb345d4fa9a5a7d23891315182&newProject=autoland&newRevision=9fc2e30af2852cbacf039e6b7cc36a0233c8ed4e", - "phase": "public", - "pushdate": [1593029535, 0], - "pushhead": "47d0de3f55cd0fcb345d4fa9a5a7d23891315182", - "pushid": 119873, - "pushuser": "user@example.com", - "rev": 537256, - "reviewers": [ - { "name": "nika", "revset": "reviewer(nika)" }, - { "name": "Gijs", "revset": "reviewer(Gijs)" } - ], - "treeherderrepo": "autoland", - "treeherderrepourl": "https://treeherder.mozilla.org/#/jobs?repo=autoland" - }, - { - "author": "User \u003cuser@example.com\u003e", - "backsoutnodes": [], - "bugs": [ - { - "no": "1646582", - "url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1646582" - } - ], - "date": [1593028772.0, 0], - "desc": "Bug 1646582 - Pull the inner window id from the WindowGlobalParent, rather than passing it across PBrowser for updateForLocationChange. r=nika,Gijs\n\nDifferential Revision: https://phabricator.services.mozilla.com/D80131", - "extra": { "branch": "default", "moz-landing-system": "lando" }, - "files": [ - "devtools/client/responsive/browser/tunnel.js", - "dom/interfaces/base/nsIBrowser.idl", - "dom/ipc/BrowserChild.cpp", - "dom/ipc/BrowserParent.cpp", - "dom/ipc/PBrowser.ipdl", - "toolkit/content/widgets/browser-custom-element.js" - ], - "landingsystem": "lando", - "node": "47d0de3f55cd0fcb345d4fa9a5a7d23891315182", - "parents": ["14b9b4515aabcb9060ece1a988c7993ef65a0bdc"], - "perfherderurl": "https://treeherder.mozilla.org/perf.html#/compare?originalProject=autoland&originalRevision=47d0de3f55cd0fcb345d4fa9a5a7d23891315182&newProject=autoland&newRevision=9fc2e30af2852cbacf039e6b7cc36a0233c8ed4e", - "phase": "public", - "pushdate": [1593029535, 0], - "pushhead": "47d0de3f55cd0fcb345d4fa9a5a7d23891315182", - "pushid": 119873, - "pushuser": "user@example.com", - "rev": 537257, - "reviewers": [ - { "name": "nika", "revset": "reviewer(nika)" }, - { "name": "Gijs", "revset": "reviewer(Gijs)" } - ], - "treeherderrepo": "autoland", - "treeherderrepourl": "https://treeherder.mozilla.org/#/jobs?repo=autoland" - } - ], - "visible": true -} diff --git a/taskcluster/test/data/pushfileschanged.json b/taskcluster/test/data/pushfileschanged.json new file mode 100644 index 0000000000..830aa1c80a --- /dev/null +++ b/taskcluster/test/data/pushfileschanged.json @@ -0,0 +1,25 @@ +{ + "files": [ + "devtools/client/responsive/browser/swap.js", + "devtools/client/responsive/browser/tunnel.js", + "docshell/base/BrowsingContextWebProgress.cpp", + "dom/ipc/BrowserChild.cpp", + "dom/ipc/BrowserParent.cpp", + "dom/ipc/PBrowser.ipdl", + "dom/ipc/RemoteWebProgressRequest.cpp", + "dom/ipc/RemoteWebProgressRequest.h", + "dom/ipc/components.conf", + "dom/ipc/moz.build", + "dom/ipc/nsIRemoteWebProgressRequest.idl", + "dom/ipc/tests/browser.ini", + "dom/ipc/tests/browser_ElapsedTime.js", + "dom/ipc/tests/elapsed_time.sjs", + "netwerk/ipc/DocumentLoadListener.cpp", + "netwerk/ipc/DocumentLoadListener.h", + "security/manager/ssl/nsSecureBrowserUI.cpp", + "tools/lint/eslint/modules.json", + "toolkit/content/widgets/browser-custom-element.js", + "toolkit/modules/RemoteWebProgress.jsm", + "toolkit/modules/moz.build" + ] +} diff --git a/taskcluster/test/params/mb-promote-android.yml b/taskcluster/test/params/mb-promote-android.yml index 90a8c1e602..b1fed85cb7 100644 --- a/taskcluster/test/params/mb-promote-android.yml +++ b/taskcluster/test/params/mb-promote-android.yml @@ -160,7 +160,6 @@ existing_tasks: docker-image-firefox-snap: elwDDkImTPaIJXsdkPOgHA docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: Cfu6AIh4REm_lP4w2WJ34A - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: H2NDEiu8RJWciIqy0yu0IA diff --git a/taskcluster/test/params/mb-promote-devedition-partials.yml b/taskcluster/test/params/mb-promote-devedition-partials.yml index 5517cf96ce..b70e622ad8 100644 --- a/taskcluster/test/params/mb-promote-devedition-partials.yml +++ b/taskcluster/test/params/mb-promote-devedition-partials.yml @@ -160,7 +160,6 @@ existing_tasks: docker-image-firefox-snap: elwDDkImTPaIJXsdkPOgHA docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: Cfu6AIh4REm_lP4w2WJ34A - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: H2NDEiu8RJWciIqy0yu0IA diff --git a/taskcluster/test/params/mb-promote-devedition.yml b/taskcluster/test/params/mb-promote-devedition.yml index 306c117f44..002cf55c73 100644 --- a/taskcluster/test/params/mb-promote-devedition.yml +++ b/taskcluster/test/params/mb-promote-devedition.yml @@ -160,7 +160,6 @@ existing_tasks: docker-image-firefox-snap: elwDDkImTPaIJXsdkPOgHA docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: Cfu6AIh4REm_lP4w2WJ34A - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: H2NDEiu8RJWciIqy0yu0IA diff --git a/taskcluster/test/params/mb-promote-firefox-partials.yml b/taskcluster/test/params/mb-promote-firefox-partials.yml index 39bcac3f87..2092b1e638 100644 --- a/taskcluster/test/params/mb-promote-firefox-partials.yml +++ b/taskcluster/test/params/mb-promote-firefox-partials.yml @@ -160,7 +160,6 @@ existing_tasks: docker-image-firefox-snap: elwDDkImTPaIJXsdkPOgHA docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: Cfu6AIh4REm_lP4w2WJ34A - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: H2NDEiu8RJWciIqy0yu0IA diff --git a/taskcluster/test/params/mb-promote-firefox.yml b/taskcluster/test/params/mb-promote-firefox.yml index 1fe4f69304..0c066c00f7 100644 --- a/taskcluster/test/params/mb-promote-firefox.yml +++ b/taskcluster/test/params/mb-promote-firefox.yml @@ -160,7 +160,6 @@ existing_tasks: docker-image-firefox-snap: elwDDkImTPaIJXsdkPOgHA docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: Cfu6AIh4REm_lP4w2WJ34A - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: H2NDEiu8RJWciIqy0yu0IA diff --git a/taskcluster/test/params/mb-push-android.yml b/taskcluster/test/params/mb-push-android.yml index 1acb1628ea..2f18c0f6f3 100644 --- a/taskcluster/test/params/mb-push-android.yml +++ b/taskcluster/test/params/mb-push-android.yml @@ -2405,7 +2405,6 @@ existing_tasks: docker-image-firefox-snap: elwDDkImTPaIJXsdkPOgHA docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: Cfu6AIh4REm_lP4w2WJ34A - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: H2NDEiu8RJWciIqy0yu0IA diff --git a/taskcluster/test/params/mb-push-devedition.yml b/taskcluster/test/params/mb-push-devedition.yml index 1952bac833..bed653b3a4 100644 --- a/taskcluster/test/params/mb-push-devedition.yml +++ b/taskcluster/test/params/mb-push-devedition.yml @@ -2405,7 +2405,6 @@ existing_tasks: docker-image-firefox-snap: elwDDkImTPaIJXsdkPOgHA docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: Cfu6AIh4REm_lP4w2WJ34A - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: H2NDEiu8RJWciIqy0yu0IA diff --git a/taskcluster/test/params/mb-push-firefox-partials.yml b/taskcluster/test/params/mb-push-firefox-partials.yml index 5fcf72ec14..a73885592c 100644 --- a/taskcluster/test/params/mb-push-firefox-partials.yml +++ b/taskcluster/test/params/mb-push-firefox-partials.yml @@ -2405,7 +2405,6 @@ existing_tasks: docker-image-firefox-snap: elwDDkImTPaIJXsdkPOgHA docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: Cfu6AIh4REm_lP4w2WJ34A - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: H2NDEiu8RJWciIqy0yu0IA diff --git a/taskcluster/test/params/mb-push-firefox.yml b/taskcluster/test/params/mb-push-firefox.yml index 78f4199b13..1db380ec51 100644 --- a/taskcluster/test/params/mb-push-firefox.yml +++ b/taskcluster/test/params/mb-push-firefox.yml @@ -2405,7 +2405,6 @@ existing_tasks: docker-image-firefox-snap: elwDDkImTPaIJXsdkPOgHA docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: Cfu6AIh4REm_lP4w2WJ34A - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: H2NDEiu8RJWciIqy0yu0IA diff --git a/taskcluster/test/params/mb-ship-android.yml b/taskcluster/test/params/mb-ship-android.yml index e2d19707e2..0dbdb029f2 100644 --- a/taskcluster/test/params/mb-ship-android.yml +++ b/taskcluster/test/params/mb-ship-android.yml @@ -147,7 +147,6 @@ existing_tasks: docker-image-firefox-snap: elwDDkImTPaIJXsdkPOgHA docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: Cfu6AIh4REm_lP4w2WJ34A - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: H2NDEiu8RJWciIqy0yu0IA diff --git a/taskcluster/test/params/mb-ship-devedition.yml b/taskcluster/test/params/mb-ship-devedition.yml index 08447d8139..35f8518268 100644 --- a/taskcluster/test/params/mb-ship-devedition.yml +++ b/taskcluster/test/params/mb-ship-devedition.yml @@ -147,7 +147,6 @@ existing_tasks: docker-image-firefox-snap: elwDDkImTPaIJXsdkPOgHA docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: Cfu6AIh4REm_lP4w2WJ34A - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: H2NDEiu8RJWciIqy0yu0IA diff --git a/taskcluster/test/params/mb-ship-firefox-partials.yml b/taskcluster/test/params/mb-ship-firefox-partials.yml index f1ad991f99..835fb532d9 100644 --- a/taskcluster/test/params/mb-ship-firefox-partials.yml +++ b/taskcluster/test/params/mb-ship-firefox-partials.yml @@ -147,7 +147,6 @@ existing_tasks: docker-image-firefox-snap: elwDDkImTPaIJXsdkPOgHA docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: Cfu6AIh4REm_lP4w2WJ34A - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: H2NDEiu8RJWciIqy0yu0IA diff --git a/taskcluster/test/params/mb-ship-firefox.yml b/taskcluster/test/params/mb-ship-firefox.yml index 4a5eb2161a..42778db539 100644 --- a/taskcluster/test/params/mb-ship-firefox.yml +++ b/taskcluster/test/params/mb-ship-firefox.yml @@ -147,7 +147,6 @@ existing_tasks: docker-image-firefox-snap: elwDDkImTPaIJXsdkPOgHA docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: Cfu6AIh4REm_lP4w2WJ34A - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: H2NDEiu8RJWciIqy0yu0IA diff --git a/taskcluster/test/params/mc-android-nightly.yml b/taskcluster/test/params/mc-android-nightly.yml index ea1b87a236..72cd724785 100644 --- a/taskcluster/test/params/mc-android-nightly.yml +++ b/taskcluster/test/params/mc-android-nightly.yml @@ -206,7 +206,6 @@ existing_tasks: docker-image-firefox-snap: elwDDkImTPaIJXsdkPOgHA docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: Cfu6AIh4REm_lP4w2WJ34A - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: UGlRm6fZSJOQc1JcPC23lw diff --git a/taskcluster/test/params/mc-desktop-nightly.yml b/taskcluster/test/params/mc-desktop-nightly.yml index 37d7f5de74..cadc2a8910 100644 --- a/taskcluster/test/params/mc-desktop-nightly.yml +++ b/taskcluster/test/params/mc-desktop-nightly.yml @@ -206,7 +206,6 @@ existing_tasks: docker-image-firefox-snap: elwDDkImTPaIJXsdkPOgHA docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: Cfu6AIh4REm_lP4w2WJ34A - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: UGlRm6fZSJOQc1JcPC23lw diff --git a/taskcluster/test/params/mc-nightly-all.yml b/taskcluster/test/params/mc-nightly-all.yml index 7196e12920..8160c3413b 100644 --- a/taskcluster/test/params/mc-nightly-all.yml +++ b/taskcluster/test/params/mc-nightly-all.yml @@ -345,7 +345,6 @@ existing_tasks: docker-image-firefox-snap: TaMBeARtSCKe485qQborMA docker-image-funsize-update-generator: RwrXtrceR_aEmcsEUxGiCg docker-image-gdb-test: ahyis7rkQTqhCapWXDqneg - docker-image-github-sync: ds8yNkB5ScKKqLW2Cv0OWQ docker-image-image_builder: Z3gDOem4TSWtoayyvtW_ng docker-image-index-task: dbQOfI1hTp6sh4sGNnW9sQ docker-image-lint: GntDF25JRUaCu5nuedyceA @@ -4652,13 +4651,13 @@ existing_tasks: valgrind-linux64-valgrind-qr/opt-swr: SNO08UPaRoKwlQjHoyjb5A files_changed: - taskcluster/android_taskgraph/transforms/build_components.py - - taskcluster/ci/build-apk/kind.yml - - taskcluster/ci/build-bundle/kind.yml - - taskcluster/ci/build-components/kind.yml - - taskcluster/ci/build-samples-browser/kind.yml - - taskcluster/ci/test-apk/kind.yml - - taskcluster/ci/test-components/kind.yml - - taskcluster/ci/ui-test-apk/kind.yml + - taskcluster/kinds/build-apk/kind.yml + - taskcluster/kinds/build-bundle/kind.yml + - taskcluster/kinds/build-components/kind.yml + - taskcluster/kinds/build-samples-browser/kind.yml + - taskcluster/kinds/test-apk/kind.yml + - taskcluster/kinds/test-components/kind.yml + - taskcluster/kinds/ui-test-apk/kind.yml filters: - target_tasks_method head_ref: d9466bebb4c96b99a227f35b5a7e86bd0c8f5bb5 diff --git a/taskcluster/test/params/me-promote-firefox.yml b/taskcluster/test/params/me-promote-firefox.yml index fc713a788e..6a4a9ceaee 100644 --- a/taskcluster/test/params/me-promote-firefox.yml +++ b/taskcluster/test/params/me-promote-firefox.yml @@ -97,7 +97,6 @@ existing_tasks: docker-image-firefox-snap: YmvNSMSfQWW3YG6x_Fcdbg docker-image-funsize-update-generator: H14MbupWQoyjX2KXVFC7Cg docker-image-gdb-test: WdZGFUBiTzyn5er0FJQUvw - docker-image-github-sync: SmOuKw2vSA2P0B6MxH6xXw docker-image-image_builder: MWRymupRSheUkuqIQwF8TA docker-image-index-task: VIneOK4VRXGrcEmrEpleSA docker-image-lint: Eeq8v2PJSbSivC61RBNaKg diff --git a/taskcluster/test/params/me-push-firefox.yml b/taskcluster/test/params/me-push-firefox.yml index 861a767660..57af7d97c5 100644 --- a/taskcluster/test/params/me-push-firefox.yml +++ b/taskcluster/test/params/me-push-firefox.yml @@ -2219,7 +2219,6 @@ existing_tasks: docker-image-firefox-snap: YmvNSMSfQWW3YG6x_Fcdbg docker-image-funsize-update-generator: H14MbupWQoyjX2KXVFC7Cg docker-image-gdb-test: WdZGFUBiTzyn5er0FJQUvw - docker-image-github-sync: SmOuKw2vSA2P0B6MxH6xXw docker-image-image_builder: MWRymupRSheUkuqIQwF8TA docker-image-index-task: VIneOK4VRXGrcEmrEpleSA docker-image-lint: Eeq8v2PJSbSivC61RBNaKg diff --git a/taskcluster/test/params/me-ship-firefox.yml b/taskcluster/test/params/me-ship-firefox.yml index 062b3218f2..f8bed8a843 100644 --- a/taskcluster/test/params/me-ship-firefox.yml +++ b/taskcluster/test/params/me-ship-firefox.yml @@ -2219,7 +2219,6 @@ existing_tasks: docker-image-firefox-snap: YmvNSMSfQWW3YG6x_Fcdbg docker-image-funsize-update-generator: H14MbupWQoyjX2KXVFC7Cg docker-image-gdb-test: WdZGFUBiTzyn5er0FJQUvw - docker-image-github-sync: SmOuKw2vSA2P0B6MxH6xXw docker-image-image_builder: MWRymupRSheUkuqIQwF8TA docker-image-index-task: VIneOK4VRXGrcEmrEpleSA docker-image-lint: Eeq8v2PJSbSivC61RBNaKg diff --git a/taskcluster/test/params/mr-promote-firefox-rc.yml b/taskcluster/test/params/mr-promote-firefox-rc.yml index 0059b6b7aa..c373c7947c 100644 --- a/taskcluster/test/params/mr-promote-firefox-rc.yml +++ b/taskcluster/test/params/mr-promote-firefox-rc.yml @@ -113,7 +113,6 @@ existing_tasks: docker-image-firefox-snap: YmvNSMSfQWW3YG6x_Fcdbg docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: SqgEZnNpSoqvNxaY-P2OCA - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: PvzC5kHhQiGDcIo5GhW6TQ diff --git a/taskcluster/test/params/mr-promote-firefox.yml b/taskcluster/test/params/mr-promote-firefox.yml index 0e132051ee..356ca3536a 100644 --- a/taskcluster/test/params/mr-promote-firefox.yml +++ b/taskcluster/test/params/mr-promote-firefox.yml @@ -113,7 +113,6 @@ existing_tasks: docker-image-firefox-snap: YmvNSMSfQWW3YG6x_Fcdbg docker-image-funsize-update-generator: H14MbupWQoyjX2KXVFC7Cg docker-image-gdb-test: SqgEZnNpSoqvNxaY-P2OCA - docker-image-github-sync: P_Ymo66MSamplL2DUkKafA docker-image-image_builder: MWRymupRSheUkuqIQwF8TA docker-image-index-task: VIneOK4VRXGrcEmrEpleSA docker-image-lint: PvzC5kHhQiGDcIo5GhW6TQ diff --git a/taskcluster/test/params/mr-push-firefox.yml b/taskcluster/test/params/mr-push-firefox.yml index de12bc2d85..fd4f5e5016 100644 --- a/taskcluster/test/params/mr-push-firefox.yml +++ b/taskcluster/test/params/mr-push-firefox.yml @@ -2358,7 +2358,6 @@ existing_tasks: docker-image-firefox-snap: YmvNSMSfQWW3YG6x_Fcdbg docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: SqgEZnNpSoqvNxaY-P2OCA - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: PvzC5kHhQiGDcIo5GhW6TQ diff --git a/taskcluster/test/params/mr-ship-firefox-rc.yml b/taskcluster/test/params/mr-ship-firefox-rc.yml index d2701afb48..b7b7ca162e 100644 --- a/taskcluster/test/params/mr-ship-firefox-rc.yml +++ b/taskcluster/test/params/mr-ship-firefox-rc.yml @@ -2358,7 +2358,6 @@ existing_tasks: docker-image-firefox-snap: YmvNSMSfQWW3YG6x_Fcdbg docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: SqgEZnNpSoqvNxaY-P2OCA - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: PvzC5kHhQiGDcIo5GhW6TQ diff --git a/taskcluster/test/params/mr-ship-firefox.yml b/taskcluster/test/params/mr-ship-firefox.yml index 552baee4b8..ecd616f800 100644 --- a/taskcluster/test/params/mr-ship-firefox.yml +++ b/taskcluster/test/params/mr-ship-firefox.yml @@ -2358,7 +2358,6 @@ existing_tasks: docker-image-firefox-snap: YmvNSMSfQWW3YG6x_Fcdbg docker-image-funsize-update-generator: YpyGQfXQQbGvpCIFyfWZ7A docker-image-gdb-test: SqgEZnNpSoqvNxaY-P2OCA - docker-image-github-sync: GwZWXkYyQtGNRZnzVYuzCg docker-image-image_builder: OCRS9sC9SSeoQ96W91n8sQ docker-image-index-task: RwDns0jjRregWw0RNoOKeg docker-image-lint: PvzC5kHhQiGDcIo5GhW6TQ diff --git a/taskcluster/test/test_autoland.py b/taskcluster/test/test_autoland.py index 05d181620a..a6607fde01 100644 --- a/taskcluster/test/test_autoland.py +++ b/taskcluster/test/test_autoland.py @@ -16,6 +16,34 @@ PARAMS = { } +def test_tasks_have_optimization(full_task_graph, filter_tasks): + kinds = ( + "artifact_build", + "build-fat-aar", + "build", + "generate-profile", + "hazard", + "instrumented-build", + "spidermonkey", + "static-analysis-autotest", + "test", + "valgrind", + ) + errors = [] + for task in filter_tasks( + full_task_graph, lambda t: t.kind in kinds and "ccov" not in t.label + ): + if not task.optimization: + errors.append(task.label) + + if errors: + label_str = "\n ".join(errors) + s_are = " is" if len(errors) == 1 else "s are" + pytest.fail( + f"The following task{s_are} missing an optimization:\n {label_str}" + ) + + def test_generate_graph(optimized_task_graph): """Simply tests that generating the graph does not fail.""" assert len(optimized_task_graph.tasks) > 0 |