Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
x/build: we should run at least one windows builder as Administrator #23294
Some tests do not run unless they are run by Administrator.
Compare normal user runs:
to Administrator runs:
We have 5 windows builders at this moment. Perhaps we could make some run as Administrator to cover more tests.
Naah, we create new ephemeral VMs or containers per build for almost all the builders.
I don't know why Windows runs as a normal user. @johnsonj, you remember?
The Linux builders mostly run as kinda-root: the root that you have in a Kubernetes container, which can do most things, but not all. We used to run a VM-based Linux builder too so we could have real root, but that's been disabled for some time now.
I think it needs to be the 'Administrator'. See my original output was produced by the user who is in local 'Administrator' group. And the second output was produced when I started cmd.exe via "Run as Administrator". Just jump on the builder and run some tests that were skipped above and see what you get.