runner icon indicating copy to clipboard operation
runner copied to clipboard

self-hosted action runner with `kubernetes` mode on EKS failed at `Initialize containers` step from Action UI

Open joosangkim opened this issue 1 year ago • 1 comments

Describe the bug ghcr.io/actions/actions-runner:2.317.0 self-hosted runner with kubernetes mode on EKS failed at Initialize containers step from Action UI.

To Reproduce Steps to reproduce the behavior:

  1. Generate Runner deploy with the values.yaml
runnerScaleSetName: "arc-runner"
githubConfigUrl: ####MASKED####
githubConfigSecret: ####MASKED####
  
containerMode:
  type: "kubernetes" 
  kubernetesModeWorkVolumeClaim:
    accessModes: ["ReadWriteOnce"]
    storageClassName: "gp2"
    resources:
      requests:
        storage: 2Gi

template:
  spec:
    initContainers: 
    - name: kube-init
      image: ghcr.io/actions/actions-runner:2.317.0
      command: ["sudo", "chown", "-R", "runner:runner", "/home/runner/_work"]
      volumeMounts:
      - name: work
        mountPath: /home/runner/_work
    containers:
    - name: runner
      image: ghcr.io/actions/actions-runner:2.317.0
      command: ["/home/runner/run.sh"]
      env:
        - name: ACTIONS_RUNNER_CONTAINER_HOOKS
          value: /home/runner/k8s/index.js
        - name: ACTIONS_RUNNER_POD_NAME
          valueFrom:
            fieldRef:
              fieldPath: metadata.name
        - name: ACTIONS_RUNNER_REQUIRE_JOB_CONTAINER
          value: "false"
      volumeMounts:
        - name: work
          mountPath: /home/runner/_work
    nodeSelector:
      karpenter.sh/capacity-type: spot
    volumes:
      - name: work
        ephemeral:
          volumeClaimTemplate:
            spec:
              accessModes: [ "ReadWriteOnce" ]
              storageClassName: "gp2"
              resources:
                requests:
                  storage: 1Gi
  1. Set .github/workflows/test.yaml
name: "[ARC] CI Test "

on:
  pull_request:

