** Also affects: neutron/icehouse
Importance: Undecided
Status: New
** Changed in: neutron/icehouse
Milestone: None => 2014.1.2
** Changed in: neutron/icehouse
Status: New => Fix Committed
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1336172
Title:
Neutron functional job is broken
Status in OpenStack Neutron (virtual network service):
Fix Committed
Status in neutron icehouse series:
Fix Committed
Bug description:
I encountered this as part of "check-neutron-dsvm-functional" test job
failure from Jenkins.
Contextual log snippet (from console.html)[1]:
----------------------------------------------------
.
.
.
2014-07-01 03:31:05.323 | 2014-07-01 03:31:05.304 | Command: ['sudo',
'ovs-vsctl', '--timeout=10', 'get', 'Interface', 'peertest1-e9c183', 'ofport']
2014-07-01 03:31:05.325 | 2014-07-01 03:31:05.306 | Exit code: 1
2014-07-01 03:31:05.327 | 2014-07-01 03:31:05.308 | Stdout: ''
2014-07-01 03:31:05.329 | 2014-07-01 03:31:05.310 | Stderr: 'sudo: no tty
present and no askpass program specified\n'
2014-07-01 03:31:05.331 | 2014-07-01 03:31:05.312 | 2014-07-01 03:31:05,077
ERROR [neutron.agent.linux.utils]
2014-07-01 03:31:05.333 | 2014-07-01 03:31:05.314 | Command: ['sudo',
'ovs-vsctl', '--timeout=10', '--', '--if-exists', 'del-br', 'patchtest-e9c183']
2014-07-01 03:31:05.336 | 2014-07-01 03:31:05.316 | Exit code: 1
2014-07-01 03:31:05.338 | 2014-07-01 03:31:05.319 | Stdout: ''
2014-07-01 03:31:05.340 | 2014-07-01 03:31:05.321 | Stderr: 'sudo: no tty
present and no askpass program specified\n'
2014-07-01 03:31:05.342 | 2014-07-01 03:31:05.323 | 2014-07-01 03:31:05,078
ERROR [neutron.agent.linux.ovs_lib] Unable to execute ['ovs-vsctl',
'--timeout=10', '--', '--if-exists', 'del-br', 'patchtest-e9c183']. Exception:
2014-07-01 03:31:05.345 | 2014-07-01 03:31:05.325 | Command: ['sudo',
'ovs-vsctl', '--timeout=10', '--', '--if-exists', 'del-br', 'patchtest-e9c183']
2014-07-01 03:31:05.347 | 2014-07-01 03:31:05.328 | Exit code: 1
2014-07-01 03:31:05.349 | 2014-07-01 03:31:05.330 | Stdout: ''
2014-07-01 03:31:05.351 | 2014-07-01 03:31:05.332 | Stderr: 'sudo: no tty
present and no askpass program specified\n'
2014-07-01 03:31:05.353 | 2014-07-01 03:31:05.334 | }}}
2014-07-01 03:31:05.355 | 2014-07-01 03:31:05.336 |
2014-07-01 03:31:05.357 | 2014-07-01 03:31:05.338 | Traceback (most recent
call last):
2014-07-01 03:31:05.359 | 2014-07-01 03:31:05.340 | File
"neutron/tests/functional/sanity/test_sanity.py", line 58, in
test_ovs_patch_support_runs
2014-07-01 03:31:05.361 | 2014-07-01 03:31:05.342 |
checks.patch_supported(self.root_helper)
2014-07-01 03:31:05.363 | 2014-07-01 03:31:05.343 | File
"neutron/cmd/sanity/checks.py", line 35, in patch_supported
2014-07-01 03:31:05.365 | 2014-07-01 03:31:05.346 | port =
br.add_patch_port(patch_name, peer_name)
2014-07-01 03:31:05.367 | 2014-07-01 03:31:05.348 | File
"neutron/agent/linux/ovs_lib.py", line 275, in add_patch_port
2014-07-01 03:31:05.369 | 2014-07-01 03:31:05.350 | return
self.get_port_ofport(local_name)
2014-07-01 03:31:05.371 | 2014-07-01 03:31:05.352 | File
"neutron/agent/linux/ovs_lib.py", line 183, in get_port_ofport
2014-07-01 03:31:05.373 | 2014-07-01 03:31:05.354 | int(ofport)
2014-07-01 03:31:05.375 | 2014-07-01 03:31:05.356 | TypeError: int() argument
must be a string or a number, not 'NoneType'
2014-07-01 03:31:05.377 | 2014-07-01 03:31:05.358 |
======================================================================
2014-07-01 03:31:05.379 | 2014-07-01 03:31:05.360 | FAIL: process-returncode
2014-07-01 03:31:05.381 | 2014-07-01 03:31:05.362 | tags: worker-2
2014-07-01 03:31:05.383 | 2014-07-01 03:31:05.363 |
----------------------------------------------------------------------
2014-07-01 03:31:05.385 | 2014-07-01 03:31:05.366 | Binary content:
2014-07-01 03:31:05.387 | 2014-07-01 03:31:05.368 | traceback (test/plain;
charset="utf8")
2014-07-01 03:31:05.389 | 2014-07-01 03:31:05.369 |
======================================================================
2014-07-01 03:31:05.391 | 2014-07-01 03:31:05.371 | FAIL: process-returncode
2014-07-01 03:31:05.393 | 2014-07-01 03:31:05.374 | tags: worker-2
2014-07-01 03:31:05.395 | 2014-07-01 03:31:05.376 |
----------------------------------------------------------------------
2014-07-01 03:31:05.397 | 2014-07-01 03:31:05.378 | Binary content:
2014-07-01 03:31:05.399 | 2014-07-01 03:31:05.380 | traceback (test/plain;
charset="utf8")
2014-07-01 03:31:05.401 | 2014-07-01 03:31:05.382 | Ran 9 tests in 0.367s
2014-07-01 03:31:05.403 | 2014-07-01 03:31:05.384 | FAILED (id=0, failures=4,
skips=2)
2014-07-01 03:31:05.405 | 2014-07-01 03:31:05.386 | error: testr failed (1)
2014-07-01 03:31:05.408 | 2014-07-01 03:31:05.388 | ERROR: InvocationError:
'/opt/stack/new/neutron/.tox/functional/bin/python setup.py testr --slowest
--testr-args='
2014-07-01 03:31:05.409 | 2014-07-01 03:31:05.390 |
___________________________________ summary ____________________________________
2014-07-01 03:31:05.411 | 2014-07-01 03:31:05.392 | ERROR: functional:
commands failed
.
.
.
----------------------------------------------------
Here's[2] the logstash query for "int() argument must be a string or a
number, not 'NoneType'" -- looking at, 'build_name' in the logs, most
of them are 'check-neutron-dsvm-functional'
[1]
http://logs.openstack.org/90/102490/4/check/check-neutron-dsvm-functional/9db189a/console.html#_2014-07-01_03_31_05_126
[2]
http://logstash.openstack.org/#eyJzZWFyY2giOiJcInN1ZG86IG5vIHR0eSBwcmVzZW50IGFuZCBubyBhc2twYXNzIHByb2dyYW0gc3BlY2lmaWVkXCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6IjE3MjgwMCIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJ1c2VyX2ludGVydmFsIjowfSwic3RhbXAiOjE0MDQxOTcwNzI1MDh9
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1336172/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp