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

[Bug]: snapshot restore failed on pegged order #10864

Closed
Sohill-Patel opened this issue Mar 11, 2024 · 0 comments · Fixed by #10876
Closed

[Bug]: snapshot restore failed on pegged order #10864

Sohill-Patel opened this issue Mar 11, 2024 · 0 comments · Fixed by #10876
Assignees
Labels

Comments

@Sohill-Patel
Copy link
Contributor

Problem encountered

[2024-03-10T16:34:11.167Z] snapshot failure restore block: 5311, fell out of consensus on: 5358

[2024-03-10T16:34:11.167Z] snapshot state diff:

[2024-03-10T16:34:11.167Z] --- snapshot-fail-0-5358.json

[2024-03-10T16:34:11.167Z] +++ snapshot-fail-5311-5358.json

[2024-03-10T16:34:11.167Z] @@ -221387,23 +221387,23 @@

[2024-03-10T16:34:11.167Z]                          "batchId": "2",

[2024-03-10T16:34:11.167Z]                          "peggedOrder": {

[2024-03-10T16:34:11.167Z]                              "reference": "PEGGED_REFERENCE_MID",

[2024-03-10T16:34:11.167Z]                              "offset": "2"

[2024-03-10T16:34:11.168Z]                          }

[2024-03-10T16:34:11.168Z]                      }

[2024-03-10T16:34:11.168Z]                  ],

[2024-03-10T16:34:11.168Z]                  "lastTradedPrice": "0",

[2024-03-10T16:34:11.168Z]                  "batchId": "2",

[2024-03-10T16:34:11.168Z]                  "peggedOrderIds": [

[2024-03-10T16:34:11.168Z] -                    "fe10f68e941d77e52e753a5450cc541d35f21bb338c0bd6c2605be8cf2fbf67b",

[2024-03-10T16:34:11.168Z]                      "0d86db506d13a84f20b5b869476d1778fb636265e73b3788ca22dff0c132e313",

[2024-03-10T16:34:11.168Z] -                    "967f826f92ba6a024117edf180068dc5087978d1777f111d8046a6800d37d7d3"

[2024-03-10T16:34:11.168Z] +                    "967f826f92ba6a024117edf180068dc5087978d1777f111d8046a6800d37d7d3",

[2024-03-10T16:34:11.168Z] +                    "fe10f68e941d77e52e753a5450cc541d35f21bb338c0bd6c2605be8cf2fbf67b"

[2024-03-10T16:34:11.168Z]                  ]

[2024-03-10T16:34:11.168Z]              }

[2024-03-10T16:34:11.168Z]          },

[2024-03-10T16:34:11.168Z]          {

[2024-03-10T16:34:11.168Z]              "matchingBook": {

[2024-03-10T16:34:11.168Z]                  "marketId": "e5c0c6b1f044df26e8afdb4b258ab78819723a5165234d57f53c7c7a0db88b7f",

[2024-03-10T16:34:11.168Z]                  "buy": [

[2024-03-10T16:34:11.168Z]                      {

[2024-03-10T16:34:11.168Z]                          "id": "724c2294142bcec1ffd262a62e9462a5a66d95e96b6c63121a6db7ec8adfda58",

[2024-03-10T16:34:11.168Z]                          "marketId": "e5c0c6b1f044df26e8afdb4b258ab78819723a5165234d57f53c7c7a0db88b7f",

[2024-03-10T16:34:11.168Z] 

[2024-03-10T16:34:11.168Z] percentage of working snapshots: 99.72527472527473% (363/364)

[2024-03-10T16:34:11.168Z] block heights of failing snapshots

Observed behaviour

the test which was running during block 5311 is test_cancel_parked_pegged_on_invalid_tick_size where pegged orders and iceberg pegged orders are submitted

https://jenkins.vega.rocks/job/common/job/system-tests-wrapper/48649/artifact/test_logs/orders/pegged_orders_test.py/test_cancel_parked_pegged_on_invalid_tick_size/

Expected behaviour

snapshot restore succeeds

Steps to reproduce

1. perps fort-nightly run

Software version

dev branch

Failing test

No response

Jenkins run

https://jenkins.vega.rocks/blue/organizations/jenkins/common%2Fsystem-tests-wrapper/detail/system-tests-wrapper/48649/pipeline/659/

Configuration used

jenkins parameter for the pipeline
DEFAULT_PRODUCT=Perpetual

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants