• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

release-engineering / greenwave / 7166831997
93%

Build:
DEFAULT BRANCH: master
Ran 11 Dec 2023 11:35AM UTC
Jobs 1
Files 28
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Dec 2023 11:34AM UTC coverage: 86.7% (+0.03%) from 86.671%
7166831997

push

github

web-flow
If we can't parse SCM URL from Koji, send an error result (#218) (#220)

If Greenwave can't parse the SCM URL for a Koji build (which can
happen if the build is run from a .src.rpm, which Koji admins
can do), it raises an exception in `_get_sub_policies`, which
ultimately results in the query returning 502. This doesn't give
a great experience in Bodhi - it'll just show no automated test
results and the gating status will be stuck at 'waiting' forever.
Using browser developer tools you can determine that it's getting
a 502 from Greenwave, but you can't tell why (we had to find that
out from greenwave's logs, in the real-world case here).

If we have Greenwave instead handle the exception and send a
response that includes an unsatisfied requirement indicating the
error, that should result in a better experience in Bodhi. The
gating status will be failed, test results will be shown, and the
UI will give at least some indication that there was an error
trying to retrieve remote policies. With developer tools you
should see the exact error in the Greenwave response JSON.

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

609 of 723 branches covered (0.0%)

Branch coverage included in aggregate %.

5 of 5 new or added lines in 2 files covered. (100.0%)

1790 of 2044 relevant lines covered (87.57%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python- - 7166831997.1 11 Dec 2023 11:36AM UTC 0
86.7
Source Files on build 7166831997
Detailed source file information is not available for this build.
  • Back to Repo
  • 7fbc8b41 on github
  • Prev Build on master (#7085225536)
  • Next Build on master (#7386426146)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc