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 noarch --nodeps /builddir/build/SPECS/rust-packaging.spec'], chrootPath='/mnt/compose/mock/dist-circle9-build-107148-57901/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=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1699315200 Wrote: /builddir/build/SRPMS/rust-packaging-25.2-2.el9.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='/mnt/compose/mock/dist-circle9-build-107148-57901/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=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1699315200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.muWtqI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rust-packaging-25.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/rust-packaging-25.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rust-packaging-25.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GHOdtm + umask 022 + cd /builddir/build/BUILD + cd rust-packaging-25.2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7ne7JM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-packaging-25.2-2.el9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-packaging-25.2-2.el9.noarch ++ dirname /builddir/build/BUILDROOT/rust-packaging-25.2-2.el9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-packaging-25.2-2.el9.noarch + cd rust-packaging-25.2 + install -D -p -m 0644 -t /builddir/build/BUILDROOT/rust-packaging-25.2-2.el9.noarch//usr/lib/rpm/macros.d macros.d/macros.cargo + install -D -p -m 0644 -t /builddir/build/BUILDROOT/rust-packaging-25.2-2.el9.noarch//usr/lib/rpm/macros.d macros.d/macros.rust + install -D -p -m 0644 -t /builddir/build/BUILDROOT/rust-packaging-25.2-2.el9.noarch//usr/lib/rpm/fileattrs fileattrs/cargo.attr + install -D -p -m 0644 -t /builddir/build/BUILDROOT/rust-packaging-25.2-2.el9.noarch//usr/lib/rpm/fileattrs fileattrs/cargo_vendor.attr + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 25.2-2.el9 --unique-debug-suffix -25.2-2.el9.noarch --unique-debug-src-base rust-packaging-25.2-2.el9.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/rust-packaging-25.2 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.UzAgxn + umask 022 + cd /builddir/build/BUILD + cd rust-packaging-25.2 + export MACRO_DIR=/builddir/build/BUILDROOT/rust-packaging-25.2-2.el9.noarch/usr/lib/rpm/macros.d + MACRO_DIR=/builddir/build/BUILDROOT/rust-packaging-25.2-2.el9.noarch/usr/lib/rpm/macros.d + pytest-3.11 -vv -k 'not test_cargo_prep' ============================= test session starts ============================== platform linux -- Python 3.11.2, pytest-7.2.0, pluggy-1.0.0 -- /usr/bin/python3.11 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/rust-packaging-25.2 collecting ... collected 55 items / 3 deselected / 52 selected 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 [ 11%] tests/test_macros_cargo.py::test_cargo_is_bin PASSED [ 13%] tests/test_macros_cargo.py::test_cargo_parse_opts PASSED [ 15%] tests/test_macros_cargo.py::test_cargo_parse_opts_n PASSED [ 17%] tests/test_macros_cargo.py::test_cargo_parse_opts_a PASSED [ 19%] tests/test_macros_cargo.py::test_cargo_parse_opts_f PASSED [ 21%] tests/test_macros_cargo.py::test_cargo_parse_opts_an PASSED [ 23%] tests/test_macros_cargo.py::test_cargo_parse_opts_af PASSED [ 25%] tests/test_macros_cargo.py::test_cargo_parse_opts_nf PASSED [ 26%] tests/test_macros_cargo.py::test_cargo_generate_buildrequires[''-''] PASSED [ 28%] tests/test_macros_cargo.py::test_cargo_generate_buildrequires['-t'-' --with-check'] PASSED [ 30%] tests/test_macros_cargo.py::test_cargo_generate_buildrequires['-a'-' --all-features'] PASSED [ 32%] tests/test_macros_cargo.py::test_cargo_generate_buildrequires['-n'-' --no-default-features'] PASSED [ 34%] tests/test_macros_cargo.py::test_cargo_generate_buildrequires['-f foo,bar -t'-' --features foo,bar --with-check'] PASSED [ 36%] tests/test_macros_cargo.py::test_cargo_build PASSED [ 38%] tests/test_macros_cargo.py::test_cargo_test PASSED [ 40%] tests/test_macros_cargo.py::test_cargo_test_with_args PASSED [ 42%] tests/test_macros_cargo.py::test_cargo_install PASSED [ 44%] tests/test_macros_cargo.py::test_cargo_license PASSED [ 46%] tests/test_macros_cargo.py::test_cargo_license_summary PASSED [ 48%] tests/test_macros_cargo.py::test_cargo_vendor_manifest PASSED [ 50%] tests/test_macros_rust.py::test_rustc PASSED [ 51%] tests/test_macros_rust.py::test_rustdoc PASSED [ 53%] tests/test_macros_rust.py::test_rustflags_opt_level PASSED [ 55%] tests/test_macros_rust.py::test_rustflags_debuginfo PASSED [ 57%] tests/test_macros_rust.py::test_rustflags_codegen_units PASSED [ 59%] tests/test_macros_rust.py::test_build_rustflags PASSED [ 61%] tests/test_macros_rust_srpm.py::test_rust_arches PASSED [ 63%] tests/test_macros_rust_srpm.py::test_version_no_tilde['1.0.0'-'1.0.0'] PASSED [ 65%] tests/test_macros_rust_srpm.py::test_version_no_tilde['0.1.2'-'0.1.2'] PASSED [ 67%] tests/test_macros_rust_srpm.py::test_version_no_tilde['0.0.1'-'0.0.1'] PASSED [ 69%] tests/test_macros_rust_srpm.py::test_version_no_tilde['0.0.1~alpha.0'-'0.0.1-alpha.0'] PASSED [ 71%] tests/test_macros_rust_srpm.py::test_version_no_tilde['0.1.0~beta.1'-'0.1.0-beta.1'] PASSED [ 73%] tests/test_macros_rust_srpm.py::test_version_no_tilde['1.0.0~rc.2'-'1.0.0-rc.2'] PASSED [ 75%] tests/test_macros_rust_srpm.py::test_version_no_tilde_python['1.0.0'-'1.0.0'] PASSED [ 76%] tests/test_macros_rust_srpm.py::test_version_no_tilde_python['0.1.2'-'0.1.2'] PASSED [ 78%] tests/test_macros_rust_srpm.py::test_version_no_tilde_python['0.0.1'-'0.0.1'] PASSED [ 80%] tests/test_macros_rust_srpm.py::test_version_no_tilde_python['0.0.1~a0'-'0.0.1a0'] PASSED [ 82%] tests/test_macros_rust_srpm.py::test_version_no_tilde_python['0.1.0~b1'-'0.1.0b1'] PASSED [ 84%] tests/test_macros_rust_srpm.py::test_version_no_tilde_python['1.0.0~rc2'-'1.0.0rc2'] PASSED [ 86%] tests/test_macros_rust_srpm.py::test_crates_url PASSED [ 88%] 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%] ======================= 52 passed, 3 deselected in 0.50s ======================= + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-srpm-macros-epel-25.2-2.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.t3emiX + umask 022 + cd /builddir/build/BUILD + cd rust-packaging-25.2 + LICENSEDIR=/builddir/build/BUILDROOT/rust-packaging-25.2-2.el9.noarch/usr/share/licenses/rust-srpm-macros-epel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-packaging-25.2-2.el9.noarch/usr/share/licenses/rust-srpm-macros-epel + cp -pr LICENSE /builddir/build/BUILDROOT/rust-packaging-25.2-2.el9.noarch/usr/share/licenses/rust-srpm-macros-epel + RPM_EC=0 ++ jobs -p + exit 0 Provides: rust-srpm-macros-epel = 25.2-2.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cargo-rpm-macros-25.2-2.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.qX52Iv + umask 022 + cd /builddir/build/BUILD + cd rust-packaging-25.2 + LICENSEDIR=/builddir/build/BUILDROOT/rust-packaging-25.2-2.el9.noarch/usr/share/licenses/cargo-rpm-macros + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-packaging-25.2-2.el9.noarch/usr/share/licenses/cargo-rpm-macros + cp -pr LICENSE /builddir/build/BUILDROOT/rust-packaging-25.2-2.el9.noarch/usr/share/licenses/cargo-rpm-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: cargo-rpm-macros = 25.2-2.el9 rust-packaging = 25.2-2.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: rust-packaging < 24 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-packaging-25.2-2.el9.noarch Wrote: /builddir/build/RPMS/rust-srpm-macros-epel-25.2-2.el9.noarch.rpm Wrote: /builddir/build/RPMS/cargo-rpm-macros-25.2-2.el9.noarch.rpm Child return code was: 0