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

Provisioning of environments for system testing is failing due to requirements #5471

Closed
juliamagan opened this issue Jun 7, 2024 · 2 comments · Fixed by #5476
Closed

Provisioning of environments for system testing is failing due to requirements #5471

juliamagan opened this issue Jun 7, 2024 · 2 comments · Fixed by #5476
Assignees
Labels

Comments

@juliamagan
Copy link
Member

Description

After running the system tests for 4.8.0 RC 4, we have seen that when provisioning the environments we get the following error:

$ ansible-playbook -i inventory.yml playbook.yml --extra-vars='{"package_repository":"packages-dev", "repository": "pre-release", "package_version": "4.8.0", "package_revision": "1", "wazuh_qa_branch": "v4.8.0-rc4"}'
[DEPRECATION WARNING]: DEFAULT_GATHER_TIMEOUT option, the module_defaults keyword is a more generic version and can apply to all calls to the 
M(ansible.builtin.gather_facts) or M(ansible.builtin.setup) actions, use module_defaults instead. This feature will be removed from ansible-core in version 2.18. 
Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

PLAY [Create our container (Master)] **********************************************************************************************************************************

TASK [Gathering Facts] ************************************************************************************************************************************************
ok: [localhost]

TASK [Create a network] ***********************************************************************************************************************************************
fatal: [localhost]: FAILED! => changed=false 
  msg: 'Error connecting: Error while fetching server API version: Not supported URL scheme http+docker'

PLAY RECAP ************************************************************************************************************************************************************
localhost                  : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   

This is due to a problem with the latest version of requests, 2.32.2. Downgrading the requests version, e.g. to 2.27.1, will solve this problem.

Right now, the requirements always install the latest version:

requests>=2.23.0

We need to update the requirements to prevent it from installing this version and ensure that the installed one is stable.

@juliamagan juliamagan self-assigned this Jun 7, 2024
@juliamagan
Copy link
Member Author

Change applied, waiting for Jenkins to be less saturated to launch the integration tests and confirm that the change of dependencies does not affect.

@juliamagan juliamagan linked a pull request Jun 10, 2024 that will close this issue
@santipadilla
Copy link
Member

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants