diff --git a/.github/workflows/e2e-compose.yaml b/.github/workflows/e2e-compose.yaml index 95ea09a..a12e705 100644 --- a/.github/workflows/e2e-compose.yaml +++ b/.github/workflows/e2e-compose.yaml @@ -21,6 +21,16 @@ jobs: - name: Print run attempt run: echo "run attempt is ${{ github.run_attempt }}" + + - name: Print Disk Usage Before Container Start + if: ${{ always() }} + run: | + set +e; + sudo df -h /*; + echo "==========================================="; + sudo du -hs /var/lib/docker; + echo "==========================================="; + sudo docker system df -v; - name: docker compose launch-multi-cn timeout-minutes: 10 @@ -55,6 +65,16 @@ jobs: done docker ps + - name: Print Disk Usage After Container Start + if: ${{ always() }} + run: | + set +e; + sudo df -h /*; + echo "==========================================="; + sudo du -hs /var/lib/docker; + echo "==========================================="; + sudo docker system df -v; + - name: Clone test-tool repository # Node.js 12 actions are deprecated. # For more information see: @@ -85,6 +105,16 @@ jobs: ./run.sh -n -g -o -p $GITHUB_WORKSPACE/test/distributed/cases -s /test/distributed/resources -e pessimistic_transaction 2>&1 + - name: Print Disk Usage Before Container Shutdown + if: ${{ always() }} + run: | + set +e; + sudo df -h /*; + echo "==========================================="; + sudo du -hs /var/lib/docker; + echo "==========================================="; + sudo docker system df -v; + - name: export log if: ${{ failure() || cancelled()}} run: | @@ -131,6 +161,16 @@ jobs: - name: Print run attempt run: echo "run attempt is ${{ github.run_attempt }}" + - name: Print Disk Usage Before Container Start + if: ${{ always() }} + run: | + set +e; + sudo df -h /*; + echo "==========================================="; + sudo du -hs /var/lib/docker; + echo "==========================================="; + sudo docker system df -v; + - name: docker compose launch-multi-cn timeout-minutes: 10 run: | @@ -153,6 +193,17 @@ jobs: sleep 1 done docker ps + + - name: Print Disk Usage After Container Start + if: ${{ always() }} + run: | + set +e; + sudo df -h /*; + echo "==========================================="; + sudo du -hs /var/lib/docker; + echo "==========================================="; + sudo docker system df -v; + - name: Clone test-tool repository uses: actions/checkout@v4 with: @@ -179,6 +230,17 @@ jobs: echo "=============================" ./run.sh -n -g -o -p $GITHUB_WORKSPACE/test/distributed/cases -s /test/distributed/resources -e optimistic 2>&1 + + - name: Print Disk Usage Before Container Shutdown + if: ${{ always() }} + run: | + set +e; + sudo df -h /*; + echo "==========================================="; + sudo du -hs /var/lib/docker; + echo "==========================================="; + sudo docker system df -v; + - name: export log if: ${{ failure() || cancelled()}} run: |