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

Skaled crashes after state root mismatch error and exit with 137 ExitCode #1613

Closed
oleksandrSydorenkoJ opened this issue Aug 4, 2023 · 2 comments · Fixed by #1618
Closed
Assignees
Labels
bug Something isn't working release:2.2 skaled

Comments

@oleksandrSydorenkoJ
Copy link

oleksandrSydorenkoJ commented Aug 4, 2023

Preconditions:
Active schain medium type 16 nodes
Skale schain name: wan-tasty-kitalpha

Versiosns
skalenetwork/schain:3.17.0-beta.6

Stpes to reproduce:

  1. Connect to any node via ssh and create random file in schain datadir
  2. wait 2 snapshot interval
  3. check skaled logs

Expected state:
Skaled should catch state root error, set restart from the snapshot in skaled status file and exit with 200 exit Code

Actual state:
Skaled crashes after catching state root error

Logs:
skaled status file:

root@ip-172-31-56-65:~# cat .skale/node_data/schains/wan-tasty-kitalpha/skaled.status 
    {
       "subsystemRunning":{
           "SnapshotDownloader": false,
           "WaitingForTimestamp": false,
           "Blockchain": true,
           "Rpc": true
       },
       "exitState":{
           "ClearDataDir": false,
           "StartAgain": true,
           "StartFromSnapshot": false,
           "ExitTimeReached": false
       }
    }

docker container

efd793427cd8   skalenetwork/schain:3.17.0-beta.6               "/skaled/skaled --co…"   2 hours ago    Exited (134) 6 minutes ago                                                        skale_schain_wan-tasty-kitalpha

Logs from skaled
skaled_crashes_after_state_root_error.txt

@DmytroNazarenko DmytroNazarenko moved this to Ready For Pickup in SKALE Engineering 🚀 Aug 4, 2023
@dimalit dimalit moved this from Ready For Pickup to In Progress in SKALE Engineering 🚀 Aug 7, 2023
@dimalit dimalit linked a pull request Aug 7, 2023 that will close this issue
@dimalit dimalit removed a link to a pull request Aug 7, 2023
@dimalit dimalit linked a pull request Aug 8, 2023 that will close this issue
@github-project-automation github-project-automation bot moved this from In Progress to Ready For Release Candidate in SKALE Engineering 🚀 Aug 9, 2023
@dimalit dimalit moved this from Ready For Release Candidate to QA in SKALE Engineering 🚀 Aug 9, 2023
@DmytroNazarenko
Copy link
Collaborator

skaled: 3.17.0-beta.8

@oleksandrSydorenkoJ
Copy link
Author

Verified on Regression network
skale_schain_free-basic-rosy-SKALE
skaled: 3.17.0-beta.8

state_root_exit_verification.log

@EvgeniyZZ EvgeniyZZ moved this from QA to Done in SKALE Engineering 🚀 Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working release:2.2 skaled
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants