Project

General

Profile

Actions

action #88061

open

Fix premature cancel of a job when strange character is encountered

Added by ilausuch about 3 years ago. Updated about 3 years ago.

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

0%

Estimated time:

Description

Problem
When in tests code is introduced a strange character openQA finished incomplete with this message

Result: incomplete finished about 6 hours ago ( 12:54 minutes )
Reason: backend died: No map for 'Ã' at /usr/lib/os-autoinst/consoles/VNC.pm line 741. 

Example:
http://10.161.229.197/tests/173

To test that use this lines. Note that the problem is in -–network-alias where the second dash (the bad) is different to the first one (the good)

podman run -d -e POSTGRES_PASSWORD=openqa -e POSTGRES_USER=openqa -e POSTGRES_DB=openqa -–network-alias=db --name db postgres

In a console podman fails with this error:

Error: unknown shorthand flag: 'â' in -–network-alias=db
Actions #1

Updated by okurz about 3 years ago

  • Category set to Regressions/Crashes
  • Priority changed from Normal to Low
  • Target version set to future

I think this is one case of "good to know but easy to workaround" :) Hence prioritizing accordingly

Actions #2

Updated by livdywan about 3 years ago

okurz wrote:

I think this is one case of "good to know but easy to workaround" :) Hence prioritizing accordingly

Provided you know what it is. The error message is the problem, not the "behavior"

https://github.com/os-autoinst/os-autoinst/pull/1616

Actions #3

Updated by livdywan about 3 years ago

cdywan wrote:

okurz wrote:

I think this is one case of "good to know but easy to workaround" :) Hence prioritizing accordingly

Provided you know what it is. The error message is the problem, not the "behavior"

https://github.com/os-autoinst/os-autoinst/pull/1616

I closed the PR with my very simple attempt at making the error message more helpful. Maybe somebody can think of a more wholesome approach.

Actions

Also available in: Atom PDF