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

Temporary file created in user home is not deleted after copy #2

Open
davidferlay opened this issue Mar 8, 2024 · 0 comments
Open

Comments

@davidferlay
Copy link
Contributor

Observed

  • During package command we are creating archive file in user home before copying it to .compose/artifacts/
  • However it seems like file in user home is not deleted
$ plasmactl package -vvv
INFO: REPO_NAME=lem-platform
INFO: LAST_COMMIT_MESSAGE=versions bump
INFO: LAST_COMMIT_SHORT_SHA=d3d01f9
INFO: ARCHIVE_FILE=lem-platform-d3d01f9-plasma-src.tar.gz
INFO: HOME=/home/skilld
Creating artifact .compose/artifacts/lem-platform-d3d01f9-plasma-src.tar.gz...
DEBUG: error walking directory: write /home/skilld/artifact/lem-platform-d3d01f9-plasma-src.tar.gz: no space left on device
Error: error creating archive

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             16G     0   16G   0% /dev
tmpfs           3.2G  1.5M  3.2G   1% /run
/dev/md1         40G   37G  387M  99% /
tmpfs            16G  989M   15G   7% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            16G     0   16G   0% /sys/fs/cgroup
/dev/md0        279M  239M   22M  92% /boot
/dev/md2        417G   63G  333G  16% /data
tmpfs           3.2G     0  3.2G   0% /run/user/1000

$ ag -g plasma-src.tar.gz /home/skilld/artifact/ | wc -l
123

Expected

  • File created in user home should be deleted after successful copy to .compose/artifacts/
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