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

👷 Test Apptainer / Singularity images in CI #1954

Open
1 task
shnizzedy opened this issue Jun 16, 2023 · 1 comment
Open
1 task

👷 Test Apptainer / Singularity images in CI #1954

shnizzedy opened this issue Jun 16, 2023 · 1 comment

Comments

@shnizzedy
Copy link
Member

Related problem

Sometime around May, Singularity stopped working on CircleCI:

For reference singularity fails on CircleCI with

SINGULARITYENV_COVERAGE_FILE=.coverage.singularity${VARIANT} singularity exec -B $PWD:/code cpac-singularity-image${VARIANT}.sif /code/dev/circleci_data/test_in_image.sh

FATAL:   container creation failed: mount /proc/self/fd/3->/usr/local/var/singularity/mnt/session/rootfs error: while mounting image /proc/self/fd/3: failed to find loop device: could not attach image file to loop device: no loop devices available

Exited with code exit status 255

I tried different versions of singularity but can not get this to go away.
The images are confirmed working locally/manually so this might be a CircleCI issue.

Originally posted by @nx10 in #1916 (comment)

so we disabled those tests

Proposed feature

Either find a way to run Apptainer or Singularity on CircleCI or migrate those tests to GH Actions (if we can run Apptainer or Singularity in :octocat: Actions)

Acceptance criteria

  • Apptainer / Singularity images are tested in the CI
@nx10
Copy link
Contributor

nx10 commented Jun 16, 2023

I tried the newest Apptainer version on CircleCI - also does not work.

+1 for migrating (if possible) to GH actions. (Unified CI, less maintenance)

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

2 participants