openstack-tox-tht failing with "ModuleNotFoundError: No module named 'testtools'"

Bug #1980552 reported by Douglas Viroel
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

openstack-tox-tht started failing with the following error:

==================================== ERRORS ====================================
 ____ ERROR collecting tripleo_heat_templates/tests/test_tht_derivce_pci.py _____
 ImportError while importing test module '/home/zuul/src/opendev.org/openstack/tripleo-heat-templates/tripleo_heat_templates/tests/test_tht_derivce_pci.py'.
 Hint: make sure your test modules/packages have valid Python names.
 Traceback:
 /usr/lib/python3.8/importlib/__init__.py:127: in import_module
     return _bootstrap._gcd_import(name[level:], package, level)
 tripleo_heat_templates/tests/test_tht_derivce_pci.py:20: in <module>
     import testtools
 E ModuleNotFoundError: No module named 'testtools'
 - generated html file: file:///home/zuul/src/opendev.org/openstack/tripleo-heat-templates/.tox/tht/log/reports.html -

https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_84c/844897/1/gate/openstack-tox-tht/84c5334/job-output.txt

Build history:
https://zuul.opendev.org/t/openstack/builds?job_name=openstack-tox-tht&skip=0

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/848490

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/848474
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/d5a9d845e38cae435fd7b7717c34001c823c532c
Submitter: "Zuul (22348)"
Branch: master

commit d5a9d845e38cae435fd7b7717c34001c823c532c
Author: Douglas Viroel <email address hidden>
Date: Fri Jul 1 17:47:09 2022 -0300

    Add test-requirements.txt in tox-tht deps

    openstack-tox-tht is currently failing with "ModuleNotFoundError:
    No module named 'testtools' more details in Closes-Bug.

    With this patch adding test-requirements.txt in tox-tht deps
    as python testtool is already available in test-requirements.

    Closes-Bug: #1980552
    Change-Id: I46a0e58b2d6db08127de4b55a75f95ffa2b678ee

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/848490
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/47b5ce10376e11059bedd97bb3cf1293eb45757c
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 47b5ce10376e11059bedd97bb3cf1293eb45757c
Author: Douglas Viroel <email address hidden>
Date: Fri Jul 1 17:47:09 2022 -0300

    Add test-requirements.txt in tox-tht deps

    openstack-tox-tht is currently failing with "ModuleNotFoundError:
    No module named 'testtools' more details in Closes-Bug.

    With this patch adding test-requirements.txt in tox-tht deps
    as python testtool is already available in test-requirements.

    Closes-Bug: #1980552
    Change-Id: I46a0e58b2d6db08127de4b55a75f95ffa2b678ee
    (cherry picked from commit d5a9d845e38cae435fd7b7717c34001c823c532c)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 17.0.0

This issue was fixed in the openstack/tripleo-heat-templates 17.0.0 release.

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.