Files
foxhunt/scripts/entrypoint-debug.sh
jgrusewski 8d89fe80ff chore: Second cleanup wave - organize root directory
- Archive: 85 agent .txt files → docs/archive/agents/legacy_txt/
- Scripts: Move 110 shell scripts → scripts/ (keep deploy.sh in root)
- Models: Move 18 .safetensors → ml/models/checkpoints/training_artifacts/
- Delete: 34 directories (~33GB freed) - target/, coverage_*, test artifacts
- Build: Clean 14 build artifacts (.rlib, .o, .pid, binaries)
- Tests: Move 14 .rs files → tests/standalone/
- SQL: Move 5 files → sql/ (keep init-db*.sql for Docker)
- Wave 153: Archive to docs/archive/historical/wave153/
- Docs: Archive 9 markdown files to wave_d/reports/ and historical/

Total impact: ~34GB freed (both waves), root directory cleaned from 583 to ~40 essential files
Directory count reduced from 65 to 31 (52% reduction)
All historical data preserved in organized archive structure
2025-10-30 01:26:02 +01:00

81 lines
2.2 KiB
Bash
Executable File

#!/bin/bash
# DEBUG VERSION - Does NOT exit on error, prints everything
echo "=========================================="
echo "Foxhunt HFT - DEBUGGING VERSION"
echo "=========================================="
echo "Date: $(date)"
echo "Hostname: $(hostname)"
echo "User: $(whoami)"
echo "PWD: $(pwd)"
echo ""
# Show environment variables
echo "=========================================="
echo "ENVIRONMENT VARIABLES"
echo "=========================================="
env | sort
echo ""
# Show filesystem root
echo "=========================================="
echo "FILESYSTEM ROOT"
echo "=========================================="
ls -la / | head -30
echo ""
# Check if /runpod-volume exists
echo "=========================================="
echo "CHECKING /runpod-volume"
echo "=========================================="
if [ -d "/runpod-volume" ]; then
echo "✓ /runpod-volume directory EXISTS"
echo ""
echo "Directory contents:"
ls -laR /runpod-volume 2>&1 | head -50
else
echo "✗ /runpod-volume directory DOES NOT EXIST"
echo ""
echo "Mount points:"
mount | grep runpod || echo " (no runpod mounts found)"
fi
echo ""
# Check GPU
echo "=========================================="
echo "GPU STATUS"
echo "=========================================="
if command -v nvidia-smi &> /dev/null; then
nvidia-smi
else
echo "nvidia-smi not found"
fi
echo ""
# Check CUDA libraries
echo "=========================================="
echo "CUDA LIBRARIES"
echo "=========================================="
echo "LD_LIBRARY_PATH: $LD_LIBRARY_PATH"
echo ""
echo "libcudnn search:"
ldconfig -p | grep cudnn || echo " (no cudnn found)"
echo ""
echo "libcuda search:"
ldconfig -p | grep libcuda || echo " (no libcuda found)"
echo ""
echo "libcublas search:"
ldconfig -p | grep libcublas || echo " (no libcublas found)"
echo ""
# Keep container alive for inspection
echo "=========================================="
echo "CONTAINER READY FOR INSPECTION"
echo "=========================================="
echo "Container will stay alive for 1 hour for debugging"
echo "SSH into pod and run: docker ps, docker logs <container_id>"
echo ""
# Sleep for 1 hour to allow inspection
sleep 3600