Skip to content

Error: Error: Missing file at path: /home/runner/_work/_temp/_runner_hook_responses/{...}.json #4011

@jennifgcrl

Description

@jennifgcrl

Checks

Controller Version

0.11.0

Deployment Method

Helm

Checks

  • This isn't a question or user support case (For Q&A and community support, go to Discussions).
  • I've read the Changelog before submitting this issue and I'm sure it's not due to any recently-introduced backward-incompatible changes

To Reproduce

1. Start with an EKS auto cluster
2. Follow quick start instructions https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/quickstart-for-actions-runner-controller
3. Follow the kubernetes runner instructions https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/deploying-runner-scale-sets-with-actions-runner-controller#using-docker-in-docker-or-kubernetes-mode-for-containers
4. Follow this troubleshooting step https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/troubleshooting-actions-runner-controller-errors#error-access-to-the-path-homerunner_work_tool-is-denied
5. Launch any github action that runs on a container

Describe the bug

The github action fails on the step "Initializing containers" with the message:

Run '/home/runner/k8s/index.js'
  shell: /home/runner/externals/node20/bin/node {0}
Error: Error: Missing file at path: /home/runner/_work/_temp/_runner_hook_responses/{...}.json
Error: Process completed with exit code 1.
Error: Executing the custom container implementation failed. Please contact your self hosted runner administrator.

The workflow runner (the -workflow pod) starts and instantly dies, printing no logs.

I've also tried fsGroup: 1001 and it didn't work either. Without fsGroup I get the /home/runner/_work/_tool access error.

Describe the expected behavior

The action should progress past "Initializing containers". The workflow pod presumably should print something.

Additional Context

githubConfigUrl: "https://github.com/{...}/{...}"
githubConfigSecret: {...}
maxRunners: 2
containerMode:
  type: "kubernetes"
  kubernetesModeWorkVolumeClaim:
    accessModes: ["ReadWriteOnce"]
    storageClassName: "auto-ebs-sc"
    resources:
      requests:
        storage: 4Gi
template:
  spec:
    securityContext:
      fsGroup: 123

Controller Logs

https://gist.github.com/jennifgcrl/0d17f852acf4ea954d631cd10bfb90ae

I don't think there's anything interesting here...

Runner Pod Logs

(runner pod logs empty)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggha-runner-scale-setRelated to the gha-runner-scale-set modeneeds triageRequires review from the maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions