-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
packit/packit
#2704Labels
area/fedoraRelated to Fedora ecosystemRelated to Fedora ecosystemarea/user-experienceRelated to the UXRelated to the UXcomplexity/single-taskRegular task; should be done within daysRegular task; should be done within daysgain/lowDoesn't bring much value to usersDoesn't bring much value to usersimpact/lowAffects only few of the usersAffects only few of the users
Description
It could happen that a latest stable build does not exist for a package when trying to create a bodhi update from side tags. In this case, it was the packit package for the stable tag epel10.3-testing-candidate.
The update shouldn't stop with an error; instead, it should just log it as a warning, since the build can still be found in the side tag where we want the update to happen.
Sentry Issue: PCKT-002-PACKIT-SERVICE-B6F
TypeError: 'NoneType' object is not subscriptable
(7 additional frame(s) were not displayed)
...
File "packit_service/worker/handlers/bodhi.py", line 268, in _get_or_create_bodhi_update_group_model
str(b) for b in sidetag.get_builds_suitable_for_update(dependencies)
File "packit_service/worker/helpers/sidetag.py", line 49, in get_builds_suitable_for_update
latest_stable_nvr = self.koji_helper.get_latest_stable_nvr(
File "packit/utils/koji_helper.py", line 220, in get_latest_stable_nvr
build = self.get_latest_stable_build(
File "packit/utils/koji_helper.py", line 196, in get_latest_stable_build
return max(
File "packit/utils/koji_helper.py", line 198, in <lambda>
key=lambda b: NEVR.from_string(b["nvr"]),
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/fedoraRelated to Fedora ecosystemRelated to Fedora ecosystemarea/user-experienceRelated to the UXRelated to the UXcomplexity/single-taskRegular task; should be done within daysRegular task; should be done within daysgain/lowDoesn't bring much value to usersDoesn't bring much value to usersimpact/lowAffects only few of the usersAffects only few of the users