Actions
action #114829
closedo3 logreport: malformed JSON string - size:S
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
Updated by tinita over 2 years ago
- Status changed from New to In Progress
- Assignee set to tinita
- Target version set to Ready
Updated by tinita over 2 years 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