Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-ethtool.spec'], chrootPath='/var/lib/mock/dist-ocs23-riscv-base-build-323359-34550/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 riscv64 --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: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/python-ethtool-0.15-7.ocs23.rv64.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-ethtool.spec'], chrootPath='/var/lib/mock/dist-ocs23-riscv-base-build-323359-34550/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 riscv64 --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: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lCWYvW + 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.RoWQwP + 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 -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 -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 -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 -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 -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-riscv64-cpython-311 creating build/temp.linux-riscv64-cpython-311/python-ethtool gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -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 -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 -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 -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-riscv64-cpython-311/python-ethtool/etherinfo.o -fno-strict-aliasing -Wno-unused-function gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -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 -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 -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 -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-riscv64-cpython-311/python-ethtool/etherinfo_obj.o -fno-strict-aliasing -Wno-unused-function gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -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 -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 -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 -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-riscv64-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 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -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 -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 -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 -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-riscv64-cpython-311/python-ethtool/netlink-address.o -fno-strict-aliasing -Wno-unused-function gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -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 -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 -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 -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-riscv64-cpython-311/python-ethtool/netlink.o -fno-strict-aliasing -Wno-unused-function creating build/lib.linux-riscv64-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 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-cpython-311/python-ethtool/etherinfo.o build/temp.linux-riscv64-cpython-311/python-ethtool/etherinfo_obj.o build/temp.linux-riscv64-cpython-311/python-ethtool/ethtool.o build/temp.linux-riscv64-cpython-311/python-ethtool/netlink-address.o build/temp.linux-riscv64-cpython-311/python-ethtool/netlink.o -L/usr/lib64 -lnl-3 -lnl-route-3 -o build/lib.linux-riscv64-cpython-311/ethtool.cpython-311-riscv64-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.rhdXpW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64 ++ dirname /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64 + 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 -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-7.ocs23.rv64.riscv64 running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr creating /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/lib64/python3.11/site-packages copying build/lib.linux-riscv64-cpython-311/ethtool.cpython-311-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/lib64/python3.11/site-packages writing byte-compilation script '/tmp/tmp5jzpiznu.py' /usr/bin/python3 /tmp/tmp5jzpiznu.py removing /tmp/tmp5jzpiznu.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-7.ocs23.rv64.riscv64/usr/lib64/python3.11/site-packages/ethtool-0.15-py3.11.egg-info running install_scripts creating /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/bin copying build/scripts-3.11/pifconfig -> /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/bin copying build/scripts-3.11/pethtool -> /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/bin changing mode of /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/bin/pifconfig to 755 changing mode of /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/bin/pethtool to 755 + rm -rfv /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/bin/__pycache__ + mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/sbin + mv /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/bin/pifconfig /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/sbin/pifconfig + mv /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/bin/pethtool /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/sbin/pethtool + mkdir -p /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/share/man/man8/ + cp -p man/pethtool.8 man/pifconfig.8 /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/share/man/man8/ + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 0.15-7.ocs23.rv64 --unique-debug-suffix -0.15-7.ocs23.rv64.riscv64 --unique-debug-src-base python-ethtool-0.15-7.ocs23.rv64.riscv64 -S debugsourcefiles.list /builddir/build/BUILD/ethtool-0.15 extracting debug info from /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/lib64/python3.11/site-packages/ethtool.cpython-311-riscv64-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-7.ocs23.rv64.riscv64/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/usr/lib/debug/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.zpA4rx + 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 -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 -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 -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 -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-7.ocs23.rv64.riscv64/usr/lib64/python3.11/site-packages + PYTHONPATH=/builddir/build/BUILDROOT/python-ethtool-0.15-7.ocs23.rv64.riscv64/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.041s 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) ... ok 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 ---------------------------------------------------------------------- Ran 15 tests in 0.034s FAILED (failures=1) Device(name='enP3p197s0', flagsint=4163, flagsstr='UP,BROADCAST,RUNNING,MULTICAST', mtu=1500) Device(name='enP3p201s0', flagsint=4163, flagsstr='UP,BROADCAST,RUNNING,MULTICAST', mtu=1500) Device(name='lo', flagsint=73, flagsstr='UP,LOOPBACK,RUNNING', mtu=65536) error: Bad exit status from /var/tmp/rpm-tmp.zpA4rx (%check) Bad exit status from /var/tmp/rpm-tmp.zpA4rx (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-ethtool.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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 riscv64 --nodeps /builddir/build/SPECS/python-ethtool.spec