Put py34 first in the env order of tox

Bug #1604734 reported by Hanxi Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Undecided
Hanxi Liu
Gnocchi
Fix Released
Undecided
Hanxi Liu
Panko
Fix Released
Undecided
Hanxi Liu

Bug Description

When running tox for the first time, the py34 execution fails with an error saying "db type could not be determined".

This issue is know to be caused when the run of py27 preceeds py34 and can be solved erasing the .testrepository and running "tox -e py34" first of all.

Hanxi Liu (hanxi-liu)
Changed in ceilometer (Ubuntu):
assignee: nobody → Hanxi Liu (hanxi-liu)
Hanxi Liu (hanxi-liu)
no longer affects: aodh
Hanxi Liu (hanxi-liu)
Changed in ceilometer (Ubuntu):
status: New → Confirmed
status: Confirmed → New
Revision history for this message
Hanxi Liu (hanxi-liu) wrote :

Change the incorrect project target.

affects: ceilometer (Ubuntu) → ceilometer
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/345139
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=6dbbc9a3d3ef59933ff6070905f87bf32da55b08
Submitter: Jenkins
Branch: master

commit 6dbbc9a3d3ef59933ff6070905f87bf32da55b08
Author: Hanxi Liu <email address hidden>
Date: Thu Jul 21 11:15:55 2016 +0800

    Put py34 first in the env order of tox

    To solve the problem of "db type could not be determined" on py34 we
    have to run first the py34 env to, then, run py27. This patch puts py34
    first on the tox.ini list of envs to avoid this problem to happen.

    Change-Id: I3c4e7de5a121d7c5d5a7a0f8bba5cb6014da7afc
    Closes-bug: #1604734

Changed in ceilometer:
status: New → Fix Released
Hanxi Liu (hanxi-liu)
Changed in panko:
assignee: nobody → Hanxi Liu (hanxi-liu)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to panko (master)

Fix proposed to branch: master
Review: https://review.openstack.org/350428

Changed in panko:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to panko (master)

Reviewed: https://review.openstack.org/350428
Committed: https://git.openstack.org/cgit/openstack/panko/commit/?id=9d4a6030680014dfda8f4a1f22b44e89827dbe72
Submitter: Jenkins
Branch: master

commit 9d4a6030680014dfda8f4a1f22b44e89827dbe72
Author: Hanxi Liu <email address hidden>
Date: Wed Aug 3 16:13:05 2016 +0800

    Put py34 first in the env order of tox

    To solve the problem of "db type could not be determined" on py34 we
    have to run first the py34 env to, then, run py27. This patch puts py34
    first on the tox.ini list of envs to avoid this problem to happen.

    Change-Id: Ie5e69a7e67aa0ed094f09e44a2659501d99cf667
    Closes-bug: #1604734

Changed in panko:
status: In Progress → Fix Released
Hanxi Liu (hanxi-liu)
Changed in gnocchi:
assignee: nobody → Hanxi Liu (hanxi-liu)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to gnocchi (master)

Fix proposed to branch: master
Review: https://review.openstack.org/350681

Changed in gnocchi:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to gnocchi (master)

Reviewed: https://review.openstack.org/350681
Committed: https://git.openstack.org/cgit/openstack/gnocchi/commit/?id=8a8f19e33e6775cd4b8abd5f40bf48d449a1ae56
Submitter: Jenkins
Branch: master

commit 8a8f19e33e6775cd4b8abd5f40bf48d449a1ae56
Author: Hanxi Liu <email address hidden>
Date: Wed Aug 3 23:33:17 2016 +0800

    Put py34 first in the env order of tox

    To solve the problem of "db type could not be determined" on py34 we
    have to run first the py34 env to, then, run py27. This patch puts py34
    first on the tox.ini list of envs to avoid this problem to happen.

    Change-Id: I9502b0b42ed742d64517be5463e3c5f65eba61c1
    Closes-bug: #1604734

Changed in gnocchi:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ceilometer 7.0.0.0b3

This issue was fixed in the openstack/ceilometer 7.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/panko 1.0.0.0b3

This issue was fixed in the openstack/panko 1.0.0.0b3 development milestone.

Julien Danjou (jdanjou)
Changed in gnocchi:
milestone: none → 3.0.0
status: Fix Committed → Fix Released
Hanxi Liu (hanxi-liu)
Changed in trove:
assignee: nobody → Hanxi Liu (hanxi-liu)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

Fix proposed to branch: master
Review: https://review.openstack.org/379306

Changed in trove:
status: New → In Progress
Revision history for this message
Amrith Kumar (amrith) wrote :

This is not a problem in trove. on a brand new environment, running tox -e py34 works just fine.

no longer affects: trove
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.