dispatching a baseimg builder
templates:
Anolis-8-GenericCloud-rhck-8.6-20220606.0.x86_64
Fedora
22
x86_64
http://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os/
rpm -qa --qf '%{NAME},%{VERSION},%{RELEASE},%{ARCH},%{EPOCH},%{SIZE},%{SIGMD5},%{BUILDTIME}\n'
Anolis-8-GenericCloud-rhck-8.6-20220606.0.x86_64 OS
20G
pre-merge params: {'install_script': '#version=F26\n# Keyboard layouts\nkeyboard --vckeymap=us --xlayouts=\'us\'\n# Root password\nrootpw --iscrypted --lock thereisnopasswordanditslocked\n# Use network installation\nurl --url="http://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os/"\n# System language\nlang en_US.UTF-8\n# Firewall configuration\nfirewall --disabled\nrepo --name="koji-override-0" --baseurl=http://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os/\nrepo --name="koji-override-1" --baseurl=http://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/AppStream/x86_64/os/\nrepo --name="koji-override-2" --baseurl=http://build.openanolis.cn/kojifiles/output/anolis-8-20220606.0/compose/BaseOS/x86_64/os\n# Shutdown after installation\nshutdown\nuser --groups=sudo --name=anuser --password=$6$aMtlG.QNJ4krunUE$qJADOFr9H9f89Dt8icdmJ50U4w/nV4CL6mwvY2JptN6kAkzsHR0AAowEZ/SGvhrsAxHYiyxC4xBoOSOvsq7yq1 --iscrypted\n# Network information\nnetwork --bootproto=dhcp --device=link --activate\nnetwork --bootproto=dhcp --hostname=localhost.localdomain\n# System timezone\ntimezone America/New_York --isUtc\n# Use text mode install\ntext\nfirstboot --disable\n# SELinux configuration\nselinux --disabled\n# Installation logging level\nlogging --level=info\n# System services\nservices --enabled="chronyd"\n# System bootloader configuration\nbootloader --location=mbr --boot-drive=vda\nreqpart\n# Clear the Master Boot Record\nzerombr\n# Partition clearing information\nclearpart --all --initlabel\n# Disk partitioning information\npart swap --size=2048 --label=swap\npart / --asprimary --fstype="ext4" --grow --ondisk=vda --size=10240 --mkfsoptions="-O ^64bit,^metadata_csum"\n\n%post\nmkdir -p /etc/dracut.conf.d\necho \'add_drivers+=" nvme "\' >>/etc/dracut.conf.d/nvme.conf\nmkinitrd -f \\\n --with=nvme --preload=nvme \\\n /boot/initramfs-$($KERNEL_VERSION).img $(KERNEL_VERSION)\n%end\n\n%addon com_redhat_kdump --enable --reserve-mb=auto\n\n\n%end%anaconda\npwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty\n\npwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok\n\npwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty\n\n%end\n%packages --ignoremissing\n@base\n@core\ncurl\ngcc\ngrub2-efi-x64\ngrub2-pc\ngrubby\nkernel-4.18.0\nntp\nshim\nssh\nsysstat\ntelnet\nwget\n\n%end\n', 'offline_icicle': True}
post-merge params: {'install_script': '#version=F26\n# Keyboard layouts\nkeyboard --vckeymap=us --xlayouts=\'us\'\n# Root password\nrootpw --iscrypted --lock thereisnopasswordanditslocked\n# Use network installation\nurl --url="http://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os/"\n# System language\nlang en_US.UTF-8\n# Firewall configuration\nfirewall --disabled\nrepo --name="koji-override-0" --baseurl=http://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os/\nrepo --name="koji-override-1" --baseurl=http://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/AppStream/x86_64/os/\nrepo --name="koji-override-2" --baseurl=http://build.openanolis.cn/kojifiles/output/anolis-8-20220606.0/compose/BaseOS/x86_64/os\n# Shutdown after installation\nshutdown\nuser --groups=sudo --name=anuser --password=$6$aMtlG.QNJ4krunUE$qJADOFr9H9f89Dt8icdmJ50U4w/nV4CL6mwvY2JptN6kAkzsHR0AAowEZ/SGvhrsAxHYiyxC4xBoOSOvsq7yq1 --iscrypted\n# Network information\nnetwork --bootproto=dhcp --device=link --activate\nnetwork --bootproto=dhcp --hostname=localhost.localdomain\n# System timezone\ntimezone America/New_York --isUtc\n# Use text mode install\ntext\nfirstboot --disable\n# SELinux configuration\nselinux --disabled\n# Installation logging level\nlogging --level=info\n# System services\nservices --enabled="chronyd"\n# System bootloader configuration\nbootloader --location=mbr --boot-drive=vda\nreqpart\n# Clear the Master Boot Record\nzerombr\n# Partition clearing information\nclearpart --all --initlabel\n# Disk partitioning information\npart swap --size=2048 --label=swap\npart / --asprimary --fstype="ext4" --grow --ondisk=vda --size=10240 --mkfsoptions="-O ^64bit,^metadata_csum"\n\n%post\nmkdir -p /etc/dracut.conf.d\necho \'add_drivers+=" nvme "\' >>/etc/dracut.conf.d/nvme.conf\nmkinitrd -f \\\n --with=nvme --preload=nvme \\\n /boot/initramfs-$($KERNEL_VERSION).img $(KERNEL_VERSION)\n%end\n\n%addon com_redhat_kdump --enable --reserve-mb=auto\n\n\n%end%anaconda\npwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty\n\npwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok\n\npwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty\n\n%end\n%packages --ignoremissing\n@base\n@core\ncurl\ngcc\ngrub2-efi-x64\ngrub2-pc\ngrubby\nkernel-4.18.0\nntp\nshim\nssh\nsysstat\ntelnet\nwget\n\n%end\n', 'offline_icicle': True, 'generate_icicle': 'False'}
Creating directory (/tmp/koji/tasks/7929/297929/output_image) for persistent storage
No SecondaryDispatcher present - Use of secondary factories is not enabled
Created file /tmp/koji/tasks/7929/297929/output_image/e5c538ab-88b2-436a-a4d3-cce38b1d6c48.meta
Created file /tmp/koji/tasks/7929/297929/output_image/e5c538ab-88b2-436a-a4d3-cce38b1d6c48.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 (e5c538ab-88b2-436a-a4d3-cce38b1d6c48): {'type': 'BaseImage', 'data': '/tmp/koji/tasks/7929/297929/output_image/e5c538ab-88b2-436a-a4d3-cce38b1d6c48.body', 'percent_complete': 0, 'identifier': 'e5c538ab-88b2-436a-a4d3-cce38b1d6c48', 'template': "\n Anolis-8-GenericCloud-rhck-8.6-20220606.0.x86_64\n \n Fedora\n 22\n x86_64\n \n http://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os/\n \n \n rpm -qa --qf '%{NAME},%{VERSION},%{RELEASE},%{ARCH},%{EPOCH},%{SIZE},%{SIGMD5},%{BUILDTIME}\\n'\n \n \n Anolis-8-GenericCloud-rhck-8.6-20220606.0.x86_64 OS\n \n 20G\n \n\n", 'parameters': {'install_script': '#version=F26\n# Keyboard layouts\nkeyboard --vckeymap=us --xlayouts=\'us\'\n# Root password\nrootpw --iscrypted --lock thereisnopasswordanditslocked\n# Use network installation\nurl --url="http://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os/"\n# System language\nlang en_US.UTF-8\n# Firewall configuration\nfirewall --disabled\nrepo --name="koji-override-0" --baseurl=http://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os/\nrepo --name="koji-override-1" --baseurl=http://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/AppStream/x86_64/os/\nrepo --name="koji-override-2" --baseurl=http://build.openanolis.cn/kojifiles/output/anolis-8-20220606.0/compose/BaseOS/x86_64/os\n# Shutdown after installation\nshutdown\nuser --groups=sudo --name=anuser --password=$6$aMtlG.QNJ4krunUE$qJADOFr9H9f89Dt8icdmJ50U4w/nV4CL6mwvY2JptN6kAkzsHR0AAowEZ/SGvhrsAxHYiyxC4xBoOSOvsq7yq1 --iscrypted\n# Network information\nnetwork --bootproto=dhcp --device=link --activate\nnetwork --bootproto=dhcp --hostname=localhost.localdomain\n# System timezone\ntimezone America/New_York --isUtc\n# Use text mode install\ntext\nfirstboot --disable\n# SELinux configuration\nselinux --disabled\n# Installation logging level\nlogging --level=info\n# System services\nservices --enabled="chronyd"\n# System bootloader configuration\nbootloader --location=mbr --boot-drive=vda\nreqpart\n# Clear the Master Boot Record\nzerombr\n# Partition clearing information\nclearpart --all --initlabel\n# Disk partitioning information\npart swap --size=2048 --label=swap\npart / --asprimary --fstype="ext4" --grow --ondisk=vda --size=10240 --mkfsoptions="-O ^64bit,^metadata_csum"\n\n%post\nmkdir -p /etc/dracut.conf.d\necho \'add_drivers+=" nvme "\' >>/etc/dracut.conf.d/nvme.conf\nmkinitrd -f \\\n --with=nvme --preload=nvme \\\n /boot/initramfs-$($KERNEL_VERSION).img $(KERNEL_VERSION)\n%end\n\n%addon com_redhat_kdump --enable --reserve-mb=auto\n\n\n%end%anaconda\npwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty\n\npwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok\n\npwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty\n\n%end\n%packages --ignoremissing\n@base\n@core\ncurl\ngcc\ngrub2-efi-x64\ngrub2-pc\ngrubby\nkernel-4.18.0\nntp\nshim\nssh\nsysstat\ntelnet\nwget\n\n%end\n', 'offline_icicle': True, 'generate_icicle': 'False'}, 'status': 'NEW', 'properties': {}, 'status_detail': {'activity': 'Initializing image prior to Cloud/OS customization', 'error': None}, 'icicle': None}
Attempting to match list target (['Fedora', '22', 'x86_64'])
create_base_image() called for TinMan plugin - creating a BaseImage
libvirt bridge name is virbr0
Libvirt type is kvm
Starting new HTTP connection (1): 8.131.87.1:80
http://8.131.87.1:80 "HEAD /kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os/ HTTP/1.1" 404 0
Name: factory-build-e5c538ab-88b2-436a-a4d3-cce38b1d6c48, UUID: ebb5f585-95de-4c6a-aec8-cd006d93540d
MAC: 52:54:00:5f:a5:26, distro: Fedora
update: 22, arch: x86_64, diskimage: /tmp/koji/tasks/7929/297929/scratch_images/factory-build-e5c538ab-88b2-436a-a4d3-cce38b1d6c48.dsk
nicmodel: virtio, clockoffset: utc
mousetype: ps2, disk_bus: virtio, disk_dev: vda
icicletmp: /tmp/koji/tasks/7929/297929/oz_data/icicletmp/factory-build-e5c538ab-88b2-436a-a4d3-cce38b1d6c48, listen_port: 45891
console_listen_port: 41883
Original ISO path: /tmp/koji/tasks/7929/297929/oz_data/isos/Fedora22x86_64-url.iso
Modified ISO cache: /tmp/koji/tasks/7929/297929/oz_data/isos/Fedora22x86_64-url-oz.iso
Output ISO path: /tmp/koji/tasks/7929/297929/scratch_images/factory-build-e5c538ab-88b2-436a-a4d3-cce38b1d6c48-url-oz.iso
ISO content path: /tmp/koji/tasks/7929/297929/oz_data/isocontent/factory-build-e5c538ab-88b2-436a-a4d3-cce38b1d6c48-url
Cleaning up any old Oz guest
Cleaning up guest named factory-build-e5c538ab-88b2-436a-a4d3-cce38b1d6c48
Generating JEOS install media
Grabbing named lock (Fedora-22-x86_64-url)
Got named lock (Fedora-22-x86_64-url)
Installtype is URL, trying to do direct kernel boot
Starting new HTTP connection (1): 8.131.87.1:80
http://8.131.87.1:80 "HEAD /kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os//.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): 8.131.87.1:80
http://8.131.87.1:80 "HEAD /kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os/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://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os/images/pxeboot/vmlinuz to fetch boot media: {'Date': 'Mon, 06 Jun 2022 02:55:26 GMT', 'Server': 'Apache/2.4.37 (centos) OpenSSL/1.1.1g mod_auth_gssapi/1.6.1 mod_wsgi/4.6.4 Python/3.6', '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): 8.131.87.1:80
http://8.131.87.1:80 "HEAD /kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os//images/boot.iso HTTP/1.1" 404 0
Releasing named lock (Fedora-22-x86_64-url)
Removed builder from BuildDispatcher on notification from image e5c538ab-88b2-436a-a4d3-cce38b1d6c48: 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 (e5c538ab-88b2-436a-a4d3-cce38b1d6c48): {'type': 'BaseImage', 'data': '/tmp/koji/tasks/7929/297929/output_image/e5c538ab-88b2-436a-a4d3-cce38b1d6c48.body', 'percent_complete': 0, 'identifier': 'e5c538ab-88b2-436a-a4d3-cce38b1d6c48', 'template': "\n Anolis-8-GenericCloud-rhck-8.6-20220606.0.x86_64\n \n Fedora\n 22\n x86_64\n \n http://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os/\n \n \n rpm -qa --qf '%{NAME},%{VERSION},%{RELEASE},%{ARCH},%{EPOCH},%{SIZE},%{SIGMD5},%{BUILDTIME}\\n'\n \n \n Anolis-8-GenericCloud-rhck-8.6-20220606.0.x86_64 OS\n \n 20G\n \n\n", 'parameters': {'install_script': '#version=F26\n# Keyboard layouts\nkeyboard --vckeymap=us --xlayouts=\'us\'\n# Root password\nrootpw --iscrypted --lock thereisnopasswordanditslocked\n# Use network installation\nurl --url="http://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os/"\n# System language\nlang en_US.UTF-8\n# Firewall configuration\nfirewall --disabled\nrepo --name="koji-override-0" --baseurl=http://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os/\nrepo --name="koji-override-1" --baseurl=http://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/AppStream/x86_64/os/\nrepo --name="koji-override-2" --baseurl=http://build.openanolis.cn/kojifiles/output/anolis-8-20220606.0/compose/BaseOS/x86_64/os\n# Shutdown after installation\nshutdown\nuser --groups=sudo --name=anuser --password=$6$aMtlG.QNJ4krunUE$qJADOFr9H9f89Dt8icdmJ50U4w/nV4CL6mwvY2JptN6kAkzsHR0AAowEZ/SGvhrsAxHYiyxC4xBoOSOvsq7yq1 --iscrypted\n# Network information\nnetwork --bootproto=dhcp --device=link --activate\nnetwork --bootproto=dhcp --hostname=localhost.localdomain\n# System timezone\ntimezone America/New_York --isUtc\n# Use text mode install\ntext\nfirstboot --disable\n# SELinux configuration\nselinux --disabled\n# Installation logging level\nlogging --level=info\n# System services\nservices --enabled="chronyd"\n# System bootloader configuration\nbootloader --location=mbr --boot-drive=vda\nreqpart\n# Clear the Master Boot Record\nzerombr\n# Partition clearing information\nclearpart --all --initlabel\n# Disk partitioning information\npart swap --size=2048 --label=swap\npart / --asprimary --fstype="ext4" --grow --ondisk=vda --size=10240 --mkfsoptions="-O ^64bit,^metadata_csum"\n\n%post\nmkdir -p /etc/dracut.conf.d\necho \'add_drivers+=" nvme "\' >>/etc/dracut.conf.d/nvme.conf\nmkinitrd -f \\\n --with=nvme --preload=nvme \\\n /boot/initramfs-$($KERNEL_VERSION).img $(KERNEL_VERSION)\n%end\n\n%addon com_redhat_kdump --enable --reserve-mb=auto\n\n\n%end%anaconda\npwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty\n\npwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok\n\npwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty\n\n%end\n%packages --ignoremissing\n@base\n@core\ncurl\ngcc\ngrub2-efi-x64\ngrub2-pc\ngrubby\nkernel-4.18.0\nntp\nshim\nssh\nsysstat\ntelnet\nwget\n\n%end\n', 'offline_icicle': True, 'generate_icicle': 'False'}, 'status': 'FAILED', 'properties': {}, 'status_detail': {'activity': 'Base Image build failed with exception.', 'error': "Could not reach http://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os//images/boot.iso to fetch boot media: {'Date': 'Mon, 06 Jun 2022 02:55:26 GMT', 'Server': 'Apache/2.4.37 (centos) OpenSSL/1.1.1g mod_auth_gssapi/1.6.1 mod_wsgi/4.6.4 Python/3.6', 'Keep-Alive': 'timeout=5, max=100', 'Connection': 'Keep-Alive', 'Content-Type': 'text/html; charset=iso-8859-1', 'HTTP-Code': 404, 'Redirect-URL': None}"}, 'icicle': None}
Exception encountered in _build_image_from_template thread
Could not reach http://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os//images/boot.iso to fetch boot media: {'Date': 'Mon, 06 Jun 2022 02:55:26 GMT', 'Server': 'Apache/2.4.37 (centos) OpenSSL/1.1.1g mod_auth_gssapi/1.6.1 mod_wsgi/4.6.4 Python/3.6', '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.9/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.9/site-packages/imagefactory_plugins/TinMan/TinMan.py", line 325, in create_base_image
self.threadsafe_generate_install_media(self.guest)
File "/usr/lib/python3.9/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.9/site-packages/oz/RedHat.py", line 689, in generate_install_media
return self._iso_generate_install_media(fetchurl, force_download,
File "/usr/lib/python3.9/site-packages/oz/Guest.py", line 1726, in _iso_generate_install_media
self._get_original_iso(url, fd, outdir, force_download)
File "/usr/lib/python3.9/site-packages/oz/Guest.py", line 1355, in _get_original_iso
self._get_original_media(isourl, fd, outdir, force_download)
File "/usr/lib/python3.9/site-packages/oz/Guest.py", line 974, 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://8.131.87.1/kojifiles/output/an-8-6-Beta-new/compose/BaseOS/x86_64/os//images/boot.iso to fetch boot media: {'Date': 'Mon, 06 Jun 2022 02:55:26 GMT', 'Server': 'Apache/2.4.37 (centos) OpenSSL/1.1.1g mod_auth_gssapi/1.6.1 mod_wsgi/4.6.4 Python/3.6', 'Keep-Alive': 'timeout=5, max=100', 'Connection': 'Keep-Alive', 'Content-Type': 'text/html; charset=iso-8859-1', 'HTTP-Code': 404, 'Redirect-URL': None}
check image results: FAILED
ABORT called in TinMan plugin
Domain not found: no domain with matching name 'factory-build-e5c538ab-88b2-436a-a4d3-cce38b1d6c48'
Traceback (most recent call last):
File "/usr/lib/python3.9/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.9/site-packages/libvirt.py", line 4859, in lookupByName
raise libvirtError('virDomainLookupByName() failed')
libvirt.libvirtError: Domain not found: no domain with matching name 'factory-build-e5c538ab-88b2-436a-a4d3-cce38b1d6c48'
No Oz VM found with name (factory-build-e5c538ab-88b2-436a-a4d3-cce38b1d6c48) - nothing to do
This likely means the local VM has already been destroyed or never started
https://172.16.0.137:443 "POST /kojihub?session-id=3698614&session-key=52-DifkVMprnCcgtTkxjMh&callnum=10 HTTP/1.1" 200 114