status-go
status-go copied to clipboard
Flaky test TestMessengerBackupSuite/TestBackupKeypairs
2024-01-17T07:10:44.823Z WARN protocol/messenger_maps.go:65 contacts map: loading own identity {"contactID": "0x04716c2fe697450134fb3e9af81226011b8d8c1bfff96114cb33c0c81f84930f115689099b58b855e4acbf2132bdd8dc7180f8fd67caba8d6e07cca7a99f5a5311"}
github.com/status-im/status-go/protocol.(*contactMap).Load
/home/jenkins/workspace/status-go_prs_tests_PR-4573/protocol/messenger_maps.go:65
github.com/status-im/status-go/protocol.(*Messenger).saveDataAndPrepareResponse
/home/jenkins/workspace/status-go_prs_tests_PR-4573/protocol/messenger.go:3857
github.com/status-im/status-go/protocol.(*Messenger).handleRetrievedMessages
/home/jenkins/workspace/status-go_prs_tests_PR-4573/protocol/messenger.go:3835
github.com/status-im/status-go/protocol.(*Messenger).RetrieveAll
/home/jenkins/workspace/status-go_prs_tests_PR-4573/protocol/messenger.go:3268
github.com/status-im/status-go/protocol.WaitOnMessengerResponse.func1
/home/jenkins/workspace/status-go_prs_tests_PR-4573/protocol/messenger_testing_utils.go:41
github.com/cenkalti/backoff/v3.RetryNotifyWithTimer
/home/jenkins/workspace/status-go_prs_tests_PR-4573/vendor/github.com/cenkalti/backoff/v3/retry.go:52
github.com/cenkalti/backoff/v3.RetryNotify
/home/jenkins/workspace/status-go_prs_tests_PR-4573/vendor/github.com/cenkalti/backoff/v3/retry.go:31
github.com/cenkalti/backoff/v3.Retry
/home/jenkins/workspace/status-go_prs_tests_PR-4573/vendor/github.com/cenkalti/backoff/v3/retry.go:25
github.com/status-im/status-go/protocol/tt.RetryWithBackOff
/home/jenkins/workspace/status-go_prs_tests_PR-4573/protocol/tt/backoff.go:24
github.com/status-im/status-go/protocol.WaitOnMessengerResponse
/home/jenkins/workspace/status-go_prs_tests_PR-4573/protocol/messenger_testing_utils.go:39
github.com/status-im/status-go/protocol.(*MessengerBackupSuite).TestBackupKeypairs
/home/jenkins/workspace/status-go_prs_tests_PR-4573/protocol/messenger_backup_test.go:722
reflect.Value.call
/nix/store/yri46n3pjlhz9in6v7v2sz4235zz9hld-go-1.19.9/share/go/src/reflect/value.go:584
reflect.Value.Call
/nix/store/yri46n3pjlhz9in6v7v2sz4235zz9hld-go-1.19.9/share/go/src/reflect/value.go:368
github.com/stretchr/testify/suite.Run.func1
/home/jenkins/workspace/status-go_prs_tests_PR-4573/vendor/github.com/stretchr/testify/suite/suite.go:197
testing.tRunner
/nix/store/yri46n3pjlhz9in6v7v2sz4235zz9hld-go-1.19.9/share/go/src/testing/testing.go:1446
messenger_backup_test.go:742:
Error Trace: /home/jenkins/workspace/status-go_prs_tests_PR-4573/protocol/messenger_backup_test.go:742
Error: Received unexpected error:
accounts: keypair is not found
Test: TestMessengerBackupSuite/TestBackupKeypairs
Still flaky: TestMessengerBackupSuite/TestBackupKeypairs: 5.0% (1 of 20 failed)
Same error: https://ci.status.im/job/status-go/job/tests-nightly/142/testReport/github/com_status-im_status-go_protocol/TestMessengerBackupSuite_TestBackupKeypairs/
Currently flaky with a different error:
messenger_backup_test.go:764:
Error Trace: /home/jenkins/workspace/status-go/tests-nightly/protocol/messenger_backup_test.go:764
Error: "[0x2100000000000000000000000000000000000000 0x2200000000000000000000000000000000000000]" should have 3 item(s), but has 2
Test: TestMessengerBackupSuite/TestBackupKeypairs
TestMessengerBackupSuite/TestBackupKeypairs: 50.0% (9 of 18 failed)
@smohamedjavid Can you please take a look, looks like it was introduced in your PR: https://github.com/status-im/status-go/pull/5739
@igor-sirotin Apologies 🙏 Fixed here: https://github.com/status-im/status-go/pull/5811