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

[QUESTION] failing with buildah 1.20.0 (ubuntu-latest) #45

Closed
jpopelka opened this issue Apr 1, 2021 · 9 comments · Fixed by #51
Closed

[QUESTION] failing with buildah 1.20.0 (ubuntu-latest) #45

jpopelka opened this issue Apr 1, 2021 · 9 comments · Fixed by #51
Labels
question Further information is requested

Comments

@jpopelka
Copy link

jpopelka commented Apr 1, 2021

Question

Hello, thank you for this action, it's marvelous.
Today our builds started to fail and I'm wondering what's changed and where can be the cause.

Writing manifest to image destination
Storing signatures
level=error msg="error unmounting /home/runner/.local/share/containers/storage/overlay/0781b6291aebaf9c44638d47503ccc8967e46e541203bd35d79bef4a0566b5ac/merged: invalid argument"
error mounting new container: error mounting build container "b11e0c122471549c9c260843257e96e91b92ed343041b40f9f119667b6979a0f": error creating overlay mount to /home/runner/.local/share/containers/storage/overlay/0781b6291aebaf9c44638d47503ccc8967e46e541203bd35d79bef4a0566b5ac/merged, mount_data=",lowerdir=/home/runner/.local/share/containers/storage/overlay/l/JVFKZCGLHI42F7Y324TMXFQZ4P:/home/runner/.local/share/containers/storage/overlay/l/3PUMEEVI6PIVBZDO2HZF7SXLWO,upperdir=/home/runner/.local/share/containers/storage/overlay/0781b6291aebaf9c44638d47503ccc8967e46e541203bd35d79bef4a0566b5ac/diff,workdir=/home/runner/.local/share/containers/storage/overlay/0781b6291aebaf9c44638d47503ccc8967e46e541203bd35d79bef4a0566b5ac/work,userxattr": invalid argument
level=error msg="exit status 125"

The only difference between the failing one and 20hours old passing previous one I see in logs is the buildah version
1.19.8 (previous, OK) vs. 1.20.0 (failed).

I know it's most likely not your fault, that's why I'm creating a question in case someone else also hits this.

@jpopelka jpopelka added the question Further information is requested label Apr 1, 2021
@jpopelka
Copy link
Author

jpopelka commented Apr 1, 2021

Hmm, this still says that ubuntu-latest contains "Buildah 1.19.8".

@divyansh42
Copy link
Member

divyansh42 commented Apr 1, 2021

Yeah, they should update that.

@jpopelka jpopelka changed the title [QUESTION] failing with buildah 1.20.0 [QUESTION] failing with buildah 1.20.0 (ubuntu-latest) Apr 1, 2021
@tetchel
Copy link
Contributor

tetchel commented Apr 1, 2021

same thing here? #47

Good thing we have the version output

@divyansh42
Copy link
Member

same thing here? #47

Good thing we have the version output

Yes

@divyansh42
Copy link
Member

FYI: containers/buildah#3120

@divyansh42
Copy link
Member

divyansh42 commented Apr 1, 2021

Possible workaround as per buildah troubleshooting that we have did to solve this problem temporarily.

- run: |
    sudo apt-get install fuse-overlayfs
    mkdir -vp ~/.config/containers
    printf "[storage.options]\nmount_program=\"/usr/bin/fuse-overlayfs\"" > ~/.config/containers/storage.conf

@tetchel
Copy link
Contributor

tetchel commented Apr 2, 2021

For anyone else coming into this issue, you can also work around this by using runs-on: ubuntu-18.04 for the job that runs buildah. So you'll get an older, working version of buildah while we look for a permanent solution.

Or you can use the workaround above

edit: does not sound like GitHub will fix this on their end, either. actions/runner-images#3080

edit2: fixed in buildah-build@v2

galexrt added a commit to galexrt/k8s-minecraft that referenced this issue Apr 2, 2021
This fixes buildah build issues see redhat-actions/buildah-build#45

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
anthr76 added a commit to anthr76/boombox that referenced this issue Apr 4, 2021
redhat-actions/buildah-build#45

Signed-off-by: anthr76 <hello@anthonyrabbito.com>
JAORMX added a commit to JAORMX/security-profiles-operator that referenced this issue Apr 6, 2021
This fixes our builds.

Related-to: redhat-actions/buildah-build#45

Signed-off-by: Juan Antonio Osorio Robles <jaosorior@redhat.com>
k8s-ci-robot pushed a commit to kubernetes-sigs/security-profiles-operator that referenced this issue Apr 6, 2021
This fixes our builds.

Related-to: redhat-actions/buildah-build#45

Signed-off-by: Juan Antonio Osorio Robles <jaosorior@redhat.com>
mbargull added a commit to mbargull/bioconda-containers that referenced this issue Apr 7, 2021
mbargull added a commit to bioconda/bioconda-containers that referenced this issue Apr 9, 2021
tetchel pushed a commit that referenced this issue Apr 9, 2021
Work around #45

Signed-off-by: divyansh42 <diagrawa@redhat.com>
@tetchel
Copy link
Contributor

tetchel commented Apr 9, 2021

this is fixed in v2 / v2.4 now.

JAORMX added a commit to JAORMX/selinuxd that referenced this issue Apr 22, 2021
This fixes our builds.

Related-to: redhat-actions/buildah-build#45

Signed-off-by: Juan Antonio Osorio Robles <jaosorior@redhat.com>
JAORMX added a commit to JAORMX/selinuxd that referenced this issue Apr 22, 2021
This fixes our builds.

Related-to: redhat-actions/buildah-build#45

Signed-off-by: Juan Antonio Osorio Robles <jaosorior@redhat.com>
JAORMX added a commit to JAORMX/selinuxd that referenced this issue Apr 22, 2021
This fixes our builds.

Related-to: redhat-actions/buildah-build#45

Signed-off-by: Juan Antonio Osorio Robles <jaosorior@redhat.com>
@tetchel
Copy link
Contributor

tetchel commented Apr 23, 2021

if anyone is coming here because they see the warning printed on an ubuntu-18.04 system, don't worry, the action will still work.

however it is recommended to install fuse-overlayfs for better fs performance. upgrading to 20.04 will also remove the warning

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

Successfully merging a pull request may close this issue.

3 participants