Project

General

Profile

action #91653

coordination #80142: [saga][epic] Scale out: Redundant/load-balancing deployments of openQA, easy containers, containers on kubernetes

coordination #80150: [epic] Scale out openQA: Easier openQA setup

coordination #90758: [epic] python bindings for openQA

Python tests fail with generic error message regardless of the problem

Added by cdywan 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Concrete Bugs
Target version:
Start date:
2021-04-23
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Motivation

I came up with a fairly simple Python-based test for #91257 which I wanted to run on o3. And I re-ran it a couple times but I get rather opaque errors so debugging why it won't work feels like guess-work.

[2021-04-23T09:31:55.798 CEST] [debug] scheduling login /tests/openQA/login.pm
[2021-04-23T09:31:55.926 CEST] [warn] !!! autotest::loadtest: error on /tests/openQA/search.py: Error -- py_eval raised an exception at /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/Inline/Python.pm line 177.
BEGIN failed--compilation aborted at (eval 130) line 5.

error on /tests/openQA/search.py: Error -- py_eval raised an exception at /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/Inline/Python.pm line 177.
BEGIN failed--compilation aborted at (eval 130) line 5.
Compilation failed in require at /usr/lib/os-autoinst/OpenQA/Isotovideo/Utils.pm line 211.

There's no specific error besides the filename. It could be a problem with the runtime or some issue with the test code, I wouldn't know.

Acceptance criteria

  • AC1: Specific Python error message can be seen in autoinst-log.txt

Suggestions

  • Investigate missing error output in log files
  • De-duplicate redundant messages

History

#1 Updated by okurz 3 months ago

  • Tracker changed from coordination to action

#2 Updated by okurz 3 months ago

  • Description updated (diff)

#3 Updated by okurz 3 months ago

  • Target version set to future

Also available in: Atom PDF