We have configured a set of playwright/stencil tests to write results to ReportPortal using the agent-js-playwright and this is working great when trying to execute from our local windows laptops.
However, when we start using in a CI process using Docker to execute (both in Jenkins and debugging locally), we see an intermittent failure to complete steps & tests or tests marked as failed, but we can see in the playwright output that the tests were all completed successfully.
Although the number of times it occurs within a run is small (e.g 1 issue in 77 tests), it is happening quite regularly at a launch level.
- The test that fails itself is not consistent
- We have tried both V1 & V2 endpoints
- We are having to set a proxy to allow the container to contact the RP instance (which is self hosted)
- This happens when both running the container locally and in Jenkins
- We reduced the likelyhood by reducing the number of steps generates BUT we like the verbosity of seeing playwright steps in RP
- We see errors playwright execution generated by the agent-js-playwright
15:25:23 @mytest: URL: http://my.local.reportportal.com:8080/api/v2/myProject/item/ceaae1bf-de48-4fqb-97d1-e2fc5df0c090
15:25:23 @mytests: method: PUT
15:25:23 @mytest: at /home/jenkins/workspace/workspace/node_modules/@reportportal/agent-js-playwright/node_modules/@reportportal/client-javascript/lib/rest.js:56:15
15:25:23 @mytest: at processTicksAndRejections (node:internal/process/task_queues:95:5)
15:25:23 @mytest: Failed to finish nested step. Error: socket hang up
My feeling is that the requested isn't reaching the RP server and the hang up is something within docker but wondered is anyone else experienced this issue and hopefully solved it?
We have configured a set of playwright/stencil tests to write results to ReportPortal using the agent-js-playwright and this is working great when trying to execute from our local windows laptops.
However, when we start using in a CI process using Docker to execute (both in Jenkins and debugging locally), we see an intermittent failure to complete steps & tests or tests marked as failed, but we can see in the playwright output that the tests were all completed successfully.
Although the number of times it occurs within a run is small (e.g 1 issue in 77 tests), it is happening quite regularly at a launch level.
My feeling is that the requested isn't reaching the RP server and the hang up is something within docker but wondered is anyone else experienced this issue and hopefully solved it?