Project

General

Profile

Actions

action #88053

open

Improve logging in scripts (was: openQA in openQA test fails with cryptic error enumerating jobs)

Added by livdywan almost 4 years ago. Updated almost 4 years ago.

Status:
Workable
Priority:
Low
Assignee:
-
Category:
Regressions/Crashes
Target version:
QA - future
Start date:
2021-01-20
Due date:
% Done:

0%

Estimated time:

Description

start_test appears to fail like so:

Test died: command 'job_id=$(openqa-client --host http://openqa.opensuse.org --json-output jobs get version=Tumbleweed scope=relevant arch=x86_64 build=$last_tw_build flavor=NET latest=1 | jq '.jobs | .[] | select(.test == "minimalx") | .id')' failed at /var/lib/openqa/cache/openqa1-opensuse/tests/openqa//tests/osautoinst/start_test.pm line 22

So wondering what this means, I attempt to reproduce quickly and get a long list of job id's after a considerable delay. So $job_id is not a single id, but why would that fail 🤔

Upon inspection of the screenshots there's a more specific error message:

parse error: Invalid numeric literal at line 1, column 6

I still don't know what that means since the list I saw is of the form 12345 23456 45678. But, this should be visible w/o a screenshot.


Related issues 1 (0 open1 closed)

Related to openQA Project - action #82067: Unable to use openqa-clone-custom-git-refspec - Returns 403 Not authorizedResolvedokurz2021-01-08

Actions
Actions

Also available in: Atom PDF