dispatching a baseimg builder Creating directory (/tmp/koji/tasks/8527/558527/output_image) for persistent storage No SecondaryDispatcher present - Use of secondary factories is not enabled Created file /tmp/koji/tasks/8527/558527/output_image/ae8cb28a-9653-4a63-8877-1de7c97a5864.meta Created file /tmp/koji/tasks/8527/558527/output_image/ae8cb28a-9653-4a63-8877-1de7c97a5864.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 (ae8cb28a-9653-4a63-8877-1de7c97a5864): {'type': 'BaseImage', 'parameters': {'install_script': '#version=F26\nignoredisk --only-use=vda\n# Keyboard layouts\nkeyboard \'us\'\n# Root password\nrootpw --iscrypted thereisnopasswordanditslocked\n# Use network installation\nurl --url="http://build.openanolis.cn/kojifiles/output/nightly/anolis-23-20230309.9/compose/BaseOS/aarch64/os/"\n# System language\nlang en_US.UTF-8\n# Firewall configuration\nfirewall --enabled --service=ssh\nrepo --name="koji-override-0" --baseurl=http://build.openanolis.cn/kojifiles/output/nightly/anolis-23-20230309.9/compose/BaseOS/aarch64/os/\nrepo --name="koji-override-1" --baseurl=http://build.openanolis.cn/kojifiles/output/nightly/anolis-23-20230309.9/compose/AppStream/aarch64/os/\n# Shutdown after installation\nshutdown\n# Network information\nnetwork --bootproto=dhcp --device=link --activate\nnetwork --bootproto=dhcp --hostname=localhost.localdomain\n# System timezone\ntimezone UTC --isUtc\n# Use text mode install\ntext\n# System authorization information\nauth --enableshadow --passalgo=sha512\nfirstboot --disable\n# SELinux configuration\nselinux --enforcing\n\n# System services\nservices --disabled="kdump" --enabled="NetworkManager,sshd,rsyslog,chronyd,cloud-init,cloud-init-local,cloud-config,cloud-final,rngd"\n# System bootloader configuration\nbootloader --append="console=ttyS0,115200n8 no_timer_check crashkernel=auto net.ifnames=0" --location=mbr --timeout=1 --boot-drive=vda\nreqpart\n# Clear the Master Boot Record\nzerombr\n# Partition clearing information\nclearpart --all --initlabel\n# Disk partitioning information\npart / --fstype="xfs" --ondisk=vda --size=8000\n\n%post --erroronfail\npasswd -d root\npasswd -l root\n\n# pvgrub support\necho -n "Creating grub.conf for pvgrub"\nrootuuid=$( awk \'$2=="/" { print $1 };\' /etc/fstab )\nmkdir /boot/grub\necho -e \'default=0\\ntimeout=0\\n\\n\' > /boot/grub/grub.conf\nfor kv in $( ls -1v /boot/vmlinuz* |grep -v rescue |sed s/.*vmlinuz-// ); do\n echo "title CentOS Linux 8 ($kv)" >> /boot/grub/grub.conf\n echo -e "\\troot (hd0)" >> /boot/grub/grub.conf\n echo -e "\\tkernel /boot/vmlinuz-$kv ro root=$rootuuid console=hvc0 LANG=en_US.UTF-8" >> /boot/grub/grub.conf\n echo -e "\\tinitrd /boot/initramfs-$kv.img" >> /boot/grub/grub.conf\n echo\ndone\nln -sf grub.conf /boot/grub/menu.lst\nln -sf /boot/grub/grub.conf /etc/grub.conf\n\n# setup systemd to boot to the right runlevel\nrm -f /etc/systemd/system/default.target\nln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target\necho .\n\ndnf -C -y remove linux-firmware\n\n# Remove firewalld; it is required to be present for install/image building.\n# but we dont ship it in cloud\ndnf -C -y remove firewalld --setopt="clean_requirements_on_remove=1"\ndnf -C -y remove avahi\\* \nsed -i \'/^#NAutoVTs=.*/ a\\\nNAutoVTs=0\' /etc/systemd/logind.conf\n\ncat > /etc/sysconfig/network << EOF\nNETWORKING=yes\nNOZEROCONF=yes\nEOF\n\n# Remove build-time resolvers to fix #16948\necho > /etc/resolv.conf\n\n# For cloud images, \'eth0\' _is_ the predictable device name, since\n# we don\'t want to be tied to specific virtual (!) hardware\nrm -f /etc/udev/rules.d/70*\nln -s /dev/null /etc/udev/rules.d/80-net-name-slot.rules\n\n# simple eth0 config, again not hard-coded to the build hardware\ncat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF\nDEVICE="eth0"\nBOOTPROTO="dhcp"\nONBOOT="yes"\nTYPE="Ethernet"\nUSERCTL="yes"\nPEERDNS="yes"\nIPV6INIT="no"\nPERSISTENT_DHCLIENT="1"\nEOF\n\necho "virtual-guest" > /etc/tuned/active_profile\n\n# generic localhost names\ncat > /etc/hosts << EOF\n127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4\n::1 localhost localhost.localdomain localhost6 localhost6.localdomain6\n\nEOF\necho .\n\nsystemctl mask tmp.mount\n\ncat < /etc/sysconfig/kernel\n# UPDATEDEFAULT specifies if new-kernel-pkg should make\n# new kernels the default\nUPDATEDEFAULT=yes\n\n# DEFAULTKERNEL specifies the default kernel package type\nDEFAULTKERNEL=kernel\nEOL\n\n# make sure firstboot doesn\'t start\necho "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot\n\n# centos cloud user\necho -e \'centos\\tALL=(ALL)\\tNOPASSWD: ALL\' >> /etc/sudoers\nsed -i \'s/name: cloud-user/name: centos/g\' /etc/cloud/cloud.cfg\n\ndnf clean all\n\n# XXX instance type markers - MUST match CentOS Infra expectation\necho \'genclo\' > /etc/yum/vars/infra\n\n# change dhcp client retry/timeouts to resolve #6866\ncat >> /etc/dhcp/dhclient.conf << EOF\n\ntimeout 300;\nretry 60;\nEOF\n\n\nrm -rf /var/log/yum.log\nrm -rf /var/lib/yum/*\nrm -rf /root/install.log\nrm -rf /root/install.log.syslog\nrm -rf /root/anaconda-ks.cfg\nrm -rf /var/log/anaconda*\n\nrm -f /var/lib/systemd/random-seed\n\ncat /dev/null > /etc/machine-id\n\necho "Fixing SELinux contexts."\ntouch /var/log/cron\ntouch /var/log/boot.log\nmkdir -p /var/cache/yum\n/usr/sbin/fixfiles -R -a restore\n\n# reorder console entries\nsed -i \'s/console=tty0/console=tty0 console=ttyS0,115200n8/\' /boot/grub2/grub.cfg\n\ntrue\n\n%end\n\n%packages\n@core\nNetworkManager\ncentos-release\nchrony\ncloud-init\ncloud-utils-growpart\ncockpit-system\ncockpit-ws\ndhcp-client\ndnf\ndnf-utils\ndracut-config-generic\ndracut-norescue\nfirewalld\ngdisk\ngrub2\nkernel\nnfs-utils\npython3-jsonschema\nqemu-guest-agent\nrng-tools\nrsync\ntar\nyum\nyum-utils\n-aic94xx-firmware\n-alsa-firmware\n-alsa-lib\n-alsa-tools-firmware\n-biosdevname\n-iprutils\n-ivtv-firmware\n-iwl100-firmware\n-iwl1000-firmware\n-iwl105-firmware\n-iwl135-firmware\n-iwl2000-firmware\n-iwl2030-firmware\n-iwl3160-firmware\n-iwl3945-firmware\n-iwl4965-firmware\n-iwl5000-firmware\n-iwl5150-firmware\n-iwl6000-firmware\n-iwl6000g2a-firmware\n-iwl6000g2b-firmware\n-iwl6050-firmware\n-iwl7260-firmware\n-langpacks-*\n-langpacks-en\n-libertas-sd8686-firmware\n-libertas-sd8787-firmware\n-libertas-usb8388-firmware\n-plymouth\n\n%end\n', 'offline_icicle': True, 'generate_icicle': 'False'}, 'status_detail': {'activity': 'Initializing image prior to Cloud/OS customization', 'error': None}, 'data': '/tmp/koji/tasks/8527/558527/output_image/ae8cb28a-9653-4a63-8877-1de7c97a5864.body', 'status': 'NEW', 'template': "\n", 'percent_complete': 0, 'icicle': None, 'identifier': 'ae8cb28a-9653-4a63-8877-1de7c97a5864', 'properties': {}} Attempting to match list target (['Fedora', '22', 'aarch64']) create_base_image() called for TinMan plugin - creating a BaseImage libvirt bridge name is virbr0 Libvirt type is kvm Starting new HTTP connection (1): build.openanolis.cn:80 http://build.openanolis.cn:80 "HEAD /kojifiles/output/nightly/anolis-23-20230309.9/compose/BaseOS/aarch64/os/ HTTP/1.1" 200 0 Name: factory-build-ae8cb28a-9653-4a63-8877-1de7c97a5864, UUID: 09e71f32-1596-4b35-9a28-675756aec47e MAC: 52:54:00:30:05:85, distro: Fedora update: 22, arch: aarch64, diskimage: /tmp/koji/tasks/8527/558527/scratch_images/factory-build-ae8cb28a-9653-4a63-8877-1de7c97a5864.dsk nicmodel: virtio, clockoffset: utc mousetype: usb, disk_bus: virtio, disk_dev: vda icicletmp: /tmp/koji/tasks/8527/558527/oz_data/icicletmp/factory-build-ae8cb28a-9653-4a63-8877-1de7c97a5864, listen_port: 45809 console_listen_port: 34803 Original ISO path: /tmp/koji/tasks/8527/558527/oz_data/isos/Fedora22aarch64-url.iso Modified ISO cache: /tmp/koji/tasks/8527/558527/oz_data/isos/Fedora22aarch64-url-oz.iso Output ISO path: /tmp/koji/tasks/8527/558527/scratch_images/factory-build-ae8cb28a-9653-4a63-8877-1de7c97a5864-url-oz.iso ISO content path: /tmp/koji/tasks/8527/558527/oz_data/isocontent/factory-build-ae8cb28a-9653-4a63-8877-1de7c97a5864-url Cleaning up any old Oz guest Cleaning up guest named factory-build-ae8cb28a-9653-4a63-8877-1de7c97a5864 Generating JEOS install media Grabbing named lock (Fedora-22-aarch64-url) Got named lock (Fedora-22-aarch64-url) Installtype is URL, trying to do direct kernel boot Starting new HTTP connection (1): build.openanolis.cn:80 http://build.openanolis.cn:80 "HEAD /kojifiles/output/nightly/anolis-23-20230309.9/compose/BaseOS/aarch64/os//.treeinfo HTTP/1.1" 200 0 Going to write treeinfo to /tmp/koji/tasks/8527/558527/oz_data/icicletmp/factory-build-ae8cb28a-9653-4a63-8877-1de7c97a5864/treeinfo Trying to get treeinfo from http://build.openanolis.cn/kojifiles/output/nightly/anolis-23-20230309.9/compose/BaseOS/aarch64/os//.treeinfo Starting new HTTP connection (1): build.openanolis.cn:80 http://build.openanolis.cn:80 "GET /kojifiles/output/nightly/anolis-23-20230309.9/compose/BaseOS/aarch64/os//.treeinfo HTTP/1.1" 200 1321 Got treeinfo, parsing Returning kernel images/pxeboot/vmlinuz and initrd images/pxeboot/initrd.img Fetching the original media Starting new HTTP connection (1): build.openanolis.cn:80 http://build.openanolis.cn:80 "HEAD /kojifiles/output/nightly/anolis-23-20230309.9/compose/BaseOS/aarch64/os/images/pxeboot/vmlinuz HTTP/1.1" 200 0 Fetching the original install media from http://build.openanolis.cn/kojifiles/output/nightly/anolis-23-20230309.9/compose/BaseOS/aarch64/os/images/pxeboot/vmlinuz Starting new HTTP connection (1): build.openanolis.cn:80 http://build.openanolis.cn:80 "GET /kojifiles/output/nightly/anolis-23-20230309.9/compose/BaseOS/aarch64/os/images/pxeboot/vmlinuz HTTP/1.1" 200 10165488 30168kB of 9927kB Could not do direct boot, fetching boot.iso instead (the following error message is useful for bug reports, but can be ignored) Expected to download 10165488 bytes, downloaded 30892544 Generating install media Fetching the original media Starting new HTTP connection (1): build.openanolis.cn:80 http://build.openanolis.cn:80 "HEAD /kojifiles/output/nightly/anolis-23-20230309.9/compose/BaseOS/aarch64/os//images/boot.iso HTTP/1.1" 200 0 Fetching the original install media from http://build.openanolis.cn/kojifiles/output/nightly/anolis-23-20230309.9/compose/BaseOS/aarch64/os//images/boot.iso Starting new HTTP connection (1): build.openanolis.cn:80 http://build.openanolis.cn:80 "GET /kojifiles/output/nightly/anolis-23-20230309.9/compose/BaseOS/aarch64/os//images/boot.iso HTTP/1.1" 200 692932608 10240kB of 676692kB 20480kB of 676692kB 30720kB of 676692kB 40960kB of 676692kB 51200kB of 676692kB 61440kB of 676692kB 71680kB of 676692kB 81920kB of 676692kB 92160kB of 676692kB 102400kB of 676692kB 112640kB of 676692kB 122880kB of 676692kB 133120kB of 676692kB 143360kB of 676692kB 153600kB of 676692kB 163840kB of 676692kB 174080kB of 676692kB 184320kB of 676692kB 194560kB of 676692kB 204800kB of 676692kB 215040kB of 676692kB 225280kB of 676692kB 235520kB of 676692kB 245760kB of 676692kB 256000kB of 676692kB 266240kB of 676692kB 276480kB of 676692kB 286720kB of 676692kB 296960kB of 676692kB 307200kB of 676692kB 317440kB of 676692kB 327680kB of 676692kB 337920kB of 676692kB 348160kB of 676692kB 358400kB of 676692kB 368640kB of 676692kB 378880kB of 676692kB 389120kB of 676692kB 399360kB of 676692kB 409600kB of 676692kB 419840kB of 676692kB 430080kB of 676692kB 440320kB of 676692kB 450560kB of 676692kB 460800kB of 676692kB 471040kB of 676692kB 481280kB of 676692kB 491520kB of 676692kB 501760kB of 676692kB 512000kB of 676692kB 522240kB of 676692kB 532480kB of 676692kB 542720kB of 676692kB 552960kB of 676692kB 563200kB of 676692kB 573440kB of 676692kB 583680kB of 676692kB 593920kB of 676692kB 604160kB of 676692kB 614400kB of 676692kB 624640kB of 676692kB 634880kB of 676692kB 645120kB of 676692kB 655360kB of 676692kB 665600kB of 676692kB 675840kB of 676692kB 676692kB of 676692kB Copying ISO contents for modification Setting up guestfs handle for factory-build-ae8cb28a-9653-4a63-8877-1de7c97a5864 Adding ISO image /tmp/koji/tasks/8527/558527/oz_data/isos/Fedora22aarch64-url.iso Launching guestfs Releasing named lock (Fedora-22-aarch64-url) Removed builder from BuildDispatcher on notification from image ae8cb28a-9653-4a63-8877-1de7c97a5864: 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 (ae8cb28a-9653-4a63-8877-1de7c97a5864): {'type': 'BaseImage', 'parameters': {'install_script': '#version=F26\nignoredisk --only-use=vda\n# Keyboard layouts\nkeyboard \'us\'\n# Root password\nrootpw --iscrypted thereisnopasswordanditslocked\n# Use network installation\nurl --url="http://build.openanolis.cn/kojifiles/output/nightly/anolis-23-20230309.9/compose/BaseOS/aarch64/os/"\n# System language\nlang en_US.UTF-8\n# Firewall configuration\nfirewall --enabled --service=ssh\nrepo --name="koji-override-0" --baseurl=http://build.openanolis.cn/kojifiles/output/nightly/anolis-23-20230309.9/compose/BaseOS/aarch64/os/\nrepo --name="koji-override-1" --baseurl=http://build.openanolis.cn/kojifiles/output/nightly/anolis-23-20230309.9/compose/AppStream/aarch64/os/\n# Shutdown after installation\nshutdown\n# Network information\nnetwork --bootproto=dhcp --device=link --activate\nnetwork --bootproto=dhcp --hostname=localhost.localdomain\n# System timezone\ntimezone UTC --isUtc\n# Use text mode install\ntext\n# System authorization information\nauth --enableshadow --passalgo=sha512\nfirstboot --disable\n# SELinux configuration\nselinux --enforcing\n\n# System services\nservices --disabled="kdump" --enabled="NetworkManager,sshd,rsyslog,chronyd,cloud-init,cloud-init-local,cloud-config,cloud-final,rngd"\n# System bootloader configuration\nbootloader --append="console=ttyS0,115200n8 no_timer_check crashkernel=auto net.ifnames=0" --location=mbr --timeout=1 --boot-drive=vda\nreqpart\n# Clear the Master Boot Record\nzerombr\n# Partition clearing information\nclearpart --all --initlabel\n# Disk partitioning information\npart / --fstype="xfs" --ondisk=vda --size=8000\n\n%post --erroronfail\npasswd -d root\npasswd -l root\n\n# pvgrub support\necho -n "Creating grub.conf for pvgrub"\nrootuuid=$( awk \'$2=="/" { print $1 };\' /etc/fstab )\nmkdir /boot/grub\necho -e \'default=0\\ntimeout=0\\n\\n\' > /boot/grub/grub.conf\nfor kv in $( ls -1v /boot/vmlinuz* |grep -v rescue |sed s/.*vmlinuz-// ); do\n echo "title CentOS Linux 8 ($kv)" >> /boot/grub/grub.conf\n echo -e "\\troot (hd0)" >> /boot/grub/grub.conf\n echo -e "\\tkernel /boot/vmlinuz-$kv ro root=$rootuuid console=hvc0 LANG=en_US.UTF-8" >> /boot/grub/grub.conf\n echo -e "\\tinitrd /boot/initramfs-$kv.img" >> /boot/grub/grub.conf\n echo\ndone\nln -sf grub.conf /boot/grub/menu.lst\nln -sf /boot/grub/grub.conf /etc/grub.conf\n\n# setup systemd to boot to the right runlevel\nrm -f /etc/systemd/system/default.target\nln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target\necho .\n\ndnf -C -y remove linux-firmware\n\n# Remove firewalld; it is required to be present for install/image building.\n# but we dont ship it in cloud\ndnf -C -y remove firewalld --setopt="clean_requirements_on_remove=1"\ndnf -C -y remove avahi\\* \nsed -i \'/^#NAutoVTs=.*/ a\\\nNAutoVTs=0\' /etc/systemd/logind.conf\n\ncat > /etc/sysconfig/network << EOF\nNETWORKING=yes\nNOZEROCONF=yes\nEOF\n\n# Remove build-time resolvers to fix #16948\necho > /etc/resolv.conf\n\n# For cloud images, \'eth0\' _is_ the predictable device name, since\n# we don\'t want to be tied to specific virtual (!) hardware\nrm -f /etc/udev/rules.d/70*\nln -s /dev/null /etc/udev/rules.d/80-net-name-slot.rules\n\n# simple eth0 config, again not hard-coded to the build hardware\ncat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF\nDEVICE="eth0"\nBOOTPROTO="dhcp"\nONBOOT="yes"\nTYPE="Ethernet"\nUSERCTL="yes"\nPEERDNS="yes"\nIPV6INIT="no"\nPERSISTENT_DHCLIENT="1"\nEOF\n\necho "virtual-guest" > /etc/tuned/active_profile\n\n# generic localhost names\ncat > /etc/hosts << EOF\n127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4\n::1 localhost localhost.localdomain localhost6 localhost6.localdomain6\n\nEOF\necho .\n\nsystemctl mask tmp.mount\n\ncat < /etc/sysconfig/kernel\n# UPDATEDEFAULT specifies if new-kernel-pkg should make\n# new kernels the default\nUPDATEDEFAULT=yes\n\n# DEFAULTKERNEL specifies the default kernel package type\nDEFAULTKERNEL=kernel\nEOL\n\n# make sure firstboot doesn\'t start\necho "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot\n\n# centos cloud user\necho -e \'centos\\tALL=(ALL)\\tNOPASSWD: ALL\' >> /etc/sudoers\nsed -i \'s/name: cloud-user/name: centos/g\' /etc/cloud/cloud.cfg\n\ndnf clean all\n\n# XXX instance type markers - MUST match CentOS Infra expectation\necho \'genclo\' > /etc/yum/vars/infra\n\n# change dhcp client retry/timeouts to resolve #6866\ncat >> /etc/dhcp/dhclient.conf << EOF\n\ntimeout 300;\nretry 60;\nEOF\n\n\nrm -rf /var/log/yum.log\nrm -rf /var/lib/yum/*\nrm -rf /root/install.log\nrm -rf /root/install.log.syslog\nrm -rf /root/anaconda-ks.cfg\nrm -rf /var/log/anaconda*\n\nrm -f /var/lib/systemd/random-seed\n\ncat /dev/null > /etc/machine-id\n\necho "Fixing SELinux contexts."\ntouch /var/log/cron\ntouch /var/log/boot.log\nmkdir -p /var/cache/yum\n/usr/sbin/fixfiles -R -a restore\n\n# reorder console entries\nsed -i \'s/console=tty0/console=tty0 console=ttyS0,115200n8/\' /boot/grub2/grub.cfg\n\ntrue\n\n%end\n\n%packages\n@core\nNetworkManager\ncentos-release\nchrony\ncloud-init\ncloud-utils-growpart\ncockpit-system\ncockpit-ws\ndhcp-client\ndnf\ndnf-utils\ndracut-config-generic\ndracut-norescue\nfirewalld\ngdisk\ngrub2\nkernel\nnfs-utils\npython3-jsonschema\nqemu-guest-agent\nrng-tools\nrsync\ntar\nyum\nyum-utils\n-aic94xx-firmware\n-alsa-firmware\n-alsa-lib\n-alsa-tools-firmware\n-biosdevname\n-iprutils\n-ivtv-firmware\n-iwl100-firmware\n-iwl1000-firmware\n-iwl105-firmware\n-iwl135-firmware\n-iwl2000-firmware\n-iwl2030-firmware\n-iwl3160-firmware\n-iwl3945-firmware\n-iwl4965-firmware\n-iwl5000-firmware\n-iwl5150-firmware\n-iwl6000-firmware\n-iwl6000g2a-firmware\n-iwl6000g2b-firmware\n-iwl6050-firmware\n-iwl7260-firmware\n-langpacks-*\n-langpacks-en\n-libertas-sd8686-firmware\n-libertas-sd8787-firmware\n-libertas-usb8388-firmware\n-plymouth\n\n%end\n', 'offline_icicle': True, 'generate_icicle': 'False'}, 'status_detail': {'activity': 'Base Image build failed with exception.', 'error': 'could not create appliance through libvirt.\n\nTry running qemu directly without libvirt using this environment variable:\nexport LIBGUESTFS_BACKEND=direct\n\nOriginal error from libvirt: internal error: qemu unexpectedly closed the monitor: 2023-03-09T11:37:52.890019Z qemu-kvm: -device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,device_id=drive-scsi0-0-0-0,drive=libvirt-2-format,id=scsi0-0-0-0,bootindex=1,write-cache=on: Failed to lock byte 100 [code=1 int1=-1]'}, 'data': '/tmp/koji/tasks/8527/558527/output_image/ae8cb28a-9653-4a63-8877-1de7c97a5864.body', 'status': 'FAILED', 'template': "\n", 'percent_complete': 0, 'icicle': None, 'identifier': 'ae8cb28a-9653-4a63-8877-1de7c97a5864', 'properties': {}} Exception encountered in _build_image_from_template thread could not create appliance through libvirt. Try running qemu directly without libvirt using this environment variable: export LIBGUESTFS_BACKEND=direct Original error from libvirt: internal error: qemu unexpectedly closed the monitor: 2023-03-09T11:37:52.890019Z qemu-kvm: -device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,device_id=drive-scsi0-0-0-0,drive=libvirt-2-format,id=scsi0-0-0-0,bootindex=1,write-cache=on: Failed to lock byte 100 [code=1 int1=-1] Traceback (most recent call last): File "/usr/lib/python3.6/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.6/site-packages/imagefactory_plugins/TinMan/TinMan.py", line 325, in create_base_image self.threadsafe_generate_install_media(self.guest) File "/usr/lib/python3.6/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.6/site-packages/oz/RedHat.py", line 690, in generate_install_media customize_or_icicle) File "/usr/lib/python3.6/site-packages/oz/Guest.py", line 1726, in _iso_generate_install_media self._copy_iso() File "/usr/lib/python3.6/site-packages/oz/Guest.py", line 1372, in _copy_iso gfs.launch() File "/usr/lib64/python3.6/site-packages/guestfs.py", line 6139, in launch r = libguestfsmod.launch(self._o) RuntimeError: could not create appliance through libvirt. Try running qemu directly without libvirt using this environment variable: export LIBGUESTFS_BACKEND=direct Original error from libvirt: internal error: qemu unexpectedly closed the monitor: 2023-03-09T11:37:52.890019Z qemu-kvm: -device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,device_id=drive-scsi0-0-0-0,drive=libvirt-2-format,id=scsi0-0-0-0,bootindex=1,write-cache=on: Failed to lock byte 100 [code=1 int1=-1] ABORT called in TinMan plugin Domain not found: no domain with matching name 'factory-build-ae8cb28a-9653-4a63-8877-1de7c97a5864' Traceback (most recent call last): File "/usr/lib/python3.6/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.6/site-packages/libvirt.py", line 4893, in lookupByName raise libvirtError('virDomainLookupByName() failed') libvirt.libvirtError: Domain not found: no domain with matching name 'factory-build-ae8cb28a-9653-4a63-8877-1de7c97a5864' No Oz VM found with name (factory-build-ae8cb28a-9653-4a63-8877-1de7c97a5864) - nothing to do This likely means the local VM has already been destroyed or never started Resetting dropped connection: 8.131.87.1 https://8.131.87.1:443 "POST /kojihub?session-id=7909996&session-key=66-Z3NEU7Xyt6PxJn2E7iA&callnum=10 HTTP/1.1" 200 114