Skip to content

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

Closed

Description

@npalm

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"] 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions