Project

General

Profile

Actions

action #54347

closed

[tools] Wrong message on serial missmatch

Added by dheidler almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
-
Start date:
2019-07-17
Due date:
% Done:

0%

Estimated time:

Description

This line of code in https://openqa.opensuse.org/tests/984585/modules/ntp/steps/1/src

validate_script_output 'date', sub { not m/2018/ };

... creates the following error text when not matching:

wait_serial expected: Tue Jul 3 10:45:58 EDT 2018

Result:

Tue Jul 3 10:45:58 EDT 2018

The error msg suggests that "Tue Jul 3 10:45:58 EDT 2018" was the expected text even though the actual regex was not m/2018/.

Related test: https://openqa.opensuse.org/tests/984585/modules/ntp/steps/31


Related issues 1 (0 open1 closed)

Related to openQA Project - action #54548: Use of `record_serialresult` in `validate_script_output` is very confusingResolvedtinita2019-07-23

Actions
Actions #2

Updated by okurz over 4 years ago

  • Related to action #54548: Use of `record_serialresult` in `validate_script_output` is very confusing added
Actions #3

Updated by okurz over 4 years ago

  • Status changed from New to Blocked
  • Assignee set to okurz

#54548 first

Actions #4

Updated by okurz over 4 years ago

  • Status changed from Blocked to Resolved

This should now be covered by https://github.com/os-autoinst/os-autoinst/pull/1199 as well

Actions

Also available in: Atom PDF