Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mock -r fedora-eln-x86_64 --init fails #28

Closed
fweimer-rh opened this issue Feb 19, 2021 · 12 comments
Closed

mock -r fedora-eln-x86_64 --init fails #28

fweimer-rh opened this issue Feb 19, 2021 · 12 comments
Labels
bug Something isn't working

Comments

@fweimer-rh
Copy link

There seems to be a key mismatch:

warning: /var/lib/mock/fedora-eln-x86_64/root/var/cache/dnf/eln-78c0f68aeb10b59c/packages/alternatives-1.15-2.eln109.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 45719a39: NOKEY
Fedora - ELN - Developmental packages for the next Ent 128 kB/s | 1.6 kB     00:00    
Importing GPG key 0x9867C58F:
 Userid     : "Fedora (35) <fedora-35-primary@fedoraproject.org>"
 Fingerprint: 787E A6AE 1147 EEE5 6C40 B30C DB46 3971 9867 C58F
 From       : /usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-rawhide-primary
Key imported successfully
Import of key(s) didn't help, wrong key(s)?
Public key for alternatives-1.15-2.eln109.x86_64.rpm is not installed. Failing package is: alternatives-1.15-2.eln109.x86_64
 GPG Keys are configured as: file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-rawhide-primary

Seen with:

mock-2.9-1.fc33.noarch
mock-core-configs-34.1-1.fc33.noarch
distribution-gpg-keys-1.48-1.fc33.noarch

I don't see any relevant packages in updates-testing.

@sgallagher
Copy link
Member

@mohanboddu Can you look into this, please? It looks like more fallout from the F34->F35 signing issue.

@hroncok
Copy link

hroncok commented Feb 20, 2021

See also https://pagure.io/releng/issue/10007 (closed). Was there a successful ELN compose since then?

@bookwar bookwar added the bug Something isn't working label Feb 20, 2021
@mohanboddu
Copy link

@mohanboddu
Copy link

Filed a bz for it - https://bugzilla.redhat.com/show_bug.cgi?id=1931095

@nirik
Copy link

nirik commented Feb 21, 2021

See also https://pagure.io/releng/issue/10007 (closed). Was there a successful ELN compose since then?

Seems not:

lrwxrwxrwx. 1 odcs-server odcs-server 13 Feb 10 16:21 latest-Fedora-ELN -> ../odcs-11423
lrwxrwxrwx. 1 odcs-server odcs-server 13 Feb 10 16:21 Fedora-ELN-Rawhide-20210210.5 -> ../odcs-11423

@xsuchy
Copy link

xsuchy commented Feb 21, 2021

This happens because packages in that repo are signed with fedora-34-primary while mock is configure to use fedora-rawhide-primary which is a symlink pointing to fedora-35-primary. I will try to come with something together with @praiskup tomorrow morning - likely use N and N-1 key in Mock's config.

@praiskup
Copy link

Yes, this deserves work-around in mock-core-configs, rpm-software-management/mock#702

@sgallagher
Copy link
Member

This happens because packages in that repo are signed with fedora-34-primary while mock is configure to use fedora-rawhide-primary which is a symlink pointing to fedora-35-primary. I will try to come with something together with @praiskup tomorrow morning - likely use N and N-1 key in Mock's config.

Well, the packages in ELN are always meant to be signed with the Rawhide key. The glitch here happened that we forgot to run the re-signing at Branch and then we have also had compose failures since we actually did so. It likely wouldn't hurt for mock-core-configs to be over-protective about this, but the bug really is on our end.

@fweimer-rh
Copy link
Author

But is ELN really tracking rawhide at this point. The most recent builds at https://koji.fedoraproject.org/koji/packageinfo?packageID=57 suggest that ELN is following Fedora 34 content.

@sgallagher
Copy link
Member

But is ELN really tracking rawhide at this point. The most recent builds at https://koji.fedoraproject.org/koji/packageinfo?packageID=57 suggest that ELN is following Fedora 34 content.

fedora-ci/eln-build-trigger@e06c43a

Looks like someone forgot to update the trigger until two days ago. It should be properly tracking Rawhide at this point.

@mohanboddu
Copy link

This happens because packages in that repo are signed with fedora-34-primary while mock is configure to use fedora-rawhide-primary which is a symlink pointing to fedora-35-primary. I will try to come with something together with @praiskup tomorrow morning - likely use N and N-1 key in Mock's config.

But chkconfig-1.15-2.eln109 is signed with both F34 and F35 key.

@sgallagher
Copy link
Member

This is working these days, so I'm closing this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants