Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rust-packaging.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-391999-71986/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y3wpqdfx:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y3wpqdfx:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '81548709555342d3adc6bcec44657ec0', '-D', '/var/lib/mock/dist-an23-build-python3.11-391999-71986/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y3wpqdfx:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rust-packaging.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1722816000 Wrote: /builddir/build/SRPMS/rust-packaging-26.2-2.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rust-packaging.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-391999-71986/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y3wpqdfx:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y3wpqdfx:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2c19868d4ff643e7bb0f455ba45d2638', '-D', '/var/lib/mock/dist-an23-build-python3.11-391999-71986/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y3wpqdfx:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rust-packaging.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1722816000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BZWsaD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rust-packaging-26.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rust-packaging-26.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rust-packaging-26.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Temporarily-accept-cargo_prep-V-flag-for-spec-compat.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1000-fix-pytest-error.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-add-loongarch64-support-for-rust-packaging.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WikV65 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rust-packaging-26.2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ELE6nl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-packaging-26.2-2.an23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-packaging-26.2-2.an23.noarch ++ dirname /builddir/build/BUILDROOT/rust-packaging-26.2-2.an23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-packaging-26.2-2.an23.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rust-packaging-26.2 + install -D -p -m 0644 -t /builddir/build/BUILDROOT/rust-packaging-26.2-2.an23.noarch//usr/lib/rpm/macros.d macros.d/macros.cargo + install -D -p -m 0644 -t /builddir/build/BUILDROOT/rust-packaging-26.2-2.an23.noarch//usr/lib/rpm/macros.d macros.d/macros.rust + install -D -p -m 0644 -t /builddir/build/BUILDROOT/rust-packaging-26.2-2.an23.noarch//usr/lib/rpm/macros.d macros.d/macros.rust-srpm + install -D -p -m 0644 -t /builddir/build/BUILDROOT/rust-packaging-26.2-2.an23.noarch//usr/lib/rpm/fileattrs fileattrs/cargo.attr + install -D -p -m 0644 -t /builddir/build/BUILDROOT/rust-packaging-26.2-2.an23.noarch//usr/lib/rpm/fileattrs fileattrs/cargo_vendor.attr + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 26.2-2.an23 --unique-debug-suffix -26.2-2.an23.noarch --unique-debug-src-base rust-packaging-26.2-2.an23.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rust-packaging-26.2 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.xdyHqe + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rust-packaging-26.2 + export MACRO_DIR=/builddir/build/BUILDROOT/rust-packaging-26.2-2.an23.noarch/usr/lib/rpm/macros.d + MACRO_DIR=/builddir/build/BUILDROOT/rust-packaging-26.2-2.an23.noarch/usr/lib/rpm/macros.d + pytest -vv ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.3.1, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/rust-packaging-26.2 collecting ... collected 55 items tests/test_macros_cargo.py::test_cargo PASSED [ 1%] tests/test_macros_cargo.py::test_cargo_to_rpm PASSED [ 3%] tests/test_macros_cargo.py::test_cargo_registry PASSED [ 5%] tests/test_macros_cargo.py::test_crate_instdir[{'crate': 'chrono', 'version': '0.4.20~rc.1'}-'/usr/share/cargo/registry/chrono-0.4.20-rc.1'] PASSED [ 7%] tests/test_macros_cargo.py::test_crate_instdir[{'crate': 'tokio', 'version': '1.32.0'}-'/usr/share/cargo/registry/tokio-1.32.0'] PASSED [ 9%] tests/test_macros_cargo.py::test_cargo_is_lib PASSED [ 10%] tests/test_macros_cargo.py::test_cargo_is_bin PASSED [ 12%] tests/test_macros_cargo.py::test_cargo_prep PASSED [ 14%] tests/test_macros_cargo.py::test_cargo_prep_vendor PASSED [ 16%] tests/test_macros_cargo.py::test_cargo_prep_no_replacement PASSED [ 18%] tests/test_macros_cargo.py::test_cargo_parse_opts PASSED [ 20%] tests/test_macros_cargo.py::test_cargo_parse_opts_n PASSED [ 21%] tests/test_macros_cargo.py::test_cargo_parse_opts_a PASSED [ 23%] tests/test_macros_cargo.py::test_cargo_parse_opts_f PASSED [ 25%] tests/test_macros_cargo.py::test_cargo_parse_opts_an PASSED [ 27%] tests/test_macros_cargo.py::test_cargo_parse_opts_af PASSED [ 29%] tests/test_macros_cargo.py::test_cargo_parse_opts_nf PASSED [ 30%] tests/test_macros_cargo.py::test_cargo_generate_buildrequires[''-''] PASSED [ 32%] tests/test_macros_cargo.py::test_cargo_generate_buildrequires['-t'-' --with-check'] PASSED [ 34%] tests/test_macros_cargo.py::test_cargo_generate_buildrequires['-a'-' --all-features'] PASSED [ 36%] tests/test_macros_cargo.py::test_cargo_generate_buildrequires['-n'-' --no-default-features'] PASSED [ 38%] tests/test_macros_cargo.py::test_cargo_generate_buildrequires['-f foo,bar -t'-' --features foo,bar --with-check'] PASSED [ 40%] tests/test_macros_cargo.py::test_cargo_build PASSED [ 41%] tests/test_macros_cargo.py::test_cargo_test PASSED [ 43%] tests/test_macros_cargo.py::test_cargo_test_with_args PASSED [ 45%] tests/test_macros_cargo.py::test_cargo_install PASSED [ 47%] tests/test_macros_cargo.py::test_cargo_license PASSED [ 49%] tests/test_macros_cargo.py::test_cargo_license_summary PASSED [ 50%] tests/test_macros_cargo.py::test_cargo_vendor_manifest PASSED [ 52%] tests/test_macros_rust.py::test_rustc PASSED [ 54%] tests/test_macros_rust.py::test_rustdoc PASSED [ 56%] tests/test_macros_rust.py::test_rustflags_opt_level PASSED [ 58%] tests/test_macros_rust.py::test_rustflags_debuginfo PASSED [ 60%] tests/test_macros_rust.py::test_rustflags_codegen_units PASSED [ 61%] tests/test_macros_rust.py::test_build_rustflags PASSED [ 63%] tests/test_macros_rust_srpm.py::test_rust_arches FAILED [ 65%] tests/test_macros_rust_srpm.py::test_version_no_tilde['1.0.0'-'1.0.0'] PASSED [ 67%] tests/test_macros_rust_srpm.py::test_version_no_tilde['0.1.2'-'0.1.2'] PASSED [ 69%] tests/test_macros_rust_srpm.py::test_version_no_tilde['0.0.1'-'0.0.1'] PASSED [ 70%] tests/test_macros_rust_srpm.py::test_version_no_tilde['0.0.1~alpha.0'-'0.0.1-alpha.0'] PASSED [ 72%] tests/test_macros_rust_srpm.py::test_version_no_tilde['0.1.0~beta.1'-'0.1.0-beta.1'] PASSED [ 74%] tests/test_macros_rust_srpm.py::test_version_no_tilde['1.0.0~rc.2'-'1.0.0-rc.2'] PASSED [ 76%] tests/test_macros_rust_srpm.py::test_version_no_tilde_python['1.0.0'-'1.0.0'] PASSED [ 78%] tests/test_macros_rust_srpm.py::test_version_no_tilde_python['0.1.2'-'0.1.2'] PASSED [ 80%] tests/test_macros_rust_srpm.py::test_version_no_tilde_python['0.0.1'-'0.0.1'] PASSED [ 81%] tests/test_macros_rust_srpm.py::test_version_no_tilde_python['0.0.1~a0'-'0.0.1a0'] PASSED [ 83%] tests/test_macros_rust_srpm.py::test_version_no_tilde_python['0.1.0~b1'-'0.1.0b1'] PASSED [ 85%] tests/test_macros_rust_srpm.py::test_version_no_tilde_python['1.0.0~rc2'-'1.0.0rc2'] PASSED [ 87%] tests/test_macros_rust_srpm.py::test_crates_url PASSED [ 89%] tests/test_macros_rust_srpm.py::test_crates_source['tokio'-'1.32.0'-'https://crates.io/api/v1/crates/tokio/1.32.0/download#/tokio-1.32.0.crate'] PASSED [ 90%] tests/test_macros_rust_srpm.py::test_crates_source['chrono'-'0.4.20-rc.1'-'https://crates.io/api/v1/crates/chrono/0.4.20-rc.1/download#/chrono-0.4.20-rc.1.crate'] PASSED [ 92%] tests/test_macros_rust_srpm.py::test_crates_source['chrono'-'0.4.20~rc.1'-'https://crates.io/api/v1/crates/chrono/0.4.20-rc.1/download#/chrono-0.4.20-rc.1.crate'] PASSED [ 94%] tests/test_macros_rust_srpm.py::test_crates_source['value-bag'-'1.0.0-alpha.9'-'https://crates.io/api/v1/crates/value-bag/1.0.0-alpha.9/download#/value-bag-1.0.0-alpha.9.crate'] PASSED [ 96%] tests/test_macros_rust_srpm.py::test_crates_source['value-bag'-'1.0.0~alpha.9'-'https://crates.io/api/v1/crates/value-bag/1.0.0-alpha.9/download#/value-bag-1.0.0-alpha.9.crate'] PASSED [ 98%] tests/test_macros_rust_srpm.py::test_skip_build PASSED [100%] =================================== FAILURES =================================== _______________________________ test_rust_arches _______________________________ evaluater = .runner at 0xffff94600400> def test_rust_arches(evaluater): ix86 = evaluater("%ix86")[0] > assert evaluater("%rust_arches")[0] == f"x86_64 {ix86} armv7hl aarch64 ppc64 ppc64le riscv64 s390x" E AssertionError: assert 'x86_64 i386 i486 i586 i686 pentium3 pentium4 athlon geode armv7hl aarch64 ppc64 ppc64le riscv64 s390x loongarch64' == 'x86_64 i386 i486 i586 i686 pentium3 pentium4 athlon geode armv7hl aarch64 ppc64 ppc64le riscv64 s390x' E - x86_64 i386 i486 i586 i686 pentium3 pentium4 athlon geode armv7hl aarch64 ppc64 ppc64le riscv64 s390x E + x86_64 i386 i486 i586 i686 pentium3 pentium4 athlon geode armv7hl aarch64 ppc64 ppc64le riscv64 s390x loongarch64 E ? ++++++++++++ tests/test_macros_rust_srpm.py:6: AssertionError =========================== short test summary info ============================ FAILED tests/test_macros_rust_srpm.py::test_rust_arches - AssertionError: ass... ========================= 1 failed, 54 passed in 0.58s ========================= error: Bad exit status from /var/tmp/rpm-tmp.xdyHqe (%check) Bad exit status from /var/tmp/rpm-tmp.xdyHqe (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 2c19868d4ff643e7bb0f455ba45d2638 -D /var/lib/mock/dist-an23-build-python3.11-391999-71986/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.y3wpqdfx:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rust-packaging.spec\'\n', 1)] 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 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 2c19868d4ff643e7bb0f455ba45d2638 -D /var/lib/mock/dist-an23-build-python3.11-391999-71986/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.y3wpqdfx:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rust-packaging.spec'