action #95281
closederror on "Next & previous results": ajax error message and no results showing up
Description
Observation¶
From favogt:
I'm getting a 500 on https://openqa.opensuse.org/tests/1831535#next_previous due to [2021-07-09T09:20:25.0092 UTC] [error] [sNVmMoPb-wu6] Can't call method "id" on an undefined value at /usr/share/openqa/script/../lib/OpenQA/WebAPI/Controller/Test.pm line 119.. Known?
Steps to reproduce¶
Go to https://openqa.opensuse.org/tests/1831490#next_previous or any other "next_previous" on o3 at least. Problem is reproducible on osd as well: https://openqa.suse.de/tests/5989050#next_previous
Updated by okurz over 3 years ago
line 119 was recently introduced by https://github.com/os-autoinst/openQA/pull/4014 so I propose a revert for now with
https://github.com/os-autoinst/openQA/pull/4031
Updated by okurz over 3 years ago
- Status changed from New to In Progress
- Assignee set to okurz
can you approve my revert in https://github.com/os-autoinst/openQA/pull/4031 ? I would merge ASAP and manually trigger a deploy to fix the problems on o3+osd
Updated by okurz over 3 years ago
- Related to action #94937: Distinguish comment types on jobs on /tests (maybe optional) size:S added
Updated by okurz over 3 years ago
deployed a revert on both o3 and osd with for i in o3 osd; do ssh $i 'zypper -n in openQA'; done
Updated by okurz over 3 years ago
- Copied to action #95293: Monitoring alerts on errors in logs on o3 (was: followup to: error on "Next & previous results": ajax error message and no results showing up) size:M added
Updated by okurz over 3 years ago
- Status changed from In Progress to Resolved
created a follow-up #95293
Updated by tinita over 3 years ago
The problem was that some bugrefs don't have an entry in the Bugs table. I wasn't aware of that.
I was able to remove the problematic statement as it was not needed anyway, and in the other functions $bug
was already checked first before accessing methods.
I added a bugref without a Bugs database entry now to the tests.