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

release-engineering / greenwave / 7166831997 / 1
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 11 Dec 2023 11:36AM UTC
Files 28
Run time 1s
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.1

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 %.

1790 of 2044 relevant lines covered (87.57%)

0.88 hits per line

Source Files on job python- - 7166831997.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 7166831997
  • 7fbc8b41 on github
  • Prev Job for on master (#7085225536.1)
  • Next Job for on master (#7386426146.1)
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