π·ββοΈ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (s *DockerSuite) TestRunCapDropCannotMknod(c *check.C) { | |
// Not applicable for Windows as there is no concept of --cap-drop or mknod | |
testRequires(c, DaemonIsLinux) | |
out, _, err := dockerCmdWithError("run", "--cap-drop=MKNOD", "busybox", "sh", "-c", "mknod /tmp/sda b 8 0 && echo ok") | |
if err == nil { | |
c.Fatal(err, out) | |
} | |
if actual := strings.Trim(out, "\r\n"); actual == "ok" { | |
c.Fatalf("expected output not ok received %s", actual) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// start a service whose task is unhealthy at beginning | |
// its tasks should be blocked in starting stage, until health check is passed | |
func (s *DockerSwarmSuite) TestServiceHealthStart(c *check.C) { | |
testRequires(c, DaemonIsLinux) // busybox doesn't work on Windows | |
d := s.AddDaemon(c, true, true) | |
// service started from this image won't pass health check | |
imageName := "testhealth" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func waitForStatus(c *check.C, name string, prev string, expected string) { | |
prev = prev + "\n" | |
expected = expected + "\n" | |
for { | |
out, _ := dockerCmd(c, "inspect", "--format={{.State.Status}}", name) | |
if out == expected { | |
return | |
} | |
c.Check(out, checker.Equals, prev) | |
if out != prev { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ξ» go test ./... 1 β΅ | |
--- FAIL: TestRetryAlwaysFailing (1.01s) | |
retry_test.go:10: I am always failing | |
retry_test.go:10: I am always failing | |
retry_test.go:10: I am always failing | |
retry_test.go:10: I am always failing | |
retry_test.go:10: I am always failing | |
retry_test.go:10: I am always failing | |
retry_test.go:10: I am always failing | |
retry_test.go:10: I am always failing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "some-build", | |
"job": "docker master", | |
"platform": "linux", | |
"architecture": "amd64", | |
"stages": [ | |
{ | |
"name": "build", | |
"duration": "100s" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------------------------------------------------------------------- | |
14:44:30 PANIC: docker_api_attach_test.go:37: DockerAPIAttachSuite.TearDownSuite | |
14:44:30 | |
14:44:30 ... Panic: runtime error: invalid memory address or nil pointer dereference (PC=0x45B283) | |
14:44:30 | |
14:44:30 d:/CI/CI-734c06fab/go/src/runtime/asm_amd64.s:479 | |
14:44:30 in call32 | |
14:44:30 d:/CI/CI-734c06fab/go/src/runtime/panic.go:458 | |
14:44:30 in gopanic | |
14:44:30 d:/CI/CI-734c06fab/go/src/runtime/panic.go:62 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- FAIL: TestNodeInspectPretty (0.00s) | |
assert.go:84: inspect_test.go:128: Expected 'ID: nodeID1 | |
Name: defaultNodeName | |
Labels: | |
- lbl2 = value2 | |
- lbl1 = value1 | |
Hostname: defaultNodeHostname | |
Joined at: 2012-11-01 22:08:41 +0000 +0000 | |
Status: | |
State: Ready |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vincent@wakasu> tree -a target ~/go/src/github.com/vdemeester/tuck | |
target | |
βββ .bashrc -> /home/vincent/.nix-profile/nix-home/sbr-sh-config/.bashrc | |
βββ .cfg-post.d | |
βΒ Β βββ git-config -> /home/vincent/.nix-profile/nix-home/sbr-git-config/.cfg-post.d/git-config | |
βΒ Β βββ go-config -> /home/vincent/.nix-profile/nix-home/sbr-go-config/.cfg-post.d/go-config | |
βΒ Β βββ ssh-config -> /home/vincent/.nix-profile/nix-home/sbr-ssh-config/.cfg-post.d/ssh-config | |
βββ .config | |
βΒ Β βββ git | |
βΒ Β βΒ Β βββ config.d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
target | |
βββ 2 -> /home/vincent/go/src/github.com/vdemeester/tuck/testdata/b/2 | |
βββ 5 -> /home/vincent/go/src/github.com/vdemeester/tuck/testdata/c/5 | |
βββ 6 -> /home/vincent/go/src/github.com/vdemeester/tuck/testdata/d/6 | |
βββ b | |
βΒ Β βββ 1 -> /home/vincent/go/src/github.com/vdemeester/tuck/testdata/a/b/1 | |
βββ d | |
βΒ Β βββ 3 -> /home/vincent/go/src/github.com/vdemeester/tuck/testdata/c/d/3 | |
βββ e | |
βΒ Β βββ 7 -> /home/vincent/go/src/github.com/vdemeester/tuck/testdata/d/e/7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vincent@wakasu> cd junit5-docker ~/src/github/FaustXVI | |
direnv: loading .envrc | |
these derivations will be built: | |
/nix/store/0n78kk6p3dq1mllx2sbn182za1r5788z-junit5-docker.drv | |
these paths will be fetched (16.18 MiB download, 21.34 MiB unpacked): | |
/nix/store/2xk6hbsjmayfv1vppwasmmr68a5zkl4q-apache-maven-3.3.9 | |
/nix/store/g4f1bms36hgg5abfd8xc4bj6sfzsy61d-bash-4.3-p48-info | |
/nix/store/i76bwv541a7zj576hkdia62169r2nl0z-bash-4.3-p48-doc | |
fetching path β/nix/store/i76bwv541a7zj576hkdia62169r2nl0z-bash-4.3-p48-docβ... | |
fetching path β/nix/store/g4f1bms36hgg5abfd8xc4bj6sfzsy61d-bash-4.3-p48-infoβ... |