unpause before delete

pull/11504/head
Ilya Zuyev 2021-05-24 18:54:57 -07:00
parent 316f5ea3b2
commit 4265887fa9
4 changed files with 5165 additions and 15 deletions

View File

@ -210,25 +210,30 @@ func DeleteProfiles(profiles []*config.Profile) []error {
klog.Infof("DeleteProfiles")
var errs []error
for _, profile := range profiles {
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute)
defer cancel()
err := deleteProfile(ctx, profile)
if err != nil {
mm, loadErr := machine.LoadMachine(profile.Name)
if !profile.IsValid() || (loadErr != nil || !mm.IsValid()) {
invalidProfileDeletionErrs := deleteInvalidProfile(profile)
if len(invalidProfileDeletionErrs) > 0 {
errs = append(errs, invalidProfileDeletionErrs...)
}
} else {
errs = append(errs, err)
}
}
errs = append(errs, deleteProfileTimeout(profile)...)
}
return errs
}
func deleteProfileTimeout(profile *config.Profile) []error {
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute)
defer cancel()
if err := deleteProfile(ctx, profile); err != nil {
mm, loadErr := machine.LoadMachine(profile.Name)
if !profile.IsValid() || (loadErr != nil || !mm.IsValid()) {
invalidProfileDeletionErrs := deleteInvalidProfile(profile)
if len(invalidProfileDeletionErrs) > 0 {
return invalidProfileDeletionErrs
}
} else {
return []error{err}
}
}
return nil
}
func deleteProfile(ctx context.Context, profile *config.Profile) error {
klog.Infof("Deleting %s", profile.Name)
register.Reg.SetStep(register.Deleting)
@ -239,6 +244,9 @@ func deleteProfile(ctx context.Context, profile *config.Profile) error {
// if driver is oci driver, delete containers and volumes
if driver.IsKIC(profile.Config.Driver) {
if err := checkIfPaused(profile); err != nil {
klog.Warningf("failed to unpause %s : %v", profile.Name, err)
}
out.Step(style.DeletingHost, `Deleting "{{.profile_name}}" in {{.driver_name}} ...`, out.V{"profile_name": profile.Name, "driver_name": profile.Config.Driver})
for _, n := range profile.Config.Nodes {
machineName := config.MachineName(*profile.Config, n)
@ -295,6 +303,41 @@ func deleteProfile(ctx context.Context, profile *config.Profile) error {
return nil
}
func checkIfPaused(profile *config.Profile) error {
api, err := machine.NewAPIClient()
if err != nil {
return err
}
defer api.Close()
host, err := machine.LoadHost(api, profile.Name)
if err != nil {
return err
}
r, err := machine.CommandRunner(host)
if err != nil {
exit.Error(reason.InternalCommandRunner, "Failed to get command runner", err)
}
cr, err := cruntime.New(cruntime.Config{Type: profile.Config.KubernetesConfig.ContainerRuntime, Runner: r})
if err != nil {
exit.Error(reason.InternalNewRuntime, "Failed runtime", err)
}
paused, err := cluster.CheckIfPaused(cr, nil)
if err != nil {
return err
}
if paused {
out.Step(style.Unpause, `Unpause cluster "{{.name}}".`, out.V{"name": profile.Name})
ids, err := cluster.Unpause(cr, r, nil)
if err != nil {
return err
}
klog.Infof("Unpaused %v", ids)
}
return nil
}
func deleteHosts(api libmachine.API, cc *config.ClusterConfig) {
register.Reg.SetStep(register.Deleting)

781
ctr.start Normal file

File diff suppressed because one or more lines are too long

4159
log Normal file

File diff suppressed because one or more lines are too long

167
test-net-ctrd.log Normal file
View File

@ -0,0 +1,167 @@
go test -ldflags="-X k8s.io/minikube/pkg/version.version=v1.20.0 -X k8s.io/minikube/pkg/version.isoVersion=v1.20.0 -X k8s.io/minikube/pkg/version.gitCommitID="039b727cb9697f113503ed310d9d66764aa6a745-dirty" -X k8s.io/minikube/pkg/version.storageProvisionerVersion=v5" -v -test.timeout=90m ./test/integration --tags="integration " -test.run TestCNIFalse -minikube-start-args='--driver=docker --container-runtime=containerd -v=8 --alsologtostderr ' 2>&1 | tee "./out/testout_039b727cb.txt"
Found 12 cores, limiting parallelism with --test.parallel=6
=== RUN TestCNIFalse
net_test.go:49: (dbg) Run: out/minikube start -p no-cni-containerd-20210519120220-35950 --memory=2048 --alsologtostderr --cni=false --container-runtime=containerd --driver=docker --container-runtime=containerd -v=8 --alsologtostderr
net_test.go:49: (dbg) Non-zero exit: out/minikube start -p no-cni-containerd-20210519120220-35950 --memory=2048 --alsologtostderr --cni=false --container-runtime=containerd --driver=docker --container-runtime=containerd -v=8 --alsologtostderr : exit status 14 (1.4060175s)
-- stdout --
* [no-cni-containerd-20210519120220-35950] minikube v1.20.0 on Darwin 11.3.1
* Using the docker driver based on user configuration
-- /stdout --
** stderr **
I0519 12:02:20.413621 35951 out.go:291] Setting OutFile to fd 1 ...
I0519 12:02:20.414049 35951 out.go:343] isatty.IsTerminal(1) = false
I0519 12:02:20.414056 35951 out.go:304] Setting ErrFile to fd 2...
I0519 12:02:20.414060 35951 out.go:343] isatty.IsTerminal(2) = false
I0519 12:02:20.414390 35951 root.go:316] Updating PATH: /Users/izuyev/.minikube/bin
I0519 12:02:20.416439 35951 out.go:298] Setting JSON to false
I0519 12:02:20.474998 35951 start.go:109] hostinfo: {"hostname":"izuyev-macbookpro1.roam.corp.google.com","uptime":169005,"bootTime":1621281935,"procs":697,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"11.3.1","kernelVersion":"20.4.0","kernelArch":"x86_64","virtualizationSystem":"","virtualizationRole":"","hostId":"068f99a3-1db3-31c0-87d5-09942f122bb6"}
W0519 12:02:20.475134 35951 start.go:117] gopshost.Virtualization returned error: not implemented yet
I0519 12:02:20.502316 35951 out.go:170] * [no-cni-containerd-20210519120220-35950] minikube v1.20.0 on Darwin 11.3.1
I0519 12:02:20.504607 35951 notify.go:169] Checking for updates...
I0519 12:02:20.526261 35951 driver.go:331] Setting default libvirt URI to qemu:///system
I0519 12:02:20.772958 35951 docker.go:132] docker version: linux-20.10.6
I0519 12:02:20.774218 35951 cli_runner.go:115] Run: docker system info --format "{{json .}}"
I0519 12:02:21.517769 35951 info.go:261] docker info: {ID:23VB:PGU3:2SII:D7H5:MD7E:YM6H:NG3T:ZEIK:WK6L:JETC:C5TZ:NDZF Containers:2 ContainersRunning:1 ContainersPaused:0 ContainersStopped:1 Images:49 Driver:overlay2 DriverStatus:[[Backing Filesystem extfs] [Supports d_type true] [Native Overlay Diff true] [userxattr false]] SystemStatus:<nil> Plugins:{Volume:[local] Network:[bridge host ipvlan macvlan null overlay] Authorization:<nil> Log:[awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog]} MemoryLimit:true SwapLimit:true KernelMemory:true KernelMemoryTCP:true CPUCfsPeriod:true CPUCfsQuota:true CPUShares:true CPUSet:true PidsLimit:true IPv4Forwarding:true BridgeNfIptables:true BridgeNfIP6Tables:true Debug:true NFd:55 OomKillDisable:true NGoroutines:65 SystemTime:2021-05-19 19:02:20.957917125 +0000 UTC LoggingDriver:json-file CgroupDriver:cgroupfs NEventsListener:4 KernelVersion:5.10.25-linuxkit OperatingSystem:Docker Desktop OSType:linux Architecture:x86_64 IndexServerAddress:https://index.docker.io/v1/ RegistryConfig:{AllowNondistributableArtifactsCIDRs:[] AllowNondistributableArtifactsHostnames:[] InsecureRegistryCIDRs:[127.0.0.0/8] IndexConfigs:{DockerIo:{Name:docker.io Mirrors:[] Secure:true Official:true}} Mirrors:[]} NCPU:6 MemTotal:4127084544 GenericResources:<nil> DockerRootDir:/var/lib/docker HTTPProxy:http.docker.internal:3128 HTTPSProxy:http.docker.internal:3128 NoProxy: Name:docker-desktop Labels:[] ExperimentalBuild:true ServerVersion:20.10.6 ClusterStore: ClusterAdvertise: Runtimes:{Runc:{Path:runc}} DefaultRuntime:runc Swarm:{NodeID: NodeAddr: LocalNodeState:inactive ControlAvailable:false Error: RemoteManagers:<nil>} LiveRestoreEnabled:false Isolation: InitBinary:docker-init ContainerdCommit:{ID:05f951a3781f4f2c1911b05e61c160e9c30eaa8e Expected:05f951a3781f4f2c1911b05e61c160e9c30eaa8e} RuncCommit:{ID:12644e614e25b05da6fd08a38ffa0cfe1903fdec Expected:12644e614e25b05da6fd08a38ffa0cfe1903fdec} InitCommit:{ID:de40ad0 Expected:de40ad0} SecurityOptions:[name=seccomp,profile=default] ProductLicense: Warnings:<nil> ServerErrors:[] ClientInfo:{Debug:false Plugins:[map[Experimental:true Name:app Path:/usr/local/lib/docker/cli-plugins/docker-app SchemaVersion:0.1.0 ShortDescription:Docker App Vendor:Docker Inc. Version:v0.9.1-beta3] map[Name:buildx Path:/usr/local/lib/docker/cli-plugins/docker-buildx SchemaVersion:0.1.0 ShortDescription:Build with BuildKit Vendor:Docker Inc. Version:v0.5.1-docker] map[Name:compose Path:/usr/local/lib/docker/cli-plugins/docker-compose SchemaVersion:0.1.0 ShortDescription:Docker Compose Vendor:Docker Inc. Version:2.0.0-beta.1] map[Name:scan Path:/usr/local/lib/docker/cli-plugins/docker-scan SchemaVersion:0.1.0 ShortDescription:Docker Scan Vendor:Docker Inc. Version:v0.8.0]] Warnings:<nil>}}
I0519 12:02:21.536174 35951 out.go:170] * Using the docker driver based on user configuration
I0519 12:02:21.536204 35951 start.go:277] selected driver: docker
I0519 12:02:21.536215 35951 start.go:724] validating driver "docker" against <nil>
I0519 12:02:21.536231 35951 start.go:735] status for docker: {Installed:true Healthy:true Running:false NeedsImprovement:false Error:<nil> Reason: Fix: Doc:}
I0519 12:02:21.574845 35951 out.go:170]
W0519 12:02:21.575061 35951 out.go:235] X Exiting due to MK_USAGE: The containerd container runtime requires CNI
X Exiting due to MK_USAGE: The containerd container runtime requires CNI
I0519 12:02:21.594852 35951 out.go:170]
** /stderr **
net_test.go:49: (dbg) Run: out/minikube start -p no-cni-cri-o-20210519120221-35950 --memory=2048 --alsologtostderr --cni=false --container-runtime=cri-o --driver=docker --container-runtime=containerd -v=8 --alsologtostderr
net_test.go:49: (dbg) Non-zero exit: out/minikube start -p no-cni-cri-o-20210519120221-35950 --memory=2048 --alsologtostderr --cni=false --container-runtime=cri-o --driver=docker --container-runtime=containerd -v=8 --alsologtostderr : exit status 14 (755.300914ms)
-- stdout --
* [no-cni-cri-o-20210519120221-35950] minikube v1.20.0 on Darwin 11.3.1
* Using the docker driver based on user configuration
-- /stdout --
** stderr **
I0519 12:02:21.694893 35965 out.go:291] Setting OutFile to fd 1 ...
I0519 12:02:21.695358 35965 out.go:343] isatty.IsTerminal(1) = false
I0519 12:02:21.695385 35965 out.go:304] Setting ErrFile to fd 2...
I0519 12:02:21.695394 35965 out.go:343] isatty.IsTerminal(2) = false
I0519 12:02:21.695567 35965 root.go:316] Updating PATH: /Users/izuyev/.minikube/bin
I0519 12:02:21.696178 35965 out.go:298] Setting JSON to false
I0519 12:02:21.756332 35965 start.go:109] hostinfo: {"hostname":"izuyev-macbookpro1.roam.corp.google.com","uptime":169006,"bootTime":1621281935,"procs":697,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"11.3.1","kernelVersion":"20.4.0","kernelArch":"x86_64","virtualizationSystem":"","virtualizationRole":"","hostId":"068f99a3-1db3-31c0-87d5-09942f122bb6"}
W0519 12:02:21.756467 35965 start.go:117] gopshost.Virtualization returned error: not implemented yet
I0519 12:02:21.776785 35965 out.go:170] * [no-cni-cri-o-20210519120221-35950] minikube v1.20.0 on Darwin 11.3.1
I0519 12:02:21.777026 35965 notify.go:169] Checking for updates...
I0519 12:02:21.796702 35965 driver.go:331] Setting default libvirt URI to qemu:///system
I0519 12:02:21.967861 35965 docker.go:132] docker version: linux-20.10.6
I0519 12:02:21.968086 35965 cli_runner.go:115] Run: docker system info --format "{{json .}}"
I0519 12:02:22.274985 35965 info.go:261] docker info: {ID:23VB:PGU3:2SII:D7H5:MD7E:YM6H:NG3T:ZEIK:WK6L:JETC:C5TZ:NDZF Containers:2 ContainersRunning:1 ContainersPaused:0 ContainersStopped:1 Images:49 Driver:overlay2 DriverStatus:[[Backing Filesystem extfs] [Supports d_type true] [Native Overlay Diff true] [userxattr false]] SystemStatus:<nil> Plugins:{Volume:[local] Network:[bridge host ipvlan macvlan null overlay] Authorization:<nil> Log:[awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog]} MemoryLimit:true SwapLimit:true KernelMemory:true KernelMemoryTCP:true CPUCfsPeriod:true CPUCfsQuota:true CPUShares:true CPUSet:true PidsLimit:true IPv4Forwarding:true BridgeNfIptables:true BridgeNfIP6Tables:true Debug:true NFd:55 OomKillDisable:true NGoroutines:65 SystemTime:2021-05-19 19:02:22.144940056 +0000 UTC LoggingDriver:json-file CgroupDriver:cgroupfs NEventsListener:4 KernelVersion:5.10.25-linuxkit OperatingSystem:Docker Desktop OSType:linux Architecture:x86_64 IndexServerAddress:https://index.docker.io/v1/ RegistryConfig:{AllowNondistributableArtifactsCIDRs:[] AllowNondistributableArtifactsHostnames:[] InsecureRegistryCIDRs:[127.0.0.0/8] IndexConfigs:{DockerIo:{Name:docker.io Mirrors:[] Secure:true Official:true}} Mirrors:[]} NCPU:6 MemTotal:4127084544 GenericResources:<nil> DockerRootDir:/var/lib/docker HTTPProxy:http.docker.internal:3128 HTTPSProxy:http.docker.internal:3128 NoProxy: Name:docker-desktop Labels:[] ExperimentalBuild:true ServerVersion:20.10.6 ClusterStore: ClusterAdvertise: Runtimes:{Runc:{Path:runc}} DefaultRuntime:runc Swarm:{NodeID: NodeAddr: LocalNodeState:inactive ControlAvailable:false Error: RemoteManagers:<nil>} LiveRestoreEnabled:false Isolation: InitBinary:docker-init ContainerdCommit:{ID:05f951a3781f4f2c1911b05e61c160e9c30eaa8e Expected:05f951a3781f4f2c1911b05e61c160e9c30eaa8e} RuncCommit:{ID:12644e614e25b05da6fd08a38ffa0cfe1903fdec Expected:12644e614e25b05da6fd08a38ffa0cfe1903fdec} InitCommit:{ID:de40ad0 Expected:de40ad0} SecurityOptions:[name=seccomp,profile=default] ProductLicense: Warnings:<nil> ServerErrors:[] ClientInfo:{Debug:false Plugins:[map[Experimental:true Name:app Path:/usr/local/lib/docker/cli-plugins/docker-app SchemaVersion:0.1.0 ShortDescription:Docker App Vendor:Docker Inc. Version:v0.9.1-beta3] map[Name:buildx Path:/usr/local/lib/docker/cli-plugins/docker-buildx SchemaVersion:0.1.0 ShortDescription:Build with BuildKit Vendor:Docker Inc. Version:v0.5.1-docker] map[Name:compose Path:/usr/local/lib/docker/cli-plugins/docker-compose SchemaVersion:0.1.0 ShortDescription:Docker Compose Vendor:Docker Inc. Version:2.0.0-beta.1] map[Name:scan Path:/usr/local/lib/docker/cli-plugins/docker-scan SchemaVersion:0.1.0 ShortDescription:Docker Scan Vendor:Docker Inc. Version:v0.8.0]] Warnings:<nil>}}
I0519 12:02:22.295226 35965 out.go:170] * Using the docker driver based on user configuration
I0519 12:02:22.295260 35965 start.go:277] selected driver: docker
I0519 12:02:22.295268 35965 start.go:724] validating driver "docker" against <nil>
I0519 12:02:22.295283 35965 start.go:735] status for docker: {Installed:true Healthy:true Running:false NeedsImprovement:false Error:<nil> Reason: Fix: Doc:}
I0519 12:02:22.332252 35965 out.go:170]
W0519 12:02:22.332433 35965 out.go:235] X Exiting due to MK_USAGE: The containerd container runtime requires CNI
X Exiting due to MK_USAGE: The containerd container runtime requires CNI
I0519 12:02:22.352571 35965 out.go:170]
** /stderr **
net_test.go:56: Expected "The cri-o container runtime requires CNI" line not found in ouput
-- stdout --
* [no-cni-cri-o-20210519120221-35950] minikube v1.20.0 on Darwin 11.3.1
* Using the docker driver based on user configuration
-- /stdout --
** stderr **
I0519 12:02:21.694893 35965 out.go:291] Setting OutFile to fd 1 ...
I0519 12:02:21.695358 35965 out.go:343] isatty.IsTerminal(1) = false
I0519 12:02:21.695385 35965 out.go:304] Setting ErrFile to fd 2...
I0519 12:02:21.695394 35965 out.go:343] isatty.IsTerminal(2) = false
I0519 12:02:21.695567 35965 root.go:316] Updating PATH: /Users/izuyev/.minikube/bin
I0519 12:02:21.696178 35965 out.go:298] Setting JSON to false
I0519 12:02:21.756332 35965 start.go:109] hostinfo: {"hostname":"izuyev-macbookpro1.roam.corp.google.com","uptime":169006,"bootTime":1621281935,"procs":697,"os":"darwin","platform":"darwin","platformFamily":"Standalone Workstation","platformVersion":"11.3.1","kernelVersion":"20.4.0","kernelArch":"x86_64","virtualizationSystem":"","virtualizationRole":"","hostId":"068f99a3-1db3-31c0-87d5-09942f122bb6"}
W0519 12:02:21.756467 35965 start.go:117] gopshost.Virtualization returned error: not implemented yet
I0519 12:02:21.776785 35965 out.go:170] * [no-cni-cri-o-20210519120221-35950] minikube v1.20.0 on Darwin 11.3.1
I0519 12:02:21.777026 35965 notify.go:169] Checking for updates...
I0519 12:02:21.796702 35965 driver.go:331] Setting default libvirt URI to qemu:///system
I0519 12:02:21.967861 35965 docker.go:132] docker version: linux-20.10.6
I0519 12:02:21.968086 35965 cli_runner.go:115] Run: docker system info --format "{{json .}}"
I0519 12:02:22.274985 35965 info.go:261] docker info: {ID:23VB:PGU3:2SII:D7H5:MD7E:YM6H:NG3T:ZEIK:WK6L:JETC:C5TZ:NDZF Containers:2 ContainersRunning:1 ContainersPaused:0 ContainersStopped:1 Images:49 Driver:overlay2 DriverStatus:[[Backing Filesystem extfs] [Supports d_type true] [Native Overlay Diff true] [userxattr false]] SystemStatus:<nil> Plugins:{Volume:[local] Network:[bridge host ipvlan macvlan null overlay] Authorization:<nil> Log:[awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog]} MemoryLimit:true SwapLimit:true KernelMemory:true KernelMemoryTCP:true CPUCfsPeriod:true CPUCfsQuota:true CPUShares:true CPUSet:true PidsLimit:true IPv4Forwarding:true BridgeNfIptables:true BridgeNfIP6Tables:true Debug:true NFd:55 OomKillDisable:true NGoroutines:65 SystemTime:2021-05-19 19:02:22.144940056 +0000 UTC LoggingDriver:json-file CgroupDriver:cgroupfs NEventsListener:4 KernelVersion:5.10.25-linuxkit OperatingSystem:Docker Desktop OSType:linux Architecture:x86_64 IndexServerAddress:https://index.docker.io/v1/ RegistryConfig:{AllowNondistributableArtifactsCIDRs:[] AllowNondistributableArtifactsHostnames:[] InsecureRegistryCIDRs:[127.0.0.0/8] IndexConfigs:{DockerIo:{Name:docker.io Mirrors:[] Secure:true Official:true}} Mirrors:[]} NCPU:6 MemTotal:4127084544 GenericResources:<nil> DockerRootDir:/var/lib/docker HTTPProxy:http.docker.internal:3128 HTTPSProxy:http.docker.internal:3128 NoProxy: Name:docker-desktop Labels:[] ExperimentalBuild:true ServerVersion:20.10.6 ClusterStore: ClusterAdvertise: Runtimes:{Runc:{Path:runc}} DefaultRuntime:runc Swarm:{NodeID: NodeAddr: LocalNodeState:inactive ControlAvailable:false Error: RemoteManagers:<nil>} LiveRestoreEnabled:false Isolation: InitBinary:docker-init ContainerdCommit:{ID:05f951a3781f4f2c1911b05e61c160e9c30eaa8e Expected:05f951a3781f4f2c1911b05e61c160e9c30eaa8e} RuncCommit:{ID:12644e614e25b05da6fd08a38ffa0cfe1903fdec Expected:12644e614e25b05da6fd08a38ffa0cfe1903fdec} InitCommit:{ID:de40ad0 Expected:de40ad0} SecurityOptions:[name=seccomp,profile=default] ProductLicense: Warnings:<nil> ServerErrors:[] ClientInfo:{Debug:false Plugins:[map[Experimental:true Name:app Path:/usr/local/lib/docker/cli-plugins/docker-app SchemaVersion:0.1.0 ShortDescription:Docker App Vendor:Docker Inc. Version:v0.9.1-beta3] map[Name:buildx Path:/usr/local/lib/docker/cli-plugins/docker-buildx SchemaVersion:0.1.0 ShortDescription:Build with BuildKit Vendor:Docker Inc. Version:v0.5.1-docker] map[Name:compose Path:/usr/local/lib/docker/cli-plugins/docker-compose SchemaVersion:0.1.0 ShortDescription:Docker Compose Vendor:Docker Inc. Version:2.0.0-beta.1] map[Name:scan Path:/usr/local/lib/docker/cli-plugins/docker-scan SchemaVersion:0.1.0 ShortDescription:Docker Scan Vendor:Docker Inc. Version:v0.8.0]] Warnings:<nil>}}
I0519 12:02:22.295226 35965 out.go:170] * Using the docker driver based on user configuration
I0519 12:02:22.295260 35965 start.go:277] selected driver: docker
I0519 12:02:22.295268 35965 start.go:724] validating driver "docker" against <nil>
I0519 12:02:22.295283 35965 start.go:735] status for docker: {Installed:true Healthy:true Running:false NeedsImprovement:false Error:<nil> Reason: Fix: Doc:}
I0519 12:02:22.332252 35965 out.go:170]
W0519 12:02:22.332433 35965 out.go:235] X Exiting due to MK_USAGE: The containerd container runtime requires CNI
X Exiting due to MK_USAGE: The containerd container runtime requires CNI
I0519 12:02:22.352571 35965 out.go:170]
** /stderr **
net_test.go:59: *** TestCNIFalse FAILED at 2021-05-19 12:02:22.371264 -0700 PDT m=+2.215921339
helpers_test.go:218: -----------------------post-mortem--------------------------------
helpers_test.go:226: ======> post-mortem[TestCNIFalse]: docker inspect <======
helpers_test.go:227: (dbg) Run: docker inspect no-cni-cri-o-20210519120221-35950
helpers_test.go:227: (dbg) Non-zero exit: docker inspect no-cni-cri-o-20210519120221-35950: exit status 1 (229.73555ms)
-- stdout --
[]
-- /stdout --
** stderr **
Error: No such object: no-cni-cri-o-20210519120221-35950
** /stderr **
helpers_test.go:229: failed to get docker inspect: exit status 1
helpers_test.go:235: (dbg) Run: out/minikube status --format={{.Host}} -p no-cni-cri-o-20210519120221-35950 -n no-cni-cri-o-20210519120221-35950
helpers_test.go:235: (dbg) Non-zero exit: out/minikube status --format={{.Host}} -p no-cni-cri-o-20210519120221-35950 -n no-cni-cri-o-20210519120221-35950: exit status 85 (121.260513ms)
-- stdout --
* Profile "no-cni-cri-o-20210519120221-35950" not found. Run "minikube profile list" to view all profiles.
To start a cluster, run: "minikube start -p no-cni-cri-o-20210519120221-35950"
-- /stdout --
helpers_test.go:235: status error: exit status 85 (may be ok)
helpers_test.go:237: "no-cni-cri-o-20210519120221-35950" host is not running, skipping log retrieval (state="* Profile \"no-cni-cri-o-20210519120221-35950\" not found. Run \"minikube profile list\" to view all profiles.\n To start a cluster, run: \"minikube start -p no-cni-cri-o-20210519120221-35950\"")
helpers_test.go:171: Cleaning up "no-cni-cri-o-20210519120221-35950" profile ...
helpers_test.go:174: (dbg) Run: out/minikube delete -p no-cni-cri-o-20210519120221-35950
helpers_test.go:174: (dbg) Done: out/minikube delete -p no-cni-cri-o-20210519120221-35950: (2.595047905s)
net_test.go:59: *** TestCNIFalse FAILED at 2021-05-19 12:02:25.318123 -0700 PDT m=+5.162707990
helpers_test.go:218: -----------------------post-mortem--------------------------------
helpers_test.go:226: ======> post-mortem[TestCNIFalse]: docker inspect <======
helpers_test.go:227: (dbg) Run: docker inspect no-cni-containerd-20210519120220-35950
helpers_test.go:227: (dbg) Non-zero exit: docker inspect no-cni-containerd-20210519120220-35950: exit status 1 (228.667146ms)
-- stdout --
[]
-- /stdout --
** stderr **
Error: No such object: no-cni-containerd-20210519120220-35950
** /stderr **
helpers_test.go:229: failed to get docker inspect: exit status 1
helpers_test.go:235: (dbg) Run: out/minikube status --format={{.Host}} -p no-cni-containerd-20210519120220-35950 -n no-cni-containerd-20210519120220-35950
helpers_test.go:235: (dbg) Non-zero exit: out/minikube status --format={{.Host}} -p no-cni-containerd-20210519120220-35950 -n no-cni-containerd-20210519120220-35950: exit status 85 (118.001931ms)
-- stdout --
* Profile "no-cni-containerd-20210519120220-35950" not found. Run "minikube profile list" to view all profiles.
To start a cluster, run: "minikube start -p no-cni-containerd-20210519120220-35950"
-- /stdout --
helpers_test.go:235: status error: exit status 85 (may be ok)
helpers_test.go:237: "no-cni-containerd-20210519120220-35950" host is not running, skipping log retrieval (state="* Profile \"no-cni-containerd-20210519120220-35950\" not found. Run \"minikube profile list\" to view all profiles.\n To start a cluster, run: \"minikube start -p no-cni-containerd-20210519120220-35950\"")
helpers_test.go:171: Cleaning up "no-cni-containerd-20210519120220-35950" profile ...
helpers_test.go:174: (dbg) Run: out/minikube delete -p no-cni-containerd-20210519120220-35950
helpers_test.go:174: (dbg) Done: out/minikube delete -p no-cni-containerd-20210519120220-35950: (2.138260092s)
--- FAIL: TestCNIFalse (7.60s)
FAIL
Tests completed in 7.595206373s (result code 1)
FAIL k8s.io/minikube/test/integration 8.477s
FAIL