-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: lots of TestCtlV3Txn* failures #8299
Comments
Think it's related? Can you run with |
@gyuho will do. |
works fine on master; the interactive tests are failing because of the changed string in the PR |
$ EXPECT_DEBUG="true" go test -run TestCtlV3TxnInteractiveSuccess$ -v
# output
../bin/etcdctl-21058: OK
../bin/etcdctl-21059: OK
../bin/etcdctl-21060: compares:
../bin/etcdctl-21060: value("key1") != "value2"
../bin/etcdctl-21060: value("key2") != "value1"
../bin/etcdctl-21060:
../bin/etcdctl-21060: success requests (get, put, del):
--- FAIL: TestCtlV3TxnInteractiveSuccess (16.21s)
testutil.go:55: goroutine 37 [running]:
github.com/coreos/etcd/pkg/testutil.FatalStack(0xc4201845b0, 0xc420189520, 0x18)
/Users/fanminshi/work/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/pkg/testutil/testutil.go:54 +0x74
_/Users/fanminshi/work/src/github.com/coreos/etcd/e2e.testCtl(0xc4201845b0, 0x18aaaa0, 0xc420038f90, 0x1, 0x1)
/Users/fanminshi/work/src/github.com/coreos/etcd/e2e/ctl_v3_test.go:166 +0x44f
_/Users/fanminshi/work/src/github.com/coreos/etcd/e2e.TestCtlV3TxnInteractiveSuccess(0xc4201845b0)
/Users/fanminshi/work/src/github.com/coreos/etcd/e2e/ctl_v3_txn_test.go:20 +0x6a
testing.tRunner(0xc4201845b0, 0x18aa6d8)
/usr/local/go/src/testing/testing.go:657 +0x96
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:697 +0x2ca
goroutine 1 [chan receive]:
testing.(*T).Run(0xc4201844e0, 0x1890f2b, 0x1e, 0x18aa6d8, 0x105b301)
/usr/local/go/src/testing/testing.go:698 +0x2f4
testing.runTests.func1(0xc4201844e0)
/usr/local/go/src/testing/testing.go:882 +0x67
testing.tRunner(0xc4201844e0, 0xc4201ebd90)
/usr/local/go/src/testing/testing.go:657 +0x96
testing.runTests(0xc420188920, 0x1c3b180, 0x8c, 0x8c, 0x188288b)
/usr/local/go/src/testing/testing.go:888 +0x2c1
testing.(*M).Run(0xc4201ebf20, 0x188b9ed)
/usr/local/go/src/testing/testing.go:822 +0xfc
_/Users/fanminshi/work/src/github.com/coreos/etcd/e2e.TestMain(0xc4201ebf20)
/Users/fanminshi/work/src/github.com/coreos/etcd/e2e/main_test.go:48 +0x415
main.main()
_/Users/fanminshi/work/src/github.com/coreos/etcd/e2e/_test/_testmain.go:318 +0xf7
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2197 +0x1
goroutine 60 [chan receive]:
github.com/coreos/etcd/pkg/logutil.(*MergeLogger).outputLoop(0xc420196be0)
/Users/fanminshi/work/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/pkg/logutil/merge_logger.go:174 +0x94
created by github.com/coreos/etcd/pkg/logutil.NewMergeLogger
/Users/fanminshi/work/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/pkg/logutil/merge_logger.go:92 +0xd4
goroutine 40 [semacquire]:
sync.runtime_notifyListWait(0xc4201cedd0, 0x3)
/usr/local/go/src/runtime/sema.go:297 +0x10b
sync.(*Cond).Wait(0xc4201cedc0)
/usr/local/go/src/sync/cond.go:57 +0x89
github.com/coreos/etcd/pkg/expect.(*ExpectProcess).ExpectFunc(0xc4201d2b00, 0xc42004b900, 0x1bf45c0, 0xc4201d0050, 0x187c1b8, 0x1)
/Users/fanminshi/work/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/pkg/expect/expect.go:104 +0x66
github.com/coreos/etcd/pkg/expect.(*ExpectProcess).Expect(0xc4201d2b00, 0x18962ad, 0x24, 0x0, 0x0, 0xc42017de40, 0x1a)
/Users/fanminshi/work/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/pkg/expect/expect.go:122 +0x6b
_/Users/fanminshi/work/src/github.com/coreos/etcd/e2e.ctlV3Txn(0xc4201845b0, 0xc420186180, 0xb, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x4e20, ...)
/Users/fanminshi/work/src/github.com/coreos/etcd/e2e/ctl_v3_txn_test.go:122 +0x25b
_/Users/fanminshi/work/src/github.com/coreos/etcd/e2e.txnTestSuccess(0xc4201845b0, 0xc420186180, 0xb, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x4e20, ...)
/Users/fanminshi/work/src/github.com/coreos/etcd/e2e/ctl_v3_txn_test.go:61 +0x626
_/Users/fanminshi/work/src/github.com/coreos/etcd/e2e.testCtl.func2(0xc42018a900, 0x18aaaa0, 0xc42021c000)
/Users/fanminshi/work/src/github.com/coreos/etcd/e2e/ctl_v3_test.go:157 +0x83
created by _/Users/fanminshi/work/src/github.com/coreos/etcd/e2e.testCtl
/Users/fanminshi/work/src/github.com/coreos/etcd/e2e/ctl_v3_test.go:158 +0x2f5
goroutine 39 [syscall]:
syscall.Syscall(0x3, 0x3, 0xc420226000, 0x1000, 0x10bb6cc, 0xc4201550f3, 0xc420071b60)
/usr/local/go/src/syscall/asm_darwin_amd64.s:16 +0x5
syscall.read(0x3, 0xc420226000, 0x1000, 0x1000, 0xc420039bb0, 0x0, 0x0)
/usr/local/go/src/syscall/zsyscall_darwin_amd64.go:973 +0x55
syscall.Read(0x3, 0xc420226000, 0x1000, 0x1000, 0x1034aee, 0xc4202221a0, 0x200000003)
/usr/local/go/src/syscall/syscall_unix.go:162 +0x49
os.(*File).read(0xc4201d0020, 0xc420226000, 0x1000, 0x1000, 0x1, 0xc4201550e0, 0x68)
/usr/local/go/src/os/file_unix.go:165 +0x6a
os.(*File).Read(0xc4201d0020, 0xc420226000, 0x1000, 0x1000, 0xa0, 0x68, 0x0)
/usr/local/go/src/os/file.go:101 +0x76
bufio.(*Reader).fill(0xc420039f18)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).ReadSlice(0xc420039f18, 0xc420039d0a, 0x1011182, 0xc42017db20, 0x20, 0x20, 0x1744580)
/usr/local/go/src/bufio/bufio.go:338 +0xbb
bufio.(*Reader).ReadBytes(0xc420039f18, 0xa, 0x20, 0xc42017db20, 0x3, 0x3, 0x68)
/usr/local/go/src/bufio/bufio.go:416 +0x66
bufio.(*Reader).ReadString(0xc420039f18, 0xc420151d0a, 0x1, 0x1, 0x2, 0xc42017db20)
/usr/local/go/src/bufio/bufio.go:456 +0x38
github.com/coreos/etcd/pkg/expect.(*ExpectProcess).read(0xc4201d2300)
/Users/fanminshi/work/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/pkg/expect/expect.go:80 +0x13c
created by github.com/coreos/etcd/pkg/expect.NewExpectWithEnv
/Users/fanminshi/work/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/pkg/expect/expect.go:70 +0x262
goroutine 42 [syscall]:
syscall.Syscall(0x3, 0x4, 0xc42022a000, 0x1000, 0x10bb6cc, 0xc420220216, 0xc42018d260)
/usr/local/go/src/syscall/asm_darwin_amd64.s:16 +0x5
syscall.read(0x4, 0xc42022a000, 0x1000, 0x1000, 0xc420038bb0, 0x0, 0x0)
/usr/local/go/src/syscall/zsyscall_darwin_amd64.go:973 +0x55
syscall.Read(0x4, 0xc42022a000, 0x1000, 0x1000, 0x1034aee, 0xc420222340, 0x200000003)
/usr/local/go/src/syscall/syscall_unix.go:162 +0x49
os.(*File).read(0xc4201d0050, 0xc42022a000, 0x1000, 0x1000, 0x1, 0xc420220200, 0x39)
/usr/local/go/src/os/file_unix.go:165 +0x6a
os.(*File).Read(0xc4201d0050, 0xc42022a000, 0x1000, 0x1000, 0x200, 0x39, 0x0)
/usr/local/go/src/os/file.go:101 +0x76
bufio.(*Reader).fill(0xc420038f18)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).ReadSlice(0xc420038f18, 0xa, 0x0, 0xc4200b6160, 0x39, 0x0, 0xc420038d70)
/usr/local/go/src/bufio/bufio.go:338 +0xbb
bufio.(*Reader).ReadBytes(0xc420038f18, 0xa, 0xc420182c30, 0x0, 0x0, 0xc4201cedd8, 0xc420038e38)
/usr/local/go/src/bufio/bufio.go:416 +0x66
bufio.(*Reader).ReadString(0xc420038f18, 0xa, 0xc420038ee8, 0x3, 0x3, 0x39)
/usr/local/go/src/bufio/bufio.go:456 +0x38
github.com/coreos/etcd/pkg/expect.(*ExpectProcess).read(0xc4201d2b00)
/Users/fanminshi/work/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/pkg/expect/expect.go:80 +0x13c
created by github.com/coreos/etcd/pkg/expect.NewExpectWithEnv
/Users/fanminshi/work/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/pkg/expect/expect.go:70 +0x262
testutil.go:56: test timed out after 15s |
@fanminshi |
@gyuho were you able to spot the issue? |
nvm, i got it from here https://github.com/coreos/etcd/blob/master/e2e/ctl_v3_txn_test.go#L122 |
can this be closed? /cc @fanminshi |
yeah, close via #8297. |
via https://semaphoreci.com/coreos/etcd/branches/pull-request-8297/builds/1
The text was updated successfully, but these errors were encountered: