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

Lambda Linux images unusable for GitHub Actions due to GLIBC error #747

Open
OmpahDev opened this issue Oct 18, 2024 · 0 comments
Open

Lambda Linux images unusable for GitHub Actions due to GLIBC error #747

OmpahDev opened this issue Oct 18, 2024 · 0 comments

Comments

@OmpahDev
Copy link

OmpahDev commented Oct 18, 2024

Describe the bug
When attempting to use the aws/codebuild/amazonlinux-x86_64-lambda-standard:go1.21 image to create a self-hosted GitHub Actions runner, the actions/checkout action (which is basically a mandatory part of any workflow) fails with the error:

/tmp/codebuild/output/src2489/src/2d960dd3_c8bb_4fb5_9316_ad2d90ad7884/actions-runner/externals/node20/bin/node: /lib64/libm.so.6: version 'GLIBC_2.27' not found (required by /tmp/codebuild/output/src2489/src/2d960dd3_c8bb_4fb5_9316_ad2d90ad7884/actions-runner/externals/node20/bin/node) /tmp/codebuild/output/src2489/src/2d960dd3_c8bb_4fb5_9316_ad2d90ad7884/actions-runner/externals/node20/bin/node: /lib64/libc.so.6: version 'GLIBC_2.28' not found (required by /tmp/codebuild/output/src2489/src/2d960dd3_c8bb_4fb5_9316_ad2d90ad7884/actions-runner/externals/node20/bin/node)

To Reproduce
Steps to reproduce the behavior:

  1. Create AWS CodeBuild project using Lambda execution with aws/codebuild/amazonlinux-x86_64-lambda-standard:go1.21 image
  2. Create sample workflow:
name: HelloWorld
on: [push]
jobs:
  HelloWorld:
    runs-on:
      - codebuild-<codebuildprojectname>-${{ github.run_id }}-${{ github.run_attempt }}
    steps:
    - name: Checkout Code
      uses: actions/checkout@v3

Expected behavior
The workflow runs.

Logs
Run actions/checkout@v3 with: repository: <redacted> token: *** ssh-strict: true persist-credentials: true clean: true sparse-checkout-cone-mode: true fetch-depth: 1 fetch-tags: false lfs: false submodules: false set-safe-directory: true /tmp/codebuild/output/src[2](https://github.com/<redacted>/actions/runs/11410692403/job/31753501178#step:2:2)489/src/2d960dd[3](https://github.com/<redacted>/actions/runs/11410692403/job/31753501178#step:2:3)_c8bb_4fb5_9316_ad2d90ad7884/actions-runner/externals/node20/bin/node: /lib6[4](https://github.com/<redacted>/actions/runs/11410692403/job/31753501178#step:2:4)/libm.so.6: version 'GLIBC_2.27' not found (required by /tmp/codebuild/output/src2489/src/2d960dd3_c8bb_4fb[5](https://github.com/<redacted>/actions/runs/11410692403/job/31753501178#step:2:5)_9316_ad2d90ad7884/actions-runner/externals/node20/bin/node) /tmp/codebuild/output/src2489/src/2d9[6](https://github.com/<redacted>/actions/runs/11410692403/job/31753501178#step:2:6)0dd3_c8bb_4fb5_9316_ad2d90ad[7](https://github.com/<redacted>/actions/runs/11410692403/job/31753501178#step:2:7)884/actions-runner/externals/node20/bin/node: /lib64/libc.so.6: version 'GLIBC_2.2[8](https://github.com/<redacted>/actions/runs/11410692403/job/31753501178#step:2:8)' not found (required by /tmp/codebuild/output/src248[9](https://github.com/<redacted>/actions/runs/11410692403/job/31753501178#step:2:9)/src/2d960dd3_c8bb_4fb5_9316_ad2d90ad7884/actions-runner/externals/node20/bin/node)

Platform (please complete the following information):

  • OS: Lambda Linux
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

1 participant