Skip to content

Flaky test: TestRequestBlockBytesErrors #2632

@algobarb

Description

@algobarb

Description

Travis Test Errors Reference Spreadsheet for details on cases where this test has failed: https://docs.google.com/spreadsheets/d/1apjaNvZodnTSIdZaQlpMaqf0nzbKgSYdIWHqvmINHS8/edit#gid=0

Example Failure

Time: Fri 7/23/2021
Build: https://app.travis-ci.com/github/algorand/go-algorand/jobs/526347768#L1471
Travis Test: Ubuntu AMD64 Build
Package: catchup
Test: TestRequestBlockBytesErrors

=== FAIL: catchup TestRequestBlockBytesErrors (0.06s)
    testingLogger.go:38: time="2021-07-23T01:23:10.510720 +0000" level=debug msg="Initializing Ledger(TestRequestBlockBytesErrors)" file=ledger.go function=github.com/[secure]/go-[secure]/data.LoadLedger line=158
    testingLogger.go:38: time="2021-07-23T01:23:10.516747 +0000" level=info msg="accountsInitialize upgrading database schema from version 0 to version 5" file=acctupdates.go function="github.com/[secure]/go-[secure]/ledger.(*accountUpdates).accountsInitialize" line=1223
    testingLogger.go:38: time="2021-07-23T01:23:10.517088 +0000" level=info msg="accountsInitialize performing upgrade from version 0" file=acctupdates.go function="github.com/[secure]/go-[secure]/ledger.(*accountUpdates).accountsInitialize" line=1228
    testingLogger.go:38: time="2021-07-23T01:23:10.517318 +0000" level=info msg="accountsInitialize initializing schema" file=acctupdates.go function="github.com/[secure]/go-[secure]/ledger.(*accountUpdates).upgradeDatabaseSchema0" line=1402
    testingLogger.go:38: time="2021-07-23T01:23:10.519018 +0000" level=info msg="accountsInitialize performing upgrade from version 1" file=acctupdates.go function="github.com/[secure]/go-[secure]/ledger.(*accountUpdates).accountsInitialize" line=1228
    testingLogger.go:38: time="2021-07-23T01:23:10.519535 +0000" level=info msg="accountsInitialize performing upgrade from version 2" file=acctupdates.go function="github.com/[secure]/go-[secure]/ledger.(*accountUpdates).accountsInitialize" line=1228
    testingLogger.go:38: time="2021-07-23T01:23:10.520058 +0000" level=info msg="accountsInitialize performing upgrade from version 3" file=acctupdates.go function="github.com/[secure]/go-[secure]/ledger.(*accountUpdates).accountsInitialize" line=1228
    testingLogger.go:38: time="2021-07-23T01:23:10.521336 +0000" level=info msg="accountsInitialize performing upgrade from version 4" file=acctupdates.go function="github.com/[secure]/go-[secure]/ledger.(*accountUpdates).accountsInitialize" line=1228
    testingLogger.go:38: time="2021-07-23T01:23:10.521571 +0000" level=info msg="upgradeDatabaseSchema4: deleted 0 rows" file=acctupdates.go function="github.com/[secure]/go-[secure]/ledger.(*accountUpdates).upgradeDatabaseSchema4" line=1577
    testingLogger.go:38: time="2021-07-23T01:23:10.522023 +0000" level=info msg="accountsInitialize database schema upgrade complete" file=acctupdates.go function="github.com/[secure]/go-[secure]/ledger.(*accountUpdates).accountsInitialize" line=1266
    testingLogger.go:38: time="2021-07-23T01:23:10.523009 +0000" level=info msg="accountsInitialize rebuilding merkle trie for round 0" file=acctupdates.go function="github.com/[secure]/go-[secure]/ledger.(*accountUpdates).accountsInitialize" line=1306
    testingLogger.go:38: time="2021-07-23T01:23:10.525162 +0000" level=info msg="accountsInitialize rebuilt the merkle trie with 3 entries in 1.900479ms" file=acctupdates.go function="github.com/[secure]/go-[secure]/ledger.(*accountUpdates).accountsInitialize" line=1375
    testingLogger.go:38: time="2021-07-23T01:23:10.569304 +0000" level=debug msg="added blk 1" file=ledger.go function="github.com/[secure]/go-[secure]/ledger.(*Ledger).AddValidatedBlock" line=559
    testingLogger.go:38: time="2021-07-23T01:23:10.571558 +0000" level=debug msg="fetchBlock: downloaded block 1 in 962449 from [ws] (test)" file=universalFetcher.go function="github.com/[secure]/go-[secure]/catchup.(*universalBlockFetcher).fetchBlock" line=89
    universalFetcher_test.go:201: 
        	Error Trace:	universalFetcher_test.go:201
        	Error:      	Should be true
        	Test:       	TestRequestBlockBytesErrors
DONE 5473 tests, 19 skipped, 1 failure in 2726.688s
Makefile:242: recipe for target 'fulltest' failed
make: *** [fulltest] Error 1
/home/travis/build/[secure]/go-[secure]/scripts/travis/travis_wait.sh: line 34: 31183 Terminated              travis_jigger $! $timeout $cmd
The command "/home/travis/build/[secure]/go-[secure]/scripts/travis/travis_wait.sh 90 /home/travis/build/[secure]/go-[secure]/scripts/travis/test.sh" failed. Retrying, 2 of 3.
....

Acceptance criteria:

  • The test should pass without failure.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions