one click loaner has user root for the shell and user worker for the interactive display- not very easy to hack around
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(Not tracked)
People
(Reporter: jmaher, Unassigned, Mentored)
Details
Comment 1•9 years ago
|
||
| Reporter | ||
Comment 2•9 years ago
|
||
Comment 3•9 years ago
|
||
| Reporter | ||
Comment 4•9 years ago
|
||
Comment 5•9 years ago
|
||
Comment 6•9 years ago
|
||
Comment 7•9 years ago
|
||
| Reporter | ||
Comment 8•9 years ago
|
||
Comment 9•9 years ago
|
||
Comment 10•8 years ago
|
||
Comment 11•8 years ago
|
||
Comment 12•8 years ago
|
||
Comment 13•8 years ago
|
||
Updated•8 years ago
|
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Comment 16•6 years ago
|
||
Since we're collecting work-arounds, I also needed su -p - worker -- -p passes the environment down, and the mozharness scripts in general need the environment.
I see vague directions in earlier comments, but no clear path for action. jmaher, can you suggest the immediate next steps or redirect? I expect to spend a good deal of time in interactive loaners this quarter and this is a bit of a show-stopper.
rwood, do you already now a better flow for working on Raptor in automation that gets around this?
tarek, you should be aware of this and know the work-arounds.
| Reporter | ||
Comment 17•6 years ago
|
||
raptor runs on real hardware, so the interactive loaners (only for linux aws machines) will not be 100% identical. For hardware we need to do old fashioned ways of taking a machine out of automation and setting up VPN connections to the machine. Each OS has a different solution.
:nalexander, can you help outline some of the intended work you plan to do? Maybe what would be an ideal environment?
As for fixing interactive loaners, we should determine the need/priority- this is something the taskcluster team (:coop) would need to invest time in or at least aid in reviews and some technical discussions. I would like to hear if this is on a roadmap and where (I suspect it isn't on the H2 plans).
:coop, can you comment on state of interactive loaners across OS's (now that almost all jobs are using generic-worker) and any work planned?
Comment 18•6 years ago
|
||
Yep I've never ran Raptor on an interactive loaner so don't have input here, sorry - and I don't work on the CI hardware setup/integration, that is in the great hands of jmaher's team (thankfully!).
Comment 19•6 years ago
|
||
(In reply to Joel Maher ( :jmaher ) (UTC-4) from comment #17)
:coop, can you comment on state of interactive loaners across OS's (now that almost all jobs are using generic-worker) and any work planned?
We hope to have time to address interactive loaner issues in Q4. As jobs migrate from docker-worker to generic-worker in Q3/Q4, it will be easier for us to fix things in one place.
Comment 20•6 years ago
|
||
The issue discussed here is completely orthogonal to workers.
Comment 21•6 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #20)
The issue discussed here is completely orthogonal to workers.
I'm not sure if that's replying to my comment, but the base configuration for interactive shells and loaners happens via the workers. I'm glad people have discovered workarounds, but if we want that stuff to work out-of-the-box, we'll need to fix those configs.
The move to generic-worker is an attempt to stop implementing functionality like this twice (or previously three times). There is known divergence between the existing worker implementations here.
Comment 22•6 years ago
|
||
What makes tasks run as non-root is not the worker, it's the script that runs in it. e.g. run-task.
Comment 23•6 years ago
|
||
(In reply to Joel Maher ( :jmaher ) (UTC-4) from comment #17)
raptor runs on real hardware, so the interactive loaners (only for linux aws machines) will not be 100% identical. For hardware we need to do old fashioned ways of taking a machine out of automation and setting up VPN connections to the machine. Each OS has a different solution.
:nalexander, can you help outline some of the intended work you plan to do? Maybe what would be an ideal environment?
Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1562991 to track getting some hardware allocated for this work.
Updated•6 years ago
|
Updated•3 years ago
|
Description
•