Skip to content

test-cmd and test-end-to-end not using tmpfs for etcd #18240

Closed

Description

@deads2k

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.

@derekwaynecarr @mfojtik @stevekuznetsov

Activity

  1. added this to the milestone on Jan 23, 2018
  2. stevekuznetsov commented on Jan 23, 2018

    @stevekuznetsov
    Contributor

    Need to turn on the checks from that PR and rebase #16686 to fix it

    /assign

  3. deads2k commented on Jan 29, 2018

    @deads2k
    ContributorAuthor

    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

    [WARNING] Expected `/tmp/openshift/test-cmd/etcd` to be mounted on `tmpfs` but found `xfs` instead.
    
  4. stevekuznetsov commented on Jan 29, 2018

    @stevekuznetsov
    Contributor

    🤔

  5. stevekuznetsov commented on Jan 29, 2018

    @stevekuznetsov
    Contributor

    Amazing. docker-1.12.6-6.gitae7d637.fc25.x86_64 on my host will mount correctly, docker-1.12.6-71.git3e8e77d.el7.x86_64 on the CI hosts will not.

  6. stevekuznetsov commented on Jan 29, 2018

    @stevekuznetsov
    Contributor

    Specifically, on the Docker on my workstation (docker-1.12.6-6.gitae7d637.fc25.x86_64) I see:

    $ docker create -v /tmp/etcd:/tmp/openshift/steve/etcd -w /go/src/github.com/openshift/origin --privileged -v /var/run/docker.sock:/var/run/docker.sock -v origin-build-tmp-cc86e6b2e5bc983f3e8c8414c2a4f575461e8e31:/tmp -v origin-build-cc86e6b2e5bc983f3e8c8414c2a4f575461e8e31:/go/src/github.com/openshift/origin -e OS_VERSION_FILE= -e OS_DEBUG=true -e JUNIT_REPORT=true -e OS_TMPFS_REQUIRED=true openshift/origin-release:golang-1.9 /bin/bash -c hack/steve.sh ...
    ...
    [DEBUG] Filesystem information:
    [DEBUG] Filesystem                                                                                        Type   Size  Used Avail Use% Mounted on
    [DEBUG] /dev/mapper/docker-253:1-1182691-fc91b7fd8f52e681ac1da69a497e9de3a2fa8207dd622cb6e72896212abee858 xfs    100G 1011M   99G   1% /
    [DEBUG] tmpfs                                                                                             tmpfs  7.7G     0  7.7G   0% /dev
    [DEBUG] tmpfs                                                                                             tmpfs  7.7G     0  7.7G   0% /sys/fs/cgroup
    [DEBUG] /dev/mapper/fedora-root                                                                           ext4   227G  124G   94G  57% /tmp
    [DEBUG] shm                                                                                               tmpfs   64M     0   64M   0% /dev/shm
    [DEBUG] tmpfs                                                                                             tmpfs  7.7G  2.0M  7.7G   1% /run/docker.sock
    [DEBUG] tmpfs                                                                                             tmpfs  7.7G  833M  6.9G  11% /tmp/openshift/steve/etcd
    
    Full output
    $ OS_BUILD_ENV_DOCKER_ARGS='-v /tmp/etcd:/tmp/openshift/steve/etcd' OS_DEBUG=true OS_BUILD_ENV_PRESERVE=_output/scripts hack/env OS_DEBUG=true JUNIT_REPORT='true' OS_TMPFS_REQUIRED=true hack/steve.sh
    [DEBUG] Using commit HEAD
    [DEBUG] Using volume origin-build-cc86e6b2e5bc983f3e8c8414c2a4f575461e8e31
    [DEBUG] Using tmp volume origin-build-tmp-cc86e6b2e5bc983f3e8c8414c2a4f575461e8e31
    [DEBUG] Re-using volume origin-build-cc86e6b2e5bc983f3e8c8414c2a4f575461e8e31
    [DEBUG] Creating volume origin-build-tmp-cc86e6b2e5bc983f3e8c8414c2a4f575461e8e31
    [DEBUG] Creating container: `docker create -v /tmp/etcd:/tmp/openshift/steve/etcd -w /go/src/github.com/openshift/origin --privileged -v /var/run/docker.sock:/var/run/docker.sock -v origin-build-tmp-cc86e6b2e5bc983f3e8c8414c2a4f575461e8e31:/tmp -v origin-build-cc86e6b2e5bc983f3e8c8414c2a4f575461e8e31:/go/src/github.com/openshift/origin -e OS_VERSION_FILE= -e OS_DEBUG=true -e JUNIT_REPORT=true -e OS_TMPFS_REQUIRED=true openshift/origin-release:golang-1.9 /bin/bash -c hack/steve.sh; return_code=$?; sleep 1; exit ${return_code}
    [DEBUG] Using container 9849475f4d5e9820da87a310523ad979f2c42eaac6c3800a19da8652a66a7e37
    [DEBUG] Syncing source using `rsync`
    [DEBUG] Starting container 9849475f4d5e9820da87a310523ad979f2c42eaac6c3800a19da8652a66a7e37
    [DEBUG] Following container logs
    /go/src/github.com/openshift/origin/hack/lib/util/environment.sh: line 172: openshift: command not found
    /go/src/github.com/openshift/origin/hack/lib/util/environment.sh: line 235: openshift: command not found
    before
    [DEBUG] Filesystem information:
    [DEBUG] Filesystem                                                                                        Type   Size  Used Avail Use% Mounted on
    [DEBUG] /dev/mapper/docker-253:1-1182691-fc91b7fd8f52e681ac1da69a497e9de3a2fa8207dd622cb6e72896212abee858 xfs    100G 1011M   99G   1% /
    [DEBUG] tmpfs                                                                                             tmpfs  7.7G     0  7.7G   0% /dev
    [DEBUG] tmpfs                                                                                             tmpfs  7.7G     0  7.7G   0% /sys/fs/cgroup
    [DEBUG] /dev/mapper/fedora-root                                                                           ext4   227G  124G   94G  57% /tmp
    [DEBUG] shm                                                                                               tmpfs   64M     0   64M   0% /dev/shm
    [DEBUG] tmpfs                                                                                             tmpfs  7.7G  2.0M  7.7G   1% /run/docker.sock
    [DEBUG] tmpfs                                                                                             tmpfs  7.7G  833M  6.9G  11% /tmp/openshift/steve/etcd
    after
    [INFO] hack/steve.sh exited with code 0 after 00h 00m 00s
    [DEBUG] Container exited with 0
    [DEBUG] Copying from 9849475f4d5e9820da87a310523ad979f2c42eaac6c3800a19da8652a66a7e37:/go/src/github.com/openshift/origin/_output/scripts to _output
    [DEBUG] Stopping container 9849475f4d5e9820da87a310523ad979f2c42eaac6c3800a19da8652a66a7e37
    [DEBUG] Removing container 9849475f4d5e9820da87a310523ad979f2c42eaac6c3800a19da8652a66a7e37
    [DEBUG] Removing tmp build volume
    [DEBUG] Removing volume origin-build-tmp-cc86e6b2e5bc983f3e8c8414c2a4f575461e8e31
    

    On the Docker we have in CI (docker-1.12.6-71.git3e8e77d.el7.x86_64) I see:

    $ docker create -v /tmp/etcd:/tmp/openshift/steve/etcd -w /go/src/github.com/openshift/origin --privileged -v /var/run/docker.sock:/var/run/docker.sock -v origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811:/tmp -v origin-build-9ab7a71de8bde9d863990dab10a758a0cd90e811:/go/src/github.com/openshift/origin -e OS_VERSION_FILE= -e OS_DEBUG=true -e JUNIT_REPORT=true -e OS_TMPFS_REQUIRED=true openshift/origin-release:golang-1.9 /bin/bash -c hack/steve.sh ...
    ...
    [DEBUG] Filesystem                                                                                         Type   Size  Used Avail Use% Mounted on
    [DEBUG] /dev/mapper/docker-202:2-62970247-f0a42ee65655b1a09fa3fe0db770af8a924734700a3b8d3bbfe8787edef99246 xfs     10G  909M  9.2G   9% /
    [DEBUG] tmpfs                                                                                              tmpfs  7.8G     0  7.8G   0% /dev
    [DEBUG] tmpfs                                                                                              tmpfs  7.8G     0  7.8G   0% /sys/fs/cgroup
    [DEBUG] /dev/xvda2                                                                                         xfs     50G   19G   32G  37% /tmp
    [DEBUG] shm                                                                                                tmpfs   64M     0   64M   0% /dev/shm
    [DEBUG] tmpfs                                                                                              tmpfs  7.8G  444K  7.8G   1% /run/docker.sock
    
    Full outpuut
    $ OS_BUILD_ENV_DOCKER_ARGS='-v /tmp/etcd:/tmp/openshift/steve/etcd' OS_DEBUG=true OS_BUILD_ENV_PRESERVE=_output/scripts hack/env OS_DEBUG=true JUNIT_REPORT='true' OS_TMPFS_REQUIRED=true hack/steve.sh
    [DEBUG] Using commit HEAD
    [DEBUG] Using volume origin-build-9ab7a71de8bde9d863990dab10a758a0cd90e811
    [DEBUG] Using tmp volume origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811
    [DEBUG] Re-using volume origin-build-9ab7a71de8bde9d863990dab10a758a0cd90e811
    [DEBUG] Creating volume origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811
    [DEBUG] Creating container: `docker create -v /tmp/etcd:/tmp/openshift/steve/etcd -w /go/src/github.com/openshift/origin --privileged -v /var/run/docker.sock:/var/run/docker.sock -v origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811:/tmp -v origin-build-9ab7a71de8bde9d863990dab10a758a0cd90e811:/go/src/github.com/openshift/origin -e OS_VERSION_FILE= -e OS_DEBUG=true -e JUNIT_REPORT=true -e OS_TMPFS_REQUIRED=true openshift/origin-release:golang-1.9 /bin/bash -c hack/steve.sh; return_code=$?; sleep 1; exit ${return_code}
    [DEBUG] Using container bf9c0e45be2541067d1f3994672c063ca886e7ba2eeaaa4cf88852351f67e303
    [DEBUG] Syncing source using `rsync`
    [DEBUG] Starting container bf9c0e45be2541067d1f3994672c063ca886e7ba2eeaaa4cf88852351f67e303
    [DEBUG] Following container logs
    before
    [DEBUG] Filesystem information:
    [DEBUG] Filesystem                                                                                         Type   Size  Used Avail Use% Mounted on
    [DEBUG] /dev/mapper/docker-202:2-62970247-f0a42ee65655b1a09fa3fe0db770af8a924734700a3b8d3bbfe8787edef99246 xfs     10G  909M  9.2G   9% /
    [DEBUG] tmpfs                                                                                              tmpfs  7.8G     0  7.8G   0% /dev
    [DEBUG] tmpfs                                                                                              tmpfs  7.8G     0  7.8G   0% /sys/fs/cgroup
    [DEBUG] /dev/xvda2                                                                                         xfs     50G   19G   32G  37% /tmp
    [DEBUG] shm                                                                                                tmpfs   64M     0   64M   0% /dev/shm
    [DEBUG] tmpfs                                                                                              tmpfs  7.8G  444K  7.8G   1% /run/docker.sock
    [FATAL] Expected `/tmp/openshift/steve/etcd` to be mounted on `tmpfs` but found `xfs` instead.
    [ERROR] hack/steve.sh exited with code 1 after 00h 00m 29s
    [DEBUG] Container exited with 1
    [DEBUG] Copying from bf9c0e45be2541067d1f3994672c063ca886e7ba2eeaaa4cf88852351f67e303:/go/src/github.com/openshift/origin/_output/scripts to _output
    [DEBUG] hack/lib/log/stacktrace.sh:58: [[ -z "${errexit_set}" ]]
    [DEBUG] hack/lib/util/trap.sh:65: os::log::stacktrace::print
    [DEBUG] hack/lib/build/environment.sh:170: os::util::trap::err_handler
    [DEBUG] hack/lib/build/environment.sh:279: os::build::environment::withsource
    [DEBUG] hack/env:42: os::build::environment::run
    [DEBUG] hack/env:0: main
    [ERROR] PID 2312: hack/lib/build/environment.sh:170: `return "${exitcode}"` exited with status 1.
    [INFO] 		Stack Trace: 
    [INFO] 		  1: hack/lib/build/environment.sh:170: `return "${exitcode}"`
    [INFO] 		  2: hack/lib/build/environment.sh:279: os::build::environment::withsource
    [INFO] 		  3: hack/env:42: os::build::environment::run
    [INFO]   Exiting with code 1.
    [DEBUG] Stopping container bf9c0e45be2541067d1f3994672c063ca886e7ba2eeaaa4cf88852351f67e303
    [DEBUG] Removing container bf9c0e45be2541067d1f3994672c063ca886e7ba2eeaaa4cf88852351f67e303
    [DEBUG] Removing tmp build volume
    [DEBUG] Removing volume origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811
    
  7. stevekuznetsov commented on Jan 29, 2018

    @stevekuznetsov
    Contributor

    Changing the order in CI doesn't matter, either:

    docker create  -w /go/src/github.com/openshift/origin --privileged -v /var/run/docker.sock:/var/run/docker.sock -v origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811:/tmp -v origin-build-9ab7a71de8bde9d863990dab10a758a0cd90e811:/go/src/github.com/openshift/origin -e OS_VERSION_FILE= -v /tmp/etcd:/tmp/openshift/steve/etcd -e OS_DEBUG=true -e JUNIT_REPORT=true -e OS_TMPFS_REQUIRED=true openshift/origin-release:golang-1.9 /bin/bash -c hack/steve.sh ...
    ...
    [DEBUG] Filesystem information:
    [DEBUG] Filesystem                                                                                         Type   Size  Used Avail Use% Mounted on
    [DEBUG] /dev/mapper/docker-202:2-62970247-9a31694cd18c3340afbed244f0a34fe67fcf549763e671a5e74f6129d563040b xfs     10G  909M  9.2G   9% /
    [DEBUG] tmpfs                                                                                              tmpfs  7.8G     0  7.8G   0% /dev
    [DEBUG] tmpfs                                                                                              tmpfs  7.8G     0  7.8G   0% /sys/fs/cgroup
    [DEBUG] /dev/xvda2                                                                                         xfs     50G   19G   32G  37% /tmp
    [DEBUG] shm                                                                                                tmpfs   64M     0   64M   0% /dev/shm
    [DEBUG] tmpfs                                                                                              tmpfs  7.8G  444K  7.8G   1% /run/docker.sock
    
    Full output
    $ OS_BUILD_ENV_DOCKER_ARGS='-v /tmp/etcd:/tmp/openshift/steve/etcd' OS_DEBUG=true OS_BUILD_ENV_PRESERVE=_output/scripts hack/env OS_DEBUG=true JUNIT_REPORT='true' OS_TMPFS_REQUIRED=true hack/steve.sh
    [DEBUG] Using commit HEAD
    [DEBUG] Using volume origin-build-9ab7a71de8bde9d863990dab10a758a0cd90e811
    [DEBUG] Using tmp volume origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811
    [DEBUG] Re-using volume origin-build-9ab7a71de8bde9d863990dab10a758a0cd90e811
    [DEBUG] Re-using volume origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811
    [DEBUG] Creating container: `docker create  -w /go/src/github.com/openshift/origin --privileged -v /var/run/docker.sock:/var/run/docker.sock -v origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811:/tmp -v origin-build-9ab7a71de8bde9d863990dab10a758a0cd90e811:/go/src/github.com/openshift/origin -e OS_VERSION_FILE= -v /tmp/etcd:/tmp/openshift/steve/etcd -e OS_DEBUG=true -e JUNIT_REPORT=true -e OS_TMPFS_REQUIRED=true openshift/origin-release:golang-1.9 /bin/bash -c hack/steve.sh; return_code=$?; sleep 1; exit ${return_code}
    [DEBUG] Using container 6b05eb452460ea204060355b98d0e44ec1f8714c7e95c760e7d2f4e1754ab75e
    [DEBUG] Syncing source using `rsync`
    [DEBUG] Starting container 6b05eb452460ea204060355b98d0e44ec1f8714c7e95c760e7d2f4e1754ab75e
    [DEBUG] Following container logs
    before
    [DEBUG] Filesystem information:
    [DEBUG] Filesystem                                                                                         Type   Size  Used Avail Use% Mounted on
    [DEBUG] /dev/mapper/docker-202:2-62970247-9a31694cd18c3340afbed244f0a34fe67fcf549763e671a5e74f6129d563040b xfs     10G  909M  9.2G   9% /
    [DEBUG] tmpfs                                                                                              tmpfs  7.8G     0  7.8G   0% /dev
    [DEBUG] tmpfs                                                                                              tmpfs  7.8G     0  7.8G   0% /sys/fs/cgroup
    [DEBUG] /dev/xvda2                                                                                         xfs     50G   19G   32G  37% /tmp
    [DEBUG] shm                                                                                                tmpfs   64M     0   64M   0% /dev/shm
    [DEBUG] tmpfs                                                                                              tmpfs  7.8G  444K  7.8G   1% /run/docker.sock
    [FATAL] Expected `/tmp/openshift/steve/etcd` to be mounted on `tmpfs` but found `xfs` instead.
    [ERROR] hack/steve.sh exited with code 1 after 00h 00m 01s
    [DEBUG] Container exited with 1
    [DEBUG] Copying from 6b05eb452460ea204060355b98d0e44ec1f8714c7e95c760e7d2f4e1754ab75e:/go/src/github.com/openshift/origin/_output/scripts to _output
    [DEBUG] hack/lib/log/stacktrace.sh:58: [[ -z "${errexit_set}" ]]
    [DEBUG] hack/lib/util/trap.sh:65: os::log::stacktrace::print
    [DEBUG] hack/lib/build/environment.sh:170: os::util::trap::err_handler
    [DEBUG] hack/lib/build/environment.sh:279: os::build::environment::withsource
    [DEBUG] hack/env:42: os::build::environment::run
    [DEBUG] hack/env:0: main
    [ERROR] PID 3534: hack/lib/build/environment.sh:170: `return "${exitcode}"` exited with status 1.
    [INFO] 		Stack Trace: 
    [INFO] 		  1: hack/lib/build/environment.sh:170: `return "${exitcode}"`
    [INFO] 		  2: hack/lib/build/environment.sh:279: os::build::environment::withsource
    [INFO] 		  3: hack/env:42: os::build::environment::run
    [INFO]   Exiting with code 1.
    [DEBUG] Stopping container 6b05eb452460ea204060355b98d0e44ec1f8714c7e95c760e7d2f4e1754ab75e
    [DEBUG] Removing container 6b05eb452460ea204060355b98d0e44ec1f8714c7e95c760e7d2f4e1754ab75e
    [DEBUG] Removing tmp build volume
    [DEBUG] Removing volume origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811
    
  8. derekwaynecarr commented on Jan 29, 2018

    @derekwaynecarr
    Member

    @runcom can you assist here?

  9. mrunalp commented on Jan 29, 2018

    @mrunalp
    Member

    @stevekuznetsov Can you get output of /proc/1/mountinfo for both cases?

  10. stevekuznetsov commented on Jan 29, 2018

    @stevekuznetsov
    Contributor

    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/mountinfo
    227 159 253:4 /rootfs / rw,relatime - xfs /dev/mapper/docker-202:2-62970247-c92f2fe6ba87dc1ff4566dec4038bf3833dd3b8eac4538a672cc0cb41a08af2d rw,seclabel,nouuid,attr2,inode64,logbsize=128k,sunit=256,swidth=1024,noquota
    228 227 0:41 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw
    229 227 0:42 / /dev rw,nosuid - tmpfs tmpfs rw,seclabel,mode=755
    230 229 0:43 / /dev/pts rw,nosuid,noexec,relatime - devpts devpts rw,seclabel,gid=5,mode=620,ptmxmode=666
    231 227 0:44 / /sys rw,nosuid,nodev,noexec,relatime - sysfs sysfs rw,seclabel
    232 231 0:45 / /sys/fs/cgroup rw,nosuid,nodev,noexec,relatime - tmpfs tmpfs rw,seclabel,mode=755
    233 232 0:21 /system.slice/docker-7de8861924b440270a80d13d7d25e208b57f6b1353fa073c1dbfb6ecc5e52831.scope /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd
    234 232 0:23 /system.slice/docker-7de8861924b440270a80d13d7d25e208b57f6b1353fa073c1dbfb6ecc5e52831.scope /sys/fs/cgroup/pids rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,pids
    235 232 0:24 /system.slice/docker-7de8861924b440270a80d13d7d25e208b57f6b1353fa073c1dbfb6ecc5e52831.scope /sys/fs/cgroup/freezer rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,freezer
    236 232 0:25 /system.slice/docker-7de8861924b440270a80d13d7d25e208b57f6b1353fa073c1dbfb6ecc5e52831.scope /sys/fs/cgroup/cpuacct,cpu rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,cpuacct,cpu
    237 232 0:26 /system.slice/docker-7de8861924b440270a80d13d7d25e208b57f6b1353fa073c1dbfb6ecc5e52831.scope /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,cpuset
    238 232 0:27 /system.slice/docker-7de8861924b440270a80d13d7d25e208b57f6b1353fa073c1dbfb6ecc5e52831.scope /sys/fs/cgroup/net_prio,net_cls rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,net_prio,net_cls
    239 232 0:28 /system.slice/docker-7de8861924b440270a80d13d7d25e208b57f6b1353fa073c1dbfb6ecc5e52831.scope /sys/fs/cgroup/hugetlb rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,hugetlb
    240 232 0:29 /system.slice/docker-7de8861924b440270a80d13d7d25e208b57f6b1353fa073c1dbfb6ecc5e52831.scope /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,memory
    241 232 0:30 /system.slice/docker-7de8861924b440270a80d13d7d25e208b57f6b1353fa073c1dbfb6ecc5e52831.scope /sys/fs/cgroup/devices rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,devices
    242 232 0:31 /system.slice/docker-7de8861924b440270a80d13d7d25e208b57f6b1353fa073c1dbfb6ecc5e52831.scope /sys/fs/cgroup/perf_event rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,perf_event
    243 232 0:32 /system.slice/docker-7de8861924b440270a80d13d7d25e208b57f6b1353fa073c1dbfb6ecc5e52831.scope /sys/fs/cgroup/blkio rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,blkio
    244 229 0:40 / /dev/mqueue rw,nosuid,nodev,noexec,relatime - mqueue mqueue rw,seclabel
    245 227 202:2 /var/lib/docker/volumes/origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811/_data /tmp rw,relatime - xfs /dev/xvda2 rw,seclabel,attr2,inode64,noquota
    246 229 0:39 / /dev/shm rw,nosuid,nodev,noexec,relatime - tmpfs shm rw,seclabel,size=65536k
    247 227 202:2 /var/lib/docker/containers/7de8861924b440270a80d13d7d25e208b57f6b1353fa073c1dbfb6ecc5e52831/secrets /run/secrets rw,relatime - xfs /dev/xvda2 rw,seclabel,attr2,inode64,noquota
    248 227 202:2 /var/lib/docker/containers/7de8861924b440270a80d13d7d25e208b57f6b1353fa073c1dbfb6ecc5e52831/resolv.conf /etc/resolv.conf rw,relatime - xfs /dev/xvda2 rw,seclabel,attr2,inode64,noquota
    249 227 202:2 /var/lib/docker/containers/7de8861924b440270a80d13d7d25e208b57f6b1353fa073c1dbfb6ecc5e52831/hostname /etc/hostname rw,relatime - xfs /dev/xvda2 rw,seclabel,attr2,inode64,noquota
    250 227 202:2 /var/lib/docker/containers/7de8861924b440270a80d13d7d25e208b57f6b1353fa073c1dbfb6ecc5e52831/hosts /etc/hosts rw,relatime - xfs /dev/xvda2 rw,seclabel,attr2,inode64,noquota
    251 227 0:19 /docker.sock /run/docker.sock rw,nosuid,nodev - tmpfs tmpfs rw,seclabel,mode=755
    252 245 202:2 /tmp/etcd /tmp/openshift/steve/etcd rw,relatime - xfs /dev/xvda2 rw,seclabel,attr2,inode64,noquota
    253 227 202:2 /var/lib/docker/volumes/origin-build-9ab7a71de8bde9d863990dab10a758a0cd90e811/_data /go/src/github.com/openshift/origin rw,relatime - xfs /dev/xvda2 rw,seclabel,attr2,inode64,noquota
    
  11. stevekuznetsov commented on Jan 29, 2018

    @stevekuznetsov
    Contributor

    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/mountinfo
    228 227 0:41 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw
    229 227 0:42 / /dev rw,nosuid - tmpfs tmpfs rw,seclabel,mode=755
    230 229 0:43 / /dev/pts rw,nosuid,noexec,relatime - devpts devpts rw,seclabel,gid=5,mode=620,ptmxmode=666
    231 227 0:44 / /sys rw,nosuid,nodev,noexec,relatime - sysfs sysfs rw,seclabel
    232 231 0:45 / /sys/fs/cgroup rw,nosuid,nodev,noexec,relatime - tmpfs tmpfs rw,seclabel,mode=755
    233 232 0:21 /system.slice/docker-54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60.scope /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd
    234 232 0:23 /system.slice/docker-54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60.scope /sys/fs/cgroup/pids rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,pids
    235 232 0:24 /system.slice/docker-54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60.scope /sys/fs/cgroup/freezer rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,freezer
    236 232 0:25 /system.slice/docker-54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60.scope /sys/fs/cgroup/cpuacct,cpu rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,cpuacct,cpu
    237 232 0:26 /system.slice/docker-54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60.scope /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,cpuset
    238 232 0:27 /system.slice/docker-54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60.scope /sys/fs/cgroup/net_prio,net_cls rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,net_prio,net_cls
    239 232 0:28 /system.slice/docker-54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60.scope /sys/fs/cgroup/hugetlb rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,hugetlb
    240 232 0:29 /system.slice/docker-54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60.scope /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,memory
    241 232 0:30 /system.slice/docker-54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60.scope /sys/fs/cgroup/devices rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,devices
    242 232 0:31 /system.slice/docker-54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60.scope /sys/fs/cgroup/perf_event rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,perf_event
    243 232 0:32 /system.slice/docker-54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60.scope /sys/fs/cgroup/blkio rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,blkio
    244 229 0:40 / /dev/mqueue rw,nosuid,nodev,noexec,relatime - mqueue mqueue rw,seclabel
    245 227 202:2 /var/lib/docker/volumes/origin-build-tmp-9ab7a71de8bde9d863990dab10a758a0cd90e811/_data /tmp rw,relatime - xfs /dev/xvda2 rw,seclabel,attr2,inode64,noquota
    246 229 0:39 / /dev/shm rw,nosuid,nodev,noexec,relatime - tmpfs shm rw,seclabel,size=65536k
    247 227 202:2 /var/lib/docker/containers/54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60/secrets /run/secrets rw,relatime - xfs /dev/xvda2 rw,seclabel,attr2,inode64,noquota
    248 227 202:2 /var/lib/docker/containers/54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60/resolv.conf /etc/resolv.conf rw,relatime - xfs /dev/xvda2 rw,seclabel,attr2,inode64,noquota
    249 227 202:2 /var/lib/docker/containers/54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60/hostname /etc/hostname rw,relatime - xfs /dev/xvda2 rw,seclabel,attr2,inode64,noquota
    250 227 202:2 /var/lib/docker/containers/54e53ea4caf25310f5f596dc637add26064be5f72bbe943749e392ca40f3bd60/hosts /etc/hosts rw,relatime - xfs /dev/xvda2 rw,seclabel,attr2,inode64,noquota
    251 227 0:19 /docker.sock /run/docker.sock rw,nosuid,nodev - tmpfs tmpfs rw,seclabel,mode=755
    252 245 202:2 /tmp/etcd /tmp/openshift/steve/etcd rw,relatime - xfs /dev/xvda2 rw,seclabel,attr2,inode64,noquota
    253 227 202:2 /var/lib/docker/volumes/origin-build-9ab7a71de8bde9d863990dab10a758a0cd90e811/_data /go/src/github.com/openshift/origin rw,relatime - xfs /dev/xvda2 rw,seclabel,attr2,inode64,noquota
    
  12. stevekuznetsov commented on Jan 29, 2018

    @stevekuznetsov
    Contributor

    So it does look like the mounts are in the container config

  13. stevekuznetsov commented on Jan 29, 2018

    @stevekuznetsov
    Contributor

    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.

    258 251 0:39 /etcd /tmp/openshift/steve/etcd rw,relatime - tmpfs tmpfs rw,seclabel,size=4194304k
    [DEBUG] Filesystem information:
    [DEBUG] Filesystem                                                                                         Type   Size  Used Avail Use% Mounted on
    [DEBUG] /dev/mapper/docker-202:2-62970247-fb0c5c2854341ee8d52ea8397783ec5b04b7a85b75a465172337337e90afb36a xfs     10G  909M  9.2G   9% /
    [DEBUG] tmpfs                                                                                              tmpfs  7.8G     0  7.8G   0% /dev
    [DEBUG] tmpfs                                                                                              tmpfs  7.8G     0  7.8G   0% /sys/fs/cgroup
    [DEBUG] /dev/xvda2                                                                                         xfs     50G   19G   32G  37% /tmp
    [DEBUG] shm                                                                                                tmpfs   64M     0   64M   0% /dev/shm
    [DEBUG] tmpfs                                                                                              tmpfs  7.8G  532K  7.8G   1% /run/docker.sock
    [DEBUG] tmpfs                                                                                              tmpfs  4.0G     0  4.0G   0% /tmp/openshift/steve/etcd`
    
  14. stevekuznetsov commented on Jan 29, 2018

    @stevekuznetsov
    Contributor

    @deads2k I can see that the test-cmd jobs are not fixed but if I SSH into a machine where test-cmd is running, I cannot reproduce this.

  15. openshift-bot commented on Apr 29, 2018

    @openshift-bot
    Contributor

    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

  16. added
    lifecycle/stale
    on Apr 29, 2018
  17. stevekuznetsov commented on Apr 30, 2018

    @stevekuznetsov
    Contributor

    This got fixed?

    /close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area/testscomponent/internal-toolslifecycle/stalepriority/P0

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions