Recurring issue with E2E tests #6463
Labels
area/testing
Issues or PRs related to testing, Quality Assurance or Quality Engineering
kind/bug
Categorizes issue or PR as related to a bug.
Milestone
/kind bug
/area testing
I noticed repeating failures on the end-to-end tests.
See https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/redhat-developer_odo/6385/pull-ci-redhat-developer-odo-main-v4.11-integration-e2e/1610592571338264576 for an example, but the pattern seems very similar for each failure.
After a very first analysis of the logs, I think the issue is due to some kind of race condition:
odo dev --random-ports
=> a new random port forwarding is createdodo dev
is restarting it (this operation might take some time), the test sends an HTTP request to the port created in 1)odo dev
fails to connect to the remote application port, and automatically restarts the port forwarding.odo dev
gets a new random port (because of--random-ports
)odo dev
is no longer listening on this port.Any logs, error output, etc?
Relevant log lines
The text was updated successfully, but these errors were encountered: