Project

General

Profile

Actions

action #114829

closed

o3 logreport: malformed JSON string - size:S

Added by tinita over 1 year ago. Updated over 1 year ago.

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

0%

Estimated time:

Description

We got an email from logwarn:

[2022-07-29T12:24:16.565985Z] [error] [nitH8A2-IqxX] malformed JSON string, neither tag, array, object,
number, string or atom, at character offset 0 (before "(end of string)") at
/usr/lib/perl5/vendor_perl/5.26.1/Mojo/JSON.pm line 31.

Looking into the log reveals that this url is the culprit:

curl https://openqa.opensuse.org/tests/2485890/investigation_ajax

There's no vars.json for that test, and the investigation method does not handle this gracefully.

Acceptance Criteria:

AC1: Clicking on investigation tab does not result in a Server error when vars.json is missing

Actions #1

Updated by tinita over 1 year ago

  • Description updated (diff)
Actions #2

Updated by tinita over 1 year ago

  • Status changed from New to In Progress
  • Assignee set to tinita
  • Target version set to Ready
Actions #3

Updated by tinita over 1 year ago

  • Subject changed from o3 logreport: malformed JSON string to o3 logreport: malformed JSON string - size:S
  • Status changed from In Progress to Feedback

https://github.com/os-autoinst/openQA/pull/4768 - Avoid server error if vars.json is missing

Actions #4

Updated by tinita over 1 year ago

  • Status changed from Feedback to Resolved

PR merged

Actions

Also available in: Atom PDF