action #28988

[sle][functional][u] modify or drop scripted_run_slow function since it makes test module not fail on error

Added by Anonymous about 2 years ago. Updated about 1 year ago.

Status:NewStart date:06/12/2017
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Enhancement to existing tests
Target version:QA - future
Difficulty:
Duration:

Description

As observed from a test module zypper_lr_validation for SLE15 that although there were errors in the result from the command, the test module didn't register or show as failed. This may lead to the fact that we overlook serious issues. And the reason why it happened was that the command run_scripted_command_slow($cmd, slow_type => 2); didn't throw exception as one had expected, since it only calls type_string_very_slow and wait_serial but not assert_script_run.

acceptance criteria

  • AC1: Modify (or drop) run_scripted_command_slow function so that a test module dies if the command didn't return zero.

tasks

  • Modify or drop run_scripted_command_slow function
  • Make sure the modules that called run_scripted_command_slow function still work afterwards

Related issues

Related to openQA Tests - action #25450: [sle][functional][medium] test fails in zypper_lr_validate Resolved 20/09/2017 17/01/2018

History

#1 Updated by Anonymous about 2 years ago

  • Related to action #25450: [sle][functional][medium] test fails in zypper_lr_validate added

#2 Updated by Anonymous about 2 years ago

  • Description updated (diff)

#3 Updated by okurz about 2 years ago

  • Project changed from SUSE QA tests to openQA Tests
  • Category set to Enhancement to existing tests
  • Target version set to Milestone 14

#4 Updated by okurz about 2 years ago

  • Due date set to 27/03/2018
  • Target version changed from Milestone 14 to Milestone 15

#5 Updated by okurz almost 2 years ago

  • Due date deleted (27/03/2018)
  • Target version changed from Milestone 15 to Milestone 17

sprint13 too full, just as well as M15 and M16

#6 Updated by okurz over 1 year ago

  • Subject changed from [sle][functional]modify or drop scripted_run_slow function since it makes test module not fail on error to [sle][functional] modify or drop scripted_run_slow function since it makes test module not fail on error
  • Target version changed from Milestone 17 to Milestone 21+

#7 Updated by okurz over 1 year ago

  • Target version changed from Milestone 21+ to Milestone 21+

#8 Updated by okurz over 1 year ago

  • Subject changed from [sle][functional] modify or drop scripted_run_slow function since it makes test module not fail on error to [sle][functional][u] modify or drop scripted_run_slow function since it makes test module not fail on error

#9 Updated by okurz about 1 year ago

  • Target version changed from Milestone 21+ to future

Also available in: Atom PDF