loadtest from local CLI works normally, but when run on Github actions self-hosted runner it returns errors.ETIMEDOUT #2760
Replies: 2 comments 2 replies
-
Very odd! |
Beta Was this translation helpful? Give feedback.
-
I experience the same observation for running Artillery with Playwright in Jenkins (via an image from the Dockerfile). A curl is able to reach the target but Artillery times out. |
Beta Was this translation helpful? Give feedback.
-
I'm experiencing an issue with my CI/CD pipeline where my Artillery load tests are failing due to timeouts when run on a self-hosted GitHub Actions runner. The setup works perfectly on my local machine, but not in the CI/CD environment. I'm running the loadtest on my kubernetes deployment. Here are the details:
Workflow Configuration
GitHub Actions Workflow:
Artillery Configuration:
Issue Description
When running the Artillery load tests on my local machine, all requests return a status code 200 as expected. However, when the same tests are executed in the CI/CD pipeline using a self-hosted GitHub Actions runner, I encounter numerous ETIMEDOUT errors.
Despite the self-hosted runner being on the same network as the target server (a Linux VM), all virtual users (VUs) fail with timeouts. Notably, running curl http://192.168.144.10:8080/api/posts from the self-hosted runner returns the expected data, indicating that the target server is accessible.
In order to connect to the VM one does need to connect to a VPN, but the self-hosted VM is already in the same network. So if running it on my pc works, I don't see why running it in the VM wouldn't
Beta Was this translation helpful? Give feedback.
All reactions