Skip to content

Instantly share code, notes, and snippets.

@tianon
Last active December 24, 2015 01:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tianon/6723010 to your computer and use it in GitHub Desktop.
Save tianon/6723010 to your computer and use it in GitHub Desktop.
"docker run -i -t -privileged docker ./hack/make.sh test" against f435970 (0.6.3-dev) This was all done on Gentoo, of course.
$ docker run -i -t -privileged docker ./hack/make.sh test
/proc/self/fd /go/src/github.com/dotcloud/docker
/go/src/github.com/dotcloud/docker
---> Making bundle: test (in bundles/0.6.3-dev/test)
Fri Sep 27 01:26:51 UTC 2013
++ cd .
++ go test -v -ldflags '-X main.GITCOMMIT f435970 -X main.VERSION 0.6.3-dev -d -w'
warning: building out-of-date packages:
path/filepath
io/ioutil
path
archive/tar
hash
crypto
crypto/md5
crypto/cipher
crypto/aes
encoding/binary
math/rand
math/big
crypto/rand
crypto/sha1
crypto/des
crypto/elliptic
crypto/ecdsa
crypto/subtle
crypto/hmac
crypto/rc4
crypto/rsa
crypto/sha256
crypto/dsa
encoding/asn1
crypto/x509/pkix
encoding/hex
encoding/base64
encoding/pem
net
crypto/x509
crypto/tls
unicode/utf16
encoding/json
compress/flate
hash/crc32
compress/gzip
log
mime
net/textproto
mime/multipart
net/url
net/http
code.google.com/p/go.net/websocket
container/list
github.com/dotcloud/tar
index/suffixarray
os/exec
github.com/dotcloud/docker/utils
github.com/dotcloud/docker/auth
net/http/cookiejar
github.com/dotcloud/docker/registry
os/signal
github.com/dotcloud/docker/term
github.com/gorilla/context
github.com/gorilla/mux
github.com/kr/pty
net/http/httputil
text/template/parse
text/template
net/http/httptest
installing these packages with 'go test -i' will speed future tests.
Pulling repository docker-test-image
Pulling image (latest) from docker-test-image, endpoint: https://cdn-registry-1.2013/09/27 01:27:03 Listening for HTTP on 127.0.0.1:4270 (tcp)
=== RUN TestGetBoolParam
--- PASS: TestGetBoolParam (0.00 seconds)
=== RUN TestGetVersion
--- PASS: TestGetVersion (0.04 seconds)
=== RUN TestGetInfo
--- PASS: TestGetInfo (0.04 seconds)
=== RUN TestGetEvents
--- PASS: TestGetEvents (0.54 seconds)
=== RUN TestGetImagesJSON
--- PASS: TestGetImagesJSON (0.04 seconds)
=== RUN TestGetImagesViz
--- PASS: TestGetImagesViz (0.04 seconds)
=== RUN TestGetImagesHistory
--- PASS: TestGetImagesHistory (0.04 seconds)
=== RUN TestGetImagesByName
--- PASS: TestGetImagesByName (0.04 seconds)
=== RUN TestGetContainersJSON
--- PASS: TestGetContainersJSON (0.04 seconds)
=== RUN TestGetContainersExport
--- PASS: TestGetContainersExport (0.15 seconds)
=== RUN TestGetContainersChanges
--- PASS: TestGetContainersChanges (0.35 seconds)
=== RUN TestGetContainersTop
--- SKIP: TestGetContainersTop (0.00 seconds)
api_test.go:448: Fixme. Skipping test for now. Reported error when testing using dind: 'api_test.go:527: Expected 2 processes, found 0.'
=== RUN TestGetContainersByName
--- PASS: TestGetContainersByName (0.05 seconds)
=== RUN TestPostCommit
--- PASS: TestPostCommit (0.34 seconds)
=== RUN TestPostContainersCreate
--- PASS: TestPostContainersCreate (0.38 seconds)
=== RUN TestPostContainersKill
--- PASS: TestPostContainersKill (0.58 seconds)
=== RUN TestPostContainersRestart
2013/09/27 01:27:09 Container 4988fec532fbc49e06cf28ea7f5981911bd85403225233579cd79b9b32a8c05d failed to exit within 1 seconds of SIGTERM - using the force
--- PASS: TestPostContainersRestart (2.10 seconds)
=== RUN TestPostContainersStart
--- PASS: TestPostContainersStart (0.57 seconds)
=== RUN TestPostContainersStop
2013/09/27 01:27:11 Container 7e6d8a4030ef19a5929d180add0ecdedce5b48044cd3888cf765bdf05678a6cc failed to exit within 1 seconds of SIGTERM - using the force
--- PASS: TestPostContainersStop (1.58 seconds)
=== RUN TestPostContainersWait
--- PASS: TestPostContainersWait (1.41 seconds)
=== RUN TestPostContainersAttach
--- PASS: TestPostContainersAttach (0.91 seconds)
=== RUN TestPostContainersAttachStderr
--- PASS: TestPostContainersAttachStderr (1.16 seconds)
=== RUN TestDeleteContainers
--- PASS: TestDeleteContainers (0.39 seconds)
=== RUN TestOptionsRoute
--- PASS: TestOptionsRoute (0.06 seconds)
=== RUN TestGetEnabledCors
--- PASS: TestGetEnabledCors (0.06 seconds)
=== RUN TestDeleteImages
--- PASS: TestDeleteImages (0.06 seconds)
=== RUN TestJsonContentType
--- PASS: TestJsonContentType (0.00 seconds)
=== RUN TestPostContainersCopy
--- PASS: TestPostContainersCopy (0.22 seconds)
=== RUN TestCmdStreamLargeStderr
--- PASS: TestCmdStreamLargeStderr (0.97 seconds)
=== RUN TestCmdStreamBad
--- PASS: TestCmdStreamBad (0.00 seconds)
=== RUN TestCmdStreamGood
--- PASS: TestCmdStreamGood (0.00 seconds)
=== RUN TestTarUntar
--- PASS: TestTarUntar (0.07 seconds)
=== RUN TestBuild
--- PASS: TestBuild (12.36 seconds)
=== RUN TestVolume
--- PASS: TestVolume (0.10 seconds)
=== RUN TestBuildMaintainer
--- PASS: TestBuildMaintainer (0.08 seconds)
=== RUN TestBuildUser
--- PASS: TestBuildUser (0.08 seconds)
=== RUN TestBuildEnv
--- PASS: TestBuildEnv (0.08 seconds)
=== RUN TestBuildCmd
--- PASS: TestBuildCmd (0.08 seconds)
=== RUN TestBuildExpose
--- PASS: TestBuildExpose (0.09 seconds)
=== RUN TestBuildEntrypoint
--- PASS: TestBuildEntrypoint (0.08 seconds)
=== RUN TestBuildEntrypointRunCleanup
--- PASS: TestBuildEntrypointRunCleanup (0.19 seconds)
=== RUN TestBuildImageWithCache
--- PASS: TestBuildImageWithCache (0.09 seconds)
=== RUN TestBuildImageWithoutCache
--- PASS: TestBuildImageWithoutCache (0.10 seconds)
=== RUN TestForbiddenContextPath
--- PASS: TestForbiddenContextPath (0.08 seconds)
=== RUN TestBuildADDFileNotFound
--- PASS: TestBuildADDFileNotFound (0.07 seconds)
=== RUN TestRunHostname
--- PASS: TestRunHostname (0.08 seconds)
=== RUN TestRunWorkdir
--- PASS: TestRunWorkdir (0.39 seconds)
=== RUN TestRunWorkdirExists
--- PASS: TestRunWorkdirExists (0.38 seconds)
=== RUN TestRunExit
--- PASS: TestRunExit (0.41 seconds)
=== RUN TestRunDisconnect
--- PASS: TestRunDisconnect (0.59 seconds)
=== RUN TestRunDisconnectTty
--- PASS: TestRunDisconnectTty (0.57 seconds)
=== RUN TestRunAttachStdin
--- PASS: TestRunAttachStdin (5.38 seconds)
=== RUN TestRunDetach
--- PASS: TestRunDetach (0.56 seconds)
=== RUN TestAttachDetach
--- PASS: TestAttachDetach (0.55 seconds)
=== RUN TestAttachDisconnect
--- PASS: TestAttachDisconnect (0.89 seconds)
=== RUN TestIDFormat
--- PASS: TestIDFormat (0.08 seconds)
=== RUN TestMultipleAttachRestart
--- PASS: TestMultipleAttachRestart (0.66 seconds)
=== RUN TestDiff
--- PASS: TestDiff (1.17 seconds)
=== RUN TestCommitAutoRun
--- PASS: TestCommitAutoRun (0.76 seconds)
=== RUN TestCommitRun
--- PASS: TestCommitRun (0.77 seconds)
=== RUN TestStart
--- PASS: TestStart (0.59 seconds)
=== RUN TestRun
--- PASS: TestRun (0.40 seconds)
=== RUN TestOutput
--- PASS: TestOutput (0.38 seconds)
=== RUN TestKillDifferentUser
--- PASS: TestKillDifferentUser (0.41 seconds)
=== RUN TestCreateVolume
--- PASS: TestCreateVolume (0.39 seconds)
=== RUN TestKill
--- PASS: TestKill (0.60 seconds)
=== RUN TestExitCode
--- PASS: TestExitCode (0.76 seconds)
=== RUN TestRestart
--- PASS: TestRestart (0.78 seconds)
=== RUN TestRestartStdin
--- PASS: TestRestartStdin (0.78 seconds)
=== RUN TestUser
--- PASS: TestUser (2.34 seconds)
=== RUN TestMultipleContainers
--- PASS: TestMultipleContainers (0.63 seconds)
=== RUN TestStdin
--- PASS: TestStdin (0.36 seconds)
=== RUN TestTty
--- PASS: TestTty (0.35 seconds)
=== RUN TestEnv
--- PASS: TestEnv (0.35 seconds)
=== RUN TestEntrypoint
--- PASS: TestEntrypoint (0.32 seconds)
=== RUN TestEntrypointNoCmd
--- PASS: TestEntrypointNoCmd (0.34 seconds)
=== RUN TestLXCConfig
--- PASS: TestLXCConfig (0.07 seconds)
=== RUN TestCustomLxcConfig
--- PASS: TestCustomLxcConfig (0.07 seconds)
=== RUN TestCopyVolumeUidGid
--- PASS: TestCopyVolumeUidGid (0.53 seconds)
=== RUN TestCopyVolumeContent
--- PASS: TestCopyVolumeContent (0.67 seconds)
=== RUN TestBindMounts
--- PASS: TestBindMounts (0.67 seconds)
=== RUN TestVolumesFromReadonlyMount
--- PASS: TestVolumesFromReadonlyMount (0.67 seconds)
=== RUN TestRestartWithVolumes
--- PASS: TestRestartWithVolumes (0.67 seconds)
=== RUN TestVolumesFromWithVolumes
--- PASS: TestVolumesFromWithVolumes (1.01 seconds)
=== RUN TestOnlyLoopbackExistsWhenUsingDisableNetworkOption
--- FAIL: TestOnlyLoopbackExistsWhenUsingDisableNetworkOption (0.30 seconds)
container_test.go:1488: Wrong interface count in test container: expected [*: lo], got [1: lo 2: sit0]
=== RUN TestPrivilegedCanMknod
--- PASS: TestPrivilegedCanMknod (0.35 seconds)
=== RUN TestPrivilegedCanMount
--- PASS: TestPrivilegedCanMount (0.45 seconds)
=== RUN TestPrivilegedCannotMknod
--- PASS: TestPrivilegedCannotMknod (0.41 seconds)
=== RUN TestPrivilegedCannotMount
--- PASS: TestPrivilegedCannotMount (0.38 seconds)
=== RUN TestMultipleVolumesFrom
--- PASS: TestMultipleVolumesFrom (1.15 seconds)
container_test.go:1596: map[/test:/tmp/docker-test883885634/volumes/28cdfb5c4da5f94517f5c6871da2e7218a1e36e056c78a9165c158d3664e1deb/layer /other:/tmp/docker-test883885634/volumes/9d66e6d7b4806c290e745be56914ccf5809e2f2a681378889c10898d1133112f/layer]
=== RUN TestInit
--- PASS: TestInit (0.00 seconds)
=== RUN TestInterruptedRegister
--- PASS: TestInterruptedRegister (0.21 seconds)
=== RUN TestGraphCreate
--- PASS: TestGraphCreate (0.01 seconds)
=== RUN TestRegister
--- PASS: TestRegister (0.01 seconds)
=== RUN TestMount
--- PASS: TestMount (0.01 seconds)
=== RUN TestDeletePrefix
--- PASS: TestDeletePrefix (0.01 seconds)
=== RUN TestDelete
--- PASS: TestDelete (0.02 seconds)
=== RUN TestByParent
--- PASS: TestByParent (0.03 seconds)
=== RUN TestTCP4Proxy
--- PASS: TestTCP4Proxy (0.00 seconds)
network_proxy_test.go:47: EchoServer listening on tcp/127.0.0.1:53809
network_proxy_test.go:59: TCP client accepted on the EchoServer
=== RUN TestTCP6Proxy
--- PASS: TestTCP6Proxy (0.00 seconds)
network_proxy_test.go:47: EchoServer listening on tcp/[::1]:38600
network_proxy_test.go:59: TCP client accepted on the EchoServer
=== RUN TestTCPDualStackProxy
--- SKIP: TestTCPDualStackProxy (0.00 seconds)
network_proxy_test.go:149: No support for dual stack yet
=== RUN TestUDP4Proxy
--- PASS: TestUDP4Proxy (0.00 seconds)
network_proxy_test.go:47: EchoServer listening on udp/127.0.0.1:43096
network_proxy_test.go:82: Writing UDP datagram back
=== RUN TestUDP6Proxy
--- PASS: TestUDP6Proxy (0.00 seconds)
network_proxy_test.go:47: EchoServer listening on udp/[::1]:52289
network_proxy_test.go:82: Writing UDP datagram back
=== RUN TestUDPWriteError
--- PASS: TestUDPWriteError (0.00 seconds)
network_proxy_test.go:47: EchoServer listening on udp/127.0.0.1:25587
network_proxy_test.go:82: Writing UDP datagram back
=== RUN TestIptables
--- PASS: TestIptables (0.00 seconds)
=== RUN TestParseNat
--- PASS: TestParseNat (0.00 seconds)
=== RUN TestPortAllocation
--- PASS: TestPortAllocation (0.00 seconds)
=== RUN TestNetworkRange
--- PASS: TestNetworkRange (0.00 seconds)
=== RUN TestConversion
--- PASS: TestConversion (0.00 seconds)
=== RUN TestIPAllocator
--- PASS: TestIPAllocator (0.00 seconds)
=== RUN TestNetworkOverlaps
--- PASS: TestNetworkOverlaps (0.00 seconds)
=== RUN TestCheckRouteOverlaps
--- PASS: TestCheckRouteOverlaps (0.00 seconds)
=== RUN TestRuntimeCreate
--- FAIL: TestRuntimeCreate (0.07 seconds)
runtime_test.go:144: Expected 0 containers, 3 found
runtime_test.go:164: Expected 1 container, 4 found
=== RUN TestDestroy
--- FAIL: TestDestroy (0.07 seconds)
runtime_test.go:231: Expected 0 container, 3 found
=== RUN TestGet
--- PASS: TestGet (0.07 seconds)
=== RUN TestAllocateTCPPortLocalhost
--- PASS: TestAllocateTCPPortLocalhost (0.61 seconds)
runtime_test.go:296: Trying port 5555
=== RUN TestAllocateUDPPortLocalhost
--- PASS: TestAllocateUDPPortLocalhost (0.61 seconds)
runtime_test.go:296: Trying port 5555
=== RUN TestRestore
--- FAIL: TestRestore (1.13 seconds)
runtime_test.go:447: Expected 2 container, 5 found
runtime_test.go:465: Expected 2 container, 5 found
=== RUN TestContainerTagImageDelete
--- PASS: TestContainerTagImageDelete (0.07 seconds)
=== RUN TestCreateRm
--- FAIL: TestCreateRm (0.07 seconds)
server_test.go:98: Expected 1 container, 4 found
server_test.go:106: Expected 0 container, 3 found
=== RUN TestCommit
--- PASS: TestCommit (0.08 seconds)
=== RUN TestCreateStartRestartStopStartKillRm
2013/09/27 01:28:04 lxc-kill: '8850baaf7f2a1c376fc712aa6ad1f73de357d6a1958966186f628477fcc4d95a' is not running
lxc-kill: failed to get the init pid
2013/09/27 01:28:04 Failed to send SIGTERM to the process, force killing
2013/09/27 01:28:04 error killing container 8850baaf7f2a1c376fc712aa6ad1f73de357d6a1958966186f628477fcc4d95a (lxc-kill: '8850baaf7f2a1c376fc712aa6ad1f73de357d6a1958966186f628477fcc4d95a' is not running
lxc-kill: failed to get the init pid
, exit status 255)
2013/09/27 01:28:04 lxc-kill: '8850baaf7f2a1c376fc712aa6ad1f73de357d6a1958966186f628477fcc4d95a' is not running
lxc-kill: failed to get the init pid
2013/09/27 01:28:04 Failed to send SIGTERM to the process, force killing
2013/09/27 01:28:04 error killing container 8850baaf7f2a1c376fc712aa6ad1f73de357d6a1958966186f628477fcc4d95a (lxc-kill: '8850baaf7f2a1c376fc712aa6ad1f73de357d6a1958966186f628477fcc4d95a' is not running
lxc-kill: failed to get the init pid
, exit status 255)
2013/09/27 01:28:04 error killing container 8850baaf7f2a1c376fc712aa6ad1f73de357d6a1958966186f628477fcc4d95a (lxc-kill: '8850baaf7f2a1c376fc712aa6ad1f73de357d6a1958966186f628477fcc4d95a' is not running
lxc-kill: failed to get the init pid
, exit status 255)
--- FAIL: TestCreateStartRestartStopStartKillRm (1.00 seconds)
server_test.go:149: Expected 1 container, 4 found
server_test.go:183: Expected 0 container, 3 found
=== RUN TestRunWithTooLowMemoryLimit
--- PASS: TestRunWithTooLowMemoryLimit (0.07 seconds)
=== RUN TestContainerTop
--- SKIP: TestContainerTop (0.00 seconds)
server_test.go:209: Fixme. Skipping test for now. Reported error: 'server_test.go:236: Expected 2 processes, found 1.'
=== RUN TestPools
--- PASS: TestPools (0.07 seconds)
=== RUN TestLogEvent
--- PASS: TestLogEvent (0.47 seconds)
=== RUN TestRmi
2013/09/27 01:28:05 error killing container 5e80c94f84d3188ddf607ee8a65bd87f2fe65384f0e9075560d918156731961e (lxc-kill: '5e80c94f84d3188ddf607ee8a65bd87f2fe65384f0e9075560d918156731961e' is not running
lxc-kill: failed to get the init pid
, exit status 255)
--- PASS: TestRmi (0.18 seconds)
=== RUN TestImagesFilter
--- PASS: TestImagesFilter (0.07 seconds)
=== RUN TestServerListOrderedImagesByCreationDate
--- PASS: TestServerListOrderedImagesByCreationDate (0.07 seconds)
=== RUN TestServerListOrderedImagesByCreationDateAndTag
--- PASS: TestServerListOrderedImagesByCreationDateAndTag (0.08 seconds)
=== RUN TestLookupImage
--- PASS: TestLookupImage (0.07 seconds)
=== RUN TestCompareConfig
--- PASS: TestCompareConfig (0.00 seconds)
=== RUN TestMergeConfig
--- PASS: TestMergeConfig (0.00 seconds)
=== RUN TestMergeConfigPublicPortNotHonored
--- PASS: TestMergeConfigPublicPortNotHonored (0.00 seconds)
=== RUN TestParseLxcConfOpt
--- PASS: TestParseLxcConfOpt (0.00 seconds)
=== RUN TestFinal
--- PASS: TestFinal (0.00 seconds)
z_final_test.go:15: Start Fds: 7, Start Goroutines: 9
z_final_test.go:10: Fds: 12, Goroutines: 390
FAIL
exit status 1
FAIL github.com/dotcloud/docker 71.014s
$ docker run -i -t -privileged docker hack/make.sh test
/proc/self/fd /go/src/github.com/dotcloud/docker
/go/src/github.com/dotcloud/docker
bundles/0.6.3-dev already exists. Removing.
---> Making bundle: test (in bundles/0.6.3-dev/test)
Fri Sep 27 03:57:06 UTC 2013
++ cd .
++ go test -v -ldflags '-X main.GITCOMMIT 6d86c67 -X main.VERSION 0.6.3-dev -d -w'
warning: building out-of-date packages:
code.google.com/p/go.net/websocket
github.com/dotcloud/tar
github.com/dotcloud/docker/utils
github.com/dotcloud/docker/auth
github.com/dotcloud/docker/registry
github.com/dotcloud/docker/term
github.com/gorilla/context
github.com/gorilla/mux
github.com/kr/pty
installing these packages with 'go test -i' will speed future tests.
Pulling repository docker-test-image
Pulling image (latest) from docker-test-image, endpoint: https://cdn-registry-1.2013/09/27 03:57:15 Listening for HTTP on 127.0.0.1:4270 (tcp)
=== RUN TestGetBoolParam
--- PASS: TestGetBoolParam (0.00 seconds)
=== RUN TestGetVersion
--- PASS: TestGetVersion (0.03 seconds)
=== RUN TestGetInfo
--- PASS: TestGetInfo (0.03 seconds)
=== RUN TestGetEvents
--- PASS: TestGetEvents (0.53 seconds)
=== RUN TestGetImagesJSON
--- PASS: TestGetImagesJSON (0.03 seconds)
=== RUN TestGetImagesViz
--- PASS: TestGetImagesViz (0.04 seconds)
=== RUN TestGetImagesHistory
--- PASS: TestGetImagesHistory (0.03 seconds)
=== RUN TestGetImagesByName
--- PASS: TestGetImagesByName (0.03 seconds)
=== RUN TestGetContainersJSON
--- PASS: TestGetContainersJSON (0.03 seconds)
=== RUN TestGetContainersExport
--- PASS: TestGetContainersExport (0.14 seconds)
=== RUN TestGetContainersChanges
--- PASS: TestGetContainersChanges (0.34 seconds)
=== RUN TestGetContainersTop
--- SKIP: TestGetContainersTop (0.00 seconds)
api_test.go:448: Fixme. Skipping test for now. Reported error when testing using dind: 'api_test.go:527: Expected 2 processes, found 0.'
=== RUN TestGetContainersByName
--- PASS: TestGetContainersByName (0.04 seconds)
=== RUN TestPostCommit
--- PASS: TestPostCommit (0.36 seconds)
=== RUN TestPostContainersCreate
--- PASS: TestPostContainersCreate (0.37 seconds)
=== RUN TestPostContainersKill
--- PASS: TestPostContainersKill (0.56 seconds)
=== RUN TestPostContainersRestart
2013/09/27 03:57:20 Container ec6e8f7a875b9760edb3ae50c2233be1ba3bee7a165b8e435e12dbbbbb95fdfe failed to exit within 1 seconds of SIGTERM - using the force
--- PASS: TestPostContainersRestart (2.08 seconds)
=== RUN TestPostContainersStart
--- PASS: TestPostContainersStart (0.56 seconds)
=== RUN TestPostContainersStop
2013/09/27 03:57:23 Container 07ba3c140f94482e5f8b0f865bc46e3c7310d8ae395041ab9401a9cca14c7ca0 failed to exit within 1 seconds of SIGTERM - using the force
--- PASS: TestPostContainersStop (1.56 seconds)
=== RUN TestPostContainersWait
--- PASS: TestPostContainersWait (1.42 seconds)
=== RUN TestPostContainersAttach
--- PASS: TestPostContainersAttach (0.91 seconds)
=== RUN TestPostContainersAttachStderr
--- PASS: TestPostContainersAttachStderr (0.88 seconds)
=== RUN TestDeleteContainers
--- PASS: TestDeleteContainers (0.37 seconds)
=== RUN TestOptionsRoute
--- PASS: TestOptionsRoute (0.04 seconds)
=== RUN TestGetEnabledCors
--- PASS: TestGetEnabledCors (0.04 seconds)
=== RUN TestDeleteImages
--- PASS: TestDeleteImages (0.04 seconds)
=== RUN TestJsonContentType
--- PASS: TestJsonContentType (0.00 seconds)
=== RUN TestPostContainersCopy
--- PASS: TestPostContainersCopy (0.26 seconds)
=== RUN TestCmdStreamLargeStderr
--- PASS: TestCmdStreamLargeStderr (0.01 seconds)
=== RUN TestCmdStreamBad
--- PASS: TestCmdStreamBad (0.00 seconds)
=== RUN TestCmdStreamGood
--- PASS: TestCmdStreamGood (0.00 seconds)
=== RUN TestTarUntar
--- PASS: TestTarUntar (0.04 seconds)
=== RUN TestBuild
--- PASS: TestBuild (11.97 seconds)
=== RUN TestVolume
--- PASS: TestVolume (0.07 seconds)
=== RUN TestBuildMaintainer
--- PASS: TestBuildMaintainer (0.06 seconds)
=== RUN TestBuildUser
--- PASS: TestBuildUser (0.05 seconds)
=== RUN TestBuildEnv
--- PASS: TestBuildEnv (0.05 seconds)
=== RUN TestBuildCmd
--- PASS: TestBuildCmd (0.05 seconds)
=== RUN TestBuildExpose
--- PASS: TestBuildExpose (0.05 seconds)
=== RUN TestBuildEntrypoint
--- PASS: TestBuildEntrypoint (0.05 seconds)
=== RUN TestBuildEntrypointRunCleanup
--- PASS: TestBuildEntrypointRunCleanup (0.18 seconds)
=== RUN TestBuildImageWithCache
--- PASS: TestBuildImageWithCache (0.05 seconds)
=== RUN TestBuildImageWithoutCache
--- PASS: TestBuildImageWithoutCache (0.05 seconds)
=== RUN TestForbiddenContextPath
--- PASS: TestForbiddenContextPath (0.05 seconds)
=== RUN TestBuildADDFileNotFound
--- PASS: TestBuildADDFileNotFound (0.04 seconds)
=== RUN TestRunHostname
--- PASS: TestRunHostname (0.17 seconds)
=== RUN TestRunWorkdir
--- PASS: TestRunWorkdir (0.38 seconds)
=== RUN TestRunWorkdirExists
--- PASS: TestRunWorkdirExists (0.38 seconds)
=== RUN TestRunExit
--- PASS: TestRunExit (0.48 seconds)
=== RUN TestRunDisconnect
--- PASS: TestRunDisconnect (0.31 seconds)
=== RUN TestRunDisconnectTty
--- PASS: TestRunDisconnectTty (0.55 seconds)
=== RUN TestRunAttachStdin
--- PASS: TestRunAttachStdin (5.38 seconds)
=== RUN TestRunDetach
--- PASS: TestRunDetach (0.56 seconds)
=== RUN TestAttachDetach
--- PASS: TestAttachDetach (0.66 seconds)
=== RUN TestAttachDisconnect
--- PASS: TestAttachDisconnect (0.78 seconds)
=== RUN TestIDFormat
--- PASS: TestIDFormat (0.04 seconds)
=== RUN TestMultipleAttachRestart
--- PASS: TestMultipleAttachRestart (0.69 seconds)
=== RUN TestDiff
--- PASS: TestDiff (1.16 seconds)
=== RUN TestCommitAutoRun
--- PASS: TestCommitAutoRun (0.75 seconds)
=== RUN TestCommitRun
--- PASS: TestCommitRun (0.74 seconds)
=== RUN TestStart
--- PASS: TestStart (0.56 seconds)
=== RUN TestRun
--- PASS: TestRun (0.38 seconds)
=== RUN TestOutput
--- PASS: TestOutput (0.40 seconds)
=== RUN TestKillDifferentUser
--- PASS: TestKillDifferentUser (0.41 seconds)
=== RUN TestCreateVolume
--- PASS: TestCreateVolume (0.38 seconds)
=== RUN TestKill
--- PASS: TestKill (0.56 seconds)
=== RUN TestExitCode
--- PASS: TestExitCode (0.75 seconds)
=== RUN TestRestart
--- PASS: TestRestart (0.75 seconds)
=== RUN TestRestartStdin
--- PASS: TestRestartStdin (0.76 seconds)
=== RUN TestUser
--- PASS: TestUser (2.26 seconds)
=== RUN TestMultipleContainers
--- PASS: TestMultipleContainers (0.58 seconds)
=== RUN TestStdin
--- PASS: TestStdin (0.37 seconds)
=== RUN TestTty
--- PASS: TestTty (0.31 seconds)
=== RUN TestEnv
--- PASS: TestEnv (0.32 seconds)
=== RUN TestEntrypoint
--- PASS: TestEntrypoint (0.31 seconds)
=== RUN TestEntrypointNoCmd
--- PASS: TestEntrypointNoCmd (0.32 seconds)
=== RUN TestLXCConfig
--- PASS: TestLXCConfig (0.04 seconds)
=== RUN TestCustomLxcConfig
--- PASS: TestCustomLxcConfig (0.04 seconds)
=== RUN TestCopyVolumeUidGid
--- PASS: TestCopyVolumeUidGid (0.58 seconds)
=== RUN TestCopyVolumeContent
--- PASS: TestCopyVolumeContent (0.63 seconds)
=== RUN TestBindMounts
--- PASS: TestBindMounts (0.63 seconds)
=== RUN TestVolumesFromReadonlyMount
--- PASS: TestVolumesFromReadonlyMount (0.64 seconds)
=== RUN TestRestartWithVolumes
--- PASS: TestRestartWithVolumes (0.66 seconds)
=== RUN TestVolumesFromWithVolumes
--- PASS: TestVolumesFromWithVolumes (0.95 seconds)
=== RUN TestOnlyLoopbackExistsWhenUsingDisableNetworkOption
--- FAIL: TestOnlyLoopbackExistsWhenUsingDisableNetworkOption (0.30 seconds)
container_test.go:1488: Wrong interface count in test container: expected [*: lo], got [1: lo 2: sit0]
=== RUN TestPrivilegedCanMknod
--- PASS: TestPrivilegedCanMknod (0.32 seconds)
=== RUN TestPrivilegedCanMount
--- PASS: TestPrivilegedCanMount (0.42 seconds)
=== RUN TestPrivilegedCannotMknod
--- PASS: TestPrivilegedCannotMknod (0.38 seconds)
=== RUN TestPrivilegedCannotMount
--- PASS: TestPrivilegedCannotMount (0.39 seconds)
=== RUN TestMultipleVolumesFrom
--- PASS: TestMultipleVolumesFrom (1.11 seconds)
container_test.go:1596: map[/test:/tmp/docker-test241202937/volumes/45cf5c72eb4a6a3630f92dc1fa8dc46def0f7d58b41498b1302c590d71f7baea/layer /other:/tmp/docker-test241202937/volumes/07af7d1ef9103ff988cc5bddf62406f89e2fcef9f4c65996f38275ca67bb86d6/layer]
=== RUN TestInit
--- PASS: TestInit (0.00 seconds)
=== RUN TestInterruptedRegister
--- PASS: TestInterruptedRegister (0.20 seconds)
=== RUN TestGraphCreate
--- PASS: TestGraphCreate (0.01 seconds)
=== RUN TestRegister
--- PASS: TestRegister (0.00 seconds)
=== RUN TestMount
--- PASS: TestMount (0.00 seconds)
=== RUN TestDeletePrefix
--- PASS: TestDeletePrefix (0.00 seconds)
=== RUN TestDelete
--- PASS: TestDelete (0.01 seconds)
=== RUN TestByParent
--- PASS: TestByParent (0.01 seconds)
=== RUN TestTCP4Proxy
--- PASS: TestTCP4Proxy (0.00 seconds)
network_proxy_test.go:47: EchoServer listening on tcp/127.0.0.1:37877
network_proxy_test.go:59: TCP client accepted on the EchoServer
=== RUN TestTCP6Proxy
--- PASS: TestTCP6Proxy (0.00 seconds)
network_proxy_test.go:47: EchoServer listening on tcp/[::1]:41227
network_proxy_test.go:59: TCP client accepted on the EchoServer
=== RUN TestTCPDualStackProxy
--- SKIP: TestTCPDualStackProxy (0.00 seconds)
network_proxy_test.go:149: No support for dual stack yet
=== RUN TestUDP4Proxy
--- PASS: TestUDP4Proxy (0.00 seconds)
network_proxy_test.go:47: EchoServer listening on udp/127.0.0.1:49901
network_proxy_test.go:82: Writing UDP datagram back
=== RUN TestUDP6Proxy
--- PASS: TestUDP6Proxy (0.00 seconds)
network_proxy_test.go:47: EchoServer listening on udp/[::1]:46469
network_proxy_test.go:82: Writing UDP datagram back
=== RUN TestUDPWriteError
--- PASS: TestUDPWriteError (0.00 seconds)
network_proxy_test.go:47: EchoServer listening on udp/127.0.0.1:25587
network_proxy_test.go:82: Writing UDP datagram back
=== RUN TestIptables
--- PASS: TestIptables (0.00 seconds)
=== RUN TestParseNat
--- PASS: TestParseNat (0.00 seconds)
=== RUN TestPortAllocation
--- PASS: TestPortAllocation (0.00 seconds)
=== RUN TestNetworkRange
--- PASS: TestNetworkRange (0.00 seconds)
=== RUN TestConversion
--- PASS: TestConversion (0.00 seconds)
=== RUN TestIPAllocator
--- PASS: TestIPAllocator (0.00 seconds)
=== RUN TestNetworkOverlaps
--- PASS: TestNetworkOverlaps (0.00 seconds)
=== RUN TestCheckRouteOverlaps
--- PASS: TestCheckRouteOverlaps (0.00 seconds)
=== RUN TestRuntimeCreate
--- FAIL: TestRuntimeCreate (0.04 seconds)
runtime_test.go:144: Expected 0 containers, 3 found
runtime_test.go:164: Expected 1 container, 4 found
=== RUN TestDestroy
--- FAIL: TestDestroy (0.04 seconds)
runtime_test.go:231: Expected 0 container, 3 found
=== RUN TestGet
--- PASS: TestGet (0.04 seconds)
=== RUN TestAllocateTCPPortLocalhost
--- PASS: TestAllocateTCPPortLocalhost (0.58 seconds)
runtime_test.go:296: Trying port 5555
=== RUN TestAllocateUDPPortLocalhost
--- PASS: TestAllocateUDPPortLocalhost (0.57 seconds)
runtime_test.go:296: Trying port 5555
=== RUN TestRestore
--- FAIL: TestRestore (1.13 seconds)
runtime_test.go:447: Expected 2 container, 5 found
runtime_test.go:465: Expected 2 container, 5 found
=== RUN TestContainerTagImageDelete
--- PASS: TestContainerTagImageDelete (0.04 seconds)
=== RUN TestCreateRm
--- FAIL: TestCreateRm (0.04 seconds)
server_test.go:98: Expected 1 container, 4 found
server_test.go:106: Expected 0 container, 3 found
=== RUN TestCommit
--- PASS: TestCommit (0.05 seconds)
=== RUN TestCreateStartRestartStopStartKillRm
2013/09/27 03:58:12 lxc-kill: 'dd83a68ca2956b43ced6d8d76e624801ff8f3f61657be67689ebb78deae5e966' is not running
lxc-kill: failed to get the init pid
2013/09/27 03:58:12 Failed to send SIGTERM to the process, force killing
2013/09/27 03:58:12 error killing container dd83a68ca2956b43ced6d8d76e624801ff8f3f61657be67689ebb78deae5e966 (lxc-kill: 'dd83a68ca2956b43ced6d8d76e624801ff8f3f61657be67689ebb78deae5e966' is not running
lxc-kill: failed to get the init pid
, exit status 255)
2013/09/27 03:58:12 lxc-kill: 'dd83a68ca2956b43ced6d8d76e624801ff8f3f61657be67689ebb78deae5e966' is not running
lxc-kill: failed to get the init pid
2013/09/27 03:58:12 Failed to send SIGTERM to the process, force killing
2013/09/27 03:58:12 error killing container dd83a68ca2956b43ced6d8d76e624801ff8f3f61657be67689ebb78deae5e966 (lxc-kill: 'dd83a68ca2956b43ced6d8d76e624801ff8f3f61657be67689ebb78deae5e966' is not running
lxc-kill: failed to get the init pid
, exit status 255)
2013/09/27 03:58:13 error killing container dd83a68ca2956b43ced6d8d76e624801ff8f3f61657be67689ebb78deae5e966 (lxc-kill: 'dd83a68ca2956b43ced6d8d76e624801ff8f3f61657be67689ebb78deae5e966' is not running
lxc-kill: failed to get the init pid
, exit status 255)
--- FAIL: TestCreateStartRestartStopStartKillRm (0.97 seconds)
server_test.go:149: Expected 1 container, 4 found
server_test.go:183: Expected 0 container, 3 found
=== RUN TestRunWithTooLowMemoryLimit
--- PASS: TestRunWithTooLowMemoryLimit (0.04 seconds)
=== RUN TestContainerTop
--- SKIP: TestContainerTop (0.00 seconds)
server_test.go:209: Fixme. Skipping test for now. Reported error: 'server_test.go:236: Expected 2 processes, found 1.'
=== RUN TestPools
--- PASS: TestPools (0.04 seconds)
=== RUN TestLogEvent
--- PASS: TestLogEvent (0.44 seconds)
=== RUN TestRmi
2013/09/27 03:58:14 error killing container 0d25a757949dba24aaabd06593a72725057f8a29e86f86e37916346c34bb146b (lxc-kill: '0d25a757949dba24aaabd06593a72725057f8a29e86f86e37916346c34bb146b' is not running
lxc-kill: failed to get the init pid
, exit status 255)
2013/09/27 03:58:14 error killing container 05a83aace88870ecc7293dc5f6fffa323e9fff895ceb6f3fe0905bfce5fa2dfe (lxc-kill: '05a83aace88870ecc7293dc5f6fffa323e9fff895ceb6f3fe0905bfce5fa2dfe' is not running
lxc-kill: failed to get the init pid
, exit status 255)
--- PASS: TestRmi (0.14 seconds)
=== RUN TestImagesFilter
--- PASS: TestImagesFilter (0.04 seconds)
=== RUN TestServerListOrderedImagesByCreationDate
--- PASS: TestServerListOrderedImagesByCreationDate (0.04 seconds)
=== RUN TestServerListOrderedImagesByCreationDateAndTag
--- PASS: TestServerListOrderedImagesByCreationDateAndTag (0.05 seconds)
=== RUN TestLookupImage
--- PASS: TestLookupImage (0.04 seconds)
=== RUN TestCompareConfig
--- PASS: TestCompareConfig (0.00 seconds)
=== RUN TestMergeConfig
--- PASS: TestMergeConfig (0.00 seconds)
=== RUN TestMergeConfigPublicPortNotHonored
--- PASS: TestMergeConfigPublicPortNotHonored (0.00 seconds)
=== RUN TestParseLxcConfOpt
--- PASS: TestParseLxcConfOpt (0.00 seconds)
=== RUN TestFinal
--- PASS: TestFinal (0.00 seconds)
z_final_test.go:15: Start Fds: 7, Start Goroutines: 9
z_final_test.go:10: Fds: 12, Goroutines: 390
FAIL
exit status 1
FAIL github.com/dotcloud/docker 64.939s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment