cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.01k stars 3.79k forks source link

teamcity: failed tests on master: acceptance/TestDockerC/Fail, acceptance/TestDockerC, acceptance/TestDockerC/Success, test/TestServer/version, test/TestServer/version/4, test/TestServer, test/TestServer/version/3, test/TestServer/version/6 #17898

Closed cockroach-teamcity closed 7 years ago

cockroach-teamcity commented 7 years ago

The following tests appear to have failed:

#333738:

--- FAIL: acceptance/TestDockerC/Fail (0.000s)
Test ended in panic.

------- Stdout: -------
panic: Error response from daemon: Get https://registry-1.docker.io/v2/library/ubuntu/manifests/xenial-20170214: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fubuntu%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 8.8.8.8:53: no such host [recovered]
    panic: Error response from daemon: Get https://registry-1.docker.io/v2/library/ubuntu/manifests/xenial-20170214: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fubuntu%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 8.8.8.8:53: no such host [recovered]
    panic: Error response from daemon: Get https://registry-1.docker.io/v2/library/ubuntu/manifests/xenial-20170214: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fubuntu%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 8.8.8.8:53: no such host

goroutine 408 [running]:
testing.tRunner.func1(0xc420950820)
    /usr/local/go/src/testing/testing.go:622 +0x29d
panic(0x18cd420, 0xc420129ce0)
    /usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/cockroachdb/cockroach/pkg/acceptance/cluster.(*LocalCluster).stopOnPanic(0xc420502240, 0x7fe2e4b2e158, 0xc420018de8)
    /go/src/github.com/cockroachdb/cockroach/pkg/acceptance/cluster/localcluster.go:268 +0xb1
panic(0x18cd420, 0xc420129ce0)
    /usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/cockroachdb/cockroach/pkg/acceptance/cluster.maybePanic(0x270a5e0, 0xc420129ce0)
    /go/src/github.com/cockroachdb/cockroach/pkg/acceptance/cluster/docker.go:153 +0x4a
github.com/cockroachdb/cockroach/pkg/acceptance/cluster.(*LocalCluster).initCluster(0xc420502240, 0x7fe2e4b2e158, 0xc420018de8)
    /go/src/github.com/cockroachdb/cockroach/pkg/acceptance/cluster/localcluster.go:386 +0xf87
github.com/cockroachdb/cockroach/pkg/acceptance/cluster.(*LocalCluster).Start(0xc420502240, 0x7fe2e4b2e158, 0xc420018de8)
    /go/src/github.com/cockroachdb/cockroach/pkg/acceptance/cluster/localcluster.go:668 +0x122
github.com/cockroachdb/cockroach/pkg/acceptance.StartCluster(0x7fe2e4b2e158, 0xc420018de8, 0xc420950820, 0x1abaab8, 0x1, 0xc4202b3d40, 0x1, 0x1, 0x12a05f200, 0x0, ...)
    /go/src/github.com/cockroachdb/cockroach/pkg/acceptance/util.go:435 +0x180
github.com/cockroachdb/cockroach/pkg/acceptance.testDocker(0x7fe2e4b2e158, 0xc420018de8, 0xc420950820, 0xc400000001, 0x1abaab8, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
    /go/src/github.com/cockroachdb/cockroach/pkg/acceptance/util.go:569 +0x1bb
github.com/cockroachdb/cockroach/pkg/acceptance.testDockerSingleNode(0x7fe2e4b2e158, 0xc420018de8, 0xc420950820, 0x1abaab8, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /go/src/github.com/cockroachdb/cockroach/pkg/acceptance/util.go:589 +0x9f
github.com/cockroachdb/cockroach/pkg/acceptance.testDockerFail(0x7fe2e4b2e158, 0xc420018de8, 0xc420950820, 0x1abaab8, 0x1, 0xc420b30180, 0x3, 0x3)
    /go/src/github.com/cockroachdb/cockroach/pkg/acceptance/util.go:540 +0xea
github.com/cockroachdb/cockroach/pkg/acceptance.TestDockerC.func2(0xc420950820)
    /go/src/github.com/cockroachdb/cockroach/pkg/acceptance/c_test.go:35 +0x14b
testing.tRunner(0xc420950820, 0xc4202b3ce0)
    /usr/local/go/src/testing/testing.go:657 +0x96
created by testing.(*T).Run
    /usr/local/go/src/testing/testing.go:697 +0x2ca
--- FAIL: acceptance/TestDockerC (0.000s)
Test ended in panic.

--- FAIL: acceptance/TestDockerC/Success (0.000s)
Test ended in panic.

------- Stdout: -------
xenial-20170214: Pulling from library/ubuntu
Digest: sha256:dd7808d8792c9841d0b460122f1acf0a2dd1f56404f8d1e56298048885e45535
Status: Image is up to date for ubuntu:xenial-20170214
xenial-20170214: Pulling from library/ubuntu
Digest: sha256:dd7808d8792c9841d0b460122f1acf0a2dd1f56404f8d1e56298048885e45535
Status: Image is up to date for ubuntu:xenial-20170214
20170423-1100: Pulling from cockroachdb/postgres-test
5040bd298390: Already exists
fce5728aad85: Already exists
76610ec20bf5: Already exists
60170fec2151: Already exists
e98f73de8f0d: Already exists
11f7af24ed9c: Already exists
49e2d6393f32: Already exists
bb9cdec9c7f3: Already exists
c3f02aa425cb: Pulling fs layer
b635ac48319e: Pulling fs layer
cbb7a916d05e: Pulling fs layer
ddb29468a720: Pulling fs layer
7ff2d9338bbe: Pulling fs layer
584be4440e94: Pulling fs layer
dffd975f2498: Pulling fs layer
ede77377308a: Pulling fs layer
ef86b3fcfd15: Pulling fs layer
56ca6f30a4b3: Pulling fs layer
2d076d7589a2: Pulling fs layer
584be4440e94: Waiting
dffd975f2498: Waiting
ede77377308a: Waiting
ddb29468a720: Waiting
ef86b3fcfd15: Waiting
56ca6f30a4b3: Waiting
2d076d7589a2: Waiting
7ff2d9338bbe: Waiting
cbb7a916d05e: Verifying Checksum
cbb7a916d05e: Download complete
b635ac48319e: Download complete
7ff2d9338bbe: Verifying Checksum
7ff2d9338bbe: Download complete
584be4440e94: Verifying Checksum
584be4440e94: Download complete
dffd975f2498: Verifying Checksum
dffd975f2498: Download complete
ede77377308a: Verifying Checksum
ede77377308a: Download complete
ddb29468a720: Verifying Checksum
ddb29468a720: Download complete
ef86b3fcfd15: Verifying Checksum
ef86b3fcfd15: Download complete
56ca6f30a4b3: Verifying Checksum
56ca6f30a4b3: Download complete
2d076d7589a2: Verifying Checksum
2d076d7589a2: Download complete
c3f02aa425cb: Verifying Checksum
c3f02aa425cb: Download complete
c3f02aa425cb: Pull complete
b635ac48319e: Pull complete
cbb7a916d05e: Pull complete
ddb29468a720: Pull complete
7ff2d9338bbe: Pull complete
584be4440e94: Pull complete
dffd975f2498: Pull complete
ede77377308a: Pull complete
ef86b3fcfd15: Pull complete
56ca6f30a4b3: Pull complete
2d076d7589a2: Pull complete
Digest: sha256:1fd869a88a4316aa1e464501fdff364aef43512ca8aa12914ebc0790f37a58c6
Status: Downloaded newer image for cockroachdb/postgres-test:20170423-1100
--- FAIL: test/TestServer/version (0.000s)
Test ended in panic.

--- FAIL: test/TestServer/version/4 (0.000s)
Test ended in panic.

------- Stdout: -------
I170824 17:08:04.943892 4166 util/stop/stopper.go:475  quiescing; tasks left:
1      distsqlrun.ServerImpl: sync flow
1      [async] drain
I170824 17:08:04.944630 4166 util/stop/stopper.go:475  quiescing; tasks left:
1      distsqlrun.ServerImpl: sync flow
E170824 17:08:04.944885 5029 util/log/crash_reporting.go:82  [n1] a panic has occurred!
E170824 17:08:04.950693 5029 util/log/crash_reporting.go:183  [n1] Reported as error 93ff3fc9852c4b36a3749e3a4f6f9e24
panic: send on closed channel [recovered]
    panic: send on closed channel

goroutine 5029 [running]:
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).Recover(0xc420d58000, 0x7ff8d4056368, 0xc4221a6de0)
    /go/src/github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:182 +0xb2
panic(0x193dac0, 0xc4222b20a0)
    /usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/cockroachdb/cockroach/pkg/sql/distsqlrun.(*RowChannel).Push(0xc4221a4c80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x27a0ce0, 0xc422310000, 0x0, ...)
    /go/src/github.com/cockroachdb/cockroach/pkg/sql/distsqlrun/base.go:320 +0x1d8
github.com/cockroachdb/cockroach/pkg/sql/distsqlrun.(*Flow).cancel(0xc422268000)
    /go/src/github.com/cockroachdb/cockroach/pkg/sql/distsqlrun/flow.go:459 +0x222
github.com/cockroachdb/cockroach/pkg/sql/distsqlrun.(*Flow).Wait(0xc422268000)
    /go/src/github.com/cockroachdb/cockroach/pkg/sql/distsqlrun/flow.go:387 +0x11b
github.com/cockroachdb/cockroach/pkg/sql/distsqlrun.(*ServerImpl).RunSyncFlow.func1(0x7ff8d4056e18, 0xc421275f00)
    /go/src/github.com/cockroachdb/cockroach/pkg/sql/distsqlrun/server.go:347 +0xfd
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunTask(0xc420d58000, 0x7ff8d4056368, 0xc4221a6de0, 0x1b207d9, 0x20, 0xc4222a7ba0, 0x0, 0x0)
    /go/src/github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:230 +0xf7
github.com/cockroachdb/cockroach/pkg/sql/distsqlrun.(*ServerImpl).RunSyncFlow(0xc420e40000, 0x27c0de0, 0xc4221a0890, 0x27b1820, 0xc420e40000)
    /go/src/github.com/cockroachdb/cockroach/pkg/sql/distsqlrun/server.go:349 +0x1c2
github.com/cockroachdb/cockroach/pkg/sql/distsqlrun._DistSQL_RunSyncFlow_Handler(0x1abb4a0, 0xc420e40000, 0x27bdfc0, 0xc4220ecfc0, 0x1ae3fe0, 0x60)
    /go/src/github.com/cockroachdb/cockroach/pkg/sql/distsqlrun/api.pb.go:323 +0xb7
github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc.(*Server).processStreamingRPC(0xc421e59900, 0x27bf280, 0xc420f8e840, 0xc420858a00, 0xc4203ccb10, 0x2789980, 0x0, 0x0, 0x0)
    /go/src/github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc/server.go:891 +0xa4c
github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc.(*Server).handleStream(0xc421e59900, 0x27bf280, 0xc420f8e840, 0xc420858a00, 0x0)
    /go/src/github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc/server.go:985 +0x153f
github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc4202fe840, 0xc421e59900, 0x27bf280, 0xc420f8e840, 0xc420858a00)
    /go/src/github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc/server.go:551 +0xa9
created by github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc.(*Server).serveStreams.func1
    /go/src/github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc/server.go:552 +0xa1

goroutine 1 [chan receive]:
testing.(*T).Run(0xc4202709c0, 0x1b0147d, 0xa, 0x1bc4690, 0xc4206adc01)
    /usr/local/go/src/testing/testing.go:698 +0x2f4
testing.runTests.func1(0xc4202709c0)
    /usr/local/go/src/testing/testing.go:882 +0x67
testing.tRunner(0xc4202709c0, 0xc4206adda0)
    /usr/local/go/src/testing/testing.go:657 +0x96
testing.runTests(0xc4201db360, 0x2793b40, 0x28, 0x28, 0x2c59f40)
    /usr/local/go/src/testing/testing.go:888 +0x2c1
testing.(*M).Run(0xc42053df20, 0x2c9aa60)
    /usr/local/go/src/testing/testing.go:822 +0xfc
github.com/cockroachdb/cockroach/pkg/sql/distsqlrun_test.TestMain(0xc4206adf20)
    /go/src/github.com/cockroachdb/cockroach/pkg/sql/distsqlrun/main_test.go:36 +0xda
main.main()
    github.com/cockroachdb/cockroach/pkg/sql/distsqlrun/_test/_testmain.go:126 +0xf7

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:2197 +0x1

