Run mach taskgraph python-tests more often

RESOLVED FIXED

Status

task
RESOLVED FIXED
3 years ago
Last year

People

(Reporter: dustin, Assigned: dustin)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

This job keeps failing in unrelated pushes because it doesn't get run in the push that did not update the tests.
Summary: Run mach taskgraph python-tests more oft → Run mach taskgraph python-tests more often
https://hg.mozilla.org/mozilla-central/rev/34cefe01d821 has a diffstat including

  taskcluster/docs/attributes.rst
  taskcluster/taskgraph/create.py
  taskcluster/taskgraph/target_tasks.py 

which should match

  taskgraph-tests:
    task: tasks/tests/taskgraph-tests.yml
    root: true
    when:
      file_patterns:
        - 'taskcluster/**.py'
        - 'config/mozunit.py'
        - 'python/mach/**.py'

yet

  https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&revision=62a983c56050&filter-searchStr=tg

is empty.

The decision task log lists this change:

https://public-artifacts.taskcluster.net/OVtZYD5DREi9ypz4OPFZRQ/0/public/logs/live_backing.log
...
[task 2016-08-04T13:58:05.131337Z] "GET /mozilla-central/json-automationrelevance/62a983c56050b3ac647d8f95d9c2ca69c3ad2d91 HTTP/1.1" 200 None
[task 2016-08-04T13:58:05.779116Z] 29 commits influencing task scheduling:
...
[task 2016-08-04T13:58:05.781198Z] 34cefe01d821 Bug 1279676 - Support --rebuild try flag to schedule tests N times. r=dustin
...

yet

...
[task 2016-08-04T13:58:05.835130Z] discarding tasks/tests/taskgraph-tests.yml because no relevant files changed
...
>>> from mozpack.path import match as mozpackmatch
>>> mozpackmatch("taskcluster/foo/bar.py", "taskcluster/**.py")
False
Comment hidden (mozreview-request)

Comment 5

3 years ago
mozreview-review
Comment on attachment 8779067 [details]
Bug 1293397: run taskgraph-tests when things change;

https://reviewboard.mozilla.org/r/70116/#review67364
Attachment #8779067 - Flags: review?(gps) → review+

Comment 6

3 years ago
Pushed by gszorc@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a8df38f8ada3
run taskgraph-tests when things change; r=gps

Comment 7

3 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/a8df38f8ada3
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

Updated

Last year
Product: TaskCluster → Firefox Build System
You need to log in before you can comment on or make changes to this bug.