#10979 F36: Kinoite composes failing while hitting a 404 for the repos
Closed: Fixed 2 years ago by siosm. Opened 2 years ago by siosm.

  • Describe the issue

Kinoite F36 composes are failing hitting a 404 while downloading the repos during nighlty composes. See for example the log at the bottom.

Weirdly, this only impacts Kinoite for Fedora 36 (rawhide, 37 and 35 seem fine) and Silverblue appears to be fine.

  • When do you need this? (YYYY/MM/DD)

No specific timeline but it would be great to fix this soon.

  • When is this no longer needed or useful? (YYYY/MM/DD)

N/A

  • If we cannot complete your request, what is the impact?

No updates on Kinoite for F36.


Log extract from a recent build:
- https://pagure.io/releng/failed-composes/issue/3868
- https://koji.fedoraproject.org/koji/taskinfo?taskID=90993287
- https://kojipkgs.fedoraproject.org//work/tasks/3287/90993287/root.log

DEBUG util.py:445:  + pungi-make-ostree tree --repo=/mnt/koji/compose/ostree/repo --log-dir=/mnt/koji/compose/updates/Fedora-36-updates-20220819.0/logs/x86_64/Everything/ostree-4 --treefile=/mnt/koji/compose/updates/Fedora-36-updates-20220819.0/work/ostree-4/config_repo/fedora-kinoite.yaml --version=36.20220819.0 --extra-config=/mnt/koji/compose/updates/Fedora-36-updates-20220819.0/work/ostree-4/extra_config.json '--ostree-ref=fedora/36/${basearch}/updates/kinoite'
DEBUG util.py:445:  COMMAND: rpm-ostree compose tree --repo=/mnt/koji/compose/ostree/repo --write-commitid-to=/mnt/koji/compose/updates/Fedora-36-updates-20220819.0/logs/x86_64/Everything/ostree-4/commitid.log --touch-if-changed=/mnt/koji/compose/updates/Fedora-36-updates-20220819.0/logs/x86_64/Everything/ostree-4/commitid.log.stamp --add-metadata-string=version=36.20220819.0 /mnt/koji/compose/updates/Fedora-36-updates-20220819.0/work/ostree-4/config_repo/fedora-kinoite.json
DEBUG util.py:445:  -------------------------------------------------------------------------------
DEBUG util.py:445:  rpm-ostree version: 2022.12
DEBUG util.py:445:  Previous commit: 3ddbe834b41e05e70ae937b37588252643b095ee1bf5865c9c53761ddec65398
DEBUG util.py:445:  NOTICE: Running rpm-ostree compose tree without --unified-core is deprecated.
DEBUG util.py:445:   Please add --unified-core to the command line and ensure your content
DEBUG util.py:445:   works with it.  For more information, see https://github.com/coreos/rpm-ostree/issues/729
DEBUG util.py:445:  Enabled rpm-md repositories: repo-0 repo-1 repo-2
DEBUG util.py:445:  Updating metadata for 'repo-0'...done
DEBUG util.py:445:  error: Updating rpm-md repo 'repo-0': cannot update repo 'repo-0': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Status code: 404 for https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-36/compose/Everything/x86_64/os/repodata/repomd.xml (IP: 10.3.163.74)
DEBUG util.py:445:  Traceback (most recent call last):
DEBUG util.py:445:    File "/usr/bin/pungi-make-ostree", line 33, in <module>
DEBUG util.py:445:      sys.exit(load_entry_point('pungi==4.3.5', 'console_scripts', 'pungi-make-ostree')())
DEBUG util.py:445:    File "/usr/lib/python3.10/site-packages/pungi/ostree/__init__.py", line 159, in main
DEBUG util.py:445:      func()
DEBUG util.py:445:    File "/usr/lib/python3.10/site-packages/pungi/ostree/tree.py", line 151, in run
DEBUG util.py:445:      self._make_tree()
DEBUG util.py:445:    File "/usr/lib/python3.10/site-packages/pungi/ostree/tree.py", line 59, in _make_tree
DEBUG util.py:445:      shortcuts.run(
DEBUG util.py:445:    File "/usr/lib/python3.10/site-packages/kobo/shortcuts.py", line 409, in run
DEBUG util.py:445:      raise exc
DEBUG util.py:445:  RuntimeError: ERROR running command: rpm-ostree compose tree --repo=/mnt/koji/compose/ostree/repo --write-commitid-to=/mnt/koji/compose/updates/Fedora-36-updates-20220819.0/logs/x86_64/Everything/ostree-4/commitid.log --touch-if-changed=/mnt/koji/compose/updates/Fedora-36-updates-20220819.0/logs/x86_64/Everything/ostree-4/commitid.log.stamp --add-metadata-string=version=36.20220819.0 /mnt/koji/compose/updates/Fedora-36-updates-20220819.0/work/ostree-4/config_repo/fedora-kinoite.json
DEBUG util.py:445:  For more details see /mnt/koji/compose/updates/Fedora-36-updates-20220819.0/logs/x86_64/Everything/ostree-4/create-ostree-repo.log

That url is wrong. branched is not f36 anymore...

ah ha.

Missed change in branching. CC: @humaton

diff --git a/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 b/roles/bodhi2/backend/templates/pungi.rpm.conf.j2
index f2925bb4b6..3cb0e77c1a 100644
--- a/roles/bodhi2/backend/templates/pungi.rpm.conf.j2
+++ b/roles/bodhi2/backend/templates/pungi.rpm.conf.j2
@@ -249,8 +249,8 @@ ostree = {
                     # In the case of testing, also inject the last stable updates
                     "https://kojipkgs{{ env_suffix }}.fedoraproject.org/compose/updates/f[[ release.version_int ]]-updates/compose/Everything/$basearch/os/",
                 [% endif %]
-                # For F36 the compose location is going to be under /compose/branched/
-                [% if release.version_int == 36 %]
+                # For F37 the compose location is going to be under /compose/branched/
+                [% if release.version_int == 37 %]
                     "https://kojipkgs{{ env_suffix }}.fedoraproject.org/compose/branched/latest-Fedora-[[ release.version_int ]]/compose/Everything/$basearch/os/"
                 [% else %]
                     "https://kojipkgs{{ env_suffix }}.fedoraproject.org/compose/[[ release.version_int ]]/latest-Fedora-[[ release.version_int ]]/compose/Everything/$basearch/os/"

I pushed that, so we should have a compose tonight after 00:14 UTC. If so, we can close this then. ;)

Awesome! Thanks for the quick fix!

Looks like this fixed the issue. Thanks!

Metadata Update from @siosm:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata