-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New agents erroneously running as root #3132
Comments
|
Please note that the user That might not be a strong change but better to make it explicit. |
jenkins-infra/packer-images#342 should fix the issue |
Should be good. Being tested in https://ci.jenkins.io/blue/organizations/jenkins/Core%2Fjenkins/detail/master/4105/pipeline and https://ci.jenkins.io/blue/organizations/jenkins/Tools%2Fbom/detail/master/1235/pipeline (before closing the issue) |
Closing as the archiving artifacts step seems to work. Thanks @basil for raising this issue! |
Thank you for the quick response! |
Service(s)
ci.jenkins.io
Summary
The new JNLP agent images appear to have the agent Remoting process running as root. Among other things, this breaks core's
ArtifactArchiverTest
withbecause the test is expecting to run as a regular user. Probably many plugin tests are broken with this change as well.
Please restore the old behavior of running as a regular user.
Reproduction steps
Go to e.g. https://ci.jenkins.io/computer/jnlp%2Dmaven%2D11%2Dqh9kg/script and run
System.getProperty("user.name")
.The text was updated successfully, but these errors were encountered: