neutron_test.sh fails in python-neutronclient

Bug #1438906 reported by Vikram Hosakote
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
Undecided
Unassigned

Bug Description

The shell script neutron_test.sh that runs neutron CLI unit-tests fails in the latest python-neutronclient.

Below are the steps to reproduce this bug.

1. git clone git://git.openstack.org/openstack/python-neutronclient
2. cd python-neutronclient
3. ./neutron_test.sh

Below are the errors.

$ ./neutron_test.sh
+ net_name=mynet1
+ subnet_name=mysubnet1
+ port_name=myport1
+ noauth_tenant_id=me
+ '[' '' == noauth ']'
+ NOAUTH=
+ echo 'NOTE: User should be admin in order to perform all operations.'
NOTE: User should be admin in order to perform all operations.
+ sleep 3
+ FORMAT=' --request-format xml'
+ network=mynet1
+ neutron net-create --request-format xml mynet1
404 Not Found
The resource could not be found.
+ die 'fail to create network mynet1'
+ local exitcode=1
+ set +o xtrace
fail to create network mynet1
Removing test port, subnet and net...
Unable to find port with name 'myport1'
Unable to find subnet with name 'mysubnet1'
Unable to find network with name 'mynet1'
$

$ neutron --version
2.3.11

Revision history for this message
Vikram Hosakote (vhosakot) wrote :

Reproduced in the latest python-neutronclient code. Fixing it.

Changed in python-neutronclient:
assignee: nobody → Vikram Hosakote (vhosakot)
status: New → Confirmed
Revision history for this message
Akihiro Motoki (amotoki) wrote :
Changed in python-neutronclient:
assignee: Vikram Hosakote (vhosakot) → nobody
status: Confirmed → Fix Released
Revision history for this message
Akihiro Motoki (amotoki) wrote :

Honestly this test is no longer required.

* most developers do not care this script.
* this kind of test should be moved to the functional tests,

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.