Merge pull request #108417 from dims/log-where-we-pull-images-from

Log where we pull images from in an e2e test
This commit is contained in:
Kubernetes Prow Robot 2022-03-01 10:16:07 -08:00 committed by GitHub
commit 8ab0a59394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -213,6 +213,10 @@ function save-logs() {
done
fi
# log where we pull the images from
log-dump-ssh "${node_name}" "sudo ctr -n k8s.io images ls" > "${dir}/images-containerd.log" || true
log-dump-ssh "${node_name}" "sudo docker images --all" > "${dir}/images-docker.log" || true
# Try dumping coverage profiles, if it looks like coverage is enabled in the first place.
if log-dump-ssh "${node_name}" "stat /var/log/kubelet.cov" &> /dev/null; then
if log-dump-ssh "${node_name}" "command -v docker" &> /dev/null; then