dispatching a baseimg builder Creating directory (/tmp/koji/tasks/6788/1466788/output_image) for persistent storage No SecondaryDispatcher present - Use of secondary factories is not enabled Created file /tmp/koji/tasks/6788/1466788/output_image/388331c8-aef4-4de5-9493-494d549ac25d.meta Created file /tmp/koji/tasks/6788/1466788/output_image/388331c8-aef4-4de5-9493-494d549ac25d.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 (388331c8-aef4-4de5-9493-494d549ac25d): {'type': 'BaseImage', 'template': "\n", 'status': 'NEW', 'status_detail': {'activity': 'Initializing image prior to Cloud/OS customization', 'error': None}, 'identifier': '388331c8-aef4-4de5-9493-494d549ac25d', 'icicle': None, 'properties': {}, 'data': '/tmp/koji/tasks/6788/1466788/output_image/388331c8-aef4-4de5-9493-494d549ac25d.body', 'percent_complete': 0, 'parameters': {'install_script': '# Generated by pykickstart v3.47\n#version=DEVEL\n# Use text mode install\ntext\n# Firewall configuration\nfirewall --enabled --service=mdns\n# Run the Setup Agent on first boot\nfirstboot --reconfig\n# Keyboard layouts\nkeyboard \'us\'\n# System language\nlang en_US.UTF-8\n# Network information\nnetwork --bootproto=dhcp --device=link --activate\n# Shutdown after installation\nshutdown\nrepo --name="koji-override-0" --baseurl=http://fedora.riscv.rocks/compose/rawhide/Fedora-Rawhide-20230915.n.0/compose/Server/riscv64/os\n# Root password\nrootpw --iscrypted --lock locked\n# SELinux configuration\nselinux --enforcing\n# System services\nservices --enabled="sshd,NetworkManager,chronyd,initial-setup"\n# System timezone\ntimezone US/Eastern\n# Use network installation\nurl --url="http://fedora.riscv.rocks/compose/rawhide/Fedora-Rawhide-20230915.n.0/compose/Server/riscv64/os"\n# System bootloader configuration\nbootloader --location=mbr --timeout=1\nautopart --noswap\n# Clear the Master Boot Record\nzerombr\n# Partition clearing information\nclearpart --all --initlabel --disklabel=msdos\n\n%post\n\n# Find the architecture we are on\narch=$(uname -m)\n# Setup Raspberry Pi firmware\nif [[ $arch == "aarch64" ]]; then\ncp -P /usr/share/uboot/rpi_arm64/u-boot.bin /boot/efi/rpi-u-boot.bin\nfi\n\nreleasever=$(rpm --eval \'%{fedora}\')\nrpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary\necho "Packages within this disk image"\nrpm -qa --qf \'%{size}\\t%{name}-%{version}-%{release}.%{arch}\\n\' |sort -rn\n\n# remove random seed, the newly installed instance should make it\'s own\nrm -f /var/lib/systemd/random-seed\n\n# The enp1s0 interface is a left over from the imagefactory install, clean this up\nrm -f /etc/NetworkManager/system-connections/*.nmconnection\n\ndnf -y remove dracut-config-generic\n\n# Remove machine-id on pre generated images\nrm -f /etc/machine-id\ntouch /etc/machine-id\n\n# Note that running rpm recreates the rpm db files which aren\'t needed or wanted\nrm -f /var/lib/rpm/__db*\n\n# Anaconda adds console=tty0 to the grub boot line on all images. this is problematic\n# when you are using fedora via serial console as you do not get any output post grub\n# linux does a good job of knowing what consoles need to be enabled.\n# https://bugzilla.redhat.com/show_bug.cgi?id=2022757\nif [[ $arch == "aarch64" ]]; then\nsed -i -e \'s|console=tty0||g\' /boot/loader/entries/*conf\nfi\n\n%end\n\n%post\n\n# setup systemd to boot to the right runlevel\necho -n "Setting default runlevel to multiuser text mode"\nrm -f /etc/systemd/system/default.target\nln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target\necho .\n\n%end\n\n%packages\n@container-management\n@core\n@domain-client\n@guest-agents\n@hardware-support\n@headless-management\n@networkmanager-submodules\n@server-hardware-support\n@server-product\n@standard\nchrony\ndracut-config-generic\nfedora-release-server\nglibc-all-langpacks\ninitial-setup\nkernel\n-dracut-config-rescue\n-generic-release*\n-initial-setup-gui\n-ipw*\n-iwl*\n-usb_modeswitch\n\n%end\n', 'offline_icicle': True}} Attempting to match list target (['Fedora', '30', 'riscv64']) create_base_image() called for TinMan plugin - creating a BaseImage Removed builder from BuildDispatcher on notification from image 388331c8-aef4-4de5-9493-494d549ac25d: 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 (388331c8-aef4-4de5-9493-494d549ac25d): {'type': 'BaseImage', 'template': "\n", 'status': 'FAILED', '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'}, 'identifier': '388331c8-aef4-4de5-9493-494d549ac25d', 'icicle': None, 'properties': {}, 'data': '/tmp/koji/tasks/6788/1466788/output_image/388331c8-aef4-4de5-9493-494d549ac25d.body', 'percent_complete': 0, 'parameters': {'install_script': '# Generated by pykickstart v3.47\n#version=DEVEL\n# Use text mode install\ntext\n# Firewall configuration\nfirewall --enabled --service=mdns\n# Run the Setup Agent on first boot\nfirstboot --reconfig\n# Keyboard layouts\nkeyboard \'us\'\n# System language\nlang en_US.UTF-8\n# Network information\nnetwork --bootproto=dhcp --device=link --activate\n# Shutdown after installation\nshutdown\nrepo --name="koji-override-0" --baseurl=http://fedora.riscv.rocks/compose/rawhide/Fedora-Rawhide-20230915.n.0/compose/Server/riscv64/os\n# Root password\nrootpw --iscrypted --lock locked\n# SELinux configuration\nselinux --enforcing\n# System services\nservices --enabled="sshd,NetworkManager,chronyd,initial-setup"\n# System timezone\ntimezone US/Eastern\n# Use network installation\nurl --url="http://fedora.riscv.rocks/compose/rawhide/Fedora-Rawhide-20230915.n.0/compose/Server/riscv64/os"\n# System bootloader configuration\nbootloader --location=mbr --timeout=1\nautopart --noswap\n# Clear the Master Boot Record\nzerombr\n# Partition clearing information\nclearpart --all --initlabel --disklabel=msdos\n\n%post\n\n# Find the architecture we are on\narch=$(uname -m)\n# Setup Raspberry Pi firmware\nif [[ $arch == "aarch64" ]]; then\ncp -P /usr/share/uboot/rpi_arm64/u-boot.bin /boot/efi/rpi-u-boot.bin\nfi\n\nreleasever=$(rpm --eval \'%{fedora}\')\nrpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-primary\necho "Packages within this disk image"\nrpm -qa --qf \'%{size}\\t%{name}-%{version}-%{release}.%{arch}\\n\' |sort -rn\n\n# remove random seed, the newly installed instance should make it\'s own\nrm -f /var/lib/systemd/random-seed\n\n# The enp1s0 interface is a left over from the imagefactory install, clean this up\nrm -f /etc/NetworkManager/system-connections/*.nmconnection\n\ndnf -y remove dracut-config-generic\n\n# Remove machine-id on pre generated images\nrm -f /etc/machine-id\ntouch /etc/machine-id\n\n# Note that running rpm recreates the rpm db files which aren\'t needed or wanted\nrm -f /var/lib/rpm/__db*\n\n# Anaconda adds console=tty0 to the grub boot line on all images. this is problematic\n# when you are using fedora via serial console as you do not get any output post grub\n# linux does a good job of knowing what consoles need to be enabled.\n# https://bugzilla.redhat.com/show_bug.cgi?id=2022757\nif [[ $arch == "aarch64" ]]; then\nsed -i -e \'s|console=tty0||g\' /boot/loader/entries/*conf\nfi\n\n%end\n\n%post\n\n# setup systemd to boot to the right runlevel\necho -n "Setting default runlevel to multiuser text mode"\nrm -f /etc/systemd/system/default.target\nln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target\necho .\n\n%end\n\n%packages\n@container-management\n@core\n@domain-client\n@guest-agents\n@hardware-support\n@headless-management\n@networkmanager-submodules\n@server-hardware-support\n@server-product\n@standard\nchrony\ndracut-config-generic\nfedora-release-server\nglibc-all-langpacks\ninitial-setup\nkernel\n-dracut-config-rescue\n-generic-release*\n-initial-setup-gui\n-ipw*\n-iwl*\n-usb_modeswitch\n\n%end\n', 'offline_icicle': True}} 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