Closed
Bug 1067579
Opened 11 years ago
Closed 10 years ago
Job details: buildbotJobname persists when switching from a buildbot to non-buildbot job
Categories
(Tree Management :: Treeherder, defect, P1)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bc, Assigned: camd)
References
Details
(Keywords: regression)
Attachments
(2 files)
1. https://treeherder.allizom.org/ui/#/jobs?repo=mozilla-inbound&revision=38fe938f82c4
2. click on Android 2.3 opt Sm job
3. Notice https://github.com/mozilla/treeherder-ui/blob/master/webapp/app/plugins/pluginpanel.html#L103 is blank
<li><a href="{{ buildbotJobnameHref }}" target="_blank" prevent-default-on-left-click th-filter-by-buildername>{{ buildbotJobname }}</a></li>
4. click on a buildbot job, for example Mochitest
5. Notice the value is now filled.
6. Click back on the Sm job and see the value persisted.
Updated•11 years ago
|
Blocks: treeherder-dev-transition
Priority: -- → P2
Summary: buildbotJobname persists in pluginpanel → Job details: buildbotJobname persists between jobs
Updated•11 years ago
|
Keywords: regression
Comment 1•11 years ago
|
||
I can reproduce this on stage using Bob's link. With a local instance pointing to stage data, I can also reproduce the bug.
Fwiw, when running a local instance pointing to the same data on production, the revision appears but none of these Autophone(jobs) in question, display.
| Reporter | ||
Comment 2•11 years ago
|
||
jfrench: At the moment Autophone is only reporting to treeherder.allizom.org. Also due to the split apks that started this weekend, Autophone is out of order.
| Assignee | ||
Comment 3•11 years ago
|
||
This was fixed by:
Commit pushed to master at https://github.com/mozilla/treeherder-ui
https://github.com/mozilla/treeherder-ui/commit/58eb4006ff9475bb70c979fae06009e96a111499
Assignee: nobody → cdawson
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 4•11 years ago
|
||
camd, I see an issue on staging where if I click on a job (say bc) then on a different job (say M1), the Job name persists. I don't see this behavior on production though. I don't understand why it is reproducible on stage but not production.
Should I file a new bug?
Flags: needinfo?(cdawson)
Comment 5•11 years ago
|
||
So this bug was actually not fixed by https://github.com/mozilla/treeherder-ui/commit/58eb4006ff9475bb70c979fae06009e96a111499
This issue was introduced by https://github.com/mozilla/treeherder-ui/commit/a6b9a2aada3c20662bd1495a93a83bb1beff74c0
and to fix it we need to re-add a 2-way data binding to the job properties here
https://github.com/mozilla/treeherder-ui/blob/master/webapp/app/plugins/pluginpanel.html#L155
In general I think it's a good idea to restore the 2-way data binding everywhere in the left part of the bottom panel.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 6•11 years ago
|
||
I just had a chat with Mauro in channel, his feeling is there isn't a lot of win in one-way binding anything in bottom-left-bottom, for the minor(if any) performance benefits vs. unknown behaviors. Per that request I will two-way bind everything in that pane.
Assignee: cdawson → tojonmz
Comment 7•11 years ago
|
||
sgtm
Comment 8•11 years ago
|
||
Actually I mis-read the first part of Mauro's comment 5, reassigning back to camd for this original outstanding bug of buildBot job persistence. My two-way binding of bottom-left-bottom will happen in another bug.
Assignee: tojonmz → cdawson
Comment 9•11 years ago
|
||
(In reply to Jonathan French (:jfrench) from comment #8)
> My two-way binding of bottom-left-bottom will happen in another bug.
This is now bug 1110845.
Comment 10•11 years ago
|
||
This was fixed in bug 1110845
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Comment 11•11 years ago
|
||
So the issue now is limited to the autophone smoketests. This is probably due to the ui expecting a buildername but that is not available for non buildbot jobs.
We can probably create a search string based on a combination of job name, platform and options and use it instead of the buildername
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Reporter | ||
Comment 12•11 years ago
|
||
I have a patch almost ready in bug 1079923 which will populate the buildername for Autophone.
| Assignee | ||
Comment 13•11 years ago
|
||
bc: great! Yeah, sorry about that. I thought I'd fixed it. My bad. But reopening this is the right call. Just attach the patch here in a PR when it's ready (or jfrench was going to perhaps look into this as well.)
Flags: needinfo?(cdawson)
Comment 14•11 years ago
|
||
That's fine :bc is working on it from his end. I've fixed 1110845 for the other job detail entry, and it's fine on stage.
Updated•11 years ago
|
Summary: Job details: buildbotJobname persists between jobs → Job details: buildbotJobname persists when switching from a buildbot to non-buildbot job
Updated•10 years ago
|
No longer blocks: treeherder-dev-transition
| Assignee | ||
Comment 16•10 years ago
|
||
Un-assigning from myself. I'm not going to get to this soon.
Assignee: cdawson → nobody
Comment 17•10 years ago
|
||
This is making for very confusing UX now that we're switching more jobs over to Taskcluster. Between the completely-incorrect string from another previously-selected job and the lack of ability to filter easily on that specific job, it's making Taskcluster sheriffing pretty painful.
Comment 18•10 years ago
|
||
Sounds like we should promote this to a P1, based on Ryan's comments.
Priority: P2 → P1
| Assignee | ||
Comment 19•10 years ago
|
||
I have a fix for this. will open a PR shortly.
| Assignee | ||
Comment 20•10 years ago
|
||
Attachment #8587756 -
Flags: review?(mdoglio)
| Assignee | ||
Comment 21•10 years ago
|
||
Attachment #8587759 -
Flags: review?(mdoglio)
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → cdawson
| Assignee | ||
Comment 22•10 years ago
|
||
mdoglio: I updated both PRs. I reworked the second one to make it a little clearer. This fixes the details ``job`` field for task cluster jobs so you can filter for either. It also adds a separate link for filtering by ``signature``. Conversation in IRC with RyanVM and Kwierso indicated that they would like both. The strings are more "hack-able" which is used often in their workflow.
| Assignee | ||
Comment 23•10 years ago
|
||
mdoglio: I meant to say that I split the second one's commits up by functionality to make it clearer and easier to review. :)
Updated•10 years ago
|
Attachment #8587756 -
Flags: review?(mdoglio) → review+
Updated•10 years ago
|
Attachment #8587759 -
Flags: review?(mdoglio) → review+
Comment 24•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/treeherder-ui
https://github.com/mozilla/treeherder-ui/commit/32f00c6d600b591e6711b6c8d4b9fbb7cd9d71f4
Bug 1067579 - Refactor thPlatformName and thJobSearchStr into services
This allows them to be shared by other classes
https://github.com/mozilla/treeherder-ui/commit/3297218eb2a68af4b4dfadb97d0c7bf7295a994a
Bug 1067579 - Add searchStr filtering support for non-buildbot jobs
| Assignee | ||
Comment 25•10 years ago
|
||
This is now fixed so that the filtering by the ``Job`` field works the same for Buildbot and Task Cluster jobs by field strings. This is, then, hack-able where you can tweak what you're looking for. However, due to the nature of multiple string compares, it can have false positives (just like before). So this change also adds another ``Filter`` field that can be used for more precise filtering by a specific job type by SHA.
In addition, the ``Buildername`` has been moved to its own field in the job details area.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 10 years ago
Resolution: --- → FIXED
Comment 26•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/708d58b7f014a3beb14eaebc46ab052d972ab56a
Bug 1067579 - Refactor thPlatformName and thJobSearchStr into services
This allows them to be shared by other classes
https://github.com/mozilla/treeherder/commit/85d4575da0cf08abb118875667410f13c5258abf
Bug 1067579 - Add searchStr filtering support for non-buildbot jobs
You need to log in
before you can comment on or make changes to this bug.
Description
•