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

Github action runners can't execute jobs #3534

Closed
lassesteffen opened this issue Oct 10, 2023 · 14 comments
Closed

Github action runners can't execute jobs #3534

lassesteffen opened this issue Oct 10, 2023 · 14 comments

Comments

@lassesteffen
Copy link

<13>Oct 10 07:10:47 user-data: Starting the runner in persistent mode
<13>Oct 10 07:10:47 user-data: 
<13>Oct 10 07:10:47 user-data: /etc/systemd/system/actions.runner.koppla-tech.i-0cf765eb2e15abb85.service
<13>Oct 10 07:10:47 user-data: � actions.runner.koppla-tech.i-0cf765eb2e15abb85.service - GitHub Actions Runner (koppla-tech.i-0cf765eb2e15abb85)
[  124.159146] cloud-init[2997]: ci-info: no authorized ssh keys fingerprints found for user ec2-user.
ci-info: no authorized ssh keys fingerprints found for user ec2-user.
<13>Oct 10 07:10:47 user-data:    Loaded: loaded (/etc/systemd/system/actions.runner.koppla-tech.i-0cf765eb2e15abb85.service; enabled; vendor preset: disabled)
<13>Oct 10 07:10:47 user-data:    Active: failed (Result: exit-code) since Tue 2023-10-10 07:10:47 UTC; 3ms ago
<13>Oct 10 07:10:47 user-data:   Process: 10158 ExecStart=/opt/actions-runner/runsvc.sh (code=exited, status=1/FAILURE)

I assume it's the latest github action runner from yesterday, but roughly since then, the runners fail. They start, register but then don't work correctly and don't execute any queued jobs. Do you have any idea how to fix this?

@PatrickWolleb
Copy link

Executing runsvc.sh hints at missing GLIBC_2.27/8 required by node20

.path=/sbin:/bin:/usr/sbin:/usr/bin
./externals/node20/bin/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by ./externals/node20/bin/node)
./externals/node20/bin/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by ./externals/node20/bin/node)```

@safinsaf
Copy link

safinsaf commented Oct 10, 2023

Status of new nodes is offline
image

@logalize
Copy link

The same for us ((

@Mogost
Copy link

Mogost commented Oct 10, 2023

Confirming this issue

@Swadhin-K
Copy link

This is happening for us as well :(

@aktur
Copy link

aktur commented Oct 10, 2023

We encountered this issue when the checkout action was updated to v4. You must either upgrade the runners to use Linux 2023 or downgrade the checkout action to v3.

@Abdelrahman1993
Copy link

I am using Amazon Linux 2 and set GITHUB_ACTIONS_RUNNER_FORCED_NODE_VERSION=node16 in _bash_profile but I am still facing this issue

@Swadhin-K
Copy link

I just used #3437 and it works!

@kepalas
Copy link

kepalas commented Oct 10, 2023

I'm using the default image and was able to workaround the issue using the following configuration:

  userdata_post_install = <<EOF
    sed -i '/\[Service\]/a Environment="GITHUB_ACTIONS_RUNNER_FORCED_NODE_VERSION=node16"' /opt/actions-runner/bin/actions.runner.service.template
EOF

This comment helped me to figure out what I needed to do in my setup

@PatrickMilroy
Copy link

I've used the above to start the service and that seems to have resolved my issue, however I have a particular workflow that is utilizing actions/cache@v3 and am running into a similar issue with the node runtime as detailed here actions/cache#1258 where the hashFile function still appears to use node20.

Does anyone have any suggestions on how to work around this?

@DArtagan
Copy link

Perhaps helpful to others who land here and want to temporarily use eabrouwer3's work from #3437 before an official release:

module "runners" {
  #source  = "philips-labs/github-runner/aws"
  #version = "4.5.0"
  source  = "git::https://github.com/eabrouwer3/terraform-aws-github-runner.git?ref=eb/2848-al2023-support"
   ...

@ashwin-jacob
Copy link

According to GitHub Runner's latest release, they reverted the change for "Default Version of Node 20". It should go back to Node 16 now

Source: https://github.com/actions/runner/releases/tag/v2.310.1

@lassesteffen
Copy link
Author

Solved by latest release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests