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]: soak test failure spot - lastFeeDistributionTime #10962

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

[Bug]: soak test failure spot - lastFeeDistributionTime #10962

Sohill-Patel opened this issue Mar 21, 2024 · 0 comments · Fixed by #10983
Assignees

Comments

@Sohill-Patel
Copy link
Contributor

Sohill-Patel commented Mar 21, 2024

Problem encountered

[2024-03-21T10:23:48.324Z]          {

[2024-03-21T10:23:48.324Z]              "liquidityV2Scores": {

[2024-03-21T10:23:48.324Z]                  "marketId": "9bbdd1ce3522e39bd490b7314009cb210e014018f27bca84e8d148af48f81a92",

[2024-03-21T10:23:48.324Z]                  "runningAverageCounter": 1,

[2024-03-21T10:23:48.324Z] -                "lastFeeDistributionTime": "1711016527397644147",

[2024-03-21T10:23:48.324Z] +                "lastFeeDistributionTime": "1711016528324784426",

[2024-03-21T10:23:48.324Z]                  "feeCalculationTimeStep": "1000000000"

[2024-03-21T10:23:48.324Z]              }

[2024-03-21T10:23:48.324Z]          },

Observed behaviour

tracing the market id for the failure 9bbdd1ce3522e39bd490b7314009cb210e014018f27bca84e8d148af48f81a92 points to a spot market
{"id":"2256-24","block":"4809BA33B2C0E1A344B6B64FAC033D1102588C4FBD4DD7DEA5B50CBB0D4F68C5","type":"BUS_EVENT_TYPE_MARKET_CREATED","marketCreated":{"id":"9bbdd1ce3522e39bd490b7314009cb210e014018f27bca84e8d148af48f81a92","tradableInstrument":{"instrument":{"code":"CRYPTO:VEGA CORE SYS TEST","name":"BTC/ETH","metadata":{"tags":["asset_class:n/a","product:spot"]},"spot":{"baseAsset":"93b31c1a5774d3024995d1503d3c4973e0c00a478ddc62a8ea49dbf61e468826","quoteAsset":"514ffd3ff74382307b78117121ba8eb3159576132f13ff1ed8c76a80c46f61d9","name":"BTC/ETH"}},"marginCalculator":{"scalingFactors":{}},"logNormalRiskModel":{"riskAversionParameter":0.001,"tau":0.00011407711613050422,"params":{"r":0.016,"sigma":1.5}}},"decimalPlaces":"5","fees":{"factors":{"makerFee":"0.004","infrastructureFee":"0.001","liquidityFee":"0"},"liquidityFeeSettings":{"method":"METHOD_MARGINAL_COST"}},"openingAuction":{"duration":"1"},"priceMonitoringSettings":{"parameters":{}},"liquidityMonitoringParameters":{"targetStakeParameters":{"timeWindow":"10","scalingFactor":5}},"tradingMode":"TRADING_MODE_NO_TRADING","state":"STATE_PROPOSED","marketTimestamps":{"proposed":"1711016499809600850","pending":"1711016499809600850","open":"1711016499809600851"},"positionDecimalPlaces":"5","linearSlippageFactor":"0","quadraticSlippageFactor":"0","liquiditySlaParams":{"priceRange":"0.1","commitmentMinTimeFraction":"1","performanceHysteresisEpochs":"1","slaCompetitionFactor":"1"},"markPriceConfiguration":{"decayWeight":"0","cashAmount":"0","compositePriceType":"COMPOSITE_PRICE_TYPE_LAST_TRADE"},"tickSize":"1"},"version":1,"chainId":"testnet-001","txHash":"0D3786A7C1265759F0F5484580D1D188246EC4E4A1A2D768932D0845B8EC222B"}

https://jenkins.vega.rocks/job/common/job/system-tests-wrapper/51036/artifact/test_logs/rewards/spot_trading_rewards_test.py/test_spot_trading_rewards_multiple_markets_multiple_traders_multiple_rewards/BUS_EVENT_TYPE_MARKET_CREATED.txt

Expected behaviour

no soak test failure

Steps to reproduce

1. run the test module `spot_trading_rewards_test.py` on branch `reward_ACs`

Software version

dev branch

Failing test

test_spot_trading_rewards_multiple_markets_multiple_traders_multiple_rewards

Jenkins run

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

Configuration used

No response

Relevant log output

No response

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.

3 participants