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 failure on the overnight run #11244

Closed
wwestgarth opened this issue May 7, 2024 · 0 comments · Fixed by #11245
Closed

[Bug]: Snapshot failure on the overnight run #11244

wwestgarth opened this issue May 7, 2024 · 0 comments · Fixed by #11245
Assignees

Comments

@wwestgarth
Copy link
Contributor

Problem encountered

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

[2024-05-05T04:25:04.803Z] --- snapshot-fail-0-17766.json
[2024-05-05T04:25:04.803Z] +++ snapshot-fail-17719-17766.json
[2024-05-05T04:25:04.803Z] @@ -546615,27 +546615,111 @@
[2024-05-05T04:25:04.803Z]                              "window": "9"
[2024-05-05T04:25:04.803Z]                          },
[2024-05-05T04:25:04.803Z]                          "nextMarkToMarket": "1714879601762083312",
[2024-05-05T04:25:04.803Z]                          "lastTradedPrice": "950000000000000000000",
[2024-05-05T04:25:04.803Z]                          "parties": [
[2024-05-05T04:25:04.803Z]                              "06bc045ac1d5677f79bd3e4aae69ab014456fd31e01d3763fa515449e1768b02",
[2024-05-05T04:25:04.803Z]                              "2029280ed9404852eacf3e66f5963ace5bb4146dcaeed0d5b5c8b9caf7f53ad8",
[2024-05-05T04:25:04.803Z]                              "fefdbd1f7246e420466fb430418e6d5bf7598e6ff008f948b8cf2db53d4de0d3"
[2024-05-05T04:25:04.803Z]                          ],
[2024-05-05T04:25:04.803Z]                          "stopOrders": {
[2024-05-05T04:25:04.803Z] +                            "stopOrders": [
[2024-05-05T04:25:04.803Z] +                                {
[2024-05-05T04:25:04.803Z] +                                    "submission": {
[2024-05-05T04:25:04.803Z] +                                        "marketId": "f5133d0d21081d9af3bbe341b044992b58ace752795bad03edfa895b8c2b6748",
[2024-05-05T04:25:04.803Z] +                                        "price": "130000000",
[2024-05-05T04:25:04.803Z] +                                        "size": "200000",
[2024-05-05T04:25:04.803Z] +                                        "side": "SIDE_SELL",
[2024-05-05T04:25:04.803Z] +                                        "timeInForce": "TIME_IN_FORCE_FOK",
[2024-05-05T04:25:04.803Z] +                                        "type": "TYPE_LIMIT",
[2024-05-05T04:25:04.803Z] +                                        "reference": "market2_stop_order-FALLS_BELOW",
[2024-05-05T04:25:04.803Z] +                                        "reduceOnly": true
[2024-05-05T04:25:04.803Z] +                                    },
[2024-05-05T04:25:04.803Z] +                                    "stopOrder": {
[2024-05-05T04:25:04.803Z] +                                        "id": "203eb61c7c8ee0c49181416953fdd04c1b0e148f115fd64d158d0f494f1b2845",
[2024-05-05T04:25:04.803Z] +                                        "ocoLinkId": "db61beda6091c6ef4a469c430f7529b3edf661ba9f83b1c3308177fa2e825e34",
[2024-05-05T04:25:04.803Z] +                                        "expiresAt": "1714879596690219000",
[2024-05-05T04:25:04.803Z] +                                        "expiryStrategy": "EXPIRY_STRATEGY_CANCELS",
[2024-05-05T04:25:04.803Z] +                                        "triggerDirection": "TRIGGER_DIRECTION_FALLS_BELOW",
[2024-05-05T04:25:04.803Z] +                                        "status": "STATUS_PENDING",
[2024-05-05T04:25:04.803Z] +                                        "createdAt": "1714879097434232854",
[2024-05-05T04:25:04.803Z] +                                        "updatedAt": "1714879097434232854",
[2024-05-05T04:25:04.803Z] +                                        "partyId": "fefdbd1f7246e420466fb430418e6d5bf7598e6ff008f948b8cf2db53d4de0d3",
[2024-05-05T04:25:04.803Z] +                                        "marketId": "f5133d0d21081d9af3bbe341b044992b58ace752795bad03edfa895b8c2b6748",
[2024-05-05T04:25:04.803Z] +                                        "trailingPercentOffset": "0.5"
[2024-05-05T04:25:04.803Z] +                                    }
[2024-05-05T04:25:04.803Z] +                                },
[2024-05-05T04:25:04.803Z] +                                {
[2024-05-05T04:25:04.803Z] +                                    "submission": {
[2024-05-05T04:25:04.803Z] +                                        "marketId": "f5133d0d21081d9af3bbe341b044992b58ace752795bad03edfa895b8c2b6748",
[2024-05-05T04:25:04.803Z] +                                        "price": "130000000",
[2024-05-05T04:25:04.803Z] +                                        "size": "200000",
[2024-05-05T04:25:04.803Z] +                                        "side": "SIDE_SELL",
[2024-05-05T04:25:04.803Z] +                                        "timeInForce": "TIME_IN_FORCE_FOK",
[2024-05-05T04:25:04.803Z] +                                        "type": "TYPE_LIMIT",
[2024-05-05T04:25:04.803Z] +                                        "reference": "market2_stop_order-RISES_ABOVE",
[2024-05-05T04:25:04.803Z] +                                        "reduceOnly": true
[2024-05-05T04:25:04.803Z] +                                    },
[2024-05-05T04:25:04.803Z] +                                    "stopOrder": {
[2024-05-05T04:25:04.803Z] +                                        "id": "db61beda6091c6ef4a469c430f7529b3edf661ba9f83b1c3308177fa2e825e34",
[2024-05-05T04:25:04.803Z] +                                        "ocoLinkId": "203eb61c7c8ee0c49181416953fdd04c1b0e148f115fd64d158d0f494f1b2845",
[2024-05-05T04:25:04.803Z] +                                        "expiresAt": "1714879696690219000",
[2024-05-05T04:25:04.803Z] +                                        "expiryStrategy": "EXPIRY_STRATEGY_CANCELS",
[2024-05-05T04:25:04.803Z] +                                        "triggerDirection": "TRIGGER_DIRECTION_RISES_ABOVE",
[2024-05-05T04:25:04.803Z] +                                        "status": "STATUS_PENDING",
[2024-05-05T04:25:04.803Z] +                                        "createdAt": "1714879097434232854",
[2024-05-05T04:25:04.803Z] +                                        "updatedAt": "1714879097434232854",
[2024-05-05T04:25:04.803Z] +                                        "partyId": "fefdbd1f7246e420466fb430418e6d5bf7598e6ff008f948b8cf2db53d4de0d3",
[2024-05-05T04:25:04.803Z] +                                        "marketId": "f5133d0d21081d9af3bbe341b044992b58ace752795bad03edfa895b8c2b6748",
[2024-05-05T04:25:04.803Z] +                                        "trailingPercentOffset": "0.5"
[2024-05-05T04:25:04.803Z] +                                    }
[2024-05-05T04:25:04.803Z] +                                }
[2024-05-05T04:25:04.803Z] +                            ],
[2024-05-05T04:25:04.803Z]                              "pricedStopOrders": {
[2024-05-05T04:25:04.803Z]  
[2024-05-05T04:25:04.803Z]                              },
[2024-05-05T04:25:04.803Z]                              "trailingStopOrders": {
[2024-05-05T04:25:04.803Z] -                                "lastSeenPrice": "95000000"
[2024-05-05T04:25:04.803Z] +                                "lastSeenPrice": "95000000",
[2024-05-05T04:25:04.803Z] +                                "fallsBellow": [
[2024-05-05T04:25:04.803Z] +                                    {
[2024-05-05T04:25:04.803Z] +                                        "price": "95000000",
[2024-05-05T04:25:04.803Z] +                                        "offsets": [
[2024-05-05T04:25:04.803Z] +                                            {
[2024-05-05T04:25:04.803Z] +                                                "offset": "0.5",
[2024-05-05T04:25:04.803Z] +                                                "orders": [
[2024-05-05T04:25:04.803Z] +                                                    "203eb61c7c8ee0c49181416953fdd04c1b0e148f115fd64d158d0f494f1b2845"
[2024-05-05T04:25:04.803Z] +                                                ]
[2024-05-05T04:25:04.803Z] +                                            }
[2024-05-05T04:25:04.803Z] +                                        ]
[2024-05-05T04:25:04.803Z] +                                    }
[2024-05-05T04:25:04.803Z] +                                ],
[2024-05-05T04:25:04.803Z] +                                "risesAbove": [
[2024-05-05T04:25:04.803Z] +                                    {
[2024-05-05T04:25:04.803Z] +                                        "price": "95000000",
[2024-05-05T04:25:04.803Z] +                                        "offsets": [
[2024-05-05T04:25:04.803Z] +                                            {
[2024-05-05T04:25:04.803Z] +                                                "offset": "0.5",
[2024-05-05T04:25:04.803Z] +                                                "orders": [
[2024-05-05T04:25:04.803Z] +                                                    "db61beda6091c6ef4a469c430f7529b3edf661ba9f83b1c3308177fa2e825e34"
[2024-05-05T04:25:04.803Z] +                                                ]
[2024-05-05T04:25:04.803Z] +                                            }
[2024-05-05T04:25:04.803Z] +                                        ]
[2024-05-05T04:25:04.803Z] +                                    }
[2024-05-05T04:25:04.803Z] +                                ]
[2024-05-05T04:25:04.803Z]                              }
[2024-05-05T04:25:04.803Z]                          },
[2024-05-05T04:25:04.803Z] +                        "expiringStopOrders": [
[2024-05-05T04:25:04.803Z] +                            {
[2024-05-05T04:25:04.803Z] +                                "id": "db61beda6091c6ef4a469c430f7529b3edf661ba9f83b1c3308177fa2e825e34",
[2024-05-05T04:25:04.803Z] +                                "expiresAt": "1714879696690219000"
[2024-05-05T04:25:04.803Z] +                            }
[2024-05-05T04:25:04.803Z] +                        ],
[2024-05-05T04:25:04.803Z]                          "feesStats": {
[2024-05-05T04:25:04.803Z]                              "asset": "76f72291d8f447b31b1066239a01b7214ff69c242158629d335d4dc6ec8de0a0"
[2024-05-05T04:25:04.803Z]                          },
[2024-05-05T04:25:04.803Z]                          "marketLiquidity": {
[2024-05-05T04:25:04.803Z]                              "priceRange": "0.1"
[2024-05-05T04:25:04.803Z]                          }
[2024-05-05T04:25:04.803Z]                      },

Observed behaviour

Snapshot fails

Expected behaviour

Snapshot works

Steps to reproduce

1. Submit `xyz` transaction
2. With this payload
3. Query `abc` API
4. Observe the error

Software version

v0.76.0

Failing test

No response

Jenkins run

No response

Configuration used

No response

Relevant log output

No response

@wwestgarth wwestgarth added this to the 🏛️ Colosseo milestone May 7, 2024
@wwestgarth wwestgarth self-assigned this May 7, 2024
@vega-issues vega-issues moved this to Waiting Review in Core Kanban May 7, 2024
@vega-issues vega-issues moved this from Waiting Review to Approved in Core Kanban May 7, 2024
@github-project-automation github-project-automation bot moved this from Approved to Merged in Core Kanban May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant