Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add retries to move cv call in test. #1833

Merged
merged 3 commits into from
Aug 8, 2023

Conversation

jctanner
Copy link
Collaborator

@jctanner jctanner commented Aug 7, 2023

The mock insights proxy occasionally has trouble reading/writing to the nginx service and results in a broken pipe error. This PR attempts to retry 2 problematic calls that make tests regularly fail in github actions.

The failures can be reproduced locally by starting up the oci insights profile and running test_move_cv in a loop. It seems to happen less often on my local system than it does on github, but I'm chalking that up to resource constraints in the action workers.

No-Issue

Signed-off-by: James Tanner <tanner.jc@gmail.com>
No-Issue

Signed-off-by: James Tanner <tanner.jc@gmail.com>
No-Issue

Signed-off-by: James Tanner <tanner.jc@gmail.com>
@jctanner
Copy link
Collaborator Author

jctanner commented Aug 8, 2023

ci-insights-proxy-1         | Proxying request to: /api/automation-hub/pulp/api/v3/repositories/ansible/ansible/
ci-insights-proxy-1         | ------------- ERROR ----------------
ci-insights-proxy-1         | Post "http://pulp:55001/api/automation-hub/pulp/api/v3/repositories/ansible/ansible/": readfrom tcp 172.29.0.2:58862->172.29.0.3:55001: write tcp 172.29.0.2:58862->172.29.0.3:55001: write: broken pipe
ci-insights-proxy-1         | ------------ ERROR END -------------
ci-insights-proxy-1         | 
ci-insights-proxy-1         | 

@jctanner jctanner requested review from chr-stian, bmbouter, drodowic and bmclaughlin and removed request for bmbouter August 8, 2023 12:34
@jctanner jctanner merged commit 3779fd0 into ansible:master Aug 8, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants