Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

integration tests fail #291

Closed
Dieterbe opened this Issue Mar 3, 2014 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

Dieterbe commented Mar 3, 2014

hey, i keep getting failures on integration tests, consistently. even with a clean master checkout:

cd /tmp
$ git clone git@github.com:influxdb/influxdb.git influxdb-tmp
Cloning into 'influxdb-tmp'...
remote: Reusing existing pack: 6175, done.
remote: Counting objects: 140, done.
remote: Compressing objects: 100% (138/138), done.
remote: Total 6315 (delta 77), reused 0 (delta 0)
Receiving objects: 100% (6315/6315), 2.23 MiB | 3.52 MiB/s, done.
Resolving deltas: 100% (3883/3883), done.
Checking connectivity... done.
$ cd influxdb-tmp
$ git show
commit 6653b40380c5cd0d0273c5fb27221940a6bd8365
(...)
     Update changelog for 0.5.0-rc.3
$ ./configure && make integration_test verbose=on
(...)
[03/03/14 15:37:40] [INFO] DATASTORE: opening or creating shard /tmp/influxdb/test/2/db/shard_db/00105
[03/03/14 15:37:40] [INFO] /tmp/influxdb/test/2/wal/log.1 yielded 451 requests
[03/03/14 15:37:40] [INFO] recovered
[03/03/14 15:37:40] [INFO] Connecting to other nodes in the cluster
[03/03/14 15:37:40] [INFO] ClusterServer: 1 connecting to: dieter-t420s:60502
[03/03/14 15:37:40] [INFO] ClusterServer: 3 connecting to: dieter-t420s:60512
[03/03/14 15:37:40] [INFO] Starting admin interface on port 60505
[03/03/14 15:37:40] [INFO] Starting Http Api server on port 60506
[03/03/14 15:37:40] [INFO] connected to dieter-t420s:60512
[03/03/14 15:37:40] [INFO] ProtobufServer: client connected: 192.168.145.68:52926
[03/03/14 15:37:40] [INFO] connected to dieter-t420s:60508
[03/03/14 15:37:40] [INFO] ProtobufServer: client connected: 192.168.145.68:45807
PASS: server_test.go:417: ServerSuite.TestRestartServers    7.175s

START: server_test.go:861: ServerSuite.TestSelectFromRegexInCluster
PASS: server_test.go:861: ServerSuite.TestSelectFromRegexInCluster  3.075s

START: server_test.go:630: ServerSuite.TestSelectingTimeColumn
[03/03/14 15:37:47] [EROR] Cannot run command &coordinator.CreateDatabaseCommand{Name:"test_rep", ReplicationFactor:0x2}. database test_rep exists
[03/03/14 15:37:47] [EROR] Cannot create database test_rep. Error: database test_rep exists
[03/03/14 15:37:47] [EROR] Cannot run command &coordinator.CreateDatabaseCommand{Name:"test_rep", ReplicationFactor:0x1}. database test_rep exists
[03/03/14 15:37:47] [EROR] Cannot create user: User paul already exists
PASS: server_test.go:630: ServerSuite.TestSelectingTimeColumn   1.215s

START: server_test.go:553: ServerSuite.TestShouldNotResetRootsPassword
PASS: server_test.go:553: ServerSuite.TestShouldNotResetRootsPassword   1.366s

START: server_test.go:513: ServerSuite.TestSslSupport
PASS: server_test.go:513: ServerSuite.TestSslSupport    0.062s

START: server_test.go:492: ServerSuite.TestUnicodeSupport
PASS: server_test.go:492: ServerSuite.TestUnicodeSupport    1.015s

START: server_test.go:274: ServerSuite.TestWhereQuery
PASS: server_test.go:274: ServerSuite.TestWhereQuery    0.013s

START: server_test.go:257: ServerSuite.TestWriteAndGetPoint
PASS: server_test.go:257: ServerSuite.TestWriteAndGetPoint  0.013s

START: server_test.go:371: ServerSuite.TestWriteSplitToMultipleShards
PASS: server_test.go:371: ServerSuite.TestWriteSplitToMultipleShards    0.023s

START: server_test.go:451: ServerSuite.TestWritingNullInCluster
PASS: server_test.go:451: ServerSuite.TestWritingNullInCluster  0.012s

START: server_test.go:251: ServerSuite.TearDownSuite
[03/03/14 15:37:51] [EROR] Error reading from connection (192.168.145.68:52926): EOF
[03/03/14 15:37:51] [EROR] Error reading from connection (192.168.145.68:52925): EOF
PASS: server_test.go:251: ServerSuite.TearDownSuite 0.018s

START: startup_test.go:15: StartupSuite.SetUpSuite
[03/03/14 15:37:51] [INFO] Redirectoring logging to /tmp/influxdb/test/1/influxdb.log
[03/03/14 15:37:51] [INFO] Starting Influx Server...
[03/03/14 15:37:51] [INFO] 
+---------------------------------------------+
|  _____        __ _            _____  ____   |
| |_   _|      / _| |          |  __ \|  _ \  |
|   | |  _ __ | |_| |_   ___  _| |  | | |_) | |
|   | | | '_ \|  _| | | | \ \/ / |  | |  _ <  |
|  _| |_| | | | | | | |_| |>  <| |__| | |_) | |
| |_____|_| |_|_| |_|\__,_/_/\_\_____/|____/  |
+---------------------------------------------+


[03/03/14 15:37:51] [INFO] Opening database at /tmp/influxdb/test/1/db
[03/03/14 15:37:51] [INFO] Using /dev/random to initialize the raft server name
[03/03/14 15:37:51] [INFO] Setting raft name to 83c8490
[03/03/14 15:37:51] [INFO] Initializing Raft HTTP server
[03/03/14 15:37:51] [INFO] ProtobufServer listening on :60502
[03/03/14 15:37:51] [INFO] Raft Server Listening at http://dieter-t420s:60501
[03/03/14 15:37:51] [INFO] Initializing Raft Server: /tmp/influxdb/test/1/raft 60501
[03/03/14 15:37:51] [INFO] Starting as new Raft leader...
[03/03/14 15:37:51] [INFO] (raft:83c8490) Selected as leader. Starting leader loop.
[03/03/14 15:37:51] [INFO] Added server to cluster config: 1, http://dieter-t420s:60501, dieter-t420s:60502
[03/03/14 15:37:51] [INFO] Checking whether this is the local server new: dieter-t420s:60502, local: dieter-t420s:60502

[03/03/14 15:37:51] [INFO] Added the local server
[03/03/14 15:37:51] [INFO] Redirectoring logging to /tmp/influxdb/test/2/influxdb.log
[03/03/14 15:37:51] [INFO] Starting Influx Server...
[03/03/14 15:37:51] [INFO] 
+---------------------------------------------+
|  _____        __ _            _____  ____   |
| |_   _|      / _| |          |  __ \|  _ \  |
|   | |  _ __ | |_| |_   ___  _| |  | | |_) | |
|   | | | '_ \|  _| | | | \ \/ / |  | |  _ <  |
|  _| |_| | | | | | | |_| |>  <| |__| | |_) | |
| |_____|_| |_|_| |_|\__,_/_/\_\_____/|____/  |
+---------------------------------------------+


[03/03/14 15:37:51] [INFO] Opening database at /tmp/influxdb/test/2/db
[03/03/14 15:37:51] [INFO] Using /dev/random to initialize the raft server name
[03/03/14 15:37:51] [INFO] Setting raft name to 2622de9
[03/03/14 15:37:51] [INFO] Ssl will be disabled since the ssl port or certificate path weren't set
[03/03/14 15:37:51] [INFO] Initializing Raft HTTP server
[03/03/14 15:37:51] [INFO] Raft Server Listening at http://dieter-t420s:60507
[03/03/14 15:37:51] [INFO] ProtobufServer listening on :60508
PASS: startup_test.go:15: StartupSuite.SetUpSuite   0.033s

START: startup_test.go:31: StartupSuite.TestStartup
[03/03/14 15:37:51] [INFO] Initializing Raft Server: /tmp/influxdb/test/2/raft 60507
[03/03/14 15:37:51] [INFO] (raft:2622de9) Attempting to join leader: localhost:60501
[03/03/14 15:37:51] [INFO] Redirectoring logging to /tmp/influxdb/test/3/influxdb.log
[03/03/14 15:37:51] [INFO] Starting Influx Server...
[03/03/14 15:37:51] [INFO] 
+---------------------------------------------+
|  _____        __ _            _____  ____   |
| |_   _|      / _| |          |  __ \|  _ \  |
|   | |  _ __ | |_| |_   ___  _| |  | | |_) | |
|   | | | '_ \|  _| | | | \ \/ / |  | |  _ <  |
|  _| |_| | | | | | | |_| |>  <| |__| | |_) | |
| |_____|_| |_|_| |_|\__,_/_/\_\_____/|____/  |
+---------------------------------------------+


[03/03/14 15:37:51] [INFO] Opening database at /tmp/influxdb/test/3/db
[03/03/14 15:37:51] [INFO] Using /dev/random to initialize the raft server name
[03/03/14 15:37:51] [INFO] Adding new server to the cluster config 2622de9
[03/03/14 15:37:51] [INFO] Added server to cluster config: 1, http://dieter-t420s:60501, dieter-t420s:60502
[03/03/14 15:37:51] [INFO] Checking whether this is the local server new: dieter-t420s:60508, local: dieter-t420s:60502

[03/03/14 15:37:51] [INFO] Connecting to ProtobufServer: dieter-t420s:60502%!(EXTRA string=dieter-t420s:60508)
[03/03/14 15:37:51] [INFO] ClusterServer: 1 connecting to: dieter-t420s:60502
[03/03/14 15:37:51] [INFO] Initializing write buffer with buffer size of 1000
[03/03/14 15:37:51] [INFO] Added server to cluster config: 2, http://dieter-t420s:60507, dieter-t420s:60508
[03/03/14 15:37:51] [INFO] Checking whether this is the local server new: dieter-t420s:60502, local: dieter-t420s:60508

[03/03/14 15:37:51] [INFO] Connecting to ProtobufServer: dieter-t420s:60508%!(EXTRA string=dieter-t420s:60502)
[03/03/14 15:37:51] [INFO] Joined: localhost:60501
[03/03/14 15:37:51] [INFO] ClusterServer: 2 connecting to: dieter-t420s:60508
[03/03/14 15:37:51] [INFO] Waiting for local server to be added
[03/03/14 15:37:51] [INFO] Initializing write buffer with buffer size of 1000
[03/03/14 15:37:51] [INFO] Server 2622de9 already exist in the cluster config
[03/03/14 15:37:51] [INFO] Waiting for local server to be added
[03/03/14 15:37:51] [INFO] Recovering from log...
[03/03/14 15:37:51] [INFO] Initializing write buffer with buffer size of 1000
[03/03/14 15:37:51] [INFO] Replaying from /tmp/influxdb/test/1/wal/log.1
[03/03/14 15:37:51] [INFO] Replaying from /tmp/influxdb/test/1/wal/log.1
[03/03/14 15:37:51] [INFO] no index entries, assuming beginning of the file
[03/03/14 15:37:51] [INFO] no index entries, assuming beginning of the file
[03/03/14 15:37:51] [INFO] /tmp/influxdb/test/1/wal/log.1 yielded 0 requests
[03/03/14 15:37:51] [INFO] /tmp/influxdb/test/1/wal/log.1 yielded 0 requests
[03/03/14 15:37:51] [INFO] recovered
[03/03/14 15:37:51] [INFO] Connecting to other nodes in the cluster
[03/03/14 15:37:51] [INFO] ClusterServer: 2 connecting to: dieter-t420s:60508
[03/03/14 15:37:51] [INFO] Added server to cluster config: 2, http://dieter-t420s:60507, dieter-t420s:60508
[03/03/14 15:37:51] [INFO] Checking whether this is the local server new: dieter-t420s:60508, local: dieter-t420s:60508

[03/03/14 15:37:51] [INFO] Added the local server
[03/03/14 15:37:51] [INFO] Recovering from log...
[03/03/14 15:37:51] [INFO] Initializing write buffer with buffer size of 1000
[03/03/14 15:37:51] [INFO] Replaying from /tmp/influxdb/test/2/wal/log.1
[03/03/14 15:37:51] [INFO] ClusterServer: 2 connecting to: dieter-t420s:60508
[03/03/14 15:37:51] [INFO] Replaying from /tmp/influxdb/test/2/wal/log.1
[03/03/14 15:37:51] [INFO] no index entries, assuming beginning of the file
[03/03/14 15:37:51] [INFO] no index entries, assuming beginning of the file
[03/03/14 15:37:51] [INFO] /tmp/influxdb/test/2/wal/log.1 yielded 0 requests
[03/03/14 15:37:51] [INFO] /tmp/influxdb/test/2/wal/log.1 yielded 0 requests
[03/03/14 15:37:51] [INFO] recovered
[03/03/14 15:37:51] [INFO] Connecting to other nodes in the cluster
[03/03/14 15:37:51] [INFO] ClusterServer: 1 connecting to: dieter-t420s:60502
[03/03/14 15:37:51] [INFO] connected to dieter-t420s:60508
[03/03/14 15:37:51] [INFO] ProtobufServer: client connected: 192.168.145.68:59613
[03/03/14 15:37:51] [INFO] Starting admin interface on port 60504
[03/03/14 15:37:51] [INFO] Starting Http Api server on port 60500
[03/03/14 15:37:51] [INFO] Starting SSL api on port :60503 using certificate in ./cert.pem
[03/03/14 15:37:51] [INFO] ProtobufServer: client connected: 192.168.145.68:45816
[03/03/14 15:37:51] [INFO] ProtobufServer: client connected: 192.168.145.68:45818
[03/03/14 15:37:51] [INFO] connected to dieter-t420s:60502
[03/03/14 15:37:51] [INFO] connected to dieter-t420s:60508
[03/03/14 15:37:51] [INFO] Starting admin interface on port 60505
[03/03/14 15:37:51] [INFO] Starting Http Api server on port 60506
[03/03/14 15:37:54] [INFO] Setting raft name to 24540ac
[03/03/14 15:37:54] [INFO] Ssl will be disabled since the ssl port or certificate path weren't set
[03/03/14 15:37:54] [INFO] Initializing Raft HTTP server
[03/03/14 15:37:54] [INFO] ProtobufServer listening on :60512
[03/03/14 15:37:54] [INFO] Raft Server Listening at http://dieter-t420s:60511
[03/03/14 15:37:54] [INFO] Initializing Raft Server: /tmp/influxdb/test/3/raft 60511
[03/03/14 15:37:54] [INFO] (raft:24540ac) Attempting to join leader: localhost:60501
[03/03/14 15:37:54] [INFO] Adding new server to the cluster config 24540ac
[03/03/14 15:37:54] [INFO] Added server to cluster config: 3, http://dieter-t420s:60511, dieter-t420s:60512
[03/03/14 15:37:54] [INFO] Checking whether this is the local server new: dieter-t420s:60502, local: dieter-t420s:60512

[03/03/14 15:37:54] [INFO] Connecting to ProtobufServer: dieter-t420s:60512%!(EXTRA string=dieter-t420s:60502)
[03/03/14 15:37:54] [INFO] ClusterServer: 3 connecting to: dieter-t420s:60512
[03/03/14 15:37:54] [INFO] Initializing write buffer with buffer size of 1000
[03/03/14 15:37:54] [INFO] Server 24540ac already exist in the cluster config
[03/03/14 15:37:54] [INFO] Joined: localhost:60501
[03/03/14 15:37:54] [INFO] Waiting for local server to be added
[03/03/14 15:37:55] [INFO] Added server to cluster config: 3, http://dieter-t420s:60511, dieter-t420s:60512
[03/03/14 15:37:55] [INFO] Checking whether this is the local server new: dieter-t420s:60508, local: dieter-t420s:60512

[03/03/14 15:37:55] [INFO] Connecting to ProtobufServer: dieter-t420s:60512%!(EXTRA string=dieter-t420s:60508)
[03/03/14 15:37:55] [INFO] ClusterServer: 3 connecting to: dieter-t420s:60512
[03/03/14 15:37:55] [INFO] Initializing write buffer with buffer size of 1000
[03/03/14 15:37:55] [INFO] connected to dieter-t420s:60512
[03/03/14 15:37:55] [INFO] ProtobufServer: client connected: 192.168.145.68:52941
[03/03/14 15:37:55] [INFO] Added server to cluster config: 1, http://dieter-t420s:60501, dieter-t420s:60502
[03/03/14 15:37:55] [INFO] Checking whether this is the local server new: dieter-t420s:60512, local: dieter-t420s:60502

[03/03/14 15:37:55] [INFO] Connecting to ProtobufServer: dieter-t420s:60502%!(EXTRA string=dieter-t420s:60512)
[03/03/14 15:37:55] [INFO] ClusterServer: 1 connecting to: dieter-t420s:60502
[03/03/14 15:37:55] [INFO] Initializing write buffer with buffer size of 1000
[03/03/14 15:37:55] [INFO] Added server to cluster config: 2, http://dieter-t420s:60507, dieter-t420s:60508
[03/03/14 15:37:55] [INFO] Checking whether this is the local server new: dieter-t420s:60512, local: dieter-t420s:60508

[03/03/14 15:37:55] [INFO] Connecting to ProtobufServer: dieter-t420s:60508%!(EXTRA string=dieter-t420s:60512)
[03/03/14 15:37:55] [INFO] ClusterServer: 2 connecting to: dieter-t420s:60508
[03/03/14 15:37:55] [INFO] Initializing write buffer with buffer size of 1000
[03/03/14 15:37:55] [INFO] Added server to cluster config: 3, http://dieter-t420s:60511, dieter-t420s:60512
[03/03/14 15:37:55] [INFO] Checking whether this is the local server new: dieter-t420s:60512, local: dieter-t420s:60512

[03/03/14 15:37:55] [INFO] Added the local server
[03/03/14 15:37:55] [INFO] Recovering from log...
[03/03/14 15:37:55] [INFO] Initializing write buffer with buffer size of 1000
[03/03/14 15:37:55] [INFO] ClusterServer: 3 connecting to: dieter-t420s:60512
[03/03/14 15:37:55] [INFO] Replaying from /tmp/influxdb/test/3/wal/log.1
[03/03/14 15:37:55] [INFO] Replaying from /tmp/influxdb/test/3/wal/log.1
[03/03/14 15:37:55] [INFO] Replaying from /tmp/influxdb/test/3/wal/log.1
[03/03/14 15:37:55] [INFO] no index entries, assuming beginning of the file
[03/03/14 15:37:55] [INFO] no index entries, assuming beginning of the file
[03/03/14 15:37:55] [INFO] no index entries, assuming beginning of the file
[03/03/14 15:37:55] [INFO] /tmp/influxdb/test/3/wal/log.1 yielded 0 requests
[03/03/14 15:37:55] [INFO] /tmp/influxdb/test/3/wal/log.1 yielded 0 requests
[03/03/14 15:37:55] [INFO] /tmp/influxdb/test/3/wal/log.1 yielded 0 requests
[03/03/14 15:37:55] [INFO] recovered
[03/03/14 15:37:55] [INFO] Connecting to other nodes in the cluster
[03/03/14 15:37:55] [INFO] ClusterServer: 1 connecting to: dieter-t420s:60502
[03/03/14 15:37:55] [INFO] connected to dieter-t420s:60512
[03/03/14 15:37:55] [INFO] ProtobufServer: client connected: 192.168.145.68:52942
[03/03/14 15:37:55] [INFO] ProtobufServer: client connected: 192.168.145.68:59619
[03/03/14 15:37:55] [INFO] ProtobufServer: client connected: 192.168.145.68:45824
[03/03/14 15:37:55] [INFO] connected to dieter-t420s:60508
[03/03/14 15:37:55] [INFO] connected to dieter-t420s:60512
[03/03/14 15:37:55] [INFO] connected to dieter-t420s:60502
[03/03/14 15:37:55] [INFO] ProtobufServer: client connected: 192.168.145.68:52945
[03/03/14 15:37:55] [INFO] ClusterServer: 2 connecting to: dieter-t420s:60508
[03/03/14 15:37:55] [INFO] Starting admin interface on port 60509
[03/03/14 15:37:55] [INFO] Starting Http Api server on port 60510
PASS: startup_test.go:31: StartupSuite.TestStartup  10.768s

START: startup_test.go:25: StartupSuite.TearDownSuite
[03/03/14 15:38:02] [EROR] Error reading from connection (192.168.145.68:45816): EOF
[03/03/14 15:38:02] [EROR] Error reading from connection (192.168.145.68:52941): EOF
PASS: startup_test.go:25: StartupSuite.TearDownSuite    0.009s

OOPS: 95 passed, 2 skipped, 6 FAILED
--- FAIL: Test (229.79 seconds)
FAIL
exit status 1
FAIL    integration 229.804s
Makefile:179: recipe for target 'integration_test' failed
make: *** [integration_test] Error 1

Contributor

jvshahid commented Apr 15, 2014

This was fixed in #429

@jvshahid jvshahid closed this Apr 15, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment