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

Actions runner image v2.321.0 seems to be missing expected binaries #3618

Open
Nathan-Yorio opened this issue Dec 11, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Nathan-Yorio
Copy link

Nathan-Yorio commented Dec 11, 2024

Describe the bug
A clear and concise description of what the bug is.
Running self github actions runners. Expected binaries which should be within the image are not present in v2.321.0. Or, if they are there, I can't locate them and runner user's PATH does not contain them.

For example:

line 1: gh: command not found

Expected binaries are not found anywhere within runner user's PATH

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Actions workflows have not changed. Setup for self hosted runners has not changed. Simply started reference v2.321.0 instead of v2.320.0

In our setup it must be built, intermediary, since external images are not accepted. But no changes are being added for the build.

FROM ghcr.io/actions/actions-runner:2.321.0

USER root

# Adjust as necessary if runners need extra tooling

USER runner

To Reproduce
Steps to reproduce the behavior:

  1. Use this runner image on latest version
  2. try to run binary which should be included in image by default

** Can be resolved by manually installing tools, but shouldn't have to for things such as gh cli, which should be in there.

Expected behavior
A clear and concise description of what you expected to happen.

The tools which are supposed to be there existing

Runner Version and Platform

Version of your runner?
OS of the machine running the runner? OSX/Windows/Linux/...

v2.321.0
Ubuntu 22 x86_64

What's not working?

Please include error messages and screenshots.

Job Log Output

N/A

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.

Worker diagnostics too much sensitive to scrub and paste here, but here's runner logs

