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

Build error: Your kernel version indicates a revision number of 255 or greater #1811

Closed
npalm opened this issue Mar 3, 2022 · 0 comments
Closed

Comments

@npalm
Copy link
Member

npalm commented Mar 3, 2022

Description

Since March the 2nd we have seen in ubuntu:20.04 / latest container builds the following issue:

ERROR: Your kernel version indicates a revision number
of 255 or greater.  Glibc has a number of built in
assumptions that this revision number is less than 255.

Ther result is that build are fialing, in our cases combinations of ubuntu and python.

Reproduce

Run a job in with ubuntu:20.04 as container and execute for example

apt-get update -y
apt-get install python3-pip -y

Result failing build with error above.

Solution

Investigation learned that the issue is related to the amazon linux 2 base AMI, what exact is triggering the failures is not cleear to us. Upgrade to a amazon linux 2 kernel 5x base AMI solve the issue. Other options are running on ubuntu for example:

In case you have the issue, quickest solution is setting the AMI filter for the trunner

  ami_filter     = { name = ["amzn2-ami-kernel-5.*-hvm-*-x86_64-gp2"] } 
  ami_owners = ["137112412989"] 
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