Bug 2025562 - koji-1.27.0-2.fc36 fails to download builds by task ID: double /packages/packages/ in URL
Summary: koji-1.27.0-2.fc36 fails to download builds by task ID: double /packages/pack...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: koji
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mike McLean
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-22 13:54 UTC by Petr Pisar
Modified: 2021-11-23 12:33 UTC (History)
6 users (show)

Fixed In Version: koji-1.27.0-3.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-23 12:33:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2021-11-22 13:54:00 UTC
Fedora CI fails to download packages from Koji <https://gitlab.com/testing-farm/general/-/issues/36>. I can reproduce it locally:

$ rpm -q koji
koji-1.27.0-2.fc36.noarch
[test@fedora-36 tmp]$ koji download-build --debuginfo --task-id --arch noarch --arch x86_64 --arch src 79153156
Downloading: gscan2pdf-2.12.4-1.fc36.src.rpm
2021-11-22 14:51:42,760 [ERROR] koji: HTTPError: 404 Client Error: Not Found for url: https://kojipkgs.fedoraproject.org/packages/packages/gscan2pdf/2.12.4/1.fc36/src/gscan2pdf-2.12.4-1.fc36.src.rpm

This works with koji 1.26.1:

$ rpm -q koji
koji-1.26.1-1.fc34.noarch
petr@dhcp-0-146:/tmp $ koji download-build --debuginfo --task-id --arch noarch --arch x86_64 --arch src 79153156
Downloading: gscan2pdf-2.12.4-1.fc36.src.rpm
[====================================] 100% 515.40 KiB / 515.40 KiB
Downloading: gscan2pdf-2.12.4-1.fc36.noarch.rpm
[====================================] 100% 475.83 KiB / 475.83 KiB
Downloading: gscan2pdf-tests-2.12.4-1.fc36.noarch.rpm
[====================================] 100% 138.95 KiB / 138.95 KiB

Comment 1 Mikolaj Izdebski 2021-11-23 11:07:58 UTC
Proposed fix: https://src.fedoraproject.org/rpms/koji/pull-request/12

Comment 2 Fedora Update System 2021-11-23 12:30:53 UTC
FEDORA-2021-b25427552c has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2021-b25427552c

Comment 3 Fedora Update System 2021-11-23 12:33:21 UTC
FEDORA-2021-b25427552c has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.