[Python-modules-team] Bug#951961: androguard: FTBFS: dh_auto_test: error: pybuild --test --test-nose -i python{version} -p "3.8 3.7" returned exit code 13
Lucas Nussbaum
lucas at debian.org
Sun Feb 23 06:54:50 GMT 2020
Source: androguard
Version: 3.3.5-2
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="LC_ALL=C.UTF-8 {interpreter} -m nose --verbose" dh_auto_test
> I: pybuild base:217: LC_ALL=C.UTF-8 python3.8 -m nose --verbose
> Failure: ModuleNotFoundError (No module named 'asn1crypto') ... ERROR
> Test def use with the GCD function above. ... ok
> testDefUseIfBool (dataflow_test.DataflowTest) ... ok
> testGroupVariablesGCD (dataflow_test.DataflowTest) ... ok
> testGroupVariablesIfBool (dataflow_test.DataflowTest) ... ok
> testReachDefGCD (dataflow_test.DataflowTest) ... ok
> testSplitVariablesGCD (dataflow_test.DataflowTest) ... ok
> testSplitVariablesIfBool (dataflow_test.DataflowTest) ... ok
> testCrossGraph (dominator_test.DominatorTest) ... ok
> testFifthGraph (dominator_test.DominatorTest) ... ok
> testFirstGraph (dominator_test.DominatorTest) ... ok
> testFourthGraph (dominator_test.DominatorTest) ... ok
> testLinearVitGraph (dominator_test.DominatorTest) ... ok
> testSecondGraph (dominator_test.DominatorTest) ... ok
> testTVerifyGraph (dominator_test.DominatorTest) ... ok
> testTarjanGraph (dominator_test.DominatorTest) ... ok
> testThirdGraph (dominator_test.DominatorTest) ... ok
> testCrossGraph (rpo_test.RpoTest) ... ok
> testFifthGraph (rpo_test.RpoTest) ... ok
> testFirstGraph (rpo_test.RpoTest) ... ok
> testFourthGraph (rpo_test.RpoTest) ... ok
> testLinearVitGraph (rpo_test.RpoTest) ... ok
> testSecondGraph (rpo_test.RpoTest) ... ok
> testTVerifyGraph (rpo_test.RpoTest) ... ok
> testTarjanGraph (rpo_test.RpoTest) ... ok
> testThirdGraph (rpo_test.RpoTest) ... ok
> Failure: ModuleNotFoundError (No module named 'asn1crypto') ... ERROR
> Failure: ModuleNotFoundError (No module named 'asn1crypto') ... ERROR
> Failure: ModuleNotFoundError (No module named 'asn1crypto') ... ERROR
> testAndroidManifest (test_axml.AXMLTest) ... ok
> Test if wrong arsc headers are rejected ... ok
> Test if weird namespace constelations cause problems ... ok
> Test if extra namespaces cause problems ... ok
> Compare the binary version of a file with the plain text ... ok
> Assert that Namespaces which are used in a tag and the tag is closed ... ok
> Test if a single header without string pool is rejected ... ok
> testNonManifest (test_axml.AXMLTest) ... ok
> Test if non-null terminated strings are detected. ... ok
> Test if a nonzero style offset in the string section causes problems ... ok
> Assert that Strings with nullbytes are handled correctly ... ok
> Assert that Packed files are read ... ok
> Test that the replacements for attributes, names and values are working ... ok
> Test for Text chunks containing XML ... ok
> Test if a very short file is rejected ... ok
> Assert that files with a broken filesize are not parsed ... ok
> Test if a wrong header size is rejected ... ok
> Test if a wrong header type is rejected ... ok
> Test if a wrong string pool header size is rejected ... ok
> Failure: ModuleNotFoundError (No module named 'asn1crypto') ... ERROR
> Failure: ModuleNotFoundError (No module named 'asn1crypto') ... ERROR
> Failure: ModuleNotFoundError (No module named 'asn1crypto') ... ERROR
> Failure: ModuleNotFoundError (No module named 'asn1crypto') ... ERROR
> Failure: ModuleNotFoundError (No module named 'asn1crypto') ... ERROR
> Failure: ModuleNotFoundError (No module named 'asn1crypto') ... ERROR
> Failure: ModuleNotFoundError (No module named 'asn1crypto') ... ERROR
> Failure: ModuleNotFoundError (No module named 'asn1crypto') ... ERROR
> Failure: ModuleNotFoundError (No module named 'asn1crypto') ... ERROR
> Failure: ModuleNotFoundError (No module named 'asn1crypto') ... ERROR
>
> ======================================================================
> ERROR: Failure: ModuleNotFoundError (No module named 'asn1crypto')
> ----------------------------------------------------------------------
> 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.8/imp.py", line 244, in load_module
> return load_package(name, filename)
> File "/usr/lib/python3.8/imp.py", line 216, in load_package
> return _load(spec)
> File "<frozen importlib._bootstrap>", line 702, in _load
> File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 783, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File "/<<PKGBUILDDIR>>/androguard/cli/__init__.py", line 1, in <module>
> from androguard.cli.main import (androarsc_main,
> File "/<<PKGBUILDDIR>>/androguard/cli/main.py", line 14, in <module>
> from androguard.core.bytecodes import apk
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/apk.py", line 7, in <module>
> from androguard.util import read, get_certificate_name_string
> File "/<<PKGBUILDDIR>>/androguard/util.py", line 1, in <module>
> import asn1crypto
> ModuleNotFoundError: No module named 'asn1crypto'
>
> ======================================================================
> ERROR: Failure: ModuleNotFoundError (No module named 'asn1crypto')
> ----------------------------------------------------------------------
> 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.8/imp.py", line 234, in load_module
> return load_source(name, filename, file)
> File "/usr/lib/python3.8/imp.py", line 171, in load_source
> module = _load(spec)
> File "<frozen importlib._bootstrap>", line 702, in _load
> File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 783, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File "/<<PKGBUILDDIR>>/tests/test_analysis.py", line 5, in <module>
> from androguard.core.bytecodes import dvm
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/dvm.py", line 8, in <module>
> from androguard.core.bytecodes.apk import APK
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/apk.py", line 7, in <module>
> from androguard.util import read, get_certificate_name_string
> File "/<<PKGBUILDDIR>>/androguard/util.py", line 1, in <module>
> import asn1crypto
> ModuleNotFoundError: No module named 'asn1crypto'
>
> ======================================================================
> ERROR: Failure: ModuleNotFoundError (No module named 'asn1crypto')
> ----------------------------------------------------------------------
> 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.8/imp.py", line 234, in load_module
> return load_source(name, filename, file)
> File "/usr/lib/python3.8/imp.py", line 171, in load_source
> module = _load(spec)
> File "<frozen importlib._bootstrap>", line 702, in _load
> File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 783, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File "/<<PKGBUILDDIR>>/tests/test_apk.py", line 16, in <module>
> from androguard.core.bytecodes import apk
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/apk.py", line 7, in <module>
> from androguard.util import read, get_certificate_name_string
> File "/<<PKGBUILDDIR>>/androguard/util.py", line 1, in <module>
> import asn1crypto
> ModuleNotFoundError: No module named 'asn1crypto'
>
> ======================================================================
> ERROR: Failure: ModuleNotFoundError (No module named 'asn1crypto')
> ----------------------------------------------------------------------
> 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.8/imp.py", line 234, in load_module
> return load_source(name, filename, file)
> File "/usr/lib/python3.8/imp.py", line 171, in load_source
> module = _load(spec)
> File "<frozen importlib._bootstrap>", line 702, in _load
> File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 783, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File "/<<PKGBUILDDIR>>/tests/test_arsc.py", line 5, in <module>
> from androguard.core.bytecodes import apk, axml
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/apk.py", line 7, in <module>
> from androguard.util import read, get_certificate_name_string
> File "/<<PKGBUILDDIR>>/androguard/util.py", line 1, in <module>
> import asn1crypto
> ModuleNotFoundError: No module named 'asn1crypto'
>
> ======================================================================
> ERROR: Failure: ModuleNotFoundError (No module named 'asn1crypto')
> ----------------------------------------------------------------------
> 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.8/imp.py", line 234, in load_module
> return load_source(name, filename, file)
> File "/usr/lib/python3.8/imp.py", line 171, in load_source
> module = _load(spec)
> File "<frozen importlib._bootstrap>", line 702, in _load
> File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 783, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File "/<<PKGBUILDDIR>>/tests/test_decompiler.py", line 3, in <module>
> from androguard.misc import AnalyzeDex
> File "/<<PKGBUILDDIR>>/androguard/misc.py", line 1, in <module>
> from androguard.session import Session
> File "/<<PKGBUILDDIR>>/androguard/session.py", line 5, in <module>
> from androguard.core.analysis.analysis import Analysis
> File "/<<PKGBUILDDIR>>/androguard/core/analysis/analysis.py", line 8, in <module>
> from androguard.core.bytecodes import dvm
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/dvm.py", line 8, in <module>
> from androguard.core.bytecodes.apk import APK
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/apk.py", line 7, in <module>
> from androguard.util import read, get_certificate_name_string
> File "/<<PKGBUILDDIR>>/androguard/util.py", line 1, in <module>
> import asn1crypto
> ModuleNotFoundError: No module named 'asn1crypto'
>
> ======================================================================
> ERROR: Failure: ModuleNotFoundError (No module named 'asn1crypto')
> ----------------------------------------------------------------------
> 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.8/imp.py", line 234, in load_module
> return load_source(name, filename, file)
> File "/usr/lib/python3.8/imp.py", line 171, in load_source
> module = _load(spec)
> File "<frozen importlib._bootstrap>", line 702, in _load
> File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 783, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File "/<<PKGBUILDDIR>>/tests/test_decompilerjadx.py", line 6, in <module>
> from androguard.misc import AnalyzeAPK
> File "/<<PKGBUILDDIR>>/androguard/misc.py", line 1, in <module>
> from androguard.session import Session
> File "/<<PKGBUILDDIR>>/androguard/session.py", line 5, in <module>
> from androguard.core.analysis.analysis import Analysis
> File "/<<PKGBUILDDIR>>/androguard/core/analysis/analysis.py", line 8, in <module>
> from androguard.core.bytecodes import dvm
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/dvm.py", line 8, in <module>
> from androguard.core.bytecodes.apk import APK
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/apk.py", line 7, in <module>
> from androguard.util import read, get_certificate_name_string
> File "/<<PKGBUILDDIR>>/androguard/util.py", line 1, in <module>
> import asn1crypto
> ModuleNotFoundError: No module named 'asn1crypto'
>
> ======================================================================
> ERROR: Failure: ModuleNotFoundError (No module named 'asn1crypto')
> ----------------------------------------------------------------------
> 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.8/imp.py", line 234, in load_module
> return load_source(name, filename, file)
> File "/usr/lib/python3.8/imp.py", line 171, in load_source
> module = _load(spec)
> File "<frozen importlib._bootstrap>", line 702, in _load
> File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 783, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File "/<<PKGBUILDDIR>>/tests/test_dex.py", line 5, in <module>
> from androguard.core.bytecodes import dvm
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/dvm.py", line 8, in <module>
> from androguard.core.bytecodes.apk import APK
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/apk.py", line 7, in <module>
> from androguard.util import read, get_certificate_name_string
> File "/<<PKGBUILDDIR>>/androguard/util.py", line 1, in <module>
> import asn1crypto
> ModuleNotFoundError: No module named 'asn1crypto'
>
> ======================================================================
> ERROR: Failure: ModuleNotFoundError (No module named 'asn1crypto')
> ----------------------------------------------------------------------
> 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.8/imp.py", line 234, in load_module
> return load_source(name, filename, file)
> File "/usr/lib/python3.8/imp.py", line 171, in load_source
> module = _load(spec)
> File "<frozen importlib._bootstrap>", line 702, in _load
> File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 783, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File "/<<PKGBUILDDIR>>/tests/test_dexcodeparsing.py", line 2, in <module>
> from androguard.core.bytecodes.dvm import DalvikVMFormat
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/dvm.py", line 8, in <module>
> from androguard.core.bytecodes.apk import APK
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/apk.py", line 7, in <module>
> from androguard.util import read, get_certificate_name_string
> File "/<<PKGBUILDDIR>>/androguard/util.py", line 1, in <module>
> import asn1crypto
> ModuleNotFoundError: No module named 'asn1crypto'
>
> ======================================================================
> ERROR: Failure: ModuleNotFoundError (No module named 'asn1crypto')
> ----------------------------------------------------------------------
> 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.8/imp.py", line 234, in load_module
> return load_source(name, filename, file)
> File "/usr/lib/python3.8/imp.py", line 171, in load_source
> module = _load(spec)
> File "<frozen importlib._bootstrap>", line 702, in _load
> File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 783, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File "/<<PKGBUILDDIR>>/tests/test_entry_points.py", line 14, in <module>
> from androguard.cli import entry_points
> File "/<<PKGBUILDDIR>>/androguard/cli/__init__.py", line 1, in <module>
> from androguard.cli.main import (androarsc_main,
> File "/<<PKGBUILDDIR>>/androguard/cli/main.py", line 14, in <module>
> from androguard.core.bytecodes import apk
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/apk.py", line 7, in <module>
> from androguard.util import read, get_certificate_name_string
> File "/<<PKGBUILDDIR>>/androguard/util.py", line 1, in <module>
> import asn1crypto
> ModuleNotFoundError: No module named 'asn1crypto'
>
> ======================================================================
> ERROR: Failure: ModuleNotFoundError (No module named 'asn1crypto')
> ----------------------------------------------------------------------
> 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.8/imp.py", line 234, in load_module
> return load_source(name, filename, file)
> File "/usr/lib/python3.8/imp.py", line 171, in load_source
> module = _load(spec)
> File "<frozen importlib._bootstrap>", line 702, in _load
> File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 783, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File "/<<PKGBUILDDIR>>/tests/test_misc.py", line 5, in <module>
> from androguard.misc import clean_file_name
> File "/<<PKGBUILDDIR>>/androguard/misc.py", line 1, in <module>
> from androguard.session import Session
> File "/<<PKGBUILDDIR>>/androguard/session.py", line 5, in <module>
> from androguard.core.analysis.analysis import Analysis
> File "/<<PKGBUILDDIR>>/androguard/core/analysis/analysis.py", line 8, in <module>
> from androguard.core.bytecodes import dvm
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/dvm.py", line 8, in <module>
> from androguard.core.bytecodes.apk import APK
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/apk.py", line 7, in <module>
> from androguard.util import read, get_certificate_name_string
> File "/<<PKGBUILDDIR>>/androguard/util.py", line 1, in <module>
> import asn1crypto
> ModuleNotFoundError: No module named 'asn1crypto'
>
> ======================================================================
> ERROR: Failure: ModuleNotFoundError (No module named 'asn1crypto')
> ----------------------------------------------------------------------
> 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.8/imp.py", line 234, in load_module
> return load_source(name, filename, file)
> File "/usr/lib/python3.8/imp.py", line 171, in load_source
> module = _load(spec)
> File "<frozen importlib._bootstrap>", line 702, in _load
> File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 783, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File "/<<PKGBUILDDIR>>/tests/test_rename.py", line 2, in <module>
> from androguard.core.bytecodes import dvm
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/dvm.py", line 8, in <module>
> from androguard.core.bytecodes.apk import APK
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/apk.py", line 7, in <module>
> from androguard.util import read, get_certificate_name_string
> File "/<<PKGBUILDDIR>>/androguard/util.py", line 1, in <module>
> import asn1crypto
> ModuleNotFoundError: No module named 'asn1crypto'
>
> ======================================================================
> ERROR: Failure: ModuleNotFoundError (No module named 'asn1crypto')
> ----------------------------------------------------------------------
> 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.8/imp.py", line 234, in load_module
> return load_source(name, filename, file)
> File "/usr/lib/python3.8/imp.py", line 171, in load_source
> module = _load(spec)
> File "<frozen importlib._bootstrap>", line 702, in _load
> File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 783, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File "/<<PKGBUILDDIR>>/tests/test_session.py", line 4, in <module>
> from androguard.core.bytecodes.apk import APK
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/apk.py", line 7, in <module>
> from androguard.util import read, get_certificate_name_string
> File "/<<PKGBUILDDIR>>/androguard/util.py", line 1, in <module>
> import asn1crypto
> ModuleNotFoundError: No module named 'asn1crypto'
>
> ======================================================================
> ERROR: Failure: ModuleNotFoundError (No module named 'asn1crypto')
> ----------------------------------------------------------------------
> 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.8/imp.py", line 234, in load_module
> return load_source(name, filename, file)
> File "/usr/lib/python3.8/imp.py", line 171, in load_source
> module = _load(spec)
> File "<frozen importlib._bootstrap>", line 702, in _load
> File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 783, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File "/<<PKGBUILDDIR>>/tests/test_strings.py", line 6, in <module>
> from androguard.core.bytecodes import dvm, mutf8
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/dvm.py", line 8, in <module>
> from androguard.core.bytecodes.apk import APK
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/apk.py", line 7, in <module>
> from androguard.util import read, get_certificate_name_string
> File "/<<PKGBUILDDIR>>/androguard/util.py", line 1, in <module>
> import asn1crypto
> ModuleNotFoundError: No module named 'asn1crypto'
>
> ======================================================================
> ERROR: Failure: ModuleNotFoundError (No module named 'asn1crypto')
> ----------------------------------------------------------------------
> 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.8/imp.py", line 234, in load_module
> return load_source(name, filename, file)
> File "/usr/lib/python3.8/imp.py", line 171, in load_source
> module = _load(spec)
> File "<frozen importlib._bootstrap>", line 702, in _load
> File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 783, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File "/<<PKGBUILDDIR>>/tests/test_types.py", line 25, in <module>
> from androguard.session import Session
> File "/<<PKGBUILDDIR>>/androguard/session.py", line 5, in <module>
> from androguard.core.analysis.analysis import Analysis
> File "/<<PKGBUILDDIR>>/androguard/core/analysis/analysis.py", line 8, in <module>
> from androguard.core.bytecodes import dvm
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/dvm.py", line 8, in <module>
> from androguard.core.bytecodes.apk import APK
> File "/<<PKGBUILDDIR>>/androguard/core/bytecodes/apk.py", line 7, in <module>
> from androguard.util import read, get_certificate_name_string
> File "/<<PKGBUILDDIR>>/androguard/util.py", line 1, in <module>
> import asn1crypto
> ModuleNotFoundError: No module named 'asn1crypto'
>
> ----------------------------------------------------------------------
> Ran 58 tests in 1.128s
>
> FAILED (errors=14)
> E: pybuild pybuild:341: test: plugin custom failed with: exit code=1: LC_ALL=C.UTF-8 python3.8 -m nose --verbose
> dh_auto_test: error: pybuild --test --test-nose -i python{version} -p "3.8 3.7" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2020/02/22/androguard_3.3.5-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Python-modules-team
mailing list