#47 Update for newer format of bodhi.update.status.testing message
Merged by patrikp. Opened by adamwill.
fedora-ci/ adamwill/monitor-gating no-artifact  into  production

Download 47.patch

In https://github.com/fedora-infra/bodhi/pull/5538 we dropped
most of the artifact dict from these messages, things that are
duplicated with the update dict or not needed. I didn't notice
that this project uses one of the removed keys, so it broke.
This uses an appropriate replacement from the update dict,
which has been present in these messages since
https://github.com/fedora-infra/bodhi/pull/4381 in 2022.

Signed-off-by: Adam Williamson awilliam@redhat.com

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/fa9d6d138d6440f88cbef02f16249ea8

Pull-Request has been merged by patrikp

thanks for merging. can you also merge to 'staging'? the same change exists in staging bodhi.

Sigh, we now get further but filing the waiver still fails because of https://pagure.io/fedora-ci/monitor-gating/issue/46:

18:35:41 - Waiving test results for bodhi update
Command `bodhi updates waive FEDORA-2024-b7350efa98 'This is fine, we are testing the workflow' --debug` return code: `1`
stdout:
-------
b'Waiving unsatisfied requirements: \nKerberos authentication failed (There was an issue while performing Kerberos authentication: 401 Client Error: Unauthorized for url: https://id.fedoraproject.org/login/gssapi/negotiate?ipsilon_transaction_id=9af92adc-295f-409b-ac8d-cebd38dfd8c1). Proceeding with browser-based authentication.\nAuthenticating... Please open your browser to:\nhttps://id.fedoraproject.org/openidc/Authorization?response_type=code&client_id=bodhi-client&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=openid+email+profile+https%3A%2F%2Fid.fedoraproject.org%2Fscope%2Fgroups+https%3A%2F%2Fid.fedoraproject.org%2Fscope%2Fagreements&state=tQTqi71EdacCBSDIZaobLihg04OUP8\nPaste here the code that you got after logging in:\n'

I added some comments in https://pagure.io/fedora-ci/monitor-gating/issue/46 after looking through some of the code. Removing--user and --password seems straight forward but I'm not clear on how bodhi expects it's kerberos information. The code looks like it may be either a configuration file on the host OR it may require a preexisting ticket to forward. I wasn't able to find docs around what was expected but it's highly likely I just missed them. Any pointers would be appreciated :pray:

I don't know all the details on how it all plugs together, but this definitely works now. Are you just asking for information or are you still having trouble using it?

gah, sorry, I am getting confused today - ignore the above, I thought this was a different issue. sorry, I don't know exactly how to fix this.

Metadata