==> Building on electivire ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 700 49% 0.00kB/s 0:00:00 1,412 100% 695.31kB/s 0:00:00 (xfr#1, to-chk=1/3) python-ethtool-0.15-4.log 209 100% 204.10kB/s 0:00:00 209 100% 204.10kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 756 bytes received 69 bytes 550.00 bytes/sec total size is 1,609 speedup is 1.95 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root32 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root32]...done ==> Making package: python-ethtool 0.15-4 (Tue May 9 17:47:52 2023) ==> Retrieving sources...  -> Found ethtool-0.15.tar.gz ==> Validating source files with sha512sums... ethtool-0.15.tar.gz ... Passed ==> Validating source files with b2sums... ethtool-0.15.tar.gz ... Passed ==> Making package: python-ethtool 0.15-4 (Tue May 9 17:48:18 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (3) New Version Net Change core/libnsl 2.0.0-3 0.06 MiB core/libnl 3.7.0-3 1.69 MiB core/python 3.11.3-1 104.68 MiB Total Installed Size: 106.43 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing libnl... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (24) New Version Net Change Download Size extra/docbook-xml 4.5-9 1.96 MiB extra/docbook-xsl 1.79.2-7 26.32 MiB extra/libxslt 1.1.37-3 0.70 MiB community/python-autocommand 2.2.2-4 0.08 MiB community/python-fastjsonschema 2.16.3-4 0.29 MiB community/python-inflect 6.0.4-2 0.38 MiB community/python-iniconfig 2.0.0-4 0.04 MiB community/python-jaraco.context 4.3.0-3 0.04 MiB community/python-jaraco.functools 3.6.0-3 0.06 MiB community/python-jaraco.text 3.11.1-3 0.09 MiB community/python-more-itertools 9.1.1-4 0.61 MiB extra/python-ordered-set 4.1.0-4 0.07 MiB extra/python-packaging 23.0-3 0.43 MiB extra/python-platformdirs 3.5.0-2 0.20 MiB community/python-pluggy 1.0.0-4 0.13 MiB community/python-pydantic 1.10.7-4 6.36 MiB extra/python-tomli 2.0.1-3 0.11 MiB extra/python-trove-classifiers 2023.4.22-1 0.11 MiB community/python-typing_extensions 4.5.0-4 0.29 MiB extra/python-validate-pyproject 0.12.2-4 0.29 MiB community/asciidoc 10.2.0-3 2.41 MiB 0.60 MiB core/net-tools 2.10-2 0.43 MiB 0.14 MiB community/python-pytest 7.3.1-4 3.97 MiB extra/python-setuptools 1:67.7.0-1 4.68 MiB Total Download Size: 0.74 MiB Total Installed Size: 50.06 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... asciidoc-10.2.0-3-any downloading... net-tools-2.10-2-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libxslt... Optional dependencies for libxslt python: Python bindings [installed] installing docbook-xml... installing docbook-xsl... installing asciidoc... Optional dependencies for asciidoc graphviz: graphviz-filter lilypond: music-filter imagemagick: music-filter source-highlight: source-highlight-filter dblatex: pdf generation fop: alternative pdf generation w3m: text generation lynx: alternative text generation installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-typing_extensions... installing python-pydantic... Optional dependencies for python-pydantic python-dotenv: for .env file support python-email-validator: for email validation installing python-inflect... installing python-jaraco.text... installing python-ordered-set... installing python-packaging... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing net-tools... installing python-iniconfig... installing python-pluggy... installing python-pytest... [?25h==> Retrieving sources...  -> Found ethtool-0.15.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting ethtool-0.15.tar.gz with bsdtar ==> Starting build()... 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 -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python-ethtool/src=/usr/src/debug/python-ethtool -flto=auto -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 -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python-ethtool/src=/usr/src/debug/python-ethtool -flto=auto -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 -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python-ethtool/src=/usr/src/debug/python-ethtool -flto=auto -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 -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python-ethtool/src=/usr/src/debug/python-ethtool -flto=auto -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 -DNDEBUG -g -fwrapv -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python-ethtool/src=/usr/src/debug/python-ethtool -flto=auto -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,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/python-ethtool/src=/usr/src/debug/python-ethtool -flto=auto 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/lib -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 ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.3.1, pluggy-1.0.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-ethtool/src/ethtool-0.15 collecting ... collected 15 items tests/test_ethtool.py::EthtoolTests::test_etherinfo_objects PASSED [ 6%] tests/test_ethtool.py::EthtoolTests::test_get_active_devices FAILED [ 13%] tests/test_ethtool.py::EthtoolTests::test_get_interface_info_active PASSED [ 20%] tests/test_ethtool.py::EthtoolTests::test_get_interface_info_all PASSED [ 26%] tests/test_ethtool.py::EthtoolTests::test_get_interface_info_invalid PASSED [ 33%] tests/test_ethtool.py::EthtoolTests::test_invalid_devices FAILED [ 40%] tests/test_scripts.py::ScriptsTests::test_driver_eth PASSED [ 46%] tests/test_scripts.py::ScriptsTests::test_driver_lo PASSED [ 53%] tests/test_scripts.py::ScriptsTests::test_flags2str PASSED [ 60%] tests/test_scripts.py::ScriptsTests::test_show_coalesce_eth FAILED [ 66%] tests/test_scripts.py::ScriptsTests::test_show_coalesce_lo PASSED [ 73%] tests/test_scripts.py::ScriptsTests::test_show_offload_eth PASSED [ 80%] tests/test_scripts.py::ScriptsTests::test_show_offload_lo FAILED [ 86%] tests/test_scripts.py::ScriptsTests::test_show_ring_eth FAILED [ 93%] tests/test_scripts.py::ScriptsTests::test_show_ring_lo PASSED [100%] =================================== FAILURES =================================== _____________________ EthtoolTests.test_get_active_devices _____________________ self = fn = , args = ('lo',) errmsg = '[Errno 95] Operation not supported' def assertRaisesIOError(self, fn, args, errmsg): """ Verify that an IOError is raised, and that the errno and message are as expected (Python 2.6 and earlier's assertRaises doesn't allow us to check the details of the exception that is raised) """ try: > fn(*args) E OSError: [Errno 38] Function not implemented tests/test_ethtool.py:62: OSError During handling of the above exception, another exception occurred: self = def test_get_active_devices(self): for devname in ethtool.get_active_devices(): # Skip these test on tun and wg devices if devname.startswith('tun') or devname.startswith('wg'): continue > self._functions_accepting_devnames(devname) tests/test_ethtool.py:260: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ethtool.py:115: in _functions_accepting_devnames self.assertIsStringExceptForLoopback(ethtool.get_businfo, devname, tests/test_ethtool.py:75: in assertIsStringExceptForLoopback self.assertRaisesIOError(fn, (devname, ), errmsg) tests/test_ethtool.py:66: in assertRaisesIOError self.assertEqual('[Errno {}] {}'.format(enum, emsg), errmsg) E AssertionError: '[Errno 38] Function not implemented' != '[Errno 95] Operation not supported' E - [Errno 38] Function not implemented E + [Errno 95] Operation not supported ______________________ EthtoolTests.test_invalid_devices _______________________ self = fn = , args = ('I am not a valid device name',) errmsg = '[Errno 19] No such device' def assertRaisesIOError(self, fn, args, errmsg): """ Verify that an IOError is raised, and that the errno and message are as expected (Python 2.6 and earlier's assertRaises doesn't allow us to check the details of the exception that is raised) """ try: > fn(*args) E OSError: [Errno 38] Function not implemented tests/test_ethtool.py:62: OSError During handling of the above exception, another exception occurred: self = def test_invalid_devices(self): # Verify sane handling of non-existant devices get_fns = ('get_broadcast', 'get_businfo', 'get_coalesce', 'get_flags', 'get_gso', 'get_gso', 'get_hwaddr', 'get_ipaddr', 'get_module', 'get_netmask', 'get_ringparam', 'get_sg', 'get_tso', 'get_ufo') for fnname in get_fns: > self.assertRaisesNoSuchDevice(getattr(ethtool, fnname), INVALID_DEVICE_NAME) tests/test_ethtool.py:217: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ethtool.py:71: in assertRaisesNoSuchDevice self.assertRaisesIOError(fn, args, '[Errno 19] No such device') tests/test_ethtool.py:66: in assertRaisesIOError self.assertEqual('[Errno {}] {}'.format(enum, emsg), errmsg) E AssertionError: '[Errno 38] Function not implemented' != '[Errno 19] No such device' E - [Errno 38] Function not implemented E + [Errno 19] No such device _____________________ ScriptsTests.test_show_coalesce_eth ______________________ self = @unittest.skipIf('TRAVIS' in os.environ and os.environ['TRAVIS'] == 'true', 'Skipping this test on Travis CI because show ' 'coalesce is not supported on ethernet device in VM.') def test_show_coalesce_eth(self): self.assertIsNone(peth.show_coalesce(device)) expected_lines_start = ['Coalesce parameters for', 'Adaptive RX:', 'stats-block-usecs:', 'sample-interval:', 'pkt-rate-low:', 'pkt-rate-high:', 'rx-usecs:', 'rx-frames:', 'rx-usecs-irq:', 'rx-frames-irq:', 'tx-usecs:', 'tx-frames:', 'tx-usecs-irq:', 'tx-frames-irq:', 'rx-usecs-low:', 'rx-frame-low:', 'tx-usecs-low:', 'tx-frame-low:', 'rx-usecs-high:', 'rx-frame-high:', 'tx-usecs-high:', 'tx-frame-high:'] lines = self._output().split('\n') for expected_start, line in zip(expected_lines_start, lines): > self.assertTrue(line.startswith(expected_start)) E AssertionError: False is not true tests/test_scripts.py:141: AssertionError ______________________ ScriptsTests.test_show_offload_lo _______________________ self = def test_show_offload_lo(self): self.assertIsNone(peth.show_offload(loopback)) # Check if we have rights to obtain ufo and set proper expected output try: ethtool.get_ufo(loopback) expected_ufo = 'on' except (OSError, IOError): expected_ufo = 'not supported' > self.assertEqual(self._output(), '''scatter-gather: on tcp segmentation offload: on udp fragmentation offload: {expected_ufo} generic segmentation offload: on generic receive offload: on '''.format(expected_ufo=expected_ufo) ) E AssertionError: 'scatter-gather: not supported\ntcp segmentation offload: [138 chars]ed\n' != 'scatter-gather: on\ntcp segmentation offload: on\nudp fra[94 chars]on\n' E - scatter-gather: not supported E + scatter-gather: on E - tcp segmentation offload: not supported E ? ------------ E + tcp segmentation offload: on E ? + E udp fragmentation offload: not supported E - generic segmentation offload: not supported E ? ------------ E + generic segmentation offload: on E ? + E - generic receive offload: not supported E ? ------------ E + generic receive offload: on E ? + tests/test_scripts.py:83: AssertionError _______________________ ScriptsTests.test_show_ring_eth ________________________ self = def test_show_ring_eth(self): self.assertIsNone(peth.show_ring(device)) expected_lines_start = ['Ring parameters for ', 'Pre-set maximums:', 'RX:', 'RX Mini:', 'RX Jumbo:', 'TX', 'Current hardware settings:', 'RX:', 'RX Mini:', 'RX Jumbo:', 'TX:'] lines = self._output().split('\n') for expected_start, line in zip(expected_lines_start, lines): > self.assertTrue(line.startswith(expected_start)) E AssertionError: False is not true tests/test_scripts.py:109: AssertionError =============================== warnings summary =============================== tests/parse_ifconfig.py:36 /build/python-ethtool/src/ethtool-0.15/tests/parse_ifconfig.py:36: DeprecationWarning: invalid escape sequence '\s' ws = '\s+' tests/parse_ifconfig.py:39 /build/python-ethtool/src/ethtool-0.15/tests/parse_ifconfig.py:39: DeprecationWarning: invalid escape sequence '\S' group_nonws = '(\S+)' tests/parse_ifconfig.py:235 /build/python-ethtool/src/ethtool-0.15/tests/parse_ifconfig.py:235: DeprecationWarning: invalid escape sequence '\w' m = re.match('Link encap:(\w+ ?\w*)\s*(HWaddr )?(\S*)', text) tests/parse_ifconfig.py:280 /build/python-ethtool/src/ethtool-0.15/tests/parse_ifconfig.py:280: DeprecationWarning: invalid escape sequence '\(' + '\((.*)\)', line) tests/parse_ifconfig.py:294 /build/python-ethtool/src/ethtool-0.15/tests/parse_ifconfig.py:294: DeprecationWarning: invalid escape sequence '\(' + '\((.*)\)', line) tests/parse_ifconfig.py:307 /build/python-ethtool/src/ethtool-0.15/tests/parse_ifconfig.py:307: DeprecationWarning: invalid escape sequence '\(' + '\(.*\)', tests/parse_ifconfig.py:334 /build/python-ethtool/src/ethtool-0.15/tests/parse_ifconfig.py:334: DeprecationWarning: invalid escape sequence '\(' + '\(.*\)', tests/parse_ifconfig.py:512 /build/python-ethtool/src/ethtool-0.15/tests/parse_ifconfig.py:512: DeprecationWarning: invalid escape sequence '\(' m = re.match(ws + 'RX bytes:' + group_dec + ws + '\(.*\)' + ws tests/parse_ifconfig.py:513 /build/python-ethtool/src/ethtool-0.15/tests/parse_ifconfig.py:513: DeprecationWarning: invalid escape sequence '\(' + 'TX bytes:' + group_dec + ws + '\(.*\)', tests/parse_ifconfig.py:522 /build/python-ethtool/src/ethtool-0.15/tests/parse_ifconfig.py:522: DeprecationWarning: invalid escape sequence '\s' m = re.match(ws + 'Interrupt:' + group_dec + '\s*(.*)', line) tests/parse_ifconfig.py:528 /build/python-ethtool/src/ethtool-0.15/tests/parse_ifconfig.py:528: DeprecationWarning: invalid escape sequence '\s' m = re.match('Base address:' + group_o_hex + '\s*(.*)', line) tests/parse_ifconfig.py:534 /build/python-ethtool/src/ethtool-0.15/tests/parse_ifconfig.py:534: DeprecationWarning: invalid escape sequence '\s' m = re.match('Memory:' + group_hex + '-' + group_hex + '\s*(.*)', line) tests/test_scripts.py:6 /build/python-ethtool/src/ethtool-0.15/tests/test_scripts.py:6: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses from imp import load_source -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_ethtool.py::EthtoolTests::test_get_active_devices - Asserti... FAILED tests/test_ethtool.py::EthtoolTests::test_invalid_devices - AssertionE... FAILED tests/test_scripts.py::ScriptsTests::test_show_coalesce_eth - Assertio... FAILED tests/test_scripts.py::ScriptsTests::test_show_offload_lo - AssertionE... FAILED tests/test_scripts.py::ScriptsTests::test_show_ring_eth - AssertionErr... ================== 5 failed, 10 passed, 13 warnings in 0.91s =================== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root32/build receiving incremental file list python-ethtool-0.15-4-riscv64-build.log python-ethtool-0.15-4-riscv64-check.log python-ethtool-0.15-4-x86_64-build.log python-ethtool-0.15-4-x86_64-check.log sent 100 bytes received 5,362 bytes 2,184.80 bytes/sec total size is 31,047 speedup is 5.68