Andy Holmes created an issue: #723
Summary
This is a report for our documentation webapp for GJS
- hosted at https://gjs-docs.gnome.org
- repository at https://gitlab.gnome.org/GNOME/devdocsgjs (Dockerfile)
- OpenShift project
devdocsgjs
Each release cycle we bump the fedora image to pull in the latest GIRs to generate documentation for. The most recent bump to Fedora 35 fails consistently with this error:
Errors during downloading metadata for repository 'fedora':
- Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-35&arch=x86_64 [getaddrinfo() thread failed to start]
Error: Failed to download metadata for repo 'fedora': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-35&arch=x86_64 [getaddrinfo() thread failed to start]
Just a day or so before we built the last image for the GNOME 40 cycle successfully, and I have built this Dockerfile locally with podman
.
Steps to reproduce
Simply rebuild the image to encounter the error.
What is the current bug behavior?
The image fails to build because the rpm repositories cannot be synced.
What is the expected correct behavior?
The attempt to download the repository metadata should succeed, which would allow the rest of the build to succeed.
Relevant logs and/or screenshots
The full log is below:
Cloning "https://gitlab.gnome.org/GNOME/devdocsgjs.git " ...
Commit: 475c411f904779272a6022f489a712fb4699ecd8 (Update for GNOME 41)
Author: Andy Holmes <andrew g r holmes gmail com>
Date: Sat Oct 30 17:52:01 2021 -0700
--> FROM fedora:35 as fetch
--> RUN dnf install -y NetworkManager-libnm-devel cairo-devel cheese-libs-devel clutter-{gst3,gtk}-devel evince-devel folks-devel geoclue2-devel geocode-glib-devel glib2-devel gnome-bluetooth-libs-devel gnome-online-accounts-devel gnome-shell gobject-introspection-devel gom-devel graphene-devel grilo-devel gsettings-desktop-schemas-devel gsound-devel gspell-devel gstreamer1-{,plugins-base-,plugins-bad-free-}devel gtk{2,3,4}-devel gtksourceview{3,4}-devel gupnp-devel gupnp-dlna-devel harfbuzz-devel ibus-devel keybinder3-devel libappindicator-gtk3-devel libappstream-glib-devel libchamplain-devel libgcab1-devel libgdata-devel libgda-devel libgudev-devel libgweather-devel libgxps-devel libhandy1-devel libnotify-devel libpeas-devel librsvg2-devel libsecret-devel libzapojit-devel mutter pango-devel polkit-devel poppler-glib-devel rest-devel telepathy-glib-devel tracker-devel udisks-devel upower-devel vte{,291}-devel wireplumber-devel && dnf clean all && rm -rf /var/cache/yum
Fedora 35 - x86_64 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'fedora':
- Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-35&arch=x86_64 [getaddrinfo() thread failed to start]
Error: Failed to download metadata for repo 'fedora': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-35&arch=x86_64 [getaddrinfo() thread failed to start]
error: build error: running 'dnf install -y NetworkManager-libnm-devel cairo-devel cheese-libs-devel clutter-{gst3,gtk}-devel evince-devel folks-devel geoclue2-devel geocode-glib-devel glib2-devel gnome-bluetooth-libs-devel gnome-online-accounts-devel gnome-shell gobject-introspection-devel gom-devel graphene-devel grilo-devel gsettings-desktop-schemas-devel gsound-devel gspell-devel gstreamer1-{,plugins-base-,plugins-bad-free-}devel gtk{2,3,4}-devel gtksourceview{3,4}-devel gupnp-devel gupnp-dlna-devel harfbuzz-devel ibus-devel keybinder3-devel libappindicator-gtk3-devel libappstream-glib-devel libchamplain-devel libgcab1-devel libgdata-devel libgda-devel libgudev-devel libgweather-devel libgxps-devel libhandy1-devel libnotify-devel libpeas-devel librsvg2-devel libsecret-devel libzapojit-devel mutter pango-devel polkit-devel poppler-glib-devel rest-devel telepathy-glib-devel tracker-devel udisks-devel upower-devel vte{,291}-devel wireplumber-devel && dnf clean all && rm -rf /var/cache/yum' failed with exit code 1
/cc @averi @barthalion #/confidential