Closed
Bug 1322075
Opened 9 years ago
Closed 9 years ago
pulse_actions double (at least) triggers builds from treeherder's "Trigger missing jobs"
Categories
(Testing :: General, defect)
Testing
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: philor, Unassigned)
Details
Attachments
(1 file)
|
899.61 KB,
text/plain
|
Details |
What I've seen it trigger multiple times is PGO builds, but that's probably just because those are the only missing builds on revisions where I've used it.
See, for example, https://tc-gp-public-31d.s3-us-west-2.amazonaws.com/ateam/pulse-action-dev/5aecdc4d-4d4b-439b-a185-1e26cefdeed4 where the first match for "WINNT 6.1 x86-64 mozilla-inbound pgo-build" is the Windows 8 64-bit mozilla-inbound pgo talos g1 job resulting in "We will trigger 1) 'WINNT 6.1 x86-64 mozilla-inbound pgo-build'" and then after "We have already scheduled the build 'WINNT 6.1 x86-64 mozilla-inbound pgo-build'" on other tests, the 17th match is "We want to have 1 job(s) of WINNT 6.1 x86-64 mozilla-inbound pgo-build on the following revisions" which instead of saying it has already been done by the tests goes ahead with "We want to trigger 'WINNT 6.1 x86-64 mozilla-inbound pgo-build' a total of 1 time(s)." and since I always seem to get at least two, apparently nothing that happens later outside of what's logged realizes that those amount to two builds.
| Reporter | ||
Comment 1•9 years ago
|
||
Comment 2•9 years ago
|
||
IIUC this is a feature that is not used often, however, it needs to be fixed.
philor, would it be OK to focus on this on the next couple of weeks? (I want to focus on the all hands and work on my deliverable while my reviewer is not on PTO)
Here are some notes from a quick look.
When we request missing jobs for a revision we get more builds than we expect.
The first comments refers to this build and revision:
https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=c0e9bfe3b8f4cff7fadccc0b5c3e81b7dd0cf826&filter-searchStr=WINNT%206.1%20x86-64%20mozilla-inbound%20pgo-build
From looking at the grep output [1] it seems that we try to schedule a build because a talos job needs it, however, we also try to schedule the build directly (since it is one of all the builders that can be scheduled).
Unfortunately, when we try to schedule the build we can't detect that we already scheduled it even though we have logic to prevent this (probably different code paths).
[1]
armenzg-loaner:temp armenzg$ grep "WINNT 6.1 x86-64" 5aecdc4d-4d4b-439b-a185-1e26cefdeed4 | grep -v already | grep pgo
mozci We will trigger 1) 'WINNT 6.1 x86-64 mozilla-inbound pgo-build'
mozci We want to have 1 job(s) of WINNT 6.1 x86-64 mozilla-inbound pgo-build on the following revisions:
mozci We have found 0 potential job(s) matching 'WINNT 6.1 x86-64 mozilla-inbound pgo-build' on c0e9bfe3b8f4cff7fadccc0b5c3e81b7dd0cf826. We need to trigger more.
mozci ==> We want to trigger 'WINNT 6.1 x86-64 mozilla-inbound pgo-build' a total of 1 time(s).
Assignee: nobody → armenzg
Comment 3•9 years ago
|
||
Keeping the attachment for future reference.
| Reporter | ||
Comment 4•9 years ago
|
||
No worries, it's not at all something that has to be done this week.
| Reporter | ||
Comment 5•9 years ago
|
||
Not just PGO, I finally found an Android-only push where I could play, and https://tc-gp-public-31d.s3-us-west-2.amazonaws.com/ateam/pulse-action-dev/24e62691-19bc-4350-8c33-291d72904b4e doubled up all the (not-already-running, buildbot-run) builds.
Comment 6•9 years ago
|
||
I won't be able to take care of this before heading out for parental leave.
Assignee: armenzg → nobody
Comment 7•9 years ago
|
||
Shutting pulse_actions off (see bug 1379172).
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•