openSUSE / libzypp

ZYpp Package Management library
http://doc.opensuse.org/projects/libzypp/HEAD/
Other
116 stars 82 forks source link

Test suite failures with libzypp 17.31.31 on Fedora Rawhide/F40 #522

Closed Conan-Kudo closed 8 months ago

Conan-Kudo commented 9 months ago

When trying to update to libzypp 17.31.31 to fix the FTBFS with new Boost, I've encountered test suite failures with the new libzypp.

Test output log: libzypp-17.31.31-fc41-checklog.txt

The package sources have been checked into OBS as well: https://build.opensuse.org/package/show/home:Pharaoh_Atem:Zypper_Fedora/libzypp

mlandres commented 9 months ago
unknown location(0): fatal error: in "msa_remote_tests_ftp": zypp::Exception: Failed to start the ftpserver
/builddir/build/BUILD/libzypp-17.31.31/tests/zypp/MediaSetAccess_test.cc(250): last checkpoint
*** 1 failure is detected in the test module "Master Test Suite"

@bzeller would you mind having a look at it.

bzeller commented 9 months ago
unknown location(0): fatal error: in "msa_remote_tests_ftp": zypp::Exception: Failed to start the ftpserver
/builddir/build/BUILD/libzypp-17.31.31/tests/zypp/MediaSetAccess_test.cc(250): last checkpoint
*** 1 failure is detected in the test module "Master Test Suite"

@bzeller would you mind having a look at it.

For those tests vsftpd is required. That would be the first thing to check if that error is shown.

Conan-Kudo commented 9 months ago

vsftpd was found, though. It's at /usr/sbin/vsftpd and it's in the build dependencies.

Conan-Kudo commented 8 months ago

The libzypp package in OBS I linked in the original post fully reproduces the issue.

mlandres commented 8 months ago
[zypp::media] MediaCurl.cc(doGetFileCopyFile):1268 curl error: 1: Received HTTP/0.9 when not allowed, temp file size 0 bytes.
[zypp-core] Exception.cc(log):186 MediaCurl.cc(evaluateCurlCode):963 THROW:    Download (curl) error for 'http://localhost:10001/complexdir/directory.yast':
[zypp-core] Exception.cc(log):186 Error code:  Unsupported protocol
[zypp-core] Exception.cc(log):186 Error message: Received HTTP/0.9 when not allowed

This seems the be the issue.

mlandres commented 8 months ago

@Conan-Kudo It appears to be independent from Boost. SUSE and Fedora use different defaults for the vsftpd's background option. This appears to cause the issues.