Comment 2 for bug 1565928

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

Reviewed: https://review.openstack.org/301270
Committed: https://git.openstack.org/cgit/openstack/python-troveclient/commit/?id=ff70d109032c2f04cc3a0c12db4d6efa4311ed2a
Submitter: Jenkins
Branch: master

commit ff70d109032c2f04cc3a0c12db4d6efa4311ed2a
Author: Peter Stachowski <email address hidden>
Date: Mon Apr 4 18:09:37 2016 +0000

    Remove times.dbm file for each tox run

    If you run the py27 tox tests then attempt to run the py34 tests,
    the following error will occur:

        running testr
        running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
        OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
        OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
        ${PYTHON:-python} -m subunit.run discover -t ./ ./ --list
        db type could not be determined
        error: testr failed (3)

    This happens because the apparently the times.dbm file generated
    by py27 is not compatible with py34. The converse is not true though -
    if you run py34 first, py27 will work.

    Both these bugs have been filed against it, but I see no resolution
    https://bugs.launchpad.net/testrepository/+bug/1212909
    https://bugs.launchpad.net/testrepository/+bug/1229445

    The work-around is to delete the file, which is what is now done
    before running every tox test. Once the bug has been fixed, the
    work-around can be removed.

    Change-Id: Icf5d9efc65ffda8acdcc6f43b37ef03c84b3fd43
    Closes-Bug: #1565928