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

[BUG] Error: buildah exited with code 232 #145

Open
gchicoye opened this issue Jan 9, 2025 · 0 comments
Open

[BUG] Error: buildah exited with code 232 #145

gchicoye opened this issue Jan 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@gchicoye
Copy link

gchicoye commented Jan 9, 2025

Version

Version:         1.33.7
Go Version:      go1.22.2
Image Spec:      1.1.0-rc.5
Runtime Spec:    1.1.0
CNI Spec:        1.0.0
libcni Version:  
image Version:   5.29.2
OS/Arch:         linux/amd64
BuildPlatform:   linux/amd64

Describe the bug

Running on Github Actions the following action (we've added --ulimit on purpose after looking at documentation)

    - name: Build Image
      id: build-image
      uses: redhat-actions/buildah-build@v2
      with:
        image: gchicoye/n360-exchange-ts
        tags: latest ${{ env.TAG }}
        # tags: ${{ env.TAG }}
        dockerfiles: |
          ./Dockerfile
        build-args: |
          --ulimit nofile=65535:65535

We get the following error on RUN npm install step

npm notice 
npm ERR! code EMFILE
npm ERR! syscall open
npm ERR! path /root/.npm/_cacache/index-v5/6c/6f/8e7e8934679b7b49b8240b1f2dcb66c25a5bd17f9629f8fe0ea634cab93c
npm ERR! errno -24
npm ERR! EMFILE: too many open files, open '/root/.npm/_cacache/index-v5/6c/6f/8e7e8934679b7b49b8240b1f2dcb66c25a5bd17f9629f8fe0ea634cab93c'
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2025-01-09T12_04_44_685Z-debug-0.log
Error: building at STEP "RUN npm install": while running runtime: exit status 232
Error: Error: buildah exited with code 232

Steps to reproduce, workflow links, screenshots

A lot of files are opened by NPM install...

Thanks!

@gchicoye gchicoye added the bug Something isn't working label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant