Source: pyasn Version: 1.6.1-2 Severity: important Tags: ftbfs User: debian-pyt...@lists.debian.org Usertags: python3.10
pyasn ftbfs with python3-defaults from experimental: [...] I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build; python3.10 -m nose -v tests Checks compatibility of PyASN 1.2 results with current pyasn for all 2014 ipasn dbs . ... SKIPPING - Python 2 or PyASN 1.2 not present ... ok Failure: FileNotFoundError ([Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/../data/ipasn_20140513.dat.gz') ... ERROR Tests pyasn.mrtx.parse_mrt_file() - converts a full (TD1) RIB file, and compares ... SKIPPING - full dump doesn't exist.ok Tests pyasn.mrtx.parse_mrt_file() - converts a full (TD2) RIB file, and compares ... SKIPPING - full dump doesn't exist.ok Tests pyasn.mrtx.parse_mrt_file() - converts a full (TD2) RIB file with IPv6; ... SKIPPING - full dump doesn't exist.ok Tests pyasn.mrtx internal classes by converting start of an RIB6 TD2 file (IPv6) ... ERROR Tests pyasn.mrtx internal classes by converting start of an RIB TD1 file ... ERROR Tests pyasn.mrtx internal classes by converting start of an RIB TD2 file ... ERROR Tests pyasn.mrtx.parse_mrt_file() with repeated prefixes causing errros (bug #39) ... SKIPPING - full dump doesn't exist.ok Tests pyasn.mrtx.parse_mrt_file() with routeviews WIDE archive TD1 (bug #42) ... SKIPPING - full dump doesn't exist.ok Tests pyasn.mrtx.parse_mrt_file() with skip_record_on_error set to True ... ERROR Tests pyasn.mrtx.parse_mrt_file() with skip_record_on_error set to default(False); ... ERROR Failure: FileNotFoundError ([Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/../data/ipasn_20140513.dat.gz') ... ERROR ====================================================================== ERROR: Failure: FileNotFoundError ([Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/../data/ipasn_20140513.dat.gz') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3/dist-packages/nose/loader.py", line 416, in loadTestsFromName module = self.importer.importFromPath( File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.10/imp.py", line 235, in load_module return load_source(name, filename, file) File "/usr/lib/python3.10/imp.py", line 172, in load_source module = _load(spec) File "<frozen importlib._bootstrap>", line 719, in _load File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/test_comparative.py", line 39, in <module> class TestCorrectness(TestCase): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/test_comparative.py", line 40, in TestCorrectness asndb = pyasn.pyasn(IPASN_DB_PATH) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/pyasn/__init__.py", line 64, in __init__ f = gzip.open(ipasn_file, 'rt') # Py2.6 doesn't support 'with' for gzip File "/usr/lib/python3.10/gzip.py", line 58, in open binary_file = GzipFile(filename, gz_mode, compresslevel) File "/usr/lib/python3.10/gzip.py", line 174, in __init__ fileobj = self.myfileobj = builtins.open(filename, mode or 'rb') FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/../data/ipasn_20140513.dat.gz' ====================================================================== ERROR: Tests pyasn.mrtx internal classes by converting start of an RIB6 TD2 file (IPv6) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/test_mrtx.py", line 309, in test_mrt6_table_dump_v2 f = BZ2File(RIB6_TD2_PARTDUMP, 'rb') File "/usr/lib/python3.10/bz2.py", line 81, in __init__ self._fp = _builtin_open(filename, mode) FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/../data/rib6.20151101.0600_firstMB.bz2' ====================================================================== ERROR: Tests pyasn.mrtx internal classes by converting start of an RIB TD1 file ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/test_mrtx.py", line 135, in test_mrt_table_dump_v1 f = BZ2File(RIB_TD1_PARTDUMP, 'rb') File "/usr/lib/python3.10/bz2.py", line 81, in __init__ self._fp = _builtin_open(filename, mode) FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/../data/rib.20080501.0644_firstMB.bz2' ====================================================================== ERROR: Tests pyasn.mrtx internal classes by converting start of an RIB TD2 file ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/test_mrtx.py", line 50, in test_mrt_table_dump_v2 f = BZ2File(RIB_TD2_PARTDUMP, 'rb') File "/usr/lib/python3.10/bz2.py", line 81, in __init__ self._fp = _builtin_open(filename, mode) FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/../data/rib.20140523.0600_firstMB.bz2' ====================================================================== ERROR: Tests pyasn.mrtx.parse_mrt_file() with skip_record_on_error set to True ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/test_mrtx.py", line 478, in test_read_all_line_on_single_error_with_boolean_true res = parse_mrt_file(RIB_TD2_RECORD_FAIL_PARTDUMP, skip_record_on_error=True) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/pyasn/mrtx.py", line 89, in parse_mrt_file mrt_file = open_archive(mrt_file) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/pyasn/mrtx.py", line 63, in open_archive with open(fpath, mode) as fh: FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/../data/bview.20140112.1600_3samples.bz2' ====================================================================== ERROR: Tests pyasn.mrtx.parse_mrt_file() with skip_record_on_error set to default(False); ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/test_mrtx.py", line 472, in test_skip_all_line_on_single_error_with_boolean_false self.assertRaises(IndexError, parse_mrt_file, RIB_TD2_RECORD_FAIL_PARTDUMP) File "/usr/lib/python3.10/unittest/case.py", line 738, in assertRaises return context.handle('assertRaises', args, kwargs) File "/usr/lib/python3.10/unittest/case.py", line 201, in handle callable_obj(*args, **kwargs) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/pyasn/mrtx.py", line 89, in parse_mrt_file mrt_file = open_archive(mrt_file) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/pyasn/mrtx.py", line 63, in open_archive with open(fpath, mode) as fh: FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/../data/bview.20140112.1600_3samples.bz2' ====================================================================== ERROR: Failure: FileNotFoundError ([Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/../data/ipasn_20140513.dat.gz') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3/dist-packages/nose/loader.py", line 416, in loadTestsFromName module = self.importer.importFromPath( File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.10/imp.py", line 235, in load_module return load_source(name, filename, file) File "/usr/lib/python3.10/imp.py", line 172, in load_source module = _load(spec) File "<frozen importlib._bootstrap>", line 719, in _load File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/test_simple.py", line 34, in <module> class TestSimple(TestCase): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/test_simple.py", line 38, in TestSimple asndb = pyasn(IPASN_DB_PATH) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/pyasn/__init__.py", line 64, in __init__ f = gzip.open(ipasn_file, 'rt') # Py2.6 doesn't support 'with' for gzip File "/usr/lib/python3.10/gzip.py", line 58, in open binary_file = GzipFile(filename, gz_mode, compresslevel) File "/usr/lib/python3.10/gzip.py", line 174, in __init__ fileobj = self.myfileobj = builtins.open(filename, mode or 'rb') FileNotFoundError: [Errno 2] No such file or directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build/tests/../data/ipasn_20140513.dat.gz' ---------------------------------------------------------------------- Ran 13 tests in 0.030s FAILED (errors=7) E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyasn/build; python3.10 -m nose -v tests