Actions
action #57686
closed[functional][u] Odd number of elements in hash assignment at tests/opensuse/lib/utils.pm line 812. Use of uninitialized value $args{"bugref"} in concatenation (.) or string at t
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 28
Start date:
2019-10-03
Due date:
% Done:
0%
Estimated time:
42.00 h
Difficulty:
Description
Observation¶
in https://openqa.opensuse.org/tests/1047618/file/autoinst-log.txt
[2019-10-03T19:16:36.423 CEST] [debug] /var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/tests/shutdown/shutdown.pm:28 called power_action_utils::power_action
[2019-10-03T19:16:36.423 CEST] [debug] <<< testapi::send_key(key='ctrl-alt-delete', do_wait=0)
Odd number of elements in hash assignment at /var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/lib/utils.pm line 812.
Use of uninitialized value $args{"bugref"} in concatenation (.) or string at /var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/lib/utils.pm line 817.
[2019-10-03T19:16:36.629 CEST] [debug] /var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/tests/shutdown/shutdown.pm:28 called power_action_utils::power_action
the job https://openqa.opensuse.org/tests/1047618 overall is "failed" even though no module failed. I assume the above is the cause of the failure.
Tasks¶
- Make the argument bugref in function assert_screen_with_soft_timeout mandatory, so that the function causes the test to die if missing.
- Fix all occurrences of the call of function X with missing argument key.
- e.g. Dolphin: assert_screen_with_soft_timeout('dolphin_documents_empty', timeout => 90, soft_timeout => 30, 'boo#1112021');
Latest¶
Actions