As reported on the devel list the s390x builders don't set proper hostname into the BuildHost tag in the rpms. It's causing failures in the fedora-ci.koji-build.rpminspect.static-analysis tests in bodhi, see here. It can be seen with other builds too.
fedora-ci.koji-build.rpminspect.static-analysis
The examples are - unused for rpms from https://koji.fedoraproject.org/koji/taskinfo?taskID=42249718, was buildvm-s390x-01.s390.fedoraproject.org in fact - newcaprica.bos.redhat.com for rpms from https://koji.fedoraproject.org/koji/taskinfo?taskID=42147548, was buildvm-s390x-20.s390.fedoraproject.org in fact
unused
buildvm-s390x-01.s390.fedoraproject.org
newcaprica.bos.redhat.com
buildvm-s390x-20.s390.fedoraproject.org
Argh.. I think this is done via a reverse DNS lookup in the koji code. We don't control reverse DNS for this space so it is not an easy fix. I will see if we can get this corrected in Red Hat's DNS.
If the address range for the s390x builders is unique, then the internal hostnames are some historical relics, I guess ...
Why is rpm using reverse dns here? Seems pretty odd, it seems like it would be going out of it's way to do so.
CCing the rpm team - @pmatilai @ffesti
Metadata Update from @smooge: - Issue priority set to: Waiting on External (was: Needs Review)
Rpm has "canonicalized" the buildhost by doing gethostname() followed by gethostbyname() from day one. Literally - that code is present in the initial revision (cvs back then) from 1996.
So, not wanting to die on the hill of "lets remove this", I went and added a reverse dns map to our nameservers for these hosts.
However, we need to get RHIT to delegate it to us internally to make that work. So, keeping this to track that.
Ah, no, we don't need to wait. It's working now.
Metadata Update from @kevin: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Thanks!
Taking a random build from today, the result seems OK:
$ wget https://kojipkgs.fedoraproject.org//packages/perl-Alien-Libxml2/0.15/1.fc33/s390x/perl-Alien-Libxml2-0.15-1.fc33.s390x.rpm $ rpm -qpi perl-Alien-Libxml2-0.15-1.fc33.s390x.rpm|grep Host Build Host : buildvm-s390x-18.s390.fedoraproject.org
The association for preservation of strange software artifacts it's appreciation.
Argh, no edits. expresses its appreciation.