goroutine 6 [chan receive]:
github.com/cockroachdb/cockroach/pkg/util/log.(*loggingT).flushDaemon(0x2c5bb00)
    /go/src/github.com/cockroachdb/cockroach/pkg/util/log/clog.go:990 +0x77
created by github.com/cockroachdb/cockroach/pkg/util/log.init.1
    /go/src/github.com/cockroachdb/cockroach/pkg/util/log/clog.go:575 +0xd9

goroutine 15 [syscall]:
os/signal.signal_recv(0x0)
    /usr/local/go/src/runtime/sigqueue.go:116 +0x104
os/signal.loop()
    /usr/local/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.1
    /usr/local/go/src/os/signal/signal_unix.go:28 +0x41

goroutine 33 [select, locked to thread]:
runtime.gopark(0x1bc7220, 0x0, 0x1afc09e, 0x6, 0x18, 0x2)
    /usr/local/go/src/runtime/proc.go:271 +0x13a
runtime.selectgoImpl(0xc420039f50, 0x0, 0x18)
    /usr/local/go/src/runtime/select.go:423 +0x1364
runtime.selectgo(0xc420039f50)
    /usr/local/go/src/runtime/select.go:238 +0x1c
runtime.ensureSigM.func1()
    /usr/local/go/src/runtime/signal_unix.go:434 +0x2dd
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:2197 +0x1

goroutine 5030 [runnable]:
github.com/cockroachdb/cockroach/pkg/rpc.snappyCompressor.Do(0x279cf60, 0xc4220f77a0, 0xc4221a7440, 0x28, 0x30, 0x0, 0x0)
    /go/src/github.com/cockroachdb/cockroach/pkg/rpc/snappy.go:37 +0x22b
github.com/cockroachdb/cockroach/pkg/rpc.(*snappyCompressor).Do(0x2c9afb0, 0x279cf60, 0xc4220f77a0, 0xc4221a7440, 0x28, 0x30, 0x0, 0x0)
    <autogenerated>:35 +0x77
github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc.encode(0x27b6760, 0x2c9afb0, 0x1a20180, 0xc4221a4e70, 0x27a9fa0, 0x2c9afb0, 0xc4220f77a0, 0x0, 0x6d7beb, 0x0, ...)
    /go/src/github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc/rpc_util.go:311 +0x3da
github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc.(*serverStream).SendMsg(0xc4220ecfc0, 0x1a20180, 0xc4221a4e70, 0x0, 0x0)
    /go/src/github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc/stream.go:607 +0x116
github.com/cockroachdb/cockroach/pkg/sql/distsqlrun.(*distSQLRunSyncFlowServer).Send(0xc4221a0890, 0xc4221a4e70, 0xc421275f00, 0xc4221a4e70)
    /go/src/github.com/cockroachdb/cockroach/pkg/sql/distsqlrun/api.pb.go:337 +0x49
github.com/cockroachdb/cockroach/pkg/sql/distsqlrun.(*outbox).flush(0xc4221a4c80, 0x7ff8d4056e18, 0xc421275f00, 0xc4222c3d00, 0x1)
    /go/src/github.com/cockroachdb/cockroach/pkg/sql/distsqlrun/outbox.go:137 +0x2ff
github.com/cockroachdb/cockroach/pkg/sql/distsqlrun.(*outbox).mainLoop(0xc4221a4c80, 0x7ff8d4056e18, 0xc421275f00, 0x0, 0x0)
    /go/src/github.com/cockroachdb/cockroach/pkg/sql/distsqlrun/outbox.go:226 +0x4a0
github.com/cockroachdb/cockroach/pkg/sql/distsqlrun.(*outbox).run(0xc4221a4c80, 0x7ff8d4056e18, 0xc421275f00, 0xc422268208)
    /go/src/github.com/cockroachdb/cockroach/pkg/sql/distsqlrun/outbox.go:355 +0x43
created by github.com/cockroachdb/cockroach/pkg/sql/distsqlrun.(*outbox).start
    /go/src/github.com/cockroachdb/cockroach/pkg/sql/distsqlrun/outbox.go:375 +0x104

goroutine 4161 [runnable]:
sync.runtime_notifyListWait(0xc4200880f0, 0xc4000000dd)
    /usr/local/go/src/runtime/sema.go:298 +0x10b
sync.(*Cond).Wait(0xc4200880e0)
    /usr/local/go/src/sync/cond.go:57 +0x89
github.com/cockroachdb/cockroach/pkg/storage/engine.(*RocksDB).syncLoop(0xc420088000)
    /go/src/github.com/cockroachdb/cockroach/pkg/storage/engine/rocksdb.go:474 +0xd7
created by github.com/cockroachdb/cockroach/pkg/storage/engine.(*RocksDB).open
    /go/src/github.com/cockroachdb/cockroach/pkg/storage/engine/rocksdb.go:461 +0x4c7

goroutine 4389 [runnable]:
sync.runtime_Semacquire(0xc4202fe84c)
    /usr/local/go/src/runtime/sema.go:47 +0x34
sync.(*WaitGroup).Wait(0xc4202fe840)
    /usr/local/go/src/sync/waitgroup.go:131 +0x7a
github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc.(*Server).serveStreams(0xc421e59900, 0x27bf280, 0xc420f8e840)
    /go/src/github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc/server.go:560 +0x170
github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc.(*Server).serveHTTP2Transport(0xc421e59900, 0x27bfdc0, 0xc4204b4a80, 0x27a4fe0, 0xc4217aa580)
    /go/src/github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc/server.go:540 +0x497
github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc.(*Server).handleRawConn(0xc421e59900, 0x27c1080, 0xc420970000)
    /go/src/github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc/server.go:507 +0x4ad
created by github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc.(*Server).Serve
    /go/src/github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc/server.go:476 +0x5b6

goroutine 5042 [chan receive]:
github.com/cockroachdb/cockroach/vendor/github.com/getsentry/raven-go.(*Client).worker(0xc4203c9260)
    /go/src/github.com/cockroachdb/cockroach/vendor/github.com/getsentry/raven-go/client.go:482 +0x6b
created by github.com/cockroachdb/cockroach/vendor/github.com/getsentry/raven-go.(*Client).Capture.func1
    /go/src/github.com/cockroachdb/cockroach/vendor/github.com/getsentry/raven-go/client.go:541 +0x3e

goroutine 4935 [runnable]:
database/sql.(*DB).connectionOpener(0xc4214a1180)
    /usr/local/go/src/database/sql/sql.go:837 +0x4a
created by database/sql.Open
    /usr/local/go/src/database/sql/sql.go:582 +0x212

goroutine 4166 [runnable]:
syscall.Syscall(0x3, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0)
    /usr/local/go/src/syscall/asm_linux_amd64.s:18 +0x5
syscall.Close(0xa, 0x0, 0x0)
    /usr/local/go/src/syscall/zsyscall_linux_amd64.go:296 +0x4a
net.(*netFD).destroy(0xc421a6c700)
    /usr/local/go/src/net/fd_unix.go:191 +0x4a
net.(*netFD).decref(0xc421a6c700)
    /usr/local/go/src/net/fd_mutex.go:211 +0x4e
net.(*netFD).Close(0xc421a6c700, 0xc4222a7488, 0x94de5e)
    /usr/local/go/src/net/fd_unix.go:206 +0x5a
net.(*conn).Close(0xc42000f3a8, 0x0, 0x0)
    /usr/local/go/src/net/net.go:205 +0x4c
crypto/tls.(*Conn).Close(0xc421e67880, 0x0, 0x0)
    /usr/local/go/src/crypto/tls/conn.go:1214 +0x10c
github.com/cockroachdb/cockroach/vendor/github.com/lib/pq.(*conn).Close.func1(0xc4207ccdc0, 0xc4222a7540)
    /go/src/github.com/cockroachdb/cockroach/vendor/github.com/lib/pq/conn.go:799 +0x33
github.com/cockroachdb/cockroach/vendor/github.com/lib/pq.(*conn).Close(0xc4207ccdc0, 0x0, 0x0)
    /go/src/github.com/cockroachdb/cockroach/vendor/github.com/lib/pq/conn.go:807 +0xc4
database/sql.(*driverConn).finalClose.func2()
    /usr/local/go/src/database/sql/sql.go:440 +0x49
database/sql.withLock(0x27a6760, 0xc421a6cc40, 0xc4222a75f0)
    /usr/local/go/src/database/sql/sql.go:2545 +0x65
database/sql.(*driverConn).finalClose(0xc421a6cc40, 0xc4222a7708, 0x222a7700)
    /usr/local/go/src/database/sql/sql.go:442 +0x159
database/sql.(finalCloser).(database/sql.finalClose)-fm(0xc4214a11a8, 0xc421f2f8f0)
    /usr/local/go/src/database/sql/sql.go:537 +0x2f
database/sql.(*DB).Close(0xc4214a1180, 0x1198801, 0x279d520)
    /usr/local/go/src/database/sql/sql.go:644 +0x2fd
github.com/cockroachdb/cockroach/pkg/testutils/serverutils.StartServer.func1()
    /go/src/github.com/cockroachdb/cockroach/pkg/testutils/serverutils/test_server_shim.go:177 +0x33
github.com/cockroachdb/cockroach/pkg/util/stop.CloserFn.Close(0xc421e42dc0)
    /go/src/github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:93 +0x25
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).Stop(0xc420d58000, 0x7ff8d4048118, 0xc420012eb0)
    /go/src/github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:426 +0x2e4
github.com/cockroachdb/cockroach/pkg/sql/distsqlrun.TestServer(0xc420064340)
    /go/src/github.com/cockroachdb/cockroach/pkg/sql/distsqlrun/server_test.go:150 +0xf11
testing.tRunner(0xc420064340, 0x1bc4690)
    /usr/local/go/src/testing/testing.go:657 +0x96
created by testing.(*T).Run
    /usr/local/go/src/testing/testing.go:697 +0x2ca

goroutine 5032 [semacquire]:
sync.runtime_Semacquire(0xc422268214)
    /usr/local/go/src/runtime/sema.go:47 +0x34
sync.(*WaitGroup).Wait(0xc422268208)
    /usr/local/go/src/sync/waitgroup.go:131 +0x7a
github.com/cockroachdb/cockroach/pkg/sql/distsqlrun.(*Flow).Wait.func1(0xc422268000, 0xc4221a34a0)
    /go/src/github.com/cockroachdb/cockroach/pkg/sql/distsqlrun/flow.go:381 +0x33
created by github.com/cockroachdb/cockroach/pkg/sql/distsqlrun.(*Flow).Wait
    /go/src/github.com/cockroachdb/cockroach/pkg/sql/distsqlrun/flow.go:383 +0x7c
--- FAIL: test/TestServer (0.000s)
Test ended in panic.