jobs:
  CI-Test:
    permissions:
      contents: read
      issues: read
      id-token: write
      checks: write
      pull-requests: write
    runs-on: arc-runner
    services:
      mysql: .......
    steps:
      - uses: actions/checkout@v3
      - name: Setup Python
        run: |
          sudo apt-get update
          sudo apt-get install -y gcc python3-dev
  1. See error in Initialize containers step in Action UI.
  2. Check runner pod log
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper] Starting process:
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]   File name: '/home/runner/externals/node16/bin/node'
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]   Arguments: '/home/runner/k8s/index.js'
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]   Working directory: '/home/runner/_work/MASKED'
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]   Require exit code zero: 'False'
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]   Encoding web name:  ; code page: ''
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]   Force kill process on cancellation: 'False'
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]   Redirected STDIN: 'True'
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]   Persist current code page: 'False'
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]   Keep redirected STDIN open: 'False'
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]   High priority process: 'False'
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper] Failed to update oom_score_adj for PID: 86.
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper] System.UnauthorizedAccessException: Access to the path '/proc/86/oom_score_adj' is denied.
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]  ---> System.IO.IOException: Permission denied
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]    --- End of inner exception stack trace ---
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]    at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]    at System.IO.Strategies.BufferedFileStreamStrategy.FlushWrite()
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]    at System.IO.Strategies.BufferedFileStreamStrategy.Dispose(Boolean disposing)
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]    at System.IO.StreamWriter.CloseStreamFromDispose(Boolean disposing)
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]    at System.IO.StreamWriter.Dispose(Boolean disposing)
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]    at System.IO.File.WriteAllText(String path, String contents)
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper]    at GitHub.Runner.Sdk.ProcessInvoker.WriteProcessOomScoreAdj(Int32 processId, Int32 oomScoreAdj)
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper] Process started with process id 86, waiting for process exit.
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper] Close STDIN after the first redirect finished.
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper] STDIN stream write finished.
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper] STDOUT/STDERR stream read finished.
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper] STDOUT/STDERR stream read finished.
[WORKER 2024-07-04 17:58:34Z INFO ProcessInvokerWrapper] Finished process 86 with exit code 1, and elapsed time 00:00:00.2572861.
[WORKER 2024-07-04 17:58:34Z ERR  StepsRunner] Caught exception from step: System.Exception: Executing the custom container implementation failed. Please contact your self hosted runner administrator.
[WORKER 2024-07-04 17:58:34Z ERR  StepsRunner]  ---> System.Exception: The hook script at '/home/runner/k8s/index.js' running command 'PrepareJob' did not execute successfully
[WORKER 2024-07-04 17:58:34Z ERR  StepsRunner]    at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.ExecuteHookScript[T](IExecutionContext context, HookInput input, ActionRunStage stage, String prependPath)
[WORKER 2024-07-04 17:58:34Z ERR  StepsRunner]    --- End of inner exception stack trace ---
[WORKER 2024-07-04 17:58:34Z ERR  StepsRunner]    at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.ExecuteHookScript[T](IExecutionContext context, HookInput input, ActionRunStage stage, String prependPath)
[WORKER 2024-07-04 17:58:34Z ERR  StepsRunner]    at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.PrepareJobAsync(IExecutionContext context, List`1 containers)
[WORKER 2024-07-04 17:58:34Z ERR  StepsRunner]    at GitHub.Runner.Worker.ContainerOperationProvider.StartContainersAsync(IExecutionContext executionContext, Object data)
[WORKER 2024-07-04 17:58:34Z ERR  StepsRunner]    at GitHub.Runner.Worker.JobExtensionRunner.RunAsync()
[WORKER 2024-07-04 17:58:34Z ERR  StepsRunner]    at GitHub.Runner.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken)

The problem is "PrepareJob" step failed because of Access to the path '/proc/<PID>/oom_score_adj' is denied. even though I changed a permission on working directory. There were a similar issue already reported as a bug.

Expected behavior kubernetes mode should work like dind mode.

Runner Version and Platform

Running on EKS Runner: 2.317.0

What's not working?

Please include error messages and screenshots.

Job Log Output

Outputs from Action UI

##[debug]Evaluating condition for step: 'Initialize containers'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Initialize containers
##[debug]Register post job cleanup for stopping/deleting containers.
Run '/home/runner/k8s/index.js'
  shell: /home/runner/externals/node16/bin/node {0}
##[debug]/home/runner/externals/node16/bin/node /home/runner/k8s/index.js
Error: Error: Job Container is required.
Error: Process completed with exit code 1.
Error: Executing the custom container implementation failed. Please contact your self hosted runner administrator.
##[debug]System.Exception: Executing the custom container implementation failed. Please contact your self hosted runner administrator.
##[debug] ---> System.Exception: The hook script at '/home/runner/k8s/index.js' running command 'PrepareJob' did not execute successfully
##[debug]   at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.ExecuteHookScript[T](IExecutionContext context, HookInput input, ActionRunStage stage, String prependPath)
##[debug]   --- End of inner exception stack trace ---
##[debug]   at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.ExecuteHookScript[T](IExecutionContext context, HookInput input, ActionRunStage stage, String prependPath)
##[debug]   at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.PrepareJobAsync(IExecutionContext context, List`1 containers)
##[debug]   at GitHub.Runner.Worker.ContainerOperationProvider.StartContainersAsync(IExecutionContext executionContext, Object data)
##[debug]   at GitHub.Runner.Worker.JobExtensionRunner.RunAsync()
##[debug]   at GitHub.Runner.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken)
##[debug]Finishing: Initialize containers

