Project

General

Profile

Actions

action #112601

closed

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

Added by rfan1 almost 2 years ago. Updated almost 2 years 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by rfan1 almost 2 years ago

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

Updated by rfan1 almost 2 years ago

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

Updated by rfan1 almost 2 years ago

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

Updated by rfan1 almost 2 years ago

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

Also available in: Atom PDF