Skip to content

Commit

Permalink
tests/e2e: Add kbs logs
Browse files Browse the repository at this point in the history
Get the logs of kbs on failure for debugging

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
  • Loading branch information
stevenhorsman committed Jan 17, 2025
1 parent 94f0921 commit 884ff6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/e2e_libvirt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ jobs:
kubectl logs -l app=cloud-api-adaptor -n confidential-containers-system
echo "::endgroup::"
echo "::group::kbs logs"
kubectl logs deployment/kbs -n coco-tenant
echo "::endgroup::"
for ns in $(kubectl get ns -o name 2>/dev/null | sed 's#namespace/##' | grep "^coco-pp-"); do
for pod in $(kubectl get pods -o name -n "$ns" 2>/dev/null); do
echo "::group::Describe $pod (namespace/$ns)"
Expand Down

0 comments on commit 884ff6b

Please sign in to comment.