Numerous errors logged when running tests

Bug #1360443 reported by Peter Balland
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
congress
Fix Released
Undecided
Derick Winkworth

Bug Description

When running tests together, it appears that the DSE framework is concerned about reloading modules:

./run_tests.sh -N congress.dse.tests.test_dse congress.datasources.tests.unit.test_nova_driver.TestNovaDriver.test_communication
[...]
2014-08-22 13:37:19.434 28278 ERROR congress.dse.deepsix [-] d6cage:: error loading module 'TestDriver': module already exists
[...]

The offending lines are d6cage.py:177-180 - unsure why this check is there.

Peter Balland (pballand)
Changed in congress:
assignee: nobody → Derick Winkworth (ccie15672)
milestone: none → juno-3
Revision history for this message
Tim Hinrichs (thinrichs) wrote :

This may be a misuse of DSE (inside policy/dsepolicy.py), rather than something within DSE that we need to fix.

I thought I had made sure not to call load_module unless we needed to. But maybe not.

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

Reviewed: https://review.openstack.org/126346
Committed: https://git.openstack.org/cgit/stackforge/congress/commit/?id=c082e6d396fd6aaebafecac576f6cc97728b1c73
Submitter: Jenkins
Branch: master

commit c082e6d396fd6aaebafecac576f6cc97728b1c73
Author: Tim Hinrichs <email address hidden>
Date: Mon Oct 6 08:19:35 2014 -0700

    Removed d6cage reload module warning messages

    Previously, d6cage would log errors when the same module
    was loaded more than once.

    It is unclear whether this behavior is useful, and it
    produced many errors during testing. This change
    logs a warning instead of an error when a module
    is reloaded.

    Closes-bug: 1360443
    Change-Id: Id1add83b2fa8b7432ac5cc5d3156a13af92ba858

Changed in congress:
status: New → Fix Committed
Tim Hinrichs (thinrichs)
Changed in congress:
status: Fix Committed → Fix Released
Sean Roberts (sarob)
Changed in congress:
milestone: juno-3 → kilo-2
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.