Analytics systemless test failure due to incompatible gevent library

Bug #1637604 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
Invalid
Critical
Sundaresan Rajangam
R3.0.3.x
Fix Committed
Critical
Sundaresan Rajangam
R3.1
Fix Released
Critical
Sundaresan Rajangam
R3.2
Fix Committed
Critical
Sundaresan Rajangam
Trunk
Fix Committed
Critical
Sundaresan Rajangam

Bug Description

The latest gevent python package (1.2a1) released on Oct 27, 2016 is not backward compatible with the older version of gevent.

Per the changelog for 1.2a1, gevent.coros has been replaced by gevent.lock

======================================================================
FAIL: test.test_analytics_stats.StatsTest.test_00_basicsamples
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "test/test_analytics_stats.py", line 84, in test_00_basicsamples
    self.__class__.cassandra_port))
  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 18, in <module>
    from uveserver import UVEServer
  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/uveserver.py", line 20, in <module>
    from gevent.coros import BoundedSemaphore
  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: No module named coros

======================================================================
FAIL: test.test_analytics_stats.StatsTest.test_01_statprefix
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "test/test_analytics_stats.py", line 139, in test_01_statprefix
    self.__class__.cassandra_port))
  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 18, in <module>
    from uveserver import UVEServer
  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/uveserver.py", line 20, in <module>
    from gevent.coros import BoundedSemaphore
  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: No module named coros

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

Review in progress for https://review.opencontrail.org/25509
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/25511
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/25512
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/25513
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/25514
Submitter: Sundaresan Rajangam (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/25509
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/25511
Submitter: Sundaresan Rajangam (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/25509
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/25512
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/25511
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/25513
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/25514
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/25511
Committed: http://github.org/Juniper/contrail-controller/commit/72e970c203a5e6cd7e726f6d49eb2470553e0cf8
Submitter: Zuul
Branch: R3.2

commit 72e970c203a5e6cd7e726f6d49eb2470553e0cf8
Author: Sundaresan Rajangam <email address hidden>
Date: Fri Oct 28 15:26:46 2016 -0700

Fix analytics systemless test failure due to incompatible gevent library

The latest gevent python package (1.2a1) is not backward compatible
with the older version of gevent. Per the changelog for 1.2a1,
gevent.coros has been deprecated since 1.0b2 and removed in this
release.
Fixed the issue by using gevent.lock instead of gevent.coros

Change-Id: I278e45cf5d8ff37abdf4ecf60ee5ba0d79e7db05
Closes-Bug: #1637604
(cherry picked from commit f6b75d6a0a5f2378d01e340d066be31c6eb28349)

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

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

commit a20cfb0cff6c54730efe49b111e6304c36b73844
Author: Sundaresan Rajangam <email address hidden>
Date: Fri Oct 28 15:26:46 2016 -0700

Fix analytics systemless test failure due to incompatible gevent library

The latest gevent python package (1.2a1) is not backward compatible
with the older version of gevent. Per the changelog for 1.2a1,
gevent.coros has been deprecated since 1.0b2 and removed in this
release.
Fixed the issue by using gevent.lock instead of gevent.coros

Change-Id: I278e45cf5d8ff37abdf4ecf60ee5ba0d79e7db05
Closes-Bug: #1637604
(cherry picked from commit f6b75d6a0a5f2378d01e340d066be31c6eb28349)

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

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

commit f6b75d6a0a5f2378d01e340d066be31c6eb28349
Author: Sundaresan Rajangam <email address hidden>
Date: Fri Oct 28 15:26:46 2016 -0700

Fix analytics systemless test failure due to incompatible gevent library

The latest gevent python package (1.2a1) is not backward compatible
with the older version of gevent. Per the changelog for 1.2a1,
gevent.coros has been deprecated since 1.0b2 and removed in this
release.
Fixed the issue by using gevent.lock instead of gevent.coros

Change-Id: I278e45cf5d8ff37abdf4ecf60ee5ba0d79e7db05
Closes-Bug: #1637604

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

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

commit b97325fabb09a68c161d437c1a4a0661d13c3914
Author: Sundaresan Rajangam <email address hidden>
Date: Fri Oct 28 15:26:46 2016 -0700

Fix analytics systemless test failure due to incompatible gevent library

The latest gevent python package (1.2a1) is not backward compatible
with the older version of gevent. Per the changelog for 1.2a1,
gevent.coros has been deprecated since 1.0b2 and removed in this
release.
Fixed the issue by using gevent.lock instead of gevent.coros

Change-Id: I278e45cf5d8ff37abdf4ecf60ee5ba0d79e7db05
Closes-Bug: #1637604
(cherry picked from commit f6b75d6a0a5f2378d01e340d066be31c6eb28349)

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

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

commit eaf35ecc9d5229e95df0819e1c8f3c2ef19b7656
Author: Sundaresan Rajangam <email address hidden>
Date: Fri Oct 28 15:26:46 2016 -0700

Fix analytics systemless test failure due to incompatible gevent library

The latest gevent python package (1.2a1) is not backward compatible
with the older version of gevent. Per the changelog for 1.2a1,
gevent.coros has been deprecated since 1.0b2 and removed in this
release.
Fixed the issue by using gevent.lock instead of gevent.coros

Change-Id: I278e45cf5d8ff37abdf4ecf60ee5ba0d79e7db05
Closes-Bug: #1637604
(cherry picked from commit f6b75d6a0a5f2378d01e340d066be31c6eb28349)

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.