Closed Bug 1586508 Opened 5 years ago Closed 4 years ago

suite/-only pushes cause builds without test runs, and other pushes do too

Categories

(Thunderbird :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jorgk-bmo, Unassigned)

References

Details

suite/ only pushes cause builds without test runs, for example here:
https://treeherder.mozilla.org/#/jobs?repo=comm-central&revision=f5938d7c1eca1cbfab51c9ae963ecf1e71d17824

Pushes that only modify "unimportant" files cause Dailies not to run tests, for example here:
https://treeherder.mozilla.org/#/jobs?repo=comm-central&revision=81233eef62edcad1e1f548e2165c33960070e3e2
https://treeherder.mozilla.org/#/jobs?repo=comm-central&revision=a560168b6ca58f8daf34236f20d979bdf09786a1

All that leads to unexpected behaviour an ultimately wastes resources. Desired behaviour:

  • suite/-only should not cause any builds
  • Nightlies based on whichever changes should always run tests.
Flags: needinfo?(rob)

Hmm.. not entirely sure why those Suite-only builds happened.

Ideally, the when.files-changed would apply all of the time, but obviously there is something that's overriding that. The full task graph gets generated regardless, then if none of the files in that push match up with files-changed, the build job should get optimized away. As that's not the case, I believe one of two things is happening:

  1. There is a task that depends on the build task that for some reason is not being optimized out
  2. There is an override someplace when a build is set "shippable" that prevents optimizing

I suspect #1 is the culprit, but I wasn't able to figure out which dependent task is not being optimized out. It's odd though that the tests get optimized out but the build isn't.

I'm thinking I may need to come up with a custom optimization strategy rather than trying to mangle the existing Firefox ones into our workflow. That's probably easier said that done given how the code is structured, but it's time to figure out how to start doing things like this.

More to come.

Flags: needinfo?(rob)

I think this was addressed by another similar bug (maybe 1550611). Marking resolved, can reopen if needed.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.