JTR Failure: AddressBook-restart-* tests
Closed this issue · 1 comments
imalygin commented
Description
AddressBook-restart-force-use-config-addressbook-1k-4
AddressBook-restart-saved-state-same-version-1k-4m
AddressBook-restart-upgrade-add-node-1k-4m
AddressBook-restart-upgrade-force-use-config-addressbook-1k-4m
AddressBook-restart-upgrade-remove-node-1k-4m
AddressBook-restart-upgrade-weight-behavior2-1k-4m
are failing with
---- PlatformStatusValidator FAILED validation ----
Node 0: Transitioning to FREEZING from ACTIVE is not a valid status for step 5 [StatusProgressionStep{targetStatus=null, optionalInterimStatuses=[ACTIVE, CHECKING], requiredInterimStatuses=[], observedStatuses=[FREEZING, ACTIVE, CHECKING]}]
Node 1: Transitioning to FREEZING from ACTIVE is not a valid status for step 5 [StatusProgressionStep{targetStatus=null, optionalInterimStatuses=[ACTIVE, CHECKING], requiredInterimStatuses=[], observedStatuses=[FREEZING, ACTIVE, CHECKING]}]
Node 2: Transitioning to FREEZING from ACTIVE is not a valid status for step 5 [StatusProgressionStep{targetStatus=null, optionalInterimStatuses=[ACTIVE, CHECKING], requiredInterimStatuses=[], observedStatuses=[FREEZING, ACTIVE, CHECKING]}]
Node 3: Transitioning to FREEZING from ACTIVE is not a valid status for step 5 [StatusProgressionStep{targetStatus=null, optionalInterimStatuses=[ACTIVE, CHECKING], requiredInterimStatuses=[], observedStatuses=[FREEZING, ACTIVE, CHECKING]}]
Steps to reproduce
Run any of AddressBook-restart-*. E.g., AddressBook-restart-force-use-config-addressbook-1k-4m
Additional context
No response
Hedera network
other
Version
v0.57
Operating system
None
imalygin commented
The issue caused by the fact that AddressBookTestingToolState
was not serialized correctly. Its fields roundsHandled
and runningSum
were not a part of a stored state and that was critically important for the test to run correctly.