Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ancert.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-379838-71722/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=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ancert.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/ancert-2.0-2.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ancert.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-379838-71722/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=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ancert.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.o7RER1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ancert-v2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/ancert-v2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ancert-v2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-fix-os-release-path.patch):' Patch #1 (0001-fix-os-release-path.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/utils.py + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sxEEJp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64 ++ dirname /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64 + cd ancert-v2.0 + make DESTDIR=/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert post_install './ancert' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/ancert' './README.md' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/README.md' './LICENSE' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/LICENSE' './ancert.spec' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/ancert.spec' make[1]: Entering directory '/builddir/build/BUILD/ancert-v2.0/etc' [ ! -d /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/etc/ ] && mkdir -p -m 755 /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/etc/ cp -avrf ./exclude* /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/etc/ './exclude_interface' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/etc/exclude_interface' make[1]: Leaving directory '/builddir/build/BUILD/ancert-v2.0/etc' make[1]: Entering directory '/builddir/build/BUILD/ancert-v2.0/lib' [ ! -d /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/lib/ ] && mkdir -p -m 755 /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/lib/ cp -avrf ./*.py /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/lib/ './__init__.py' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/lib/__init__.py' './case.py' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/lib/case.py' './component.py' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/lib/component.py' './config.py' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/lib/config.py' './device.py' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/lib/device.py' './expection.py' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/lib/expection.py' './test.py' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/lib/test.py' './utils.py' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/lib/utils.py' './worker.py' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/lib/worker.py' make[1]: Leaving directory '/builddir/build/BUILD/ancert-v2.0/lib' make[1]: Entering directory '/builddir/build/BUILD/ancert-v2.0/tests' [ ! -d /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/ ] && mkdir -p -m 755 /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/ cp -avrf ./case.yaml /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/ './case.yaml' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/case.yaml' for dir in certify lib; do cp -avrf $dir /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/; done 'certify' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify' 'certify/kdump' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/kdump' 'certify/kdump/kdump.yaml' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/kdump/kdump.yaml' 'certify/kdump/kdump.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/kdump/kdump.sh' 'certify/storage' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/storage' 'certify/storage/fs_rw.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/storage/fs_rw.sh' 'certify/storage/raw_disk_rw.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/storage/raw_disk_rw.sh' 'certify/storage/storage.yaml' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/storage/storage.yaml' 'certify/nvme' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/nvme' 'certify/nvme/nvme_rw.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/nvme/nvme_rw.sh' 'certify/nvme/nvme_opt.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/nvme/nvme_opt.sh' 'certify/nvme/nvme.yaml' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/nvme/nvme.yaml' 'certify/network' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/network' 'certify/network/network.yaml' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/network/network.yaml' 'certify/network/file_transport.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/network/file_transport.sh' 'certify/network/net_connect.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/network/net_connect.sh' 'certify/network/set_net_status.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/network/set_net_status.sh' 'certify/bios' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/bios' 'certify/bios/bios_time.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/bios/bios_time.sh' 'certify/bios/bios.yaml' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/bios/bios.yaml' 'certify/ipmi' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/ipmi' 'certify/ipmi/ipmi.yaml' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/ipmi/ipmi.yaml' 'certify/ipmi/ipmi_opt.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/ipmi/ipmi_opt.sh' 'certify/cpu' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/cpu' 'certify/cpu/cpu.yaml' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/cpu/cpu.yaml' 'certify/cpu/cpucalc.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/cpu/cpucalc.sh' 'certify/memory' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/memory' 'certify/memory/memexcu.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/memory/memexcu.sh' 'certify/memory/memory.c' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/memory/memory.c' 'certify/memory/Makefile' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/memory/Makefile' 'certify/memory/memory.yaml' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/memory/memory.yaml' 'certify/gpu' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/gpu' 'certify/gpu/gpu_burn' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/gpu/gpu_burn' 'certify/gpu/gpu_burn/README.md' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/gpu/gpu_burn/README.md' 'certify/gpu/gpu_burn/Dockerfile' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/gpu/gpu_burn/Dockerfile' 'certify/gpu/gpu_burn/compare.cu' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/gpu/gpu_burn/compare.cu' 'certify/gpu/gpu_burn/gpu_burn-drv.cpp' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/gpu/gpu_burn/gpu_burn-drv.cpp' 'certify/gpu/gpu_burn/LICENSE' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/gpu/gpu_burn/LICENSE' 'certify/gpu/gpu_burn/Makefile' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/gpu/gpu_burn/Makefile' 'certify/gpu/gpu_opt.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/gpu/gpu_opt.sh' 'certify/gpu/gpu.yaml' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/gpu/gpu.yaml' 'certify/video' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/video' 'certify/video/play_video.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/video/play_video.sh' 'certify/video/video.yaml' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/video/video.yaml' 'certify/fc' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/fc' 'certify/fc/fc.yaml' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/certify/fc/fc.yaml' 'lib' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/lib' 'lib/shell' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/lib/shell' 'lib/shell/common.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/tests/lib/shell/common.sh' make[1]: Leaving directory '/builddir/build/BUILD/ancert-v2.0/tests' make[1]: Entering directory '/builddir/build/BUILD/ancert-v2.0/utils' [ ! -d /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/utils/ ] && mkdir -p -m 755 /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/utils/ cp -avrf ./*.sh /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/utils/ './collect_host_info.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/utils/collect_host_info.sh' './get_disk_info.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/utils/get_disk_info.sh' './get_net_info.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/utils/get_net_info.sh' './sshconf.sh' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/utils/sshconf.sh' cp -avrf sshpkg /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/utils/ 'sshpkg' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/utils/sshpkg' 'sshpkg/known_hosts' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/utils/sshpkg/known_hosts' 'sshpkg/id_rsa' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/utils/sshpkg/id_rsa' 'sshpkg/id_rsa.pub' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/utils/sshpkg/id_rsa.pub' 'sshpkg/authorized_keys' -> '/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/utils/sshpkg/authorized_keys' make[1]: Leaving directory '/builddir/build/BUILD/ancert-v2.0/utils' + rm -rf /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/LICENSE + rm -rf /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/ancert/README.md + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /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/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink Processing files: ancert-2.0-2.an8.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dfRxGZ + umask 022 + cd /builddir/build/BUILD + cd ancert-v2.0 + LICENSEDIR=/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/licenses/ancert + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/licenses/ancert + cp -pr LICENSE /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/licenses/ancert + exit 0 Provides: ancert = 2.0-2.an8 ancert(loongarch-64) = 2.0-2.an8 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: /usr/bin/env Processing files: ancert-doc-2.0-2.an8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jkg14X + umask 022 + cd /builddir/build/BUILD + cd ancert-v2.0 + DOCDIR=/builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/doc/ancert-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/doc/ancert-doc + cp -pr README.md /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64/usr/share/doc/ancert-doc + exit 0 Provides: ancert-doc = 2.0-2.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ancert-2.0-2.an8.loongarch64 Wrote: /builddir/build/RPMS/ancert-2.0-2.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/ancert-doc-2.0-2.an8.noarch.rpm Child return code was: 0