Bug 1226925 - [Build 20240622] openQA test for s390x fails in zypper_ref because FTP can not be handled
Summary: [Build 20240622] openQA test for s390x fails in zypper_ref because FTP can no...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL: https://openqa.opensuse.org/tests/429...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-24 18:36 UTC by Sarah Kriesch
Modified: 2024-06-27 12:11 UTC (History)
4 users (show)

See Also:
Found By: openQA
Services Priority:
Business Priority:
Blocker: Yes
Marketing QA Status: ---
IT Deployment: ---
ma: needinfo? (pmonrealgonzalez)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.