You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
running a normal job works fine, but when trying to use a service container or specifying a container image in a work flow causes the job to fail with
#2792
Closed
jandrunas opened this issue
Aug 2, 2023
· 3 comments
running a normal job works fine, but when trying to use a service container or specifying a container image in a work flow causes the job to fail with
Failed to update oom_score_adj for PID: 70. [WORKER 2023-08-01 23:48:59Z INFO ProcessInvokerWrapper] System.UnauthorizedAccessException: Access to the path '/proc/70/oom_score_adj' is denied. [WORKER 2023-08-01 23:48:59Z INFO ProcessInvokerWrapper] ---> System.IO.IOException: Permission denied [WORKER 2023-08-01 23:48:59Z INFO ProcessInvokerWrapper] --- End of inner exception stack trace ---
I can connect to the runner and the permissions on /proc look ok, but any attempt to do anything in /proc gives permissions denied even as root or with sudo
the jobs run just fine on hosted runners, and were running just fine using 0.27.4 with runner deployments
Your values.yaml should not be written this way. The containerMode field provides out-of-box way to add fields required by the container hook. The documented fields are a preview of what will be generated in case you are using containerMode kubernetes.
Since you have used that extended spec in the template.containers, your containerMode should be commented out.
In the video, the template spec looks like the following:
running a normal job works fine, but when trying to use a service container or specifying a container image in a work flow causes the job to fail with
Failed to update oom_score_adj for PID: 70. [WORKER 2023-08-01 23:48:59Z INFO ProcessInvokerWrapper] System.UnauthorizedAccessException: Access to the path '/proc/70/oom_score_adj' is denied. [WORKER 2023-08-01 23:48:59Z INFO ProcessInvokerWrapper] ---> System.IO.IOException: Permission denied [WORKER 2023-08-01 23:48:59Z INFO ProcessInvokerWrapper] --- End of inner exception stack trace ---
I even copied the exact example from the deep dive video in https://www.youtube.com/watch?v=_F5ocPrv6io
I can connect to the runner and the permissions on /proc look ok, but any attempt to do anything in /proc gives permissions denied even as root or with sudo
the jobs run just fine on hosted runners, and were running just fine using 0.27.4 with runner deployments
.github/workflows/stupid_test.yml
this fails
this does not
values.yaml
The text was updated successfully, but these errors were encountered: