Repository: FeatureBaseDB/featurebase

Issue #1693: (very) Sporadic failure in Test_Main_Set_Quick
Created: 2018-10-12T20:46:40Z
Don't think I can reliably reproduce this but wanted to document it in case anyone else sees it:
--- FAIL: TestMain_Set_Quick (35.70s)
    server_test.go:104: unexpected result (reopen):

        got=

        exp={"results":[{"attrs":{},"columns":[1]}]}

2018/10/12 15:23:22 monitor primary store events
2018/10/12 15:23:22 monitor primary store events
2018/10/12 15:23:22 monitor primary store events
2018/10/12 15:23:22 monitor primary store events
2018/10/12 15:23:22 monitor primary store events
2018/10/12 15:23:22 monitor primary store events
2018/10/12 15:23:22 stop monitor replication
2018/10/12 15:23:22 set primary translate store to node0
2018/10/12 15:23:22 start monitor replication
2018/10/12 15:23:22 pilosa: replicating from offset 0
2018/10/12 15:23:22 monitor primary store events
2018/10/12 15:23:22 stop monitor replication
2018/10/12 15:23:22 set primary translate store to node1
2018/10/12 15:23:22 start monitor replication
2018/10/12 15:23:22 pilosa: replicating from offset 0
2018/10/12 15:23:22 monitor primary store events
...
2018/10/12 15:23:25 pilosa: replicating from offset 0
2018/10/12 15:23:25 pilosa: replication error: context canceled
2018/10/12 15:23:25 monitor primary store events
2018/10/12 15:23:25 monitor primary store events
2018/10/12 15:23:25 monitor primary store events
2018/10/12 15:23:25 stop monitor replication
2018/10/12 15:23:25 set primary translate store to node0
2018/10/12 15:23:25 start monitor replication
2018/10/12 15:23:25 pilosa: replicating from offset 0
2018/10/12 15:23:25 monitor primary store events
2018/10/12 15:23:25 stop monitor replication
2018/10/12 15:23:25 set primary translate store to node1
2018/10/12 15:23:25 start monitor replication
2018/10/12 15:23:25 pilosa: replicating from offset 0
2018/10/12 15:23:25 pilosa: replication error: unexpected EOF
2018/10/12 15:23:25 pilosa: replication error: context canceled
2018/10/12 15:23:25 stop monitor replication
2018/10/12 15:23:25 set primary translate store to node0
2018/10/12 15:23:25 start monitor replication
2018/10/12 15:23:25 pilosa: replicating from offset 0
2018/10/12 15:23:26 monitor primary store events
2018/10/12 15:23:26 stop monitor replication
2018/10/12 15:23:26 set primary translate store to node0
2018/10/12 15:23:26 start monitor replication
2018/10/12 15:23:26 pilosa: replicating from offset 0
2018/10/12 15:23:26 stop monitor replication
2018/10/12 15:23:26 pilosa: replication error: context canceled
2018/10/12 15:23:26 set primary translate store to node1
2018/10/12 15:23:26 start monitor replication
2018/10/12 15:23:26 pilosa: replicating from offset 0
2018/10/12 15:23:26 pilosa: replication error: unexpected EOF
2018/10/12 15:23:26 pilosa: replication error: unexpected EOF
FAIL
FAIL	github.com/pilosa/pilosa/server	46.937s

This was running make test on my macbook on a4edd39

Duplicate issue #1638: Intermittent failure TestMain_Set_Quick
Created: 2018-09-12T15:45:54Z
Expected behavior
Tests always pass or fail.
Actual behavior
Saw this once... can't reproduce:
--- FAIL: TestMain_Set_Quick (14.98s)
    server_test.go:80: unexpected result:

        got=

        exp={"results":[{"attrs":{},"columns":[5]}]}


FAIL
FAIL	github.com/pilosa/pilosa/server	25.299s

This was on a branch with some changes (running make test), but I feel like I've seen it before, so I wanted to document it in case it comes up again.
I tried to reproduce by running the following in the pilosa/server package.
go test -run=TestMain_Set_Quick -count 5

but was unsuccessful.
Information about your environment (OS/architecture, CPU, RAM, cluster/solo, configuration, etc.)
OSX, running on my laptop.

Closing comment (2018-11-26T16:37:57Z): related to #1693