Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1978770 Details for
Bug 2226126
py-radix: FTBFS in Fedora rawhide/f39
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh89 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
build.log (text/plain), 32.00 KB, created by
Fedora Release Engineering
on 2023-07-25 19:03:51 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fedora Release Engineering
Created:
2023-07-25 19:03:51 UTC
Size:
32.00 KB
patch
obsolete
>to=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' >+ export CXXFLAGS >+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules ' >+ export FFLAGS >+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules ' >+ export FCFLAGS >+ VALAFLAGS=-g >+ export VALAFLAGS >+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' >+ export RUSTFLAGS >+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' >+ export LDFLAGS >+ LT_SYS_LIBRARY_PATH=/usr/lib: >+ export LT_SYS_LIBRARY_PATH >+ CC=gcc >+ export CC >+ CXX=g++ >+ export CXX >+ cd py-radix-0.10.0 >+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' >+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' >+ /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/py-radix-0.10.0-6.fc39.i386 --prefix /usr >running install >/usr/lib/python3.12/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, pypa/build 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/py-radix-0.10.0-6.fc39.i386/usr >creating /builddir/build/BUILDROOT/py-radix-0.10.0-6.fc39.i386/usr/lib >creating /builddir/build/BUILDROOT/py-radix-0.10.0-6.fc39.i386/usr/lib/python3.12 >creating /builddir/build/BUILDROOT/py-radix-0.10.0-6.fc39.i386/usr/lib/python3.12/site-packages >creating /builddir/build/BUILDROOT/py-radix-0.10.0-6.fc39.i386/usr/lib/python3.12/site-packages/radix >copying build/lib.linux-i686-cpython-312/radix/__init__.py -> /builddir/build/BUILDROOT/py-radix-0.10.0-6.fc39.i386/usr/lib/python3.12/site-packages/radix >copying build/lib.linux-i686-cpython-312/radix/radix.py -> /builddir/build/BUILDROOT/py-radix-0.10.0-6.fc39.i386/usr/lib/python3.12/site-packages/radix >copying build/lib.linux-i686-cpython-312/radix/_radix.cpython-312-i386-linux-gnu.so -> /builddir/build/BUILDROOT/py-radix-0.10.0-6.fc39.i386/usr/lib/python3.12/site-packages/radix >byte-compiling /builddir/build/BUILDROOT/py-radix-0.10.0-6.fc39.i386/usr/lib/python3.12/site-packages/radix/__init__.py to __init__.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/py-radix-0.10.0-6.fc39.i386/usr/lib/python3.12/site-packages/radix/radix.py to radix.cpython-312.pyc >writing byte-compilation script '/tmp/tmpf0yy2tve.py' >/usr/bin/python3 /tmp/tmpf0yy2tve.py >removing /tmp/tmpf0yy2tve.py >running install_egg_info >running egg_info >creating py_radix.egg-info >writing py_radix.egg-info/PKG-INFO >writing dependency_links to py_radix.egg-info/dependency_links.txt >writing top-level names to py_radix.egg-info/top_level.txt >writing manifest file 'py_radix.egg-info/SOURCES.txt' >reading manifest file 'py_radix.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >adding license file 'LICENSE' >writing manifest file 'py_radix.egg-info/SOURCES.txt' >Copying py_radix.egg-info to /builddir/build/BUILDROOT/py-radix-0.10.0-6.fc39.i386/usr/lib/python3.12/site-packages/py_radix-0.10.0-py3.12.egg-info >running install_scripts >+ rm -rfv /builddir/build/BUILDROOT/py-radix-0.10.0-6.fc39.i386/usr/bin/__pycache__ >+ /usr/bin/find-debuginfo -j5 --strict-build-id -m -i --build-id-seed 0.10.0-6.fc39 --unique-debug-suffix -0.10.0-6.fc39.i386 --unique-debug-src-base py-radix-0.10.0-6.fc39.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/py-radix-0.10.0 >find-debuginfo: starting >Extracting debug info from 1 files >DWARF-compressing 1 files >sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. >Creating .debug symlinks for symlinks to ELF files >Copying sources found by 'debugedit -l' to /usr/src/debug/py-radix-0.10.0-6.fc39.i386 >141 blocks >find-debuginfo: done >+ /usr/lib/rpm/check-buildroot >+ /usr/lib/rpm/redhat/brp-ldconfig >+ /usr/lib/rpm/brp-compress >+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip >+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip >+ /usr/lib/rpm/check-rpaths >+ /usr/lib/rpm/redhat/brp-mangle-shebangs >+ /usr/lib/rpm/brp-remove-la-files >+ env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j5 >Bytecompiling .py files below /builddir/build/BUILDROOT/py-radix-0.10.0-6.fc39.i386/usr/lib/python3.12 using python3.12 >Bytecompiling .py files below /builddir/build/BUILDROOT/py-radix-0.10.0-6.fc39.i386/usr/lib/debug/usr/lib/python3.12 using python3.12 >+ /usr/lib/rpm/redhat/brp-python-hardlink >Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.SCbcUi >+ umask 022 >+ cd /builddir/build/BUILD >+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' >+ export CXXFLAGS >+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules ' >+ export FFLAGS >+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules ' >+ export FCFLAGS >+ VALAFLAGS=-g >+ export VALAFLAGS >+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' >+ export RUSTFLAGS >+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' >+ export LDFLAGS >+ LT_SYS_LIBRARY_PATH=/usr/lib: >+ export LT_SYS_LIBRARY_PATH >+ CC=gcc >+ export CC >+ CXX=g++ >+ export CXX >+ cd py-radix-0.10.0 >+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' >+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' >+ PATH=/builddir/build/BUILDROOT/py-radix-0.10.0-6.fc39.i386/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin >+ PYTHONPATH=/builddir/build/BUILDROOT/py-radix-0.10.0-6.fc39.i386/usr/lib/python3.12/site-packages:/builddir/build/BUILDROOT/py-radix-0.10.0-6.fc39.i386/usr/lib/python3.12/site-packages >+ PYTHONDONTWRITEBYTECODE=1 >+ PYTEST_XDIST_AUTO_NUM_WORKERS=5 >+ /usr/bin/pytest -v >============================= test session starts ============================== >platform linux -- Python 3.12.0b4, pytest-7.3.2, pluggy-1.0.0 -- /usr/bin/python3 >cachedir: .pytest_cache >rootdir: /builddir/build/BUILD/py-radix-0.10.0 >collecting ... collected 40 items >tests/test_compat.py::LoadRadixPickle::test_radix_0_5_c_ext FAILED [ 2%] >tests/test_compat.py::LoadRadixPickle::test_radix_0_6_c_ext FAILED [ 5%] >tests/test_compat.py::LoadRadixPickle::test_radix_0_6_no_ext FAILED [ 7%] >tests/test_regression.py::TestRadix::test_000_check_incref PASSED [ 10%] >tests/test_regression.py::TestRadix::test_00__create_destroy PASSED [ 12%] >tests/test_regression.py::TestRadix::test_01__create_node PASSED [ 15%] >tests/test_regression.py::TestRadix::test_02__node_userdata PASSED [ 17%] >tests/test_regression.py::TestRadix::test_03__search_exact PASSED [ 20%] >tests/test_regression.py::TestRadix::test_04__search_best PASSED [ 22%] >tests/test_regression.py::TestRadix::test_05__concurrent_trees PASSED [ 25%] >tests/test_regression.py::TestRadix::test_06__deletes PASSED [ 27%] >tests/test_regression.py::TestRadix::test_07__nodes PASSED [ 30%] >tests/test_regression.py::TestRadix::test_08__nodes_empty_tree PASSED [ 32%] >tests/test_regression.py::TestRadix::test_09__prefixes PASSED [ 35%] >tests/test_regression.py::TestRadix::test_10__use_after_free FAILED [ 37%] >tests/test_regression.py::TestRadix::test_11__unique_instance PASSED [ 40%] >tests/test_regression.py::TestRadix::test_12__inconsistent_masks4 FAILED [ 42%] >tests/test_regression.py::TestRadix::test_13__inconsistent_masks6 FAILED [ 45%] >tests/test_regression.py::TestRadix::test_14__packed_addresses4 FAILED [ 47%] >tests/test_regression.py::TestRadix::test_15__packed_addresses6 FAILED [ 50%] >tests/test_regression.py::TestRadix::test_16__bad_addresses FAILED [ 52%] >tests/test_regression.py::TestRadix::test_17__mixed_address_family FAILED [ 55%] >tests/test_regression.py::TestRadix::test_18__iterator PASSED [ 57%] >tests/test_regression.py::TestRadix::test_19__iterate_on_empty PASSED [ 60%] >tests/test_regression.py::TestRadix::test_20__iterate_and_modify_tree PASSED [ 62%] >tests/test_regression.py::TestRadix::test_21__cpickle PASSED [ 65%] >tests/test_regression.py::TestRadix::test_21__lots_of_prefixes FAILED [ 67%] >tests/test_regression.py::TestRadix::test_21__pickle FAILED [ 70%] >tests/test_regression.py::TestRadix::test_22__broken_sanitise FAILED [ 72%] >tests/test_regression.py::TestRadix::test_22_search_best FAILED [ 75%] >tests/test_regression.py::TestRadix::test_23_add_with_glue PASSED [ 77%] >tests/test_regression.py::TestRadix::test_24_search_worst FAILED [ 80%] >tests/test_regression.py::TestRadix::test_25_search_default FAILED [ 82%] >tests/test_regression.py::TestRadix::test_26_search_covered FAILED [ 85%] >tests/test_regression.py::TestRadix::test_27_search_covered_segfault FAILED [ 87%] >tests/test_regression.py::TestRadix::test_28_search_covered_super_node_error FAILED [ 90%] >tests/test_regression.py::TestRadix::test_29_search_covering FAILED [ 92%] >tests/test_regression.py::TestRadix::test_30_remove PASSED [ 95%] >tests/test_regression.py::TestRadix::test_31_parent PASSED [ 97%] >tests/test_regression.py::TestRadix::test_32_covering_with_delete_error PASSED [100%] >=================================== FAILURES =================================== >_____________________ LoadRadixPickle.test_radix_0_5_c_ext _____________________ >self = <tests.test_compat.LoadRadixPickle testMethod=test_radix_0_5_c_ext> > def test_radix_0_5_c_ext(self): >> self._check_file('radix-0.5-c_ext.pkl') >tests/test_compat.py:41: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <tests.test_compat.LoadRadixPickle testMethod=test_radix_0_5_c_ext> >file_name = 'radix-0.5-c_ext.pkl' > def _check_file(self, file_name): > with open(join(self.data_dir, file_name), 'rb') as f: > tree = load(f) >> self.assertEquals(len(tree.nodes()), 3) >E AttributeError: 'LoadRadixPickle' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_compat.py:33: AttributeError >_____________________ LoadRadixPickle.test_radix_0_6_c_ext _____________________ >self = <tests.test_compat.LoadRadixPickle testMethod=test_radix_0_6_c_ext> > def test_radix_0_6_c_ext(self): >> self._check_file('radix-0.6-c_ext.pkl') >tests/test_compat.py:44: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <tests.test_compat.LoadRadixPickle testMethod=test_radix_0_6_c_ext> >file_name = 'radix-0.6-c_ext.pkl' > def _check_file(self, file_name): > with open(join(self.data_dir, file_name), 'rb') as f: > tree = load(f) >> self.assertEquals(len(tree.nodes()), 3) >E AttributeError: 'LoadRadixPickle' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_compat.py:33: AttributeError >____________________ LoadRadixPickle.test_radix_0_6_no_ext _____________________ >self = <tests.test_compat.LoadRadixPickle testMethod=test_radix_0_6_no_ext> > def test_radix_0_6_no_ext(self): >> self._check_file('radix-0.6-no_ext.pkl') >tests/test_compat.py:47: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = <tests.test_compat.LoadRadixPickle testMethod=test_radix_0_6_no_ext> >file_name = 'radix-0.6-no_ext.pkl' > def _check_file(self, file_name): > with open(join(self.data_dir, file_name), 'rb') as f: > tree = load(f) >> self.assertEquals(len(tree.nodes()), 3) >E AttributeError: 'LoadRadixPickle' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_compat.py:33: AttributeError >______________________ TestRadix.test_10__use_after_free _______________________ >self = <tests.test_regression.TestRadix testMethod=test_10__use_after_free> > def test_10__use_after_free(self): > tree = radix.Radix() > node1 = tree.add("10.0.0.0/8") > del tree >> self.assertEquals(node1.prefix, "10.0.0.0/8") >E AttributeError: 'TestRadix' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_regression.py:192: AttributeError >____________________ TestRadix.test_12__inconsistent_masks4 ____________________ >self = <tests.test_regression.TestRadix testMethod=test_12__inconsistent_masks4> > def test_12__inconsistent_masks4(self): > tree = radix.Radix() > node1 = tree.add("10.255.255.255", 28) > node2 = tree.add(network="10.255.255.240/28") > node3 = tree.add(network="10.255.255.252", masklen=28) > self.assertTrue(node1 is node2) > self.assertTrue(node1 is node3) >> self.assertEquals(node1.prefix, "10.255.255.240/28") >E AttributeError: 'TestRadix' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_regression.py:208: AttributeError >____________________ TestRadix.test_13__inconsistent_masks6 ____________________ >self = <tests.test_regression.TestRadix testMethod=test_13__inconsistent_masks6> > def test_13__inconsistent_masks6(self): > tree = radix.Radix() > node1 = tree.add("dead:beef:1234:5678::", 32) > node2 = tree.add(network="dead:beef:8888:9999::/32") > node3 = tree.add(network="dead:beef::", masklen=32) > self.assertTrue(node1 is node2) > self.assertTrue(node1 is node3) >> self.assertEquals(node1.prefix, "dead:beef::/32") >E AttributeError: 'TestRadix' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_regression.py:217: AttributeError >_____________________ TestRadix.test_14__packed_addresses4 _____________________ >self = <tests.test_regression.TestRadix testMethod=test_14__packed_addresses4> > def test_14__packed_addresses4(self): > tree = radix.Radix() > p = struct.pack('4B', 0xe0, 0x14, 0x0b, 0x40) > node = tree.add(packed=p, masklen=26) >> self.assertEquals(node.family, socket.AF_INET) >E AttributeError: 'TestRadix' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_regression.py:223: AttributeError >_____________________ TestRadix.test_15__packed_addresses6 _____________________ >self = <tests.test_regression.TestRadix testMethod=test_15__packed_addresses6> > def test_15__packed_addresses6(self): > tree = radix.Radix() > p = struct.pack( > '16B', > 0xde, 0xad, 0xbe, 0xef, 0x12, 0x34, 0x56, 0x78, > 0x9a, 0xbc, 0xde, 0xf0, 0x00, 0x00, 0x00, 0x00) > node = tree.add(packed=p, masklen=108) >> self.assertEquals(node.family, socket.AF_INET6) >E AttributeError: 'TestRadix' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_regression.py:234: AttributeError >_______________________ TestRadix.test_16__bad_addresses _______________________ >self = <tests.test_regression.TestRadix testMethod=test_16__bad_addresses> > def test_16__bad_addresses(self): > tree = radix.Radix() > self.assertRaises(TypeError, tree.add) > self.assertRaises(ValueError, tree.add, "blah/32") > self.assertRaises(ValueError, tree.add, "blah", 32) > self.assertRaises(ValueError, tree.add, "127.0.0.1", -2) > self.assertRaises(ValueError, tree.add, "127.0.0.1", 64) > self.assertRaises(ValueError, tree.add, "::", -2) > self.assertRaises(ValueError, tree.add, "::", 256) >> self.assertEquals(len(tree.nodes()), 0) >E AttributeError: 'TestRadix' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_regression.py:249: AttributeError >___________________ TestRadix.test_17__mixed_address_family ____________________ >self = <tests.test_regression.TestRadix testMethod=test_17__mixed_address_family> > def test_17__mixed_address_family(self): > tree = radix.Radix() > node1 = tree.add("255.255.255.255", 32) > node2 = tree.add("ffff::/32") > node1_o = tree.search_best("255.255.255.255") > node2_o = tree.search_best("ffff::") > self.assertTrue(node1 is node1_o) > self.assertTrue(node2 is node2_o) >> self.assertNotEquals(node1.prefix, node2.prefix) >E AttributeError: 'TestRadix' object has no attribute 'assertNotEquals'. Did you mean: 'assertNotEqual'? >tests/test_regression.py:259: AttributeError >_____________________ TestRadix.test_21__lots_of_prefixes ______________________ >self = <tests.test_regression.TestRadix testMethod=test_21__lots_of_prefixes> > def test_21__lots_of_prefixes(self): > tree = radix.Radix() > num_nodes_in = 0 > for i in range(0, 128): > for j in range(0, 128): > k = ((i + j) % 8) + 24 > node = tree.add("1.%d.%d.0" % (i, j), k) > node.data["i"] = i > node.data["j"] = j > num_nodes_in += 1 > > num_nodes_del = 0 > for i in range(0, 128, 5): > for j in range(0, 128, 3): > k = ((i + j) % 8) + 24 > tree.delete("1.%d.%d.0" % (i, j), k) > num_nodes_del += 1 > > num_nodes_out = 0 > for node in tree: > i = node.data["i"] > j = node.data["j"] > k = ((i + j) % 8) + 24 > prefix = "1.%d.%d.0/%d" % (i, j, k) >> self.assertEquals(node.prefix, prefix) >E AttributeError: 'TestRadix' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_regression.py:324: AttributeError >__________________________ TestRadix.test_21__pickle ___________________________ >self = <tests.test_regression.TestRadix testMethod=test_21__pickle> > def test_21__pickle(self): > tree = radix.Radix() > num_nodes_in = 0 > for i in range(0, 128): > for j in range(0, 128): > k = ((i + j) % 8) + 24 > addr = "1.%d.%d.0" % (i, j) > node = tree.add(addr, k) > node.data["i"] = i > node.data["j"] = j > num_nodes_in += 1 > tree_pickled = pickle.dumps(tree) > del tree > tree2 = pickle.loads(tree_pickled) > for i in range(0, 128): > for j in range(0, 128): > k = ((i + j) % 8) + 24 > addr = "1.%d.%d.0" % (i, j) > node = tree2.search_exact(addr, k) >> self.assertNotEquals(node, None) >E AttributeError: 'TestRadix' object has no attribute 'assertNotEquals'. Did you mean: 'assertNotEqual'? >tests/test_regression.py:356: AttributeError >______________________ TestRadix.test_22__broken_sanitise ______________________ >self = <tests.test_regression.TestRadix testMethod=test_22__broken_sanitise> > def test_22__broken_sanitise(self): > tree = radix.Radix() > node = tree.add("255.255.255.255/15") >> self.assertEquals(node.prefix, "255.254.0.0/15") >E AttributeError: 'TestRadix' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_regression.py:335: AttributeError >________________________ TestRadix.test_22_search_best _________________________ >self = <tests.test_regression.TestRadix testMethod=test_22_search_best> > def test_22_search_best(self): > tree = radix.Radix() > tree.add('10.0.0.0/8') > tree.add('10.0.0.0/13') > tree.add('10.0.0.0/16') >> self.assertEquals( > tree.search_best('10.0.0.0/15').prefix, > '10.0.0.0/13') >E AttributeError: 'TestRadix' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_regression.py:394: AttributeError >________________________ TestRadix.test_24_search_worst ________________________ >self = <tests.test_regression.TestRadix testMethod=test_24_search_worst> > def test_24_search_worst(self): > tree = radix.Radix() > tree.add('10.0.0.0/8') > tree.add('10.0.0.0/13') > tree.add('10.0.0.0/16') >> self.assertEquals( > tree.search_worst('10.0.0.0/15').prefix, > '10.0.0.0/8') >E AttributeError: 'TestRadix' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_regression.py:412: AttributeError >_______________________ TestRadix.test_25_search_default _______________________ >self = <tests.test_regression.TestRadix testMethod=test_25_search_default> > def test_25_search_default(self): > tree = radix.Radix() > tree.add('192.168.30.0/24') > tree.add('1.1.2.0/24') > tree.add('0.0.0.0/0') >> self.assertEquals( > tree.search_best('10.10.10.10').prefix, > '0.0.0.0/0') >E AttributeError: 'TestRadix' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_regression.py:424: AttributeError >_______________________ TestRadix.test_26_search_covered _______________________ >self = <tests.test_regression.TestRadix testMethod=test_26_search_covered> > def test_26_search_covered(self): > tree = radix.Radix() > tree.add('10.0.0.0/8') > tree.add('10.0.0.0/13') > tree.add('10.0.0.0/31') > tree.add('11.0.0.0/16') > tree.add('10.30.2.1/32') > tree.add('10.30.2.0/25') > tree.add('0.0.0.0/0') >> self.assertEquals( > [n.prefix for n in tree.search_covered('11.0.0.0/8')], > ['11.0.0.0/16']) >E AttributeError: 'TestRadix' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_regression.py:437: AttributeError >__________________ TestRadix.test_27_search_covered_segfault ___________________ >self = <tests.test_regression.TestRadix testMethod=test_27_search_covered_segfault> > def test_27_search_covered_segfault(self): > # the following will make py-radix 0.8 segfault > tree = radix.Radix() > tree.add('193.178.156.0/24') > tree.add('193.178.157.0/24') > >> self.assertEquals( > [n.prefix for n in tree.search_covered('193.178.152.0/21')], > ['193.178.156.0/24', '193.178.157.0/24'] > ) >E AttributeError: 'TestRadix' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_regression.py:468: AttributeError >______________ TestRadix.test_28_search_covered_super_node_error _______________ >self = <tests.test_regression.TestRadix testMethod=test_28_search_covered_super_node_error> > def test_28_search_covered_super_node_error(self): > tree = radix.Radix() > tree.add('27.0.100.0/24') > tree.add('27.0.101.0/24') > >> self.assertEquals( > [n.prefix for n in tree.search_covered('31.3.104.0/21')], > [] > ) >E AttributeError: 'TestRadix' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_regression.py:478: AttributeError >______________________ TestRadix.test_29_search_covering _______________________ >self = <tests.test_regression.TestRadix testMethod=test_29_search_covering> > def test_29_search_covering(self): > tree = radix.Radix() > tree.add('0.0.0.0/2') > tree.add('8.9.0.1/32') > tree.add('8.9.0.0/16') > tree.add('3.178.156.0/24') > tree.add('3.178.157.0/24') > >> self.assertEquals([n.prefix for n in > tree.search_covering('8.9.0.1/32')], > ['8.9.0.1/32', '8.9.0.0/16', '0.0.0.0/2']) >E AttributeError: 'TestRadix' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'? >tests/test_regression.py:491: AttributeError >=========================== short test summary info ============================ >FAILED tests/test_compat.py::LoadRadixPickle::test_radix_0_5_c_ext - Attribut... >FAILED tests/test_compat.py::LoadRadixPickle::test_radix_0_6_c_ext - Attribut... >FAILED tests/test_compat.py::LoadRadixPickle::test_radix_0_6_no_ext - Attribu... >FAILED tests/test_regression.py::TestRadix::test_10__use_after_free - Attribu... >FAILED tests/test_regression.py::TestRadix::test_12__inconsistent_masks4 - At... >FAILED tests/test_regression.py::TestRadix::test_13__inconsistent_masks6 - At... >FAILED tests/test_regression.py::TestRadix::test_14__packed_addresses4 - Attr... >FAILED tests/test_regression.py::TestRadix::test_15__packed_addresses6 - Attr... >FAILED tests/test_regression.py::TestRadix::test_16__bad_addresses - Attribut... >FAILED tests/test_regression.py::TestRadix::test_17__mixed_address_family - A... >FAILED tests/test_regression.py::TestRadix::test_21__lots_of_prefixes - Attri... >FAILED tests/test_regression.py::TestRadix::test_21__pickle - AttributeError:... >FAILED tests/test_regression.py::TestRadix::test_22__broken_sanitise - Attrib... >FAILED tests/test_regression.py::TestRadix::test_22_search_best - AttributeEr... >FAILED tests/test_regression.py::TestRadix::test_24_search_worst - AttributeE... >FAILED tests/test_regression.py::TestRadix::test_25_search_default - Attribut... >FAILED tests/test_regression.py::TestRadix::test_26_search_covered - Attribut... >FAILED tests/test_regression.py::TestRadix::test_27_search_covered_segfault >FAILED tests/test_regression.py::TestRadix::test_28_search_covered_super_node_error >FAILED tests/test_regression.py::TestRadix::test_29_search_covering - Attribu... >================== 20 failed, 20 passed in 801.33s (0:13:21) =================== >RPM build errors: >error: Bad exit status from /var/tmp/rpm-tmp.SCbcUi (%check) > Bad exit status from /var/tmp/rpm-tmp.SCbcUi (%check) >Child return code was: 1 >EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M b3cb3a3be2af43a8969ba86d8bcc3ede -D /var/lib/mock/f39-build-44331111-5276202/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.9h2hax6o:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007" --setenv=PS1=<mock-chroot> \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/py-radix.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: > # /usr/bin/systemd-nspawn -q -M b3cb3a3be2af43a8969ba86d8bcc3ede -D /var/lib/mock/f39-build-44331111-5276202/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.9h2hax6o:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target i686 --nodeps /builddir/build/SPECS/py-radix.spec >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2226126
: 1978770 |
1978771
|
1978772