logs inside
[2024-12-11 18:03:10Z INFO HostContext] No proxy settings were found based on environmental variables (http_proxy/https_proxy/HTTP_PROXY/HTTPS_PROXY)
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Root': '/home/runner'
[2024-12-11 18:03:10Z INFO HostContext] Well known config file 'Credentials': '/home/runner/.credentials'
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Root': '/home/runner'
[2024-12-11 18:03:10Z INFO HostContext] Well known config file 'Runner': '/home/runner/.runner'
[2024-12-11 18:03:10Z INFO HostContext] Adding extra user agent 'actions-runner-controller/0.9.3' to all HTTP requests.
[2024-12-11 18:03:10Z INFO Listener] Runner is built for Linux (X64) - linux-x64.
[2024-12-11 18:03:10Z INFO Listener] RuntimeInformation: Ubuntu 22.04.5 LTS.
[2024-12-11 18:03:10Z INFO Listener] Version: 2.321.0
[2024-12-11 18:03:10Z INFO Listener] Commit: <~~~~SNIP~~~~>
[2024-12-11 18:03:10Z INFO Listener] Culture: 
[2024-12-11 18:03:10Z INFO Listener] UI Culture: 
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Root': '/home/runner'
[2024-12-11 18:03:10Z INFO Listener] Validating directory permissions for: '/home/runner'
[2024-12-11 18:03:10Z INFO CommandLineParser] Parse
[2024-12-11 18:03:10Z INFO CommandLineParser] Parsing 1 args
[2024-12-11 18:03:10Z INFO CommandLineParser] parsing argument
[2024-12-11 18:03:10Z INFO CommandLineParser] HasArgs: False
[2024-12-11 18:03:10Z INFO CommandLineParser] Adding Command: run
[2024-12-11 18:03:10Z INFO CommandSettings] Removing env var: 'ACTIONS_RUNNER_INPUT_JITCONFIG'
[2024-12-11 18:03:10Z INFO Listener] Arguments parsed
[2024-12-11 18:03:10Z INFO Runner] ExecuteCommand
[2024-12-11 18:03:10Z INFO ConfigurationStore] currentAssemblyLocation: /home/runner/bin/Runner.Listener.dll
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[2024-12-11 18:03:10Z INFO ConfigurationStore] binPath: /home/runner/bin
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Root': '/home/runner'
[2024-12-11 18:03:10Z INFO ConfigurationStore] RootFolder: /home/runner
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Root': '/home/runner'
[2024-12-11 18:03:10Z INFO HostContext] Well known config file 'Runner': '/home/runner/.runner'
[2024-12-11 18:03:10Z INFO ConfigurationStore] ConfigFilePath: /home/runner/.runner
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Root': '/home/runner'
[2024-12-11 18:03:10Z INFO HostContext] Well known config file 'Credentials': '/home/runner/.credentials'
[2024-12-11 18:03:10Z INFO ConfigurationStore] CredFilePath: /home/runner/.credentials
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Root': '/home/runner'
[2024-12-11 18:03:10Z INFO HostContext] Well known config file 'MigratedCredentials': '/home/runner/.credentials_migrated'
[2024-12-11 18:03:10Z INFO ConfigurationStore] MigratedCredFilePath: /home/runner/.credentials_migrated
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Root': '/home/runner'
[2024-12-11 18:03:10Z INFO HostContext] Well known config file 'Service': '/home/runner/.service'
[2024-12-11 18:03:10Z INFO ConfigurationStore] ServiceConfigFilePath: /home/runner/.service
[2024-12-11 18:03:10Z INFO CommandSettings] Flag 'help': 'False'
[2024-12-11 18:03:10Z INFO CommandSettings] Flag 'version': 'False'
[2024-12-11 18:03:10Z INFO CommandSettings] Flag 'commit': 'False'
[2024-12-11 18:03:10Z INFO CommandSettings] Flag 'check': 'False'
[2024-12-11 18:03:10Z INFO CommandSettings] Command 'configure': 'False'
[2024-12-11 18:03:10Z INFO CommandSettings] Command 'remove': 'False'
[2024-12-11 18:03:10Z INFO CommandSettings] Command 'warmup': 'False'
[2024-12-11 18:03:10Z INFO CommandSettings] Env arg 'jitconfig': '***'
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Root': '/home/runner'
[2024-12-11 18:03:10Z INFO Runner] Saved 381 bytes to '/home/runner/.runner'.
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Root': '/home/runner'
[2024-12-11 18:03:10Z INFO Runner] Saved 225 bytes to '/home/runner/.credentials'.
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Root': '/home/runner'
[2024-12-11 18:03:10Z INFO Runner] Saved 1631 bytes to '/home/runner/.credentials_rsaparams'.
[2024-12-11 18:03:10Z INFO HostContext] No proxy settings were found based on environmental variables (http_proxy/https_proxy/HTTP_PROXY/HTTPS_PROXY)
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Root': '/home/runner'
[2024-12-11 18:03:10Z INFO HostContext] Well known config file 'Credentials': '/home/runner/.credentials'
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Root': '/home/runner'
[2024-12-11 18:03:10Z INFO HostContext] Well known config file 'Runner': '/home/runner/.runner'
[2024-12-11 18:03:10Z INFO HostContext] Adding extra user agent 'actions-runner-controller/0.9.3' to all HTTP requests.
[2024-12-11 18:03:10Z INFO ConfigurationManager] LoadSettings
[2024-12-11 18:03:10Z INFO ConfigurationStore] IsConfigured()
[2024-12-11 18:03:10Z INFO ConfigurationStore] IsConfigured: True
[2024-12-11 18:03:10Z INFO ConfigurationManager] Is configured: True
[2024-12-11 18:03:10Z INFO ConfigurationStore] Read setting file: 381 chars
[2024-12-11 18:03:10Z INFO ConfigurationManager] Settings Loaded
[2024-12-11 18:03:10Z INFO ConfigurationStore] IsServiceConfigured()
[2024-12-11 18:03:10Z INFO ConfigurationStore] IsServiceConfigured: False
[2024-12-11 18:03:10Z INFO CommandSettings] Command 'run': 'True'
[2024-12-11 18:03:10Z INFO ConfigurationStore] IsConfigured()
[2024-12-11 18:03:10Z INFO ConfigurationStore] IsConfigured: True
[2024-12-11 18:03:10Z INFO ConfigurationManager] Is configured: True
[2024-12-11 18:03:10Z INFO Runner] Could not parse the argument value '' for StartupType. Defaulting to Manual
[2024-12-11 18:03:10Z INFO Runner] Set runner startup type - Manual
[2024-12-11 18:03:10Z INFO CommandSettings] Flag 'once': 'False'
[2024-12-11 18:03:10Z INFO CommandSettings] Flag 'once': 'False'
[2024-12-11 18:03:10Z INFO Runner] RunAsync
[2024-12-11 18:03:10Z INFO ConfigurationManager] LoadSettings
[2024-12-11 18:03:10Z INFO ConfigurationStore] IsConfigured()
[2024-12-11 18:03:10Z INFO ConfigurationStore] IsConfigured: True
[2024-12-11 18:03:10Z INFO ConfigurationManager] Is configured: True
[2024-12-11 18:03:10Z INFO ConfigurationManager] Settings Loaded
[2024-12-11 18:03:10Z INFO MessageListener] {
  "AgentId": 4727,
  "AgentName": "<~~~~SNIP~~~~>-4qdxb-runner-hwxmt",
  "PoolId": 5,
  "DisableUpdate": true,
  "Ephemeral": true,
  "ServerUrl": "https://pipelinesghubeus21.actions.githubusercontent.com/<~~~~SNIP~~~~>/",
  "WorkFolder": "_work"
}
[2024-12-11 18:03:10Z INFO MessageListener] Loading Credentials
[2024-12-11 18:03:10Z INFO ConfigurationStore] HasCredentials()
[2024-12-11 18:03:10Z INFO ConfigurationStore] stored True
[2024-12-11 18:03:10Z INFO CredentialManager] GetCredentialProvider
[2024-12-11 18:03:10Z INFO CredentialManager] Creating type OAuth
[2024-12-11 18:03:10Z INFO CredentialManager] Creating credential type: OAuth
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[2024-12-11 18:03:10Z INFO HostContext] Well known directory 'Root': '/home/runner'
[2024-12-11 18:03:10Z INFO HostContext] Well known config file 'RSACredentials': '/home/runner/.credentials_rsaparams'
[2024-12-11 18:03:10Z INFO RSAFileKeyManager] Loading RSA key parameters from file /home/runner/.credentials_rsaparams
[2024-12-11 18:03:10Z INFO MessageListener] Attempt to create session.
[2024-12-11 18:03:10Z INFO MessageListener] Connecting to the Runner Server...
[2024-12-11 18:03:10Z INFO RunnerServer] EstablishVssConnection
[2024-12-11 18:03:10Z INFO RunnerServer] Establish connection with 100 seconds timeout.
[2024-12-11 18:03:10Z INFO GitHubActionsService] Starting operation Location.GetConnectionData
[2024-12-11 18:03:10Z INFO RunnerServer] EstablishVssConnection
[2024-12-11 18:03:10Z INFO RunnerServer] Establish connection with 60 seconds timeout.
[2024-12-11 18:03:10Z INFO GitHubActionsService] Starting operation Location.GetConnectionData
[2024-12-11 18:03:10Z INFO RunnerServer] EstablishVssConnection
[2024-12-11 18:03:10Z INFO RunnerServer] Establish connection with 60 seconds timeout.
[2024-12-11 18:03:10Z INFO GitHubActionsService] Starting operation Location.GetConnectionData
[2024-12-11 18:03:11Z INFO GitHubActionsService] Finished operation Location.GetConnectionData
[2024-12-11 18:03:11Z INFO GitHubActionsService] Finished operation Location.GetConnectionData
[2024-12-11 18:03:12Z INFO GitHubActionsService] Finished operation Location.GetConnectionData
[2024-12-11 18:03:13Z INFO MessageListener] VssConnection created
[2024-12-11 18:03:13Z INFO Terminal] WRITE LINE: 
[2024-12-11 18:03:13Z INFO Terminal] WRITE LINE: 
[2024-12-11 18:03:13Z INFO RSAFileKeyManager] Loading RSA key parameters from file /home/runner/.credentials_rsaparams
[2024-12-11 18:03:13Z INFO RSAFileKeyManager] Loading RSA key parameters from file /home/runner/.credentials_rsaparams
[2024-12-11 18:03:13Z INFO GitHubActionsService] AAD Correlation ID for this token request: Unknown
[2024-12-11 18:03:14Z INFO MessageListener] Session created.
[2024-12-11 18:03:14Z INFO Terminal] WRITE LINE: Current runner version: '2.321.0'
[2024-12-11 18:03:14Z INFO Terminal] WRITE LINE: 2024-12-11 18:03:14Z: Listening for Jobs
[2024-12-11 18:03:14Z INFO JobDispatcher] Set runner/worker IPC timeout to 30 seconds.
[2024-12-11 18:03:14Z INFO RSAFileKeyManager] Loading RSA key parameters from file /home/runner/.credentials_rsaparams
[2024-12-11 18:03:14Z INFO GitHubActionsService] AAD Correlation ID for this token request: Unknown
[2024-12-11 18:03:16Z INFO MessageListener] Message '<~~~~SNIP~~~~>' received from session '<~~~~SNIP~~~~>'.
[2024-12-11 18:03:16Z INFO ConfigurationStore] HasCredentials()
[2024-12-11 18:03:16Z INFO ConfigurationStore] stored True
[2024-12-11 18:03:16Z INFO CredentialManager] GetCredentialProvider
[2024-12-11 18:03:16Z INFO CredentialManager] Creating type OAuth
[2024-12-11 18:03:16Z INFO CredentialManager] Creating credential type: OAuth
[2024-12-11 18:03:16Z INFO RSAFileKeyManager] Loading RSA key parameters from file /home/runner/.credentials_rsaparams
[2024-12-11 18:03:16Z INFO ActionsRunServer] EstablishVssConnection
[2024-12-11 18:03:16Z INFO ActionsRunServer] Establish connection with 100 seconds timeout.
[2024-12-11 18:03:16Z INFO GitHubActionsService] Starting operation Location.GetConnectionData
[2024-12-11 18:03:16Z INFO GitHubActionsService] Finished operation Location.GetConnectionData
[2024-12-11 18:03:17Z INFO RSAFileKeyManager] Loading RSA key parameters from file /home/runner/.credentials_rsaparams
[2024-12-11 18:03:17Z INFO RSAFileKeyManager] Loading RSA key parameters from file /home/runner/.credentials_rsaparams
[2024-12-11 18:03:18Z INFO GitHubActionsService] AAD Correlation ID for this token request: Unknown
[2024-12-11 18:03:18Z INFO JobDispatcher] Job request <~~~~SNIP~~~~> for plan <~~~~SNIP~~~~> job <~~~~SNIP~~~~> received.
[2024-12-11 18:03:18Z INFO JobDispatcher] Pull OrchestrationId <~~~~SNIP~~~~>.dispatch.__default from JWT claims
[2024-12-11 18:03:18Z INFO JobDispatcher] Start dispatcher for one time used runner.
[2024-12-11 18:03:18Z INFO MessageListener] Received job status event. JobState: Busy
[2024-12-11 18:03:18Z INFO MessageListener] _getMessagesTokenSource is already disposed.
[2024-12-11 18:03:18Z INFO Terminal] WRITE LINE: 2024-12-11 18:03:18Z: Running job: Dispatch Plan Jobs
[2024-12-11 18:03:18Z INFO JobDispatcher] Start renew job request <~~~~SNIP~~~~> for job <~~~~SNIP~~~~>.
[2024-12-11 18:03:18Z INFO Runner] One time used runner received job message.
[2024-12-11 18:03:19Z INFO JobDispatcher] Successfully renew job request <~~~~SNIP~~~~>, job is valid till 12/11/2024 18:13:19
[2024-12-11 18:03:19Z INFO HostContext] Well known directory 'Bin': '/home/runner/bin'
[2024-12-11 18:03:19Z INFO ProcessInvokerWrapper] Starting process:
[2024-12-11 18:03:19Z INFO ProcessInvokerWrapper]   File name: '/home/runner/bin/Runner.Worker'
[2024-12-11 18:03:19Z INFO ProcessInvokerWrapper]   Arguments: 'spawnclient 150 153'
[2024-12-11 18:03:19Z INFO ProcessInvokerWrapper]   Working directory: '/home/runner/bin'
[2024-12-11 18:03:19Z INFO ProcessInvokerWrapper]   Require exit code zero: 'False'
[2024-12-11 18:03:19Z INFO ProcessInvokerWrapper]   Encoding web name:  ; code page: ''
[2024-12-11 18:03:19Z INFO ProcessInvokerWrapper]   Force kill process on cancellation: 'True'
[2024-12-11 18:03:19Z INFO ProcessInvokerWrapper]   Redirected STDIN: 'False'
[2024-12-11 18:03:19Z INFO ProcessInvokerWrapper]   Persist current code page: 'False'
[2024-12-11 18:03:19Z INFO ProcessInvokerWrapper]   Keep redirected STDIN open: 'False'
[2024-12-11 18:03:19Z INFO ProcessInvokerWrapper]   High priority process: 'True'
[2024-12-11 18:03:19Z INFO ProcessInvokerWrapper] Process started with process id 29, waiting for process exit.
[2024-12-11 18:03:19Z INFO JobDispatcher] Send job request message to worker for job <~~~~SNIP~~~~>.
[2024-12-11 18:03:19Z INFO ProcessChannel] Sending message of length 51655, with hash '<~~~~SNIP~~~~>'
[2024-12-11 18:03:19Z INFO JobNotification] Entering JobStarted Notification
[2024-12-11 18:03:19Z INFO JobNotification] Entering StartMonitor
[2024-12-11 18:04:19Z INFO JobDispatcher] Successfully renew job request 2545878, job is valid till 12/11/2024 18:14:19
[2024-12-11 18:05:19Z INFO JobDispatcher] Successfully renew job request 2545878, job is valid till 12/11/2024 18:15:19
[2024-12-11 18:06:19Z INFO JobDispatcher] Successfully renew job request 2545878, job is valid till 12/11/2024 18:16:19
@Nathan-Yorio Nathan-Yorio added the bug Something isn't working label Dec 11, 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