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 aarch64 --nodeps /builddir/build/SPECS/python-ethtool.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-93905-5984/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-ethtool.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-ethtool-0.15-5.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-ethtool.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-93905-5984/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-ethtool.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.B0ATCh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ethtool-0.15 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ethtool-0.15.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ethtool-0.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf ethtool.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.32B9nA + 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 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 ethtool-0.15 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_ext building 'ethtool' extension creating build creating build/temp.linux-aarch64-cpython-311 creating build/temp.linux-aarch64-cpython-311/python-ethtool gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION=\"0.15\" -I/usr/include/libnl3 -I/usr/include/python3.11 -c python-ethtool/etherinfo.c -o build/temp.linux-aarch64-cpython-311/python-ethtool/etherinfo.o -fno-strict-aliasing -Wno-unused-function gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION=\"0.15\" -I/usr/include/libnl3 -I/usr/include/python3.11 -c python-ethtool/etherinfo_obj.c -o build/temp.linux-aarch64-cpython-311/python-ethtool/etherinfo_obj.o -fno-strict-aliasing -Wno-unused-function gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION=\"0.15\" -I/usr/include/libnl3 -I/usr/include/python3.11 -c python-ethtool/ethtool.c -o build/temp.linux-aarch64-cpython-311/python-ethtool/ethtool.o -fno-strict-aliasing -Wno-unused-function python-ethtool/ethtool.c: In function ‘get_interfaces_info’: python-ethtool/ethtool.c:232:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 232 | fetch_devs[0] = PyStr_AsString(inargs); | ^ python-ethtool/ethtool.c:243:37: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 243 | fetch_devs[j++] = PyStr_AsString(elmt); | ^ python-ethtool/ethtool.c:256:37: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 256 | fetch_devs[j++] = PyStr_AsString(elmt); | ^ gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION=\"0.15\" -I/usr/include/libnl3 -I/usr/include/python3.11 -c python-ethtool/netlink-address.c -o build/temp.linux-aarch64-cpython-311/python-ethtool/netlink-address.o -fno-strict-aliasing -Wno-unused-function gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION=\"0.15\" -I/usr/include/libnl3 -I/usr/include/python3.11 -c python-ethtool/netlink.c -o build/temp.linux-aarch64-cpython-311/python-ethtool/netlink.o -fno-strict-aliasing -Wno-unused-function creating build/lib.linux-aarch64-cpython-311 gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-aarch64-cpython-311/python-ethtool/etherinfo.o build/temp.linux-aarch64-cpython-311/python-ethtool/etherinfo_obj.o build/temp.linux-aarch64-cpython-311/python-ethtool/ethtool.o build/temp.linux-aarch64-cpython-311/python-ethtool/netlink-address.o build/temp.linux-aarch64-cpython-311/python-ethtool/netlink.o -L/usr/lib64 -lnl-3 -lnl-route-3 -o build/lib.linux-aarch64-cpython-311/ethtool.cpython-311-aarch64-linux-gnu.so running build_scripts creating build/scripts-3.11 copying and adjusting scripts/pethtool -> build/scripts-3.11 copying and adjusting scripts/pifconfig -> build/scripts-3.11 changing mode of build/scripts-3.11/pethtool from 644 to 755 changing mode of build/scripts-3.11/pifconfig from 644 to 755 + a2x -d manpage -f manpage man/pethtool.8.asciidoc + a2x -d manpage -f manpage man/pifconfig.8.asciidoc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8EGG3m + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64 + cd ethtool-0.15 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64 running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr creating /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/lib64 creating /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/lib64/python3.11/site-packages copying build/lib.linux-aarch64-cpython-311/ethtool.cpython-311-aarch64-linux-gnu.so -> /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/lib64/python3.11/site-packages writing byte-compilation script '/tmp/tmpfpp_5zi5.py' /usr/bin/python3 /tmp/tmpfpp_5zi5.py removing /tmp/tmpfpp_5zi5.py running install_egg_info running egg_info creating ethtool.egg-info writing ethtool.egg-info/PKG-INFO writing dependency_links to ethtool.egg-info/dependency_links.txt writing top-level names to ethtool.egg-info/top_level.txt writing manifest file 'ethtool.egg-info/SOURCES.txt' reading manifest file 'ethtool.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'COPYING' writing manifest file 'ethtool.egg-info/SOURCES.txt' Copying ethtool.egg-info to /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/lib64/python3.11/site-packages/ethtool-0.15-py3.11.egg-info running install_scripts creating /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/bin copying build/scripts-3.11/pethtool -> /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/bin copying build/scripts-3.11/pifconfig -> /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/bin changing mode of /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/bin/pethtool to 755 changing mode of /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/bin/pifconfig to 755 + rm -rfv /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/bin/__pycache__ + mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/sbin + mv /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/bin/pifconfig /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/sbin/pifconfig + mv /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/bin/pethtool /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/sbin/pethtool + mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/share/man/man8/ + cp -p man/pethtool.8 man/pifconfig.8 /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/share/man/man8/ + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.15-5.ocs23 --unique-debug-suffix -0.15-5.ocs23.aarch64 --unique-debug-src-base python-ethtool-0.15-5.ocs23.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/ethtool-0.15 extracting debug info from /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/lib64/python3.11/site-packages/ethtool.cpython-311-aarch64-linux-gnu.so 143 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 Bytecompiling .py files below /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/lib/debug/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.WVIKHe + 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 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 ethtool-0.15 + export PYTHONPATH=/builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/lib64/python3.11/site-packages + PYTHONPATH=/builddir/build/BUILDROOT/python-ethtool-0.15-5.ocs23.aarch64/usr/lib64/python3.11/site-packages + /usr/bin/python3 tests/parse_ifconfig.py -v test_full (__main__.ParserTests.test_full) ... ok test_local (__main__.ParserTests.test_local) ... ok test_parse_ip4addr (__main__.ParserTests.test_parse_ip4addr) ... ok test_parsing_device_line (__main__.ParserTests.test_parsing_device_line) ... ok test_parsing_flags_line (__main__.ParserTests.test_parsing_flags_line) ... ok test_parsing_ip (__main__.ParserTests.test_parsing_ip) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.013s OK + /usr/bin/python3 -m unittest discover -v test_etherinfo_objects (tests.test_ethtool.EthtoolTests.test_etherinfo_objects) ... ok test_get_active_devices (tests.test_ethtool.EthtoolTests.test_get_active_devices) ... ok test_get_interface_info_active (tests.test_ethtool.EthtoolTests.test_get_interface_info_active) ... ok test_get_interface_info_all (tests.test_ethtool.EthtoolTests.test_get_interface_info_all) ... ok test_get_interface_info_invalid (tests.test_ethtool.EthtoolTests.test_get_interface_info_invalid) ... ok test_invalid_devices (tests.test_ethtool.EthtoolTests.test_invalid_devices) ... ok test_driver_eth (tests.test_scripts.ScriptsTests.test_driver_eth) ... ok test_driver_lo (tests.test_scripts.ScriptsTests.test_driver_lo) ... ok test_flags2str (tests.test_scripts.ScriptsTests.test_flags2str) ... ok test_show_coalesce_eth (tests.test_scripts.ScriptsTests.test_show_coalesce_eth) ... FAIL test_show_coalesce_lo (tests.test_scripts.ScriptsTests.test_show_coalesce_lo) ... ok test_show_offload_eth (tests.test_scripts.ScriptsTests.test_show_offload_eth) ... ok test_show_offload_lo (tests.test_scripts.ScriptsTests.test_show_offload_lo) ... ok test_show_ring_eth (tests.test_scripts.ScriptsTests.test_show_ring_eth) ... FAIL test_show_ring_lo (tests.test_scripts.ScriptsTests.test_show_ring_lo) ... ok ====================================================================== FAIL: test_show_coalesce_eth (tests.test_scripts.ScriptsTests.test_show_coalesce_eth) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/ethtool-0.15/tests/test_scripts.py", line 141, in test_show_coalesce_eth self.assertTrue(line.startswith(expected_start)) AssertionError: False is not true ====================================================================== FAIL: test_show_ring_eth (tests.test_scripts.ScriptsTests.test_show_ring_eth) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/ethtool-0.15/tests/test_scripts.py", line 109, in test_show_ring_eth self.assertTrue(line.startswith(expected_start)) AssertionError: False is not true ---------------------------------------------------------------------- Ran 15 tests in 0.010s FAILED (failures=2) Device(name='docker0', flagsint=4163, flagsstr='UP,BROADCAST,RUNNING,MULTICAST', mtu=1500) Device(name='eth0', flagsint=4163, flagsstr='UP,BROADCAST,RUNNING,MULTICAST', mtu=1500) Device(name='lo', flagsint=73, flagsstr='UP,LOOPBACK,RUNNING', mtu=65536) Device(name='vethd045a7e', flagsint=4163, flagsstr='UP,BROADCAST,RUNNING,MULTICAST', mtu=1500) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.WVIKHe (%check) Bad exit status from /var/tmp/rpm-tmp.WVIKHe (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-ethtool.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, 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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-ethtool.spec