Project

General

Profile

Actions

action #178597

closed

Various job pages do not load due JS error

Added by favogt 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2025-03-10
Due date:
% Done:

0%

Estimated time:

Description

I'm trying to review test results for Leap 15.6 Images, but the details pages for most failed jobs do not load:

https://openqa.opensuse.org/tests/4912178
https://openqa.opensuse.org/tests/4912179
https://openqa.opensuse.org/tests/4912180

They only show

Unable to load test modules: TypeError: Cannot read properties of null (reading 'replace')

Acceptance criteria

AC1: JS errors don't prevent details from loading
AC2: It is known why this is starting to happen now

Suggestions

  • Look in assets/javascripts/render.js function renderModuleRow for text_data
  • Mitigate the error by making JS more forgiving if the variable is undef
  • This looks to be specific to 15.6 builds - other failing jobs don't seem to be affected
  • Consider showing a warning if fields are missing OR just use the default text
    for that purpose

Related issues 2 (1 open1 closed)

Related to openQA Project (public) - action #159447: logreport o3: Can't open file ".../libssh-18.txt": No such file or directory at OpenQA/Schema/Result/JobModules.pm line 113 size:MResolvedmkittler2022-12-05

Actions
Copied to openQA Project (public) - action #178855: Handle broken unicode in files from wait_serial resultsNew2025-03-10

Actions
Actions

Also available in: Atom PDF