[Debichem-devel] Bug#1033689: python-emmet-core: flaky autopkgtest

Graham Inggs ginggs at debian.org
Thu Mar 30 08:13:16 BST 2023


Source: python-emmet-core
Version: 0.44.0-3
Severity: important
User: debian-ci at lists.debian.org
Usertags: flaky

Hi Maintainer

The autopkgtests of python-emmet-core sometimes fail with a
ModuleNotFoundError.  This happens more often on s390x [1], but at
least once on amd64 on 2023-03-01 [2].

I've copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://ci.debian.net/packages/p/python-emmet-core/testing/s390x/
[2] https://ci.debian.net/packages/p/python-emmet-core/unstable/amd64/


==================================== ERRORS ====================================
_______________ ERROR collecting tests/molecules/test_atomic.py ________________
ImportError while importing test module
'/tmp/autopkgtest-lxc.dfmgtnw0/downtmp/build.Tw0/src/tests/molecules/test_atomic.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/molecules/test_atomic.py:9: in <module>
    from emmet.core.qchem.task import TaskDocument
emmet/core/qchem/task.py:10: in <module>
    from emmet.core.qchem.calc_types import (
emmet/core/qchem/calc_types/__init__.py:8: in <module>
    from emmet.core.qchem.calc_types.enums import CalcType,
LevelOfTheory, TaskType
E   ModuleNotFoundError: No module named 'emmet.core.qchem.calc_types.enums'
________________ ERROR collecting tests/molecules/test_bonds.py ________________
ImportError while importing test module
'/tmp/autopkgtest-lxc.dfmgtnw0/downtmp/build.Tw0/src/tests/molecules/test_bonds.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/molecules/test_bonds.py:10: in <module>
    from emmet.core.qchem.task import TaskDocument
emmet/core/qchem/task.py:10: in <module>
    from emmet.core.qchem.calc_types import (
emmet/core/qchem/calc_types/__init__.py:8: in <module>
    from emmet.core.qchem.calc_types.enums import CalcType,
LevelOfTheory, TaskType
E   ModuleNotFoundError: No module named 'emmet.core.qchem.calc_types.enums'
_____________ ERROR collecting tests/molecules/test_mol_thermo.py ______________
ImportError while importing test module
'/tmp/autopkgtest-lxc.dfmgtnw0/downtmp/build.Tw0/src/tests/molecules/test_mol_thermo.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/molecules/test_mol_thermo.py:10: in <module>
    from emmet.core.qchem.task import TaskDocument
emmet/core/qchem/task.py:10: in <module>
    from emmet.core.qchem.calc_types import (
emmet/core/qchem/calc_types/__init__.py:8: in <module>
    from emmet.core.qchem.calc_types.enums import CalcType,
LevelOfTheory, TaskType
E   ModuleNotFoundError: No module named 'emmet.core.qchem.calc_types.enums'
______________ ERROR collecting tests/molecules/test_orbitals.py _______________
ImportError while importing test module
'/tmp/autopkgtest-lxc.dfmgtnw0/downtmp/build.Tw0/src/tests/molecules/test_orbitals.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/molecules/test_orbitals.py:10: in <module>
    from emmet.core.qchem.task import TaskDocument
emmet/core/qchem/task.py:10: in <module>
    from emmet.core.qchem.calc_types import (
emmet/core/qchem/calc_types/__init__.py:8: in <module>
    from emmet.core.qchem.calc_types.enums import CalcType,
LevelOfTheory, TaskType
E   ModuleNotFoundError: No module named 'emmet.core.qchem.calc_types.enums'
________________ ERROR collecting tests/molecules/test_redox.py ________________
ImportError while importing test module
'/tmp/autopkgtest-lxc.dfmgtnw0/downtmp/build.Tw0/src/tests/molecules/test_redox.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/molecules/test_redox.py:5: in <module>
    from emmet.core.qchem.task import TaskDocument
emmet/core/qchem/task.py:10: in <module>
    from emmet.core.qchem.calc_types import (
emmet/core/qchem/calc_types/__init__.py:8: in <module>
    from emmet.core.qchem.calc_types.enums import CalcType,
LevelOfTheory, TaskType
E   ModuleNotFoundError: No module named 'emmet.core.qchem.calc_types.enums'
_______________ ERROR collecting tests/molecules/test_summary.py _______________
ImportError while importing test module
'/tmp/autopkgtest-lxc.dfmgtnw0/downtmp/build.Tw0/src/tests/molecules/test_summary.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/molecules/test_summary.py:3: in <module>
    from emmet.core.molecules.summary import SummaryDoc
emmet/core/molecules/summary.py:9: in <module>
    from emmet.core.molecules.molecule_property import PropertyDoc
emmet/core/molecules/molecule_property.py:10: in <module>
    from emmet.core.qchem.calc_types import LevelOfTheory
emmet/core/qchem/calc_types/__init__.py:8: in <module>
    from emmet.core.qchem.calc_types.enums import CalcType,
LevelOfTheory, TaskType
E   ModuleNotFoundError: No module named 'emmet.core.qchem.calc_types.enums'
______________ ERROR collecting tests/molecules/test_vibration.py ______________
ImportError while importing test module
'/tmp/autopkgtest-lxc.dfmgtnw0/downtmp/build.Tw0/src/tests/molecules/test_vibration.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/molecules/test_vibration.py:10: in <module>
    from emmet.core.qchem.task import TaskDocument
emmet/core/qchem/task.py:10: in <module>
    from emmet.core.qchem.calc_types import (
emmet/core/qchem/calc_types/__init__.py:8: in <module>
    from emmet.core.qchem.calc_types.enums import CalcType,
LevelOfTheory, TaskType
E   ModuleNotFoundError: No module named 'emmet.core.qchem.calc_types.enums'
________________ ERROR collecting tests/qchem/test_molecules.py ________________
ImportError while importing test module
'/tmp/autopkgtest-lxc.dfmgtnw0/downtmp/build.Tw0/src/tests/qchem/test_molecules.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/qchem/test_molecules.py:9: in <module>
    from emmet.core.qchem.calc_types import TaskType
emmet/core/qchem/calc_types/__init__.py:8: in <module>
    from emmet.core.qchem.calc_types.enums import CalcType,
LevelOfTheory, TaskType
E   ModuleNotFoundError: No module named 'emmet.core.qchem.calc_types.enums'
__________________ ERROR collecting tests/qchem/test_qchem.py __________________
ImportError while importing test module
'/tmp/autopkgtest-lxc.dfmgtnw0/downtmp/build.Tw0/src/tests/qchem/test_qchem.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/qchem/test_qchem.py:7: in <module>
    from emmet.core.qchem.calc_types import (
emmet/core/qchem/calc_types/__init__.py:8: in <module>
    from emmet.core.qchem.calc_types.enums import CalcType,
LevelOfTheory, TaskType
E   ModuleNotFoundError: No module named 'emmet.core.qchem.calc_types.enums'



More information about the Debichem-devel mailing list