Project

General

Profile

Actions

action #45440

closed

zypper_call should support new zypper search with interactive extended search

Added by whdu over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-12-20
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

With the "extended search" feature on SLE15 SP1, whether you get the search result or not, 'zypper search' command will always ask if you would like to run 'zypper search-packages' and wait for your answer.

This action caused many of our cases failed, eg: https://openqa.suse.de/tests/2302300#step/w3m_https/7

A zypper option '--non-interactive' could bypass this action, but it would be better if we add it to zypper_call API, so that we do not need to change every cases.


Related issues 1 (0 open1 closed)

Related to openQA Tests - action #44867: [sle][security][sle15sp1] w3m_https test fail due to zypper search fail and Needles outdatedResolvedwhdu2018-12-07

Actions
Actions #1

Updated by whdu over 5 years ago

  • Related to action #44867: [sle][security][sle15sp1] w3m_https test fail due to zypper search fail and Needles outdated added
Actions #2

Updated by coolo over 5 years ago

  • Project changed from openQA Project to openQA Tests

there is already a -n (non-interactive) option in zypper. If using that asks questions - then file a bug. But don't work around it.

But your calls don't include -n, so it's a test problem IMO

Actions #3

Updated by whdu over 5 years ago

coolo wrote:

there is already a -n (non-interactive) option in zypper. If using that asks questions - then file a bug. But don't work around it.

But your calls don't include -n, so it's a test problem IMO

So, do you mean zypper_call API does not provide such argument wrapping, it will only provide by the test command. Right?

Actions #4

Updated by coolo over 5 years ago

well, it would help for once if your test actually used zypper_call

Actions #5

Updated by whdu over 5 years ago

  • Status changed from New to Closed

My mistake, in the w3m case, it use 'script_run' rather than 'zypper_call'
I'm working on changing it with zypper_call.

Actions

Also available in: Atom PDF