Bug 1687566

Summary: sudo dnf install/makecache takes forever on aarch64
Product: [Fedora] Fedora Reporter: Ludovic Hirlimann [:Paul-muadib] <ludovic>
Component: dnfAssignee: rpm-software-management
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: jmracek, jrohel, mblaha, mhatina, packaging-team-maint, pkratoch, pwhalen, rpm-software-management, vmukhame
Target Milestone: ---Keywords: Reopened, Triaged
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-30 16:13:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 245418    

Description Ludovic Hirlimann [:Paul-muadib] 2019-03-11 18:27:06 UTC
sudo dnf install on a newly updated raspberry pie 3  :

[ludovic@pie3b ~]$ sudo dnf install gcc git python3-fedora
[sudo] password for ludovic: 
Fedora 30 - aarch64   2% [                    ] 2.1 kB/s | 1.2 MB    438:05 ETA



ping google.com over v4 or v6 works properly.

tail /var/dnf.log looks like :
2019-03-11T18:23:54Z DEBUG error: Curl error (28): Timeout was reached for http://mirror.nl.leaseweb.net/fedora/linux/development/30/Everything/aarch64/os/repodata/09519f13546a31e0babef88f3682c79d143cf900b7a2e7fee12ef2883891db56-primary.xml.zck [Resolving timed out after 51315 milliseconds] (http://mirror.nl.leaseweb.net/fedora/linux/development/30/Everything/aarch64/os/repodata/09519f13546a31e0babef88f3682c79d143cf900b7a2e7fee12ef2883891db56-primary.xml.zck).
2019-03-11T18:24:45Z DEBUG error: Curl error (28): Timeout was reached for http://fedora.tu-chemnitz.de/pub/linux/fedora/linux/development/30/Everything/aarch64/os/repodata/d35424e98301caf69928a6b9d5cfe125fd154d1ad51dcb8666e94c34d3418e7f-filelists.xml.zck [Resolving timed out after 51356 milliseconds] (http://fedora.tu-chemnitz.de/pub/linux/fedora/linux/development/30/Everything/aarch64/os/repodata/d35424e98301caf69928a6b9d5cfe125fd154d1ad51dcb8666e94c34d3418e7f-filelists.xml.zck).


-rw-r--r--. 1 root   root            3079477 Mar 11 19:25 dnf.librepo.log
[root@pie3b log]# tail -f dnf.librepo.log
2019-03-11T18:25:36Z DEBUG select_suitable_mirror: Skipping rsync url: rsync://mirror.i3d.net/fedora/linux/development/30/Everything/aarch64/os/
2019-03-11T18:25:36Z DEBUG select_suitable_mirror: Skipping rsync url: rsync://mirrors.netix.net/fedora/linux/development/30/Everything/aarch64/os/
2019-03-11T18:25:36Z DEBUG select_suitable_mirror: Skipping rsync url: rsync://ftp.fi.muni.cz/pub/linux/fedora/linux/development/30/Everything/aarch64/os/
2019-03-11T18:25:36Z DEBUG select_suitable_mirror: Skipping rsync url: rsync://ftp.cc.uoc.gr/fedora/linux/development/30/Everything/aarch64/os/
2019-03-11T18:25:36Z DEBUG select_suitable_mirror: Skipping rsync url: rsync://ftp.lysator.liu.se/pub/fedora/linux/development/30/Everything/aarch64/os/
2019-03-11T18:25:36Z DEBUG select_suitable_mirror: Skipping rsync url: rsync://mirror.vutbr.cz/fedora/development/30/Everything/aarch64/os/
2019-03-11T18:25:36Z DEBUG select_suitable_mirror: Skipping rsync url: rsync://fedora.tu-chemnitz.de/ftp/pub/linux/fedora/linux/development/30/Everything/aarch64/os/
2019-03-11T18:25:36Z DEBUG select_suitable_mirror: Skipping rsync url: rsync://mirror.nl.leaseweb.net/fedora/linux/development/30/Everything/aarch64/os/
2019-03-11T18:25:36Z DEBUG prepare_next_transfer: URL: http://fedora.mirror.root.lu/development/30/Everything/aarch64/os/repodata/09519f13546a31e0babef88f3682c79d143cf900b7a2e7fee12ef2883891db56-primary.xml.zck
2019-03-11T18:25:36Z DEBUG prep_zck_body: Chunks that still need to be downloaded: 25082
2019-03-11T18:26:28Z DEBUG check_transfer_statuses: Transfer finished: repodata/d35424e98301caf69928a6b9d5cfe125fd154d1ad51dcb8666e94c34d3418e7f-filelists.xml.zck (Effective url: http://mirror.nl.leaseweb.net/fedora/linux/development/30/Everything/aarch64/os/repodata/d35424e98301caf69928a6b9d5cfe125fd154d1ad51dcb8666e94c34d3418e7f-filelists.xml.zck)
2019-03-11T18:26:28Z DEBUG check_finished_transfer_status: Serious error - Curl code (28): Timeout was reached for http://mirror.nl.leaseweb.net/fedora/linux/development/30/Everything/aarch64/os/repodata/d35424e98301caf69928a6b9d5cfe125fd154d1ad51dcb8666e94c34d3418e7f-filelists.xml.zck [Resolving timed out after 51405 milliseconds]
2019-03-11T18:26:28Z DEBUG sort_mirrors: Mirror http://mirror.nl.leaseweb.net/fedora/linux/development/30/Everything/aarch64/os/ was moved at the end
2019-03-11T18:26:28Z DEBUG check_transfer_statuses: Error during transfer: Curl error (28): Timeout was reached for http://mirror.nl.leaseweb.net/fedora/linux/development/30/Everything/aarch64/os/repodata/d35424e98301caf69928a6b9d5cfe125fd154d1ad51dcb8666e94c34d3418e7f-filelists.xml.zck [Resolving timed out after 51405 milliseconds]
2019-03-11T18:26:28Z DEBUG check_transfer_statuses: Ignore error - Try another mirror

Comment 1 Ludovic Hirlimann [:Paul-muadib] 2019-03-11 18:27:32 UTC
Could be an infra bug , but ain't sure where to file these.

Comment 2 Ludovic Hirlimann [:Paul-muadib] 2019-03-11 18:49:38 UTC
sudo dnf cached cleaned everything

Comment 3 Ludovic Hirlimann [:Paul-muadib] 2019-03-12 08:11:41 UTC
(In reply to Ludovic Hirlimann [:Paul-muadib] from comment #2)
> sudo dnf cached cleaned everything

Spoke too soon.

[ludovic@pie3b ~]$ sudo dnf makecache
Fedora Modular 30 - aarch64                      37 kB/s | 120 kB     00:03    
Fedora Modular 30 - aarch64 - Updates            88  B/s | 257  B     00:02    
Fedora Modular 30 - aarch64 - Test Updates      570 kB/s | 2.2 MB     00:04    
Fedora 30 - aarch64 - Test Updates              931 kB/s | 2.3 MB     00:02    
Fedora 30 - aarch64 - Updates                   103  B/s | 257  B     00:02    
Fedora 30 - aarch64   1% [                    ] 6.2 kB/s | 984 kB    149:31 ETA

[ludovic@pie3b yum.repos.d]$ ls -ltr
total 36
-rw-r--r--. 1 root root 1364 Feb 20 15:05 fedora-updates-testing.repo
-rw-r--r--. 1 root root 1411 Feb 20 15:05 fedora-updates-testing-modular.repo
-rw-r--r--. 1 root root 1306 Feb 20 15:05 fedora-updates.repo
-rw-r--r--. 1 root root 1441 Feb 20 15:05 fedora-updates-modular.repo
-rw-r--r--. 1 root root 1260 Feb 20 15:05 fedora.repo
-rw-r--r--. 1 root root 2031 Feb 20 15:05 fedora-rawhide.repo
-rw-r--r--. 1 root root 2101 Feb 20 15:05 fedora-rawhide-modular.repo
-rw-r--r--. 1 root root 1323 Feb 20 15:05 fedora-modular.repo
-rw-r--r--. 1 root root  681 Feb 20 15:05 fedora-cisco-openh264.repo

This is on a normal plain install, I haven't started to use the box yet.

Comment 4 Ludovic Hirlimann [:Paul-muadib] 2019-03-12 12:11:05 UTC
[ludovic@pie3b yum.repos.d]$ sudo rm -rf /var/cache/dnf/*
[sudo] password for ludovic: 
[ludovic@pie3b yum.repos.d]$ sudo dnf makecache
Fedora Modular 30 - aarch64                     814 kB/s | 2.4 MB     00:03    
Fedora Modular 30 - aarch64 - Updates           170  B/s | 257  B     00:01    
Fedora Modular 30 - aarch64 - Test Updates      982 kB/s | 2.2 MB     00:02    
Fedora 30 - aarch64 - Test Updates              605 kB/s | 2.3 MB     00:03    
Fedora 30 - aarch64 - Updates                    80  B/s | 257  B     00:03    
Fedora 30 - aarch64                             2.1 kB/s |  15 MB    124:14    
Failed to synchronize cache for repo 'fedora'
Error: Failed to synchronize cache for repo 'fedora'

Comment 5 Ben Cotton 2020-04-30 20:26:39 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Ben Cotton 2020-08-11 13:05:58 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 7 Ben Cotton 2021-11-04 17:41:20 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Ben Cotton 2021-11-30 16:13:52 UTC
Fedora 33 changed to end-of-life (EOL) status on 2021-11-30. Fedora 33 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.