Closed
Bug 1353066
Opened 8 years ago
Closed 8 years ago
"Add new jobs" complains "Error: jsyaml not defined"
Categories
(Tree Management :: Treeherder, defect, P1)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gbrown, Assigned: bstack)
References
Details
Attachments
(1 file)
Just noticed this starting today. When I "Add new jobs" in taskcluster, it seems to fail and briefly displays an error, "Taskcluster: jsyaml not defined".
![]() |
Reporter | |
Comment 1•8 years ago
|
||
(In reply to Geoff Brown [:gbrown] from comment #0)
> When I "Add new jobs" in taskcluster, it
s/taskcluster/treeherder/
...but I assume the issue is in taskcluster, from the error message.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → bstack
Flags: needinfo?(bstack)
Assignee | ||
Updated•8 years ago
|
Status: NEW → ASSIGNED
Updated•8 years ago
|
Blocks: 1336556
Component: General → Treeherder
Priority: -- → P1
Product: Taskcluster → Tree Management
Summary: Treeherder "Add new jobs" complains "Taskcluster: jsyaml not defined" → "Add new jobs" complains "Error: jsyaml not defined"
Version: unspecified → ---
Comment 3•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Attachment #8854145 -
Flags: review?(emorley)
Comment 4•8 years ago
|
||
Comment on attachment 8854145 [details] [review]
[treeherder] imbstack:move-jsyaml-to-new-way > mozilla:master
Chatted with Cameron about this earlier and he agreed to take the review.
Attachment #8854145 -
Flags: review?(emorley) → review?(cdawson)
Comment 5•8 years ago
|
||
I'm not able to reproduce this locally at this point. Bstack: can you try again?
Flags: needinfo?(bstack)
Comment 6•8 years ago
|
||
I can still repro.
STR are missing from comment 0, but the ones I tried were:
1) Open a single push on stage (for a push that has a decision task)
2) Use the "add new job" link on the push dropdown thing
3) Wait for the runnable jobs to appear in yellow
4) Select one of those new "fake" jobs
5) Open web console
6) Click the "trigger new jobs" button that appears on the push banner (Note: not in the job details panel below. Not being very familiar with this feature, I first tried pressing retrigger there but it does nothing.)
7) Wait a few seconds until a status message appears in the main UI
8) Look at web console
Expected:
Success status message and no exceptions in the web console
Actual:
Main UI error message says "Taskcluster: jsyaml not defined", and web console has a "Error: jsyaml is not defined" exception.
Flags: needinfo?(bstack)
Comment 7•8 years ago
|
||
Ahh! OK, yeah, I can repro this now. I thought it was at the "Add new jobs" point.
Comment 8•8 years ago
|
||
I proposed an alternative solution in the PR. Bstack says he'll take a look at it today
Updated•8 years ago
|
Attachment #8854145 -
Flags: review?(cdawson) → review+
Comment 9•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/b22616a461b99e773dc514d55abc9b28c9894f36
Bug 1353066 - Make jsyaml available as a service (#2314)
This fixes exceptions when using the "add new jobs" feature.
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•