action #45440
closedzypper_call should support new zypper search with interactive extended search
0%
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.
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
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
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?
Updated by coolo over 5 years ago
well, it would help for once if your test actually used zypper_call
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.