dsvm HA tests failing

Bug #1745112 reported by Anusha
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
congress
Fix Released
Medium
Anusha

Bug Description

Recently, gate failing on HA tests with following error

Traceback (most recent call last):
  File "/usr/local/bin/congress-server", line 6, in <module>
    from congress.server.congress_server import main
  File "/opt/stack/new/congress/congress/server/congress_server.py", line 27, in <module>
    from oslo_log import log as logging
  File "/usr/local/lib/python2.7/dist-packages/oslo_log/log.py", line 48, in <module>
    from oslo_log import formatters
  File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 29, in <module>
    from oslo_serialization import jsonutils
  File "/usr/local/lib/python2.7/dist-packages/oslo_serialization/jsonutils.py", line 43, in <module>
    from oslo_utils import timeutils
  File "/usr/local/lib/python2.7/dist-packages/oslo_utils/timeutils.py", line 27, in <module>
    from monotonic import monotonic as now # noqa
  File "/usr/local/lib/python2.7/dist-packages/monotonic.py", line 169, in <module>
    raise RuntimeError('no suitable implementation for this system: ' + repr(e))
RuntimeError: no suitable implementation for this system: ImportError('cannot import name log',)

Ref:http://logs.openstack.org/74/537274/1/check/congress-devstack-api-mysql/4449f48/logs/testr_results.html.gz

Anusha (anusha-iiitm)
Changed in congress:
assignee: nobody → Anusha (anusha-iiitm)
importance: Undecided → Medium
Eric K (ekcs)
Changed in congress:
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to congress-tempest-plugin (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/540142

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to congress (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/540551

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to congress (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/540552

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

Reviewed: https://review.openstack.org/536663
Committed: https://git.openstack.org/cgit/openstack/congress/commit/?id=837f4ce43131a041868a3f671860ce5d9d7bdebf
Submitter: Zuul
Branch: master

commit 837f4ce43131a041868a3f671860ce5d9d7bdebf
Author: Eric Kao <email address hidden>
Date: Tue Jan 23 03:34:02 2018 +0000

    eventlet workaround to avoid import cycle issue

    Do get_hub() before monkey_patch() to workaround issue with
    import cycles in eventlet < 0.22.0;
    Based on the worked-around in eventlet with patch
    https://github.com/eventlet/eventlet/commit/b756447bab51046dfc6f1e0e299cc997ab343701

    Also reverts the test skipping that was done because of the issue.

    Revert "temporarily skip local haht test under py27"
    This reverts commit de2e4f1cfc6780e81c6e4a08af4839cdc3e624bc.

    Closes-Bug: 1746136
    Closes-Bug: 1745112

    Change-Id: I72c349e81dfc02136b22637c707ad4908c9f269e

Changed in congress:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/congress 7.0.0.0rc1

This issue was fixed in the openstack/congress 7.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to congress-tempest-plugin (master)

Reviewed: https://review.openstack.org/540142
Committed: https://git.openstack.org/cgit/openstack/congress-tempest-plugin/commit/?id=872218ce6a685bae0e264f23047f769293b14be5
Submitter: Zuul
Branch: master

commit 872218ce6a685bae0e264f23047f769293b14be5
Author: Eric K <email address hidden>
Date: Thu Feb 1 13:14:37 2018 -0800

    re-enable skipped HA test after workaround

    An import cycle issue in eventlet caused failure when launching
    replica congress instance for HA test. The HA test was skipped.

    Now that we have a work-around, re-enable the HA test.

    Related-Bug: 1746136
    Closes-Bug: 1745112

    Depends-On: I72c349e81dfc02136b22637c707ad4908c9f269e
    Change-Id: Ieeb8db6e1b40192c4b877b556718d12f6254b399

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to congress (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/543632

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on congress (stable/ocata)

Change abandoned by Eric Kao (<email address hidden>) on branch: stable/ocata
Review: https://review.openstack.org/540552
Reason: subsumed by https://review.openstack.org/#/c/543632/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to congress (stable/pike)

Reviewed: https://review.openstack.org/540551
Committed: https://git.openstack.org/cgit/openstack/congress/commit/?id=8b18f0574a6619279b7fc6169f74f2bbea0e30f1
Submitter: Zuul
Branch: stable/pike

commit 8b18f0574a6619279b7fc6169f74f2bbea0e30f1
Author: Eric K <email address hidden>
Date: Fri Feb 2 15:22:36 2018 -0800

    eventlet workaround to avoid import cycle issue

    Do get_hub() before monkey_patch() to workaround issue with
    import cycles in eventlet < 0.22.0;
    Based on the worked-around in eventlet with patch
    https://github.com/eventlet/eventlet/commit/b756447bab51046dfc6f1e0e299cc997ab343701

    Also moved monkey_patch() up as far as possible to make sure all imports
    get patched modules.

    Closes-Bug: 1746136
    Closes-Bug: 1745112

    Conceptually cherry-picked from change I72c349e81dfc02136b22637c707ad4908c9f269e

    Change-Id: I0ed736f30f8fd7a3ec046e5810b84b52910fa4c9

tags: added: in-stable-pike
tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to congress (stable/ocata)

Reviewed: https://review.openstack.org/543632
Committed: https://git.openstack.org/cgit/openstack/congress/commit/?id=919b78248643d7c84e7f0056831adfc9810ca396
Submitter: Zuul
Branch: stable/ocata

commit 919b78248643d7c84e7f0056831adfc9810ca396
Author: Eric K <email address hidden>
Date: Fri Feb 2 15:22:36 2018 -0800

    eventlet workaround to avoid import cycle issue

    Do get_hub() before monkey_patch() to workaround issue with
    import cycles in eventlet < 0.22.0;
    Based on the worked-around in eventlet with patch
    https://github.com/eventlet/eventlet/commit/b756447bab51046dfc6f1e0e299cc997ab343701

    Also moved monkey_patch() up as far as possible to make sure all imports
    get patched modules.

    Closes-Bug: 1746136
    Closes-Bug: 1745112

    Conceptually cherry-picked from change I72c349e81dfc02136b22637c707ad4908c9f269e

    Change-Id: I0ed736f30f8fd7a3ec046e5810b84b52910fa4c9

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/congress 6.0.1

This issue was fixed in the openstack/congress 6.0.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/congress 5.0.1

This issue was fixed in the openstack/congress 5.0.1 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.