che icon indicating copy to clipboard operation
che copied to clipboard

No space left on device when build che-code image

Open RomanNikitenko opened this issue 1 year ago • 1 comments

Describe the bug

I get No space left on device error when build che-code image using che-in-che development

Che version

7.92@latest

Steps to reproduce

  1. Start a workspace for https://github.com/che-incubator/che-code on the dogfooding instance
  2. Terminal => Run Task => devfile => Compile che-code in a ubi8-based container using Podman
  3. Wait for a result of the command execution

Expected behavior

The command should build linux-libc-ubi8-amd64 image

Environment

I faced the problem on the dogfooding instance

Eclipse Che Logs

Error: committing container for step {Env:[GITHUB_TOKEN= container=oci STI_SCRIPTS_URL=image:///usr/libexec/s2i STI_SCRIPTS_PATH=/usr/libexec/s2i APP_ROOT=/opt/app-root HOME=/opt/app-root/src PLATFORM=el8 NODEJS_VERSION=20 NPM_RUN=start NAME=nodejs NPM_CONFIG_PREFIX=/opt/app-root/src/.npm-global PATH=/opt/app-root/src/node_modules/.bin/:/opt/app-root/src/.npm-global/bin/:/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CNB_STACK_ID=com.redhat.stacks.ubi8-nodejs-20 CNB_USER_ID=1001 CNB_GROUP_ID=0 SUMMARY=Platform for building and running Node.js 20 applications DESCRIPTION=Node.js 20 available as container is a base platform for building and running various Node.js 20 applications and frameworks. Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. DISABLE_V8_COMPILE_CACHE=1 ELECTRON_SKIP_BINARY_DOWNLOAD=1 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1] Command:run Args:[yarn install --force] Flags:[] Attrs:map[] Message:RUN yarn install --force Heredocs:[] Original:RUN yarn install --force}: copying layers and metadata for container "a994ff72494e279f1a7546e38b052e5a6bed699b2efa9d46ff0c204f6e93c9cf": writing blob: adding layer with blob "sha256:0e870dd8fa1eabf8e7ede133a4d1927babf9a713c617a54f999827d00215a9a0": processing tar file(write /checode-compilation/extensions/typescript-language-features/node_modules/@microsoft/applicationinsights-web-basic/browser/es5/aib.3.cjs.js.map: no space left on device): exit status 1

Additional context

No response

RomanNikitenko avatar Sep 27 '24 11:09 RomanNikitenko

Tested 15 GiB Build failed as well...

image

RomanNikitenko avatar Sep 27 '24 12:09 RomanNikitenko

@RomanNikitenko @vitaliy-guliy I tried on Developer Sandbox, and it seems to be working just fine:

Image Image

ibuziuk avatar Mar 06 '25 15:03 ibuziuk

I wanted to check the full development cycle for the che-code on Developer Sandbox but I faced a problem on the npm install step:

Image

I created an issue for that problem https://github.com/eclipse-che/che/issues/23379

Will provide an update when solve that problem and check full development cycle

RomanNikitenko avatar Mar 06 '25 17:03 RomanNikitenko

@RomanNikitenko since we have a separate issue for npm install, can we close this one? as far as I can tell Compile che-code in a ubi8-based container using Podman works just fine on Developer Sandbox

ibuziuk avatar Mar 21 '25 11:03 ibuziuk