2025-07-22 18:19:22,010 - INFO - Domain Default found not creating
2025-07-22 18:19:22,169 - INFO - Project ctest-FatFlowAggrIpv6Serial-98219491 not found, creating it
2025-07-22 18:19:22,758 - INFO - Created Project:ctest-FatFlowAggrIpv6Serial-98219491, ID : 7981dbef-9fc7-44fa-8f84-039bd6e05c04
2025-07-22 18:19:24,199 - INFO - ================================================================================
2025-07-22 18:19:24,199 - INFO - STARTING TEST : test_fat_flow_aggr_dest_udp_inter_vn_inter_node
2025-07-22 18:19:24,200 - INFO - TEST DESCRIPTION :
Description: Verify fat flow prefix aggr dest (IPv6) for intra-vn inter-node
Steps:
1. Create 2 VNs with IPv6 subnets and launch 3 VMs.2 client VMs in VN1 on same node
and server VM in VN2 on different node.
Client 1 in subnet 1, Client 2 in the next subnet.
Policy p1 configured to allow udp traffic between VN1 and VN2.
2. On server VM, config fat flow aggr prefix dest IPv6 len 125 for UDP port 55.
3. From both the client VMs, send ICMP6 traffic to the server VM twice with diff. src ports
Pass criteria:
1. On the remote CN, expect 2 pairs ( 1 for client 1, 1 for client 2)
of IPv6 fat flows with prefix aggregated for the src IPs
(VM to fabric, Prefix Aggr Dest: Aggregation happens for SRC IPs)
2. On client VM compute nodes, expect 4 pairs of IPv6 flows and on server compute,
expect 2 pairs of IPv6 flows
3. On server compute node, flow's source port should be 0 for fat flows
Maintainer: Ankitja@juniper.net
2025-07-22 18:19:25,465 - DEBUG - Skipping xmpp flap check
2025-07-22 18:19:25,465 - INFO - Initial checks done. Running the testcase now
2025-07-22 18:19:25,465 - INFO -
2025-07-22 18:19:25,465 - INFO - ================================================================================
2025-07-22 18:19:25,466 - INFO - STARTING TEST : test_fat_flow_aggr_dest_udp_inter_vn_inter_node
2025-07-22 18:19:25,466 - INFO - TEST DESCRIPTION : :
Description: Verify fat flow prefix aggr dest (IPv4) for intra-vn inter-node
Steps:
1. Create 2 VNs and launch 3 VMs.2 client VMs in VN1 on same node
and server VM in VN2 on different node.
Client 1 in subnet 1, Client 2 in the next subnet.
Policy p1 configured to allow udp traffic between VN1 and VN2.
2. On server VM, config fat flow aggr prefix dest len 29 for UDP port 55.
3. From both the client VMs, send ICMP traffic to the server VM twice with diff. src ports
Pass criteria:
1. On the remote CN, expect 2 pairs ( 1 for client 1, 1 for client 2)
of fat flows with prefix aggregated for the src IPs
(VM to fabric, Prefix Aggr Dest: Aggregation happens for SRC IPs)
2. On client VM compute nodes, expect 4 pairs of flows and on server compute,
expect 2 pairs of flows
3. On server compute node, flow's source port should be 0 for fat flows
Maintainer: Ankitja@juniper.net
2025-07-22 18:19:26,740 - DEBUG - Skipping xmpp flap check
2025-07-22 18:19:26,740 - INFO - Initial checks done. Running the testcase now
2025-07-22 18:19:26,741 - INFO -
2025-07-22 18:19:26,764 - DEBUG - Services list from nova: [, , , ]
2025-07-22 18:19:26,764 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3693-2', 'an-jenkins-deploy-platform-ansible-os-3693-1']}
2025-07-22 18:19:27,641 - DEBUG - Response for create_network : {'network': {'id': '5e0c066f-4772-4048-a8c3-19c392d07569', 'name': 'ctest-vn-26593180', 'tenant_id': '7981dbef9fc744fa8f84039bd6e05c04', 'project_id': '7981dbef9fc744fa8f84039bd6e05c04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-FatFlowAggrIpv6Serial-98219491', 'ctest-vn-26593180'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 18:19:28,057 - DEBUG - Response for create_subnet : {'subnet': {'id': '955d92b0-5dda-4bf7-9dbd-2b419861e8f8', 'name': '', 'tenant_id': '7981dbef9fc744fa8f84039bd6e05c04', 'network_id': '5e0c066f-4772-4048-a8c3-19c392d07569', 'ip_version': 4, 'cidr': '186.18.240.128/26', 'allocation_pools': [{'start': '186.18.240.130', 'end': '186.18.240.190'}], 'gateway_ip': '186.18.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.18.240.130', 'tags': [], 'project_id': '7981dbef9fc744fa8f84039bd6e05c04'}}
2025-07-22 18:19:28,339 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e4ffb17-9ffe-4ef5-a3e0-6e0362c2b504', 'name': '', 'tenant_id': '7981dbef9fc744fa8f84039bd6e05c04', 'network_id': '5e0c066f-4772-4048-a8c3-19c392d07569', 'ip_version': 6, 'cidr': '239b:9f06:a0be:2972:f4a8:de77::/96', 'allocation_pools': [{'start': '239b:9f06:a0be:2972:f4a8:de77:0:2', 'end': '239b:9f06:a0be:2972:f4a8:de77:ffff:fffe'}], 'gateway_ip': '239b:9f06:a0be:2972:f4a8:de77:0:1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '239b:9f06:a0be:2972:f4a8:de77:0:2', 'tags': [], 'project_id': '7981dbef9fc744fa8f84039bd6e05c04'}}
2025-07-22 18:19:28,389 - INFO - Created VN ctest-vn-26593180
2025-07-22 18:19:28,404 - DEBUG - VN ctest-vn-26593180 UUID is 5e0c066f-4772-4048-a8c3-19c392d07569
2025-07-22 18:19:28,933 - DEBUG - Response for create_network : {'network': {'id': 'e8d23e08-e22b-4edf-82ba-d8c3d55a4d8c', 'name': 'ctest-vn-07514996', 'tenant_id': '7981dbef9fc744fa8f84039bd6e05c04', 'project_id': '7981dbef9fc744fa8f84039bd6e05c04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-FatFlowAggrIpv6Serial-98219491', 'ctest-vn-07514996'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 18:19:29,221 - DEBUG - Response for create_subnet : {'subnet': {'id': '4aaf1da1-a618-4574-803c-da362c957de8', 'name': '', 'tenant_id': '7981dbef9fc744fa8f84039bd6e05c04', 'network_id': 'e8d23e08-e22b-4edf-82ba-d8c3d55a4d8c', 'ip_version': 4, 'cidr': '2.187.121.128/26', 'allocation_pools': [{'start': '2.187.121.130', 'end': '2.187.121.190'}], 'gateway_ip': '2.187.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.187.121.130', 'tags': [], 'project_id': '7981dbef9fc744fa8f84039bd6e05c04'}}
2025-07-22 18:19:29,512 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f1052fa-c1d8-45da-b6a2-49c2de7df87e', 'name': '', 'tenant_id': '7981dbef9fc744fa8f84039bd6e05c04', 'network_id': 'e8d23e08-e22b-4edf-82ba-d8c3d55a4d8c', 'ip_version': 6, 'cidr': '329d:64ec:b698:8a7c:7ec7:f33d::/96', 'allocation_pools': [{'start': '329d:64ec:b698:8a7c:7ec7:f33d:0:2', 'end': '329d:64ec:b698:8a7c:7ec7:f33d:ffff:fffe'}], 'gateway_ip': '329d:64ec:b698:8a7c:7ec7:f33d:0:1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '329d:64ec:b698:8a7c:7ec7:f33d:0:2', 'tags': [], 'project_id': '7981dbef9fc744fa8f84039bd6e05c04'}}
2025-07-22 18:19:29,543 - INFO - Created VN ctest-vn-07514996
2025-07-22 18:19:29,562 - DEBUG - VN ctest-vn-07514996 UUID is e8d23e08-e22b-4edf-82ba-d8c3d55a4d8c
2025-07-22 18:19:29,718 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 18:19:30,043 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-07-22 18:19:30,390 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910
2025-07-22 18:19:30,417 - DEBUG - Requesting: http://10.0.0.254:8082/project/7981dbef-9fc7-44fa-8f84-039bd6e05c04
2025-07-22 18:19:30,518 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5e0c066f-4772-4048-a8c3-19c392d07569
2025-07-22 18:19:30,539 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5e0c066f-4772-4048-a8c3-19c392d07569
2025-07-22 18:19:30,556 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/87549f9b-05bc-4132-a942-9abd6ecc72b5
2025-07-22 18:19:30,567 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/87549f9b-05bc-4132-a942-9abd6ecc72b5
2025-07-22 18:19:30,578 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5efd6df0-a7c4-4942-a8f7-2d0ab3615699
2025-07-22 18:19:30,586 - DEBUG - Route Targets: ['target:64512:8000005']
2025-07-22 18:19:30,586 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5e0c066f-4772-4048-a8c3-19c392d07569
2025-07-22 18:19:30,598 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/87549f9b-05bc-4132-a942-9abd6ecc72b5
2025-07-22 18:19:30,624 - INFO - Verified VN network id 12 for VN 5e0c066f-4772-4048-a8c3-19c392d07569
2025-07-22 18:19:30,624 - INFO - Verifications in API Server for VN ctest-vn-26593180 passed
2025-07-22 18:19:30,624 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5e0c066f-4772-4048-a8c3-19c392d07569
2025-07-22 18:19:30,642 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/87549f9b-05bc-4132-a942-9abd6ecc72b5
2025-07-22 18:19:30,654 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/87549f9b-05bc-4132-a942-9abd6ecc72b5
2025-07-22 18:19:30,666 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5efd6df0-a7c4-4942-a8f7-2d0ab3615699
2025-07-22 18:19:30,685 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-FatFlowAggrIpv6Serial-98219491:ctest-vn-26593180', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-FatFlowAggrIpv6Serial-98219491', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6776798614295560264', 'uuid-lslong': '12160591746602923369'}, 'enable': 'true', 'created': '2025-07-22T18:19:27', 'last-modified': '2025-07-22T18:19:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.450783'}
2025-07-22 18:19:30,696 - DEBUG - Route Targets: ['target:64512:8000005']
2025-07-22 18:19:30,705 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-FatFlowAggrIpv6Serial-98219491:ctest-vn-26593180', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-FatFlowAggrIpv6Serial-98219491', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6776798614295560264', 'uuid-lslong': '12160591746602923369'}, 'enable': 'true', 'created': '2025-07-22T18:19:27', 'last-modified': '2025-07-22T18:19:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.460318'}
2025-07-22 18:19:30,712 - DEBUG - Route Targets: ['target:64512:8000005']
2025-07-22 18:19:30,720 - INFO - Deleting VN ctest-vn-07514996
2025-07-22 18:19:31,008 - DEBUG - Response for deleting network ()
2025-07-22 18:19:31,008 - INFO - Deleting VN ctest-vn-26593180
2025-07-22 18:19:31,208 - DEBUG - Response for deleting network ()
2025-07-22 18:19:32,500 - ERROR - AttributeError
Python 3.6.8: /usr/bin/python3
Tue Jul 22 18:19:30 2025
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/serial_scripts/vrouter/test_fat_flow_aggr_serial.py in test_fat_flow_aggr_dest_udp_inter_vn_inter_node(self=)
59 inter_node=inter_node,inter_vn=inter_vn, proto=proto,
60 port=port, vn_policy=vn_policy, policy_deny=policy_deny,
61 dual=ipv6, prefix_length6=prefix_length6, only_v6=only_v6)
62 return True
63
dual undefined
ipv6 = True
prefix_length6 = 125
only_v6 = True
/contrail-test/common/vrouter/base.py in fat_flow_with_prefix_aggr(self=, prefix_length=29, prefix_length6=125, inter_node=True, inter_vn=True, dual=True, traffic_recvr=False, unidirectional_traffic=True, ignore_address=None, proto='udp', port=55, portv6=56, svc_chain=False, only_v6=True, af='v4', icmp_error=False, hc=None, vn_policy=True, policy_deny=False, svm_inter_node=False, resources=True, scale=False)
368 vn_fixtures = self.vn_fixtures
369
370 self.verify_vns(vn_fixtures)
371 src_vn_fixture = vn_fixtures[0]
372 dst_vn_fixture = vn_fixtures[0]
self =
self.verify_vns = >
vn_fixtures = [, ]
/contrail-test/common/vrouter/base.py in verify_vns(self=, vn_fixtures=[, ])
154 def verify_vns(self, vn_fixtures):
155 for vn_fixture in vn_fixtures:
156 assert vn_fixture.verify_on_setup()
157
158 def create_vms(self, vn_fixture, count=1, image_name='ubuntu',
vn_fixture =
vn_fixture.verify_on_setup = >
/contrail-test/fixtures/vn_test.py in verify_on_setup(self=)
579 "One or more verifications in API Server for VN %s failed" % (self.vn_name))
580 return result
581 if not self.verify_vn_in_control_nodes():
582 result = result and False
583 self.logger.error(
self =
self.verify_vn_in_control_nodes = .deco_retry..f_retry of >
/contrail-test/tcutils/util.py in f_retry(*args=(,), **kwargs={})
82 mtries, mdelay = tries, delay # make mutable
83
84 result = f(*args, **kwargs) # first attempt
85 rv = result
86 final = False
result undefined
f =
args = (,)
kwargs = {}
/contrail-test/fixtures/vn_test.py in verify_vn_in_control_nodes(self=)
927 for cn in self.inputs.bgp_ips:
928 cn_config_vn_obj = self.cn_inspect[cn].get_cn_config_vn(
929 vn_name=self.vn_name, project=self.project_name, domain=self.domain_name)
930 if not cn_config_vn_obj:
931 self.logger.warn('Control-node %s does not have VN %s info ' %
vn_name undefined
self =
self.vn_name = 'ctest-vn-26593180'
project undefined
self.project_name = 'ctest-FatFlowAggrIpv6Serial-98219491'
domain undefined
self.domain_name = 'default-domain'
/contrail-test/tcutils/control/cn_introspect_utils.py in get_cn_config_vn(self=, domain='default-domain', project='ctest-FatFlowAggrIpv6Serial-98219491', vn_name='ctest-vn-26593180')
139 def get_cn_config_vn(self, domain='default-domain', project='admin', vn_name='default-virtual-network'):
140 m = 'virtual-network:' + domain + ':' + project + ':' + vn_name
141 return self._get_if_map_table_entry(m)
142
143 def get_cn_config_fip_pool(self, domain='default-domain', project='admin', vn_name='default-virtual-network', fip_pool_name='default-floating-ip-pool'):
self =
self._get_if_map_table_entry = >
m = 'virtual-network:default-domain:ctest-FatFlowAggrIpv6Serial-98219491:ctest-vn-26593180'
/contrail-test/tcutils/control/cn_introspect_utils.py in _get_if_map_table_entry(self=, match='virtual-network:default-domain:ctest-FatFlowAggrIpv6Serial-98219491:ctest-vn-26593180')
37 new_table_req = 'Snh_IFMapTableShowReq?table_name=' + table_name.group(1) + '&search_string=' + match
38 p = self.dict_get(new_table_req)
39 xp = p.xpath('./IFMapTableShowResp/ifmap_db/list/IFMapNodeShowInfo')
40 if not xp:
41 # sometime ./xpath dosen't work; work around
xp undefined
p = None
p.xpath undefined
AttributeError: 'NoneType' object has no attribute 'xpath'
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {}
__dir__ =
__doc__ = 'Attribute not found.'
__eq__ =
__format__ =
__ge__ =
__getattribute__ =
__gt__ =
__hash__ =
__init__ =
__init_subclass__ =
__le__ =
__lt__ =
__ne__ =
__new__ =
__reduce__ =
__reduce_ex__ =
__repr__ =
__setattr__ =
__setstate__ =
__sizeof__ =
__str__ =
__subclasshook__ =
__suppress_context__ = False
__traceback__ =
args = ("'NoneType' object has no attribute 'xpath'",)
with_traceback =
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/serial_scripts/vrouter/test_fat_flow_aggr_serial.py", line 61, in test_fat_flow_aggr_dest_udp_inter_vn_inter_node
dual=ipv6, prefix_length6=prefix_length6, only_v6=only_v6)
File "/contrail-test/common/vrouter/base.py", line 370, in fat_flow_with_prefix_aggr
self.verify_vns(vn_fixtures)
File "/contrail-test/common/vrouter/base.py", line 156, in verify_vns
assert vn_fixture.verify_on_setup()
File "/contrail-test/fixtures/vn_test.py", line 581, in verify_on_setup
if not self.verify_vn_in_control_nodes():
File "/contrail-test/tcutils/util.py", line 84, in f_retry
result = f(*args, **kwargs) # first attempt
File "/contrail-test/fixtures/vn_test.py", line 929, in verify_vn_in_control_nodes
vn_name=self.vn_name, project=self.project_name, domain=self.domain_name)
File "/contrail-test/tcutils/control/cn_introspect_utils.py", line 141, in get_cn_config_vn
return self._get_if_map_table_entry(m)
File "/contrail-test/tcutils/control/cn_introspect_utils.py", line 39, in _get_if_map_table_entry
xp = p.xpath('./IFMapTableShowResp/ifmap_db/list/IFMapNodeShowInfo')
AttributeError: 'NoneType' object has no attribute 'xpath'
2025-07-22 18:19:32,501 - DEBUG - Skipping xmpp flap check
2025-07-22 18:19:32,501 - INFO -
2025-07-22 18:19:32,501 - INFO - END TEST : test_fat_flow_aggr_dest_udp_inter_vn_inter_node : FAILED[0:00:07]
2025-07-22 18:19:32,501 - INFO - --------------------------------------------------------------------------------
2025-07-22 18:19:33,768 - ERROR - TestFailed
Python 3.6.8: /usr/bin/python3
Tue Jul 22 18:19:32 2025
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/serial_scripts/vrouter/test_fat_flow_aggr_serial.py in test_fat_flow_aggr_dest_udp_inter_vn_inter_node(self=)
91
92 """
93 self.inputs.set_af('dual')
94 super(FatFlowAggrIpv6Serial, self).test_fat_flow_aggr_dest_udp_inter_vn_inter_node()
95
builtinsuper =
global FatFlowAggrIpv6Serial =
self =
).test_fat_flow_aggr_dest_udp_inter_vn_inter_node = >
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
174 if 'ci_image' in list(os.environ.keys()):
175 os.environ['stop_execution_flag'] = 'set'
176 raise TestFailed("\n ".join(errmsg))
177 elif testskip:
178 log.info('')
global TestFailed =
"\n ".join undefined
errmsg = ["Test failed: AttributeError\nPython 3.6.8: /usr/b...or: 'NoneType' object has no attribute 'xpath'\n\n\n"]
TestFailed: Test failed: AttributeError
Python 3.6.8: /usr/bin/python3
Tue Jul 22 18:19:30 2025
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/serial_scripts/vrouter/test_fat_flow_aggr_serial.py in test_fat_flow_aggr_dest_udp_inter_vn_inter_node(self=)
59 inter_node=inter_node,inter_vn=inter_vn, proto=proto,
60 port=port, vn_policy=vn_policy, policy_deny=policy_deny,
61 dual=ipv6, prefix_length6=prefix_length6, only_v6=only_v6)
62 return True
63
dual undefined
ipv6 = True
prefix_length6 = 125
only_v6 = True
/contrail-test/common/vrouter/base.py in fat_flow_with_prefix_aggr(self=, prefix_length=29, prefix_length6=125, inter_node=True, inter_vn=True, dual=True, traffic_recvr=False, unidirectional_traffic=True, ignore_address=None, proto='udp', port=55, portv6=56, svc_chain=False, only_v6=True, af='v4', icmp_error=False, hc=None, vn_policy=True, policy_deny=False, svm_inter_node=False, resources=True, scale=False)
368 vn_fixtures = self.vn_fixtures
369
370 self.verify_vns(vn_fixtures)
371 src_vn_fixture = vn_fixtures[0]
372 dst_vn_fixture = vn_fixtures[0]
self =
self.verify_vns = >
vn_fixtures = [, ]
/contrail-test/common/vrouter/base.py in verify_vns(self=, vn_fixtures=[, ])
154 def verify_vns(self, vn_fixtures):
155 for vn_fixture in vn_fixtures:
156 assert vn_fixture.verify_on_setup()
157
158 def create_vms(self, vn_fixture, count=1, image_name='ubuntu',
vn_fixture =
vn_fixture.verify_on_setup = >
/contrail-test/fixtures/vn_test.py in verify_on_setup(self=)
579 "One or more verifications in API Server for VN %s failed" % (self.vn_name))
580 return result
581 if not self.verify_vn_in_control_nodes():
582 result = result and False
583 self.logger.error(
self =
self.verify_vn_in_control_nodes = .deco_retry..f_retry of >
/contrail-test/tcutils/util.py in f_retry(*args=(,), **kwargs={})
82 mtries, mdelay = tries, delay # make mutable
83
84 result = f(*args, **kwargs) # first attempt
85 rv = result
86 final = False
result undefined
f =
args = (,)
kwargs = {}
/contrail-test/fixtures/vn_test.py in verify_vn_in_control_nodes(self=)
927 for cn in self.inputs.bgp_ips:
928 cn_config_vn_obj = self.cn_inspect[cn].get_cn_config_vn(
929 vn_name=self.vn_name, project=self.project_name, domain=self.domain_name)
930 if not cn_config_vn_obj:
931 self.logger.warn('Control-node %s does not have VN %s info ' %
vn_name undefined
self =
self.vn_name = 'ctest-vn-26593180'
project undefined
self.project_name = 'ctest-FatFlowAggrIpv6Serial-98219491'
domain undefined
self.domain_name = 'default-domain'
/contrail-test/tcutils/control/cn_introspect_utils.py in get_cn_config_vn(self=, domain='default-domain', project='ctest-FatFlowAggrIpv6Serial-98219491', vn_name='ctest-vn-26593180')
139 def get_cn_config_vn(self, domain='default-domain', project='admin', vn_name='default-virtual-network'):
140 m = 'virtual-network:' + domain + ':' + project + ':' + vn_name
141 return self._get_if_map_table_entry(m)
142
143 def get_cn_config_fip_pool(self, domain='default-domain', project='admin', vn_name='default-virtual-network', fip_pool_name='default-floating-ip-pool'):
self =
self._get_if_map_table_entry = >
m = 'virtual-network:default-domain:ctest-FatFlowAggrIpv6Serial-98219491:ctest-vn-26593180'
/contrail-test/tcutils/control/cn_introspect_utils.py in _get_if_map_table_entry(self=, match='virtual-network:default-domain:ctest-FatFlowAggrIpv6Serial-98219491:ctest-vn-26593180')
37 new_table_req = 'Snh_IFMapTableShowReq?table_name=' + table_name.group(1) + '&search_string=' + match
38 p = self.dict_get(new_table_req)
39 xp = p.xpath('./IFMapTableShowResp/ifmap_db/list/IFMapNodeShowInfo')
40 if not xp:
41 # sometime ./xpath dosen't work; work around
xp undefined
p = None
p.xpath undefined
AttributeError: 'NoneType' object has no attribute 'xpath'
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {}
__dir__ =
__doc__ = 'Attribute not found.'
__eq__ =
__format__ =
__ge__ =
__getattribute__ =
__gt__ =
__hash__ =
__init__ =
__init_subclass__ =
__le__ =
__lt__ =
__ne__ =
__new__ =
__reduce__ =
__reduce_ex__ =
__repr__ =
__setattr__ =
__setstate__ =
__sizeof__ =
__str__ =
__subclasshook__ =
__suppress_context__ = False
__traceback__ =
args = ("'NoneType' object has no attribute 'xpath'",)
with_traceback =
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/serial_scripts/vrouter/test_fat_flow_aggr_serial.py", line 61, in test_fat_flow_aggr_dest_udp_inter_vn_inter_node
dual=ipv6, prefix_length6=prefix_length6, only_v6=only_v6)
File "/contrail-test/common/vrouter/base.py", line 370, in fat_flow_with_prefix_aggr
self.verify_vns(vn_fixtures)
File "/contrail-test/common/vrouter/base.py", line 156, in verify_vns
assert vn_fixture.verify_on_setup()
File "/contrail-test/fixtures/vn_test.py", line 581, in verify_on_setup
if not self.verify_vn_in_control_nodes():
File "/contrail-test/tcutils/util.py", line 84, in f_retry
result = f(*args, **kwargs) # first attempt
File "/contrail-test/fixtures/vn_test.py", line 929, in verify_vn_in_control_nodes
vn_name=self.vn_name, project=self.project_name, domain=self.domain_name)
File "/contrail-test/tcutils/control/cn_introspect_utils.py", line 141, in get_cn_config_vn
return self._get_if_map_table_entry(m)
File "/contrail-test/tcutils/control/cn_introspect_utils.py", line 39, in _get_if_map_table_entry
xp = p.xpath('./IFMapTableShowResp/ifmap_db/list/IFMapNodeShowInfo')
AttributeError: 'NoneType' object has no attribute 'xpath'
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {}
__dir__ =
__doc__ = None
__eq__ =
__format__ =
__ge__ =
__getattribute__ =
__gt__ =
__hash__ =
__init__ =
__init_subclass__ =
__le__ =
__lt__ =
__module__ = 'tcutils.cores'
__ne__ =
__new__ =
__reduce__ =
__reduce_ex__ =
__repr__ =
__setattr__ =
__setstate__ =
__sizeof__ =
__str__ =
__subclasshook__ =
__suppress_context__ = False
__traceback__ =
__weakref__ = None
args = ("Test failed: AttributeError\nPython 3.6.8: /usr/b...or: 'NoneType' object has no attribute 'xpath'\n\n\n",)
with_traceback =
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/serial_scripts/vrouter/test_fat_flow_aggr_serial.py", line 94, in test_fat_flow_aggr_dest_udp_inter_vn_inter_node
super(FatFlowAggrIpv6Serial, self).test_fat_flow_aggr_dest_udp_inter_vn_inter_node()
File "/contrail-test/tcutils/wrappers.py", line 176, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: AttributeError
Python 3.6.8: /usr/bin/python3
Tue Jul 22 18:19:30 2025
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/serial_scripts/vrouter/test_fat_flow_aggr_serial.py in test_fat_flow_aggr_dest_udp_inter_vn_inter_node(self=)
59 inter_node=inter_node,inter_vn=inter_vn, proto=proto,
60 port=port, vn_policy=vn_policy, policy_deny=policy_deny,
61 dual=ipv6, prefix_length6=prefix_length6, only_v6=only_v6)
62 return True
63
dual undefined
ipv6 = True
prefix_length6 = 125
only_v6 = True
/contrail-test/common/vrouter/base.py in fat_flow_with_prefix_aggr(self=, prefix_length=29, prefix_length6=125, inter_node=True, inter_vn=True, dual=True, traffic_recvr=False, unidirectional_traffic=True, ignore_address=None, proto='udp', port=55, portv6=56, svc_chain=False, only_v6=True, af='v4', icmp_error=False, hc=None, vn_policy=True, policy_deny=False, svm_inter_node=False, resources=True, scale=False)
368 vn_fixtures = self.vn_fixtures
369
370 self.verify_vns(vn_fixtures)
371 src_vn_fixture = vn_fixtures[0]
372 dst_vn_fixture = vn_fixtures[0]
self =
self.verify_vns = >
vn_fixtures = [, ]
/contrail-test/common/vrouter/base.py in verify_vns(self=, vn_fixtures=[, ])
154 def verify_vns(self, vn_fixtures):
155 for vn_fixture in vn_fixtures:
156 assert vn_fixture.verify_on_setup()
157
158 def create_vms(self, vn_fixture, count=1, image_name='ubuntu',
vn_fixture =
vn_fixture.verify_on_setup = >
/contrail-test/fixtures/vn_test.py in verify_on_setup(self=)
579 "One or more verifications in API Server for VN %s failed" % (self.vn_name))
580 return result
581 if not self.verify_vn_in_control_nodes():
582 result = result and False
583 self.logger.error(
self =
self.verify_vn_in_control_nodes = .deco_retry..f_retry of >
/contrail-test/tcutils/util.py in f_retry(*args=(,), **kwargs={})
82 mtries, mdelay = tries, delay # make mutable
83
84 result = f(*args, **kwargs) # first attempt
85 rv = result
86 final = False
result undefined
f =
args = (,)
kwargs = {}
/contrail-test/fixtures/vn_test.py in verify_vn_in_control_nodes(self=)
927 for cn in self.inputs.bgp_ips:
928 cn_config_vn_obj = self.cn_inspect[cn].get_cn_config_vn(
929 vn_name=self.vn_name, project=self.project_name, domain=self.domain_name)
930 if not cn_config_vn_obj:
931 self.logger.warn('Control-node %s does not have VN %s info ' %
vn_name undefined
self =
self.vn_name = 'ctest-vn-26593180'
project undefined
self.project_name = 'ctest-FatFlowAggrIpv6Serial-98219491'
domain undefined
self.domain_name = 'default-domain'
/contrail-test/tcutils/control/cn_introspect_utils.py in get_cn_config_vn(self=, domain='default-domain', project='ctest-FatFlowAggrIpv6Serial-98219491', vn_name='ctest-vn-26593180')
139 def get_cn_config_vn(self, domain='default-domain', project='admin', vn_name='default-virtual-network'):
140 m = 'virtual-network:' + domain + ':' + project + ':' + vn_name
141 return self._get_if_map_table_entry(m)
142
143 def get_cn_config_fip_pool(self, domain='default-domain', project='admin', vn_name='default-virtual-network', fip_pool_name='default-floating-ip-pool'):
self =
self._get_if_map_table_entry = >
m = 'virtual-network:default-domain:ctest-FatFlowAggrIpv6Serial-98219491:ctest-vn-26593180'
/contrail-test/tcutils/control/cn_introspect_utils.py in _get_if_map_table_entry(self=, match='virtual-network:default-domain:ctest-FatFlowAggrIpv6Serial-98219491:ctest-vn-26593180')
37 new_table_req = 'Snh_IFMapTableShowReq?table_name=' + table_name.group(1) + '&search_string=' + match
38 p = self.dict_get(new_table_req)
39 xp = p.xpath('./IFMapTableShowResp/ifmap_db/list/IFMapNodeShowInfo')
40 if not xp:
41 # sometime ./xpath dosen't work; work around
xp undefined
p = None
p.xpath undefined
AttributeError: 'NoneType' object has no attribute 'xpath'
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {}
__dir__ =
__doc__ = 'Attribute not found.'
__eq__ =
__format__ =
__ge__ =
__getattribute__ =
__gt__ =
__hash__ =
__init__ =
__init_subclass__ =
__le__ =
__lt__ =
__ne__ =
__new__ =
__reduce__ =
__reduce_ex__ =
__repr__ =
__setattr__ =
__setstate__ =
__sizeof__ =
__str__ =
__subclasshook__ =
__suppress_context__ = False
__traceback__ =
args = ("'NoneType' object has no attribute 'xpath'",)
with_traceback =
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/serial_scripts/vrouter/test_fat_flow_aggr_serial.py", line 61, in test_fat_flow_aggr_dest_udp_inter_vn_inter_node
dual=ipv6, prefix_length6=prefix_length6, only_v6=only_v6)
File "/contrail-test/common/vrouter/base.py", line 370, in fat_flow_with_prefix_aggr
self.verify_vns(vn_fixtures)
File "/contrail-test/common/vrouter/base.py", line 156, in verify_vns
assert vn_fixture.verify_on_setup()
File "/contrail-test/fixtures/vn_test.py", line 581, in verify_on_setup
if not self.verify_vn_in_control_nodes():
File "/contrail-test/tcutils/util.py", line 84, in f_retry
result = f(*args, **kwargs) # first attempt
File "/contrail-test/fixtures/vn_test.py", line 929, in verify_vn_in_control_nodes
vn_name=self.vn_name, project=self.project_name, domain=self.domain_name)
File "/contrail-test/tcutils/control/cn_introspect_utils.py", line 141, in get_cn_config_vn
return self._get_if_map_table_entry(m)
File "/contrail-test/tcutils/control/cn_introspect_utils.py", line 39, in _get_if_map_table_entry
xp = p.xpath('./IFMapTableShowResp/ifmap_db/list/IFMapNodeShowInfo')
AttributeError: 'NoneType' object has no attribute 'xpath'
2025-07-22 18:19:33,769 - DEBUG - Skipping xmpp flap check
2025-07-22 18:19:33,769 - INFO -
2025-07-22 18:19:33,769 - INFO - END TEST : test_fat_flow_aggr_dest_udp_inter_vn_inter_node : FAILED[0:00:09]
2025-07-22 18:19:33,769 - INFO - --------------------------------------------------------------------------------
2025-07-22 18:19:34,532 - INFO - Deleted project: ctest-FatFlowAggrIpv6Serial-98219491, ID : 7981dbef-9fc7-44fa-8f84-039bd6e05c04