mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
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:
commit
8ab0a59394
@ -213,6 +213,10 @@ function save-logs() {
|
|||||||
done
|
done
|
||||||
fi
|
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.
|
# 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}" "stat /var/log/kubelet.cov" &> /dev/null; then
|
||||||
if log-dump-ssh "${node_name}" "command -v docker" &> /dev/null; then
|
if log-dump-ssh "${node_name}" "command -v docker" &> /dev/null; then
|
||||||
|
Loading…
Reference in New Issue
Block a user