Skip to content

Conversation

@tsachiherman
Copy link
Contributor

Summary

Disable the participation key refresh on the TestPartitionHalfOffline test. The test was failing with the following threads running:

algod(20739) : github.com/algorand/go-algorand/agreement.(*asyncPseudonode).loadRoundParticipationKeys(0xc0033dad20, 0x2, 0xc0039c8180, 0xc000530000, 0xc000dcb0d0)
algod(20739) : github.com/algorand/go-algorand/data/account.PersistedParticipation.DeleteOldKeys(0x92c6b21bbd8fefac, 0xed2d99ce769768ea, 0xac85a3b9466cead1, 0xc32937d7e4c532f9, 0xc000043260, 0xc0002b04b0, 0x0, 0x2dc6c0, 0x2710, 0xc0001892c0, ...)
algod(20739) : github.com/algorand/go-algorand/data.(*AccountManager).AddParticipation(0xc0001191a0, 0xd175b5d042fa1c39, 0x2140fe15c6a19653, 0xc66f7b9c58cf5ed1, 0x107d657815b44d49, 0xc0037a4d20, 0xc0002b0690, 0x0, 0x2dc6c0, 0x2710, ...)

By avoiding the participation key reload ( which isn't needed for this test ), I'm hoping to avoid the issue.

Test Plan

This is a test.

@codecov-commenter
Copy link

codecov-commenter commented Oct 7, 2021

Codecov Report

Merging #3017 (d4fb340) into master (69aace5) will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3017      +/-   ##
==========================================
+ Coverage   43.84%   43.85%   +0.01%     
==========================================
  Files         385      385              
  Lines       86309    86309              
==========================================
+ Hits        37838    37848      +10     
+ Misses      42510    42504       -6     
+ Partials     5961     5957       -4     
Impacted Files Coverage Δ
ledger/blockqueue.go 81.03% <0.00%> (-2.88%) ⬇️
network/wsPeer.go 74.09% <0.00%> (-0.26%) ⬇️
ledger/acctupdates.go 63.19% <0.00%> (+0.42%) ⬆️
network/requestTracker.go 71.55% <0.00%> (+0.43%) ⬆️
catchup/service.go 70.12% <0.00%> (+0.77%) ⬆️
data/abi/abi_type.go 91.81% <0.00%> (+0.90%) ⬆️
catchup/peerSelector.go 100.00% <0.00%> (+1.04%) ⬆️
ledger/roundlru.go 96.22% <0.00%> (+5.66%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 69aace5...d4fb340. Read the comment docs.

@tsachiherman tsachiherman merged commit 6887d0e into algorand:master Oct 7, 2021
@tsachiherman tsachiherman deleted the tsachi/TestPartitionHalfOfflineNoKeysRefresh branch October 7, 2021 18:30
cce pushed a commit to cce/go-algorand that referenced this pull request Oct 28, 2021
… branch. (algorand#3017)

## Summary

 Disable the participation key refresh on the TestPartitionHalfOffline test. The test was failing with the following threads running:

```
algod(20739) : github.com/algorand/go-algorand/agreement.(*asyncPseudonode).loadRoundParticipationKeys(0xc0033dad20, 0x2, 0xc0039c8180, 0xc000530000, 0xc000dcb0d0)
```
```
algod(20739) : github.com/algorand/go-algorand/data/account.PersistedParticipation.DeleteOldKeys(0x92c6b21bbd8fefac, 0xed2d99ce769768ea, 0xac85a3b9466cead1, 0xc32937d7e4c532f9, 0xc000043260, 0xc0002b04b0, 0x0, 0x2dc6c0, 0x2710, 0xc0001892c0, ...)
```
```
algod(20739) : github.com/algorand/go-algorand/data.(*AccountManager).AddParticipation(0xc0001191a0, 0xd175b5d042fa1c39, 0x2140fe15c6a19653, 0xc66f7b9c58cf5ed1, 0x107d657815b44d49, 0xc0037a4d20, 0xc0002b0690, 0x0, 0x2dc6c0, 0x2710, ...)
```

By avoiding the participation key reload ( which isn't needed for this test ), I'm hoping to avoid the issue.

## Test Plan

This is a test.
@egieseke egieseke mentioned this pull request Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants