Debug PVC: check mounts and dir contents

This commit is contained in:
2026-03-27 10:15:13 +01:00
parent 83a79287b2
commit 9c26a6e49c

View File

@@ -3,20 +3,18 @@ process DEBUG {
container 'harbor.cluster.omic.ai/omic/digital-patients/synthea:cudf'
script:
"""
echo "PWD: \$(pwd)"
echo "=== /omic/eureka/ ==="
echo "MOUNT_CHECK"
mount | grep omic || echo "no omic mounts"
echo "---"
ls /omic/ 2>&1
echo "---"
ls /omic/eureka/ 2>&1 | head -20
echo "=== /omic/eureka/digital-patients/ ==="
ls -la /omic/eureka/digital-patients/ 2>&1 | head -30
echo "=== /omic/eureka/digital-patients/imputed/ ==="
ls -la /omic/eureka/digital-patients/imputed/ 2>&1 | head -20
echo "=== /omic/eureka/digital-patients/healthy/ ==="
ls -la /omic/eureka/digital-patients/healthy/ 2>&1 | head -20
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"
echo "---"
ls /omic/eureka/digital-patients/ 2>&1 | head -20
echo "---"
echo "WRITE_TEST"
mkdir -p /omic/eureka/digital-patients/test_dir 2>&1 && echo "MKDIR_OK" || echo "MKDIR_FAIL"
echo "END"
"""
}
workflow { DEBUG() }