Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/shim.spec'], chrootPath='/var/lib/mock/dist-circle9-build-82313-25427/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/shim.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1654473600 Wrote: /builddir/build/SRPMS/shim-15.6-1.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps --nocheck /builddir/build/SPECS/shim.spec'], chrootPath='/var/lib/mock/dist-circle9-build-82313-25427/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps --nocheck /builddir/build/SPECS/shim.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1654473600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AAr6Xz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf shim-15.6 + mkdir shim-15.6 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LClZcP + umask 022 + cd /builddir/build/BUILD + export 'PS4=${LINENO}: ' + PS4='${LINENO}: ' 33: cd shim-15.6 35: '[' yes = yes-temporarily-disabled-20180723 ']' 49: cp /builddir/build/SOURCES/shimx64.efi shimx64.efi 50: '[' yes = yes ']' 52: '[' 0 -ne 0 ']' 67: cp -av /usr/share/shim/15.6-1.el9/x64/shimx64.efi shimx64-unsigned.efi '/usr/share/shim/15.6-1.el9/x64/shimx64.efi' -> 'shimx64-unsigned.efi' 72: /usr/libexec/pesign/pesign-rpmbuild-helper x86_64 /usr/bin/pesign /usr/bin/pesign-client --client-token 'Circle Linux Secure Boot Signing Cert' --client-cert 'Circle Linux Secure Boot Signing Cert' --cert 'Circle Linux Secure Boot Signing Cert' --hostname x86build001.cclinux.org --vendor Circle --rhelver 9 --rhelver 9 --rhelcert circlebootsigningcert --rhelcafile /builddir/build/SOURCES/circle-boot-ca-cert.der --rhelcertfile /builddir/build/SOURCES/circle-boot-signing-cert.der --in shimx64-unsigned.efi --out shimx64-signed.efi --sign + main x86_64 /usr/bin/pesign /usr/bin/pesign-client --client-token 'Circle Linux Secure Boot Signing Cert' --client-cert 'Circle Linux Secure Boot Signing Cert' --cert 'Circle Linux Secure Boot Signing Cert' --hostname x86build001.cclinux.org --vendor Circle --rhelver 9 --rhelver 9 --rhelcert circlebootsigningcert --rhelcafile /builddir/build/SOURCES/circle-boot-ca-cert.der --rhelcertfile /builddir/build/SOURCES/circle-boot-signing-cert.der --in shimx64-unsigned.efi --out shimx64-signed.efi --sign + [[ 28 -lt 3 ]] + local target_cpu=x86_64 + shift + local bin=/usr/bin/pesign + shift + local client=/usr/bin/pesign-client + shift + local rhelcafile= + local rhelcertfile= + certout=() + local certout + sattrout=() + local sattrout + input=() + local input + output=() + local output + client_token=() + local client_token + client_cert=() + local client_cert + token=() + local token + cert=() + local cert + rhelcert=() + local rhelcert + local rhelver=0 + local sign= + local arch= + local vendor= + local HOSTNAME= + [[ 25 -ge 2 ]] + case " ${1} " in + client_token[0]=-t + client_token[1]='Circle Linux Secure Boot Signing Cert' + shift + shift + [[ 23 -ge 2 ]] + case " ${1} " in + client_cert[0]=-c + client_cert[1]='Circle Linux Secure Boot Signing Cert' + shift + shift + [[ 21 -ge 2 ]] + case " ${1} " in + cert[0]=-c + cert[1]='Circle Linux Secure Boot Signing Cert' + shift + shift + [[ 19 -ge 2 ]] + case " ${1} " in + HOSTNAME=x86build001.cclinux.org + shift + shift + [[ 17 -ge 2 ]] + case " ${1} " in + vendor=Circle + shift + shift + [[ 15 -ge 2 ]] + case " ${1} " in + rhelver=9 + shift + shift + [[ 13 -ge 2 ]] + case " ${1} " in + rhelver=9 + shift + shift + [[ 11 -ge 2 ]] + case " ${1} " in + rhelcert[0]=-c + rhelcert[1]=circlebootsigningcert + shift + shift + [[ 9 -ge 2 ]] + case " ${1} " in + rhelcafile=/builddir/build/SOURCES/circle-boot-ca-cert.der + shift + shift + [[ 7 -ge 2 ]] + case " ${1} " in + rhelcertfile=/builddir/build/SOURCES/circle-boot-signing-cert.der + shift + shift + [[ 5 -ge 2 ]] + case " ${1} " in + input[0]=-i + input[1]=shimx64-unsigned.efi + shift + shift + [[ 3 -ge 2 ]] + case " ${1} " in + output[0]=-o + output[1]=shimx64-signed.efi + shift + shift + [[ 1 -ge 2 ]] + [[ 1 -ge 1 ]] + [[ --sign = --sign ]] + sign=-s + shift + [[ -z x86_64 ]] + target_cpu=x86_64 + target_cpu=x64 + target_cpu=x64 + target_cpu=x64 + local nssdir=/etc/pki/pesign + [[ 2 -eq 2 ]] + [[ Circle Linux Secure Boot Signing Cert == \C\i\r\c\l\e\ \L\i\n\u\x\ \S\e\c\u\r\e\ \B\o\o\t\ \S\i\g\n\i\n\g\ \L\o\c\a\l\ \T\e\s\t\ \C\e\r\t ]] + [[ -x /usr/bin/pesign ]] + is_efi_arch x64 + local arch=x64 + arches=('aa64' 'ia32' 'x64') + local arches + local x + for x in "${arches[@]}" + [[ x64 = \a\a\6\4 ]] + for x in "${arches[@]}" + [[ x64 = \i\a\3\2 ]] + for x in "${arches[@]}" + [[ x64 = \x\6\4 ]] + return 0 + /usr/bin/pesign --certdir /etc/pki/pesign -c 'Circle Linux Secure Boot Signing Cert' -s -i shimx64-unsigned.efi -o shimx64-signed.efi + [[ 2 -eq 2 ]] + error_on_empty shimx64-signed.efi + local f=shimx64-signed.efi + [[ ! -s shimx64-signed.efi ]] 95: mv shimx64-signed.efi shimx64-circle.efi 97: '[' yes = no ']' 98: '[' 0 -ne 0 ']' 102: '[' 0 -ne 0 ']' 117: cp -av /usr/share/shim/15.6-1.el9/x64/mmx64.efi mmx64-unsigned.efi '/usr/share/shim/15.6-1.el9/x64/mmx64.efi' -> 'mmx64-unsigned.efi' 122: /usr/libexec/pesign/pesign-rpmbuild-helper x86_64 /usr/bin/pesign /usr/bin/pesign-client --client-token 'Circle Linux Secure Boot Signing Cert' --client-cert 'Circle Linux Secure Boot Signing Cert' --cert 'Circle Linux Secure Boot Signing Cert' --hostname x86build001.cclinux.org --vendor Circle --rhelver 9 --rhelver 9 --rhelcert circlebootsigningcert --rhelcafile /builddir/build/SOURCES/circle-boot-ca-cert.der --rhelcertfile /builddir/build/SOURCES/circle-boot-signing-cert.der --in mmx64-unsigned.efi --out mmx64-signed.efi --sign + main x86_64 /usr/bin/pesign /usr/bin/pesign-client --client-token 'Circle Linux Secure Boot Signing Cert' --client-cert 'Circle Linux Secure Boot Signing Cert' --cert 'Circle Linux Secure Boot Signing Cert' --hostname x86build001.cclinux.org --vendor Circle --rhelver 9 --rhelver 9 --rhelcert circlebootsigningcert --rhelcafile /builddir/build/SOURCES/circle-boot-ca-cert.der --rhelcertfile /builddir/build/SOURCES/circle-boot-signing-cert.der --in mmx64-unsigned.efi --out mmx64-signed.efi --sign + [[ 28 -lt 3 ]] + local target_cpu=x86_64 + shift + local bin=/usr/bin/pesign + shift + local client=/usr/bin/pesign-client + shift + local rhelcafile= + local rhelcertfile= + certout=() + local certout + sattrout=() + local sattrout + input=() + local input + output=() + local output + client_token=() + local client_token + client_cert=() + local client_cert + token=() + local token + cert=() + local cert + rhelcert=() + local rhelcert + local rhelver=0 + local sign= + local arch= + local vendor= + local HOSTNAME= + [[ 25 -ge 2 ]] + case " ${1} " in + client_token[0]=-t + client_token[1]='Circle Linux Secure Boot Signing Cert' + shift + shift + [[ 23 -ge 2 ]] + case " ${1} " in + client_cert[0]=-c + client_cert[1]='Circle Linux Secure Boot Signing Cert' + shift + shift + [[ 21 -ge 2 ]] + case " ${1} " in + cert[0]=-c + cert[1]='Circle Linux Secure Boot Signing Cert' + shift + shift + [[ 19 -ge 2 ]] + case " ${1} " in + HOSTNAME=x86build001.cclinux.org + shift + shift + [[ 17 -ge 2 ]] + case " ${1} " in + vendor=Circle + shift + shift + [[ 15 -ge 2 ]] + case " ${1} " in + rhelver=9 + shift + shift + [[ 13 -ge 2 ]] + case " ${1} " in + rhelver=9 + shift + shift + [[ 11 -ge 2 ]] + case " ${1} " in + rhelcert[0]=-c + rhelcert[1]=circlebootsigningcert + shift + shift + [[ 9 -ge 2 ]] + case " ${1} " in + rhelcafile=/builddir/build/SOURCES/circle-boot-ca-cert.der + shift + shift + [[ 7 -ge 2 ]] + case " ${1} " in + rhelcertfile=/builddir/build/SOURCES/circle-boot-signing-cert.der + shift + shift + [[ 5 -ge 2 ]] + case " ${1} " in + input[0]=-i + input[1]=mmx64-unsigned.efi + shift + shift + [[ 3 -ge 2 ]] + case " ${1} " in + output[0]=-o + output[1]=mmx64-signed.efi + shift + shift + [[ 1 -ge 2 ]] + [[ 1 -ge 1 ]] + [[ --sign = --sign ]] + sign=-s + shift + [[ -z x86_64 ]] + target_cpu=x86_64 + target_cpu=x64 + target_cpu=x64 + target_cpu=x64 + local nssdir=/etc/pki/pesign + [[ 2 -eq 2 ]] + [[ Circle Linux Secure Boot Signing Cert == \C\i\r\c\l\e\ \L\i\n\u\x\ \S\e\c\u\r\e\ \B\o\o\t\ \S\i\g\n\i\n\g\ \L\o\c\a\l\ \T\e\s\t\ \C\e\r\t ]] + [[ -x /usr/bin/pesign ]] + is_efi_arch x64 + local arch=x64 + arches=('aa64' 'ia32' 'x64') + local arches + local x + for x in "${arches[@]}" + [[ x64 = \a\a\6\4 ]] + for x in "${arches[@]}" + [[ x64 = \i\a\3\2 ]] + for x in "${arches[@]}" + [[ x64 = \x\6\4 ]] + return 0 + /usr/bin/pesign --certdir /etc/pki/pesign -c 'Circle Linux Secure Boot Signing Cert' -s -i mmx64-unsigned.efi -o mmx64-signed.efi + [[ 2 -eq 2 ]] + error_on_empty mmx64-signed.efi + local f=mmx64-signed.efi + [[ ! -s mmx64-signed.efi ]] 145: mv mmx64-signed.efi mmx64.efi 147: '[' 0 -ne 0 ']' 162: cp -av /usr/share/shim/15.6-1.el9/x64/fbx64.efi fbx64-unsigned.efi '/usr/share/shim/15.6-1.el9/x64/fbx64.efi' -> 'fbx64-unsigned.efi' 167: /usr/libexec/pesign/pesign-rpmbuild-helper x86_64 /usr/bin/pesign /usr/bin/pesign-client --client-token 'Circle Linux Secure Boot Signing Cert' --client-cert 'Circle Linux Secure Boot Signing Cert' --cert 'Circle Linux Secure Boot Signing Cert' --hostname x86build001.cclinux.org --vendor Circle --rhelver 9 --rhelver 9 --rhelcert circlebootsigningcert --rhelcafile /builddir/build/SOURCES/circle-boot-ca-cert.der --rhelcertfile /builddir/build/SOURCES/circle-boot-signing-cert.der --in fbx64-unsigned.efi --out fbx64-signed.efi --sign + main x86_64 /usr/bin/pesign /usr/bin/pesign-client --client-token 'Circle Linux Secure Boot Signing Cert' --client-cert 'Circle Linux Secure Boot Signing Cert' --cert 'Circle Linux Secure Boot Signing Cert' --hostname x86build001.cclinux.org --vendor Circle --rhelver 9 --rhelver 9 --rhelcert circlebootsigningcert --rhelcafile /builddir/build/SOURCES/circle-boot-ca-cert.der --rhelcertfile /builddir/build/SOURCES/circle-boot-signing-cert.der --in fbx64-unsigned.efi --out fbx64-signed.efi --sign + [[ 28 -lt 3 ]] + local target_cpu=x86_64 + shift + local bin=/usr/bin/pesign + shift + local client=/usr/bin/pesign-client + shift + local rhelcafile= + local rhelcertfile= + certout=() + local certout + sattrout=() + local sattrout + input=() + local input + output=() + local output + client_token=() + local client_token + client_cert=() + local client_cert + token=() + local token + cert=() + local cert + rhelcert=() + local rhelcert + local rhelver=0 + local sign= + local arch= + local vendor= + local HOSTNAME= + [[ 25 -ge 2 ]] + case " ${1} " in + client_token[0]=-t + client_token[1]='Circle Linux Secure Boot Signing Cert' + shift + shift + [[ 23 -ge 2 ]] + case " ${1} " in + client_cert[0]=-c + client_cert[1]='Circle Linux Secure Boot Signing Cert' + shift + shift + [[ 21 -ge 2 ]] + case " ${1} " in + cert[0]=-c + cert[1]='Circle Linux Secure Boot Signing Cert' + shift + shift + [[ 19 -ge 2 ]] + case " ${1} " in + HOSTNAME=x86build001.cclinux.org + shift + shift + [[ 17 -ge 2 ]] + case " ${1} " in + vendor=Circle + shift + shift + [[ 15 -ge 2 ]] + case " ${1} " in + rhelver=9 + shift + shift + [[ 13 -ge 2 ]] + case " ${1} " in + rhelver=9 + shift + shift + [[ 11 -ge 2 ]] + case " ${1} " in + rhelcert[0]=-c + rhelcert[1]=circlebootsigningcert + shift + shift + [[ 9 -ge 2 ]] + case " ${1} " in + rhelcafile=/builddir/build/SOURCES/circle-boot-ca-cert.der + shift + shift + [[ 7 -ge 2 ]] + case " ${1} " in + rhelcertfile=/builddir/build/SOURCES/circle-boot-signing-cert.der + shift + shift + [[ 5 -ge 2 ]] + case " ${1} " in + input[0]=-i + input[1]=fbx64-unsigned.efi + shift + shift + [[ 3 -ge 2 ]] + case " ${1} " in + output[0]=-o + output[1]=fbx64-signed.efi + shift + shift + [[ 1 -ge 2 ]] + [[ 1 -ge 1 ]] + [[ --sign = --sign ]] + sign=-s + shift + [[ -z x86_64 ]] + target_cpu=x86_64 + target_cpu=x64 + target_cpu=x64 + target_cpu=x64 + local nssdir=/etc/pki/pesign + [[ 2 -eq 2 ]] + [[ Circle Linux Secure Boot Signing Cert == \C\i\r\c\l\e\ \L\i\n\u\x\ \S\e\c\u\r\e\ \B\o\o\t\ \S\i\g\n\i\n\g\ \L\o\c\a\l\ \T\e\s\t\ \C\e\r\t ]] + [[ -x /usr/bin/pesign ]] + is_efi_arch x64 + local arch=x64 + arches=('aa64' 'ia32' 'x64') + local arches + local x + for x in "${arches[@]}" + [[ x64 = \a\a\6\4 ]] + for x in "${arches[@]}" + [[ x64 = \i\a\3\2 ]] + for x in "${arches[@]}" + [[ x64 = \x\6\4 ]] + return 0 + /usr/bin/pesign --certdir /etc/pki/pesign -c 'Circle Linux Secure Boot Signing Cert' -s -i fbx64-unsigned.efi -o fbx64-signed.efi + [[ 2 -eq 2 ]] + error_on_empty fbx64-signed.efi + local f=fbx64-signed.efi + [[ ! -s fbx64-signed.efi ]] 190: mv fbx64-signed.efi fbx64.efi 191: rm -vf mmx64-unsigned.efi fbx64-unsigned.efi shimx64-unsigned.efi removed 'mmx64-unsigned.efi' removed 'fbx64-unsigned.efi' removed 'shimx64-unsigned.efi' 199: RPM_EC=0 2200: jobs -p 201: exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hwpie6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64 + rm -rf /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64 + cd shim-15.6 + install -D -d -m 0755 /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64/boot/ + install -D -d -m 0700 /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64/boot/efi/ + install -D -d -m 0700 /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64/boot/efi/EFI/ + install -D -d -m 0700 /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64/boot/efi/EFI/circle/ + install -D -d -m 0700 /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64/boot/efi/EFI/BOOT/ + install -m 0700 shimx64.efi /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64/boot/efi/EFI/circle/shimx64.efi + install -m 0700 shimx64-circle.efi /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64/boot/efi/EFI/circle/shimx64-circle.efi + install -m 0700 mmx64.efi /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64/boot/efi/EFI/circle/mmx64.efi + install -m 0700 /builddir/build/SOURCES/BOOTX64.CSV /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64/boot/efi/EFI/circle/BOOTX64.CSV + install -m 0700 shimx64.efi /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64/boot/efi/EFI/BOOT/BOOTX64.EFI + install -m 0700 fbx64.efi /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64/boot/efi/EFI/BOOT/fbx64.efi + install -m 0700 /builddir/build/SOURCES/shimx64.efi /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64/boot/efi/EFI/circle/shim.efi + cd /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64 + find ./boot/efi -type f + sed -e 's/\./\^/' -e 's,^\\\./,.*/,' -e 's,$,$,' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs --files-from /builddir/build/BUILD/shim-x64-15.6-1.el9.x86_64-shebangs.txt Processing files: shim-x64-15.6-1.el9.x86_64 Provides: bundled(openssl) = 1.0.2j shim = 15.6-1.el9 shim-signed = 15.6-1.el9 shim-signed-x64 = 15.6-1.el9 shim-x64 = 15.6-1.el9 shim-x64(x86-64) = 15.6-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: shim < 15.6-1.el9 shim-signed < 15.6-1.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64 Wrote: /builddir/build/RPMS/shim-x64-15.6-1.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qOY7KV + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/shim-15.6-1.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0