check-neutron-dsvm-functional constantly fails with MySQL-python in test-requirements

Bug #1349437 reported by Ann Taraday
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Expired
Undecided
Unassigned
neutron
Expired
Undecided
Unassigned

Bug Description

In change https://review.openstack.org/76520 MySQL-python was added to test-requirements. After that check-neutron-dsvm-functional started to constantly fail with this error log: http://paste.openstack.org/show/88702/

Revision history for this message
Eugene Nikanorov (enikanorov) wrote :

That error indicates that a package libmysqlclient-dev is missing in the system where the test is being run.
I guess we need to file this for infra project (openstack-ci)

Changed in neutron:
status: New → Incomplete
Revision history for this message
Clark Boylan (cboylan) wrote :

This was in the neutron function test job. Neutron (or possibly devstack) is responsible for installing the dependencies it needs on these nodes. These nodes are basically as simple as possible to test that the actual setup of tests works too.

You may need to update devstack or the neutron functional tests depending on how they are set up but this probably isn't an infra team thing (we provide the nodes to run the tests on, what you do with them is up to you).

Changed in openstack-ci:
status: New → Incomplete
Revision history for this message
Henry Gessau (gessau) wrote :

Some info from IRC discussion in #openstack-neutron:

<HenryG> marun: akamyshnikova: Usually the way to install a system package for the gate is to add it in devstack. Do we need to do this for libmysqlclient-dev?
<marun> HenryG: shouldn't be needed
<marun> HenryG: the fact that it works in the unit test jobs means its being pre-installed on the vm's
<marun> HenryG: why it's not showing up in the functional jobs is likely due to sudo and the changes it makes to the environment

Revision history for this message
Clark Boylan (cboylan) wrote :

This isn't quite true. Unit test nodes have lots of system packages installed to accommodate dependencies. Devstack nodes which this test run on do not in order to actually test that devstack works.

So these nodes are different and you can't assume things will be installed because unit tests work.

Revision history for this message
Clark Boylan (cboylan) wrote :

Maru and I sat down at the nova meetup and figured out that this is due to the job not telling devstack to install test only dependencies. Setting that flag in the job will install libmysqlclient-dev which will allow mysql-python to be built.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for neutron because there has been no activity for 60 days.]

Changed in neutron:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Core Infrastructure because there has been no activity for 60 days.]

Changed in openstack-ci:
status: Incomplete → Expired
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.