Project

General

Profile

Actions

action #64361

closed

load_templates or something else creates invalid test suites

Added by dancermak about 4 years ago. Updated about 4 years ago.

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

0%

Estimated time:

Description

I have setup a new openQA test instance on a Leap 15.1 VM to try and reproduce some test failures on o3. However, during the setup, I found that (probably) the load_templates script produced odd test suites. For instance:

EXTRA=ARRAY(0x5618f1aa7aa8)
SYSTEM_ROLE=ARRAY(0x5618f1af9c18)

for MicroOS-admin instead of the expected:

EXTRA=FEATURES
SYSTEM_ROLE=admin

as it shows up on o3.

This appears to affect all settings of every test suite that was added. The variable names are correct, as are the test names and the descriptions, just the values are wrong.

For reference, I have populated the settings as follows:

/usr/share/openqa/script/fetchneedles
/var/lib/openqa/share/tests/opensuse/products/opensuse/templates --host openqa.opensuse.org --apikey $APIKEY --apisecret $APISECRET
/usr/share/openqa/script/dump_templates --host openqa.opensuse.org > templates.json
/usr/share/openqa/script/load_templates --host localhost --update templates.json
Actions

Also available in: Atom PDF