Project

General

Profile

Actions

action #119467

closed

"Internal server error" on opening any job group front page at OSD

Added by tjyrinki_suse about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Observation

Build specific pages etc work, but job group front page like https://openqa.suse.de/group_overview/268 does not.

Acceptance criteria

  • AC1: No obvious related regression on OSD
  • AC2: Test coverage for the branding button code exists for both the job comments as well as job group comments

Files

servererror.png (42 KB) servererror.png tjyrinki_suse, 2022-10-27 05:59

Related issues 1 (0 open1 closed)

Related to openQA Project (public) - action #119473: [openqa][group overview] Group view is not available Rejectedokurz2022-10-27

Actions
Actions #1

Updated by okurz about 2 years ago

  • Category set to Regressions/Crashes
  • Priority changed from Normal to Immediate
  • Target version set to Ready
Actions #2

Updated by okurz about 2 years ago

  • Related to action #119473: [openqa][group overview] Group view is not available added
Actions #3

Updated by livdywan about 2 years ago

I executed a rollback of osd-deployment in GitLab, for now the group display seems to work again (I don't know what caused it at this point)

Actions #4

Updated by tjyrinki_suse about 2 years ago

  • Status changed from New to In Progress

Working now, thank you!

Actions #5

Updated by tjyrinki_suse about 2 years ago

  • Status changed from In Progress to New
Actions #6

Updated by okurz about 2 years ago

I suspect https://github.com/os-autoinst/openQA/pull/4867 is causing an issue as the comment edit window is also used on the group overview page but was only tested on jobs together with branding

Actions #7

Updated by livdywan about 2 years ago

okurz wrote:

I suspect https://github.com/os-autoinst/openQA/pull/4867 is causing an issue as the comment edit window is also used on the group overview page but was only tested on jobs together with branding

Ack, found it in the logs now:

08:16:03 openqa openqa[6916]: [error] [uSiTFOk5fWlH] Global symbol "$job" requires explicit package name (did you forget to declare "my $job"?) at template branding/openqa.suse.de/commenting_tools.html.ep line 1.
08:16:03 openqa openqa[6916]: Context:
08:16:03 openqa openqa[6916]:   1: % if (!$group_comment && !$job->is_ok) {
08:16:03 openqa openqa[6916]:   2:     <a class="help_popover fa fa-unlink" title="Add marker so the specified maintenance incident will be approved despite this job"
08:16:03 openqa openqa[6916]:   3:        role="button" data-template="@review:acceptable_for:incident_<incident_id>:<reason>" onclick="insertTemplate(this)"></a>
08:16:03 openqa openqa[6916]:   4:     <br>
08:16:03 openqa openqa[6916]:   5: % }
Actions #8

Updated by livdywan about 2 years ago

  • Status changed from New to Feedback
  • Assignee set to livdywan
Actions #10

Updated by okurz about 2 years ago

  • Description updated (diff)
  • Status changed from Feedback to Blocked
  • Priority changed from Immediate to Normal

with the revert merged we can reduce the urgency. I suggest we block on #107923 and recheck afterwards.

Actions #11

Updated by okurz about 2 years ago

  • Status changed from Blocked to Resolved

rest is covered in #107923#note-30

Actions

Also available in: Atom PDF