Project

General

Profile

action #88061

Fix premature cancel of a job when strange character is encountered

Added by ilausuch 3 months ago. Updated about 1 month ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Concrete Bugs
Target version:
Start date:
2021-01-20
Due date:
% Done:

0%

Estimated time:
Difficulty:

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

History

#1 Updated by okurz 3 months ago

  • Category set to Concrete Bugs
  • 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

#2 Updated by cdywan 3 months 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

#3 Updated by cdywan about 1 month 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.

Also available in: Atom PDF