dispatching a baseimg builder Creating directory (/tmp/koji/tasks/5711/1465711/output_image) for persistent storage No SecondaryDispatcher present - Use of secondary factories is not enabled Created file /tmp/koji/tasks/5711/1465711/output_image/15098ff5-f826-4e04-8816-8e6f3314ae74.meta Created file /tmp/koji/tasks/5711/1465711/output_image/15098ff5-f826-4e04-8816-8e6f3314ae74.body Getting metadata in class () my metadata is (()) Executing metadata in class () my metadata is (('identifier', 'data', 'template', 'icicle', 'status_detail', 'status', 'percent_complete', 'parameters', 'properties')) Saved metadata for image (15098ff5-f826-4e04-8816-8e6f3314ae74): {'type': 'BaseImage', 'properties': {}, 'status_detail': {'activity': 'Initializing image prior to Cloud/OS customization', 'error': None}, 'data': '/tmp/koji/tasks/5711/1465711/output_image/15098ff5-f826-4e04-8816-8e6f3314ae74.body', 'template': "\n", 'percent_complete': 0, 'parameters': {'install_script': '# Generated by pykickstart v3.47\n#version=DEVEL\n# Use text mode install\ntext\n# Keyboard layouts\nkeyboard \'us\'\n# Network information\nnetwork --bootproto=dhcp --device=link --activate\n# Reboot after installation\nreboot\nrepo --name="koji-override-0" --baseurl=http://fedora.riscv.rocks/repos-dist/f38/latest/riscv64/\n# Root password\nrootpw --iscrypted --lock locked\ntimesource --ntp-disable\n# System timezone\ntimezone Etc/UTC --utc\n# Use network installation\nurl --url="http://fedora.riscv.rocks/repos-dist/f38/latest/riscv64/"\n# System bootloader configuration\nbootloader --disabled\nautopart --type=plain --nohome --noboot --noswap\n# Clear the Master Boot Record\nzerombr\n# Partition clearing information\nclearpart --all\n\n%post --logfile=/root/anaconda-post.log --erroronfail\nset -eux\n\n# Set install langs macro so that new rpms that get installed will\n# only install langs that we limit it to.\nLANG="en_US"\necho "%_install_langs $LANG" > /etc/rpm/macros.image-language-conf\n\n# https://bugzilla.redhat.com/show_bug.cgi?id=1727489\necho \'LANG="C.UTF-8"\' > /etc/locale.conf\n\n# https://bugzilla.redhat.com/show_bug.cgi?id=1400682\necho "Import RPM GPG key"\nreleasever=$(rpm --eval \'%{?fedora}\')\n\n# When building ELN containers, we don\'t have the %{fedora} macro\nif [ -z $releasever ]; then\n releasever=eln\nfi\n\nrpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary\n\necho "# fstab intentionally empty for containers" > /etc/fstab\n\n# Remove machine-id on pre generated images\nrm -f /etc/machine-id\ntouch /etc/machine-id\n\necho "# resolv placeholder" > /etc/resolv.conf\nchmod 644 /etc/resolv.conf\n%end\n\n%post --logfile=/root/anaconda-post.log --erroronfail\n# remove some random help txt files\nrm -fv usr/share/gnupg/help*.txt\n\n# Pruning random things\nrm usr/lib/rpm/rpm.daily\nrm -rfv usr/lib64/nss/unsupported-tools/ # unsupported\n\n# Statically linked crap\nrm -fv usr/sbin/{glibc_post_upgrade.x86_64,sln}\nln usr/bin/ln usr/sbin/sln\n\n# Remove some dnf info\nrm -rfv /var/lib/dnf\n\n# don\'t need icons\nrm -rfv /usr/share/icons/*\n\n#some random not-that-useful binaries\nrm -fv /usr/bin/pinky\n\n# we lose presets by removing /usr/lib/systemd but we do not care\nrm -rfv /usr/lib/systemd\n\n# if you want to change the timezone, bind-mount it from the host or reinstall tzdata\nrm -fv /etc/localtime\nmv /usr/share/zoneinfo/UTC /etc/localtime\nrm -rfv /usr/share/zoneinfo\n\n# Final pruning\nrm -rfv /var/cache/* /var/log/* /tmp/*\n\n%end\n\n%post --nochroot --logfile=/mnt/sysimage/root/anaconda-post-nochroot.log --erroronfail\nset -eux\n\n# https://bugzilla.redhat.com/show_bug.cgi?id=1343138\n# Fix /run/lock breakage since it\'s not tmpfs in docker\n# This unmounts /run (tmpfs) and then recreates the files\n# in the /run directory on the root filesystem of the container\n# NOTE: run this in nochroot because "umount" does not exist in chroot\numount /mnt/sysimage/run\n# The file that specifies the /run/lock tmpfile is\n# /usr/lib/tmpfiles.d/legacy.conf, which is part of the systemd\n# rpm that isn\'t included in this image. We\'ll create the /run/lock\n# file here manually with the settings from legacy.conf\n# NOTE: chroot to run "install" because it is not in anaconda env\nchroot /mnt/sysimage install -d /run/lock -m 0755 -o root -g root\n\n\n# See: https://bugzilla.redhat.com/show_bug.cgi?id=1051816\n# NOTE: run this in nochroot because "find" does not exist in chroot\nKEEPLANG=en_US\nfor dir in locale i18n; do\n find /mnt/sysimage/usr/share/${dir} -mindepth 1 -maxdepth 1 -type d -not \\( -name "${KEEPLANG}" -o -name POSIX \\) -exec rm -rfv {} +\ndone\n\n%end\n\n%packages --excludedocs --nocore --inst-langs=en --exclude-weakdeps\nbash\ncoreutils\nfedora-release-container\nglibc-minimal-langpack\nmicrodnf\nrpm\nutil-linux-core\n-dosfstools\n-e2fsprogs\n-fuse-libs\n-gnupg2-smime\n-grubby\n-kernel\n-langpacks-en_GB\n-libss\n-pinentry\n-shared-mime-info\n-sssd-client\n-trousers\n-util-linux\n-xkeyboard-config\n\n%end\n', 'offline_icicle': True, 'dockerversion': '1.10.1', 'docker_cmd': '[ "/bin/bash" ]', 'docker_env': '[ "DISTTAG=f39container", "FGC=f39", "container=oci" ]', 'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "98"}'}, 'status': 'NEW', 'icicle': None, 'identifier': '15098ff5-f826-4e04-8816-8e6f3314ae74'} Attempting to match list target (['Fedora', '22', 'riscv64']) create_base_image() called for TinMan plugin - creating a BaseImage libvirt bridge name is virbr0 Libvirt type is qemu Starting new HTTP connection (1): fedora.riscv.rocks:80 http://fedora.riscv.rocks:80 "HEAD /repos-dist/f38/latest/riscv64/ HTTP/1.1" 200 0 Name: factory-build-15098ff5-f826-4e04-8816-8e6f3314ae74, UUID: 92192ed5-e953-40c5-b2ce-776753ae41a1 MAC: 52:54:00:41:1a:9d, distro: Fedora update: 22, arch: riscv64, diskimage: /tmp/koji/tasks/5711/1465711/scratch_images/factory-build-15098ff5-f826-4e04-8816-8e6f3314ae74.dsk nicmodel: virtio, clockoffset: utc mousetype: ps2, disk_bus: virtio, disk_dev: vda icicletmp: /tmp/koji/tasks/5711/1465711/oz_data/icicletmp/factory-build-15098ff5-f826-4e04-8816-8e6f3314ae74, listen_port: 43103 console_listen_port: 42729 Original ISO path: /tmp/koji/tasks/5711/1465711/oz_data/isos/Fedora22riscv64-url.iso Modified ISO cache: /tmp/koji/tasks/5711/1465711/oz_data/isos/Fedora22riscv64-url-oz.iso Output ISO path: /tmp/koji/tasks/5711/1465711/scratch_images/factory-build-15098ff5-f826-4e04-8816-8e6f3314ae74-url-oz.iso ISO content path: /tmp/koji/tasks/5711/1465711/oz_data/isocontent/factory-build-15098ff5-f826-4e04-8816-8e6f3314ae74-url Cleaning up any old Oz guest Cleaning up guest named factory-build-15098ff5-f826-4e04-8816-8e6f3314ae74 Generating JEOS install media Grabbing named lock (Fedora-22-riscv64-url) Got named lock (Fedora-22-riscv64-url) Installtype is URL, trying to do direct kernel boot Starting new HTTP connection (1): fedora.riscv.rocks:80 http://fedora.riscv.rocks:80 "HEAD /repos-dist/f38/latest/riscv64//.treeinfo HTTP/1.1" 404 0 Kernel was None, trying images/pxeboot/vmlinuz Initrd was None, trying images/pxeboot/initrd.img Fetching the original media Starting new HTTP connection (1): fedora.riscv.rocks:80 http://fedora.riscv.rocks:80 "HEAD /repos-dist/f38/latest/riscv64/images/pxeboot/vmlinuz HTTP/1.1" 404 0 Could not do direct boot, fetching boot.iso instead (the following error message is useful for bug reports, but can be ignored) Could not reach http://fedora.riscv.rocks/repos-dist/f38/latest/riscv64/images/pxeboot/vmlinuz to fetch boot media: {'Date': 'Mon, 14 Aug 2023 13:44:33 GMT', 'Server': 'Apache/2.4.54 (Fedora Linux) OpenSSL/3.0.5 mod_auth_gssapi/1.6.3 mod_wsgi/4.9.1 Python/3.11', 'Keep-Alive': 'timeout=5, max=100', 'Connection': 'Keep-Alive', 'Content-Type': 'text/html; charset=iso-8859-1', 'HTTP-Code': 404, 'Redirect-URL': None} Generating install media Fetching the original media Starting new HTTP connection (1): fedora.riscv.rocks:80 http://fedora.riscv.rocks:80 "HEAD /repos-dist/f38/latest/riscv64//images/boot.iso HTTP/1.1" 404 0 Releasing named lock (Fedora-22-riscv64-url) Removed builder from BuildDispatcher on notification from image 15098ff5-f826-4e04-8816-8e6f3314ae74: FAILED Getting metadata in class () my metadata is (()) Executing metadata in class () my metadata is (('identifier', 'data', 'template', 'icicle', 'status_detail', 'status', 'percent_complete', 'parameters', 'properties')) Saved metadata for image (15098ff5-f826-4e04-8816-8e6f3314ae74): {'type': 'BaseImage', 'properties': {}, 'status_detail': {'activity': 'Base Image build failed with exception.', 'error': "Could not reach http://fedora.riscv.rocks/repos-dist/f38/latest/riscv64//images/boot.iso to fetch boot media: {'Date': 'Mon, 14 Aug 2023 13:44:33 GMT', 'Server': 'Apache/2.4.54 (Fedora Linux) OpenSSL/3.0.5 mod_auth_gssapi/1.6.3 mod_wsgi/4.9.1 Python/3.11', 'Keep-Alive': 'timeout=5, max=100', 'Connection': 'Keep-Alive', 'Content-Type': 'text/html; charset=iso-8859-1', 'HTTP-Code': 404, 'Redirect-URL': None}"}, 'data': '/tmp/koji/tasks/5711/1465711/output_image/15098ff5-f826-4e04-8816-8e6f3314ae74.body', 'template': "\n", 'percent_complete': 0, 'parameters': {'install_script': '# Generated by pykickstart v3.47\n#version=DEVEL\n# Use text mode install\ntext\n# Keyboard layouts\nkeyboard \'us\'\n# Network information\nnetwork --bootproto=dhcp --device=link --activate\n# Reboot after installation\nreboot\nrepo --name="koji-override-0" --baseurl=http://fedora.riscv.rocks/repos-dist/f38/latest/riscv64/\n# Root password\nrootpw --iscrypted --lock locked\ntimesource --ntp-disable\n# System timezone\ntimezone Etc/UTC --utc\n# Use network installation\nurl --url="http://fedora.riscv.rocks/repos-dist/f38/latest/riscv64/"\n# System bootloader configuration\nbootloader --disabled\nautopart --type=plain --nohome --noboot --noswap\n# Clear the Master Boot Record\nzerombr\n# Partition clearing information\nclearpart --all\n\n%post --logfile=/root/anaconda-post.log --erroronfail\nset -eux\n\n# Set install langs macro so that new rpms that get installed will\n# only install langs that we limit it to.\nLANG="en_US"\necho "%_install_langs $LANG" > /etc/rpm/macros.image-language-conf\n\n# https://bugzilla.redhat.com/show_bug.cgi?id=1727489\necho \'LANG="C.UTF-8"\' > /etc/locale.conf\n\n# https://bugzilla.redhat.com/show_bug.cgi?id=1400682\necho "Import RPM GPG key"\nreleasever=$(rpm --eval \'%{?fedora}\')\n\n# When building ELN containers, we don\'t have the %{fedora} macro\nif [ -z $releasever ]; then\n releasever=eln\nfi\n\nrpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary\n\necho "# fstab intentionally empty for containers" > /etc/fstab\n\n# Remove machine-id on pre generated images\nrm -f /etc/machine-id\ntouch /etc/machine-id\n\necho "# resolv placeholder" > /etc/resolv.conf\nchmod 644 /etc/resolv.conf\n%end\n\n%post --logfile=/root/anaconda-post.log --erroronfail\n# remove some random help txt files\nrm -fv usr/share/gnupg/help*.txt\n\n# Pruning random things\nrm usr/lib/rpm/rpm.daily\nrm -rfv usr/lib64/nss/unsupported-tools/ # unsupported\n\n# Statically linked crap\nrm -fv usr/sbin/{glibc_post_upgrade.x86_64,sln}\nln usr/bin/ln usr/sbin/sln\n\n# Remove some dnf info\nrm -rfv /var/lib/dnf\n\n# don\'t need icons\nrm -rfv /usr/share/icons/*\n\n#some random not-that-useful binaries\nrm -fv /usr/bin/pinky\n\n# we lose presets by removing /usr/lib/systemd but we do not care\nrm -rfv /usr/lib/systemd\n\n# if you want to change the timezone, bind-mount it from the host or reinstall tzdata\nrm -fv /etc/localtime\nmv /usr/share/zoneinfo/UTC /etc/localtime\nrm -rfv /usr/share/zoneinfo\n\n# Final pruning\nrm -rfv /var/cache/* /var/log/* /tmp/*\n\n%end\n\n%post --nochroot --logfile=/mnt/sysimage/root/anaconda-post-nochroot.log --erroronfail\nset -eux\n\n# https://bugzilla.redhat.com/show_bug.cgi?id=1343138\n# Fix /run/lock breakage since it\'s not tmpfs in docker\n# This unmounts /run (tmpfs) and then recreates the files\n# in the /run directory on the root filesystem of the container\n# NOTE: run this in nochroot because "umount" does not exist in chroot\numount /mnt/sysimage/run\n# The file that specifies the /run/lock tmpfile is\n# /usr/lib/tmpfiles.d/legacy.conf, which is part of the systemd\n# rpm that isn\'t included in this image. We\'ll create the /run/lock\n# file here manually with the settings from legacy.conf\n# NOTE: chroot to run "install" because it is not in anaconda env\nchroot /mnt/sysimage install -d /run/lock -m 0755 -o root -g root\n\n\n# See: https://bugzilla.redhat.com/show_bug.cgi?id=1051816\n# NOTE: run this in nochroot because "find" does not exist in chroot\nKEEPLANG=en_US\nfor dir in locale i18n; do\n find /mnt/sysimage/usr/share/${dir} -mindepth 1 -maxdepth 1 -type d -not \\( -name "${KEEPLANG}" -o -name POSIX \\) -exec rm -rfv {} +\ndone\n\n%end\n\n%packages --excludedocs --nocore --inst-langs=en --exclude-weakdeps\nbash\ncoreutils\nfedora-release-container\nglibc-minimal-langpack\nmicrodnf\nrpm\nutil-linux-core\n-dosfstools\n-e2fsprogs\n-fuse-libs\n-gnupg2-smime\n-grubby\n-kernel\n-langpacks-en_GB\n-libss\n-pinentry\n-shared-mime-info\n-sssd-client\n-trousers\n-util-linux\n-xkeyboard-config\n\n%end\n', 'offline_icicle': True, 'dockerversion': '1.10.1', 'docker_cmd': '[ "/bin/bash" ]', 'docker_env': '[ "DISTTAG=f39container", "FGC=f39", "container=oci" ]', 'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "98"}'}, 'status': 'FAILED', 'icicle': None, 'identifier': '15098ff5-f826-4e04-8816-8e6f3314ae74'} Exception encountered in _build_image_from_template thread Could not reach http://fedora.riscv.rocks/repos-dist/f38/latest/riscv64//images/boot.iso to fetch boot media: {'Date': 'Mon, 14 Aug 2023 13:44:33 GMT', 'Server': 'Apache/2.4.54 (Fedora Linux) OpenSSL/3.0.5 mod_auth_gssapi/1.6.3 mod_wsgi/4.9.1 Python/3.11', 'Keep-Alive': 'timeout=5, max=100', 'Connection': 'Keep-Alive', 'Content-Type': 'text/html; charset=iso-8859-1', 'HTTP-Code': 404, 'Redirect-URL': None} Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/imgfac/Builder.py", line 135, in _build_image_from_template self.os_plugin.create_base_image(self, template, parameters) File "/usr/lib/python3.11/site-packages/imagefactory_plugins/TinMan/TinMan.py", line 325, in create_base_image self.threadsafe_generate_install_media(self.guest) File "/usr/lib/python3.11/site-packages/imagefactory_plugins/TinMan/TinMan.py", line 429, in threadsafe_generate_install_media guest.generate_install_media(force_download=False) File "/usr/lib/python3.11/site-packages/oz/RedHat.py", line 689, in generate_install_media return self._iso_generate_install_media(fetchurl, force_download, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/oz/Guest.py", line 1733, in _iso_generate_install_media self._get_original_iso(url, fd, outdir, force_download) File "/usr/lib/python3.11/site-packages/oz/Guest.py", line 1362, in _get_original_iso self._get_original_media(isourl, fd, outdir, force_download) File "/usr/lib/python3.11/site-packages/oz/Guest.py", line 981, in _get_original_media raise oz.OzException.OzException("Could not reach %s to fetch boot media: %r" % (url, info)) oz.OzException.OzException: Could not reach http://fedora.riscv.rocks/repos-dist/f38/latest/riscv64//images/boot.iso to fetch boot media: {'Date': 'Mon, 14 Aug 2023 13:44:33 GMT', 'Server': 'Apache/2.4.54 (Fedora Linux) OpenSSL/3.0.5 mod_auth_gssapi/1.6.3 mod_wsgi/4.9.1 Python/3.11', 'Keep-Alive': 'timeout=5, max=100', 'Connection': 'Keep-Alive', 'Content-Type': 'text/html; charset=iso-8859-1', 'HTTP-Code': 404, 'Redirect-URL': None} ABORT called in TinMan plugin Domain not found: no domain with matching name 'factory-build-15098ff5-f826-4e04-8816-8e6f3314ae74' Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/imagefactory_plugins/TinMan/TinMan.py", line 243, in abort guest_dom = self.guest.libvirt_conn.lookupByName(self.tdlobj.name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/site-packages/libvirt.py", line 4981, in lookupByName raise libvirtError('virDomainLookupByName() failed') libvirt.libvirtError: Domain not found: no domain with matching name 'factory-build-15098ff5-f826-4e04-8816-8e6f3314ae74' No Oz VM found with name (factory-build-15098ff5-f826-4e04-8816-8e6f3314ae74) - nothing to do This likely means the local VM has already been destroyed or never started Resetting dropped connection: fedora.riscv.rocks https://fedora.riscv.rocks:443 "POST /kojihub HTTP/1.1" 200 114