#539 Failure to fetch gating.yaml
Closed: Fixed by gnaponie. Opened by lholecek.

Update [1] should contain result for "fedora-ci.koji-build.tier0.functional" test case. But for some it's missing (maybe because the latest configuration changes to enable side-tags).

Greenwave should fetch "gating.yaml" from [2] (there is one applicable policy with RemoteRule in the original decision request).

Following command should not contain unsatisfied requirements of type "missing-gating-yaml".

http 'https://greenwave-web-greenwave.app.os.stg.fedoraproject.org/api/v1.0/decision' <<< '{"product_version":"fedora-32","subject":[{"item":"fedora-gather-easyfix-0.2.1-101.fc32","type":"koji_build"},{"item":"FEDORA-2020-a1cb0a97cc","type":"bodhi_update"}],"verbose":true,"rules":[{"type": "RemoteRule", "required": true}]}'

[1] https://bodhi.stg.fedoraproject.org/updates/FEDORA-2020-a1cb0a97cc
[2] https://src.stg.fedoraproject.org/rpms/fedora-gather-easyfix/raw/48ae58b9b0b0954ef451976a2406e2a9bd6d090e/f/gating.yaml


We should fix this before upcoming Greenwave release if it worked in last released version.

cc @vmaljulin @pingou

Note that your command returns something valid: "summary": "2 of 2 required tests failed", but it's different from the command that bodhi runs:

http 'https://greenwave-web-greenwave.app.os.stg.fedoraproject.org/api/v1.0/decision' <<< '{"product_version":"fedora-32","decision_context":"bodhi_update_push_stable","subject":[{"item":"fedora-gather-easyfix-0.2.1-101.fc32","type":"koji_build"},{"item":"FEDORA-2020-a1cb0a97cc","type":"bodhi_update"}],"verbose":true}'

which itself returns something we do not want: "summary": "no tests are required",

I believe this might solve it: https://pagure.io/greenwave/pull-request/542#

It seems like the issue was solved. Can we mark this as resolved?

Metadata Update from @gnaponie:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

@gnaponie Thanks for the help!

Metadata