Neutron unit tests fail against oslo.* master

Bug #1561151 reported by Davanum Srinivas (DIMS)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Davanum Srinivas (DIMS)

Bug Description

from http://logs.openstack.org/periodic/periodic-neutron-py27-with-oslo-master/b093812/console.html#_2016-03-23_06_21_11_099 :

2016-03-23 06:21:11.099 | Captured traceback:
2016-03-23 06:21:11.099 | ~~~~~~~~~~~~~~~~~~~
2016-03-23 06:21:11.099 | Traceback (most recent call last):
2016-03-23 06:21:11.099 | File "neutron/tests/unit/extensions/test_dns.py", line 455, in test_api_extension_validation_with_bad_dns_names
2016-03-23 06:21:11.100 | 'cannot be converted to lowercase string' in res.text or
2016-03-23 06:21:11.191 | File "/home/jenkins/workspace/periodic-neutron-py27-with-oslo-master/.tox/py27-oslo-master/local/lib/python2.7/site-packages/webob/response.py", line 420, in _text__get
2016-03-23 06:21:11.191 | "You cannot access Response.text unless charset is set")
2016-03-23 06:21:11.191 | AttributeError: You cannot access Response.text unless charset is set
2016-03-23 06:21:11.191 |

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

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

Changed in neutron:
assignee: nobody → Davanum Srinivas (DIMS) (dims-v)
status: New → In Progress
tags: added: unittest
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit a94e1b410b0ae5193aabe7fdde6f4948334464f8
Author: Davanum Srinivas <email address hidden>
Date: Wed Mar 23 14:52:58 2016 -0400

    Fix test failure against latest oslo.* from master

    Looks like there's a lot of places in Neutron tests we are
    using res.json['NeutronError']['message'] to look at the
    exact message and we missed a spot

    Closes-Bug: #1561151
    Change-Id: I8e62ae9f16a2b239520f79ac53401e596f781b64

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/313994

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

Reviewed: https://review.openstack.org/313994
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=65bb2d5e226761d129cde56f3c1fae27f3f73add
Submitter: Jenkins
Branch: stable/mitaka

commit 65bb2d5e226761d129cde56f3c1fae27f3f73add
Author: Davanum Srinivas <email address hidden>
Date: Wed Mar 23 14:52:58 2016 -0400

    Fix test failure against latest oslo.* from master

    Looks like there's a lot of places in Neutron tests we are
    using res.json['NeutronError']['message'] to look at the
    exact message and we missed a spot

    Closes-Bug: #1561151
    Change-Id: I8e62ae9f16a2b239520f79ac53401e596f781b64
    (cherry picked from commit a94e1b410b0ae5193aabe7fdde6f4948334464f8)

tags: added: in-stable-mitaka
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/neutron 8.1.1

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

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/neutron 9.0.0.0b1

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

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.