Debug PVC: check mounts and dir contents
This commit is contained in:
24
debug_pvc.nf
24
debug_pvc.nf
@@ -3,20 +3,18 @@ process DEBUG {
|
|||||||
container 'harbor.cluster.omic.ai/omic/digital-patients/synthea:cudf'
|
container 'harbor.cluster.omic.ai/omic/digital-patients/synthea:cudf'
|
||||||
script:
|
script:
|
||||||
"""
|
"""
|
||||||
echo "PWD: \$(pwd)"
|
echo "MOUNT_CHECK"
|
||||||
echo "=== /omic/eureka/ ==="
|
mount | grep omic || echo "no omic mounts"
|
||||||
|
echo "---"
|
||||||
|
ls /omic/ 2>&1
|
||||||
|
echo "---"
|
||||||
ls /omic/eureka/ 2>&1 | head -20
|
ls /omic/eureka/ 2>&1 | head -20
|
||||||
echo "=== /omic/eureka/digital-patients/ ==="
|
echo "---"
|
||||||
ls -la /omic/eureka/digital-patients/ 2>&1 | head -30
|
ls /omic/eureka/digital-patients/ 2>&1 | head -20
|
||||||
echo "=== /omic/eureka/digital-patients/imputed/ ==="
|
echo "---"
|
||||||
ls -la /omic/eureka/digital-patients/imputed/ 2>&1 | head -20
|
echo "WRITE_TEST"
|
||||||
echo "=== /omic/eureka/digital-patients/healthy/ ==="
|
mkdir -p /omic/eureka/digital-patients/test_dir 2>&1 && echo "MKDIR_OK" || echo "MKDIR_FAIL"
|
||||||
ls -la /omic/eureka/digital-patients/healthy/ 2>&1 | head -20
|
echo "END"
|
||||||
echo "=== /omic/eureka/digital-patients/supporting-data/ ==="
|
|
||||||
ls -laR /omic/eureka/digital-patients/supporting-data/ 2>&1 | head -30
|
|
||||||
echo "=== Test write ==="
|
|
||||||
echo "test" > /omic/eureka/digital-patients/write_test.txt && echo "WRITE OK" || echo "WRITE FAILED"
|
|
||||||
echo "DONE"
|
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
workflow { DEBUG() }
|
workflow { DEBUG() }
|
||||||
|
|||||||
Reference in New Issue
Block a user