@@ -836,6 +836,26 @@ jobs:
836836 echo "=== Launcher test passed: pods created and launcher bound to requester ==="
837837 kubectl get pods -n "$FMA_NAMESPACE" -o wide --show-labels
838838
839+ - name : List objects of category all
840+ if : always()
841+ run : kubectl get all -n "$FMA_NAMESPACE"
842+
843+ - name : List event objects
844+ if : always()
845+ run : kubectl get events -n "$FMA_NAMESPACE" --sort-by='.lastTimestamp'
846+
847+ - name : Dump Pod logs
848+ if : always()
849+ run : |
850+ for pod in $(kubectl get pods -n "$FMA_NAMESPACE" -o 'jsonpath={.items[*].metadata.name} ') ; do
851+ echo ""
852+ echo "=== Previous log of $pod ==="
853+ kubectl logs -n "$FMA_NAMESPACE" $pod --previous || true
854+ echo ""
855+ echo "=== Log of $pod ==="
856+ kubectl logs -n "$FMA_NAMESPACE" $pod || true
857+ done
858+
839859 - name : Clean up test objects
840860 if : always()
841861 env :
@@ -907,21 +927,6 @@ jobs:
907927 echo "Test failed - scaling down controller to free resources while preserving for debugging..."
908928 kubectl scale deployment "$FMA_RELEASE_NAME-dual-pods-controller" -n "$FMA_NAMESPACE" --replicas=0 || true
909929
910- echo ""
911- echo "=== Remaining resources for debugging ==="
912- echo "Namespace: $FMA_NAMESPACE"
913- kubectl get all -n "$FMA_NAMESPACE" || true
914- echo ""
915- echo "=== Pod details ==="
916- kubectl describe pods -n "$FMA_NAMESPACE" 2>/dev/null || true
917- echo ""
918- echo "=== Events ==="
919- kubectl get events -n "$FMA_NAMESPACE" --sort-by='.lastTimestamp' 2>/dev/null | tail -30 || true
920- echo ""
921- echo "=== Dual Pods controller logs ==="
922- kubectl logs deployment/"$FMA_RELEASE_NAME-dual-pods-controller" -n "$FMA_NAMESPACE" --previous 2>/dev/null || true
923- kubectl logs deployment/"$FMA_RELEASE_NAME-dual-pods-controller" -n "$FMA_NAMESPACE" 2>/dev/null || true
924-
925930 # Report status back to PR for issue_comment triggered runs
926931 # This ensures fork PRs show the correct status after /ok-to-test runs complete
927932 report-status :
0 commit comments