tripleo-tox-molecule job is failing with ModuleNotFoundError: No module named 'molecule_containers'

Bug #1952618 reported by Sandeep Yadav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

Description:-
tripleo-tox-molecule job is failing with ModuleNotFoundError: No module named 'molecule_containers'

tripleo-tox-molecule job is failing since 28th Nov:-
https://zuul.openstack.org/builds?job_name=tripleo-tox-molecule

https://57a61a8afab2e221420e-617ef7fbad3f3b279f2e56581b296bd4.ssl.cf2.rackcdn.com/819635/1/check/tripleo-tox-molecule/4051477/job-output.txt
~~~
2021-11-29 12:45:54.814500 | primary | Failed to load driver entry point Traceback (most recent call last):
2021-11-29 12:45:54.814512 | primary | File "/home/zuul/src/opendev.org/openstack/tripleo-ci/.tox/molecule/lib/python3.6/site-packages/molecule/api.py", line 45, in drivers
2021-11-29 12:45:54.814520 | primary | pm.load_setuptools_entrypoints("molecule.driver")
2021-11-29 12:45:54.814526 | primary | File "/home/zuul/src/opendev.org/openstack/tripleo-ci/.tox/molecule/lib/python3.6/site-packages/pluggy/manager.py", line 299, in load_setuptools_entrypoints
2021-11-29 12:45:54.814532 | primary | plugin = ep.load()
2021-11-29 12:45:54.814538 | primary | File "/home/zuul/src/opendev.org/openstack/tripleo-ci/.tox/molecule/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 194, in load
2021-11-29 12:45:54.814557 | primary | module = import_module(match.group('module'))
2021-11-29 12:45:54.814564 | primary | File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
2021-11-29 12:45:54.814570 | primary | return _bootstrap._gcd_import(name[level:], package, level)
2021-11-29 12:45:54.814576 | primary | File "<frozen importlib._bootstrap>", line 994, in _gcd_import
2021-11-29 12:45:54.814582 | primary | File "<frozen importlib._bootstrap>", line 971, in _find_and_load
2021-11-29 12:45:54.814588 | primary | File "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked
2021-11-29 12:45:54.814594 | primary | File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
2021-11-29 12:45:54.814600 | primary | File "<frozen importlib._bootstrap>", line 994, in _gcd_import
2021-11-29 12:45:54.814615 | primary | File "<frozen importlib._bootstrap>", line 971, in _find_and_load
2021-11-29 12:45:54.814622 | primary | File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
2021-11-29 12:45:54.814630 | primary | ModuleNotFoundError: No module named 'molecule_containers'
2021-11-29 12:45:54.814636 | primary |
2021-11-29 12:45:54.814642 | primary | ---
2021-11-29 12:45:54.814648 | primary | driver:
2021-11-29 12:45:54.814654 | primary | name: containers
2021-11-29 12:45:54.814660 | primary | log: true
2021-11-29 12:45:54.814665 | primary | platforms:
2021-11-29 12:45:54.814672 | primary | - hostname: stream8
2021-11-29 12:45:54.814678 | primary | image: quay.io/pycontribs/centos:stream8
2021-11-29 12:45:54.814684 | primary | name: stream8
2021-11-29 12:45:54.814690 | primary | pre_build_image: true
2021-11-29 12:45:54.814696 | primary | provisioner:
2021-11-29 12:45:54.814702 | primary | name: ansible
2021-11-29 12:45:54.814707 | primary |
2021-11-29 12:45:54.814713 | primary | CRITICAL Failed to pre-validate.
2021-11-29 12:45:54.814718 | primary |
2021-11-29 12:45:54.814992 | primary | {'driver': [{'name': ['unallowed value containers']}]}
2021-11-29 12:45:54.815714 | primary | =============================== warnings summary ===============================
2021-11-29 12:45:54.816159 | primary | .tox/molecule/lib/python3.6/site-packages/_pytest/nodes.py:274
2021-11-29 12:45:54.816390 | primary | /home/zuul/src/opendev.org/openstack/tripleo-ci/.tox/molecule/lib/python3.6/site-packages/_pytest/nodes.py:274: PytestUnknownMarkWarning: Unknown pytest.mark.containers - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
2021-11-29 12:45:54.816630 | primary | marker_ = getattr(MARK_GEN, marker)
2021-11-29 12:45:54.816830 | primary |
2021-11-29 12:45:54.817041 | primary | -- Docs: https://docs.pytest.org/en/stable/warnings.html
2021-11-29 12:45:54.817371 | primary | - generated html file: file:///home/zuul/src/opendev.org/openstack/tripleo-ci/.tox/molecule/log/reports.html -
2021-11-29 12:45:54.817844 | primary | =========================== short test summary info ============================
2021-11-29 12:45:54.818036 | primary | FAILED roles/tripleo-repos/molecule/default/molecule.yml::test
2021-11-29 12:45:54.818690 | primary | ================= 1 failed, 92 deselected, 1 warning in 1.58s ==================
2021-11-29 12:45:54.914257 | primary | ERROR: InvocationError for command /home/zuul/src/opendev.org/openstack/tripleo-ci/.tox/molecule/bin/python -m pytest --html=/home/zuul/src/opendev.org/openstack/tripleo-ci/.tox/molecule/log/reports.html --self-contained-html -ra -k molecule --ignore=roles/build-containers/files (exited with code 1)
~~~

Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ci (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ci/+/819644
Committed: https://opendev.org/openstack/tripleo-ci/commit/3e7254fb2d4e611800d8a1b0701ec2e815c5d104
Submitter: "Zuul (22348)"
Branch: master

commit 3e7254fb2d4e611800d8a1b0701ec2e815c5d104
Author: Sagi Shnaidman <email address hidden>
Date: Mon Nov 29 15:53:11 2021 +0200

    Fix tripleo tox molecule job

    Remove for now "containers" driver and use "docker", since it
    conflicts with podman.
    Closes-Bug: #1952618
    Change-Id: Iaed4f3f74d34e7fc7cd1dd424f551ad090601019

Changed in tripleo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.