Skip to content

Instantly share code, notes, and snippets.

@icecrime
Last active August 29, 2015 14:09
Show Gist options
  • Save icecrime/c82ba2ffe7193275ff02 to your computer and use it in GitHub Desktop.
Save icecrime/c82ba2ffe7193275ff02 to your computer and use it in GitHub Desktop.
Windows Docker integration-cli output
# WARNING! I don't seem to be running in the Docker container.
# The result of this command might be an incorrect build, and will not be
# officially supported.
#
# Try this instead: make all
#
bundles/1.3.1-dev already exists. Removing.
---> Making bundle: binary (in bundles/1.3.1-dev/binary)
Created binary: E:/src/github.com/docker/docker/bundles/1.3.1-dev/binary/docker-1.3.1-dev.exe
---> Making bundle: test-integration-cli (in bundles/1.3.1-dev/test-integration-cli)
+++ docker pull busybox
Pulling repository busybox
e72ac664f4f0: Pulling image (latest) from busybox
e72ac664f4f0: Pulling image (latest) from busybox, endpoint: https://registry-1.docker.io/v1/
e72ac664f4f0: Pulling dependent layers
511136ea3c5a: Pulling metadata
511136ea3c5a: Pulling fs layer
511136ea3c5a: Download complete
df7546f9f060: Pulling metadata
df7546f9f060: Pulling fs layer
df7546f9f060: Download complete
e433a6c5b276: Pulling metadata
e433a6c5b276: Pulling fs layer
e433a6c5b276: Download complete
e72ac664f4f0: Pulling metadata
e72ac664f4f0: Pulling fs layer
e72ac664f4f0: Download complete
e72ac664f4f0: Download complete
Status: Downloaded newer image for busybox:latest
+ go test -test.timeout=30m github.com/docker/docker/integration-cli
--- FAIL: TestContainerApiGetAll (0.21 seconds)
docker_api_containers_test.go:28: GET all containers sockRequest failed: could not dial docker sock at \\var\run\docker.sock: dial unix \\var\run\docker.sock: An address incompatible with the requested protocol was used.
--- FAIL: TestContainerApiGetExport (0.30 seconds)
docker_api_containers_test.go:61: GET containers/export sockRequest failed: could not dial docker sock at \\var\run\docker.sock: dial unix \\var\run\docker.sock: An address incompatible with the requested protocol was used.
--- FAIL: TestContainerApiGetChanges (0.30 seconds)
docker_api_containers_test.go:97: GET containers/changes sockRequest failed: could not dial docker sock at \\var\run\docker.sock: dial unix \\var\run\docker.sock: An address incompatible with the requested protocol was used.
--- FAIL: TestInspectApiContainerResponse (0.25 seconds)
docker_api_inspect_test.go:29: sockRequest failed for v1.11 version: could not dial docker sock at \\var\run\docker.sock: dial unix \\var\run\docker.sock: An address incompatible with the requested protocol was used.
--- FAIL: TestResizeApiResponse (0.61 seconds)
docker_api_resize_test.go:21: resize Request failed could not dial docker sock at \\var\run\docker.sock: dial unix \\var\run\docker.sock: An address incompatible with the requested protocol was used.
--- FAIL: TestResizeApiResponseWhenContainerNotStarted (0.40 seconds)
docker_api_resize_test.go:49: resize should fail with message 'Cannot resize container' but instead received
[PASSED]: attach - multiple attach
[PASSED]: build - CMD should always contain /bin/sh -c when specified without JSON
[PASSED]: build - user environment replacement
[PASSED]: build - volume environment replacement
[PASSED]: build - expose environment replacement
[PASSED]: build - workdir environment replacement
[PASSED]: build - add/copy environment replacement
[PASSED]: build - env environment replacement
[PASSED]: build - handle escapes
[PASSED]: build - handle case-insensitive onbuild statement
[PASSED]: build - env should handle \$ properly
[PASSED]: build - env should overwrite builder ENV during run
[PASSED]: build - onbuild forbidden maintainer in source image
[PASSED]: build - onbuild forbidden from in source image
[PASSED]: build - onbuild forbidden chained in source image
[PASSED]: build - onbuild with json entrypoint/cmd
[PASSED]: build - onbuild with json entrypoint
--- FAIL: TestBuildCacheADD (0.15 seconds)
docker_cli_build_test.go:606: failed to build the image: Sending build context to Docker daemon 2.048 kB
Sending build context to Docker daemon
Step 0 : FROM scratch
---> 511136ea3c5a
Step 1 : ADD http://127.0.0.1:55914/robots.txt /
time="2014-11-21T17:53:15-08:00" level="info" msg="Get http://127.0.0.1:55914/robots.txt: dial tcp 127.0.0.1:55914: connection refused"
[PASSED]: build - build an image with sixty build steps
--- FAIL: TestBuildAddSingleFileToRoot (1.66 seconds)
docker_cli_build_test.go:665: failed to build the image: Sending build context to Docker daemon 3.072 kB
Sending build context to Docker daemon
Step 0 : FROM busybox
---> e72ac664f4f0
Step 1 : RUN echo 'dockerio:x:1001:1001::/bin:/bin/false' >> /etc/passwd
---> Running in 12ba2933cdb2
---> 238a67490ee4
Removing intermediate container 12ba2933cdb2
Step 2 : RUN echo 'dockerio:x:1001:' >> /etc/group
---> Running in 34ffc97339ad
---> b57fef7a53c7
Removing intermediate container 34ffc97339ad
Step 3 : RUN touch /exists
---> Running in 60a07cf2d833
---> 8806ac4aae90
Removing intermediate container 60a07cf2d833
Step 4 : RUN chown dockerio.dockerio /exists
---> Running in 2f6dbb3f4db2
---> 30dd637b27fe
Removing intermediate container 2f6dbb3f4db2
Step 5 : ADD test_file /
---> 345a32ec2492
Removing intermediate container 8fa3fd1941aa
Step 6 : RUN [ $(ls -l /test_file | awk '{print $3":"$4}') = 'root:root' ]
---> Running in eb40a00637ba
---> c6b46eb13b8c
Removing intermediate container eb40a00637ba
Step 7 : RUN [ $(ls -l /test_file | awk '{print $1}') = '-rw-r--r--' ]
---> Running in 0f63c9d9a613
time="2014-11-21T17:53:19-08:00" level="info" msg="The command [/bin/sh -c [ $(ls -l /test_file | awk '{print $1}') = '-rw-r--r--' ]] returned a non-zero code: 1"
[PASSED]: build - add single file to workdir
[PASSED]: build - add single file to existing dir
[PASSED]: build - mulitple file copy/add tests
[PASSED]: build - multiple add files to file
[PASSED]: build - multiple add files to file wild
[PASSED]: build - multiple copy files to file
--- FAIL: TestBuildCopyWildcard (0.81 seconds)
docker_cli_build_test.go:868: failed to build the image: Sending build context to Docker daemon 8.192 kB
Sending build context to Docker daemon
Step 0 : FROM busybox
---> e72ac664f4f0
Step 1 : COPY file*.txt /tmp/
---> a6cdd62e7193
Removing intermediate container 181b74d2535c
Step 2 : RUN ls /tmp/file1.txt /tmp/file2.txt
---> Running in baa0b8d4bbca
/tmp/file1.txt
/tmp/file2.txt
---> abbd8e4b15b8
Removing intermediate container baa0b8d4bbca
Step 3 : RUN mkdir /tmp1
---> Running in 2c0edce17748
---> ce45fcb0252c
Removing intermediate container 2c0edce17748
Step 4 : COPY dir* /tmp1/
---> 6440fb306eb9
Removing intermediate container 1fae49101aac
Step 5 : RUN ls /tmp1/dirt /tmp1/nested_file /tmp1/nested_dir/nest_nest_file
---> Running in 201e1b488509
/tmp1/dirt
ls: /tmp1/nested_file: No such file or directory
ls: /tmp1/nested_dir/nest_nest_file: No such file or directory
time="2014-11-21T17:53:26-08:00" level="info" msg="The command [/bin/sh -c ls /tmp1/dirt /tmp1/nested_file /tmp1/nested_dir/nest_nest_file] returned a non-zero code: 1"
[PASSED]: build - copy wild card no find
[PASSED]: build - copy wild card cache
[PASSED]: build - add single file to non-existing dir
--- FAIL: TestBuildAddDirContentToRoot (0.52 seconds)
docker_cli_build_test.go:988: failed to build the image: Sending build context to Docker daemon 3.584 kB
Sending build context to Docker daemon
Step 0 : FROM busybox
---> e72ac664f4f0
Step 1 : RUN echo 'dockerio:x:1001:1001::/bin:/bin/false' >> /etc/passwd
---> Using cache
---> 238a67490ee4
Step 2 : RUN echo 'dockerio:x:1001:' >> /etc/group
---> Using cache
---> b57fef7a53c7
Step 3 : RUN touch /exists
---> Using cache
---> 8806ac4aae90
Step 4 : RUN chown dockerio.dockerio exists
---> Running in f6754196bc5b
---> b6ad586d5302
Removing intermediate container f6754196bc5b
Step 5 : ADD test_dir /
---> c98d7d44aae5
Removing intermediate container 728ad59e4b1c
Step 6 : RUN [ $(ls -l /test_file | awk '{print $3":"$4}') = 'root:root' ]
---> Running in b2e2fd8a639f
ls: /test_file: No such file or directory
sh: root:root: unknown operand
time="2014-11-21T17:53:28-08:00" level="info" msg="The command [/bin/sh -c [ $(ls -l /test_file | awk '{print $3\":\"$4}') = 'root:root' ]] returned a non-zero code: 2"
--- FAIL: TestBuildAddDirContentToExistingDir (1.75 seconds)
docker_cli_build_test.go:1015: failed to build the image: Sending build context to Docker daemon 3.584 kB
Sending build context to Docker daemon
Step 0 : FROM busybox
---> e72ac664f4f0
Step 1 : RUN echo 'dockerio:x:1001:1001::/bin:/bin/false' >> /etc/passwd
---> Using cache
---> 238a67490ee4
Step 2 : RUN echo 'dockerio:x:1001:' >> /etc/group
---> Using cache
---> b57fef7a53c7
Step 3 : RUN mkdir /exists
---> Running in fe9e5acb2d5d
---> 9af020b4f623
Removing intermediate container fe9e5acb2d5d
Step 4 : RUN touch /exists/exists_file
---> Running in c35defbb3b3f
---> a804464e783f
Removing intermediate container c35defbb3b3f
Step 5 : RUN chown -R dockerio.dockerio /exists
---> Running in 13c10cfb5d21
---> fd0dc72d68c3
Removing intermediate container 13c10cfb5d21
Step 6 : ADD test_dir/ /exists/
---> 27cad698ffb9
Removing intermediate container 42e194968983
Step 7 : RUN [ $(ls -l / | grep exists | awk '{print $3":"$4}') = 'dockerio:dockerio' ]
---> Running in 6c29a30d56d1
---> b5726b3bc53b
Removing intermediate container 6c29a30d56d1
Step 8 : RUN [ $(ls -l /exists/exists_file | awk '{print $3":"$4}') = 'dockerio:dockerio' ]
---> Running in adcad18693dc
---> 06efd684795f
Removing intermediate container adcad18693dc
Step 9 : RUN [ $(ls -l /exists/test_file | awk '{print $3":"$4}') = 'root:root' ]
---> Running in fa98675f31fd
ls: /exists/test_file: No such file or directory
sh: root:root: unknown operand
time="2014-11-21T17:53:29-08:00" level="info" msg="The command [/bin/sh -c [ $(ls -l /exists/test_file | awk '{print $3\":\"$4}') = 'root:root' ]] returned a non-zero code: 2"
--- FAIL: TestBuildAddWholeDirToRoot (0.87 seconds)
docker_cli_build_test.go:1043: failed to build the image: Sending build context to Docker daemon 4.096 kB
Sending build context to Docker daemon
Step 0 : FROM busybox
---> e72ac664f4f0
Step 1 : RUN echo 'dockerio:x:1001:1001::/bin:/bin/false' >> /etc/passwd
---> Using cache
---> 238a67490ee4
Step 2 : RUN echo 'dockerio:x:1001:' >> /etc/group
---> Using cache
---> b57fef7a53c7
Step 3 : RUN touch /exists
---> Using cache
---> 8806ac4aae90
Step 4 : RUN chown dockerio.dockerio exists
---> Using cache
---> b6ad586d5302
Step 5 : ADD test_dir /test_dir
---> 13699c0afaa1
Removing intermediate container cfaaf3439f27
Step 6 : RUN [ $(ls -l / | grep test_dir | awk '{print $3":"$4}') = 'root:root' ]
---> Running in db421d53150a
---> 4cd28c4c28be
Removing intermediate container db421d53150a
Step 7 : RUN [ $(ls -l / | grep test_dir | awk '{print $1}') = 'drwxr-xr-x' ]
---> Running in eeb7164b2dad
---> 4bdad758577d
Removing intermediate container eeb7164b2dad
Step 8 : RUN [ $(ls -l /test_dir/test_file | awk '{print $3":"$4}') = 'root:root' ]
---> Running in 1153d9d4ea80
ls: /test_dir/test_file: No such file or directory
sh: root:root: unknown operand
time="2014-11-21T17:53:30-08:00" level="info" msg="The command [/bin/sh -c [ $(ls -l /test_dir/test_file | awk '{print $3\":\"$4}') = 'root:root' ]] returned a non-zero code: 2"
[PASSED]: build - add etc directory to root
--- FAIL: TestBuildCopySingleFileToRoot (0.54 seconds)
docker_cli_build_test.go:1089: failed to build the image: Sending build context to Docker daemon 3.072 kB
Sending build context to Docker daemon
Step 0 : FROM busybox
---> e72ac664f4f0
Step 1 : RUN echo 'dockerio:x:1001:1001::/bin:/bin/false' >> /etc/passwd
---> Using cache
---> 238a67490ee4
Step 2 : RUN echo 'dockerio:x:1001:' >> /etc/group
---> Using cache
---> b57fef7a53c7
Step 3 : RUN touch /exists
---> Using cache
---> 8806ac4aae90
Step 4 : RUN chown dockerio.dockerio /exists
---> Using cache
---> 30dd637b27fe
Step 5 : COPY test_file /
---> a28fb7290c29
Removing intermediate container fb7c0768b286
Step 6 : RUN [ $(ls -l /test_file | awk '{print $3":"$4}') = 'root:root' ]
---> Running in 9b0d98af7819
---> 0985cc7feb5a
Removing intermediate container 9b0d98af7819
Step 7 : RUN [ $(ls -l /test_file | awk '{print $1}') = '-rw-r--r--' ]
---> Running in bec22fe9b736
time="2014-11-21T17:53:31-08:00" level="info" msg="The command [/bin/sh -c [ $(ls -l /test_file | awk '{print $1}') = '-rw-r--r--' ]] returned a non-zero code: 1"
[PASSED]: build - copy single file to workdir
[PASSED]: build - copy single file to existing dir
[PASSED]: build - copy single file to non-existing dir
--- FAIL: TestBuildCopyDirContentToRoot (0.23 seconds)
docker_cli_build_test.go:1196: failed to build the image: Sending build context to Docker daemon 3.584 kB
Sending build context to Docker daemon
Step 0 : FROM busybox
---> e72ac664f4f0
Step 1 : RUN echo 'dockerio:x:1001:1001::/bin:/bin/false' >> /etc/passwd
---> Using cache
---> 238a67490ee4
Step 2 : RUN echo 'dockerio:x:1001:' >> /etc/group
---> Using cache
---> b57fef7a53c7
Step 3 : RUN touch /exists
---> Using cache
---> 8806ac4aae90
Step 4 : RUN chown dockerio.dockerio exists
---> Using cache
---> b6ad586d5302
Step 5 : COPY test_dir /
---> 64257026bfa0
Removing intermediate container 5cd426ae3df5
Step 6 : RUN [ $(ls -l /test_file | awk '{print $3":"$4}') = 'root:root' ]
---> Running in b2716a4c76cb
ls: /test_file: No such file or directory
sh: root:root: unknown operand
time="2014-11-21T17:53:33-08:00" level="info" msg="The command [/bin/sh -c [ $(ls -l /test_file | awk '{print $3\":\"$4}') = 'root:root' ]] returned a non-zero code: 2"
--- FAIL: TestBuildCopyDirContentToExistDir (0.89 seconds)
docker_cli_build_test.go:1223: failed to build the image: Sending build context to Docker daemon 3.584 kB
Sending build context to Docker daemon
Step 0 : FROM busybox
---> e72ac664f4f0
Step 1 : RUN echo 'dockerio:x:1001:1001::/bin:/bin/false' >> /etc/passwd
---> Using cache
---> 238a67490ee4
Step 2 : RUN echo 'dockerio:x:1001:' >> /etc/group
---> Using cache
---> b57fef7a53c7
Step 3 : RUN mkdir /exists
---> Using cache
---> 9af020b4f623
Step 4 : RUN touch /exists/exists_file
---> Using cache
---> a804464e783f
Step 5 : RUN chown -R dockerio.dockerio /exists
---> Using cache
---> fd0dc72d68c3
Step 6 : COPY test_dir/ /exists/
---> b54062af0bd4
Removing intermediate container 5b4955561e97
Step 7 : RUN [ $(ls -l / | grep exists | awk '{print $3":"$4}') = 'dockerio:dockerio' ]
---> Running in 71742ff3c893
---> e8d8b45283b8
Removing intermediate container 71742ff3c893
Step 8 : RUN [ $(ls -l /exists/exists_file | awk '{print $3":"$4}') = 'dockerio:dockerio' ]
---> Running in bbd89746f683
---> 7c31e8c8ccc3
Removing intermediate container bbd89746f683
Step 9 : RUN [ $(ls -l /exists/test_file | awk '{print $3":"$4}') = 'root:root' ]
---> Running in 25bd3c5bd4d1
ls: /exists/test_file: No such file or directory
sh: root:root: unknown operand
time="2014-11-21T17:53:34-08:00" level="info" msg="The command [/bin/sh -c [ $(ls -l /exists/test_file | awk '{print $3\":\"$4}') = 'root:root' ]] returned a non-zero code: 2"
--- FAIL: TestBuildCopyWholeDirToRoot (0.88 seconds)
docker_cli_build_test.go:1251: failed to build the image: Sending build context to Docker daemon 4.096 kB
Sending build context to Docker daemon
Step 0 : FROM busybox
---> e72ac664f4f0
Step 1 : RUN echo 'dockerio:x:1001:1001::/bin:/bin/false' >> /etc/passwd
---> Using cache
---> 238a67490ee4
Step 2 : RUN echo 'dockerio:x:1001:' >> /etc/group
---> Using cache
---> b57fef7a53c7
Step 3 : RUN touch /exists
---> Using cache
---> 8806ac4aae90
Step 4 : RUN chown dockerio.dockerio exists
---> Using cache
---> b6ad586d5302
Step 5 : COPY test_dir /test_dir
---> a086e1c37f17
Removing intermediate container f33b2b9e4223
Step 6 : RUN [ $(ls -l / | grep test_dir | awk '{print $3":"$4}') = 'root:root' ]
---> Running in fcea415409c1
---> 6ef05e0eed30
Removing intermediate container fcea415409c1
Step 7 : RUN [ $(ls -l / | grep test_dir | awk '{print $1}') = 'drwxr-xr-x' ]
---> Running in 621acafd9412
---> 1c7ce49ecb34
Removing intermediate container 621acafd9412
Step 8 : RUN [ $(ls -l /test_dir/test_file | awk '{print $3":"$4}') = 'root:root' ]
---> Running in 19c56d2bb7b6
ls: /test_dir/test_file: No such file or directory
sh: root:root: unknown operand
time="2014-11-21T17:53:35-08:00" level="info" msg="The command [/bin/sh -c [ $(ls -l /test_dir/test_file | awk '{print $3\":\"$4}') = 'root:root' ]] returned a non-zero code: 2"
[PASSED]: build - copy etc directory to root
[PASSED]: build - copy - disallow copy from remote
--- FAIL: TestBuildWithInaccessibleFilesInContext (0.07 seconds)
docker_cli_build_test.go:1302: failed to chown file to root: chown C:\cygwin64\tmp\fake-context545240352\fileWithoutReadAccess: not supported by windows
[PASSED]: build - ensure --force-rm doesn't leave containers behind
[PASSED]: build - ensure --rm doesn't leave containers behind and that --rm=true is the default
[PASSED]: build - ensure --rm=false overrides the default
[PASSED]: build - with volumes
[PASSED]: build - maintainer
[PASSED]: build - user
[PASSED]: build - relative workdir
[PASSED]: build - workdir with env variables
[PASSED]: build - env
--- FAIL: TestBuildContextCleanup (0.07 seconds)
docker_cli_build_test.go:1704: failed to list contents of tmp dir: open /var/lib/docker/tmp: The system cannot find the file specified.
--- FAIL: TestBuildContextCleanupFailedBuild (0.27 seconds)
docker_cli_build_test.go:1730: failed to list contents of tmp dir: open /var/lib/docker/tmp: The system cannot find the file specified.
[PASSED]: build - cmd
[PASSED]: build - expose
[PASSED]: build - empty entrypoint inheritance
[PASSED]: build - empty entrypoint
[PASSED]: build - entrypoint
[PASSED]: build - onbuild
[PASSED]: build - with cache
[PASSED]: build - without cache
[PASSED]: build - add local file with cache
[PASSED]: build - add multiple local files with cache
[PASSED]: build - add local file without cache
[PASSED]: build - add current directory but not file
[PASSED]: build - add current directory with cache
[PASSED]: build - add current directory without cache
--- FAIL: TestBuildADDRemoteFileWithCache (0.16 seconds)
docker_cli_build_test.go:2242: failed to build the image: Sending build context to Docker daemon 2.048 kB
Sending build context to Docker daemon
Step 0 : FROM scratch
---> 511136ea3c5a
Step 1 : MAINTAINER dockerio
---> Running in 0278177aa1b3
---> 4542f842a08d
Removing intermediate container 0278177aa1b3
Step 2 : ADD http://127.0.0.1:56486/baz /usr/lib/baz/quux
time="2014-11-21T17:53:50-08:00" level="info" msg="Get http://127.0.0.1:56486/baz: dial tcp 127.0.0.1:56486: connection refused"
--- FAIL: TestBuildADDRemoteFileWithoutCache (0.16 seconds)
docker_cli_build_test.go:2275: failed to build the image: Sending build context to Docker daemon 2.048 kB
Sending build context to Docker daemon
Step 0 : FROM scratch
---> 511136ea3c5a
Step 1 : MAINTAINER dockerio
---> Using cache
---> 4542f842a08d
Step 2 : ADD http://127.0.0.1:56493/baz /usr/lib/baz/quux
time="2014-11-21T17:53:50-08:00" level="info" msg="Get http://127.0.0.1:56493/baz: dial tcp 127.0.0.1:56493: connection refused"
--- FAIL: TestBuildADDRemoteFileMTime (0.16 seconds)
docker_cli_build_test.go:2315: failed to build the image: Sending build context to Docker daemon 2.048 kB
Sending build context to Docker daemon
Step 0 : FROM scratch
---> 511136ea3c5a
Step 1 : MAINTAINER dockerio
---> Using cache
---> 4542f842a08d
Step 2 : ADD http://127.0.0.1:56500/baz /usr/lib/baz/quux
time="2014-11-21T17:53:50-08:00" level="info" msg="Get http://127.0.0.1:56500/baz: dial tcp 127.0.0.1:56500: connection refused"
--- FAIL: TestBuildADDLocalAndRemoteFilesWithCache (0.17 seconds)
docker_cli_build_test.go:2376: failed to build the image: Sending build context to Docker daemon 3.072 kB
Sending build context to Docker daemon
Step 0 : FROM scratch
---> 511136ea3c5a
Step 1 : MAINTAINER dockerio
---> Using cache
---> 4542f842a08d
Step 2 : ADD foo /usr/lib/bla/bar
---> 3db02c457f07
Removing intermediate container 659731efa089
Step 3 : ADD http://127.0.0.1:56507/baz /usr/lib/baz/quux
time="2014-11-21T17:53:50-08:00" level="info" msg="Get http://127.0.0.1:56507/baz: dial tcp 127.0.0.1:56507: connection refused"
[PASSED]: build - build an image with a context tar, compression: 2
[PASSED]: build - build an image with a context tar, compression: 0
[PASSED]: build - build an image with no context
--- FAIL: TestBuildADDLocalAndRemoteFilesWithoutCache (0.17 seconds)
docker_cli_build_test.go:2465: failed to build the image: Sending build context to Docker daemon 3.072 kB
Sending build context to Docker daemon
Step 0 : FROM scratch
---> 511136ea3c5a
Step 1 : MAINTAINER dockerio
---> Using cache
---> 4542f842a08d
Step 2 : ADD foo /usr/lib/bla/bar
---> d09043e58440
Removing intermediate container aff5f4837a59
Step 3 : ADD http://127.0.0.1:56536/baz /usr/lib/baz/quux
time="2014-11-21T17:53:51-08:00" level="info" msg="Get http://127.0.0.1:56536/baz: dial tcp 127.0.0.1:56536: connection refused"
[PASSED]: build - volume ownership
[PASSED]: build - cleanup cmd after RUN
[PASSED]: build - forbidden context path
[PASSED]: build - add file not found
[PASSED]: build - inheritance
[PASSED]: build - fails
[PASSED]: build - fails with empty dockerfile
[PASSED]: build - onbuild
[PASSED]: build - onbuild forbidden chained
[PASSED]: build - onbuild forbidden from
[PASSED]: build - onbuild forbidden maintainer
[PASSED]: build - add to symlink destination
[PASSED]: build - validate escaping whitespace
--- FAIL: TestBuildDockerignore (0.24 seconds)
docker_cli_build_test.go:2805: failed to build the image: Sending build context to Docker daemon 5.632 kB
Sending build context to Docker daemon
Step 0 : FROM busybox
---> e72ac664f4f0
Step 1 : ADD . /bla
---> 9101de49bdb9
Removing intermediate container 9346cc917455
Step 2 : RUN [[ -f /bla/src/x.go ]]
---> Running in 981b157cd5b7
time="2014-11-21T17:53:57-08:00" level="info" msg="The command [/bin/sh -c [[ -f /bla/src/x.go ]]] returned a non-zero code: 1"
[PASSED]: build - test .dockerignore with clean paths
[PASSED]: build - test .dockerignore of Dockerfile
[PASSED]: build - test .dockerignore whole dir with .*
[PASSED]: build - line break with \
[PASSED]: build - end of line in dockerfile instruction
[PASSED]: build - comments and shebangs
[PASSED]: build - users and groups
--- FAIL: TestBuildEnvUsage (0.94 seconds)
docker_cli_build_test.go:3029: failed to build the image: Sending build context to Docker daemon 4.096 kB
Sending build context to Docker daemon
Step 0 : FROM busybox
---> e72ac664f4f0
Step 1 : ENV HOME /root
---> Running in a27f40e43de9
---> bcf773f58bb4
Removing intermediate container a27f40e43de9
Step 2 : ENV PATH $HOME/bin:$PATH
---> Running in 8e97e41ae935
---> 14240de62bc3
Removing intermediate container 8e97e41ae935
Step 3 : ENV PATH /tmp:$PATH
---> Running in d17db59ab4da
---> da842047696b
Removing intermediate container d17db59ab4da
Step 4 : RUN [ "$PATH" = "/tmp:$HOME/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ]
---> Running in a4cfe6d852d8
---> c9a39405f2de
Removing intermediate container a4cfe6d852d8
Step 5 : ENV FOO /foo/baz
---> Running in 67ce0ad82d50
---> 4f8f0dcfcdde
Removing intermediate container 67ce0ad82d50
Step 6 : ENV BAR /bar
---> Running in 8e94f80868d8
---> 328c8825c7bc
Removing intermediate container 8e94f80868d8
Step 7 : ENV BAZ $BAR
---> Running in 8c11d25b42d5
---> 49b2489ffe78
Removing intermediate container 8c11d25b42d5
Step 8 : ENV FOOPATH $PATH:$FOO
---> Running in e8225e3eab13
---> eb8090489cff
Removing intermediate container e8225e3eab13
Step 9 : RUN [ "$BAR" = "$BAZ" ]
---> Running in b50859b7eb28
---> f0d95371a50d
Removing intermediate container b50859b7eb28
Step 10 : RUN [ "$FOOPATH" = "$PATH:/foo/baz" ]
---> Running in 0e046ff73f7d
---> 26a0d399da91
Removing intermediate container 0e046ff73f7d
Step 11 : ENV FROM hello/docker/world
---> Running in ce2107330362
---> 5cc94d59c77d
Removing intermediate container ce2107330362
Step 12 : ENV TO /docker/world/hello
---> Running in b08dffdf82a9
---> 1b4af8672a41
Removing intermediate container b08dffdf82a9
Step 13 : ADD $FROM $TO
time="2014-11-21T17:54:10-08:00" level="info" msg="hello/docker/world: no such file or directory"
--- FAIL: TestBuildEnvUsage2 (2.04 seconds)
docker_cli_build_test.go:3069: failed to build the image: Sending build context to Docker daemon 4.608 kB
Sending build context to Docker daemon
Step 0 : FROM busybox
---> e72ac664f4f0
Step 1 : ENV abc def
---> Running in 6ba468af9eec
---> 5fa27d7f8512
Removing intermediate container 6ba468af9eec
Step 2 : RUN [ "$abc" = "def" ]
---> Running in e6527d0ab09a
---> 5d692675b201
Removing intermediate container e6527d0ab09a
Step 3 : ENV def hello world
---> Running in 7e27458ecd9d
---> 620d2a50310b
Removing intermediate container 7e27458ecd9d
Step 4 : RUN [ "$def" = "hello world" ]
---> Running in 35add7a1fc98
---> bd5a88255379
Removing intermediate container 35add7a1fc98
Step 5 : ENV def hello world
---> Running in bec0747c204a
---> 20a2159c750d
Removing intermediate container bec0747c204a
Step 6 : RUN [ "$def" = "hello world" ]
---> Running in 2a374be71ac9
---> 384dc21d7fa9
Removing intermediate container 2a374be71ac9
Step 7 : ENV v1 abc v2 hi there
---> Running in 293cdc3627d9
---> d6a738dc8c49
Removing intermediate container 293cdc3627d9
Step 8 : RUN [ "$v1" = "abc" ]
---> Running in 6b6035d5a8c6
---> 2e9b5b35d39d
Removing intermediate container 6b6035d5a8c6
Step 9 : RUN [ "$v2" = "hi there" ]
---> Running in f65c3dfc23b2
---> 6b75f376c476
Removing intermediate container f65c3dfc23b2
Step 10 : ENV v3 boogie nights v4 with'quotes too
---> Running in 5dc58c35353b
---> a4123a4de674
Removing intermediate container 5dc58c35353b
Step 11 : RUN [ "$v3" = "boogie nights" ]
---> Running in a80c4fea2345
---> 83779260aeda
Removing intermediate container a80c4fea2345
Step 12 : RUN [ "$v4" = "with'quotes too" ]
---> Running in 0f7e2bf18afc
---> ea71a62d37df
Removing intermediate container 0f7e2bf18afc
Step 13 : ENV abc zzz FROM hello/docker/world
---> Running in a949e3128563
---> 38969b7aaa9b
Removing intermediate container a949e3128563
Step 14 : ENV abc zzz TO /docker/world/hello
---> Running in 3a02cd03734a
---> dec8a11e15d7
Removing intermediate container 3a02cd03734a
Step 15 : ADD $FROM $TO
time="2014-11-21T17:54:12-08:00" level="info" msg="hello/docker/world: no such file or directory"
[PASSED]: build - add and run script
[PASSED]: build - ADD tar
--- FAIL: TestBuildFromGIT (0.22 seconds)
docker_cli_build_test.go:3165: error trying to commit to repo: exit status 128 (
*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'icecrime@icecrime-PC.(none)')
)
[PASSED]: build - cleanup cmd on ENTRYPOINT
[PASSED]: build - clearcmd
[PASSED]: build - empty cmd
[PASSED]: build - onbuild output
[PASSED]: build - invalid tag
[PASSED]: build - cmd should have sh -c for non-json
[PASSED]: build - cmd should not have /bin/sh -c for json
[PASSED]: build - ignore invalid Dockerfile instruction
[PASSED]: build - clear entrypoint
[PASSED]: build - entrypoint override inheritance properly
[PASSED]: build - entrypoint with /bin/echo running successfully
[PASSED]: build - exotic shell interpolation
[PASSED]: build - verify single quotes fail
[PASSED]: build - verbose output from commands
[PASSED]: build - with tabs
[PASSED]: commit - echo foo and commit the image
[PASSED]: commit - echo foo and commit the image with --pause=false
[PASSED]: commit - commit file and read
[PASSED]: commit - commit hardlinks
[PASSED]: commit - commit tty
[PASSED]: commit - commit bind mounted file
--- FAIL: TestCpGarbagePath (0.39 seconds)
docker_utils.go:451: "cp efeda3480b924007271d9cdf8d0810e52e3333c0219d7c90b1f1e93235665b8d:..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\some\\path\\test C:\\cygwin64\\tmp\\docker-integration998364073" failed with errors: time="2014-11-21T17:54:31-08:00" level="fatal" msg="Error response from daemon: Could not find the file ..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\some\\path\\test in container efeda3480b924007271d9cdf8d0810e52e3333c0219d7c90b1f1e93235665b8d"
, exit status 1
--- FAIL: TestCpRelativePath (0.42 seconds)
docker_utils.go:451: "cp a1e919b9eee84f807faf73c36e5c0282c8436a0b53fe3982383d515d9f82f499:some\\path\\test C:\\cygwin64\\tmp\\docker-integration024815348" failed with errors: time="2014-11-21T17:54:31-08:00" level="fatal" msg="Error response from daemon: Could not find the file some\\path\\test in container a1e919b9eee84f807faf73c36e5c0282c8436a0b53fe3982383d515d9f82f499"
, exit status 1
[PASSED]: cp - absolute paths relative to container's rootfs
--- FAIL: TestCpAbsoluteSymlink (0.42 seconds)
docker_utils.go:451: "cp 27e4f8e64d963537e71142074dc7c4ec5724ae7d188ddf3e70de9d27b1db0092:\\container_path C:\\cygwin64\\tmp\\docker-integration841657926" failed with errors: time="2014-11-21T17:54:32-08:00" level="fatal" msg="Error response from daemon: Could not find the file \\container_path in container 27e4f8e64d963537e71142074dc7c4ec5724ae7d188ddf3e70de9d27b1db0092"
, exit status 1
--- FAIL: TestCpSymlinkComponent (0.42 seconds)
docker_utils.go:451: "cp 1e8e78e99f73af9401004c099474768ca265d5eee5accb9cee1279a12084383e:\\\\container_path\\test C:\\cygwin64\\tmp\\docker-integration010299629" failed with errors: time="2014-11-21T17:54:32-08:00" level="fatal" msg="Error response from daemon: Could not find the file \\\\container_path\\test in container 1e8e78e99f73af9401004c099474768ca265d5eee5accb9cee1279a12084383e"
, exit status 1
--- FAIL: TestCpUnprivilegedUser (0.34 seconds)
docker_cli_cp_test.go:370: couldn't copy with unprivileged user: 8f1aadf0e7de57fccde4440dbeff801eb098034769f943cf94746d0fe1c5762c:test exec: "su": executable file not found in %PATH%
--- FAIL: TestCpVolumePath (0.06 seconds)
docker_utils.go:451: "run -d -v /foo -v C:\\cygwin64\\tmp\\cp-test-volumepath456073127/test:/test -v C:\\cygwin64\\tmp\\cp-test-volumepath456073127:/baz busybox /bin/sh -c touch /foo/bar" failed with errors: invalid value "C:\\cygwin64\\tmp\\cp-test-volumepath456073127/test:/test" for flag -v: \cygwin64\tmp\cp-test-volumepath456073127/test:/test is not an absolute path
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
Run a command in a new container
-a, --attach=[] Attach to STDIN, STDOUT or STDERR.
--add-host=[] Add a custom host-to-IP mapping (host:ip)
-c, --cpu-shares=0 CPU shares (relative weight)
--cap-add=[] Add Linux capabilities
--cap-drop=[] Drop Linux capabilities
--cidfile="" Write the container ID to the file
--cpuset="" CPUs in which to allow execution (0-3, 0,1)
-d, --detach=false Detached mode: run the container in the background and print the new container ID
--device=[] Add a host device to the container (e.g. --device=/dev/sdc:/dev/xvdc:rwm)
--dns=[] Set custom DNS servers
--dns-search=[] Set custom DNS search domains (Use --dns-search=. if you don't wish to set the search domain)
-e, --env=[] Set environment variables
--entrypoint="" Overwrite the default ENTRYPOINT of the image
--env-file=[] Read in a line delimited file of environment variables
--expose=[] Expose a port or a range of ports (e.g. --expose=3300-3310) from the container without publishing it to your host
-h, --hostname="" Container host name
-i, --interactive=false Keep STDIN open even if not attached
--ipc="" Default is to create a private IPC namespace (POSIX SysV IPC) for the container
'container:<name|id>': reuses another container shared memory, semaphores and message queues
'host': use the host shared memory,semaphores and message queues inside the container. Note: the host mode gives the container full access to local shared memory and is therefore considered insecure.
--link=[] Add link to another container in the form of name:alias
--lxc-conf=[] (lxc exec-driver only) Add custom lxc options --lxc-conf="lxc.cgroup.cpuset.cpus = 0,1"
-m, --memory="" Memory limit (format: <number><optional unit>, where unit = b, k, m or g)
--mac-address="" Container MAC address (e.g. 92:d0:c6:0a:29:33)
--name="" Assign a name to the container
--net="bridge" Set the Network mode for the container
'bridge': creates a new network stack for the container on the docker bridge
'none': no networking for this container
'container:<name|id>': reuses another container network stack
'host': use the host network stack inside the container. Note: the host mode gives the container full access to local system services such as D-bus and is therefore considered insecure.
-P, --publish-all=false Publish all exposed ports to the host interfaces
-p, --publish=[] Publish a container's port to the host
format: ip:hostPort:containerPort | ip::containerPort | hostPort:containerPort | containerPort
(use 'docker port' to see the actual mapping)
--privileged=false Give extended privileges to this container
--restart="" Restart policy to apply when a container exits (no, on-failure[:max-retry], always)
--rm=false Automatically remove the container when it exits (incompatible with -d)
--security-opt=[] Security Options
--sig-proxy=true Proxy received signals to the process (non-TTY mode only). SIGCHLD, SIGSTOP, and SIGKILL are not proxied.
-t, --tty=false Allocate a pseudo-TTY
-u, --user="" Username or UID
-v, --volume=[] Bind mount a volume (e.g., from the host: -v /host:/container, from Docker: -v /container)
--volumes-from=[] Mount volumes from the specified container(s)
-w, --workdir="" Working directory inside the container
, exit status 2
[PASSED]: create - args
[PASSED]: create - hostconfig
[PASSED]: create - echo test123
[PASSED]: diff - check if created file shows up
[PASSED]: diff - check if ignored files show up in diff
[PASSED]: diff - ensure that only kmsg and ptmx in diff
[PASSED]: events - pause/unpause is logged
[PASSED]: events - container failed to start logs die
[PASSED]: events - limited to 64 entries
[PASSED]: events - container create, start, die, destroy is logged
[PASSED]: events - image untag, delete is logged
[PASSED]: events - image pull is logged
--- FAIL: TestEventsImageImport (0.07 seconds)
docker_cli_events_test.go:213: GetFileAttributesEx /cirros.tar.gz: The system cannot find the file specified.
[PASSED]: exec - basic test
[PASSED]: exec - interactive mode closes stdin after execution
[PASSED]: exec - Interactive test
[PASSED]: exec - exec running container after container restart
--- FAIL: TestExecAfterDaemonRestart (5.52 seconds)
docker_utils.go:143: waiting for daemon to start
docker_utils.go:143: waiting for daemon to start
docker_utils.go:143: waiting for daemon to start
docker_utils.go:143: waiting for daemon to start
docker_utils.go:143: waiting for daemon to start
docker_utils.go:143: waiting for daemon to start
docker_utils.go:143: waiting for daemon to start
docker_utils.go:143: waiting for daemon to start
docker_utils.go:143: waiting for daemon to start
docker_utils.go:143: waiting for daemon to start
docker_utils.go:143: waiting for daemon to start
docker_utils.go:143: waiting for daemon to start
docker_cli_exec_test.go:161: Could not start daemon with busybox: Daemon exited and never started
[PASSED]: exec - exec inherits correct env
--- FAIL: TestExportContainerAndImportImage (0.33 seconds)
docker_cli_export_import_test.go:30: failed to export container: bash: E:srcgithub.comdockerdockerbundles1.3.1-devbinarydocker-1.3.1-dev.exe: command not found
, exit status 127
[PASSED]: history - build history
[PASSED]: history - history on existent image must not fail
[PASSED]: history - history on non-existent image must fail
[PASSED]: images - busybox should be listed
[PASSED]: images - ordering by creation date
--- FAIL: TestImportDisplay (0.00 seconds)
docker_cli_import_test.go:15: GetFileAttributesEx /cirros.tar.gz: The system cannot find the file specified.
[PASSED]: info - verify that it works
[PASSED]: inspect - inspect an image
[PASSED]: kill - kill container running sleep 10
[PASSED]: kill - kill container running sleep 10 from a different user
[PASSED]: link - /etc/hosts is a regular file
[PASSED]: links - ping unlinked container
[PASSED]: links - ping linked container
--- FAIL: TestLinksIpTablesRulesWhenLinkAndUnlink (0.45 seconds)
docker_cli_links_test.go:87: Iptables rules not found
[PASSED]: link - links in started container inspect
[PASSED]: link - links in stopped container inspect
[PASSED]: link - container start not failing on updating stopped parent links
Username: time="2014-11-21T17:55:22-08:00" level="fatal" msg="The handle is invalid."
[PASSED]: login - login without TTY
[PASSED]: logs - logs container running echo smaller than page size
[PASSED]: logs - logs container running echo bigger than page size
[PASSED]: logs - logs container running echo much bigger than page size
[PASSED]: logs - logs with timestamps
[PASSED]: logs - separate stderr (without pseudo-tty)
[PASSED]: logs - stderr in stdout (with pseudo-tty)
[PASSED]: logs - logs tail
[PASSED]: logs - logs follow stopped container
[PASSED]: logs - follow slow consumer
[PASSED]: port - test port list
[PASSED]: ps - test ps options
[PASSED]: ps - test ps size
[PASSED]: ps - test ps filter status
[PASSED]: ps - test ps filter id
[PASSED]: ps - test ps filter name
[PASSED]: ps - test ps filter exited
[PASSED]: pull - pull scratch
[PASSED]: pull - pull fooblahblah1234 (non-existing image)
[PASSED]: restart - echo foobar for stopped container
[PASSED]: restart - echo foobar for running container
[PASSED]: restart - does not create a new volume on restart
--- FAIL: TestRmContainerWithRemovedVolume (0.24 seconds)
docker_cli_rm_test.go:17: remove /tmp/testing: The system cannot find the file specified.
[PASSED]: rm - volume
[PASSED]: rm - running container
[PASSED]: rm - running container with --force=true
[PASSED]: rm - container orphaning
[PASSED]: rm - delete unknown container
--- FAIL: TestRmiWithContainerFails (0.18 seconds)
docker_cli_rmi_test.go:25: Container "83b09e554f515546e8aff7e98040842df858618688139676258d43004bb88b7b" is using image, should not be able to rmi: "Untagged: busybox:latest\n"
--- FAIL: TestRmiTag (0.21 seconds)
docker_utils.go:451: "tag busybox utest:tag1" failed with errors: time="2014-11-21T17:56:06-08:00" level="fatal" msg="Error response from daemon: no such id: busybox"
, exit status 1
--- FAIL: TestRmiTagWithExistingContainers (0.07 seconds)
docker_cli_rmi_test.go:85: Could not tag busybox: exit status 1: time="2014-11-21T17:56:06-08:00" level="fatal" msg="Error response from daemon: no such id: busybox:latest"
--- FAIL: TestRmiForceWithExistingContainers (0.08 seconds)
docker_cli_rmi_test.go:106: Could not build busybox-clone: time="2014-11-21T17:56:06-08:00" level="fatal" msg="GetFileAttributesEx /docker-busybox: The system cannot find the file specified."
, exit status 1
[PASSED]: run - echo test123
[PASSED]: run - echo with memory limit
[PASSED]: run - echo with CPU limit
[PASSED]: run - echo with CPU and memory limit
[PASSED]: run - echo with named container
[PASSED]: run - check file descriptor leakage
[PASSED]: run - ping 8.8.8.8
[PASSED]: run - exit with 0
[PASSED]: run - exit with 1
[PASSED]: run - pipe in with -i -a stdin
[PASSED]: run - print container ID in detached mode
[PASSED]: run - run with working directory set by -w
[PASSED]: run - run with working directory set by --workdir
[PASSED]: run - disable networking with --net=none
[PASSED]: run - disable networking with -n=false
[PASSED]: run - regression test for #4741 - volumes from as files
[PASSED]: run - regression test for #4979 - volumes-from on exited container
[PASSED]: run - volume with relative path
[PASSED]: run - volumes as readonly mount
[PASSED]: run - volumes from as readonly mount
[PASSED]: run - volumes from as read write mount
[PASSED]: run - volumes from ignores `rw` if inherrited volume is `ro`
[PASSED]: run - volumes from mounted first
[PASSED]: run - multiple volumes from
[PASSED]: run - verify container ID
[PASSED]: run - create docker managed volume
[PASSED]: run - create volume with symlink
[PASSED]: run - volumes-from symlink path
[PASSED]: run - correct exit code
[PASSED]: run - default user
[PASSED]: run - user by name
[PASSED]: run - user by id
[PASSED]: run - user by id, id too big
[PASSED]: run - user by id, id negative
[PASSED]: run - user by id, zero uid
[PASSED]: run - user not found
[PASSED]: run - two concurrent containers
[PASSED]: run - verify environment
[PASSED]: run - test container network via ping
[PASSED]: run - test container loopback when networking disabled
[PASSED]: run - don't allow --net=host to be used with links
[PASSED]: run - test loopback only exists when networking disabled
[PASSED]: run - test fully qualified hostname set with -h
[PASSED]: run - test privileged can mknod
[PASSED]: run - test un-privileged can mknod
[PASSED]: run - test --cap-drop=CHPASS invalid
[PASSED]: run - test --cap-drop=MKNOD cannot mknod
[PASSED]: run - test --cap-drop=mknod cannot mknod lowercase
[PASSED]: run - test --cap-drop=ALL cannot mknod
[PASSED]: run - test --cap-drop=ALL --cap-add=MKNOD can mknod
[PASSED]: run - test --cap-add=CHPASS invalid
[PASSED]: run - test --cap-add=NET_ADMIN can set eth0 down
[PASSED]: run - test --cap-add=ALL can set eth0 down
[PASSED]: run - test --cap-add=ALL --cap-drop=NET_ADMIN cannot set eth0 down
[PASSED]: run - test privileged can mount
[PASSED]: run - test un-privileged cannot mount
[PASSED]: run - sys not writable in non privileged container
[PASSED]: run - sys writable in privileged container
[PASSED]: run - proc not writable in non privileged container
[PASSED]: run - proc writable in privileged container
[PASSED]: run - cpuset 0
[PASSED]: run - test device numbers
[PASSED]: run - test that character devices work.
[PASSED]: run - unprivileged with chroot
[PASSED]: run - test --device argument
--- FAIL: TestRunModeHostname (0.27 seconds)
docker_cli_run_test.go:1196: expected "ICECRIME-PC", but says: "480eb6a2c9b9"
[PASSED]: run - workdir /
[PASSED]: run - bind mount / as volume
[PASSED]: run - bind mount /:/ as volume should fail
--- FAIL: TestRunDnsDefaultOptions (0.00 seconds)
docker_cli_run_test.go:1246: /etc/resolv.conf does not exist
[PASSED]: run - dns options
--- FAIL: TestRunDnsOptionsBasedOnHostResolvConf (0.00 seconds)
docker_cli_run_test.go:1315: /etc/resolv.conf does not exist
[PASSED]: run - add-host option
[PASSED]: run - Attach stderr only with -t
[PASSED]: run - Attach stdout only with -t
[PASSED]: run - Attach stderr and stdout with -t
[PASSED]: run - test container state.
[PASSED]: run - copy uid/gid for volume
[PASSED]: run - copy volume content
[PASSED]: run - cleanup cmd on --entrypoint
[PASSED]: run - error on existing file for workdir
[PASSED]: run - exit on stdin closing
[PASSED]: run - write to /etc/hosts and not commited
[PASSED]: run - write to /etc/hostname and not commited
[PASSED]: run - write to /etc/resolv.conf and not commited
[PASSED]: run - error with bad device
[PASSED]: run - entrypoint
--- FAIL: TestRunBindMounts (0.27 seconds)
docker_cli_run_test.go:1817: exit status 2 invalid value "C:\\cygwin64\\tmp\\docker-test-container776469617:/tmp:ro" for flag -v: bad format for volumes: C:\cygwin64\tmp\docker-test-container776469617:/tmp:ro
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
Run a command in a new container
-a, --attach=[] Attach to STDIN, STDOUT or STDERR.
--add-host=[] Add a custom host-to-IP mapping (host:ip)
-c, --cpu-shares=0 CPU shares (relative weight)
--cap-add=[] Add Linux capabilities
--cap-drop=[] Drop Linux capabilities
--cidfile="" Write the container ID to the file
--cpuset="" CPUs in which to allow execution (0-3, 0,1)
-d, --detach=false Detached mode: run the container in the background and print the new container ID
--device=[] Add a host device to the container (e.g. --device=/dev/sdc:/dev/xvdc:rwm)
--dns=[] Set custom DNS servers
--dns-search=[] Set custom DNS search domains (Use --dns-search=. if you don't wish to set the search domain)
-e, --env=[] Set environment variables
--entrypoint="" Overwrite the default ENTRYPOINT of the image
--env-file=[] Read in a line delimited file of environment variables
--expose=[] Expose a port or a range of ports (e.g. --expose=3300-3310) from the container without publishing it to your host
-h, --hostname="" Container host name
-i, --interactive=false Keep STDIN open even if not attached
--ipc="" Default is to create a private IPC namespace (POSIX SysV IPC) for the container
'container:<name|id>': reuses another container shared memory, semaphores and message queues
'host': use the host shared memory,semaphores and message queues inside the container. Note: the host mode gives the container full access to local shared memory and is therefore considered insecure.
--link=[] Add link to another container in the form of name:alias
--lxc-conf=[] (lxc exec-driver only) Add custom lxc options --lxc-conf="lxc.cgroup.cpuset.cpus = 0,1"
-m, --memory="" Memory limit (format: <number><optional unit>, where unit = b, k, m or g)
--mac-address="" Container MAC address (e.g. 92:d0:c6:0a:29:33)
--name="" Assign a name to the container
--net="bridge" Set the Network mode for the container
'bridge': creates a new network stack for the container on the docker bridge
'none': no networking for this container
'container:<name|id>': reuses another container network stack
'host': use the host network stack inside the container. Note: the host mode gives the container full access to local system services such as D-bus and is therefore considered insecure.
-P, --publish-all=false Publish all exposed ports to the host interfaces
-p, --publish=[] Publish a container's port to the host
format: ip:hostPort:containerPort | ip::containerPort | hostPort:containerPort | containerPort
(use 'docker port' to see the actual mapping)
--privileged=false Give extended privileges to this container
--restart="" Restart policy to apply when a container exits (no, on-failure[:max-retry], always)
--rm=false Automatically remove the container when it exits (incompatible with -d)
--security-opt=[] Security Options
--sig-proxy=true Proxy received signals to the process (non-TTY mode only). SIGCHLD, SIGSTOP, and SIGKILL are not proxied.
-t, --tty=false Allocate a pseudo-TTY
-u, --user="" Username or UID
-v, --volume=[] Bind mount a volume (e.g., from the host: -v /host:/container, from Docker: -v /container)
--volumes-from=[] Mount volumes from the specified container(s)
-w, --workdir="" Working directory inside the container
--- FAIL: TestRunMutableNetworkFiles (1.54 seconds)
docker_cli_run_test.go:1870: open \var\lib\docker\containers\d685cd9529dc792e4199fef86362d2bdfd5c05cf4d706dcf4033fc68d0582555\resolv.conf: The system cannot find the file specified.
[PASSED]: run - cleanup empty cidfile on fail
[PASSED]: run - cidfile contains long id
[PASSED]: run - network must not be initialized in 'none' mode
--- FAIL: TestRunSetMacAddress (0.01 seconds)
docker_cli_run_test.go:2002: exec: "/bin/bash": file does not exist
[PASSED]: run - inspecting MAC address
--- FAIL: TestRunDeallocatePortOnMissingIptablesRule (0.31 seconds)
docker_cli_run_test.go:2047: exec: "iptables": executable file not found in %PATH%
--- FAIL: TestRunPortInUse (0.12 seconds)
docker_cli_run_test.go:2071: Binding on used port must fail
[PASSED]: run - proxy should work with unavailable port
--- FAIL: TestRunPortProxy (0.46 seconds)
docker_cli_run_test.go:2102: list docker process failed with output , error exit status 1
docker_cli_run_test.go:2108: Failed to find docker-proxy process, got
--- FAIL: TestRunMountOrdering (0.06 seconds)
docker_cli_run_test.go:2149: invalid value "C:\\cygwin64\\tmp\\docker_nested_mount_test600039598:/tmp" for flag -v: \cygwin64\tmp\docker_nested_mount_test600039598:/tmp is not an absolute path
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
Run a command in a new container
-a, --attach=[] Attach to STDIN, STDOUT or STDERR.
--add-host=[] Add a custom host-to-IP mapping (host:ip)
-c, --cpu-shares=0 CPU shares (relative weight)
--cap-add=[] Add Linux capabilities
--cap-drop=[] Drop Linux capabilities
--cidfile="" Write the container ID to the file
--cpuset="" CPUs in which to allow execution (0-3, 0,1)
-d, --detach=false Detached mode: run the container in the background and print the new container ID
--device=[] Add a host device to the container (e.g. --device=/dev/sdc:/dev/xvdc:rwm)
--dns=[] Set custom DNS servers
--dns-search=[] Set custom DNS search domains (Use --dns-search=. if you don't wish to set the search domain)
-e, --env=[] Set environment variables
--entrypoint="" Overwrite the default ENTRYPOINT of the image
--env-file=[] Read in a line delimited file of environment variables
--expose=[] Expose a port or a range of ports (e.g. --expose=3300-3310) from the container without publishing it to your host
-h, --hostname="" Container host name
-i, --interactive=false Keep STDIN open even if not attached
--ipc="" Default is to create a private IPC namespace (POSIX SysV IPC) for the container
'container:<name|id>': reuses another container shared memory, semaphores and message queues
'host': use the host shared memory,semaphores and message queues inside the container. Note: the host mode gives the container full access to local shared memory and is therefore considered insecure.
--link=[] Add link to another container in the form of name:alias
--lxc-conf=[] (lxc exec-driver only) Add custom lxc options --lxc-conf="lxc.cgroup.cpuset.cpus = 0,1"
-m, --memory="" Memory limit (format: <number><optional unit>, where unit = b, k, m or g)
--mac-address="" Container MAC address (e.g. 92:d0:c6:0a:29:33)
--name="" Assign a name to the container
--net="bridge" Set the Network mode for the container
'bridge': creates a new network stack for the container on the docker bridge
'none': no networking for this container
'container:<name|id>': reuses another container network stack
'host': use the host network stack inside the container. Note: the host mode gives the container full access to local system services such as D-bus and is therefore considered insecure.
-P, --publish-all=false Publish all exposed ports to the host interfaces
-p, --publish=[] Publish a container's port to the host
format: ip:hostPort:containerPort | ip::containerPort | hostPort:containerPort | containerPort
(use 'docker port' to see the actual mapping)
--privileged=false Give extended privileges to this container
--restart="" Restart policy to apply when a container exits (no, on-failure[:max-retry], always)
--rm=false Automatically remove the container when it exits (incompatible with -d)
--security-opt=[] Security Options
--sig-proxy=true Proxy received signals to the process (non-TTY mode only). SIGCHLD, SIGSTOP, and SIGKILL are not proxied.
-t, --tty=false Allocate a pseudo-TTY
-u, --user="" Username or UID
-v, --volume=[] Bind mount a volume (e.g., from the host: -v /host:/container, from Docker: -v /container)
--volumes-from=[] Mount volumes from the specified container(s)
-w, --workdir="" Working directory inside the container
exit status 2
--- FAIL: TestRunExecDir (0.12 seconds)
docker_cli_run_test.go:2170: GetFileAttributesEx \var\lib\docker\execdriver\native\495df2a303f2eda8d96261ff2f531d0985b5ca79b784db13cd92b8d853579a85: The system cannot find the file specified.
--- FAIL: TestRunReuseBindVolumeThatIsSymlink (0.00 seconds)
docker_cli_run_test.go:2266: symlink C:\cygwin64\tmp\testlink275645456 C:\cygwin64\tmp/testlink2: not supported by windows
--- FAIL: TestVolumesNoCopyData (1.63 seconds)
docker_cli_run_test.go:2317: Data was copied on bind-mount but shouldn't be:
"invalid value \"C:\\\\cygwin64\\\\tmp\\\\docker_test_bind_mount_copy_data295222831:/foo\" for flag -v: \\cygwin64\\tmp\\docker_test_bind_mount_copy_data295222831:/foo is not an absolute path\n\nUsage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]\n\nRun a command in a new container\n\n -a, --attach=[] Attach to STDIN, STDOUT or STDERR.\n --add-host=[] Add a custom host-to-IP mapping (host:ip)\n -c, --cpu-shares=0 CPU shares (relative weight)\n --cap-add=[] Add Linux capabilities\n --cap-drop=[] Drop Linux capabilities\n --cidfile=\"\" Write the container ID to the file\n --cpuset=\"\" CPUs in which to allow execution (0-3, 0,1)\n -d, --detach=false Detached mode: run the container in the background and print the new container ID\n --device=[] Add a host device to the container (e.g. --device=/dev/sdc:/dev/xvdc:rwm)\n --dns=[] Set custom DNS servers\n --dns-search=[] Set custom DNS search domains (Use --dns-search=. if you don't wish to set the search domain)\n -e, --env=[] Set environment variables\n --entrypoint=\"\" Overwrite the default ENTRYPOINT of the image\n --env-file=[] Read in a line delimited file of environment variables\n --expose=[] Expose a port or a range of ports (e.g. --expose=3300-3310) from the container without publishing it to your host\n -h, --hostname=\"\" Container host name\n -i, --interactive=false Keep STDIN open even if not attached\n --ipc=\"\" Default is to create a private IPC namespace (POSIX SysV IPC) for the container\n 'container:<name|id>': reuses another container shared memory, semaphores and message queues\n 'host': use the host shared memory,semaphores and message queues inside the container. Note: the host mode gives the container full access to local shared memory and is therefore considered insecure.\n --link=[] Add link to another container in the form of name:alias\n --lxc-conf=[] (lxc exec-driver only) Add custom lxc options --lxc-conf=\"lxc.cgroup.cpuset.cpus = 0,1\"\n -m, --memory=\"\" Memory limit (format: <number><optional unit>, where unit = b, k, m or g)\n --mac-address=\"\" Container MAC address (e.g. 92:d0:c6:0a:29:33)\n --name=\"\" Assign a name to the container\n --net=\"bridge\" Set the Network mode for the container\n 'bridge': creates a new network stack for the container on the docker bridge\n 'none': no networking for this container\n 'container:<name|id>': reuses another container network stack\n 'host': use the host network stack inside the container. Note: the host mode gives the container full access to local system services such as D-bus and is therefore considered insecure.\n -P, --publish-all=false Publish all exposed ports to the host interfaces\n -p, --publish=[] Publish a container's port to the host\n format: ip:hostPort:containerPort | ip::containerPort | hostPort:containerPort | containerPort\n (use 'docker port' to see the actual mapping)\n --privileged=false Give extended privileges to this container\n --restart=\"\" Restart policy to apply when a container exits (no, on-failure[:max-retry], always)\n --rm=false Automatically remove the container when it exits (incompatible with -d)\n --security-opt=[] Security Options\n --sig-proxy=true Proxy received signals to the process (non-TTY mode only). SIGCHLD, SIGSTOP, and SIGKILL are not proxied.\n -t, --tty=false Allocate a pseudo-TTY\n -u, --user=\"\" Username or UID\n -v, --volume=[] Bind mount a volume (e.g., from the host: -v /host:/container, from Docker: -v /container)\n --volumes-from=[] Mount volumes from the specified container(s)\n -w, --workdir=\"\" Working directory inside the container\n"
--- FAIL: TestRunVolumesNotRecreatedOnStart (0.19 seconds)
docker_cli_run_test.go:2328: open /var/lib/docker/volumes: The system cannot find the file specified.
[PASSED]: run - no output from pull in stdout
[PASSED]: run - volume paths are cleaned
--- FAIL: TestRunSlowStdoutConsumer (0.23 seconds)
docker_cli_run_test.go:2436: exec: "/bin/bash": file does not exist
[PASSED]: run - allow port range through --expose flag
[PASSED]: run - Unknown Command
--- FAIL: TestRunModeIpcHost (0.00 seconds)
docker_cli_run_test.go:2512: readlink /proc/1/ns/ipc: not supported by windows
--- FAIL: TestRunModeIpcContainer (0.25 seconds)
docker_cli_run_test.go:2562: readlink /proc/6220/ns/ipc: not supported by windows
--- FAIL: TestContainerNetworkMode (0.26 seconds)
docker_cli_run_test.go:2596: readlink /proc/6229/ns/net: not supported by windows
--- FAIL: TestRunTLSverify (0.48 seconds)
docker_cli_run_test.go:2632: Should have failed:
ec:1
out:time="2014-11-21T17:56:58-08:00" level="fatal" msg="An error occurred trying to connect: Get https://192.168.59.3:2377/v1.16/containers/json: tls: oversized record received with length 20527"
err:exit status 1
--- FAIL: TestSaveSingleTag (0.05 seconds)
docker_cli_save_load_test.go:21: failed to tag repo: bash: E:srcgithub.comdockerdockerbundles1.3.1-devbinarydocker-1.3.1-dev.exe: command not found
, exit status 127
--- FAIL: TestSaveImageId (0.05 seconds)
docker_cli_save_load_test.go:50: failed to tag repo: bash: E:srcgithub.comdockerdockerbundles1.3.1-devbinarydocker-1.3.1-dev.exe: command not found
, exit status 127
--- FAIL: TestSaveAndLoadRepoFlags (0.44 seconds)
docker_cli_save_load_test.go:114: failed to save repo: bash: E:srcgithub.comdockerdockerbundles1.3.1-devbinarydocker-1.3.1-dev.exe: command not found
, exit status 127
--- FAIL: TestSaveMultipleNames (0.05 seconds)
docker_cli_save_load_test.go:150: failed to tag repo: bash: E:srcgithub.comdockerdockerbundles1.3.1-devbinarydocker-1.3.1-dev.exe: command not found
, exit status 127
--- FAIL: TestSaveRepoWithMultipleImages (0.92 seconds)
docker_cli_save_load_test.go:219: failed to get history: bash: E:srcgithub.comdockerdockerbundles1.3.1-devbinarydocker-1.3.1-dev.exe: command not found
, exit status 127
--- FAIL: TestSaveDirectoryPermissions (0.78 seconds)
docker_cli_save_load_test.go:260: failed to save and extract image: bash: E:srcgithub.comdockerdockerbundles1.3.1-devbinarydocker-1.3.1-dev.exe: command not found
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
docker_cli_save_load_test.go:291: failed to find the layer with the right content listing
[PASSED]: search - search for repositories named (or containing) 'Busybox base image.'
[PASSED]: start - error on start with attach exits
[PASSED]: start - correct exit code returned with -a
[PASSED]: start - set state error when start fails
[PASSED]: start - missing containers in --volumes-from did not affect subsequent runs
[PASSED]: tag - busybox -> testfoobarbaz
[PASSED]: tag - busybox's image ID -> testfoobarbaz
[PASSED]: tag - busybox invalid repo names --> must fail
[PASSED]: tag - busybox with invalid repo:tagnames --> must fail
[PASSED]: tag - busybox fooo/bar
[PASSED]: tag - busybox fooaa/test
[PASSED]: tag - busybox foooo:t
[PASSED]: tag - busybox with an existed tag name without -f option --> must fail
[PASSED]: tag - busybox with an existed tag name with -f option work
[PASSED]: top - multiple arguments
[PASSED]: top - sleep process should be listed in non privileged mode
[PASSED]: top - sleep process should be listed in privileged mode
[PASSED]: version - verify that it works and that the output is properly formatted
FAIL
testing: open /cygdrive/e/src/github.com/docker/docker/bundles/1.3.1-dev/test-integration-cli/coverprofiles/docker-integration-cli: The system cannot find the file specified.
exit status 2
FAIL github.com/docker/docker/integration-cli 252.512s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment