Skip to content
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

flaky TestBadgerBlockstore #4809

Closed
dirkmc opened this issue Nov 11, 2020 · 2 comments · Fixed by #4811
Closed

flaky TestBadgerBlockstore #4809

dirkmc opened this issue Nov 11, 2020 · 2 comments · Fixed by #4811
Assignees
Labels
impact/test-flakiness Impact: Test Flakiness

Comments

@dirkmc
Copy link
Contributor

dirkmc commented Nov 11, 2020

Failed
=== RUN   TestBadgerBlockstore/non_prefixed/TestAllKeysRespectsContext
2020-11-11T19:35:03.875Z	�[34mINFO�[0m	badgerbs	[email protected]/levels.go:183	All 0 tables opened in 0s

    blockstore_test_suite.go:188: 
        	Error Trace:	blockstore_test_suite.go:188
        	Error:      	Not equal: 
        	            	expected: cid.Cid{str:""}
        	            	actual  : cid.Cid{str:"\x01U\x12 \x03A& :\x9b\xaci\xd6\xed\xc0\x02~\xe9\xb3ԿsD\x995\xda\xf358gd\xc0\xd7\xf5\x12\xcf"}
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1,3 +1,3 @@
        	            	 (cid.Cid) {
        	            	- str: (string) ""
        	            	+ str: (string) (len=36) "\x01U\x12 \x03A& :\x9b\xaci\xd6\xed\xc0\x02~\xe9\xb3ԿsD\x995\xda\xf358gd\xc0\xd7\xf5\x12\xcf"
        	            	 }
        	Test:       	TestBadgerBlockstore/non_prefixed/TestAllKeysRespectsContext
2020-11-11T19:35:03.889Z	�[34mINFO�[0m	badgerbs	[email protected]/db.go:1030	Storing value log head: {Fid:0 Len:31 Offset:11371}

2020-11-11T19:35:03.890Z	�[34mINFO�[0m	badgerbs	[email protected]/levels.go:1000	[Compactor: 173] Running compaction: {level:0 score:1.73 dropPrefixes:[]} for level: 0

2020-11-11T19:35:03.891Z	�[34mINFO�[0m	badgerbs	[email protected]/levels.go:962	LOG Compact 0->1, del 1 tables, add 1 tables, took 961.211µs

2020-11-11T19:35:03.891Z	�[34mINFO�[0m	badgerbs	[email protected]/levels.go:1010	[Compactor: 173] Compaction for level: 0 DONE
2020-11-11T19:35:03.891Z	�[34mINFO�[0m	badgerbs	[email protected]/db.go:553	Force compaction on level 0 done
        --- FAIL: TestBadgerBlockstore/non_prefixed/TestAllKeysRespectsContext (0.04s)
@dirkmc dirkmc added the impact/test-flakiness Impact: Test Flakiness label Nov 11, 2020
@raulk raulk self-assigned this Nov 11, 2020
@raulk
Copy link
Member

raulk commented Nov 11, 2020

@dirkmc how frequently does this happen? Is this on your local machine?

@raulk
Copy link
Member

raulk commented Nov 11, 2020

Nevermind, found the race.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/test-flakiness Impact: Test Flakiness
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants