Tox tests failing with AttributeError

Bug #1505295 reported by Nate Potter
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Nate Potter
Designate
Fix Released
High
Tim Simmons
OpenStack Compute (nova)
Fix Released
High
OpenStack Infra
OpenStack-Ansible
Fix Released
High
Jesse Pretorius
neutron
Fix Released
Undecided
Ihar Hrachyshka

Bug Description

Currently all tests run in Jenkins python27 and python34 are failing with an AttributeError, saying that "'str' has no attribute 'DEALER'", as well as an AssertionError on assert TRANSPORT is not None in cinder/rpc.py.

An example of the full traceback of the failure can be found here:

 http://paste.openstack.org/show/476040/

Revision history for this message
Manjeet Singh Bhatia (manjeet-s-bhatia) wrote :

Neutron Unit tests have same problem for some reason

Nate Potter (ntpttr)
no longer affects: neutron
no longer affects: nova
Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

With oslo.messaging==2.5.0 it works.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

ihrachys dims__: breaking unit tests for multiple projects. can it be some oslo.msg release?
ozamiatin dims__: It's confixture issue, when we haven't imported zmq

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

Temporary fix - block o.m release - https://review.openstack.org/#/c/233724/

no longer affects: ironic
Changed in openstack-ansible:
milestone: none → 12.0.0
importance: Undecided → High
assignee: nobody → Jesse Pretorius (jesse-pretorius)
status: New → In Progress
Changed in neutron:
assignee: nobody → Ihar Hrachyshka (ihar-hrachyshka)
status: New → In Progress
Nate Potter (ntpttr)
Changed in cinder:
assignee: nobody → Nate Potter (ntpttr)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Nate Potter (ntpttr)
Changed in nova:
assignee: nobody → Nate Potter (ntpttr)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

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

Reviewed: https://review.openstack.org/233667
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=8a9de547ed4a15b9ac0eb0d085025d7c97fbf594
Submitter: Jenkins
Branch: master

commit 8a9de547ed4a15b9ac0eb0d085025d7c97fbf594
Author: Assaf Muller <email address hidden>
Date: Mon Oct 12 10:40:49 2015 -0400

    Remove disable_service from DBs configuration

    Remove disable_service from configure_for_func_testing.
    A recent Devstack patch (Linked in bug report) checks
    that a disabled service is not enabled later. This breaks
    the code this patch touches. I believe the DBs were disabled
    and enabled with the assumption that Devstack expects only
    a single DB to be configured at a time, but that doesn't
    seem to be the case. Simply removing the disable calls seems
    to work fine.

    Also exclude oslo.messaging==2.6.0 as per global-requirements.txt.

    Closes-Bug: #1505259
    Closes-Bug: #1505295

    Depends-On: I47ab12f719fba41c2f0c03047b05eb28f4423682
    Change-Id: I0fbcc1218e1aa9adbf89f6121c1c2e224ed93cab

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to designate (master)

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

Changed in designate:
assignee: nobody → Tim Simmons (tim-simmons-t)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on openstack-ansible (master)

Change abandoned by Jesse Pretorius (<email address hidden>) on branch: master
Review: https://review.openstack.org/233739
Reason: Abandoning in favour of https://review.openstack.org/233739

Changed in nova:
assignee: Nate Potter (ntpttr) → Matt Riedemann (mriedem)
Changed in designate:
assignee: Tim Simmons (tim-simmons-t) → Kiall Mac Innes (kiall)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to designate (master)

Reviewed: https://review.openstack.org/233844
Committed: https://git.openstack.org/cgit/openstack/designate/commit/?id=8af0bfaf5ef833a5e8d67e70bd727081a39e5a48
Submitter: Jenkins
Branch: master

commit 8af0bfaf5ef833a5e8d67e70bd727081a39e5a48
Author: TimSimmons <email address hidden>
Date: Mon Oct 12 16:37:40 2015 -0500

    Block oslo.messaging 2.6.0 release

    "Looks like we are broke a lot of CI jobs"

    Change-Id: I08d1eed1874eccb51b6a614f5e69207dd74196eb
    Partial-Bug: #1505295

tags: added: liberty-rc-potential
Changed in nova:
assignee: Matt Riedemann (mriedem) → Sean Dague (sdague)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Sean Dague (<email address hidden>) on branch: master
Review: https://review.openstack.org/233772
Reason: apparently this is already merged

Kiall Mac Innes (kiall)
Changed in designate:
status: In Progress → Fix Committed
Kiall Mac Innes (kiall)
Changed in designate:
assignee: Kiall Mac Innes (kiall) → Tim Simmons (tim-simmons-t)
importance: Undecided → High
Revision history for this message
Thierry Carrez (ttx) wrote :

oslo.messaging 2.6.1 is out to supposedly fix this.

no longer affects: oslo.messaging
Nate Potter (ntpttr)
Changed in cinder:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/233756
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=81a750da5ee5cd2b63eae5f13d37372dce6f0cf3
Submitter: Jenkins
Branch: master

commit 81a750da5ee5cd2b63eae5f13d37372dce6f0cf3
Author: Jesse Pretorius <email address hidden>
Date: Mon Oct 12 19:09:58 2015 +0100

    Block/cap incompatible libraries

    This updates the global requirements to block requests 2.8.0 due to:
      https://launchpad.net/bugs/1476770 and
      https://launchpad.net/bugs/1503768 and
      https://launchpad.net/bugs/1505326

    And also blocks oslo.messaging 2.6.0 temporarily due to:
      https://launchpad.net/bugs/1505295

    And also blocks oslo.versionedobjects 0.11.0 temporarily due to:
      https://launchpad.net/bugs/1505677

    And also blocks WebOb<1.5.0 temporarily due to:
      https://launchpad.net/bugs/1505153

    Related-Bug: #1476770
    Related-Bug: #1503768
    Related-Bug: #1505326
    Related-Bug: #1505295
    Related-Bug: #1505153
    Related-Bug: #1505677
    Change-Id: I3aabbf717ef21a41c7bb9d21957df838642926f0

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (master)

Change abandoned by Nate Potter (<email address hidden>) on branch: master
Review: https://review.openstack.org/233769

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Nate Potter (<email address hidden>) on branch: master
Review: https://review.openstack.org/233784

Akihiro Motoki (amotoki)
tags: added: liberty-backport-potential
removed: liberty-rc-potential
Changed in openstack-ansible:
milestone: 12.0.0 → 12.1.0
Changed in openstack-ansible:
milestone: 12.1.0 → 12.0.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (liberty)

Fix proposed to branch: liberty
Review: https://review.openstack.org/239179

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

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

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

Reviewed: https://review.openstack.org/239179
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=0242bbf664a95f8c7ea0b35d9ebc4750f35823ad
Submitter: Jenkins
Branch: liberty

commit 0242bbf664a95f8c7ea0b35d9ebc4750f35823ad
Author: Jesse Pretorius <email address hidden>
Date: Sat Oct 24 14:52:18 2015 +0100

    Update Liberty SHA's

    This patch updates the Liberty SHA's for new development work, and
    removes the oslo.messaging 2.6.0 block as this is now done upstream.

    Change-Id: I39b52de97cc075a5c5ae1125691ff549cf8cd0c3
    Closes-Bug: #1505295

tags: added: in-liberty
Changed in openstack-ansible:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/239180
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=14a57702ca97d5f3eca6629e010367734239ba98
Submitter: Jenkins
Branch: master

commit 14a57702ca97d5f3eca6629e010367734239ba98
Author: Jesse Pretorius <email address hidden>
Date: Sat Oct 24 15:03:01 2015 +0100

    Update Master SHA's

    This patch updates the Master SHA's for new development work, and
    removes the oslo.messaging 2.6.0 block as this is now done upstream.

    Change-Id: I3a1c13b5a3e5a970a8c4380320133d6947c1938c
    Closes-Bug: #1505295

Changed in openstack-ansible:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/neutron 8.0.0.0b1

This issue was fixed in the openstack/neutron 8.0.0.0b1 development milestone.

Changed in designate:
status: Fix Committed → Fix Released
Changed in neutron:
status: Fix Committed → Fix Released
Revision history for this message
Matt Riedemann (mriedem) wrote :

The g-r sync bot got this fixed for nova.

Changed in nova:
status: In Progress → Fix Released
assignee: Sean Dague (sdague) → nobody
Matt Riedemann (mriedem)
Changed in nova:
importance: Undecided → High
assignee: nobody → OpenStack Infra (hudson-openstack)
tags: removed: liberty-backport-potential
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 12.0.8

This issue was fixed in the openstack/openstack-ansible 12.0.8 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 12.0.9

This issue was fixed in the openstack/openstack-ansible 12.0.9 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 13.0.0

This issue was fixed in the openstack/openstack-ansible 13.0.0 release.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

This issue was fixed in the openstack/openstack-ansible 13.0.0 release.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 12.0.11

This issue was fixed in the openstack/openstack-ansible 12.0.11 release.

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

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/336076

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

Reviewed: https://review.openstack.org/336076
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=49f0432cf387edac81cef8e3781a64ec1d1031a6
Submitter: Jenkins
Branch: stable/liberty

commit 49f0432cf387edac81cef8e3781a64ec1d1031a6
Author: Assaf Muller <email address hidden>
Date: Mon Oct 12 10:40:49 2015 -0400

    Remove disable_service from DBs configuration

    Remove disable_service from configure_for_func_testing.
    A recent Devstack patch (Linked in bug report) checks
    that a disabled service is not enabled later. This breaks
    the code this patch touches. I believe the DBs were disabled
    and enabled with the assumption that Devstack expects only
    a single DB to be configured at a time, but that doesn't
    seem to be the case. Simply removing the disable calls seems
    to work fine.

    Closes-Bug: #1505259
    Closes-Bug: #1505295

    Conflicts:
     requirements.txt

    Depends-On: I47ab12f719fba41c2f0c03047b05eb28f4423682
    Change-Id: I0fbcc1218e1aa9adbf89f6121c1c2e224ed93cab
    (cherry picked from commit 8a9de547ed4a15b9ac0eb0d085025d7c97fbf594)

tags: added: in-stable-liberty
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/neutron 7.1.2

This issue was fixed in the openstack/neutron 7.1.2 release.

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.