test_filtering_shared_networks fails intermittently
Bug #1495040 reported by
Armando Migliaccio
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Critical
|
Kevin Benton |
Bug Description
An example:
http://
Query:
message:"in test_filtering_
15 failures over the last 7 days. It's unclear when it started, most likely a latent race popping up after something else reshuffled the
typical execution run.
Changed in neutron: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
milestone: | none → liberty-rc1 |
description: | updated |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | liberty-rc1 → 7.0.0 |
To post a comment you must log in.
It looks like the filtering is broken, as there are networks returned whose 'shared' value does not make the filter specified:
This request:
2015-09-11 11:23:15,244 6305 INFO [tempest_ lib.common. rest_client] Request (SharedNetworks Test:test_ filtering_ shared_ networks) : 200 GET http:// 127.0.0. 1:9696/ v2.0/networks? shared= False 0.148s
Gets this response:
Body: {"networks": [{"status": "ACTIVE", "subnets": ["9368a45d- 3c6d-4521- b737-48efefe563 24", "04e2d89e- c622-41b4- beab-54b031e3af 07"], "name": "public", "admin_state_up": true, "tenant_id": "bc0fb558ac1243 19aab4bb5e2c502 24e", "mtu": 0, "router:external": true, "shared": false, "port_security_ enabled" : true, "id": "07a775c4- 0dbd-4f70- b06a-e6bde021aa 94", "qos_policy_id": null}, {"status": "ACTIVE", "subnets": [], "name": "test-network- -1632961565" , "admin_state_up": true, "tenant_id": "634d0952b09740 1aaed76cfda2851 541", "mtu": 0, "router:external": false, "shared": false, "port_security_ enabled" : true, "id": "274828a9- c7c5-4d51- 9ed2-3fe9759c2f 87", "qos_policy_id": null}, {"status": "ACTIVE", "subnets": ["2b6b9fc2- 52f4-4807- b82a-f1545b8741 79"], "name": "test-network- -309437907" , "admin_state_up": true, "tenant_id": "ddd8392aa90c4c 339612144273ee9 b7f", "mtu": 0, "router:external": false, "shared": true, "port_security_ enabled" : true, "id": "41252ae7- ebed-4748- 8dad-af6ee7b629 56", "qos_policy_id": null}]}
And this one clearly contains a network that has shared attribute == True