go-spacemesh icon indicating copy to clipboard operation
go-spacemesh copied to clipboard

Flaky Test_handleFollowingVotes_TooEarly

Open fasmat opened this issue 7 months ago • 0 comments

Description

Test failed in a PR with unrelated changes

Affected code

Test_handleFollowingVotes_TooEarly seems to be unstable a least on slower runners. Example CI run: https://github.com/spacemeshos/go-spacemesh/actions/runs/9876824429/job/27276926827?pr=6123 from PR https://github.com/spacemeshos/go-spacemesh/pull/6123

=== FAIL: beacon Test_handleFollowingVotes_TooEarly (0.32s)
    logger.go:146: 2024-07-10T15:24:14.066Z	INFO	initialized datastore	{"config": {"ATXSize":1000,"MalfeasanceSize":1000}}
    logger.go:146: 2024-07-10T15:24:14.067Z	INFO	registered signing key	{"node_id": "c04c82"}
    logger.go:146: 2024-07-10T15:24:14.067Z	INFO	registered signing key	{"node_id": "177325"}
    logger.go:146: 2024-07-10T15:24:14.068Z	INFO	registered signing key	{"node_id": "279c76"}
    logger.go:146: 2024-07-10T15:24:14.071Z	DEBUG	earliest vote time for next round	{"round": 5, "next_round": 6, "earliest_time": "2024-07-10T15:24:14.121Z"}
    logger.go:146: 2024-07-10T15:24:14.071Z	DEBUG	earliest vote time for next round	{"round": 4, "next_round": 5, "earliest_time": "2024-07-10T15:24:14.121Z"}
    logger.go:146: 2024-07-10T15:24:14.197Z	DEBUG	new following votes	{"sender": "xyFxm4Uj"}
    logger.go:146: 2024-07-10T15:24:14.197Z	DEBUG	received following voting message, counting its votes	{"sender": "xyFxm4Uj"}
    handlers_test.go:1347: 
        	Error Trace:	/Users/runner/work/go-spacemesh/go-spacemesh/beacon/handlers_test.go:1347
        	Error:      	Target error should be in err chain:
        	            	expected: "untimely msg"
        	            	in chain: 
        	Test:       	Test_handleFollowingVotes_TooEarly

fasmat avatar Jul 10 '24 15:07 fasmat