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

conda constructor never exits when "No space left on device" #759

Open
2 tasks done
njzjz opened this issue Mar 4, 2024 · 0 comments
Open
2 tasks done

conda constructor never exits when "No space left on device" #759

njzjz opened this issue Mar 4, 2024 · 0 comments
Labels
type::bug describes erroneous operation, use severity::* to classify the type

Comments

@njzjz
Copy link

njzjz commented Mar 4, 2024

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

I am using conda constructor with the GitHub Actions. It threw "No space left on device" error, but the GitHub Actions never stopped.

Traceback (most recent call last):
  File "/usr/share/miniconda/envs/__setup_conda/bin/constructor", line 11, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/share/miniconda/envs/__setup_conda/lib/python3.11/site-packages/constructor/main.py", line 405, in main
    main_build(dir_path, output_dir=out_dir, platform=args.platform,
  File "/usr/share/miniconda/envs/__setup_conda/lib/python3.11/site-packages/constructor/main.py", line 229, in main_build
    create(info, verbose=verbose)
  File "/usr/share/miniconda/envs/__setup_conda/lib/python3.11/site-packages/constructor/shar.py", line 191, in create
    fo.write(chunk)
OSError: [Errno 28] No space left on device

image

In another build, it didn't give such an error message but just hanged.

image

I tried to run rm -rf /opt/hostedtoolcache in the beginning to clean the space, per https://github.com/orgs/community/discussions/25678#discussioncomment-5242449. It works.

image

So, I think the problem is that conda-constructor cannot properly exit when the "no space left on device" error happens.

Conda Info

No response

Conda Config

No response

Conda list

No response

Additional Context

I don't know how to run conda info with the GitHub Actions, but I think the link to the GitHub Actions will help: https://github.com/deepmd-kit-recipes/installer/actions/runs/8133687249/job/22225572458

@njzjz njzjz added the type::bug describes erroneous operation, use severity::* to classify the type label Mar 4, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in 🧭 Planning Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::bug describes erroneous operation, use severity::* to classify the type
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant