out + 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= + [[ 23 -ge 2 ]] + case " ${1} " in + client_token[0]=-t + client_token[1]='OpenSC Card (Fedora Signer)' + shift + shift + [[ 21 -ge 2 ]] + case " ${1} " in + client_cert[0]=-c + client_cert[1]='/CN=Fedora Secure Boot Signer' + shift + shift + [[ 19 -ge 2 ]] + case " ${1} " in + cert[0]=-c + cert[1]='CentOS Signing Certificate' + shift + shift + [[ 17 -ge 2 ]] + case " ${1} " in + HOSTNAME=x86-05.stream.rdu2.redhat.com + shift + shift + [[ 15 -ge 2 ]] + case " ${1} " in + vendor=CentOS + shift + shift + [[ 13 -ge 2 ]] + case " ${1} " in + rhelver=9 + shift + shift + [[ 11 -ge 2 ]] + case " ${1} " in + rhelcert[0]=-c + rhelcert[1]=centossecureboot201 + shift + shift + [[ 9 -ge 2 ]] + case " ${1} " in + rhelcafile=/builddir/build/SOURCES/centossecurebootca2.cer + shift + shift + [[ 7 -ge 2 ]] + case " ${1} " in + rhelcertfile=/builddir/build/SOURCES/centossecureboot201.cer + shift + shift + [[ 5 -ge 2 ]] + case " ${1} " in + input[0]=-i + input[1]=pesign-test-app-x86_64-unsigned.efi + shift + shift + [[ 3 -ge 2 ]] + case " ${1} " in + output[0]=-o + output[1]=pesign-test-app-x86_64-signed.201.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 ]] + [[ CentOS Signing Certificate == \R\e\d\ \H\a\t\ \T\e\s\t\ \C\e\r\t\i\f\i\c\a\t\e ]] + [[ -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 ++ id -un + USERNAME=mockbuild + local socket= + grep -q ID=fedora /etc/os-release + [[ 9 -ge 7 ]] ++ mktemp -p /builddir/build/BUILD/pesign-test-app-0.4 -d + nssdir=/builddir/build/BUILD/pesign-test-app-0.4/tmp.OzmokGQWqB + echo + certutil -N -d /builddir/build/BUILD/pesign-test-app-0.4/tmp.OzmokGQWqB -f /builddir/build/BUILD/pesign-test-app-0.4/tmp.OzmokGQWqB/pwfile + certutil -A -n ca -t CTu,CTu,CTu -i /builddir/build/SOURCES/centossecurebootca2.cer -d /builddir/build/BUILD/pesign-test-app-0.4/tmp.OzmokGQWqB Notice: Trust flag u is set automatically if the private key is present. + certutil -A -n signer -t CTu,CTu,CTu -i /builddir/build/SOURCES/centossecureboot201.cer -d /builddir/build/BUILD/pesign-test-app-0.4/tmp.OzmokGQWqB Notice: Trust flag u is set automatically if the private key is present. ++ mktemp -p /builddir/build/BUILD/pesign-test-app-0.4 --suffix=.der + sattrs=/builddir/build/BUILD/pesign-test-app-0.4/tmp.E79hBdXEnq.der + /usr/bin/pesign -E /builddir/build/BUILD/pesign-test-app-0.4/tmp.E79hBdXEnq.der --certdir /builddir/build/BUILD/pesign-test-app-0.4/tmp.OzmokGQWqB -i pesign-test-app-x86_64-unsigned.efi --force + rpm-sign --key centossecureboot201 --rsadgstsign /builddir/build/BUILD/pesign-test-app-0.4/tmp.E79hBdXEnq.der kerberos error: Credentials cache keyring 'persistent:988:988' not found RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.aSoXVl (%build) Bad exit status from /var/tmp/rpm-tmp.aSoXVl (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pesign-test-app.spec