Open ewf-devops opened 3 years ago
Original comment by Mahesh Kumar (Bitbucket: maheshrns, ).
Hi All,
I’m facing this issue continuously, PFB the error snippet, kindly help
> Task :integrationTest FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':integrationTest'.
There were failing tests. See the report at: file:///Users/mahesh.kumar/ocn/ocn-node/build/reports/tests/integrationTest/index.html
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
BUILD FAILED in 3s
10 actionable tasks: 1 executed, 9 up-to-date
Also experienced in GH Actions: https://github.com/energywebfoundation/ocn-node/runs/6811686079?check_suite_focus=true
Fails regularly on the HubClientInfoIntegrationTest > hubClientInfo_clientInfoUpdatedByRequest()
test.
Original report by John Henderson (Bitbucket: [John Henderson](https://bitbucket.org/John Henderson), GitHub: jrhender).
Develop, seen on several branches
Bitbucket pipelines intermittently fail on HubClientInfo integration tests
HubClientInfo integration tests should pass or fail reliably when run during Bitbucket pipelines
Example failures:
https://bitbucket.org/shareandcharge/ocn-node/addon/pipelines/home#!/results/269/steps/{774cc31b-01ef-4c4b-ae09-c4968f68e39e}/test-report
https://bitbucket.org/shareandcharge/ocn-node/addon/pipelines/home#!/results/271/steps/{f70473e6-ad8d-4904-a856-7eafee5a40c5}/test-report
https://bitbucket.org/shareandcharge/ocn-node/addon/pipelines/home#!/results/{aedd6b00-8146-434f-acbf-e556175850c1}/steps/{bfc0db43-ade7-429a-84b9-c89a2f912cfe}/test-report
Issue may be due to timing/racing in HubClientInfo tests. Ideally, the approach of the tests could be modified to eliminate the need for timing.