Bug 2097858

Summary: fedpkg: FTBFS in Fedora Rawhide with bodhi-client 6: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: fedpkgAssignee: Ondřej Nosek <onosek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: aurelien, awilliam, cqi, jkeating, lsedlar, onosek, s, thrnciar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/fedpkg
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-22 11:49:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2016048, 2045102    

Description Miro Hrončok 2022-06-16 18:09:13 UTC
Description of problem:
Package fedpkg fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
1.42-2.fc37

Steps to Reproduce:
koji build --scratch f37 fedpkg-1.42-2.fc37.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/fedpkg

This has started to happen with bodhi 6. The tests are riddled with Failed to establish a new connection: [Errno -3] Temporary failure in name resolution


This blocks the Python 3.11 rebuild currently in progress in the f37-python side tag.

We don't want to merge the side tag to rawhide without working fedpkg, so packagers using rawhide can still contribute to Fedora.

The rebuild is almost over, so this is pretty urgent. Let me know if I should temporarily build fedpkg without tests.

Thanks

Comment 1 Adam Williamson 2022-06-17 22:05:00 UTC
The tracebacks are huge, but I believe this is ultimately down to the port to OIDC:

https://github.com/fedora-infra/bodhi/commit/32fa9f4fcd850558b8f9f024989dd151bb068452

we're hitting a network request in the oidc initialization, specifically here:

https://github.com/fedora-infra/bodhi/blob/develop/bodhi-client/bodhi/client/oidcclient.py#L69

I'll poke around and see if it's possible to mock that out and still have things work.

Comment 2 Adam Williamson 2022-06-17 22:08:30 UTC
This is happening on some upstream CI test runs as well:

https://jenkins-fedora-infra.apps.ocp.ci.centos.org/job/fedpkg/label=F33/lastFailedBuild/console

Comment 3 Adam Williamson 2022-06-18 00:32:47 UTC
I did a rebuild on the f37-python target, which will be merged into rawhide soon:
https://koji.fedoraproject.org/koji/taskinfo?taskID=88378058

Comment 4 Miro Hrončok 2022-06-22 11:49:14 UTC
Closing this in bulk as it built with Python 3.11. If this needs to remain open for a followup, feel free to reopen, I won't close in bulk again.