Bug 15019 - curl gets a partial file while dnf is downloading package
Summary: curl gets a partial file while dnf is downloading package
Status: RESOLVED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: oeqa/runtime (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 4.2
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2023-01-26 15:30 UTC by Alexandre Belloni
Modified: 2023-02-07 10:13 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Belloni 2023-01-26 15:30:30 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/6452/steps/15/logs/stdio

qemux86-64-x32 alma8-ty-2


AssertionError: 1 != 0 : Log: /home/pokybuild/yocto-worker/qemux86-64-x32/build/build/tmp/work/qemux86_64-poky-linux-gnux32/core-image-sato/1.0-r0/target_logs/dnf.librepo.log
-----------------------
Central error: 2023-01-25T22:10:40+0000 INFO Error during transfer: Curl error (18): Transferred a partial file for http://192.168.7.1:44417/x86_64_x32/busybox-1.35.0-r0.x86_64_x32.rpm [transfer closed with 8263 bytes remaining to read]
***********************
2023-01-25T22:10:40+0000 INFO Downloading: http://192.168.7.1:44417/noarch/repodata/repomd.xml
2023-01-25T22:10:40+0000 INFO Downloading: http://192.168.7.1:44417/noarch/repodata/1cb61ea996355add02b1426ed4c1780ea75ce0c04c5d1107c025c3fbd7d8bcae-primary.xml.gz
2023-01-25T22:10:40+0000 INFO Downloading: http://192.168.7.1:44417/noarch/repodata/95a4415d859d7120efb6b3cf964c07bebbff9a5275ca673e6e74a97bcbfb2a5f-filelists.xml.gz
2023-01-25T22:10:40+0000 INFO Downloading: http://192.168.7.1:44417/x86_64_x32/repodata/repomd.xml
2023-01-25T22:10:40+0000 INFO Downloading: http://192.168.7.1:44417/x86_64_x32/repodata/3c7f1dd5d983470e7d8b5cefb778e21413bd031f626eefa4390504cc628cff47-primary.xml.gz
2023-01-25T22:10:40+0000 INFO Downloading: http://192.168.7.1:44417/x86_64_x32/repodata/164336c49af61022a29ead2e1362a0dc6575d4e7f3e80e55cba6624c44dde395-filelists.xml.gz
2023-01-25T22:10:40+0000 INFO Downloading: http://192.168.7.1:44417/x86_64_x32/busybox-1.35.0-r0.x86_64_x32.rpm
2023-01-25T22:10:40+0000 INFO Downloading: http://192.168.7.1:44417/x86_64_x32/busybox-udhcpc-1.35.0-r0.x86_64_x32.rpm
2023-01-25T22:10:40+0000 INFO Downloading: http://192.168.7.1:44417/x86_64_x32/libc6-2.36-r0.x86_64_x32.rpm
2023-01-25T22:10:40+0000 INFO Downloading: http://192.168.7.1:44417/x86_64_x32/update-alternatives-opkg-0.5.0-r0.x86_64_x32.rpm
2023-01-25T22:10:40+0000 INFO Error during transfer: Curl error (18): Transferred a partial file for http://192.168.7.1:44417/x86_64_x32/busybox-1.35.0-r0.x86_64_x32.rpm [transfer closed with 8263 bytes remaining to read]
2023-01-25T22:10:40+0000 INFO Downloading: http://192.168.7.1:44417/x86_64_x32/busybox-1.35.0-r0.x86_64_x32.rpm
2023-01-25T22:10:46+0000 INFO Librepo version: 1.15.1 with CURL_GLOBAL_ACK_EINTR support (libcurl/7.87.0 OpenSSL/3.0.7 zlib/1.2.13 libidn2/2.3.4)
2023-01-25T22:10:47+0000 INFO Librepo version: 1.15.1 with CURL_GLOBAL_ACK_EINTR support (libcurl/7.87.0 OpenSSL/3.0.7 zlib/1.2.13 libidn2/2.3.4)
2023-01-25T22:10:47+0000 INFO Downloading: http://192.168.7.1:44417/x86_64_x32/dnf-test-main-4.14.0-r0.x86_64_x32.rpm
2023-01-25T22:10:47+0000 INFO Librepo version: 1.15.1 with CURL_GLOBAL_ACK_EINTR support (libcurl/7.87.0 OpenSSL/3.0.7 zlib/1.2.13 libidn2/2.3.4)
2023-01-25T22:10:48+0000 INFO Librepo version: 1.15.1 with CURL_GLOBAL_ACK_EINTR support (libcurl/7.87.0 OpenSSL/3.0.7 zlib/1.2.13 libidn2/2.3.4)
Comment 1 Richard Purdie 2023-01-26 15:43:02 UTC
Can we plumb log_message into self.logger somehow in https://git.yoctoproject.org/poky/tree/meta/lib/oeqa/utils/httpserver.py to make sure we get logging on the http server?
Comment 2 Richard Purdie 2023-01-26 15:45:04 UTC
Maybe we should try lighttpd-native?
Comment 3 Alexandre Belloni 2023-01-28 09:28:29 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/61/builds/6578/steps/13/logs/stdio

pkgman-rpm-non-rpm ubuntu1804-ty-3
Comment 4 Alexandre Belloni 2023-01-28 09:35:49 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/6547/steps/14/logs/stdio

qemumips opensuse154-ty-2
Comment 5 Richard Purdie 2023-02-03 17:38:35 UTC
Adding debug didn't help. It is looking like it was a 6.1 kernel issue and updating 6.1.5 -> 6.1.9 resolves it, perhaps an issue in the virtio network driver?
Comment 6 Richard Purdie 2023-02-07 10:13:26 UTC
This seems to have been resolved by the kernel upgrade thankfully.