Closed Bug 1404401 Opened 7 years ago Closed 7 years ago

Taskgraph python tests fail on try when using 'try_task_config.json'

Categories

(Firefox Build System :: Task Configuration, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla58

People

(Reporter: ahal, Assigned: dustin)

Details

Attachments

(1 file)

E.g:
https://treeherder.mozilla.org/logviewer.html#?job_id=134049454&repo=try&lineNumber=276

This seems to happen because the decision task parameters have 'try_mode' and 'try_task_config' set. These failures are safe to ignore as they won't fail on the integration branches, but they still cause confusion.
Assignee: nobody → dustin
I left this for a while, but looking now.. I'm pretty confused.  The tests do not take the current branch into account.  Why would they fail on try but not on my laptop and not in integration branches?
Oh, because try_task_config.json exists:
http://searchfox.org/mozilla-central/source/taskcluster/taskgraph/decision.py#203

There are three tests that call that decision.get_decision_parameters().
Summary: Taskgraph python tests fail on try → Taskgraph python tests fail on try when using 'try_task_config.json'
Comment on attachment 8917938 [details]
Bug 1404401 - ignore presence of target_task_config.json in tests;

https://reviewboard.mozilla.org/r/188836/#review194200

I'm not really familiar with this class either, but I think this looks good. Either way it's probably safe to land, anything it breaks should cause a backout.
Attachment #8917938 - Flags: review?(ahalberstadt) → review+
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again.

hg error in cmd: hg rebase -s 3b4bda79d6a9 -d ff0c7c7b1074: rebasing 426224:3b4bda79d6a9 "Bug 1404401 - ignore presence of target_task_config.json in tests; r=ahal" (tip)
merging taskcluster/taskgraph/test/test_decision.py
warning: conflicts while merging taskcluster/taskgraph/test/test_decision.py! (edit, then use 'hg resolve --mark')
unresolved conflicts (see hg resolve, then hg rebase --continue)
Pushed by dmitchell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5e80ad94e2a5
ignore presence of target_task_config.json in tests; r=ahal
https://hg.mozilla.org/mozilla-central/rev/5e80ad94e2a5
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
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: