•  


Actions fails to run on public runner: /lib/x86_64-linux-gnu/libgssapi_krb5.so.2: invalid ELF header · Issue #1673 · actions/checkout · GitHub
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 fails to run on public runner: /lib/x86_64-linux-gnu/libgssapi_krb5.so.2: invalid ELF header #1673

Closed
ad-m-ss opened this issue Apr 3, 2024 · 3 comments

Comments

@ad-m-ss
Copy link

Hello,

I think that action has a regression in the public runner / there is bug in that action.

CI job fails on:

  /usr/lib/git-core/git-remote-https: error while loading shared libraries: /lib/x86_64-linux-gnu/libgssapi_krb5.so.2: invalid ELF header
  Error: The process '/usr/bin/git' failed with exit code 128

In short period of window I have two runs. One passed (runne image: ubuntu-20.04 20240324.1.0 ), and one failed (runner image ubuntu-20.04 20240403.1.0 ).

We use that action in workflow in most basic way at first step:

...
jobs
:
  
test
:
    
name
: 
Linter & Helm

    runs-on
: 
ubuntu-20.04

    steps
:
          - 
uses
: 
actions/checkout@v4          

...

Let me know if you need any further details.

Detailed CI log
Current runner version: '2.314.1'
Operating System
Runner Image
  Image: ubuntu-20.04
  Version: 20240403.1.0
  Included Software: https://github.com/actions/runner-images/blob/ubuntu20/20240403.1/images/ubuntu/Ubuntu2004-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu20%2F20240403.1
Runner Image Provisioner
  2.0.361.1
GITHUB_TOKEN Permissions
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:b4ffde65f46336ab88eb53be808477a3936bae11)
Download action repository 'actions/cache@v4' (SHA:0c45773b623bea8c8e75f6c82b208c3cf94ea4f9)
Download action repository 'actions/upload-artifact@v4' (SHA:5d5d22a31266ced268874388b861e4b58bb5c2f3)
Download action repository '8398a7/action-slack@v3' (SHA:28ba43ae48961b90635b50953d216767a6bea486)
Complete job name: Execute Python for test (3, 3)
27s
Run actions/checkout@v4
Syncing repository: **CUT**/**CUT**
Getting Git version info
  Working directory is '/home/runner/work/**CUT**/**CUT**'
  /usr/bin/git version
  git version 2.43.2
Temporarily overriding HOME='/home/runner/work/_temp/a5a30611-2cb1-48b9-87ec-412b13634c5e' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
/usr/bin/git config --global --add safe.directory /home/runner/work/**CUT**/**CUT**
Deleting the contents of '/home/runner/work/**CUT**/**CUT**'
Initializing the repository
  /usr/bin/git init /home/runner/work/**CUT**/**CUT**
  hint: Using 'master' as the name for the initial branch. This default branch name
  hint: is subject to change. To configure the initial branch name to use in all
  hint: of your new repositories, which will suppress this warning, call:
  hint: 
  hint: 	git config --global init.defaultBranch <name>
  hint: 
  hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
  hint: 'development'. The just-created branch can be renamed via this command:
  hint: 
  hint: 	git branch -m <name>
  Initialized empty Git repository in /home/runner/work/**CUT**/**CUT**/.git/
  /usr/bin/git remote add origin https://github.com/**CUT**/**CUT**
Disabling automatic garbage collection
  /usr/bin/git config --local gc.auto 0
Setting up auth
  /usr/bin/git config --local --name-only --get-regexp core\.sshCommand
  /usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
  /usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
  /usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
  /usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
Fetching the repository
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +0846bca4e14638bfa64271d0c6490ed65656501f:refs/remotes/pull/6467/merge
  /usr/lib/git-core/git-remote-https: error while loading shared libraries: /lib/x86_64-linux-gnu/libgssapi_krb5.so.2: invalid ELF header
  The process '/usr/bin/git' failed with exit code 128
  Waiting 14 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +0846bca4e14638bfa64271d0c6490ed65656501f:refs/remotes/pull/6467/merge
  /usr/lib/git-core/git-remote-https: error while loading shared libraries: /lib/x86_64-linux-gnu/libgssapi_krb5.so.2: invalid ELF header
  The process '/usr/bin/git' failed with exit code 128
  Waiting 12 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +0846bca4e14638bfa64271d0c6490ed65656501f:refs/remotes/pull/6467/merge
  /usr/lib/git-core/git-remote-https: error while loading shared libraries: /lib/x86_64-linux-gnu/libgssapi_krb5.so.2: invalid ELF header
  Error: The process '/usr/bin/git' failed with exit code 128
@yardensade
Copy link

it happens to me as well since yesterday, I opened a discussion about it:
https://github.com/orgs/community/discussions/116737
Not enough people are talking about it, happens to me with ubuntu 20.04 and checkout v3 since they changed version yesterday

@tyrannosaurus-becks

This is also intermittently to us fairly frequently today.

@cory-miller
Copy link
Contributor

While the action that got this failure is actions/checkout, we have no control over the software on the runner and expect Git to be working for the action to succeed.

I see actions/runner-images#9632 was filed and last comment seems to indicate that they fixed the issue. Please follow up there if you are still having issues.

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

4 participants
- "漢字路" 한글한자자동변환 서비스는 교육부 고전문헌국역지원사업의 지원으로 구축되었습니다.
- "漢字路" 한글한자자동변환 서비스는 전통문화연구회 "울산대학교한국어처리연구실 옥철영(IT융합전공)교수팀"에서 개발한 한글한자자동변환기를 바탕하여 지속적으로 공동 연구 개발하고 있는 서비스입니다.
- 현재 고유명사(인명, 지명등)을 비롯한 여러 변환오류가 있으며 이를 해결하고자 많은 연구 개발을 진행하고자 하고 있습니다. 이를 인지하시고 다른 곳에서 인용시 한자 변환 결과를 한번 더 검토하시고 사용해 주시기 바랍니다.
- 변환오류 및 건의,문의사항은 juntong@juntong.or.kr로 메일로 보내주시면 감사하겠습니다. .
Copyright ⓒ 2020 By '전통문화연구회(傳統文化硏究會)' All Rights reserved.
 한국   대만   중국   일본