Open jnels124 opened 4 weeks ago
more info with timestamp:
INFO 2024-08-15T14:13:36.797797034Z org.springframework.web.client.HttpClientErrorException$BadRequest: 400 : "{"_status":{"messages":[{"message":"CONTRACT_REVERT_EXECUTED","detail":"","data":"0x"}]}}"
INFO 2024-08-15T14:13:36.797828176Z at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:103)
INFO 2024-08-15T14:13:36.797839527Z at org.springframework.web.client.StatusHandler.lambda$defaultHandler$3(StatusHandler.java:86)
INFO 2024-08-15T14:13:36.797845980Z at org.springframework.web.client.StatusHandler.handle(StatusHandler.java:146)
INFO 2024-08-15T14:13:36.797852320Z at org.springframework.web.client.DefaultRestClient$DefaultResponseSpec.applyStatusHandlers(DefaultRestClient.java:698)
INFO 2024-08-15T14:13:36.797858041Z at org.springframework.web.client.DefaultRestClient.readWithMessageConverters(DefaultRestClient.java:200)
INFO 2024-08-15T14:13:36.797864092Z at org.springframework.web.client.DefaultRestClient$DefaultResponseSpec.readBody(DefaultRestClient.java:685)
INFO 2024-08-15T14:13:36.797870314Z at org.springframework.web.client.DefaultRestClient$DefaultResponseSpec.body(DefaultRestClient.java:631)
INFO 2024-08-15T14:13:36.797876481Z at com.hedera.mirror.test.e2e.acceptance.client.MirrorNodeClient.lambda$callPostRestEndpoint$4(MirrorNodeClient.java:398)
INFO 2024-08-15T14:13:36.797882766Z at org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:344)
INFO 2024-08-15T14:13:36.797889600Z at org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:217)
INFO 2024-08-15T14:13:36.797895382Z at com.hedera.mirror.test.e2e.acceptance.client.MirrorNodeClient.callPostRestEndpoint(MirrorNodeClient.java:397)
INFO 2024-08-15T14:13:36.797901366Z at com.hedera.mirror.test.e2e.acceptance.client.MirrorNodeClient.contractsCall(MirrorNodeClient.java:271)
INFO 2024-08-15T14:13:36.797907169Z at com.hedera.mirror.test.e2e.acceptance.steps.AbstractEstimateFeature.validateGasEstimation(AbstractEstimateFeature.java:93)
INFO 2024-08-15T14:13:36.797961770Z at com.hedera.mirror.test.e2e.acceptance.steps.AbstractEstimateFeature.validateGasEstimation(AbstractEstimateFeature.java:102)
INFO 2024-08-15T14:13:36.797973942Z at com.hedera.mirror.test.e2e.acceptance.steps.EstimatePrecompileFeature.grantKYCFungibleEstimateGas(EstimatePrecompileFeature.java:756)
INFO 2024-08-15T14:13:36.797980202Z at ✽.I call estimateGas with GrantKYC function for fungible token(classpath:features/contract/estimatePrecompile.feature:82)
web3 server logs for requests which failed with 400 around the time of the acceptance test failure:
2024-08-15T14:13:29.315Z INFO tomcat-handler-283 c.h.m.w.c.LoggingFilter 10.4.0.146 POST /api/v1/contracts/call in 24 ms: 400 - {"block":"288418","data":"35589a130000000000000000000000000000000000000000000000000000000000001ead","estimate":false,"from":null,"gas":72560,"gasPrice":100000000,"to":"0000000000000000000000000000000000001e9f","value":0}
2024-08-15T14:13:33.199Z INFO tomcat-handler-287 c.h.m.w.c.LoggingFilter 10.4.0.146 POST /api/v1/contracts/call in 22 ms: 400 - {"block":"latest","data":"5ac4fef80000000000000000000000000000000000000000000000000000000000001ea00000000000000000000000009566dde4ec138cd7f862be3cb7bc153b257d7ebd000000000000000000000000000000000000000000000000016345785d8a0000","estimate":true,"from":null,"gas":51345,"gasPrice":100000000,"to":"00000
2024-08-15T14:13:36.758Z INFO tomcat-handler-292 c.h.m.w.c.LoggingFilter 10.4.0.146 POST /api/v1/contracts/call in 28 ms: 400 - {"block":"latest","data":"4c09c8040000000000000000000000000000000000000000000000000000000000001ea20000000000000000000000009566dde4ec138cd7f862be3cb7bc153b257d7ebd000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000010000000000
2024-08-15T14:13:36.788Z INFO tomcat-handler-280 c.h.m.w.c.LoggingFilter 10.4.0.146 POST /api/v1/contracts/call in 24 ms: 400 - {"block":"latest","data":"ec4ca6390000000000000000000000000000000000000000000000000000000000001ea00000000000000000000000009566dde4ec138cd7f862be3cb7bc153b257d7ebd","estimate":true,"from":null,"gas":51104,"gasPrice":100000000,"to":"0000000000000000000000000000000000001e9f","value":0}
2024-08-15T14:13:43.042Z INFO tomcat-handler-287 c.h.m.w.c.LoggingFilter 10.4.0.146 POST /api/v1/contracts/call in 9 ms: 400 - {"block":"LATEST","data":"bff9834f0000000000000000000000000000000000000000000000000000000000000000","estimate":false,"from":"0000000000000000000000000000000000001e77","gas":1800000,"gasPrice":100000000,"to":"0000000000000000000000000000000000001e86","value":0}
2024-08-15T14:13:45.106Z INFO tomcat-handler-296 c.h.m.w.c.LoggingFilter 10.4.0.146 POST /api/v1/contracts/call in 21 ms: 400 - {"block":"LATEST","data":"bff9834f0000000000000000000000000000000000000000000000000000000000001eb0","estimate":false,"from":"0000000000000000000000000000000000001e77","gas":1800000,"gasPrice":100000000,"to":"0000000000000000000000000000000000001e86","value":0}
Problem
Getting intermittent failures when running acceptance tests against previewnet. Note previewnet was updated 0.53.0 last week.
Solution
Get consistent results when running acceptance against previewnet
Alternatives
No response