#2451 koji download-build leaves around empty file when rpm not signed
Closed: Fixed by tkopecek. Opened by dustymabe.

For example:

[fedora@ip-10-0-1-89 ~]$ koji download-build --noprogress --arch=x86_64 --arch=noarch --key=12c944d0 0ad-0.0.23b-15.fc32
Downloading: 0ad-0.0.23b-15.fc32.x86_64.rpm
2020-08-24 20:50:14,203 [ERROR] koji: HTTPError: 404 Client Error: Not Found for url: https://kojipkgs.fedoraproject.org//packages/0ad/0.0.23b/15.fc32/data/signed/12c944d0/x86_64/0ad-0.0.23b-15.fc32
.x86_64.rpm
[fedora@ip-10-0-1-89 ~]$ stat 0ad-0.0.23b-15.fc32.x86_64.rpm
  File: 0ad-0.0.23b-15.fc32.x86_64.rpm
  Size: 0               Blocks: 0          IO Block: 4096   regular empty file
Device: ca01h/51713d    Inode: 568         Links: 1
Access: (0664/-rw-rw-r--)  Uid: ( 1000/  fedora)   Gid: ( 1000/  fedora)
Context: unconfined_u:object_r:user_home_t:s0
Access: 2020-08-24 20:50:14.166024343 +0000
Modify: 2020-08-24 20:50:14.166024343 +0000
Change: 2020-08-24 20:50:14.166024343 +0000
 Birth: -

The 0ad-0.0.23b-15.fc32.x86_64.rpm should get unlinked.


Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.23
- Issue tagged with: bug

PR #2461

Thanks so much!

Metadata Update from @tkopecek:
- Issue tagged with: testing-ready

Metadata Update from @jcupova:
- Issue tagged with: testing-done

Commit 20ada324 fixes this issue

Commit dbd0c9ac fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/2451

Please continue any further discussion there.

Metadata
Related Pull Requests