Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Emergency] centos-stream+epel-next-8-x86_64 Cannot prepare internal mirrorlist: No URLs in mirrorlist #3295

Closed
andykimpe opened this issue Jun 3, 2024 · 4 comments

Comments

@andykimpe
Copy link

please solve

Warning: Permanently added '54.196.68.46' (ED25519) to the list of known hosts.

You can reproduce this build on your computer by running:

  sudo dnf install copr-rpmbuild
  /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/7523805-centos-stream+epel-next-8-x86_64 --chroot centos-stream+epel-next-8-x86_64


Version: 0.73
PID: 6856
Logging PID: 6857
Task:
{'allow_user_ssh': False,
 'appstream': False,
 'background': False,
 'build_id': 7523805,
 'buildroot_pkgs': ['scl-utils-build', 'php56-build'],
 'chroot': 'centos-stream+epel-next-8-x86_64',
 'enable_net': True,
 'fedora_review': False,
 'git_hash': '77e4dd69f523899c08b77e8bcfc91d0a42bc6d3e',
 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/goddabrouquita8280/fusion-remi/autoconf269',
 'isolation': 'default',
 'memory_reqs': 2048,
 'package_name': 'autoconf269',
 'package_version': '2.69-30',
 'project_dirname': 'fusion-remi',
 'project_name': 'fusion-remi',
 'project_owner': 'goddabrouquita8280',
 'repo_priority': None,
 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/goddabrouquita8280/fusion-remi/centos-stream+epel-next-8-x86_64/',
            'id': 'copr_base',
            'name': 'Copr repository',
            'priority': None}],
 'sandbox': 'goddabrouquita8280/fusion-remi--goddabrouquita8280',
 'source_json': {},
 'source_type': None,
 'ssh_public_keys': None,
 'submitter': 'goddabrouquita8280',
 'tags': [],
 'task_id': '7523805-centos-stream+epel-next-8-x86_64',
 'timeout': 18000,
 'uses_devel_repo': False,
 'with_opts': [],
 'without_opts': []}

Running: git clone https://copr-dist-git.fedorainfracloud.org/git/goddabrouquita8280/fusion-remi/autoconf269 /var/lib/copr-rpmbuild/workspace/workdir-i52aawd6/autoconf269 --depth 500 --no-single-branch --recursive

cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/goddabrouquita8280/fusion-remi/autoconf269', '/var/lib/copr-rpmbuild/workspace/workdir-i52aawd6/autoconf269', '--depth', '500', '--no-single-branch', '--recursive']
cwd: .
rc: 0
stdout: 
stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-i52aawd6/autoconf269'...

Running: git checkout 77e4dd69f523899c08b77e8bcfc91d0a42bc6d3e --

cmd: ['git', 'checkout', '77e4dd69f523899c08b77e8bcfc91d0a42bc6d3e', '--']
cwd: /var/lib/copr-rpmbuild/workspace/workdir-i52aawd6/autoconf269
rc: 0
stdout: 
stderr: Note: switching to '77e4dd69f523899c08b77e8bcfc91d0a42bc6d3e'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 77e4dd6 automatic import of autoconf269

Running: copr-distgit-client sources

cmd: ['copr-distgit-client', 'sources']
cwd: /var/lib/copr-rpmbuild/workspace/workdir-i52aawd6/autoconf269
rc: 0
stdout: 
stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD
INFO: Reading stdout from command: git rev-parse HEAD
INFO: Reading sources specification file: sources
INFO: Downloading autoconf-2.69.tar.xz
INFO: Reading stdout from command: curl --help all
/usr/bin/tail: INFO: Calling: curl -H Pragma: -o autoconf-2.69.tar.xz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/goddabrouquita8280/fusion-remi/autoconf269/autoconf-2.69.tar.xz/md5/50f97f4159805e374639a73e2636f22e/autoconf-2.69.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
/var/lib/copr-rpmbuild/main.log: file truncated
                                 Dload  Upload   Total   Spent    Left  Speed
100 1186k  100 1186k    0     0  87.5M      0 --:--:-- --:--:-- --:--:-- 89.1M
INFO: Reading stdout from command: md5sum autoconf-2.69.tar.xz

Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-i52aawd6/autoconf269/autoconf269.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-i52aawd6/autoconf269 --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1717400222.466056 -r /var/lib/copr-rpmbuild/results/configs/child.cfg
INFO: mock.py version 5.6 starting (python version = 3.12.1, NVR = mock-5.6-1.fc39), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-i52aawd6/autoconf269/autoconf269.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-i52aawd6/autoconf269 --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1717400222.466056 -r /var/lib/copr-rpmbuild/results/configs/child.cfg
Start(bootstrap): init plugins
INFO: tmpfs initialized
INFO: selinux enabled
INFO: chroot_scan: initialized
INFO: compress_logs: initialized
Finish(bootstrap): init plugins
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
INFO: chroot_scan: initialized
INFO: compress_logs: initialized
Finish: init plugins
INFO: Signal handler active
Start: run
INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-i52aawd6/autoconf269/autoconf269.spec)  Config(centos-stream+epel-next-8-x86_64)
Start: clean chroot
Finish: clean chroot
Mock Version: 5.6
INFO: Mock Version: 5.6
Start(bootstrap): chroot init
INFO: mounting tmpfs at /var/lib/mock/centos-stream+epel-next-8-x86_64-bootstrap-1717400222.466056/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Guessed host environment type: unknown
INFO: Using bootstrap image: quay.io/centos/centos:stream8
INFO: Pulling image: quay.io/centos/centos:stream8
INFO: Copy content of container quay.io/centos/centos:stream8 to /var/lib/mock/centos-stream+epel-next-8-x86_64-bootstrap-1717400222.466056/root
INFO: Checking that quay.io/centos/centos:stream8 image matches host's architecture
INFO: mounting quay.io/centos/centos:stream8 with podman image mount
INFO: image quay.io/centos/centos:stream8 as /var/lib/containers/storage/overlay/6ee281da9ae87eca8f44934d7773323021901ceb8f56a5ec52edbbdaa1d5de23/merged
INFO: umounting image quay.io/centos/centos:stream8 (/var/lib/containers/storage/overlay/6ee281da9ae87eca8f44934d7773323021901ceb8f56a5ec52edbbdaa1d5de23/merged) with podman image umount
INFO: Package manager dnf detected and used (fallback)
INFO: Bootstrap image not marked ready
Start(bootstrap): installing dnf tooling
No matches found for the following disable plugin patterns: local, spacewalk, versionlock
Copr repository                                 4.2 MB/s | 159 kB     00:00    
CentOS Stream 8 - BaseOS                        131  B/s |  38  B     00:00    
Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: No URLs in mirrorlist
WARNING: DNF command failed, retrying, attempt #2, sleeping 10s
No matches found for the following disable plugin patterns: local, spacewalk, versionlock
Copr repository                                 118 kB/s | 1.5 kB     00:00    
CentOS Stream 8 - BaseOS                        1.6 kB/s |  38  B     00:00    
Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: No URLs in mirrorlist
WARNING: DNF command failed, retrying, attempt #3, sleeping 10s
No matches found for the following disable plugin patterns: local, spacewalk, versionlock
Copr repository                                  50 kB/s | 1.5 kB     00:00    
CentOS Stream 8 - BaseOS                        814  B/s |  38  B     00:00    
Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: No URLs in mirrorlist
ERROR: Exception(/var/lib/copr-rpmbuild/workspace/workdir-i52aawd6/autoconf269/autoconf269.spec) Config(centos-stream+epel-next-8-x86_64) 0 minutes 26 seconds
INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results
INFO: Cleaning up build root ('cleanup_on_failure=True')
Start: clean chroot
Finish: clean chroot
ERROR: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 8f800c934cc44688a726ab443dcac20a -D /var/lib/mock/centos-stream+epel-next-8-x86_64-bootstrap-1717400222.466056/root -a --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/centos-stream+epel-next-8-x86_64-bootstrap-1717400222.466056/root/installation-homedir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 --setenv=SYSTEMD_NSPAWN_TMPFS_TMP=0 --setenv=SYSTEMD_SECCOMP=0 --resolv-conf=off /usr/bin/dnf-3 --releasever 8 --setopt=deltarpm=False --setopt=allow_vendor_change=yes --allowerasing --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock install python3-dnf python3-dnf-plugins-core --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts
No matches found for the following disable plugin patterns: local, spacewalk, versionlock
Copr repository                                  50 kB/s | 1.5 kB     00:00    
CentOS Stream 8 - BaseOS                        814  B/s |  38  B     00:00    
Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: No URLs in mirrorlist

Copr build error: Build failed
@andykimpe
Copy link
Author

andykimpe commented Jun 3, 2024

in a compilation system you should not use the mirrorlist option you should use baseurl

baseurl=https://vault.centos.org/centos/8-stream/BaseOS/x86_64/os/

@andykimpe
Copy link
Author

@andykimpe andykimpe changed the title centos-stream+epel-next-8-x86_64 Cannot prepare internal mirrorlist: No URLs in mirrorlist [Emergency] centos-stream+epel-next-8-x86_64 Cannot prepare internal mirrorlist: No URLs in mirrorlist Jun 3, 2024
@andykimpe
Copy link
Author

OK, it's been going on for more than 8 hours without having been resolved on copr

and to top it all off, the builds have been pending for over 1 hour without anything happening

you think that people who have projects don't have to wait

in addition normally you should have your internal mirror clean

as ubuntu does on launchpad their mirror is

http://ftp.internal a url which and configure in their hosts file

since the domain does not exist

@xsuchy xsuchy moved this from Needs triage to Done in CPT Kanban Jun 5, 2024
@praiskup
Copy link
Member

praiskup commented Jun 7, 2024

Fixed

@praiskup praiskup closed this as completed Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants