dispatching a baseimg builder Creating directory (/tmp/koji/tasks/5709/1465709/output_image) for persistent storage No SecondaryDispatcher present - Use of secondary factories is not enabled Created file /tmp/koji/tasks/5709/1465709/output_image/92eca399-5738-448f-a43e-8d954b46668f.meta Created file /tmp/koji/tasks/5709/1465709/output_image/92eca399-5738-448f-a43e-8d954b46668f.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 (92eca399-5738-448f-a43e-8d954b46668f): {'type': 'BaseImage', 'data': '/tmp/koji/tasks/5709/1465709/output_image/92eca399-5738-448f-a43e-8d954b46668f.body', 'identifier': '92eca399-5738-448f-a43e-8d954b46668f', 'status': 'NEW', '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"}'}, 'properties': {}, 'status_detail': {'activity': 'Initializing image prior to Cloud/OS customization', 'error': None}, 'template': "\n", 'icicle': None} Attempting to match list target (['Fedora', '22', 'riscv64']) create_base_image() called for TinMan plugin - creating a BaseImage Removed builder from BuildDispatcher on notification from image 92eca399-5738-448f-a43e-8d954b46668f: 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 (92eca399-5738-448f-a43e-8d954b46668f): {'type': 'BaseImage', 'data': '/tmp/koji/tasks/5709/1465709/output_image/92eca399-5738-448f-a43e-8d954b46668f.body', 'identifier': '92eca399-5738-448f-a43e-8d954b46668f', 'status': 'FAILED', '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"}'}, 'properties': {}, 'status_detail': {'activity': 'Base Image build failed with exception.', 'error': '\nXML schema validation failed:\n\tline 6: Error validating value \n\tline 6: Element arch failed to validate content\n'}, 'template': "\n", 'icicle': None} Exception encountered in _build_image_from_template thread XML schema validation failed: line 6: Error validating value line 6: Element arch failed to validate content 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 304, in create_base_image self.tdlobj = oz.TDL.TDL(xmlstring=template.xml, rootpw_required=self.app_config["tdl_require_root_pw"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/oz/TDL.py", line 202, in __init__ raise oz.OzException.OzException(errstr) oz.OzException.OzException: XML schema validation failed: line 6: Error validating value line 6: Element arch failed to validate content ABORT called in TinMan plugin No Oz guest object present - nothing to do https://fedora.riscv.rocks:443 "POST /kojihub HTTP/1.1" 200 114