action #75214
openqa-review fails to post reminder comments on bugzilla, errors in log "Encountered error trying to post a reminder comment on issue"
Start date:
2020-10-23
Due date:
% Done:
0%
Estimated time:
Difficulty:
Description
Observation¶
from https://gitlab.suse.de/openqa/openqa-review/-/jobs/275810/raw
++ /usr/bin/openqa-review --host https://openqa.suse.de -n -r -T --query-issue-status --no-empty-sections --include-softfails --running-threshold=2 --exclude-job-groups '^(Released|Development|old)' --reminder-comment-on-issues --save --save-dir /tmp/tmp.pZbTFYl7W0 ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ERROR:openqa_review.openqa_review:Encountered error trying to post a reminder comment on issue '* [jeos-base+phub_hyperv@svirt-hyperv-uefi](https://openqa.suse.de/tests/4846363 "Failed modules: firstrun"), [jeos-filesystem_hyperv@svirt-hyperv-uefi](https://openqa.suse.de/tests/4846366 "Failed modules: bootloader_uefi") -> [bsc#1176134](https://bugzilla.suse.com/show_bug.cgi?id=1176134 "[Build 20.3] JeOS images 15sp3 do not boot in uefi mode") (Ticket status: <span style="color: red;">VERIFIED (FIXED)</span>, prio/severity: P2/Normal, assignee: ms@suse.com) ': 500 Server Error: Internal Server Error for url: https://apibugzilla.suse.com/jsonrpc.cgi. Skipping.
Steps to reproduce¶
- See the instructions called in the gitlab CI definitions in https://gitlab.suse.de/openqa/openqa-review/-/blob/master/.gitlab-ci.yml#L44
Be aware that the gitlab CI pipeline uses a dedicated user account as visible in https://gitlab.suse.de/openqa/openqa-review/-/blob/master/.gitlab-ci.yml#L9 and https://gitlab.suse.de/openqa/openqa-review/-/settings/ci_cd (see "Variables")
Problem¶
Posting reminder comments from account "okurz" works. This is what we use so far on lord.arch.suse.de. Also it worked to post a reminder comment manually in https://bugzilla.suse.com/show_bug.cgi?id=1005824#c10 but so far posting from gitlab CI did not work
Suggestions¶
- Try again manually with the credentials of the bot account
- Try to read/post bugs over API as openqa-review, e.g. in test bug https://bugzilla.suse.com/show_bug.cgi?id=1005824
- Crosscheck on https://bugzilla.suse.com/buglist.cgi?quicksearch=commenter%3Aopenqa-review if comments are posted correctly
Further details¶
Initially reported in #52655#note-10