automation: allowed address pair test cases failed

Bug #1764276 reported by Vinoth Kannan Ganapathy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
High
Vinoth Kannan Ganapathy
Trunk
Fix Committed
High
Vinoth Kannan Ganapathy

Bug Description

2018-04-16 11:08:00,380 - ERROR - <pre>Traceback (most recent call last):
  File "tcutils/wrappers.py", line 78, in wrapper
    result = function(self, *args, **kwargs)
  File "scripts/neutron/test_ports.py", line 922, in test_aap_with_vrrp_priority_change
    assert self.vrrp_mas_chk(vm1_fixture, vn1_fixture, vIP)
  File "tcutils/util.py", line 62, in f_retry
    result = f(*args, **kwargs) # first attempt
  File "common/neutron/base.py", line 367, in vrrp_mas_chk
    if is_v4(ip):
  File "tcutils/util.py", line 530, in is_v4
    ip = IPNetwork(address)
  File "/usr/lib/python2.7/site-packages/netaddr/ip/__init__.py", line 923, in __init__
    implicit_prefix, flags)
  File "/usr/lib/python2.7/site-packages/netaddr/ip/__init__.py", line 818, in parse_ip_network
    raise TypeError('unexpected type %s for addr arg' % type(addr))
TypeError: unexpected type &lt;type 'NoneType'> for addr arg
</pre>

2018-04-16 11:08:00,380 - DEBUG - Skipping xmpp flap check
2018-04-16 11:08:00,380 - INFO -
2018-04-16 11:08:00,380 - INFO - END TEST : test_aap_with_vrrp_priority_change : FAILED[0:01:56]

issue due to the commit , https://review.opencontrail.org/#/c/38345/

also testcase, test_port_admin_state_up, fails, where it shuts the VM port and tries to ping from that VM..

2018-04-16 12:37:17,640 - ERROR - Unable to run command ping -s 56 -c 5 -W 1 135.86.16.4: 1
Traceback (most recent call last):
  File "tcutils/fabutils.py", line 111, in remote_cmd
    output = _run(cmd, timeout=timeout, pty=not as_daemon, shell=shell)
  File "/usr/lib/python2.7/site-packages/fabric/network.py", line 633, in host_prompting_wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/fabric/operations.py", line 1095, in sudo
    stderr=stderr, timeout=timeout, shell_escape=shell_escape,
  File "/usr/lib/python2.7/site-packages/fabric/operations.py", line 909, in _run_command
    channel=default_channel(), command=wrapped_command, pty=pty,
  File "/usr/lib/python2.7/site-packages/fabric/state.py", line 387, in default_channel
    chan = _open_session()
  File "/usr/lib/python2.7/site-packages/fabric/state.py", line 379, in _open_session
    return connections[env.host_string].get_transport().open_session()
  File "/usr/lib/python2.7/site-packages/fabric/network.py", line 154, in __getitem__
    self.connect(key)
  File "/usr/lib/python2.7/site-packages/fabric/network.py", line 146, in connect
    user, host, port, cache=self, seek_gateway=seek_gateway)
  File "/usr/lib/python2.7/site-packages/fabric/network.py", line 517, in connect
    password = prompt_for_password(text)
  File "/usr/lib/python2.7/site-packages/fabric/network.py", line 590, in prompt_for_password
    handle_prompt_abort("a connection or sudo password")
  File "/usr/lib/python2.7/site-packages/fabric/utils.py", line 156, in handle_prompt_abort
    abort(reason % "abort-on-prompts was set to True")
  File "/usr/lib/python2.7/site-packages/fabric/utils.py", line 38, in abort
    sys.exit(1)
SystemExit: 1
2018-04-16 12:37:22,646 - WARNING - Got exception in ping_to_ip:argument of type 'NoneType' is not iterable

Tags: automation
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/41941
Submitter: Vinoth Ganapathy (<email address hidden>)

description: updated
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/41946
Submitter: Vinoth Ganapathy (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/41946
Committed: http://github.com/Juniper/contrail-test/commit/67751ece58b415376dc9298003ac606083cc6321
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit 67751ece58b415376dc9298003ac606083cc6321
Author: Vinoth Ganapathy <email address hidden>
Date: Mon Apr 16 00:00:23 2018 -0700

function , vrrp_mas_chk, called with incorrect arguments.
minor fix for the testcase test_port_admin_state_up

Change-Id: I86b0453c2387b32521877e6e63e054a8ce0d85f4
Closes-Bug: #1764276

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/41941
Committed: http://github.com/Juniper/contrail-test/commit/9801a4a636fb4cbabe88c5b63f2e6ec96a88495f
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 9801a4a636fb4cbabe88c5b63f2e6ec96a88495f
Author: Vinoth Ganapathy <email address hidden>
Date: Mon Apr 16 00:00:23 2018 -0700

function , vrrp_mas_chk, called with incorrect arguments.
minor fix for the testcase test_port_admin_state_up

Change-Id: I86b0453c2387b32521877e6e63e054a8ce0d85f4
Closes-Bug: #1764276

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.