Project

General

Profile

Actions

action #136151

closed

qem-bot unit testing broken with openqa-client==4.2.2

Added by mpagot 8 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2023-09-20
Due date:
% Done:

0%

Estimated time:
Tags:

Description

Unit testing, at least as executed in the github action at each PR, are broken.

The workflow is configured to install all the Python dependency from https://github.com/openSUSE/qem-bot/blob/master/requirements-dev.txt that is designed not to have explicit fixed version for each dependency.

The unit test error is like https://github.com/openSUSE/qem-bot/actions/runs/6250035145/job/16968000626#step:5:332

         except Exception as e:
>           (method, url, status_code) = e.args
E           ValueError: too many values to unpack (expected 3)

It is from https://github.com/openSUSE/qem-bot/blob/83c708b55b200f54aae49ab26afe37cbaa652b2a/openqabot/openqa.py#L87

Error is present with openqa-client==4.2.2 and not present with openqa-client==4.2.1

It could be related to https://github.com/os-autoinst/openQA-python-client/pull/35 for https://progress.opensuse.org/issues/120939

Proof for that is https://github.com/openSUSE/qem-bot/pull/136 and passing check in it (PR is only to proof the issue and not a solution for that)

Actions

Also available in: Atom PDF