Skip to content
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

'Inconsistency detected by ld.so' causes actions-runner to crash #3343

Open
Crashdoom opened this issue Jun 17, 2024 · 0 comments
Open

'Inconsistency detected by ld.so' causes actions-runner to crash #3343

Crashdoom opened this issue Jun 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Crashdoom
Copy link

Describe the bug
When running the latest actions-runner image (https://github.com/actions/runner/pkgs/container/actions-runner/223152759?tag=latest), the runner crashes when attempting to load the RSA key parameters during the runner startup process. This seems to be happening even when using the base unmodified image (ghcr.io/actions/actions-runner:latest).

To Reproduce
Steps to reproduce the behavior:

  1. Deploy runners using the gha-runner-scale-set chart, ensure at least 1 runner will start (minRunners: 1 should suffice)
  2. Wait for the runner to be deployed
  3. Runner will attempt to start and immediately crash with the attached error.

Expected behavior
Runner should start normally

Runner Version and Platform

Version of your runner? latest / 2.317.0

OS of the machine running the runner? Linux (Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-92-generic x86_64), hosted on Kubernetes.

What's not working?

Please include error messages and screenshots.

N/A (See below.)

Job Log Output

If applicable, include the relevant part of the job / step log output here. All sensitive information should already be masked out, but please double-check before pasting here.

[RUNNER 2024-06-17 23:14:42Z INFO MessageListener] Loading Credentials
[RUNNER 2024-06-17 23:14:42Z INFO ConfigurationStore] HasCredentials()
[RUNNER 2024-06-17 23:14:42Z INFO ConfigurationStore] stored True
[RUNNER 2024-06-17 23:14:42Z INFO CredentialManager] GetCredentialProvider
[RUNNER 2024-06-17 23:14:42Z INFO CredentialManager] Creating type OAuth
[RUNNER 2024-06-17 23:14:42Z INFO CredentialManager] Creating credential type: OAuth
[RUNNER 2024-06-17 23:14:42Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[RUNNER 2024-06-17 23:14:42Z INFO HostContext] Well known directory 'Root': '/home/runner'
[RUNNER 2024-06-17 23:14:42Z INFO HostContext] Well known config file 'RSACredentials': '/home/runner/.credentials_rsaparams'
[RUNNER 2024-06-17 23:14:42Z INFO RSAFileKeyManager] Loading RSA key parameters from file /home/runner/.credentials_rsaparams
Inconsistency detected by ld.so: ../sysdeps/x86_64/dl-machine.h: 534: elf_machine_rela_relative: Assertion `ELFW(R_TYPE) (reloc->r_info) == R_X86_64_RELATIVE' failed!
Exiting with unknown error code: 127
Exiting runner...

Runner and Worker's Diagnostic Logs

If applicable, add relevant diagnostic log information. Logs are located in the runner's _diag folder. The runner logs are prefixed with Runner_ and the worker logs are prefixed with Worker_. Each job run correlates to a worker log. All sensitive information should already be masked out, but please double-check before pasting here.

N/A (upon request, as I don't believe this is stored as the worker is ephemeral).

@Crashdoom Crashdoom added the bug Something isn't working label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant