action #137006
closedMaintenance bot re-schedules incident each time it runs job "schedule incident"
0%
Description
There is incident 29529 fo SLE 12-SP5, which is scheduled each time when bot run its job for scheduling.
We can see it in job logs:
https://gitlab.suse.de/qa-maintenance/bot-ng/-/jobs/1857242
2023-09-26 04:16:20 INFO openqa-cli api --host https://openqa.suse.de -X post isos DISTRI=sle VERSION=12-SP5 ARCH=x86_64 FLAVOR=Server-DVD-HPC-Incidents _ONLY_OBSOLETE_SAME_BUILD=1 _OBSOLETE=1 INCIDENT_ID=29529 __CI_JOB_URL=https://gitlab.suse.de/qa-maintenance/bot-ng/-/jobs/1857242 BUILD=:29529:pdsh RRID=SUSE:Maintenance:29529:307637 REPOHASH=1695020026 HPCM_TEST_ISSUES=29529 INCIDENT_REPO=http://download.suse.de/ibs/SUSE:/Maintenance:/29529/SUSE_Updates_SLE-Module-HPC_12_x86_64 _PRIORITY=60 __SMELT_INCIDENT_URL=https://smelt.suse.de/incident/29529 __DASHBOARD_INCIDENT_URL=http://dashboard.qam.suse.de/incident/29529
2023-09-26 04:16:34 INFO Put to dashboard result 200, database id: 2052736
https://gitlab.suse.de/qa-maintenance/bot-ng/-/jobs/1857323
2023-09-26 05:15:49 INFO openqa-cli api --host https://openqa.suse.de -X post isos DISTRI=sle VERSION=12-SP5 ARCH=x86_64 FLAVOR=Server-DVD-HPC-Incidents _ONLY_OBSOLETE_SAME_BUILD=1 _OBSOLETE=1 INCIDENT_ID=29529 __CI_JOB_URL=https://gitlab.suse.de/qa-maintenance/bot-ng/-/jobs/1857323 BUILD=:29529:pdsh RRID=SUSE:Maintenance:29529:307637 REPOHASH=1695020026 HPCM_TEST_ISSUES=29529 INCIDENT_REPO=http://download.suse.de/ibs/SUSE:/Maintenance:/29529/SUSE_Updates_SLE-Module-HPC_12_x86_64 _PRIORITY=60 __SMELT_INCIDENT_URL=https://smelt.suse.de/incident/29529 __DASHBOARD_INCIDENT_URL=http://dashboard.qam.suse.de/incident/29529
2023-09-26 05:16:03 INFO Put to dashboard result 200, database id: 2052736
Updated by osukup about 1 year ago
this part needs fix: https://github.com/openSUSE/qem-bot/blob/master/openqabot/types/incidents.py#L66-L79
Updated by livdywan about 1 year ago
- Status changed from New to In Progress
- Assignee set to osukup
There's a proposed fix so I assume @osukup is working on that https://github.com/openSUSE/qem-bot/pull/141 (if it turns out he can't we can always unassign ofc)
Updated by livdywan about 1 year ago
https://github.com/openSUSE/qem-bot/pull/142/files Looking to see if we can deduplicate since we have two versions of the same logic in the code
Updated by livdywan about 1 year ago
- Status changed from In Progress to Feedback
- Assignee changed from osukup to livdywan
livdywan wrote in #note-6:
https://github.com/openSUSE/qem-bot/pull/142/files Looking to see if we can deduplicate since we have two versions of the same logic in the code
Managed to write unit tests that are able to check the "unversioned" case, and got the changes merged. Fingers crossed!
Updated by pcervinka about 1 year ago
Looks fine for now, job group is not re-scheduled anymore https://openqa.suse.de/tests/overview?distri=sle&version=12-SP5&build=%3A29529%3Apdsh&groupid=283.
Updated by okurz about 1 year ago
- Category set to Bugs in existing tests
- Status changed from Feedback to Resolved
- Target version set to Ready
https://github.com/openSUSE/qem-bot/pull/142 merged. Things look good. As there are no "steps to reproduce" or "acceptance criteria" in the ticket and based on a statement in Slack from pcervinka earlier today that the issue is fixed I assume that's all that's needed