analytics UT failure due to broken cassandra-driver

Bug #1637070 reported by Sundaresan Rajangam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
Critical
Sundaresan Rajangam
R3.0.2.x
Fix Committed
Critical
Sundaresan Rajangam
R3.0.3.x
Fix Committed
Critical
Sundaresan Rajangam
R3.1
Fix Committed
Critical
Sundaresan Rajangam
R3.2
Fix Committed
Critical
Sundaresan Rajangam
Trunk
Fix Committed
Critical
Sundaresan Rajangam

Bug Description

======================================================================
FAIL: test.test_analytics_uve.AnalyticsUveTest.test_05_collector_ha
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "test/test_analytics_uve.py", line 225, in test_05_collector_ha
    collector_ha_test=True))
  File "/home/jenkins/contrail_repo/build/debug/opserver/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 756, in useFixture
    reraise(*exc_info)
  File "/home/jenkins/contrail_repo/build/debug/opserver/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 731, in useFixture
    fixture.setUp()
  File "test/utils/analytics_fixture.py", line 650, in setUp
    if not self.opserver.start():
  File "test/utils/analytics_fixture.py", line 379, in start
    args, None, True)
  File "test/utils/analytics_fixture.py", line 2733, in start_with_ephemeral_ports
    instance = self.run_py_daemon(args)
  File "test/utils/analytics_fixture.py", line 2657, in run_py_daemon
    from opserver.opserver import main
  File "/home/jenkins/contrail_repo/build/debug/opserver/.venv/local/lib/python2.7/site-packages/gevent/builtins.py", line 93, in __import__
    result = _import(*args, **kwargs)
  File "opserver/opserver.py", line 36, in <module>
    from analytics_db import AnalyticsDb
  File "/home/jenkins/contrail_repo/build/debug/opserver/.venv/local/lib/python2.7/site-packages/gevent/builtins.py", line 93, in __import__
    result = _import(*args, **kwargs)
  File "opserver/analytics_db.py", line 29, in <module>
    from cassandra.cluster import Cluster
  File "/home/jenkins/contrail_repo/build/debug/opserver/.venv/local/lib/python2.7/site-packages/gevent/builtins.py", line 93, in __import__
    result = _import(*args, **kwargs)
ImportError: /home/jenkins/contrail_repo/build/debug/opserver/.venv/local/lib/python2.7/site-packages/cassandra/cluster.so: undefined symbol: PyException_Check

Tags: analytics
Revision history for this message
Sundaresan Rajangam (srajanga) wrote :

per the following https://datastax-oss.atlassian.net/browse/PYTHON-656,
The latest version of Cython (0.25) has broken the latest stable version of cassandra-driver. Currently, installing cassandra-driver<=3.7.0 from PyPi or Github master will install the latest version of Cython rather than a compatible version. The version of Cython that works with cassandra-driver is 0.24.1

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/25419
Submitter: Sundaresan Rajangam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/25420
Submitter: Sundaresan Rajangam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

Review in progress for https://review.opencontrail.org/25421
Submitter: Sundaresan Rajangam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/25422
Submitter: Sundaresan Rajangam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0.3.x

Review in progress for https://review.opencontrail.org/25423
Submitter: Sundaresan Rajangam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0.2.x

Review in progress for https://review.opencontrail.org/25424
Submitter: Sundaresan Rajangam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/25419
Committed: http://github.org/Juniper/contrail-controller/commit/c94d63dddfdef719c6622f65606c59e0d0abbef3
Submitter: Zuul
Branch: master

commit c94d63dddfdef719c6622f65606c59e0d0abbef3
Author: Sundaresan Rajangam <email address hidden>
Date: Wed Oct 26 22:24:37 2016 -0700

Fix analytics UT failure due to broken cassandra-driver

cassandra-driver depends on Cython package. Currently, installing
cassandra-driver<=3.7.0 from PyPi or Github master will install the
latest version of Cython rather than a compatible version. The latest
version of Cython (0.25) has broken the cassandra-driver.The version of
Cython that works with cassandra-driver is 0.24.1

Fixed the issue by installing Cython==0.24.1 before installing the
cassandra-driver.

Change-Id: I6934dc1cbed31e82ebace180e781637328e7be34
Closes-Bug: #1637070

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/25420
Committed: http://github.org/Juniper/contrail-controller/commit/e04f7de00b9c242b132971e3fcec7dc688a50dc5
Submitter: Zuul
Branch: R3.2

commit e04f7de00b9c242b132971e3fcec7dc688a50dc5
Author: Sundaresan Rajangam <email address hidden>
Date: Wed Oct 26 22:24:37 2016 -0700

Fix analytics UT failure due to broken cassandra-driver

cassandra-driver depends on Cython package. Currently, installing
cassandra-driver<=3.7.0 from PyPi or Github master will install the
latest version of Cython rather than a compatible version. The latest
version of Cython (0.25) has broken the cassandra-driver.The version of
Cython that works with cassandra-driver is 0.24.1

Fixed the issue by installing Cython==0.24.1 before installing the
cassandra-driver.

Change-Id: I6934dc1cbed31e82ebace180e781637328e7be34
Closes-Bug: #1637070
(cherry picked from commit c94d63dddfdef719c6622f65606c59e0d0abbef3)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/25422
Committed: http://github.org/Juniper/contrail-controller/commit/579476d4d440a57257390b6b1414abe3eac1abc8
Submitter: Zuul
Branch: R3.0

commit 579476d4d440a57257390b6b1414abe3eac1abc8
Author: Sundaresan Rajangam <email address hidden>
Date: Wed Oct 26 22:24:37 2016 -0700

Fix analytics UT failure due to broken cassandra-driver

cassandra-driver depends on Cython package. Currently, installing
cassandra-driver<=3.7.0 from PyPi or Github master will install the
latest version of Cython rather than a compatible version. The latest
version of Cython (0.25) has broken the cassandra-driver.The version of
Cython that works with cassandra-driver is 0.24.1

Fixed the issue by installing Cython==0.24.1 before installing the
cassandra-driver.

Change-Id: I6934dc1cbed31e82ebace180e781637328e7be34
Closes-Bug: #1637070
(cherry picked from commit c94d63dddfdef719c6622f65606c59e0d0abbef3)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/25423
Committed: http://github.org/Juniper/contrail-controller/commit/e39464ea44b561d9fabb0f1fbaa0be83e326862a
Submitter: Zuul
Branch: R3.0.3.x

commit e39464ea44b561d9fabb0f1fbaa0be83e326862a
Author: Sundaresan Rajangam <email address hidden>
Date: Wed Oct 26 22:24:37 2016 -0700

Fix analytics UT failure due to broken cassandra-driver

cassandra-driver depends on Cython package. Currently, installing
cassandra-driver<=3.7.0 from PyPi or Github master will install the
latest version of Cython rather than a compatible version. The latest
version of Cython (0.25) has broken the cassandra-driver.The version of
Cython that works with cassandra-driver is 0.24.1

Fixed the issue by installing Cython==0.24.1 before installing the
cassandra-driver.

Change-Id: I6934dc1cbed31e82ebace180e781637328e7be34
Closes-Bug: #1637070
(cherry picked from commit c94d63dddfdef719c6622f65606c59e0d0abbef3)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/25424
Committed: http://github.org/Juniper/contrail-controller/commit/f015a6c0f5de57b90d22730536b4cbd7b0a76b1b
Submitter: Zuul
Branch: R3.0.2.x

commit f015a6c0f5de57b90d22730536b4cbd7b0a76b1b
Author: Sundaresan Rajangam <email address hidden>
Date: Wed Oct 26 22:24:37 2016 -0700

Fix analytics UT failure due to broken cassandra-driver

cassandra-driver depends on Cython package. Currently, installing
cassandra-driver<=3.7.0 from PyPi or Github master will install the
latest version of Cython rather than a compatible version. The latest
version of Cython (0.25) has broken the cassandra-driver.The version of
Cython that works with cassandra-driver is 0.24.1

Fixed the issue by installing Cython==0.24.1 before installing the
cassandra-driver.

Change-Id: I6934dc1cbed31e82ebace180e781637328e7be34
Closes-Bug: #1637070
(cherry picked from commit c94d63dddfdef719c6622f65606c59e0d0abbef3)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/25421
Committed: http://github.org/Juniper/contrail-controller/commit/b8a7e8dc42622dec029effaa1999b47674bfe974
Submitter: Zuul
Branch: R3.1

commit b8a7e8dc42622dec029effaa1999b47674bfe974
Author: Sundaresan Rajangam <email address hidden>
Date: Wed Oct 26 22:24:37 2016 -0700

Fix analytics UT failure due to broken cassandra-driver

cassandra-driver depends on Cython package. Currently, installing
cassandra-driver<=3.7.0 from PyPi or Github master will install the
latest version of Cython rather than a compatible version. The latest
version of Cython (0.25) has broken the cassandra-driver.The version of
Cython that works with cassandra-driver is 0.24.1

Fixed the issue by installing Cython==0.24.1 before installing the
cassandra-driver.

Change-Id: I6934dc1cbed31e82ebace180e781637328e7be34
Closes-Bug: #1637070
(cherry picked from commit c94d63dddfdef719c6622f65606c59e0d0abbef3)

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.