The CI on https://bodhi.fedoraproject.org/updates/FEDORA-2023-fb26d72107 fails with this:
https://artifacts.dev.testing-farm.io/294d36a3-dbac-4be2-a483-e6e2f4d52658/
TASK [Check if tag repository https://kojipkgs.fedoraproject.org/repos/rawhide/latest/x86_64/ exists] *** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: HTTPSConnection.__init__() got an unexpected keyword argument 'cert_file' fatal: [3.16.143.212]: FAILED! => { "changed": false, "elapsed": 0, "redirected": false, "status": -1, "url": "https://kojipkgs.fedoraproject.org/repos/rawhide/latest/x86_64/" } MSG: Status code was -1 and not [200, 404]: An unknown error occurred: HTTPSConnection.__init__() got an unexpected keyword argument 'cert_file'
This seems Python 3.12 related and I'd like to get it reported and fixed, but I have no idea where is this coming from.
What command is actually executed in here?
Possibly https://github.com/ansible/ansible/issues/80490
This however is fixed in the Fedora's ansible-core package: https://src.fedoraproject.org/rpms/ansible-core/blob/rawhide/f/urls-remove-deprecated-client-key-calls.patch
cc @gotmax23
Is it possible that the Ci runs some older ansible version, but with Python 3.12?
So if I understand things correctly after talking to @gotmax23, this needs to be fixed in all the ansibles we ship, to allow them to manage Fedora 39+ hosts. And we need to figure out where is this ansible on the CI from and fix this there as well.
Looking at https://gitlab.com/testing-farm/gluetool-modules/-/merge_requests/498 my impression is that the CI installs ansible-core from PyPI, hence somehow, the patch needs to be applied manually.
I'll adjust the issue title accordingly.
Here's the patch for 2.14.7: https://src.fedoraproject.org/rpms/ansible-core/blob/1d8e7353e5219607d10e5de40656330b9022d3e1/f/urls-remove-deprecated-client-key-calls.patch
Please apply the patch at the earliest convenience, to fix rawhide CI (bodhi and PRs).
I belive the patch ahs been deployed, despite the silence in this issue. Will confirm soon.
Metadata Update from @churchyard: - Issue status updated to: Closed (was: Open)
We have workarounded it differently for now:
https://gitlab.com/testing-farm/infrastructure/-/merge_requests/226
There is discussion if this is enough for now.
We cannot upgrade to ansible-core > 2.14 because STI breaks with it.
Appologies for not updating the issue.
What with STI breaks? I'm happy to help so you can update to the latest version.
Yeah, curl also works. I thought of it, but didn't want to suggest it, as it's an ansible faux pas :).
@gotmax23 the standard-test-source role was not working at all: https://pagure.io/standard-test-roles/blob/master/f/roles/standard-test-source
standard-test-source
But I am a bit failing now to find all the details.
Once we upgraded, all STI jobs using this role, were passing unexpectedly, the role just passed, but did not do what it should have.
Log in to comment on this ticket.