Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/mdevctl.spec'], chrootPath='/var/lib/mock/dist-rebuild-after-rpm-check-build-175364-10981/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/mdevctl.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 Wrote: /builddir/build/SRPMS/mdevctl-1.2.0-5.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/mdevctl.spec'], chrootPath='/var/lib/mock/dist-rebuild-after-rpm-check-build-175364-10981/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/mdevctl.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1uOJLg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mdevctl-1.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mdevctl-1.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mdevctl-1.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar jxf /builddir/build/SOURCES/mdevctl-1.2.0-vendor.tar.bz2 + mkdir .cargo + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0eBYdS + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mdevctl-1.2.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo build -j32 -Z avoid-dev-deps --release Compiling libc v0.2.139 Compiling version_check v0.9.4 Compiling proc-macro2 v1.0.49 Compiling quote v1.0.23 Compiling unicode-ident v1.0.6 Compiling autocfg v1.1.0 Compiling syn v1.0.107 Compiling heck v0.4.0 Compiling memchr v2.5.0 Compiling os_str_bytes v6.4.1 Compiling cfg-if v1.0.0 Compiling hashbrown v0.12.3 Compiling bitflags v1.3.2 Compiling once_cell v1.17.0 Compiling strsim v0.10.0 Compiling termcolor v1.1.3 Compiling textwrap v0.16.0 Compiling log v0.4.17 Compiling serde v1.0.152 Compiling serde_json v1.0.91 Compiling regex-syntax v0.6.28 Compiling anyhow v1.0.68 Compiling itoa v1.0.5 Compiling ryu v1.0.12 Compiling remove_dir_all v0.5.3 Compiling fastrand v1.8.0 Compiling humantime v2.1.0 Compiling clap_lex v0.2.4 Compiling aho-corasick v0.7.20 Compiling atty v0.2.14 Compiling getrandom v0.2.8 Compiling tempfile v3.3.0 Compiling uuid v0.8.2 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling indexmap v1.9.2 Compiling regex v1.7.1 Compiling env_logger v0.8.4 Compiling clap_derive v3.2.18 Compiling clap v3.2.23 Compiling clap_complete v3.2.5 Compiling mdevctl v1.2.0 (/builddir/build/BUILD/mdevctl-1.2.0) Finished release [optimized] target(s) in 1m 24s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PV2TsF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64 + cd mdevctl-1.2.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/etc/mdevctl.d mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/lib/udev/rules.d/ install -m 644 60-mdevctl.rules /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/lib/udev/rules.d/ mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/sbin install -m 755 target/release/mdevctl /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/sbin/ ln -sf mdevctl /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/sbin/lsmdev mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/share/man/man8 install -m 644 /builddir/build/BUILD/mdevctl-1.2.0/target/release/build/mdevctl-d9e263afc50cac35/out/mdevctl.8 /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/share/man/man8/ ln -sf mdevctl.8 /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/share/man/man8/lsmdev.8 mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/share/bash-completion/completions/ install -m 644 -T /builddir/build/BUILD/mdevctl-1.2.0/target/release/build/mdevctl-d9e263afc50cac35/out/mdevctl.bash /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/share/bash-completion/completions/mdevctl install -m 644 -T /builddir/build/BUILD/mdevctl-1.2.0/target/release/build/mdevctl-d9e263afc50cac35/out/lsmdev.bash /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/share/bash-completion/completions/lsmdev mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/etc/mdevctl.d/scripts.d/callouts mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/etc/mdevctl.d/scripts.d/notifiers + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.2.0-5.ocs23 --unique-debug-suffix -1.2.0-5.ocs23.x86_64 --unique-debug-src-base mdevctl-1.2.0-5.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/mdevctl-1.2.0 extracting debug info from /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/sbin/mdevctl warning: Unsupported auto-load script at offset 0 in section .debug_gdb_scripts of file /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/sbin/mdevctl. Use `info auto-load python-scripts [REGEXP]' to list them. 9248 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.3E8jf5 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mdevctl-1.2.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo test -j32 -Z avoid-dev-deps --release --no-fail-fast Compiling mdevctl v1.2.0 (/builddir/build/BUILD/mdevctl-1.2.0) Finished release [optimized] target(s) in 17.28s Running unittests src/main.rs (target/release/deps/mdevctl-205bd732e75ff745) running 10 tests test tests::test_stop ... ok test tests::test_invalid_files ... ok test tests::test_types ... ok test tests::test_undefine ... ok test tests::test_load_json ... ok test tests::test_modify ... ok test tests::test_define ... ok test tests::test_start ... ok test tests::test_callouts ... ok test tests::test_list ... ok test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: mdevctl-1.2.0-5.ocs23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fauhHB + umask 022 + cd /builddir/build/BUILD + cd mdevctl-1.2.0 + DOCDIR=/builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/share/doc/mdevctl + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/share/doc/mdevctl + cp -pr README.md /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/share/doc/mdevctl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.zZKVlK + umask 022 + cd /builddir/build/BUILD + cd mdevctl-1.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/share/licenses/mdevctl + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/share/licenses/mdevctl + cp -pr COPYING /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64/usr/share/licenses/mdevctl + RPM_EC=0 ++ jobs -p + exit 0 Provides: mdevctl = 1.2.0-5.ocs23 mdevctl(x86-64) = 1.2.0-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /usr/sbin/udevadm Requires(postun): /usr/sbin/udevadm Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.18)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.29)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.9)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) rtld(GNU_HASH) Processing files: mdevctl-debugsource-1.2.0-5.ocs23.x86_64 Provides: mdevctl-debugsource = 1.2.0-5.ocs23 mdevctl-debugsource(x86-64) = 1.2.0-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mdevctl-debuginfo-1.2.0-5.ocs23.x86_64 Provides: debuginfo(build-id) = ac0a161fe5cc8eb8a72b8533d0115848316e90e8 mdevctl-debuginfo = 1.2.0-5.ocs23 mdevctl-debuginfo(x86-64) = 1.2.0-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mdevctl-debugsource(x86-64) = 1.2.0-5.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mdevctl-1.2.0-5.ocs23.x86_64 Wrote: /builddir/build/RPMS/mdevctl-1.2.0-5.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/mdevctl-debugsource-1.2.0-5.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/mdevctl-debuginfo-1.2.0-5.ocs23.x86_64.rpm Child return code was: 0