Runner and Worker's Diagnostic Logs

See above

joosangkim avatar Jul 04 '24 18:07 joosangkim

I just had few more test crosschecking with dind mode, I should define container: in github action workflow file. Is there any instruction this functional restriction on kubernetes mode?

joosangkim avatar Jul 05 '24 01:07 joosangkim

We are also getting this issue, is it possible to have service containers without having to specify container block

omri-shilton avatar Jan 15 '25 15:01 omri-shilton

Any solution to this? I am also facing the same problem, I am sharing the runner logs and also workflow logs for reference.

03:24:05Z ERR StepsRunner] Caught exception from step: System.Exception: Executing the custom container implementation failed. Please contact your self hosted runner administrator. [WORKER 2025-01-16 03:24:05Z ERR StepsRunner] ---> System.Exception: The hook script at '/home/runner/k8s/index.js' running command 'PrepareJob' did not execute successfully [WORKER 2025-01-16 03:24:05Z ERR StepsRunner] at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.ExecuteHookScript[T](IExecutionContext context, HookInput input, ActionRunStage stage, String prependPath) [WORKER 2025-01-16 03:24:05Z ERR StepsRunner] --- End of inner exception stack trace --- [WORKER 2025-01-16 03:24:05Z ERR StepsRunner] at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.ExecuteHookScript[T](IExecutionContext context, HookInput input, ActionRunStage stage, String prependPath) [WORKER 2025-01-16 03:24:05Z ERR StepsRunner] at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.PrepareJobAsync(IExecutionContext context, List1 containers) [WORKER 2025-01-16 03:24:05Z ERR StepsRunner] at GitHub.Runner.Worker.ContainerOperationProvider.StartContainersAsync(IExecutionContext executionContext, Object data) [WORKER 2025-01-16 03:24:05Z ERR StepsRunner] at GitHub.Runner.Worker.JobExtensionRunner.RunAsync() [WORKER 2025-01-16 03:24:05Z ERR StepsRunner] at GitHub.Runner.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken) [WORKER 2025-01-16 03:24:05Z INFO StepsRunner] Step result: Failed [WORKER 2025-01-16 03:24:05Z INFO ExecutionContext] Publish step telemetry for current step { [WORKER 2025-01-16 03:24:05Z INFO ExecutionContext] "action": "Pre Job Hook", [WORKER 2025-01-16 03:24:05Z INFO ExecutionContext] "type": "runner", [WORKER 2025-01-16 03:24:05Z INFO ExecutionContext] "stage": "Pre", [WORKER 2025-01-16 03:24:05Z INFO ExecutionContext] "stepId": "9f08c5ab-99a3-444e-b3c6-0c4594a884f5", [WORKER 2025-01-16 03:24:05Z INFO ExecutionContext] "stepContextName": "9f08c5ab99a3444eb3c60c4594a884f5", [WORKER 2025-01-16 03:24:05Z INFO ExecutionContext] "result": "failed", [WORKER 2025-01-16 03:24:05Z INFO ExecutionContext] "errorMessages": [ [WORKER 2025-01-16 03:24:05Z INFO ExecutionContext] "Error: read ECONNRESET", [WORKER 2025-01-16 03:24:05Z INFO ExecutionContext] "Process completed with exit code 1.", [WORKER 2025-01-16 03:24:05Z INFO ExecutionContext] "Executing the custom container implementation failed. Please contact your self hosted runner administrator." [WORKER 2025-01-16 03:24:05Z INFO ExecutionContext] ], [WORKER 2025-01-16 03:24:05Z INFO ExecutionContext] "executionTimeInSeconds": 46, [WORKER 2025-01-16 03:24:05Z INFO ExecutionContext] "startTime": "2025-01-16T03:23:20.3882104Z", [WORKER 2025-01-16 03:24:05Z INFO ExecutionContext] "finishTime": "2025-01-16T03:24:05.4791683Z", [WORKER 2025-01-16 03:24:05Z INFO ExecutionContext] "containerHookData": "{"hookScriptPath":"/home/runner/k8s/index.js"}"`

Workflow logs:-

2025-01-16T03:23:15.6495551Z Job is waiting for a runner from 'arc-runners' to come online. 2025-01-16T03:23:15.8511800Z Job is about to start running on the runner: arc-runners-4kqcf-runner-zkcfv (organization) 2025-01-16T03:23:20.2592750Z ##[debug]Starting: hello-world 2025-01-16T03:23:20.2638826Z ##[debug]Cleaning runner temp folder: /home/runner/_work/_temp 2025-01-16T03:23:20.2783783Z ##[debug]Starting: Set up job 2025-01-16T03:23:20.2785583Z Current runner version: '2.321.0' 2025-01-16T03:23:20.2790276Z Runner name: 'arc-runners-4kqcf-runner-zkcfv' 2025-01-16T03:23:20.2791435Z Runner group name: 'Default' 2025-01-16T03:23:20.2792833Z Machine name: 'arc-runners-4kqcf-runner-zkcfv' 2025-01-16T03:23:20.2798670Z ##[group]GITHUB_TOKEN Permissions 2025-01-16T03:23:20.2802283Z Actions: write 2025-01-16T03:23:20.2803134Z Attestations: write 2025-01-16T03:23:20.2803968Z Checks: write 2025-01-16T03:23:20.2804656Z Contents: write 2025-01-16T03:23:20.2805477Z Deployments: write 2025-01-16T03:23:20.2806283Z Discussions: write 2025-01-16T03:23:20.2806975Z Issues: write 2025-01-16T03:23:20.2807684Z Metadata: read 2025-01-16T03:23:20.2808454Z Packages: write 2025-01-16T03:23:20.2809140Z Pages: write 2025-01-16T03:23:20.2809867Z PullRequests: write 2025-01-16T03:23:20.2810904Z RepositoryProjects: write 2025-01-16T03:23:20.2811811Z SecurityEvents: write 2025-01-16T03:23:20.2812701Z Statuses: write 2025-01-16T03:23:20.2813442Z ##[endgroup] 2025-01-16T03:23:20.2817673Z Secret source: Actions 2025-01-16T03:23:20.2818831Z ##[debug]Primary repository: ***** 2025-01-16T03:23:20.2820179Z Runner is running behind proxy server 'http://94.xx.xx.xx:443' for all HTTP requests. 2025-01-16T03:23:20.2821871Z Runner is running behind proxy server 'http://94.xx.xx.xx:443' for all HTTPS requests. 2025-01-16T03:23:20.2823223Z Prepare workflow directory 2025-01-16T03:23:20.2916340Z ##[debug]Creating pipeline directory: '/home/runner/_work/Workflows' 2025-01-16T03:23:20.2921341Z ##[debug]Creating workspace directory: '/home/runner/_work/Workflows/Workflows' 2025-01-16T03:23:20.2923718Z ##[debug]Update context data 2025-01-16T03:23:20.2928901Z ##[debug]Evaluating job-level environment variables 2025-01-16T03:23:20.3242557Z ##[debug]Evaluating job container 2025-01-16T03:23:20.3372760Z ##[debug]Evaluating job service containers 2025-01-16T03:23:20.3376284Z ##[debug]Evaluating job defaults 2025-01-16T03:23:20.3411541Z Prepare all required actions 2025-01-16T03:23:20.3593456Z ##[debug]Set step '__run' display name to: 'Print Hello World' 2025-01-16T03:23:20.3595525Z Complete job name: hello-world 2025-01-16T03:23:20.3618340Z ##[debug]Collect running processes for tracking orphan processes. 2025-01-16T03:23:20.3726587Z ##[debug]Finishing: Set up job 2025-01-16T03:23:20.3888088Z ##[debug]Evaluating condition for step: 'Initialize containers' 2025-01-16T03:23:20.4014955Z ##[debug]Evaluating: success() 2025-01-16T03:23:20.4023240Z ##[debug]Evaluating success: 2025-01-16T03:23:20.4050131Z ##[debug]=> true 2025-01-16T03:23:20.4059986Z ##[debug]Result: true 2025-01-16T03:23:20.4092716Z ##[debug]Starting: Initialize containers 2025-01-16T03:23:20.4130655Z ##[debug]Register post job cleanup for stopping/deleting containers. 2025-01-16T03:23:20.4660320Z ##[group]Run '/home/runner/k8s/index.js' 2025-01-16T03:23:20.4673117Z shell: /home/runner/externals/node20/bin/node {0} 2025-01-16T03:23:20.4674607Z ##[endgroup] 2025-01-16T03:23:20.4742456Z ##[debug]/home/runner/externals/node20/bin/node /home/runner/k8s/index.js 2025-01-16T03:23:21.1185471Z (node:81) [DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version. 2025-01-16T03:23:21.1188017Z (Use node --trace-deprecation ... to show where the warning was created) 2025-01-16T03:24:05.4660966Z ##[error]Error: read ECONNRESET 2025-01-16T03:24:05.4699120Z ##[error]Process completed with exit code 1. 2025-01-16T03:24:05.4755355Z ##[error]Executing the custom container implementation failed. Please contact your self hosted runner administrator. 2025-01-16T03:24:05.4760689Z ##[debug]System.Exception: Executing the custom container implementation failed. Please contact your self hosted runner administrator. 2025-01-16T03:24:05.4762324Z ##[debug] ---> System.Exception: The hook script at '/home/runner/k8s/index.js' running command 'PrepareJob' did not execute successfully 2025-01-16T03:24:05.4764664Z ##[debug] at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.ExecuteHookScript[T](IExecutionContext context, HookInput input, ActionRunStage stage, String prependPath) 2025-01-16T03:24:05.4766159Z ##[debug] --- End of inner exception stack trace --- 2025-01-16T03:24:05.4767648Z ##[debug] at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.ExecuteHookScript[T](IExecutionContext context, HookInput input, ActionRunStage stage, String prependPath) 2025-01-16T03:24:05.4769610Z ##[debug] at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.PrepareJobAsync(IExecutionContext context, List1 containers) 2025-01-16T03:24:05.4771304Z ##[debug] at GitHub.Runner.Worker.ContainerOperationProvider.StartContainersAsync(IExecutionContext executionContext, Object data) 2025-01-16T03:24:05.4772580Z ##[debug] at GitHub.Runner.Worker.JobExtensionRunner.RunAsync() 2025-01-16T03:24:05.4773731Z ##[debug] at GitHub.Runner.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken) 2025-01-16T03:24:05.4786761Z ##[debug]Finishing: Initialize containers 2025-01-16T03:24:05.4824675Z ##[debug]Evaluating condition for step: 'Print Hello World' 2025-01-16T03:24:05.4830982Z ##[debug]Evaluating: success() 2025-01-16T03:24:05.4832091Z ##[debug]Evaluating success: 2025-01-16T03:24:05.4833066Z ##[debug]=> false 2025-01-16T03:24:05.4834185Z ##[debug]Result: false 2025-01-16T03:24:05.4844667Z ##[debug]Evaluating condition for step: 'Stop containers' 2025-01-16T03:24:05.4848141Z ##[debug]Evaluating: always() 2025-01-16T03:24:05.4849138Z ##[debug]Evaluating always: 2025-01-16T03:24:05.4850730Z ##[debug]=> true 2025-01-16T03:24:05.4851924Z ##[debug]Result: true 2025-01-16T03:24:05.4853242Z ##[debug]Starting: Stop containers 2025-01-16T03:24:05.4891697Z ##[group]Run '/home/runner/k8s/index.js' 2025-01-16T03:24:05.4893760Z shell: /home/runner/externals/node20/bin/node {0} 2025-01-16T03:24:05.4894509Z ##[endgroup] 2025-01-16T03:24:05.4901913Z ##[debug]/home/runner/externals/node20/bin/node /home/runner/k8s/index.js 2025-01-16T03:24:06.1052663Z (node:101) [DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version. 2025-01-16T03:24:06.1054290Z (Use node --trace-deprecation ... to show where the warning was created) 2025-01-16T03:24:50.5711481Z ##[error]Error: read ECONNRESET 2025-01-16T03:24:50.5779103Z ##[error]Process completed with exit code 1. 2025-01-16T03:24:50.5809435Z ##[error]Executing the custom container implementation failed. Please contact your self hosted runner administrator. 2025-01-16T03:24:50.5815969Z ##[debug]System.Exception: Executing the custom container implementation failed. Please contact your self hosted runner administrator. 2025-01-16T03:24:50.5817415Z ##[debug] ---> System.Exception: The hook script at '/home/runner/k8s/index.js' running command 'CleanupJob' did not execute successfully 2025-01-16T03:24:50.5819224Z ##[debug] at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.ExecuteHookScript[T](IExecutionContext context, HookInput input, ActionRunStage stage, String prependPath) 2025-01-16T03:24:50.5820672Z ##[debug] --- End of inner exception stack trace --- 2025-01-16T03:24:50.5822235Z ##[debug] at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.ExecuteHookScript[T](IExecutionContext context, HookInput input, ActionRunStage stage, String prependPath) 2025-01-16T03:24:50.5824647Z ##[debug] at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.CleanupJobAsync(IExecutionContext context, List1 containers) 2025-01-16T03:24:50.5826774Z ##[debug] at GitHub.Runner.Worker.ContainerOperationProvider.StopContainersAsync(IExecutionContext executionContext, Object data) 2025-01-16T03:24:50.5828094Z ##[debug] at GitHub.Runner.Worker.JobExtensionRunner.RunAsync() 2025-01-16T03:24:50.5829709Z ##[debug] at GitHub.Runner.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken) 2025-01-16T03:24:50.5833729Z ##[debug]Finishing: Stop containers 2025-01-16T03:24:50.5901073Z ##[debug]Starting: Complete job 2025-01-16T03:24:50.5904655Z Uploading runner diagnostic logs 2025-01-16T03:24:50.5920838Z ##[debug]Starting diagnostic file upload. 2025-01-16T03:24:50.5921903Z ##[debug]Setting up diagnostic log folders. 2025-01-16T03:24:50.5925973Z ##[debug]Creating diagnostic log files folder. 2025-01-16T03:24:50.5939546Z ##[debug]Copying 1 worker diagnostic logs. 2025-01-16T03:24:50.5954792Z ##[debug]Copying 1 runner diagnostic logs. 2025-01-16T03:24:50.5956995Z ##[debug]Zipping diagnostic files. 2025-01-16T03:24:50.6049578Z ##[debug]Uploading diagnostic metadata file. 2025-01-16T03:24:50.6095831Z ##[debug]Diagnostic file upload complete. 2025-01-16T03:24:50.6097125Z Completed runner diagnostic log upload 2025-01-16T03:24:50.6097671Z Cleaning up orphan processes 2025-01-16T03:24:50.6121772Z ##[debug]Finishing: Complete job 2025-01-16T03:24:50.6164822Z ##[debug]Finishing: hello-world

Any insights will help a lot. Thanks!

Muzammil-Yernal avatar Jan 16 '25 04:01 Muzammil-Yernal

same issue here

andresrsanchez avatar May 22 '25 15:05 andresrsanchez

If anyone gets a working example, please do share. I too have been battling this one

archae0pteryx avatar May 22 '25 21:05 archae0pteryx