------- Stdout: -------
W170824 17:08:04.680245 4166 server/status/runtime.go:109  Could not parse build timestamp: parsing time "" as "2006/01/02 15:04:05": cannot parse "" as "2006"
I170824 17:08:04.685388 4166 server/config.go:522  [n?] 1 storage engine initialized
I170824 17:08:04.685407 4166 server/config.go:524  [n?] RocksDB cache size: 512 MiB
I170824 17:08:04.685420 4166 server/config.go:524  [n?] store 0: in-memory, size 100 MiB
I170824 17:08:04.710072 4166 server/node.go:344  [n?] **** cluster 378a968c-1479-4245-9412-ad9282467cae has been created
I170824 17:08:04.710102 4166 server/server.go:786  [n?] **** add additional nodes by specifying --join=127.0.0.1:55106
I170824 17:08:04.710668 4166 storage/store.go:1189  [n1,s1] [n1,s1]: failed initial metrics computation: [n1,s1]: system config not yet available
I170824 17:08:04.710706 4166 server/node.go:461  [n1] initialized store [n1,s1]: disk (capacity=512 MiB, available=512 MiB, used=0 B, logicalBytes=3.2 KiB), ranges=1, leases=0, writes=0.00, bytesPerReplica={p10=3266.00 p25=3266.00 p50=3266.00 p75=3266.00 p90=3266.00}, writesPerReplica={p10=0.00 p25=0.00 p50=0.00 p75=0.00 p90=0.00}
I170824 17:08:04.710738 4166 server/node.go:326  [n1] node ID 1 initialized
I170824 17:08:04.710782 4166 gossip/gossip.go:311  [n1] NodeDescriptor set to node_id:1 address:<network_field:"tcp" address_field:"127.0.0.1:55106" > attrs:<> locality:<> ServerVersion:<major_val:1 minor_val:0 patch:0 unstable:3 > 
I170824 17:08:04.710888 4166 storage/stores.go:303  [n1] read 0 node addresses from persistent storage
I170824 17:08:04.710943 4166 server/node.go:606  [n1] connecting to gossip network to verify cluster ID...
I170824 17:08:04.711049 4166 server/node.go:631  [n1] node connected via gossip and verified as part of cluster "378a968c-1479-4245-9412-ad9282467cae"
I170824 17:08:04.711069 4166 server/node.go:403  [n1] node=1: started with [<no-attributes>=<in-mem>] engine(s) and attributes []
I170824 17:08:04.711113 4166 sql/executor.go:383  [n1] creating distSQLPlanner with address {tcp 127.0.0.1:55106}
I170824 17:08:04.714623 4166 server/server.go:878  [n1] starting https server at 127.0.0.1:58730
I170824 17:08:04.714641 4166 server/server.go:879  [n1] starting grpc/postgres server at 127.0.0.1:55106
I170824 17:08:04.714649 4166 server/server.go:880  [n1] advertising CockroachDB node at 127.0.0.1:55106
W170824 17:08:04.714664 4166 sql/jobs/registry.go:156  [n1] unable to get node liveness: node not in the liveness table
I170824 17:08:04.733790 4166 sql/event_log.go:102  [n1] Event: "alter_table", target: 12, info: {TableName:eventlog Statement:ALTER TABLE system.eventlog ALTER COLUMN "uniqueID" SET DEFAULT uuid_v4() User:node MutationID:0 CascadeDroppedViews:[]}
I170824 17:08:04.739063 4166 sql/lease.go:341  [n1] publish: descID=12 (eventlog) version=2 mtime=2017-08-24 17:08:04.738936293 +0000 UTC
I170824 17:08:04.748585 4166 sql/event_log.go:102  [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:diagnostics.reporting.enabled Value:true User:node}
I170824 17:08:04.757547 4166 sql/event_log.go:102  [n1] Event: "set_cluster_setting", target: 0, info: {SettingName:version Value:
                    User:node}
