Project

General

Profile

action #112601

[sle][security][backlog]disable all parted prompts for "parted" in all test modules

Added by rfan1 about 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
-
Start date:
2022-03-29
Due date:
% Done:

100%

Estimated time:
2.00 h
Difficulty:

Description

Description

As Oliver's kindly suggestion, we would suggest in all os-autoinst-distri-opensuse calls, we use "parted -s" to replace "parted" to disables all prompts.
Now, there are few test modules which don't use "-s" option, let me check with the maintainer to seen if it is safe to add this option.

tests/console/copy_iso_to_external_drive.pm:27:    assert_script_run "parted $disk mklabel gpt", 240;
tests/console/copy_iso_to_external_drive.pm:28:    assert_script_run "parted -a opt $disk mkpart primary ext4 0% 50%", 240;
tests/console/validate_lvm.pm:95:                assert_script_run("parted $dev->{name} align-check optimal $i");

Related issues

Copied from openQA Tests - action #112568: [sle][security][backlog]disable all parted prompts in prepare_disksResolved2022-03-29

History

#1 Updated by rfan1 about 2 months ago

  • Copied from action #112568: [sle][security][backlog]disable all parted prompts in prepare_disks added

#3 Updated by rfan1 about 2 months ago

  • Category changed from New test to Enhancement to existing tests
  • Status changed from New to In Progress
  • % Done changed from 0 to 60

#4 Updated by rfan1 about 2 months ago

  • Status changed from In Progress to Feedback
  • % Done changed from 60 to 90

#5 Updated by rfan1 about 1 month ago

  • Status changed from Feedback to Resolved
  • % Done changed from 90 to 100

Also available in: Atom PDF