Bug 1226925

Summary: [Build 20240622] openQA test for s390x fails in zypper_ref because FTP can not be handled
Product: [openSUSE] openSUSE Tumbleweed Reporter: Sarah Kriesch <ada.lovelace>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ihno, marcela.maslanova, meissner, pmonrealgonzalez
Version: CurrentFlags: ma: needinfo? (pmonrealgonzalez)
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://openqa.opensuse.org/tests/4295522/modules/zypper_ref/steps/62
Whiteboard:
Found By: openQA Services Priority:
Business Priority: Blocker: Yes
Marketing QA Status: --- IT Deployment: ---

Description Sarah Kriesch 2024-06-24 18:36:32 UTC
## Observation

The test fails after executing 'zypper -n ref' with the following error message:
Related zypper logs:
2024-06-24 09:30:19 <5> o3zvm002(2153) [zypp-core] Exception.cc(log):202 MediaCurl.cc(checkProtocol):421 THROW:    Unsupported protocol 'ftp': ftp://10.150.1.11/Tumbleweed-oss-s390x-Snapshot20240622
2024-06-24 09:30:19 <5> o3zvm002(2153) [zypp-core] Exception.cc(log):202 MediaHandler.cc(attach):652 RETHROW:  Unsupported protocol 'ftp': ftp://10.150.1.11/Tumbleweed-oss-s390x-Snapshot20240622
2024-06-24 09:30:19 <5> o3zvm002(2153) [zypp-core] Exception.cc(log):202 mediafacade.cc(attachMedia):187 CAUGHT:   Unsupported protocol 'ftp': ftp://10.150.1.11/Tumbleweed-oss-s390x-Snapshot20240622
2024-06-24 09:30:19 <5> o3zvm002(2153) [zypp-core] Exception.cc(log):202 RepoManager.cc(checkIfToRefreshMetadata):309 RETHROW:  Unsupported protocol 'ftp': ftp://10.150.1.11/Tumbleweed-oss-s390x-Snapshot20240622
2024-06-24 09:30:19 <5> o3zvm002(2153) [zypp-core] Exception.cc(log):202 repos.cc(refresh_raw_metadata):273 CAUGHT:   Unsupported protocol 'ftp': ftp://10.150.1.11/Tumbleweed-oss-s390x-Snapshot20240622
2024-06-24 09:30:19 <5> o3zvm002(2153) [zypp-core] Exception.cc(log):202 repos.cc(refresh_raw_metadata):276 RETHROW:  Unsupported protocol 'ftp': ftp://10.150.1.11/Tumbleweed-oss-s390x-Snapshot20240622
2024-06-24 09:30:19 <5> o3zvm002(2153) [zypp-core] Exception.cc(log):202 repos.cc(refresh_raw_metadata):340 CAUGHT:   Unsupported protocol 'ftp': ftp://10.150.1.11/Tumbleweed-oss-s390x-Snapshot20240622 at opensuse/lib/utils.pm line 692.

openQA test in scenario opensuse-Tumbleweed-DVD-s390x-textmode@s390x-zVM-vswitch-l2 fails in
[zypper_ref](https://openqa.opensuse.org/tests/4295522/modules/zypper_ref/steps/62)

## Test suite description
Installation in textmode and selecting the textmode "desktop" during installation.


## Reproducible

Fails since (at least) Build [20240622](https://openqa.opensuse.org/tests/4292713)


## Expected result

FTP should be a supported protocol.
Last good: [20240617](https://openqa.opensuse.org/tests/4286182) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=s390x&distri=opensuse&flavor=DVD&machine=s390x-zVM-vswitch-l2&test=textmode&version=Tumbleweed)
Comment 1 Michael Andres 2024-06-25 08:55:22 UTC
>  curl_info = curl_version_info(CURLVERSION_NOW);
>  if (curl_info->protocols)

It looks like curl_info->protocols does not mention "ftp". 
So we have a libcurl without ftp support on s390?
Comment 2 Sarah Kriesch 2024-06-25 18:20:29 UTC
The curl package was on failed because of a timeout. It is on succeeded  again. I will check in the next Tumbleweed build, whether it has fixed the problem.
Comment 3 Sarah Kriesch 2024-06-27 12:11:58 UTC
It seems, that the bug is fixed now. Rebuilding was the solution.