I170824 17:08:04.758391 4166 server/server.go:1022  [n1] done ensuring all necessary migrations have run
I170824 17:08:04.758410 4166 server/server.go:1024  [n1] serving sql connections
I170824 17:08:04.760186 4546 sql/event_log.go:102  [n1] Event: "node_join", target: 1, info: {Descriptor:{NodeID:1 Address:{NetworkField:tcp AddressField:127.0.0.1:55106} Attrs: Locality: ServerVersion:1.0-3} ClusterID:378a968c-1479-4245-9412-ad9282467cae StartedAt:1503594484711057706 LastUp:1503594484711057706}
I170824 17:08:04.767025 4141 storage/replica_command.go:2702  [split,n1,s1,r1/1:/M{in-ax}] initiating a split of this range at key /System/"" [r2]
I170824 17:08:04.774940 4141 storage/replica_command.go:2702  [split,n1,s1,r2/1:/{System/-Max}] initiating a split of this range at key /System/NodeLiveness [r3]
I170824 17:08:04.778323 4141 storage/replica_command.go:2702  [split,n1,s1,r3/1:/{System/NodeL���-Max}] initiating a split of this range at key /System/NodeLivenessMax [r4]
I170824 17:08:04.782334 4141 storage/replica_command.go:2702  [split,n1,s1,r4/1:/{System/NodeL���-Max}] initiating a split of this range at key /System/tsd [r5]
I170824 17:08:04.790453 4141 storage/replica_command.go:2702  [split,n1,s1,r5/1:/{System/tsd-Max}] initiating a split of this range at key /System/"tse" [r6]
I170824 17:08:04.798942 4141 storage/replica_command.go:2702  [split,n1,s1,r6/1:/{System/tse-Max}] initiating a split of this range at key /Table/SystemConfigSpan/Start [r7]
I170824 17:08:04.803482 4141 storage/replica_command.go:2702  [split,n1,s1,r7/1:/{Table/System���-Max}] initiating a split of this range at key /Table/11 [r8]
I170824 17:08:04.807507 4141 storage/replica_command.go:2702  [split,n1,s1,r8/1:/{Table/11-Max}] initiating a split of this range at key /Table/12 [r9]
I170824 17:08:04.812537 4141 storage/replica_command.go:2702  [split,n1,s1,r9/1:/{Table/12-Max}] initiating a split of this range at key /Table/13 [r10]
I170824 17:08:04.817580 4141 storage/replica_command.go:2702  [split,n1,s1,r10/1:/{Table/13-Max}] initiating a split of this range at key /Table/14 [r11]
I170824 17:08:04.821540 4141 storage/replica_command.go:2702  [split,n1,s1,r11/1:/{Table/14-Max}] initiating a split of this range at key /Table/15 [r12]
I170824 17:08:04.830684 4141 storage/replica_command.go:2702  [split,n1,s1,r12/1:/{Table/15-Max}] initiating a split of this range at key /Table/16 [r13]
I170824 17:08:04.837075 4141 storage/replica_command.go:2702  [split,n1,s1,r13/1:/{Table/16-Max}] initiating a split of this range at key /Table/17 [r14]
I170824 17:08:04.840698 4141 storage/replica_command.go:2702  [split,n1,s1,r14/1:/{Table/17-Max}] initiating a split of this range at key /Table/18 [r15]
I170824 17:08:04.847462 4141 storage/replica_command.go:2702  [split,n1,s1,r15/1:/{Table/18-Max}] initiating a split of this range at key /Table/19 [r16]
I170824 17:08:04.928049 4937 sql/event_log.go:102  [client=127.0.0.1:48513,user=root,n1] Event: "create_database", target: 50, info: {DatabaseName:test Statement:CREATE DATABASE test User:root}
I170824 17:08:04.929209 4141 storage/replica_command.go:2702  [split,n1,s1,r16/1:/{Table/19-Max}] initiating a split of this range at key /Table/50 [r17]
I170824 17:08:04.933723 4141 storage/replica_command.go:2702  [split,n1,s1,r17/1:/{Table/50-Max}] initiating a split of this range at key /Table/51 [r18]
I170824 17:08:04.938136 4937 sql/event_log.go:102  [client=127.0.0.1:48513,user=root,n1] Event: "create_table", target: 51, info: {TableName:test.t Statement:CREATE TABLE test.t (a INT PRIMARY KEY, b INT) User:root}
--- FAIL: test/TestServer/version/3 (0.000s)
Test ended in panic.

------- Stdout: -------
W170824 17:08:04.943158 5024 sql/distsqlrun/server.go:220  [n1] version mismatch in flow request: 3; this node accepts 4 through 5
--- FAIL: test/TestServer/version/6 (0.000s)
Test ended in panic.

------- Stdout: -------
W170824 17:08:04.942809 5028 sql/distsqlrun/server.go:220  [n1] version mismatch in flow request: 6; this node accepts 4 through 5

Please assign, take a look and update the issue accordingly.

jordanlewis commented 7 years ago

These flaky tests though