You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test-cmd and test-end-to-end not using tmpfs for etcd #18240
etcd needs to run on fast storage during our test-cmd and test-e2e runs. We used to run on a ramdisk.
This is a known problem that we've fixed before, but has slipped. #18160 proved the problem, but trying to wire a fix is beyond my level of knowledge.
2 of the last 10 test-cmd runs have failed on this. This caused 3 of the last 5 failures in test-cmd.
2 of the last 6 test-end-to-end runs have failed on this. This caused 4 of the last 5 failures in test-end-to-end.
Hm. Maybe false alarm? If the sub-mount is a different fstype it shows up fine in the df output. Even if it's not, docker inspect and the mount table both show the sub-mount anyway.
Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
Activity
stevekuznetsov commentedon Jan 23, 2018
Need to turn on the checks from that PR and rebase #16686 to fix it
/assign
stevekuznetsov commentedon Jan 26, 2018
Fixed in openshift-eng/aos-cd-jobs#1037
Seeing jobs run like https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_cmd/9249/consoleFull
/close
deads2k commentedon Jan 29, 2018
This doesn't appear to fixed. https://openshift-gce-devel.appspot.com/build/origin-ci-test/pr-logs/pull/18310/test_pull_request_origin_cmd/9317/ warned with
stevekuznetsov commentedon Jan 29, 2018
🤔
stevekuznetsov commentedon Jan 29, 2018
Amazing.
docker-1.12.6-6.gitae7d637.fc25.x86_64on my host will mount correctly,docker-1.12.6-71.git3e8e77d.el7.x86_64on the CI hosts will not.stevekuznetsov commentedon Jan 29, 2018
Specifically, on the Docker on my workstation (
docker-1.12.6-6.gitae7d637.fc25.x86_64) I see:Full output
On the Docker we have in CI (
docker-1.12.6-71.git3e8e77d.el7.x86_64) I see:Full outpuut
stevekuznetsov commentedon Jan 29, 2018
Changing the order in CI doesn't matter, either:
Full output
derekwaynecarr commentedon Jan 29, 2018
@runcom can you assist here?
mrunalp commentedon Jan 29, 2018
@stevekuznetsov Can you get output of /proc/1/mountinfo for both cases?
stevekuznetsov commentedon Jan 29, 2018
Debug info with the more specific mount first:
docker inspect[ { "Id": "32fc36708e6d052654295eb621b3b87dc9690dcecdff927a2b2747d90fe95b07", "Created": "2018-01-29T18:01:45.324606923Z", "Path": "/bin/bash", "Args": [ "-c", "hack/steve.sh; return_code=$?; sleep 1; exit ${return_code}" ], "State": { "Status": "exited", "Running": false, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 0, "ExitCode": 1, "Error": "", "StartedAt": "2018-01-29T18:01:51.066502327Z", "FinishedAt": "2018-01-29T18:01:52.916232603Z" }, "Image": "sha256:abf4e8e18639509896ba7d67b9d7606f55dc1693048aa947543ecaa47cbbda85", "ResolvConfPath": "/var/lib/docker/containers/32fc36708e6d052654295eb621b3b87dc9690dcecdff927a2b2747d90fe95b07/resolv.conf", "HostnamePath": "/var/lib/docker/containers/32fc36708e6d052654295eb621b3b87dc9690dcecdff927a2b2747d90fe95b07/hostname", "HostsPath": "/var/lib/docker/containers/32fc36708e6d052654295eb621b3b87dc9690dcecdff927a2b2747d90fe95b07/hosts", "LogPath": "", "Name": "/nauseous_goldberg", "RestartCount": 0, "Driver": "devicemapper", "MountLabel": "", "ProcessLabel": "", "AppArmorProfile": "", "ExecIDs": null, "HostConfig": { "Binds": [ "/tmp/etcd:/tmp/openshift/steve/etcd", "/var/run/docker.sock:/var/run/docker.sock", "origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811:/tmp", "origin-build-9ab7a71de8bde9d863990dab10a758a0cd90e811:/go/src/github.com/openshift/origin" ], "ContainerIDFile": "", "LogConfig": { "Type": "journald", "Config": {} }, "NetworkMode": "default", "PortBindings": {}, "RestartPolicy": { "Name": "no", "MaximumRetryCount": 0 }, "AutoRemove": false, "VolumeDriver": "", "VolumesFrom": null, "CapAdd": null, "CapDrop": null, "Dns": [], "DnsOptions": [], "DnsSearch": [], "ExtraHosts": null, "GroupAdd": null, "IpcMode": "", "Cgroup": "", "Links": null, "OomScoreAdj": 0, "PidMode": "", "Privileged": true, "PublishAllPorts": false, "ReadonlyRootfs": false, "SecurityOpt": [ "label=disable" ], "UTSMode": "", "UsernsMode": "", "ShmSize": 67108864, "Runtime": "docker-runc", "ConsoleSize": [ 0, 0 ], "Isolation": "", "CpuShares": 0, "Memory": 0, "CgroupParent": "", "BlkioWeight": 0, "BlkioWeightDevice": null, "BlkioDeviceReadBps": null, "BlkioDeviceWriteBps": null, "BlkioDeviceReadIOps": null, "BlkioDeviceWriteIOps": null, "CpuPeriod": 0, "CpuQuota": 0, "CpusetCpus": "", "CpusetMems": "", "Devices": [], "DiskQuota": 0, "KernelMemory": 0, "MemoryReservation": 0, "MemorySwap": 0, "MemorySwappiness": -1, "OomKillDisable": false, "PidsLimit": 0, "Ulimits": null, "CpuCount": 0, "CpuPercent": 0, "IOMaximumIOps": 0, "IOMaximumBandwidth": 0 }, "GraphDriver": { "Name": "devicemapper", "Data": { "DeviceId": "170", "DeviceName": "docker-202:2-62970247-b44b77c744157b98188bf8578f0954d7bbf85294591914e36fa2e27e48785439", "DeviceSize": "10737418240" } }, "Mounts": [ { "Name": "origin-build-9ab7a71de8bde9d863990dab10a758a0cd90e811", "Source": "/var/lib/docker/volumes/origin-build-9ab7a71de8bde9d863990dab10a758a0cd90e811/_data", "Destination": "/go/src/github.com/openshift/origin", "Driver": "local", "Mode": "z", "RW": true, "Propagation": "rprivate" }, { "Source": "/tmp/etcd", "Destination": "/tmp/openshift/steve/etcd", "Mode": "", "RW": true, "Propagation": "rprivate" }, { "Source": "/var/run/docker.sock", "Destination": "/var/run/docker.sock", "Mode": "", "RW": true, "Propagation": "rprivate" }, { "Name": "origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811", "Source": "/var/lib/docker/volumes/origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811/_data", "Destination": "/tmp", "Driver": "local", "Mode": "z", "RW": true, "Propagation": "rprivate" } ], "Config": { "Hostname": "32fc36708e6d", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": true, "AttachStderr": true, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "OS_VERSION_FILE=", "OS_DEBUG=true", "JUNIT_REPORT=true", "OS_TMPFS_REQUIRED=true", "OPENSHIFT_BUILD_NAME=origin-release-golang-1.9-4", "OPENSHIFT_BUILD_NAMESPACE=stable", "OPENSHIFT_BUILD_SOURCE=https://github.com/stevekuznetsov/release.git", "OPENSHIFT_BUILD_REFERENCE=skuznets/image-registry-build", "OPENSHIFT_BUILD_COMMIT=79bd0f792a101901236d133e0ef0d0787cc83dca", "VERSION=1.9", "GOARM=5", "GOPATH=/go", "GOROOT=/usr/local/go", "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/go/bin", "GIT_COMMITTER_NAME=developer", "[email protected]" ], "Cmd": [ "/bin/bash", "-c", "hack/steve.sh; return_code=$?; sleep 1; exit ${return_code}" ], "Image": "openshift/origin-release:golang-1.9", "Volumes": null, "WorkingDir": "/go/src/github.com/openshift/origin", "Entrypoint": [], "OnBuild": null, "Labels": { "build-date": "20171128", "io.k8s.description": "This is the standard release image for OpenShift Origin and contains the necessary build tools to build the platform.", "io.k8s.display-name": "OpenShift Origin Release Environment (golang-1.9)", "io.openshift.build.commit.author": "Steve Kuznetsov \\[email protected]\\u003e", "io.openshift.build.commit.date": "Fri Dec 1 11:50:48 2017 -0800", "io.openshift.build.commit.id": "79bd0f792a101901236d133e0ef0d0787cc83dca", "io.openshift.build.commit.message": "things", "io.openshift.build.commit.ref": "HEAD", "io.openshift.build.name": "origin-release-golang-1.9-4", "io.openshift.build.namespace": "stable", "io.openshift.build.source-context-dir": "projects/origin-release/golang-1.9", "io.openshift.build.source-location": "https://github.com/stevekuznetsov/release.git", "license": "GPLv2", "name": "CentOS Base Image", "vendor": "CentOS" } }, "NetworkSettings": { "Bridge": "", "SandboxID": "0ed2523b8b061ca58a35eef56b437d8e20f73081b542014b8cb0ecf8febb2bb6", "HairpinMode": false, "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "Ports": null, "SandboxKey": "/var/run/docker/netns/0ed2523b8b06", "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null, "EndpointID": "", "Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "MacAddress": "", "Networks": { "bridge": { "IPAMConfig": null, "Links": null, "Aliases": null, "NetworkID": "794a7521731ceb1e55e8c832e8765b77d2e4ecd7aae69644662249e08deeefc5", "EndpointID": "", "Gateway": "", "IPAddress": "", "IPPrefixLen": 0, "IPv6Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "MacAddress": "" } } } } ]cat /proc/1/mountinfostevekuznetsov commentedon Jan 29, 2018
Debug info with the more specific mount second:
docker inspect[ { "Id": "54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60", "Created": "2018-01-29T18:05:43.170427826Z", "Path": "/bin/bash", "Args": [ "-c", "hack/steve.sh; return_code=$?; sleep 1; exit ${return_code}" ], "State": { "Status": "running", "Running": true, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 5253, "ExitCode": 0, "Error": "", "StartedAt": "2018-01-29T18:05:48.747458765Z", "FinishedAt": "0001-01-01T00:00:00Z" }, "Image": "sha256:abf4e8e18639509896ba7d67b9d7606f55dc1693048aa947543ecaa47cbbda85", "ResolvConfPath": "/var/lib/docker/containers/54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60/resolv.conf", "HostnamePath": "/var/lib/docker/containers/54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60/hostname", "HostsPath": "/var/lib/docker/containers/54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60/hosts", "LogPath": "", "Name": "/suspicious_brown", "RestartCount": 0, "Driver": "devicemapper", "MountLabel": "", "ProcessLabel": "", "AppArmorProfile": "", "ExecIDs": null, "HostConfig": { "Binds": [ "/var/run/docker.sock:/var/run/docker.sock", "origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811:/tmp", "origin-build-9ab7a71de8bde9d863990dab10a758a0cd90e811:/go/src/github.com/openshift/origin", "/tmp/etcd:/tmp/openshift/steve/etcd" ], "ContainerIDFile": "", "LogConfig": { "Type": "journald", "Config": {} }, "NetworkMode": "default", "PortBindings": {}, "RestartPolicy": { "Name": "no", "MaximumRetryCount": 0 }, "AutoRemove": false, "VolumeDriver": "", "VolumesFrom": null, "CapAdd": null, "CapDrop": null, "Dns": [], "DnsOptions": [], "DnsSearch": [], "ExtraHosts": null, "GroupAdd": null, "IpcMode": "", "Cgroup": "", "Links": null, "OomScoreAdj": 0, "PidMode": "", "Privileged": true, "PublishAllPorts": false, "ReadonlyRootfs": false, "SecurityOpt": [ "label=disable" ], "UTSMode": "", "UsernsMode": "", "ShmSize": 67108864, "Runtime": "docker-runc", "ConsoleSize": [ 0, 0 ], "Isolation": "", "CpuShares": 0, "Memory": 0, "CgroupParent": "", "BlkioWeight": 0, "BlkioWeightDevice": null, "BlkioDeviceReadBps": null, "BlkioDeviceWriteBps": null, "BlkioDeviceReadIOps": null, "BlkioDeviceWriteIOps": null, "CpuPeriod": 0, "CpuQuota": 0, "CpusetCpus": "", "CpusetMems": "", "Devices": [], "DiskQuota": 0, "KernelMemory": 0, "MemoryReservation": 0, "MemorySwap": 0, "MemorySwappiness": -1, "OomKillDisable": false, "PidsLimit": 0, "Ulimits": null, "CpuCount": 0, "CpuPercent": 0, "IOMaximumIOps": 0, "IOMaximumBandwidth": 0 }, "GraphDriver": { "Name": "devicemapper", "Data": { "DeviceId": "182", "DeviceName": "docker-202:2-62970247-b0db0c551f00627a049bf6002484039c565319491d2f357854ea5d0333fb6798", "DeviceSize": "10737418240" } }, "Mounts": [ { "Source": "/var/run/docker.sock", "Destination": "/var/run/docker.sock", "Mode": "", "RW": true, "Propagation": "rprivate" }, { "Name": "origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811", "Source": "/var/lib/docker/volumes/origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811/_data", "Destination": "/tmp", "Driver": "local", "Mode": "z", "RW": true, "Propagation": "rprivate" }, { "Name": "origin-build-9ab7a71de8bde9d863990dab10a758a0cd90e811", "Source": "/var/lib/docker/volumes/origin-build-9ab7a71de8bde9d863990dab10a758a0cd90e811/_data", "Destination": "/go/src/github.com/openshift/origin", "Driver": "local", "Mode": "z", "RW": true, "Propagation": "rprivate" }, { "Source": "/tmp/etcd", "Destination": "/tmp/openshift/steve/etcd", "Mode": "", "RW": true, "Propagation": "rprivate" } ], "Config": { "Hostname": "54e53ea4caf2", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": true, "AttachStderr": true, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "OS_VERSION_FILE=", "OS_DEBUG=true", "JUNIT_REPORT=true", "OS_TMPFS_REQUIRED=true", "OPENSHIFT_BUILD_NAME=origin-release-golang-1.9-4", "OPENSHIFT_BUILD_NAMESPACE=stable", "OPENSHIFT_BUILD_SOURCE=https://github.com/stevekuznetsov/release.git", "OPENSHIFT_BUILD_REFERENCE=skuznets/image-registry-build", "OPENSHIFT_BUILD_COMMIT=79bd0f792a101901236d133e0ef0d0787cc83dca", "VERSION=1.9", "GOARM=5", "GOPATH=/go", "GOROOT=/usr/local/go", "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/go/bin", "GIT_COMMITTER_NAME=developer", "[email protected]" ], "Cmd": [ "/bin/bash", "-c", "hack/steve.sh; return_code=$?; sleep 1; exit ${return_code}" ], "Image": "openshift/origin-release:golang-1.9", "Volumes": null, "WorkingDir": "/go/src/github.com/openshift/origin", "Entrypoint": [], "OnBuild": null, "Labels": { "build-date": "20171128", "io.k8s.description": "This is the standard release image for OpenShift Origin and contains the necessary build tools to build the platform.", "io.k8s.display-name": "OpenShift Origin Release Environment (golang-1.9)", "io.openshift.build.commit.author": "Steve Kuznetsov \\[email protected]\\u003e", "io.openshift.build.commit.date": "Fri Dec 1 11:50:48 2017 -0800", "io.openshift.build.commit.id": "79bd0f792a101901236d133e0ef0d0787cc83dca", "io.openshift.build.commit.message": "things", "io.openshift.build.commit.ref": "HEAD", "io.openshift.build.name": "origin-release-golang-1.9-4", "io.openshift.build.namespace": "stable", "io.openshift.build.source-context-dir": "projects/origin-release/golang-1.9", "io.openshift.build.source-location": "https://github.com/stevekuznetsov/release.git", "license": "GPLv2", "name": "CentOS Base Image", "vendor": "CentOS" } }, "NetworkSettings": { "Bridge": "", "SandboxID": "d004c7feb9f2f1830086a51de91ef9e282e9ee0043cfce9567a48bb31a34191e", "HairpinMode": false, "LinkLocalIPv6Address": "", "LinkLocalIPv6PrefixLen": 0, "Ports": {}, "SandboxKey": "/var/run/docker/netns/d004c7feb9f2", "SecondaryIPAddresses": null, "SecondaryIPv6Addresses": null, "EndpointID": "5f2333d3a9994f2c1947fdb294d0aecbcf686fc0d554a78ff67d42832e457b53", "Gateway": "172.17.0.1", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "IPAddress": "172.17.0.2", "IPPrefixLen": 16, "IPv6Gateway": "", "MacAddress": "02:42:ac:11:00:02", "Networks": { "bridge": { "IPAMConfig": null, "Links": null, "Aliases": null, "NetworkID": "794a7521731ceb1e55e8c832e8765b77d2e4ecd7aae69644662249e08deeefc5", "EndpointID": "5f2333d3a9994f2c1947fdb294d0aecbcf686fc0d554a78ff67d42832e457b53", "Gateway": "172.17.0.1", "IPAddress": "172.17.0.2", "IPPrefixLen": 16, "IPv6Gateway": "", "GlobalIPv6Address": "", "GlobalIPv6PrefixLen": 0, "MacAddress": "02:42:ac:11:00:02" } } } } ]cat /proc/1/mountinfostevekuznetsov commentedon Jan 29, 2018
So it does look like the mounts are in the container config
stevekuznetsov commentedon Jan 29, 2018
Hm. Maybe false alarm? If the sub-mount is a different fstype it shows up fine in the
dfoutput. Even if it's not,docker inspectand the mount table both show the sub-mount anyway.stevekuznetsov commentedon Jan 29, 2018
@deads2k I can see that the
test-cmdjobs are not fixed but if I SSH into a machine wheretest-cmdis running, I cannot reproduce this.openshift-bot commentedon Apr 29, 2018
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting
/remove-lifecycle stale.Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting
/lifecycle frozen.If this issue is safe to close now please do so with
/close./lifecycle stale
stevekuznetsov commentedon Apr 30, 2018
This got fixed?
/close