Closed
Bug 1421077
Opened 7 years ago
Closed 7 years ago
One-click-loaners don't work "out of the box" for level 3 tree build jobs
Categories
(Firefox Build System :: Task Configuration, task)
Firefox Build System
Task Configuration
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: glandium, Assigned: wcosta)
Details
STR:
- Open treeherder on a level 3 tree, e.g. mozilla-central
- Pick a build job
- Select "one-click loaner"
- Click "Create task"
Expected result:
- A task where you can watch the live log and connect to the shell.
Actual result:
- A task where you can't watch the live log and can't connect to the shell.
The problem stems from the workerType being gecko-3-b-linux.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → wcosta
Assignee | ||
Comment 1•7 years ago
|
||
For security reasons, level 3 tasks can't run interactive, iirc. :jonasfj, is that correct?
Flags: needinfo?(jopsen)
Assignee | ||
Updated•7 years ago
|
Status: NEW → ASSIGNED
Comment 2•7 years ago
|
||
@wcosta, yes that is correct.
We could tweak actions.json such that it doesn't show this option for level 3 tasks..
If this is using the new UI actions thing...
Flags: needinfo?(jopsen)
Comment 3•7 years ago
|
||
Related I filed: bug 1441980
Reporter | ||
Comment 4•7 years ago
|
||
Please don't remove the option for level 3 tasks. Instead, change the level in the created tasks.
Comment 5•7 years ago
|
||
I don't think that's practical -- there's no good, non-fragile way to "rewrite" a task at one level to another.
Updated•7 years ago
|
Product: TaskCluster → Firefox Build System
Assignee | ||
Updated•7 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Reporter | ||
Comment 6•6 years ago
|
||
there's no good, non-fragile way to "rewrite" a task at one level to another.
FWIW, since that comment has been written, I've created innumerable interactive tasks from non-try manually by doing the following:
- Inspect task from treeherder
- On the taskcluster page that opens, select Action -> Edit as Interactive task
- In the Create task editor, change any 3 with 1 in:
- workerType (gecko-3 -> gecko-1)
- schedulerId (level-3 -> level-1)
- scopes (level-3 -> level-1)
- MOZ_SCM_LEVEL (3 -> 1)
- Create the task
This has never failed me for toolchain, docker image, fetch, and build tasks. I think I've done it on tests too.
Comment 7•6 years ago
|
||
That's still pretty fragile. But could conceivably be done in an action!
You need to log in
before you can comment on or make changes to this bug.
Description
•