Closed Bug 1293397 Opened 8 years ago Closed 8 years ago

Run mach taskgraph python-tests more often

Categories

(Firefox Build System :: Task Configuration, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Assigned: dustin)

Details

Attachments

(1 file)

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 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+
Pushed by gszorc@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a8df38f8ada3
run taskgraph-tests when things change; r=gps
https://hg.mozilla.org/mozilla-central/rev/a8df38f8ada3
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: TaskCluster → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: