Skip to content

Conversation

christophert
Copy link

SUMMARY

ansible-test sanity does not function within a proxy environment. The environment sanitation for follow-on command execution doesn't carry over any proxy environment variables, which causes pip retrieval and venv environment building to fail.

This PR updates the optional environment variables carried over to include any specified proxy vars to the common environment.

Fixes #77304

ISSUE TYPE
  • Bugfix Pull Request

@ansibot ansibot added bug This issue/PR relates to a bug. needs_triage Needs a first human triage before being processed. has_issue labels Oct 25, 2024
@mkrizek mkrizek removed the needs_triage Needs a first human triage before being processed. label Oct 29, 2024
@mkrizek mkrizek requested a review from mattclay October 29, 2024 15:33
@mattclay
Copy link
Member

@christophert Is there a reason why you want to use environment variables instead of pip config to configure a proxy?

@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Nov 5, 2024
@christophert
Copy link
Author

@mattclay The environment variables also apply to the retrieval of the get_pip script prior to pip executing. Using the pip config would only work after obtaining the get_pip script outside of running ansible-test.

@christophert
Copy link
Author

@mattclay Just checking if there's anything else I could do to push this along?

@ansibot ansibot removed the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Jul 8, 2025
@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Jul 23, 2025
@ansibot ansibot removed the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This issue/PR relates to a bug. has_issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot run ansible-test sanity behind a proxy

4 participants