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 test: TestService_IncrementalUpdateMixed #6141

Open
igor-sirotin opened this issue Nov 28, 2024 · 2 comments
Open

Flaky test: TestService_IncrementalUpdateMixed #6141

igor-sirotin opened this issue Nov 28, 2024 · 2 comments
Assignees

Comments

@igor-sirotin
Copy link
Collaborator

igor-sirotin commented Nov 28, 2024

Reproduce easily with -test.count=100:

=== Failed
=== FAIL: services/wallet/activity  (0.00s)
panic: test timed out after 5m0s
running tests:
	TestService_IncrementalUpdateMixed (4m59s)

Test goroutine:

goroutine 9738 [select, 4 minutes]:
reflect.rselect({0xc000c177c8, 0x2, 0xc0009c15b8?})
	/nix/store/mf08k94zrnzb2q8x303g14l2ryi2ws3w-go-1.21.10/share/go/src/runtime/select.go:589 +0x2c5
reflect.Select({0xc0002fe630?, 0x2, 0xc0008fc5e8?})
	/nix/store/mf08k94zrnzb2q8x303g14l2ryi2ws3w-go-1.21.10/share/go/src/reflect/value.go:3104 +0x5ea
github.com/ethereum/go-ethereum/event.(*Feed).Send(0xc000394150, {0x16b7720?, 0xc0002df3b0?})
	/home/jenkins/workspace/status-go_prs_tests_PR-6111/vendor/github.com/ethereum/go-ethereum/event/feed.go:170 +0x3cc
github.com/status-im/status-go/transactions.(*PendingTxTracker).notifyPendingTransactionListeners(0xc000b085a0, {{0x309, {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...}}, ...}, ...)
	/home/jenkins/workspace/status-go_prs_tests_PR-6111/transactions/pendingtxtracker.go:750 +0x232
github.com/status-im/status-go/transactions.(*PendingTxTracker).addPendingAndNotify(0xc000b085a0, 0xc000468420)
	/home/jenkins/workspace/status-go_prs_tests_PR-6111/transactions/pendingtxtracker.go:721 +0x16e
github.com/status-im/status-go/transactions.(*PendingTxTracker).StoreAndTrackPendingTx(0xc000b085a0, 0xc000a7b520?)
	/home/jenkins/workspace/status-go_prs_tests_PR-6111/transactions/pendingtxtracker.go:610 +0x57
github.com/status-im/status-go/services/wallet/activity.TestService_IncrementalUpdateMixed(0xc000a7b520)
	/home/jenkins/workspace/status-go_prs_tests_PR-6111/services/wallet/activity/session_service_test.go:106 +0x378
testing.tRunner(0xc000a7b520, 0x1b93e38)
	/nix/store/mf08k94zrnzb2q8x303g14l2ryi2ws3w-go-1.21.10/share/go/src/testing/testing.go:1595 +0xff
created by testing.(*T).Run in goroutine 1
	/nix/store/mf08k94zrnzb2q8x303g14l2ryi2ws3w-go-1.21.10/share/go/src/testing/testing.go:1648 +0x3ad
@igor-sirotin
Copy link
Collaborator Author

@dlipicar this one is especially painful, because if a test paniced, it's not given any reruns 🙁

@dlipicar
Copy link
Contributor

dlipicar commented Dec 5, 2024

@igor-sirotin I'm on it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants