=== RUN TestOffline
=== PAUSE TestOffline
=== CONT TestOffline
aab_offline_test.go:55: (dbg) Run: out/minikube-windows-amd64.exe start -p offline-docker-859000 --alsologtostderr -v=1 --memory=2048 --wait=true --driver=docker
aab_offline_test.go:55: (dbg) Non-zero exit: out/minikube-windows-amd64.exe start -p offline-docker-859000 --alsologtostderr -v=1 --memory=2048 --wait=true --driver=docker: exit status 85 (1m20.8767099s)
-- stdout --
* [offline-docker-859000] minikube v1.33.0 on Microsoft Windows 10 Enterprise N 10.0.19045.4291 Build 19045.4291
- KUBECONFIG=C:\Users\jenkins.minikube7\minikube-integration\kubeconfig
- MINIKUBE_FORCE_SYSTEMD=
- MINIKUBE_HOME=C:\Users\jenkins.minikube7\minikube-integration\.minikube
- MINIKUBE_LOCATION=18779
- MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
* Using the docker driver based on user configuration
* Using Docker Desktop driver with root privileges
* Starting "offline-docker-859000" primary control-plane node in "offline-docker-859000" cluster
* Pulling base image v0.0.43-1714386659-18769 ...
* Creating docker container (CPUs=2, Memory=2048MB) ...
* Stopping node "offline-docker-859000" ...
* Powering off "offline-docker-859000" via SSH ...
* Deleting "offline-docker-859000" in docker ...
-- /stdout --
** stderr **
W0501 03:12:53.851385 11052 main.go:291] Unable to resolve the current Docker CLI context "default": context "default": context not found: open C:\Users\jenkins.minikube7\.docker\contexts\meta\37a8eec1ce19687d132fe29051dca629d164e2c4958ba141d5f4133a33f0688f\meta.json: The system cannot find the path specified.
I0501 03:12:53.949846 11052 out.go:291] Setting OutFile to fd 636 ...
I0501 03:12:53.949846 11052 out.go:338] TERM=,COLORTERM=, which probably does not support color
I0501 03:12:53.949846 11052 out.go:304] Setting ErrFile to fd 580...
I0501 03:12:53.949846 11052 out.go:338] TERM=,COLORTERM=, which probably does not support color
I0501 03:12:53.978484 11052 out.go:298] Setting JSON to false
I0501 03:12:53.982585 11052 start.go:129] hostinfo: {"hostname":"minikube7","uptime":30356,"bootTime":1714502817,"procs":198,"os":"windows","platform":"Microsoft Windows 10 Enterprise N","platformFamily":"Standalone Workstation","platformVersion":"10.0.19045.4291 Build 19045.4291","kernelVersion":"10.0.19045.4291 Build 19045.4291","kernelArch":"x86_64","virtualizationSystem":"","virtualizationRole":"","hostId":"f66ed2ea-6c04-4a6b-8eea-b2fb0953e990"}
W0501 03:12:53.982751 11052 start.go:137] gopshost.Virtualization returned error: not implemented yet
I0501 03:12:53.990019 11052 out.go:177] * [offline-docker-859000] minikube v1.33.0 on Microsoft Windows 10 Enterprise N 10.0.19045.4291 Build 19045.4291
I0501 03:12:53.994750 11052 notify.go:220] Checking for updates...
I0501 03:12:54.000651 11052 out.go:177] - KUBECONFIG=C:\Users\jenkins.minikube7\minikube-integration\kubeconfig
I0501 03:12:54.009258 11052 out.go:177] - MINIKUBE_FORCE_SYSTEMD=
I0501 03:12:54.013969 11052 out.go:177] - MINIKUBE_HOME=C:\Users\jenkins.minikube7\minikube-integration\.minikube
I0501 03:12:54.020094 11052 out.go:177] - MINIKUBE_LOCATION=18779
I0501 03:12:54.029095 11052 out.go:177] - MINIKUBE_SUPPRESS_DOCKER_PERFORMANCE=true
I0501 03:12:54.066904 11052 driver.go:392] Setting default libvirt URI to qemu:///system
I0501 03:12:54.376393 11052 docker.go:122] docker version: linux-26.0.0:Docker Desktop 4.29.0 (145265)
I0501 03:12:54.390584 11052 cli_runner.go:164] Run: docker system info --format "{{json .}}"
I0501 03:12:54.811477 11052 info.go:266] docker info: {ID:7e7a3d1c-289b-4576-9288-1ded7ac11ec5 Containers:0 ContainersRunning:0 ContainersPaused:0 ContainersStopped:0 Images:2 Driver:overlay2 DriverStatus:[[Backing Filesystem extfs] [Supports d_type true] [Using metacopy false] [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 splunk syslog]} MemoryLimit:true SwapLimit:true KernelMemory:false KernelMemoryTCP:true CPUCfsPeriod:true CPUCfsQuota:true CPUShares:true CPUSet:true PidsLimit:true IPv4Forwarding:true BridgeNfIptables:true BridgeNfIP6Tables:true Debug:false NFd:60 OomKillDisable:true NGoroutines:84 SystemTime:2024-05-01 03:12:54.76830441 +0000 UTC LoggingDriver:json-file CgroupDriver:cgroupfs NEventsListener:14 KernelVersion:5.15.146.1-microsoft-standard-WSL2 OperatingSystem:Docker Desktop OSType:linux Architecture:x86_64 Inde
xServerAddress: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:16 MemTotal:33657614336 GenericResources:<nil> DockerRootDir:/var/lib/docker HTTPProxy:http.docker.internal:3128 HTTPSProxy:http.docker.internal:3128 NoProxy:hubproxy.docker.internal Name:docker-desktop Labels:[com.docker.desktop.address=npipe://\\.\pipe\docker_cli] ExperimentalBuild:false ServerVersion:26.0.0 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:ae07eda36dd25f8a1b98dfbf587313b99c0190bb Expected:ae07eda36dd25f8a1b98dfbf587313b99c0190bb} RuncCommit:{ID:v1.1.12-0-g51d5e94 Expected:v1.1.12-0-g51d5e94} InitCommit:{ID:de40ad0 E
xpected:de40ad0} SecurityOptions:[name=seccomp,profile=unconfined] ProductLicense: Warnings:[WARNING: No blkio throttle.read_bps_device support WARNING: No blkio throttle.write_bps_device support WARNING: No blkio throttle.read_iops_device support WARNING: No blkio throttle.write_iops_device support WARNING: daemon is not using the default seccomp profile] ServerErrors:[] ClientInfo:{Debug:false Plugins:[map[Name:buildx Path:C:\Program Files\Docker\cli-plugins\docker-buildx.exe SchemaVersion:0.1.0 ShortDescription:Docker Buildx Vendor:Docker Inc. Version:v0.13.1-desktop.1] map[Name:compose Path:C:\Program Files\Docker\cli-plugins\docker-compose.exe SchemaVersion:0.1.0 ShortDescription:Docker Compose Vendor:Docker Inc. Version:v2.26.1-desktop.1] map[Name:debug Path:C:\Program Files\Docker\cli-plugins\docker-debug.exe SchemaVersion:0.1.0 ShortDescription:Get a shell into any image or container. Vendor:Docker Inc. Version:0.0.27] map[Name:dev Path:C:\Program Files\Docker\cli-plugins\docker-dev.exe SchemaVersion:
0.1.0 ShortDescription:Docker Dev Environments Vendor:Docker Inc. Version:v0.1.2] map[Name:extension Path:C:\Program Files\Docker\cli-plugins\docker-extension.exe SchemaVersion:0.1.0 ShortDescription:Manages Docker extensions Vendor:Docker Inc. Version:v0.2.23] map[Name:feedback Path:C:\Program Files\Docker\cli-plugins\docker-feedback.exe SchemaVersion:0.1.0 ShortDescription:Provide feedback, right in your terminal! Vendor:Docker Inc. Version:v1.0.4] map[Name:init Path:C:\Program Files\Docker\cli-plugins\docker-init.exe SchemaVersion:0.1.0 ShortDescription:Creates Docker-related starter files for your project Vendor:Docker Inc. Version:v1.1.0] map[Name:sbom Path:C:\Program Files\Docker\cli-plugins\docker-sbom.exe SchemaVersion:0.1.0 ShortDescription:View the packaged-based Software Bill Of Materials (SBOM) for an image URL:https://github.com/docker/sbom-cli-plugin Vendor:Anchore Inc. Version:0.6.0] map[Name:scout Path:C:\Program Files\Docker\cli-plugins\docker-scout.exe SchemaVersion:0.1.0 ShortDescription:Do
cker Scout Vendor:Docker Inc. Version:v1.6.3]] Warnings:<nil>}}
I0501 03:12:54.814468 11052 out.go:177] * Using the docker driver based on user configuration
I0501 03:12:54.817471 11052 start.go:297] selected driver: docker
I0501 03:12:54.817471 11052 start.go:901] validating driver "docker" against <nil>
I0501 03:12:54.817471 11052 start.go:912] status for docker: {Installed:true Healthy:true Running:false NeedsImprovement:false Error:<nil> Reason: Fix: Doc: Version:}
I0501 03:12:54.895482 11052 cli_runner.go:164] Run: docker system info --format "{{json .}}"
I0501 03:12:55.331919 11052 info.go:266] docker info: {ID:7e7a3d1c-289b-4576-9288-1ded7ac11ec5 Containers:0 ContainersRunning:0 ContainersPaused:0 ContainersStopped:0 Images:2 Driver:overlay2 DriverStatus:[[Backing Filesystem extfs] [Supports d_type true] [Using metacopy false] [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 splunk syslog]} MemoryLimit:true SwapLimit:true KernelMemory:false KernelMemoryTCP:true CPUCfsPeriod:true CPUCfsQuota:true CPUShares:true CPUSet:true PidsLimit:true IPv4Forwarding:true BridgeNfIptables:true BridgeNfIP6Tables:true Debug:false NFd:60 OomKillDisable:true NGoroutines:83 SystemTime:2024-05-01 03:12:55.27369239 +0000 UTC LoggingDriver:json-file CgroupDriver:cgroupfs NEventsListener:14 KernelVersion:5.15.146.1-microsoft-standard-WSL2 OperatingSystem:Docker Desktop OSType:linux Architecture:x86_64 Inde
xServerAddress: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:16 MemTotal:33657614336 GenericResources:<nil> DockerRootDir:/var/lib/docker HTTPProxy:http.docker.internal:3128 HTTPSProxy:http.docker.internal:3128 NoProxy:hubproxy.docker.internal Name:docker-desktop Labels:[com.docker.desktop.address=npipe://\\.\pipe\docker_cli] ExperimentalBuild:false ServerVersion:26.0.0 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:ae07eda36dd25f8a1b98dfbf587313b99c0190bb Expected:ae07eda36dd25f8a1b98dfbf587313b99c0190bb} RuncCommit:{ID:v1.1.12-0-g51d5e94 Expected:v1.1.12-0-g51d5e94} InitCommit:{ID:de40ad0 E
xpected:de40ad0} SecurityOptions:[name=seccomp,profile=unconfined] ProductLicense: Warnings:[WARNING: No blkio throttle.read_bps_device support WARNING: No blkio throttle.write_bps_device support WARNING: No blkio throttle.read_iops_device support WARNING: No blkio throttle.write_iops_device support WARNING: daemon is not using the default seccomp profile] ServerErrors:[] ClientInfo:{Debug:false Plugins:[map[Name:buildx Path:C:\Program Files\Docker\cli-plugins\docker-buildx.exe SchemaVersion:0.1.0 ShortDescription:Docker Buildx Vendor:Docker Inc. Version:v0.13.1-desktop.1] map[Name:compose Path:C:\Program Files\Docker\cli-plugins\docker-compose.exe SchemaVersion:0.1.0 ShortDescription:Docker Compose Vendor:Docker Inc. Version:v2.26.1-desktop.1] map[Name:debug Path:C:\Program Files\Docker\cli-plugins\docker-debug.exe SchemaVersion:0.1.0 ShortDescription:Get a shell into any image or container. Vendor:Docker Inc. Version:0.0.27] map[Name:dev Path:C:\Program Files\Docker\cli-plugins\docker-dev.exe SchemaVersion:
0.1.0 ShortDescription:Docker Dev Environments Vendor:Docker Inc. Version:v0.1.2] map[Name:extension Path:C:\Program Files\Docker\cli-plugins\docker-extension.exe SchemaVersion:0.1.0 ShortDescription:Manages Docker extensions Vendor:Docker Inc. Version:v0.2.23] map[Name:feedback Path:C:\Program Files\Docker\cli-plugins\docker-feedback.exe SchemaVersion:0.1.0 ShortDescription:Provide feedback, right in your terminal! Vendor:Docker Inc. Version:v1.0.4] map[Name:init Path:C:\Program Files\Docker\cli-plugins\docker-init.exe SchemaVersion:0.1.0 ShortDescription:Creates Docker-related starter files for your project Vendor:Docker Inc. Version:v1.1.0] map[Name:sbom Path:C:\Program Files\Docker\cli-plugins\docker-sbom.exe SchemaVersion:0.1.0 ShortDescription:View the packaged-based Software Bill Of Materials (SBOM) for an image URL:https://github.com/docker/sbom-cli-plugin Vendor:Anchore Inc. Version:0.6.0] map[Name:scout Path:C:\Program Files\Docker\cli-plugins\docker-scout.exe SchemaVersion:0.1.0 ShortDescription:Do
cker Scout Vendor:Docker Inc. Version:v1.6.3]] Warnings:<nil>}}
I0501 03:12:55.332935 11052 start_flags.go:310] no existing cluster config was found, will generate one from the flags
I0501 03:12:55.333915 11052 start_flags.go:947] Waiting for all components: map[apiserver:true apps_running:true default_sa:true extra:true kubelet:true node_ready:true system_pods:true]
I0501 03:12:55.337911 11052 out.go:177] * Using Docker Desktop driver with root privileges
I0501 03:12:55.340930 11052 cni.go:84] Creating CNI manager for ""
I0501 03:12:55.340930 11052 cni.go:158] "docker" driver + "docker" container runtime found on kubernetes v1.24+, recommending bridge
I0501 03:12:55.340930 11052 start_flags.go:319] Found "bridge CNI" CNI - setting NetworkPlugin=cni
I0501 03:12:55.341918 11052 start.go:340] cluster config:
{Name:offline-docker-859000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.43-1714386659-18769@sha256:2307161b966936863fe51493570c92a8ccd6d1ed9c62870159694db91f271d1e Memory:2048 CPUs:2 DiskSize:20000 Driver:docker HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.59.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 APIServerPort:8443 DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio SSHIPAddress: SSHUser:root SSHKey: SSHPort:22 KubernetesConfig:{KubernetesVersion:v1.30.0 ClusterName:offline-docker-859000 Namespace:default APIServerHAVIP: APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local
ContainerRuntime:docker CRISocket: NetworkPlugin:cni FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.30.0 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true apps_running:true default_sa:true extra:true kubelet:true node_ready:true system_pods:true] StartHostTimeout:6m0s ScheduledStop:<nil> ExposedPorts:[] ListenAddress: Network: Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:C:\Users\jenkins.minikube7:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:false DisableMetrics:false CustomQemuFirmwarePath: SocketVMnetClientPath: SocketVMne
tPath: StaticIP: SSHAuthSock: SSHAgentPID:0 GPUs: AutoPauseInterval:1m0s}
I0501 03:12:55.344929 11052 out.go:177] * Starting "offline-docker-859000" primary control-plane node in "offline-docker-859000" cluster
I0501 03:12:55.348916 11052 cache.go:121] Beginning downloading kic base image for docker with docker
I0501 03:12:55.352920 11052 out.go:177] * Pulling base image v0.0.43-1714386659-18769 ...
I0501 03:12:55.356915 11052 preload.go:132] Checking if preload exists for k8s version v1.30.0 and runtime docker
I0501 03:12:55.356915 11052 image.go:79] Checking for gcr.io/k8s-minikube/kicbase-builds:v0.0.43-1714386659-18769@sha256:2307161b966936863fe51493570c92a8ccd6d1ed9c62870159694db91f271d1e in local docker daemon
I0501 03:12:55.356915 11052 preload.go:147] Found local preload: C:\Users\jenkins.minikube7\minikube-integration\.minikube\cache\preloaded-tarball\preloaded-images-k8s-v18-v1.30.0-docker-overlay2-amd64.tar.lz4
I0501 03:12:55.356915 11052 cache.go:56] Caching tarball of preloaded images
I0501 03:12:55.356915 11052 preload.go:173] Found C:\Users\jenkins.minikube7\minikube-integration\.minikube\cache\preloaded-tarball\preloaded-images-k8s-v18-v1.30.0-docker-overlay2-amd64.tar.lz4 in cache, skipping download
I0501 03:12:55.356915 11052 cache.go:59] Finished verifying existence of preloaded tar for v1.30.0 on docker
I0501 03:12:55.357914 11052 profile.go:143] Saving config to C:\Users\jenkins.minikube7\minikube-integration\.minikube\profiles\offline-docker-859000\config.json ...
I0501 03:12:55.357914 11052 lock.go:35] WriteFile acquiring C:\Users\jenkins.minikube7\minikube-integration\.minikube\profiles\offline-docker-859000\config.json: {Name:mk809f3c0647db30a0d3f4e47ccbebc00b558fc7 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I0501 03:12:55.558567 11052 image.go:83] Found gcr.io/k8s-minikube/kicbase-builds:v0.0.43-1714386659-18769@sha256:2307161b966936863fe51493570c92a8ccd6d1ed9c62870159694db91f271d1e in local docker daemon, skipping pull
I0501 03:12:55.558567 11052 cache.go:144] gcr.io/k8s-minikube/kicbase-builds:v0.0.43-1714386659-18769@sha256:2307161b966936863fe51493570c92a8ccd6d1ed9c62870159694db91f271d1e exists in daemon, skipping load
I0501 03:12:55.558567 11052 cache.go:194] Successfully downloaded all kic artifacts
I0501 03:12:55.558567 11052 start.go:360] acquireMachinesLock for offline-docker-859000: {Name:mkf0ca32231f501ce4495c337938d0985bbcd88a Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0501 03:12:55.558567 11052 start.go:364] duration metric: took 0s to acquireMachinesLock for "offline-docker-859000"
I0501 03:12:55.558567 11052 start.go:93] Provisioning new machine with config: &{Name:offline-docker-859000 KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase-builds:v0.0.43-1714386659-18769@sha256:2307161b966936863fe51493570c92a8ccd6d1ed9c62870159694db91f271d1e Memory:2048 CPUs:2 DiskSize:20000 Driver:docker HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.59.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false KVMNUMACount:1 APIServerPort:8443 DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio SSHIPAddress: SSHUser:root SSHKey: SSHPort:22 KubernetesConfig:{KubernetesVersion:v1.30.0 ClusterName:offline-docker-859000 Namespace:default APIServerHAVIP: A
PIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin:cni FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: CustomIngressCert: RegistryAliases: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.30.0 ContainerRuntime:docker ControlPlane:true Worker:true}] Addons:map[] CustomAddonImages:map[] CustomAddonRegistries:map[] VerifyComponents:map[apiserver:true apps_running:true default_sa:true extra:true kubelet:true node_ready:true system_pods:true] StartHostTimeout:6m0s ScheduledStop:<nil> ExposedPorts:[] ListenAddress: Network: Subnet: MultiNodeRequested:false ExtraDisks:0 CertExpiration:26280h0m0s Mount:false MountString:C:\Users\jenkins.minikube7:/minikube-host Mount9PVersion:9p2000.L MountGID:docker MountIP: MountMSize:262144 MountOptions:[] MountPort:0 MountType:9p MountUID:docker BinaryMirror: DisableOptimizations:fa
lse DisableMetrics:false CustomQemuFirmwarePath: SocketVMnetClientPath: SocketVMnetPath: StaticIP: SSHAuthSock: SSHAgentPID:0 GPUs: AutoPauseInterval:1m0s} &{Name: IP: Port:8443 KubernetesVersion:v1.30.0 ContainerRuntime:docker ControlPlane:true Worker:true}
I0501 03:12:55.558567 11052 start.go:125] createHost starting for "" (driver="docker")
I0501 03:12:55.562555 11052 out.go:204] * Creating docker container (CPUs=2, Memory=2048MB) ...
I0501 03:12:55.562555 11052 start.go:159] libmachine.API.Create for "offline-docker-859000" (driver="docker")
I0501 03:12:55.562555 11052 client.go:168] LocalClient.Create starting
I0501 03:12:55.563550 11052 main.go:141] libmachine: Reading certificate data from C:\Users\jenkins.minikube7\minikube-integration\.minikube\certs\ca.pem
I0501 03:12:55.563550 11052 main.go:141] libmachine: Decoding PEM data...
I0501 03:12:55.563550 11052 main.go:141] libmachine: Parsing certificate...
I0501 03:12:55.563550 11052 main.go:141] libmachine: Reading certificate data from C:\Users\jenkins.minikube7\minikube-integration\.minikube\certs\cert.pem
I0501 03:12:55.563550 11052 main.go:141] libmachine: Decoding PEM data...
I0501 03:12:55.563550 11052 main.go:141] libmachine: Parsing certificate...
I0501 03:12:55.571560 11052 cli_runner.go:164] Run: docker network inspect offline-docker-859000 --format "{"Name": "{{.Name}}","Driver": "{{.Driver}}","Subnet": "{{range .IPAM.Config}}{{.Subnet}}{{end}}","Gateway": "{{range .IPAM.Config}}{{.Gateway}}{{end}}","MTU": {{if (index .Options "com.docker.network.driver.mtu")}}{{(index .Options "com.docker.network.driver.mtu")}}{{else}}0{{end}}, "ContainerIPs": [{{range $k,$v := .Containers }}"{{$v.IPv4Address}}",{{end}}]}"
W0501 03:12:55.762111 11052 cli_runner.go:211] docker network inspect offline-docker-859000 --format "{"Name": "{{.Name}}","Driver": "{{.Driver}}","Subnet": "{{range .IPAM.Config}}{{.Subnet}}{{end}}","Gateway": "{{range .IPAM.Config}}{{.Gateway}}{{end}}","MTU": {{if (index .Options "com.docker.network.driver.mtu")}}{{(index .Options "com.docker.network.driver.mtu")}}{{else}}0{{end}}, "ContainerIPs": [{{range $k,$v := .Containers }}"{{$v.IPv4Address}}",{{end}}]}" returned with exit code 1
I0501 03:12:55.769115 11052 network_create.go:281] running [docker network inspect offline-docker-859000] to gather additional debugging logs...
I0501 03:12:55.769115 11052 cli_runner.go:164] Run: docker network inspect offline-docker-859000
W0501 03:12:55.917743 11052 cli_runner.go:211] docker network inspect offline-docker-859000 returned with exit code 1
I0501 03:12:55.917743 11052 network_create.go:284] error running [docker network inspect offline-docker-859000]: docker network inspect offline-docker-859000: exit status 1
stdout:
[]
stderr:
Error response from daemon: network offline-docker-859000 not found
I0501 03:12:55.917743 11052 network_create.go:286] output of [docker network inspect offline-docker-859000]: -- stdout --
[]
-- /stdout --
** stderr **
Error response from daemon: network offline-docker-859000 not found
** /stderr **
I0501 03:12:55.925742 11052 cli_runner.go:164] Run: docker network inspect bridge --format "{"Name": "{{.Name}}","Driver": "{{.Driver}}","Subnet": "{{range .IPAM.Config}}{{.Subnet}}{{end}}","Gateway": "{{range .IPAM.Config}}{{.Gateway}}{{end}}","MTU": {{if (index .Options "com.docker.network.driver.mtu")}}{{(index .Options "com.docker.network.driver.mtu")}}{{else}}0{{end}}, "ContainerIPs": [{{range $k,$v := .Containers }}"{{$v.IPv4Address}}",{{end}}]}"
I0501 03:12:56.133762 11052 network.go:209] skipping subnet 192.168.49.0/24 that is reserved: &{IP:192.168.49.0 Netmask:255.255.255.0 Prefix:24 CIDR:192.168.49.0/24 Gateway:192.168.49.1 ClientMin:192.168.49.2 ClientMax:192.168.49.254 Broadcast:192.168.49.255 IsPrivate:true Interface:{IfaceName: IfaceIPv4: IfaceMTU:0 IfaceMAC:} reservation:<nil>}
I0501 03:12:56.164307 11052 network.go:209] skipping subnet 192.168.58.0/24 that is reserved: &{IP:192.168.58.0 Netmask:255.255.255.0 Prefix:24 CIDR:192.168.58.0/24 Gateway:192.168.58.1 ClientMin:192.168.58.2 ClientMax:192.168.58.254 Broadcast:192.168.58.255 IsPrivate:true Interface:{IfaceName: IfaceIPv4: IfaceMTU:0 IfaceMAC:} reservation:<nil>}
I0501 03:12:56.195337 11052 network.go:209] skipping subnet 192.168.67.0/24 that is reserved: &{IP:192.168.67.0 Netmask:255.255.255.0 Prefix:24 CIDR:192.168.67.0/24 Gateway:192.168.67.1 ClientMin:192.168.67.2 ClientMax:192.168.67.254 Broadcast:192.168.67.255 IsPrivate:true Interface:{IfaceName: IfaceIPv4: IfaceMTU:0 IfaceMAC:} reservation:<nil>}
I0501 03:12:56.227333 11052 network.go:209] skipping subnet 192.168.76.0/24 that is reserved: &{IP:192.168.76.0 Netmask:255.255.255.0 Prefix:24 CIDR:192.168.76.0/24 Gateway:192.168.76.1 ClientMin:192.168.76.2 ClientMax:192.168.76.254 Broadcast:192.168.76.255 IsPrivate:true Interface:{IfaceName: IfaceIPv4: IfaceMTU:0 IfaceMAC:} reservation:<nil>}
I0501 03:12:56.257831 11052 network.go:206] using free private subnet 192.168.85.0/24: &{IP:192.168.85.0 Netmask:255.255.255.0 Prefix:24 CIDR:192.168.85.0/24 Gateway:192.168.85.1 ClientMin:192.168.85.2 ClientMax:192.168.85.254 Broadcast:192.168.85.255 IsPrivate:true Interface:{IfaceName: IfaceIPv4: IfaceMTU:0 IfaceMAC:} reservation:0xc0023a3560}
I0501 03:12:56.257831 11052 network_create.go:124] attempt to create docker network offline-docker-859000 192.168.85.0/24 with gateway 192.168.85.1 and MTU of 1500 ...
I0501 03:12:56.267831 11052 cli_runner.go:164] Run: docker network create --driver=bridge --subnet=192.168.85.0/24 --gateway=192.168.85.1 -o --ip-masq -o --icc -o com.docker.network.driver.mtu=1500 --label=created_by.minikube.sigs.k8s.io=true --label=name.minikube.sigs.k8s.io=offline-docker-859000 offline-docker-859000
I0501 03:12:56.563050 11052 network_create.go:108] docker network offline-docker-859000 192.168.85.0/24 created
I0501 03:12:56.563050 11052 kic.go:121] calculated static IP "192.168.85.2" for the "offline-docker-859000" container
I0501 03:12:56.578047 11052 cli_runner.go:164] Run: docker ps -a --format {{.Names}}
I0501 03:12:56.773726 11052 cli_runner.go:164] Run: docker volume create offline-docker-859000 --label name.minikube.sigs.k8s.io=offline-docker-859000 --label created_by.minikube.sigs.k8s.io=true
I0501 03:12:56.938738 11052 oci.go:103] Successfully created a docker volume offline-docker-859000
I0501 03:12:56.945726 11052 cli_runner.go:164] Run: docker run --rm --name offline-docker-859000-preload-sidecar --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=offline-docker-859000 --entrypoint /usr/bin/test -v offline-docker-859000:/var gcr.io/k8s-minikube/kicbase-builds:v0.0.43-1714386659-18769@sha256:2307161b966936863fe51493570c92a8ccd6d1ed9c62870159694db91f271d1e -d /var/lib
I0501 03:12:59.347071 11052 cli_runner.go:217] Completed: docker run --rm --name offline-docker-859000-preload-sidecar --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=offline-docker-859000 --entrypoint /usr/bin/test -v offline-docker-859000:/var gcr.io/k8s-minikube/kicbase-builds:v0.0.43-1714386659-18769@sha256:2307161b966936863fe51493570c92a8ccd6d1ed9c62870159694db91f271d1e -d /var/lib: (2.4011661s)
I0501 03:12:59.347071 11052 oci.go:107] Successfully prepared a docker volume offline-docker-859000
I0501 03:12:59.347071 11052 preload.go:132] Checking if preload exists for k8s version v1.30.0 and runtime docker
I0501 03:12:59.347071 11052 kic.go:194] Starting extracting preloaded images to volume ...
I0501 03:12:59.354981 11052 cli_runner.go:164] Run: docker run --rm --entrypoint /usr/bin/tar -v C:\Users\jenkins.minikube7\minikube-integration\.minikube\cache\preloaded-tarball\preloaded-images-k8s-v18-v1.30.0-docker-overlay2-amd64.tar.lz4:/preloaded.tar:ro -v offline-docker-859000:/extractDir gcr.io/k8s-minikube/kicbase-builds:v0.0.43-1714386659-18769@sha256:2307161b966936863fe51493570c92a8ccd6d1ed9c62870159694db91f271d1e -I lz4 -xf /preloaded.tar -C /extractDir
I0501 03:13:48.936453 11052 cli_runner.go:217] Completed: docker run --rm --entrypoint /usr/bin/tar -v C:\Users\jenkins.minikube7\minikube-integration\.minikube\cache\preloaded-tarball\preloaded-images-k8s-v18-v1.30.0-docker-overlay2-amd64.tar.lz4:/preloaded.tar:ro -v offline-docker-859000:/extractDir gcr.io/k8s-minikube/kicbase-builds:v0.0.43-1714386659-18769@sha256:2307161b966936863fe51493570c92a8ccd6d1ed9c62870159694db91f271d1e -I lz4 -xf /preloaded.tar -C /extractDir: (49.5771556s)
I0501 03:13:48.936593 11052 kic.go:203] duration metric: took 49.5858373s to extract preloaded images to volume ...
I0501 03:13:48.943430 11052 cli_runner.go:164] Run: docker system info --format "{{json .}}"
I0501 03:13:49.408692 11052 info.go:266] docker info: {ID:7e7a3d1c-289b-4576-9288-1ded7ac11ec5 Containers:0 ContainersRunning:0 ContainersPaused:0 ContainersStopped:0 Images:2 Driver:overlay2 DriverStatus:[[Backing Filesystem extfs] [Supports d_type true] [Using metacopy false] [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 splunk syslog]} MemoryLimit:true SwapLimit:true KernelMemory:false KernelMemoryTCP:true CPUCfsPeriod:true CPUCfsQuota:true CPUShares:true CPUSet:true PidsLimit:true IPv4Forwarding:true BridgeNfIptables:true BridgeNfIP6Tables:true Debug:false NFd:61 OomKillDisable:true NGoroutines:84 SystemTime:2024-05-01 03:13:49.346821528 +0000 UTC LoggingDriver:json-file CgroupDriver:cgroupfs NEventsListener:14 KernelVersion:5.15.146.1-microsoft-standard-WSL2 OperatingSystem:Docker Desktop OSType:linux Architecture:x86_64 Ind
exServerAddress: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:16 MemTotal:33657614336 GenericResources:<nil> DockerRootDir:/var/lib/docker HTTPProxy:http.docker.internal:3128 HTTPSProxy:http.docker.internal:3128 NoProxy:hubproxy.docker.internal Name:docker-desktop Labels:[com.docker.desktop.address=npipe://\\.\pipe\docker_cli] ExperimentalBuild:false ServerVersion:26.0.0 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:ae07eda36dd25f8a1b98dfbf587313b99c0190bb Expected:ae07eda36dd25f8a1b98dfbf587313b99c0190bb} RuncCommit:{ID:v1.1.12-0-g51d5e94 Expected:v1.1.12-0-g51d5e94} InitCommit:{ID:de40ad0
Expected:de40ad0} SecurityOptions:[name=seccomp,profile=unconfined] ProductLicense: Warnings:[WARNING: No blkio throttle.read_bps_device support WARNING: No blkio throttle.write_bps_device support WARNING: No blkio throttle.read_iops_device support WARNING: No blkio throttle.write_iops_device support WARNING: daemon is not using the default seccomp profile] ServerErrors:[] ClientInfo:{Debug:false Plugins:[map[Name:buildx Path:C:\Program Files\Docker\cli-plugins\docker-buildx.exe SchemaVersion:0.1.0 ShortDescription:Docker Buildx Vendor:Docker Inc. Version:v0.13.1-desktop.1] map[Name:compose Path:C:\Program Files\Docker\cli-plugins\docker-compose.exe SchemaVersion:0.1.0 ShortDescription:Docker Compose Vendor:Docker Inc. Version:v2.26.1-desktop.1] map[Name:debug Path:C:\Program Files\Docker\cli-plugins\docker-debug.exe SchemaVersion:0.1.0 ShortDescription:Get a shell into any image or container. Vendor:Docker Inc. Version:0.0.27] map[Name:dev Path:C:\Program Files\Docker\cli-plugins\docker-dev.exe SchemaVersion
:0.1.0 ShortDescription:Docker Dev Environments Vendor:Docker Inc. Version:v0.1.2] map[Name:extension Path:C:\Program Files\Docker\cli-plugins\docker-extension.exe SchemaVersion:0.1.0 ShortDescription:Manages Docker extensions Vendor:Docker Inc. Version:v0.2.23] map[Name:feedback Path:C:\Program Files\Docker\cli-plugins\docker-feedback.exe SchemaVersion:0.1.0 ShortDescription:Provide feedback, right in your terminal! Vendor:Docker Inc. Version:v1.0.4] map[Name:init Path:C:\Program Files\Docker\cli-plugins\docker-init.exe SchemaVersion:0.1.0 ShortDescription:Creates Docker-related starter files for your project Vendor:Docker Inc. Version:v1.1.0] map[Name:sbom Path:C:\Program Files\Docker\cli-plugins\docker-sbom.exe SchemaVersion:0.1.0 ShortDescription:View the packaged-based Software Bill Of Materials (SBOM) for an image URL:https://github.com/docker/sbom-cli-plugin Vendor:Anchore Inc. Version:0.6.0] map[Name:scout Path:C:\Program Files\Docker\cli-plugins\docker-scout.exe SchemaVersion:0.1.0 ShortDescription:D
ocker Scout Vendor:Docker Inc. Version:v1.6.3]] Warnings:<nil>}}
I0501 03:13:49.419666 11052 cli_runner.go:164] Run: docker info --format "'{{json .SecurityOptions}}'"
I0501 03:13:49.932573 11052 cli_runner.go:164] Run: docker run -d -t --privileged --security-opt seccomp=unconfined --tmpfs /tmp --tmpfs /run -v /lib/modules:/lib/modules:ro --hostname offline-docker-859000 --name offline-docker-859000 --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=offline-docker-859000 --label role.minikube.sigs.k8s.io= --label mode.minikube.sigs.k8s.io=offline-docker-859000 --network offline-docker-859000 --ip 192.168.85.2 --volume offline-docker-859000:/var --security-opt apparmor=unconfined --memory=2048mb --memory-swap=2048mb --cpus=2 -e container=docker --expose 8443 --publish=127.0.0.1::8443 --publish=127.0.0.1::22 --publish=127.0.0.1::2376 --publish=127.0.0.1::5000 --publish=127.0.0.1::32443 gcr.io/k8s-minikube/kicbase-builds:v0.0.43-1714386659-18769@sha256:2307161b966936863fe51493570c92a8ccd6d1ed9c62870159694db91f271d1e
I0501 03:13:51.408664 11052 cli_runner.go:217] Completed: docker run -d -t --privileged --security-opt seccomp=unconfined --tmpfs /tmp --tmpfs /run -v /lib/modules:/lib/modules:ro --hostname offline-docker-859000 --name offline-docker-859000 --label created_by.minikube.sigs.k8s.io=true --label name.minikube.sigs.k8s.io=offline-docker-859000 --label role.minikube.sigs.k8s.io= --label mode.minikube.sigs.k8s.io=offline-docker-859000 --network offline-docker-859000 --ip 192.168.85.2 --volume offline-docker-859000:/var --security-opt apparmor=unconfined --memory=2048mb --memory-swap=2048mb --cpus=2 -e container=docker --expose 8443 --publish=127.0.0.1::8443 --publish=127.0.0.1::22 --publish=127.0.0.1::2376 --publish=127.0.0.1::5000 --publish=127.0.0.1::32443 gcr.io/k8s-minikube/kicbase-builds:v0.0.43-1714386659-18769@sha256:2307161b966936863fe51493570c92a8ccd6d1ed9c62870159694db91f271d1e: (1.4759814s)
I0501 03:13:51.423666 11052 cli_runner.go:164] Run: docker container inspect offline-docker-859000 --format={{.State.Running}}
I0501 03:13:51.637681 11052 cli_runner.go:164] Run: docker container inspect offline-docker-859000 --format={{.State.Status}}
I0501 03:13:51.864665 11052 cli_runner.go:164] Run: docker exec offline-docker-859000 stat /var/lib/dpkg/alternatives/iptables
I0501 03:13:52.152972 11052 oci.go:144] the created container "offline-docker-859000" has a running status.
I0501 03:13:52.152972 11052 kic.go:225] Creating ssh key for kic: C:\Users\jenkins.minikube7\minikube-integration\.minikube\machines\offline-docker-859000\id_rsa...
I0501 03:13:52.291002 11052 kic_runner.go:191] docker (temp): C:\Users\jenkins.minikube7\minikube-integration\.minikube\machines\offline-docker-859000\id_rsa.pub --> /home/docker/.ssh/authorized_keys (381 bytes)
I0501 03:13:52.561460 11052 cli_runner.go:164] Run: docker container inspect offline-docker-859000 --format={{.State.Status}}
I0501 03:13:52.812041 11052 kic_runner.go:93] Run: chown docker:docker /home/docker/.ssh/authorized_keys
I0501 03:13:52.812171 11052 kic_runner.go:114] Args: [docker exec --privileged offline-docker-859000 chown docker:docker /home/docker/.ssh/authorized_keys]
I0501 03:13:53.228647 11052 kic.go:265] ensuring only current user has permissions to key file located at : C:\Users\jenkins.minikube7\minikube-integration\.minikube\machines\offline-docker-859000\id_rsa...
I0501 03:13:56.106768 11052 cli_runner.go:164] Run: docker container inspect offline-docker-859000 --format={{.State.Status}}
I0501 03:13:56.291625 11052 machine.go:94] provisionDockerMachine start ...
I0501 03:13:56.303153 11052 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" offline-docker-859000
I0501 03:13:56.503821 11052 main.go:141] libmachine: Using SSH client type: native
I0501 03:13:56.515191 11052 main.go:141] libmachine: &{{{<nil> 0 [] [] []} docker [0x64a1c0] 0x64cda0 <nil> [] 0s} 127.0.0.1 51141 <nil> <nil>}
I0501 03:13:56.515295 11052 main.go:141] libmachine: About to run SSH command:
hostname
I0501 03:13:56.703573 11052 main.go:141] libmachine: SSH cmd err, output: <nil>: offline-docker-859000
I0501 03:13:56.703573 11052 ubuntu.go:169] provisioning hostname "offline-docker-859000"
I0501 03:13:56.713909 11052 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" offline-docker-859000
I0501 03:13:56.898662 11052 main.go:141] libmachine: Using SSH client type: native
I0501 03:13:56.899190 11052 main.go:141] libmachine: &{{{<nil> 0 [] [] []} docker [0x64a1c0] 0x64cda0 <nil> [] 0s} 127.0.0.1 51141 <nil> <nil>}
I0501 03:13:56.899190 11052 main.go:141] libmachine: About to run SSH command:
sudo hostname offline-docker-859000 && echo "offline-docker-859000" | sudo tee /etc/hostname
I0501 03:13:57.116578 11052 main.go:141] libmachine: SSH cmd err, output: <nil>: offline-docker-859000
I0501 03:13:57.124261 11052 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" offline-docker-859000
I0501 03:13:57.356088 11052 main.go:141] libmachine: Using SSH client type: native
I0501 03:13:57.356088 11052 main.go:141] libmachine: &{{{<nil> 0 [] [] []} docker [0x64a1c0] 0x64cda0 <nil> [] 0s} 127.0.0.1 51141 <nil> <nil>}
I0501 03:13:57.356088 11052 main.go:141] libmachine: About to run SSH command:
if ! grep -xq '.*\soffline-docker-859000' /etc/hosts; then
if grep -xq '127.0.1.1\s.*' /etc/hosts; then
sudo sed -i 's/^127.0.1.1\s.*/127.0.1.1 offline-docker-859000/g' /etc/hosts;
else
echo '127.0.1.1 offline-docker-859000' | sudo tee -a /etc/hosts;
fi
fi
I0501 03:13:57.555277 11052 main.go:141] libmachine: SSH cmd err, output: <nil>:
I0501 03:13:57.555277 11052 ubuntu.go:175] set auth options {CertDir:C:\Users\jenkins.minikube7\minikube-integration\.minikube CaCertPath:C:\Users\jenkins.minikube7\minikube-integration\.minikube\certs\ca.pem CaPrivateKeyPath:C:\Users\jenkins.minikube7\minikube-integration\.minikube\certs\ca-key.pem CaCertRemotePath:/etc/docker/ca.pem ServerCertPath:C:\Users\jenkins.minikube7\minikube-integration\.minikube\machines\server.pem ServerKeyPath:C:\Users\jenkins.minikube7\minikube-integration\.minikube\machines\server-key.pem ClientKeyPath:C:\Users\jenkins.minikube7\minikube-integration\.minikube\certs\key.pem ServerCertRemotePath:/etc/docker/server.pem ServerKeyRemotePath:/etc/docker/server-key.pem ClientCertPath:C:\Users\jenkins.minikube7\minikube-integration\.minikube\certs\cert.pem ServerCertSANs:[] StorePath:C:\Users\jenkins.minikube7\minikube-integration\.minikube}
I0501 03:13:57.555277 11052 ubuntu.go:177] setting up certificates
I0501 03:13:57.555847 11052 provision.go:84] configureAuth start
I0501 03:13:57.565096 11052 cli_runner.go:164] Run: docker container inspect -f "{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}" offline-docker-859000
I0501 03:13:57.772607 11052 provision.go:143] copyHostCerts
I0501 03:13:57.773119 11052 exec_runner.go:144] found C:\Users\jenkins.minikube7\minikube-integration\.minikube/cert.pem, removing ...
I0501 03:13:57.773167 11052 exec_runner.go:203] rm: C:\Users\jenkins.minikube7\minikube-integration\.minikube\cert.pem
I0501 03:13:57.773700 11052 exec_runner.go:151] cp: C:\Users\jenkins.minikube7\minikube-integration\.minikube\certs\cert.pem --> C:\Users\jenkins.minikube7\minikube-integration\.minikube/cert.pem (1123 bytes)
I0501 03:13:57.775009 11052 exec_runner.go:144] found C:\Users\jenkins.minikube7\minikube-integration\.minikube/key.pem, removing ...
I0501 03:13:57.775048 11052 exec_runner.go:203] rm: C:\Users\jenkins.minikube7\minikube-integration\.minikube\key.pem
I0501 03:13:57.775573 11052 exec_runner.go:151] cp: C:\Users\jenkins.minikube7\minikube-integration\.minikube\certs\key.pem --> C:\Users\jenkins.minikube7\minikube-integration\.minikube/key.pem (1675 bytes)
I0501 03:13:57.777025 11052 exec_runner.go:144] found C:\Users\jenkins.minikube7\minikube-integration\.minikube/ca.pem, removing ...
I0501 03:13:57.777025 11052 exec_runner.go:203] rm: C:\Users\jenkins.minikube7\minikube-integration\.minikube\ca.pem
I0501 03:13:57.777439 11052 exec_runner.go:151] cp: C:\Users\jenkins.minikube7\minikube-integration\.minikube\certs\ca.pem --> C:\Users\jenkins.minikube7\minikube-integration\.minikube/ca.pem (1078 bytes)
I0501 03:13:57.778611 11052 provision.go:117] generating server cert: C:\Users\jenkins.minikube7\minikube-integration\.minikube\machines\server.pem ca-key=C:\Users\jenkins.minikube7\minikube-integration\.minikube\certs\ca.pem private-key=C:\Users\jenkins.minikube7\minikube-integration\.minikube\certs\ca-key.pem org=jenkins.offline-docker-859000 san=[127.0.0.1 192.168.85.2 localhost minikube offline-docker-859000]
I0501 03:13:58.173387 11052 provision.go:177] copyRemoteCerts
I0501 03:13:58.181450 11052 ssh_runner.go:195] Run: sudo mkdir -p /etc/docker /etc/docker /etc/docker
I0501 03:13:58.188661 11052 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" offline-docker-859000
I0501 03:13:58.348538 11052 sshutil.go:53] new ssh client: &{IP:127.0.0.1 Port:51141 SSHKeyPath:C:\Users\jenkins.minikube7\minikube-integration\.minikube\machines\offline-docker-859000\id_rsa Username:docker}
I0501 03:13:58.477834 11052 ssh_runner.go:362] scp C:\Users\jenkins.minikube7\minikube-integration\.minikube\machines\server-key.pem --> /etc/docker/server-key.pem (1675 bytes)
I0501 03:13:58.523381 11052 ssh_runner.go:362] scp C:\Users\jenkins.minikube7\minikube-integration\.minikube\certs\ca.pem --> /etc/docker/ca.pem (1078 bytes)
I0501 03:13:58.564911 11052 ssh_runner.go:362] scp C:\Users\jenkins.minikube7\minikube-integration\.minikube\machines\server.pem --> /etc/docker/server.pem (1224 bytes)
I0501 03:13:58.625041 11052 provision.go:87] duration metric: took 1.0691137s to configureAuth
I0501 03:13:58.625041 11052 ubuntu.go:193] setting minikube options for container-runtime
I0501 03:13:58.627538 11052 config.go:182] Loaded profile config "offline-docker-859000": Driver=docker, ContainerRuntime=docker, KubernetesVersion=v1.30.0
I0501 03:13:58.635702 11052 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" offline-docker-859000
I0501 03:13:58.838016 11052 main.go:141] libmachine: Using SSH client type: native
I0501 03:13:58.838446 11052 main.go:141] libmachine: &{{{<nil> 0 [] [] []} docker [0x64a1c0] 0x64cda0 <nil> [] 0s} 127.0.0.1 51141 <nil> <nil>}
I0501 03:13:58.838499 11052 main.go:141] libmachine: About to run SSH command:
df --output=fstype / | tail -n 1
I0501 03:13:59.074895 11052 main.go:141] libmachine: SSH cmd err, output: <nil>: overlay
I0501 03:13:59.074933 11052 ubuntu.go:71] root file system type: overlay
I0501 03:13:59.074933 11052 provision.go:314] Updating docker unit: /lib/systemd/system/docker.service ...
I0501 03:13:59.082270 11052 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" offline-docker-859000
I0501 03:13:59.300177 11052 main.go:141] libmachine: Using SSH client type: native
I0501 03:13:59.300706 11052 main.go:141] libmachine: &{{{<nil> 0 [] [] []} docker [0x64a1c0] 0x64cda0 <nil> [] 0s} 127.0.0.1 51141 <nil> <nil>}
I0501 03:13:59.300889 11052 main.go:141] libmachine: About to run SSH command:
sudo mkdir -p /lib/systemd/system && printf %s "[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60
[Service]
Type=notify
Restart=on-failure
Environment="HTTP_PROXY=172.16.1.1:1"
# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
# The base configuration already specifies an 'ExecStart=...' command. The first directive
# here is to clear out that command inherited from the base configuration. Without this,
# the command from the base configuration and the command specified here are treated as
# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
# will catch this invalid input and refuse to start the service with an error like:
# Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.
# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
ExecStart=
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
ExecReload=/bin/kill -s HUP \$MAINPID
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity
TimeoutStartSec=0
# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes
# kill only the docker process, not all processes in the cgroup
KillMode=process
[Install]
WantedBy=multi-user.target
" | sudo tee /lib/systemd/system/docker.service.new
I0501 03:13:59.525588 11052 main.go:141] libmachine: SSH cmd err, output: <nil>: [Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
BindsTo=containerd.service
After=network-online.target firewalld.service containerd.service
Wants=network-online.target
Requires=docker.socket
StartLimitBurst=3
StartLimitIntervalSec=60
[Service]
Type=notify
Restart=on-failure
Environment=HTTP_PROXY=172.16.1.1:1
# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
# The base configuration already specifies an 'ExecStart=...' command. The first directive
# here is to clear out that command inherited from the base configuration. Without this,
# the command from the base configuration and the command specified here are treated as
# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
# will catch this invalid input and refuse to start the service with an error like:
# Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.
# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
ExecStart=
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
ExecReload=/bin/kill -s HUP $MAINPID
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity
TimeoutStartSec=0
# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes
# kill only the docker process, not all processes in the cgroup
KillMode=process
[Install]
WantedBy=multi-user.target
I0501 03:13:59.537753 11052 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" offline-docker-859000
I0501 03:13:59.729073 11052 main.go:141] libmachine: Using SSH client type: native
I0501 03:13:59.729666 11052 main.go:141] libmachine: &{{{<nil> 0 [] [] []} docker [0x64a1c0] 0x64cda0 <nil> [] 0s} 127.0.0.1 51141 <nil> <nil>}
I0501 03:13:59.729666 11052 main.go:141] libmachine: About to run SSH command:
sudo diff -u /lib/systemd/system/docker.service /lib/systemd/system/docker.service.new || { sudo mv /lib/systemd/system/docker.service.new /lib/systemd/system/docker.service; sudo systemctl -f daemon-reload && sudo systemctl -f enable docker && sudo systemctl -f restart docker; }
I0501 03:14:00.730540 11052 main.go:141] libmachine: SSH cmd err, output: Process exited with status 1: --- /lib/systemd/system/docker.service 2024-04-22 17:05:11.000000000 +0000
+++ /lib/systemd/system/docker.service.new 2024-05-01 03:13:59.517170653 +0000
@@ -1,46 +1,50 @@
[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
-After=network-online.target docker.socket firewalld.service containerd.service time-set.target
-Wants=network-online.target containerd.service
+BindsTo=containerd.service
+After=network-online.target firewalld.service containerd.service
+Wants=network-online.target
Requires=docker.socket
+StartLimitBurst=3
+StartLimitIntervalSec=60
[Service]
Type=notify
-# the default is not to use systemd for cgroups because the delegate issues still
-# exists and systemd currently does not support the cgroup feature set required
-# for containers run by docker
-ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
-ExecReload=/bin/kill -s HUP $MAINPID
-TimeoutStartSec=0
-RestartSec=2
-Restart=always
+Restart=on-failure
-# Note that StartLimit* options were moved from "Service" to "Unit" in systemd 229.
-# Both the old, and new location are accepted by systemd 229 and up, so using the old location
-# to make them work for either version of systemd.
-StartLimitBurst=3
+Environment=HTTP_PROXY=172.16.1.1:1
-# Note that StartLimitInterval was renamed to StartLimitIntervalSec in systemd 230.
-# Both the old, and new name are accepted by systemd 230 and up, so using the old name to make
-# this option work for either version of systemd.
-StartLimitInterval=60s
+
+# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
+# The base configuration already specifies an 'ExecStart=...' command. The first directive
+# here is to clear out that command inherited from the base configuration. Without this,
+# the command from the base configuration and the command specified here are treated as
+# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
+# will catch this invalid input and refuse to start the service with an error like:
+# Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.
+
+# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
+# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
+ExecStart=
+ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
+ExecReload=/bin/kill -s HUP $MAINPID
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
+LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
-# Comment TasksMax if your systemd version does not support it.
-# Only systemd 226 and above support this option.
+# Uncomment TasksMax if your systemd version supports it.
+# Only systemd 226 and above support this version.
TasksMax=infinity
+TimeoutStartSec=0
# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes
# kill only the docker process, not all processes in the cgroup
KillMode=process
-OOMScoreAdjust=-500
[Install]
WantedBy=multi-user.target
Synchronizing state of docker.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xeu docker.service" for details.
I0501 03:14:00.730601 11052 ubuntu.go:195] Error setting container-runtime options during provisioning ssh command error:
command : sudo diff -u /lib/systemd/system/docker.service /lib/systemd/system/docker.service.new || { sudo mv /lib/systemd/system/docker.service.new /lib/systemd/system/docker.service; sudo systemctl -f daemon-reload && sudo systemctl -f enable docker && sudo systemctl -f restart docker; }
err : Process exited with status 1
output : --- /lib/systemd/system/docker.service 2024-04-22 17:05:11.000000000 +0000
+++ /lib/systemd/system/docker.service.new 2024-05-01 03:13:59.517170653 +0000
@@ -1,46 +1,50 @@
[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
-After=network-online.target docker.socket firewalld.service containerd.service time-set.target
-Wants=network-online.target containerd.service
+BindsTo=containerd.service
+After=network-online.target firewalld.service containerd.service
+Wants=network-online.target
Requires=docker.socket
+StartLimitBurst=3
+StartLimitIntervalSec=60
[Service]
Type=notify
-# the default is not to use systemd for cgroups because the delegate issues still
-# exists and systemd currently does not support the cgroup feature set required
-# for containers run by docker
-ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
-ExecReload=/bin/kill -s HUP $MAINPID
-TimeoutStartSec=0
-RestartSec=2
-Restart=always
+Restart=on-failure
-# Note that StartLimit* options were moved from "Service" to "Unit" in systemd 229.
-# Both the old, and new location are accepted by systemd 229 and up, so using the old location
-# to make them work for either version of systemd.
-StartLimitBurst=3
+Environment=HTTP_PROXY=172.16.1.1:1
-# Note that StartLimitInterval was renamed to StartLimitIntervalSec in systemd 230.
-# Both the old, and new name are accepted by systemd 230 and up, so using the old name to make
-# this option work for either version of systemd.
-StartLimitInterval=60s
+
+# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
+# The base configuration already specifies an 'ExecStart=...' command. The first directive
+# here is to clear out that command inherited from the base configuration. Without this,
+# the command from the base configuration and the command specified here are treated as
+# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
+# will catch this invalid input and refuse to start the service with an error like:
+# Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.
+
+# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
+# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
+ExecStart=
+ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
+ExecReload=/bin/kill -s HUP $MAINPID
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
+LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
-# Comment TasksMax if your systemd version does not support it.
-# Only systemd 226 and above support this option.
+# Uncomment TasksMax if your systemd version supports it.
+# Only systemd 226 and above support this version.
TasksMax=infinity
+TimeoutStartSec=0
# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes
# kill only the docker process, not all processes in the cgroup
KillMode=process
-OOMScoreAdjust=-500
[Install]
WantedBy=multi-user.target
Synchronizing state of docker.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xeu docker.service" for details.
I0501 03:14:00.730742 11052 machine.go:97] duration metric: took 4.4387865s to provisionDockerMachine
I0501 03:14:00.730742 11052 client.go:171] duration metric: took 1m5.1633436s to LocalClient.Create
I0501 03:14:02.754803 11052 ssh_runner.go:195] Run: sh -c "df -h /var | awk 'NR==2{print $5}'"
I0501 03:14:02.763821 11052 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" offline-docker-859000
I0501 03:14:02.980266 11052 sshutil.go:53] new ssh client: &{IP:127.0.0.1 Port:51141 SSHKeyPath:C:\Users\jenkins.minikube7\minikube-integration\.minikube\machines\offline-docker-859000\id_rsa Username:docker}
I0501 03:14:03.127930 11052 ssh_runner.go:195] Run: sh -c "df -BG /var | awk 'NR==2{print $4}'"
I0501 03:14:03.140838 11052 start.go:128] duration metric: took 1m7.5772483s to createHost
I0501 03:14:03.140838 11052 start.go:83] releasing machines lock for "offline-docker-859000", held for 1m7.5772483s
W0501 03:14:03.140838 11052 start.go:713] error starting host: creating host: create: provisioning: ssh command error:
command : sudo diff -u /lib/systemd/system/docker.service /lib/systemd/system/docker.service.new || { sudo mv /lib/systemd/system/docker.service.new /lib/systemd/system/docker.service; sudo systemctl -f daemon-reload && sudo systemctl -f enable docker && sudo systemctl -f restart docker; }
err : Process exited with status 1
output : --- /lib/systemd/system/docker.service 2024-04-22 17:05:11.000000000 +0000
+++ /lib/systemd/system/docker.service.new 2024-05-01 03:13:59.517170653 +0000
@@ -1,46 +1,50 @@
[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
-After=network-online.target docker.socket firewalld.service containerd.service time-set.target
-Wants=network-online.target containerd.service
+BindsTo=containerd.service
+After=network-online.target firewalld.service containerd.service
+Wants=network-online.target
Requires=docker.socket
+StartLimitBurst=3
+StartLimitIntervalSec=60
[Service]
Type=notify
-# the default is not to use systemd for cgroups because the delegate issues still
-# exists and systemd currently does not support the cgroup feature set required
-# for containers run by docker
-ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
-ExecReload=/bin/kill -s HUP $MAINPID
-TimeoutStartSec=0
-RestartSec=2
-Restart=always
+Restart=on-failure
-# Note that StartLimit* options were moved from "Service" to "Unit" in systemd 229.
-# Both the old, and new location are accepted by systemd 229 and up, so using the old location
-# to make them work for either version of systemd.
-StartLimitBurst=3
+Environment=HTTP_PROXY=172.16.1.1:1
-# Note that StartLimitInterval was renamed to StartLimitIntervalSec in systemd 230.
-# Both the old, and new name are accepted by systemd 230 and up, so using the old name to make
-# this option work for either version of systemd.
-StartLimitInterval=60s
+
+# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
+# The base configuration already specifies an 'ExecStart=...' command. The first directive
+# here is to clear out that command inherited from the base configuration. Without this,
+# the command from the base configuration and the command specified here are treated as
+# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
+# will catch this invalid input and refuse to start the service with an error like:
+# Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.
+
+# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
+# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
+ExecStart=
+ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
+ExecReload=/bin/kill -s HUP $MAINPID
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
+LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
-# Comment TasksMax if your systemd version does not support it.
-# Only systemd 226 and above support this option.
+# Uncomment TasksMax if your systemd version supports it.
+# Only systemd 226 and above support this version.
TasksMax=infinity
+TimeoutStartSec=0
# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes
# kill only the docker process, not all processes in the cgroup
KillMode=process
-OOMScoreAdjust=-500
[Install]
WantedBy=multi-user.target
Synchronizing state of docker.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xeu docker.service" for details.
I0501 03:14:03.157846 11052 cli_runner.go:164] Run: docker container inspect offline-docker-859000 --format={{.State.Status}}
I0501 03:14:03.334839 11052 stop.go:39] StopHost: offline-docker-859000
W0501 03:14:03.335562 11052 register.go:133] "Stopping" was not found within the registered steps for "Initial Minikube Setup": [Initial Minikube Setup Selecting Driver Downloading Artifacts Starting Node Updating Driver Pulling Base Image Running on Localhost Local OS Release Creating Container Creating VM Running Remotely Preparing Kubernetes Generating certificates Booting control plane Configuring RBAC rules Configuring CNI Configuring Localhost Environment Verifying Kubernetes Enabling Addons Done]
I0501 03:14:03.344577 11052 out.go:177] * Stopping node "offline-docker-859000" ...
I0501 03:14:03.364821 11052 cli_runner.go:164] Run: docker container inspect offline-docker-859000 --format={{.State.Status}}
W0501 03:14:03.579242 11052 register.go:133] "PowerOff" was not found within the registered steps for "Initial Minikube Setup": [Initial Minikube Setup Selecting Driver Downloading Artifacts Starting Node Updating Driver Pulling Base Image Running on Localhost Local OS Release Creating Container Creating VM Running Remotely Preparing Kubernetes Generating certificates Booting control plane Configuring RBAC rules Configuring CNI Configuring Localhost Environment Verifying Kubernetes Enabling Addons Done]
I0501 03:14:03.585475 11052 out.go:177] * Powering off "offline-docker-859000" via SSH ...
I0501 03:14:03.598475 11052 cli_runner.go:164] Run: docker exec --privileged -t offline-docker-859000 /bin/bash -c "sudo init 0"
I0501 03:14:05.008665 11052 cli_runner.go:164] Run: docker container inspect offline-docker-859000 --format={{.State.Status}}
I0501 03:14:05.190781 11052 oci.go:658] container offline-docker-859000 status is Stopped
I0501 03:14:05.190781 11052 oci.go:670] Successfully shutdown container offline-docker-859000
I0501 03:14:05.190781 11052 stop.go:96] shutdown container: err=<nil>
I0501 03:14:05.190781 11052 main.go:141] libmachine: Stopping "offline-docker-859000"...
I0501 03:14:05.209238 11052 cli_runner.go:164] Run: docker container inspect offline-docker-859000 --format={{.State.Status}}
I0501 03:14:05.407738 11052 stop.go:66] stop err: Machine "offline-docker-859000" is already stopped.
I0501 03:14:05.407828 11052 stop.go:69] host is already stopped
W0501 03:14:06.411970 11052 register.go:133] "PowerOff" was not found within the registered steps for "Initial Minikube Setup": [Initial Minikube Setup Selecting Driver Downloading Artifacts Starting Node Updating Driver Pulling Base Image Running on Localhost Local OS Release Creating Container Creating VM Running Remotely Preparing Kubernetes Generating certificates Booting control plane Configuring RBAC rules Configuring CNI Configuring Localhost Environment Verifying Kubernetes Enabling Addons Done]
I0501 03:14:06.414815 11052 out.go:177] * Deleting "offline-docker-859000" in docker ...
I0501 03:14:06.421575 11052 cli_runner.go:164] Run: docker container inspect -f {{.Id}} offline-docker-859000
I0501 03:14:06.605766 11052 cli_runner.go:164] Run: docker container inspect offline-docker-859000 --format={{.State.Status}}
I0501 03:14:06.791012 11052 cli_runner.go:164] Run: docker exec --privileged -t offline-docker-859000 /bin/bash -c "sudo init 0"
W0501 03:14:07.014457 11052 cli_runner.go:211] docker exec --privileged -t offline-docker-859000 /bin/bash -c "sudo init 0" returned with exit code 1
I0501 03:14:07.014523 11052 oci.go:650] error shutdown offline-docker-859000: docker exec --privileged -t offline-docker-859000 /bin/bash -c "sudo init 0": exit status 1
stdout:
stderr:
Error response from daemon: container 8e6bf8b7feaea17b3211fb9a8f68f89f42e823a83e741360d14033bd1c82b788 is not running
I0501 03:14:08.046789 11052 cli_runner.go:164] Run: docker container inspect offline-docker-859000 --format={{.State.Status}}
I0501 03:14:08.233115 11052 oci.go:658] container offline-docker-859000 status is Stopped
I0501 03:14:08.233115 11052 oci.go:670] Successfully shutdown container offline-docker-859000
I0501 03:14:08.244687 11052 cli_runner.go:164] Run: docker rm -f -v offline-docker-859000
I0501 03:14:08.495801 11052 cli_runner.go:164] Run: docker container inspect -f {{.Id}} offline-docker-859000
W0501 03:14:08.697859 11052 cli_runner.go:211] docker container inspect -f {{.Id}} offline-docker-859000 returned with exit code 1
I0501 03:14:08.710924 11052 cli_runner.go:164] Run: docker network inspect offline-docker-859000 --format "{"Name": "{{.Name}}","Driver": "{{.Driver}}","Subnet": "{{range .IPAM.Config}}{{.Subnet}}{{end}}","Gateway": "{{range .IPAM.Config}}{{.Gateway}}{{end}}","MTU": {{if (index .Options "com.docker.network.driver.mtu")}}{{(index .Options "com.docker.network.driver.mtu")}}{{else}}0{{end}}, "ContainerIPs": [{{range $k,$v := .Containers }}"{{$v.IPv4Address}}",{{end}}]}"
I0501 03:14:08.900520 11052 cli_runner.go:164] Run: docker network rm offline-docker-859000
W0501 03:14:09.555926 11052 start.go:718] delete host: api remove: remove C:\Users\jenkins.minikube7\minikube-integration\.minikube\machines\offline-docker-859000\id_rsa: The process cannot access the file because it is being used by another process.
W0501 03:14:09.556161 11052 out.go:239] ! StartHost failed, but will try again: creating host: create: provisioning: ssh command error:
command : sudo diff -u /lib/systemd/system/docker.service /lib/systemd/system/docker.service.new || { sudo mv /lib/systemd/system/docker.service.new /lib/systemd/system/docker.service; sudo systemctl -f daemon-reload && sudo systemctl -f enable docker && sudo systemctl -f restart docker; }
err : Process exited with status 1
output : --- /lib/systemd/system/docker.service 2024-04-22 17:05:11.000000000 +0000
+++ /lib/systemd/system/docker.service.new 2024-05-01 03:13:59.517170653 +0000
@@ -1,46 +1,50 @@
[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
-After=network-online.target docker.socket firewalld.service containerd.service time-set.target
-Wants=network-online.target containerd.service
+BindsTo=containerd.service
+After=network-online.target firewalld.service containerd.service
+Wants=network-online.target
Requires=docker.socket
+StartLimitBurst=3
+StartLimitIntervalSec=60
[Service]
Type=notify
-# the default is not to use systemd for cgroups because the delegate issues still
-# exists and systemd currently does not support the cgroup feature set required
-# for containers run by docker
-ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
-ExecReload=/bin/kill -s HUP $MAINPID
-TimeoutStartSec=0
-RestartSec=2
-Restart=always
+Restart=on-failure
-# Note that StartLimit* options were moved from "Service" to "Unit" in systemd 229.
-# Both the old, and new location are accepted by systemd 229 and up, so using the old location
-# to make them work for either version of systemd.
-StartLimitBurst=3
+Environment=HTTP_PROXY=172.16.1.1:1
-# Note that StartLimitInterval was renamed to StartLimitIntervalSec in systemd 230.
-# Both the old, and new name are accepted by systemd 230 and up, so using the old name to make
-# this option work for either version of systemd.
-StartLimitInterval=60s
+
+# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
+# The base configuration already specifies an 'ExecStart=...' command. The first directive
+# here is to clear out that command inherited from the base configuration. Without this,
+# the command from the base configuration and the command specified here are treated as
+# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
+# will catch this invalid input and refuse to start the service with an error like:
+# Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.
+
+# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
+# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
+ExecStart=
+ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
+ExecReload=/bin/kill -s HUP $MAINPID
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
+LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
-# Comment TasksMax if your systemd version does not support it.
-# Only systemd 226 and above support this option.
+# Uncomment TasksMax if your systemd version supports it.
+# Only systemd 226 and above support this version.
TasksMax=infinity
+TimeoutStartSec=0
# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes
# kill only the docker process, not all processes in the cgroup
KillMode=process
-OOMScoreAdjust=-500
[Install]
WantedBy=multi-user.target
Synchronizing state of docker.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xeu docker.service" for details.
! StartHost failed, but will try again: creating host: create: provisioning: ssh command error:
command : sudo diff -u /lib/systemd/system/docker.service /lib/systemd/system/docker.service.new || { sudo mv /lib/systemd/system/docker.service.new /lib/systemd/system/docker.service; sudo systemctl -f daemon-reload && sudo systemctl -f enable docker && sudo systemctl -f restart docker; }
err : Process exited with status 1
output : --- /lib/systemd/system/docker.service 2024-04-22 17:05:11.000000000 +0000
+++ /lib/systemd/system/docker.service.new 2024-05-01 03:13:59.517170653 +0000
@@ -1,46 +1,50 @@
[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
-After=network-online.target docker.socket firewalld.service containerd.service time-set.target
-Wants=network-online.target containerd.service
+BindsTo=containerd.service
+After=network-online.target firewalld.service containerd.service
+Wants=network-online.target
Requires=docker.socket
+StartLimitBurst=3
+StartLimitIntervalSec=60
[Service]
Type=notify
-# the default is not to use systemd for cgroups because the delegate issues still
-# exists and systemd currently does not support the cgroup feature set required
-# for containers run by docker
-ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
-ExecReload=/bin/kill -s HUP $MAINPID
-TimeoutStartSec=0
-RestartSec=2
-Restart=always
+Restart=on-failure
-# Note that StartLimit* options were moved from "Service" to "Unit" in systemd 229.
-# Both the old, and new location are accepted by systemd 229 and up, so using the old location
-# to make them work for either version of systemd.
-StartLimitBurst=3
+Environment=HTTP_PROXY=172.16.1.1:1
-# Note that StartLimitInterval was renamed to StartLimitIntervalSec in systemd 230.
-# Both the old, and new name are accepted by systemd 230 and up, so using the old name to make
-# this option work for either version of systemd.
-StartLimitInterval=60s
+
+# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
+# The base configuration already specifies an 'ExecStart=...' command. The first directive
+# here is to clear out that command inherited from the base configuration. Without this,
+# the command from the base configuration and the command specified here are treated as
+# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
+# will catch this invalid input and refuse to start the service with an error like:
+# Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.
+
+# NOTE: default-ulimit=nofile is set to an arbitrary number for consistency with other
+# container runtimes. If left unlimited, it may result in OOM issues with MySQL.
+ExecStart=
+ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --default-ulimit=nofile=1048576:1048576 --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=docker --insecure-registry 10.96.0.0/12
+ExecReload=/bin/kill -s HUP $MAINPID
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
+LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
-# Comment TasksMax if your systemd version does not support it.
-# Only systemd 226 and above support this option.
+# Uncomment TasksMax if your systemd version supports it.
+# Only systemd 226 and above support this version.
TasksMax=infinity
+TimeoutStartSec=0
# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes
# kill only the docker process, not all processes in the cgroup
KillMode=process
-OOMScoreAdjust=-500
[Install]
WantedBy=multi-user.target
Synchronizing state of docker.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xeu docker.service" for details.
I0501 03:14:09.556270 11052 start.go:728] Will try again in 5 seconds ...
I0501 03:14:14.564077 11052 start.go:360] acquireMachinesLock for offline-docker-859000: {Name:mkf0ca32231f501ce4495c337938d0985bbcd88a Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I0501 03:14:14.564077 11052 start.go:364] duration metric: took 0s to acquireMachinesLock for "offline-docker-859000"
I0501 03:14:14.564077 11052 start.go:96] Skipping create...Using existing machine configuration
I0501 03:14:14.564621 11052 fix.go:54] fixHost starting:
I0501 03:14:14.564938 11052 fix.go:56] duration metric: took 316.3µs for fixHost
I0501 03:14:14.564938 11052 start.go:83] releasing machines lock for "offline-docker-859000", held for 860.1µs
W0501 03:14:14.564938 11052 out.go:239] * Failed to start docker container. Running "minikube delete -p offline-docker-859000" may fix it: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "offline-docker-859000": open C:\Users\jenkins.minikube7\minikube-integration\.minikube\machines\offline-docker-859000\config.json: The system cannot find the file specified.
* Failed to start docker container. Running "minikube delete -p offline-docker-859000" may fix it: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "offline-docker-859000": open C:\Users\jenkins.minikube7\minikube-integration\.minikube\machines\offline-docker-859000\config.json: The system cannot find the file specified.
I0501 03:14:14.572880 11052 out.go:177]
W0501 03:14:14.575974 11052 out.go:239] X Exiting due to GUEST_NOT_FOUND: Failed to start host: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "offline-docker-859000": open C:\Users\jenkins.minikube7\minikube-integration\.minikube\machines\offline-docker-859000\config.json: The system cannot find the file specified.
X Exiting due to GUEST_NOT_FOUND: Failed to start host: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore "offline-docker-859000": open C:\Users\jenkins.minikube7\minikube-integration\.minikube\machines\offline-docker-859000\config.json: The system cannot find the file specified.
W0501 03:14:14.575974 11052 out.go:239] * Suggestion: minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete'
* Suggestion: minikube is missing files relating to your guest environment. This can be fixed by running 'minikube delete'
W0501 03:14:14.575974 11052 out.go:239] * Related issue: https://github.com/kubernetes/minikube/issues/9130
* Related issue: https://github.com/kubernetes/minikube/issues/9130
I0501 03:14:14.578884 11052 out.go:177]
** /stderr **
aab_offline_test.go:58: out/minikube-windows-amd64.exe start -p offline-docker-859000 --alsologtostderr -v=1 --memory=2048 --wait=true --driver=docker failed: exit status 85
panic.go:626: *** TestOffline FAILED at 2024-05-01 03:14:14.7135621 +0000 UTC m=+3945.442593101
helpers_test.go:222: -----------------------post-mortem--------------------------------
helpers_test.go:230: ======> post-mortem[TestOffline]: docker inspect <======
helpers_test.go:231: (dbg) Run: docker inspect offline-docker-859000
helpers_test.go:235: (dbg) docker inspect offline-docker-859000:
-- stdout --
[
{
"CreatedAt": "2024-05-01T03:12:56Z",
"Driver": "local",
"Labels": {
"created_by.minikube.sigs.k8s.io": "true",
"name.minikube.sigs.k8s.io": "offline-docker-859000"
},
"Mountpoint": "/var/lib/docker/volumes/offline-docker-859000/_data",
"Name": "offline-docker-859000",
"Options": null,
"Scope": "local"
}
]
-- /stdout --
helpers_test.go:239: (dbg) Run: out/minikube-windows-amd64.exe status --format={{.Host}} -p offline-docker-859000 -n offline-docker-859000
helpers_test.go:239: (dbg) Non-zero exit: out/minikube-windows-amd64.exe status --format={{.Host}} -p offline-docker-859000 -n offline-docker-859000: exit status 7 (246.7699ms)
-- stdout --
Nonexistent
-- /stdout --
** stderr **
W0501 03:14:15.081311 8308 main.go:291] Unable to resolve the current Docker CLI context "default": context "default": context not found: open C:\Users\jenkins.minikube7\.docker\contexts\meta\37a8eec1ce19687d132fe29051dca629d164e2c4958ba141d5f4133a33f0688f\meta.json: The system cannot find the path specified.
E0501 03:14:15.197318 8308 status.go:249] status error: host: load: filestore "offline-docker-859000": open C:\Users\jenkins.minikube7\minikube-integration\.minikube\machines\offline-docker-859000\config.json: The system cannot find the file specified.
** /stderr **
helpers_test.go:239: status error: exit status 7 (may be ok)
helpers_test.go:241: "offline-docker-859000" host is not running, skipping log retrieval (state="Nonexistent")
helpers_test.go:175: Cleaning up "offline-docker-859000" profile ...
helpers_test.go:178: (dbg) Run: out/minikube-windows-amd64.exe delete -p offline-docker-859000
helpers_test.go:178: (dbg) Done: out/minikube-windows-amd64.exe delete -p offline-docker-859000: (2.9993761s)
--- FAIL: TestOffline (84.47s)