#1751 pungi-make-ostree traceback
Closed: Fixed a month ago by lsedlar. Opened a month ago by kevin.

I'm not sure this is a pungi issue or our config, but it seems related to upgrading pungi for kiwi changes...

From:
https://kojipkgs.fedoraproject.org/compose/branched/Fedora-40-20240314.n.0/logs/global/pungi.global.log

2024-03-14 07:56:12 [ERROR   ] [FAIL] Ostree container (variant Onyx, arch x86_64) failed, but going on anyway.
2024-03-14 07:56:12 [ERROR   ] ERROR running command: pungi-make-ostree container --log-dir=/mnt/koji/compose/branched/Fedora-40-20240314.n.0/logs/x86_64/Onyx/ostree-container-4 --name=Fedora-Onyx-40.20240314.n.0 --path=/mnt/koji/compose/branched/Fedora-40-20240314.n.0/compose/Onyx/x86_64/images --treefile=/mnt/koji/compose/branched/Fedora-40-20240314.n.0/work/ostree-container-4/config_repo/fedora-onyx.yaml --extra-config=/mnt/koji/compose/branched/Fedora-40-20240314.n.0/work/ostree-container-4/extra_config.json --version=40.20240314.n.0
2024-03-14 07:56:12 [DEBUG   ] Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/pungi/util.py", line 596, in failable
    yield
  File "/usr/lib/python3.12/site-packages/pungi/phases/ostree_container.py", line 68, in process
    self.worker(compose, variant, arch, config)
  File "/usr/lib/python3.12/site-packages/pungi/phases/ostree_container.py", line 113, in worker
    self._run_ostree_container_cmd(
  File "/usr/lib/python3.12/site-packages/pungi/phases/ostree_container.py", line 144, in _run_ostree_container_cmd
    _, runroot_script = shortcuts.run(cmd, universal_newlines=True)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/kobo/shortcuts.py", line 408, in run
    raise exc
RuntimeError: ERROR running command: pungi-make-ostree container --log-dir=/mnt/koji/compose/branched/Fedora-40-20240314.n.0/logs/x86_64/Onyx/ostree-container-4 --name=Fedora-Onyx-40.20240314.n.0 --path=/mnt/koji/compose/branched/Fedora-40-20240314.n.0/compose/Onyx/x86_64/images --treefile=/mnt/koji/compose/branched/Fedora-40-20240314.n.0/work/ostree-container-4/config_repo/fedora-onyx.yaml --extra-config=/mnt/koji/compose/branched/Fedora-40-20240314.n.0/work/ostree-container-4/extra_config.json --version=40.20240314.n.0

So pungi-make-ostree is really https://pagure.io/pungi/blob/master/f/pungi/ostree/__init__.py , which is a thin wrapper that in this case winds up in https://pagure.io/pungi/blob/master/f/pungi/ostree/container.py , so that's what is blowing up here. Since we updated Pungi to 4.6.2 as part of the Kiwi support effort, I think we pulled in https://pagure.io/pungi/c/8412890640c4beab707e604aab6f24c3ecd2b1f0?branch=master , which could potentially be relevant here as it touches that code.

It would really help if we knew what the error running that command was, I guess. Can we work that out? Can we just run the command manually or something?

Ah, I think I figured this out. PR coming soon, I hope.

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #1752 Merged a month ago