Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/python3-ethtool.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-71884471225ee6b6bfe8b75cee4a53745157c149/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/python3-ethtool.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/python3-ethtool-0.14-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/python3-ethtool.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-71884471225ee6b6bfe8b75cee4a53745157c149/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/python3-ethtool.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KA0SgV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ethtool-0.14 + /usr/bin/gzip -dc /builddir/build/SOURCES/ethtool-0.14.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ethtool-0.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf ethtool.egg-info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0u3NTO + umask 022 + cd /builddir/build/BUILD + cd ethtool-0.14 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + LDFLAGS='-Wl,-z,relro ' + /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-armv7l-3.6 creating build/temp.linux-armv7l-3.6/python-ethtool gcc -pthread -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DVERSION="0.14" -I/usr/include/libnl3 -I/usr/include/python3.6m -c python-ethtool/ethtool.c -o build/temp.linux-armv7l-3.6/python-ethtool/ethtool.o -fno-strict-aliasing -Wno-unused-function gcc -pthread -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DVERSION="0.14" -I/usr/include/libnl3 -I/usr/include/python3.6m -c python-ethtool/etherinfo.c -o build/temp.linux-armv7l-3.6/python-ethtool/etherinfo.o -fno-strict-aliasing -Wno-unused-function gcc -pthread -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DVERSION="0.14" -I/usr/include/libnl3 -I/usr/include/python3.6m -c python-ethtool/etherinfo_obj.c -o build/temp.linux-armv7l-3.6/python-ethtool/etherinfo_obj.o -fno-strict-aliasing -Wno-unused-function gcc -pthread -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DVERSION="0.14" -I/usr/include/libnl3 -I/usr/include/python3.6m -c python-ethtool/netlink.c -o build/temp.linux-armv7l-3.6/python-ethtool/netlink.o -fno-strict-aliasing -Wno-unused-function gcc -pthread -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DVERSION="0.14" -I/usr/include/libnl3 -I/usr/include/python3.6m -c python-ethtool/netlink-address.c -o build/temp.linux-armv7l-3.6/python-ethtool/netlink-address.o -fno-strict-aliasing -Wno-unused-function creating build/lib.linux-armv7l-3.6 gcc -pthread -shared -Wl,-z,relro -g -Wl,-z,relro -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard build/temp.linux-armv7l-3.6/python-ethtool/ethtool.o build/temp.linux-armv7l-3.6/python-ethtool/etherinfo.o build/temp.linux-armv7l-3.6/python-ethtool/etherinfo_obj.o build/temp.linux-armv7l-3.6/python-ethtool/netlink.o build/temp.linux-armv7l-3.6/python-ethtool/netlink-address.o -L/usr/lib -lnl-3 -lnl-route-3 -lpython3.6m -o build/lib.linux-armv7l-3.6/ethtool.cpython-36m-arm-linux-gnueabi.so running build_scripts creating build/scripts-3.6 copying and adjusting scripts/pethtool -> build/scripts-3.6 copying and adjusting scripts/pifconfig -> build/scripts-3.6 changing mode of build/scripts-3.6/pethtool from 644 to 755 changing mode of build/scripts-3.6/pifconfig from 644 to 755 + sleep 1 + a2x -d manpage -f manpage man/pethtool.8.asciidoc + a2x -d manpage -f manpage man/pifconfig.8.asciidoc + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fiFIsO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm ++ dirname /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm + cd ethtool-0.14 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + LDFLAGS='-Wl,-z,relro ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm running install running install_lib creating /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr creating /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/lib creating /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/lib/python3.6/site-packages copying build/lib.linux-armv7l-3.6/ethtool.cpython-36m-arm-linux-gnueabi.so -> /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/lib/python3.6/site-packages writing byte-compilation script '/tmp/tmpu6bwyjwe.py' /usr/bin/python3 /tmp/tmpu6bwyjwe.py removing /tmp/tmpu6bwyjwe.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' writing manifest file 'ethtool.egg-info/SOURCES.txt' Copying ethtool.egg-info to /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/lib/python3.6/site-packages/ethtool-0.14-py3.6.egg-info running install_scripts creating /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/bin copying build/scripts-3.6/pifconfig -> /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/bin copying build/scripts-3.6/pethtool -> /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/bin changing mode of /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/bin/pifconfig to 755 changing mode of /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/bin/pethtool to 755 + mkdir -p /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/sbin + mkdir -p /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/share/man/man8/ + for x in pethtool pifconfig + mv /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/bin/pethtool /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/sbin/pethtool-3.6 + cp -p man/pethtool.8 /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/share/man/man8/pethtool-3.6.8 + for x in pethtool pifconfig + mv /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/bin/pifconfig /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/sbin/pifconfig-3.6 + cp -p man/pifconfig.8 /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/share/man/man8/pifconfig-3.6.8 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/ethtool-0.14 extracting debug info from /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/lib/python3.6/site-packages/ethtool.cpython-36m-arm-linux-gnueabi.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 143 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/lib/debug/usr/lib/python3.6 using /usr/bin/python3.6 Bytecompiling .py files below /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/lib/python3.6 using /usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.R9w20I + umask 022 + cd /builddir/build/BUILD + cd ethtool-0.14 + export PYTHONPATH=/builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/lib/python3.6/site-packages + PYTHONPATH=/builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/lib/python3.6/site-packages + /usr/bin/python3 tests/parse_ifconfig.py -v test_full (__main__.ParserTests) ... ok test_local (__main__.ParserTests) ... ok test_parse_ip4addr (__main__.ParserTests) ... ok test_parsing_device_line (__main__.ParserTests) ... ok test_parsing_flags_line (__main__.ParserTests) ... ok test_parsing_ip (__main__.ParserTests) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.348s OK + /usr/bin/python3 -m unittest discover -v test_etherinfo_objects (tests.test_ethtool.EthtoolTests) ... ok test_get_active_devices (tests.test_ethtool.EthtoolTests) ... ok test_get_interface_info_active (tests.test_ethtool.EthtoolTests) ... ok test_get_interface_info_all (tests.test_ethtool.EthtoolTests) ... ok test_get_interface_info_invalid (tests.test_ethtool.EthtoolTests) ... ok test_invalid_devices (tests.test_ethtool.EthtoolTests) ... ok test_driver_eth (tests.test_scripts.ScriptsTests) ... ok test_driver_lo (tests.test_scripts.ScriptsTests) ... ok test_flags2str (tests.test_scripts.ScriptsTests) ... ok test_show_coalesce_eth (tests.test_scripts.ScriptsTests) ... ok test_show_coalesce_lo (tests.test_scripts.ScriptsTests) ... ok test_show_offload_eth (tests.test_scripts.ScriptsTests) ... ok test_show_offload_lo (tests.test_scripts.ScriptsTests) ... ok test_show_ring_eth (tests.test_scripts.ScriptsTests) ... ok test_show_ring_lo (tests.test_scripts.ScriptsTests) ... Device(name='eth0', flagsint=4163, flagsstr='UP,BROADCAST,RUNNING,MULTICAST', mtu=1500) Device(name='lo', flagsint=73, flagsstr='UP,LOOPBACK,RUNNING', mtu=65536) ok ---------------------------------------------------------------------- Ran 15 tests in 0.136s OK + exit 0 Processing files: python36-ethtool-0.14-1.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cyZ8pq + umask 022 + cd /builddir/build/BUILD + cd ethtool-0.14 + DOCDIR=/builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/share/doc/python36-ethtool-0.14 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/share/doc/python36-ethtool-0.14 + cp -pr README.rst /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/share/doc/python36-ethtool-0.14 + cp -pr CHANGES.rst /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/share/doc/python36-ethtool-0.14 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3KNz88 + umask 022 + cd /builddir/build/BUILD + cd ethtool-0.14 + LICENSEDIR=/builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/share/licenses/python36-ethtool-0.14 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/share/licenses/python36-ethtool-0.14 + cp -pr COPYING /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm/usr/share/licenses/python36-ethtool-0.14 + exit 0 Provides: python3-ethtool = 0.14-1.el7 python3-ethtool(armv7hl-32) = 0.14-1.el7 python3.6dist(ethtool) = 0.14 python36-ethtool = 0.14-1.el7 python36-ethtool(armv7hl-32) = 0.14-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libnl-3.so.200 libnl-3.so.200(libnl_3) libnl-route-3.so.200 libnl-route-3.so.200(libnl_3) libpthread.so.0 libpthread.so.0(GLIBC_2.4) libpython3.6m.so.1.0 python(abi) = 3.6 rtld(GNU_HASH) Processing files: python3-ethtool-debuginfo-0.14-1.el7.armv7hl Provides: python3-ethtool-debuginfo = 0.14-1.el7 python3-ethtool-debuginfo(armv7hl-32) = 0.14-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm Wrote: /builddir/build/RPMS/python36-ethtool-0.14-1.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/python3-ethtool-debuginfo-0.14-1.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WBHtF3 + umask 022 + cd /builddir/build/BUILD + cd ethtool-0.14 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python3-ethtool-0.14-1.el7.arm + exit 0 Child return code was: 0