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

unable to build: NCR260VT300WPP: too many levels of symbolic links #50

Closed
mosoriob opened this issue Apr 29, 2020 · 3 comments
Closed
Labels

Comments

@mosoriob
Copy link
Collaborator

Describe the bug

~/.mint ❯ dame run hand_v2_raster
Information about the model configuration
Inputs
- input-dem: No information
Parameters
- threshold: 500
Docker Image
- Name: mintproject/hand:v2.1.0 - https://hub.docker.com/r/mintproject/hand
Component Location
- Link: https://github.com/mintproject/HAND-TauDEM/raw/v2.1.4/hand_v2_mint_component.zip
To run this model configuration, a input-dem file (.tif file) is required.
Please enter a url for it: https://github.com/dhardestylewis/HAND-TauDEM/raw/master/regions/Texas/Travis-10m/Travis-DEM-10m-HUC120902050408buf.tif
The information needed to run the model is complete, and I can execute the model as follows:
Invocation command
cd executions/hand_v2_raster_643e8902-8a33-11ea-b216-faffc21691f4/hand_v2_mint_component/src
/usr/local/bin/singularity exec docker://mintproject/hand:v2.1.0 ./run  -i1 Travis-DEM-10m-HUC120902050408buf.tif  -o1 distance-down.tif -o3 shape.shp -o4 geojson.json -o2 distance-down-raster.tif  -p1 500
Do you want to proceed and submit it for execution? [Y/n]:
2020-04-29 09:06:41,245 root         INFO     Execution hand_v2_raster running,  check the logs on executions/hand_v2_raster_643e8902-8a33-11ea-b216-faffc21691f4/output.log
[hand_v2_raster] The execution has failed
~/.mint ❯ cat executions/hand_v2_raster_643e8902-8a33-11ea-b216-faffc21691f4/output.log                                                                    took 7m 45s
INFO:    Converting OCI blobs to SIF format
INFO:    Starting build...
Getting image source signatures
Copying blob sha256:b8f262c62ec67f02536f49654de586c022043652bbb6bbf76a8dab1542627a8d
 25.84 MiB / 25.84 MiB [====================================================] 1s
Copying blob sha256:0a43c0154f168ca6fe36f31e366dc85ba2f95da95a9bf69399d927d513d501f9
 76.37 MiB / 76.37 MiB [====================================================] 3s
Copying blob sha256:906d7b5da8fb08f9d6c98d3e7df1d621d03d249c26524b64b09641b1f70fc27e
 48.80 MiB / 48.80 MiB [====================================================] 1s
Copying blob sha256:44d594344f814f6d0c9a4b3e29401d95e69e922cb82d64243c6903e7fbf29ef8
 358.43 MiB / 358.43 MiB [=================================================] 14s
Copying blob sha256:4f3be302f998049e0b99b2c35ad2f1a83b5a7cdab312eedfe45756e7a5cc0ee3
 2.47 MiB / 2.47 MiB [======================================================] 0s
Copying blob sha256:a94fae2a8e469d623e81b3411bf49ddc10a44b6bf7ca9365765c776aeaeb310b
 251 B / 251 B [============================================================] 0s
Copying blob sha256:317585371b91274d79682e1376b49f762cefc80b30dd5a03d0ca7e58f9841799
 1.10 GiB / 1.10 GiB [===================================================] 2m25s
Copying blob sha256:4614779006c97a96c0eb2060de91010107721db2d1fad2d7e0e4fb79d095f5a8
 2.47 MiB / 2.47 MiB [======================================================] 0s
Copying config sha256:a30ab4e97d6e18f11eedb37f95f23fbfe1a9c4be5df0f635544307492f5ed92e
 3.77 KiB / 3.77 KiB [======================================================] 0s
Writing manifest to image destination
Storing signatures
FATAL:   Unable to handle docker://mintproject/hand:v2.1.0 uri: unable to build: packer failed to pack: while unpacking tmpfs: unpack: error extracting layer: link /var/folders/pf/4j2w8m9x5_19r08n39_t9nc40000gn/T/sbuild-180433821/fs/opt/conda/pkgs/ncurses-6.1-hf484d3e_1002/share/terminfo/N/NCR260VT300WPP /var/folders/pf/4j2w8m9x5_19r08n39_t9nc40000gn/T/sbuild-180433821/fs/opt/conda/share/terminfo/N/NCR260VT300WPP: too many levels of symbolic links

To Reproduce
Run:

$ dame run hand_v2_raster

Additional context

In Linux, we don't have problem.

(.venv)  node1 ~ dame run hand_v2_raster
Information about the model configuration
Inputs
- input-dem: No information
Parameters
- threshold: 500
Docker Image
- Name: mintproject/hand:v2.1.0 - https://hub.docker.com/r/mintproject/hand
Component Location
- Link: https://github.com/mintproject/HAND-TauDEM/raw/v2.1.4/hand_v2_mint_component.zip
To run this model configuration, a input-dem file (.tif file) is required.
Please enter a url for it: https://github.com/dhardestylewis/HAND-TauDEM/raw/master/regions/Texas/Travis-10m/Travis-DEM-10m-HUC120902050408buf.tif
The information needed to run the model is complete, and I can execute the model as follows:
Invocation command
cd executions/hand_v2_raster_7f784c30-8a33-11ea-b3df-f8f21e3c1558/hand_v2_mint_component/src
/usr/bin/singularity exec docker://mintproject/hand:v2.1.0 ./run  -i1 Travis-DEM-10m-HUC120902050408buf.tif  -o1 distance-down.tif -o3 shape.shp -o4 geojson.json -o2 distance-down-raster.tif  -p1 500
Do you want to proceed and submit it for execution? [Y/n]:
2020-04-29 09:07:21,875 root         INFO     Execution hand_v2_raster running,  check the logs on executions/hand_v2_raster_7f784c30-8a33-11ea-b3df-f8f21e3c1558/output.log
[hand_v2_raster] The execution has been successful
[hand_v2_raster] Results available at: executions/hand_v2_raster_7f784c30-8a33-11ea-b3df-f8f21e3c1558/hand_v2_mint_component/src
@mosoriob
Copy link
Collaborator Author

This is a issue of Singularity + conda.
https://github.com/sylabs/singularity/issues/4301

@dgarijo
Copy link
Contributor

dgarijo commented Apr 29, 2020

They have closed the issue, not sure if they will work on it. Not sure if we should a) reopen so it tracks attention; b) try extracting conda from the image.

@mosoriob
Copy link
Collaborator Author

We cannot trust in the singularity running on macOS. Let's drop the feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants