#9320 Silverblue composes fail on aarch64 and ppc64le because it requires flatpaks
Closed: Fixed 4 years ago by kevin. Opened 4 years ago by sharkcz.

  • Describe the issue
    Silverblue composes fail on aarch64 and ppc64le because it requires flatpaks, but they are available on x86_64 only. Because we had Silverblue for these arches I suppose flatpaks become mandatory at some point. Can we make it optional for aarch64 and ppc64le again?
2020-03-12 06:46:02,209: Error in POSTTRANS scriptlet in rpm package kernel-core
Error in POSTTRANS scriptlet in rpm package kernel-core
2020-03-12 06:46:42,290: running /mnt/koji/compose/rawhide/Fedora-Rawhide-20200312.n.0/work/ppc64le/Silverblue/lorax_templates/ostree-based-installer/lorax-configure-repo.tmpl
running /mnt/koji/compose/rawhide/Fedora-Rawhide-20200312.n.0/work/ppc64le/Silverblue/lorax_templates/ostree-based-installer/lorax-configure-repo.tmpl
2020-03-12 06:46:42,318: running /mnt/koji/compose/rawhide/Fedora-Rawhide-20200312.n.0/work/ppc64le/Silverblue/lorax_templates/ostree-based-installer/lorax-embed-repo.tmpl
running /mnt/koji/compose/rawhide/Fedora-Rawhide-20200312.n.0/work/ppc64le/Silverblue/lorax_templates/ostree-based-installer/lorax-embed-repo.tmpl
2020-03-12 06:49:18,216: running /mnt/koji/compose/rawhide/Fedora-Rawhide-20200312.n.0/work/ppc64le/Silverblue/lorax_templates/ostree-based-installer/lorax-embed-flatpaks.tmpl
running /mnt/koji/compose/rawhide/Fedora-Rawhide-20200312.n.0/work/ppc64le/Silverblue/lorax_templates/ostree-based-installer/lorax-embed-flatpaks.tmpl
2020-03-12 06:49:19,208: command output:
Looking for matches?
F: An error was encountered searching remote ?fedora? for ?fedora?: Unable to load summary from remote fedora: Server returned status 404: Not Found
error: No remote refs found similar to ?fedora?

command output:
Looking for matches?
F: An error was encountered searching remote ?fedora? for ?fedora?: Unable to load summary from remote fedora: Server returned status 404: Not Found
error: No remote refs found similar to ?fedora?

2020-03-12 06:49:19,208: command returned failure (1)
command returned failure (1)
2020-03-12 06:49:19,208: template command error in /mnt/koji/compose/rawhide/Fedora-Rawhide-20200312.n.0/work/ppc64le/Silverblue/lorax_templates/ostree-based-installer/lorax-embed-flatpaks.tmpl:
template command error in /mnt/koji/compose/rawhide/Fedora-Rawhide-20200312.n.0/work/ppc64le/Silverblue/lorax_templates/ostree-based-installer/lorax-embed-flatpaks.tmpl:
2020-03-12 06:49:19,208:   runcmd flatpak install -y --user fedora
  runcmd flatpak install -y --user fedora
2020-03-12 06:49:19,231:   subprocess.CalledProcessError: Command '['flatpak', 'install', '-y', '--user', 'fedora']' returned non-zero exit status 1.
  subprocess.CalledProcessError: Command '['flatpak', 'install', '-y', '--user', 'fedora']' returned non-zero exit status 1.
Traceback (most recent call last):
  File "/usr/sbin/lorax", line 222, in <module>
    main()
  File "/usr/sbin/lorax", line 204, in main
    lorax.run(dnfbase, opts.product, opts.version, opts.release,
  File "/usr/lib/python3.8/site-packages/pylorax/__init__.py", line 269, in run
    rb.install()
  File "/usr/lib/python3.8/site-packages/pylorax/treebuilder.py", line 124, in install
    self._runner.run(tmpl, **self.add_template_vars)
  File "/usr/lib/python3.8/site-packages/pylorax/ltmpl.py", line 149, in run
    self._run(commands)
  File "/usr/lib/python3.8/site-packages/pylorax/ltmpl.py", line 168, in _run
    f(*args)
  File "/usr/lib/python3.8/site-packages/pylorax/ltmpl.py", line 528, in runcmd
    stdout = runcmd_output(cmd)
  File "/usr/lib/python3.8/site-packages/pylorax/executils.py", line 349, in runcmd_output
    return execWithCapture(cmd[0], cmd[1:], **kwargs)
  File "/usr/lib/python3.8/site-packages/pylorax/executils.py", line 249, in execWithCapture
    return _run_program(argv, stdin=stdin, root=root, log_output=log_output, filter_stderr=filter_stderr,
  File "/usr/lib/python3.8/site-packages/pylorax/executils.py", line 203, in _run_program
    raise subprocess.CalledProcessError(proc.returncode, argv, output)
subprocess.CalledProcessError: Command '['flatpak', 'install', '-y', '--user', 'fedora']' returned non-zero exit status 1.
2020-03-12 06:49:19,242: Cleaning up tempdir - /var/tmp/lorax/lorax.wphlzd58
/var/tmp/lorax/lorax.wphlzd58/installtree/var/lib/rpm: No such file or directory

see eg. https://koji.fedoraproject.org/koji/taskinfo?taskID=42422967 or https://koji.fedoraproject.org/koji/taskinfo?taskID=42422969 for the latest failed tasks

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

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

  • If we cannot complete your request, what is the impact?
    Silveblue not available on aarch64 or ppc64le


And the problem came with https://pagure.io/pungi-fedora/c/c728ed5f0d69131210348cccecbe96962bad52ac?branch=master which added ostree-based-installer/lorax-embed-flatpaks.tmpl to all arches

This was fixed in:

commit 469e9e94f4eb1338501d2cb4dca4d1e94a6cc76a
Author: Dan Horák <dan@danny.cz>
Date:   Tue Mar 17 16:22:48 2020 +0100

    silverblue - don't require flatpak infra on aarch64 and ppc64le as it doesn't exist (yet)

    fixes: https://pagure.io/releng/issue/9320

    Signed-off-by: Dan Horák <dan@danny.cz>

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

4 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #817 Merged 4 years ago
  • #815 Merged 4 years ago