2026-08-03 03:14:45,619 - INFO - Domain Default found not creating 2026-08-03 03:14:46,180 - INFO - Project ctest-TestBasicPolicy-92212021 not found, creating it 2026-08-03 03:14:46,835 - INFO - Created Project:ctest-TestBasicPolicy-92212021, ID : 0d8cbbc7-b5d2-4c40-bf89-bd7b6ef066da 2026-08-03 03:14:48,710 - INFO - ================================================================================ 2026-08-03 03:14:48,711 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-03 03:14:48,711 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-08-03 03:14:50,057 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0', '10.20.0.29': '0'}, '10.0.0.19': {'10.20.0.25': '0', '10.20.0.29': '0'}} with 2026-08-03 03:14:50,057 - INFO - Initial checks done. Running the testcase now 2026-08-03 03:14:50,058 - INFO - 2026-08-03 03:14:50,987 - DEBUG - Response for create_network : {'network': {'id': 'fbcf565d-7488-47c8-aef0-91c589b9f76c', 'name': 'ctest-vn-06268788', 'tenant_id': '0d8cbbc7b5d24c40bf89bd7b6ef066da', 'project_id': '0d8cbbc7b5d24c40bf89bd7b6ef066da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92212021', 'ctest-vn-06268788'], 'port_security_enabled': True, 'description': ''}} 2026-08-03 03:14:51,305 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0920277-382b-448e-a037-493bb9103c92', 'name': '', 'tenant_id': '0d8cbbc7b5d24c40bf89bd7b6ef066da', 'network_id': 'fbcf565d-7488-47c8-aef0-91c589b9f76c', 'ip_version': 4, 'cidr': '201.47.114.128/26', 'allocation_pools': [{'start': '201.47.114.130', 'end': '201.47.114.190'}], 'gateway_ip': '201.47.114.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.47.114.130', 'tags': [], 'project_id': '0d8cbbc7b5d24c40bf89bd7b6ef066da'}} 2026-08-03 03:14:51,329 - INFO - Created VN ctest-vn-06268788 2026-08-03 03:14:51,346 - DEBUG - VN ctest-vn-06268788 UUID is fbcf565d-7488-47c8-aef0-91c589b9f76c 2026-08-03 03:14:51,797 - DEBUG - Response for create_network : {'network': {'id': 'bbc86abe-fca1-4c96-a6e7-1649b7b85eac', 'name': 'ctest-vn-21289936', 'tenant_id': '0d8cbbc7b5d24c40bf89bd7b6ef066da', 'project_id': '0d8cbbc7b5d24c40bf89bd7b6ef066da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92212021', 'ctest-vn-21289936'], 'port_security_enabled': True, 'description': ''}} 2026-08-03 03:14:52,159 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b904b46-a35a-46de-96f3-b7c7f4ea4fb1', 'name': '', 'tenant_id': '0d8cbbc7b5d24c40bf89bd7b6ef066da', 'network_id': 'bbc86abe-fca1-4c96-a6e7-1649b7b85eac', 'ip_version': 4, 'cidr': '124.29.108.64/26', 'allocation_pools': [{'start': '124.29.108.66', 'end': '124.29.108.126'}], 'gateway_ip': '124.29.108.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.29.108.66', 'tags': [], 'project_id': '0d8cbbc7b5d24c40bf89bd7b6ef066da'}} 2026-08-03 03:14:52,184 - INFO - Created VN ctest-vn-21289936 2026-08-03 03:14:52,208 - DEBUG - VN ctest-vn-21289936 UUID is bbc86abe-fca1-4c96-a6e7-1649b7b85eac 2026-08-03 03:14:52,327 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-21289936, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-08-03 03:14:52,782 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fbcf565d-7488-47c8-aef0-91c589b9f76c', 'name': 'ctest-vn-06268788', 'tenant_id': '0d8cbbc7b5d24c40bf89bd7b6ef066da', 'project_id': '0d8cbbc7b5d24c40bf89bd7b6ef066da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0920277-382b-448e-a037-493bb9103c92'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92212021', 'ctest-vn-06268788'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92212021', 'ctest-policy-allow-all-18797311']], 'subnet_ipam': [{'subnet_cidr': '201.47.114.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-03 03:14:53,087 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bbc86abe-fca1-4c96-a6e7-1649b7b85eac', 'name': 'ctest-vn-21289936', 'tenant_id': '0d8cbbc7b5d24c40bf89bd7b6ef066da', 'project_id': '0d8cbbc7b5d24c40bf89bd7b6ef066da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0b904b46-a35a-46de-96f3-b7c7f4ea4fb1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92212021', 'ctest-vn-21289936'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92212021', 'ctest-policy-allow-all-18797311']], 'subnet_ipam': [{'subnet_cidr': '124.29.108.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-03 03:14:53,218 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-08-03 03:14:53,659 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-08-03 03:14:53,693 - DEBUG - Requesting: http://10.0.0.249:8082/domain/724de60e-9f87-4d23-867c-6bd9a9880f5b 2026-08-03 03:14:53,718 - DEBUG - Requesting: http://10.0.0.249:8082/project/0d8cbbc7-b5d2-4c40-bf89-bd7b6ef066da 2026-08-03 03:14:53,827 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fbcf565d-7488-47c8-aef0-91c589b9f76c 2026-08-03 03:14:53,841 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fbcf565d-7488-47c8-aef0-91c589b9f76c 2026-08-03 03:14:53,852 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/62cd8a1f-467d-4736-b2cb-050f6b20fc45 2026-08-03 03:14:53,863 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/62cd8a1f-467d-4736-b2cb-050f6b20fc45 2026-08-03 03:14:53,872 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/7e87e9a5-91e3-42d7-b8c9-c04b8e59f0b6 2026-08-03 03:14:53,882 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-03 03:14:53,882 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fbcf565d-7488-47c8-aef0-91c589b9f76c 2026-08-03 03:14:53,894 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/62cd8a1f-467d-4736-b2cb-050f6b20fc45 2026-08-03 03:14:53,913 - INFO - Verified VN network id 12 for VN fbcf565d-7488-47c8-aef0-91c589b9f76c 2026-08-03 03:14:53,914 - INFO - Verifications in API Server for VN ctest-vn-06268788 passed 2026-08-03 03:14:53,914 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fbcf565d-7488-47c8-aef0-91c589b9f76c 2026-08-03 03:14:53,925 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/62cd8a1f-467d-4736-b2cb-050f6b20fc45 2026-08-03 03:14:53,935 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/62cd8a1f-467d-4736-b2cb-050f6b20fc45 2026-08-03 03:14:53,946 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/7e87e9a5-91e3-42d7-b8c9-c04b8e59f0b6 2026-08-03 03:14:53,962 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92212021', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18144816383086053320', 'uuid-lslong': '12605735634615269228'}, 'enable': 'true', 'created': '2026-08-03T03:14:50', 'last-modified': '2026-08-03T03:14:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.240647'} 2026-08-03 03:14:53,970 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-03 03:14:53,976 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92212021', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18144816383086053320', 'uuid-lslong': '12605735634615269228'}, 'enable': 'true', 'created': '2026-08-03T03:14:50', 'last-modified': '2026-08-03T03:14:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.274413'} 2026-08-03 03:14:53,981 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-03 03:14:53,987 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92212021', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18144816383086053320', 'uuid-lslong': '12605735634615269228'}, 'enable': 'true', 'created': '2026-08-03T03:14:50', 'last-modified': '2026-08-03T03:14:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.285193'} 2026-08-03 03:14:53,993 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-03 03:14:53,993 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06268788 passed 2026-08-03 03:14:53,994 - DEBUG - ====Verifying policy data for ctest-vn-06268788 in API_Server ====== 2026-08-03 03:14:53,994 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-08-03 03:14:54,001 - DEBUG - Requesting: http://10.0.0.249:8082/domain/724de60e-9f87-4d23-867c-6bd9a9880f5b 2026-08-03 03:14:54,015 - DEBUG - Requesting: http://10.0.0.249:8082/project/0d8cbbc7-b5d2-4c40-bf89-bd7b6ef066da 2026-08-03 03:14:54,152 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/fbcf565d-7488-47c8-aef0-91c589b9f76c 2026-08-03 03:14:54,166 - DEBUG - ==>Verifying data for policy with id: ce86db53-3df8-4c26-92ad-698add529ae6, fqn: ['default-domain', 'ctest-TestBasicPolicy-92212021', 'ctest-policy-allow-all-18797311'] 2026-08-03 03:14:54,166 - INFO - VN ctest-vn-06268788 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-03 03:14:54,166 - DEBUG - Verifying the vn in opserver 2026-08-03 03:14:54,166 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788 virtual network link through opserver 10.0.0.249 2026-08-03 03:14:54,167 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-08-03 03:14:54,553 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-08-03 03:14:54,620 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788?flat'} 2026-08-03 03:14:54,620 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788 virtual network link through opserver 10.0.0.50 2026-08-03 03:14:54,620 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-03 03:14:54,992 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-03 03:14:55,047 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788?flat'} 2026-08-03 03:14:55,047 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788 virtual network link through opserver 10.0.0.161 2026-08-03 03:14:55,047 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-03 03:14:55,445 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-03 03:14:55,500 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788?flat'} 2026-08-03 03:14:55,501 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788 is found in opserver 2026-08-03 03:14:55,529 - DEBUG - Do not have enough data to verify VN in agent 2026-08-03 03:14:55,541 - DEBUG - VRF ids for VN ctest-vn-06268788: {} 2026-08-03 03:14:55,541 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-08-03 03:14:55,549 - DEBUG - Requesting: http://10.0.0.249:8082/domain/724de60e-9f87-4d23-867c-6bd9a9880f5b 2026-08-03 03:14:55,564 - DEBUG - Requesting: http://10.0.0.249:8082/project/0d8cbbc7-b5d2-4c40-bf89-bd7b6ef066da 2026-08-03 03:14:55,677 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bbc86abe-fca1-4c96-a6e7-1649b7b85eac 2026-08-03 03:14:55,694 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bbc86abe-fca1-4c96-a6e7-1649b7b85eac 2026-08-03 03:14:55,710 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4216212f-9f5d-4338-bf23-4e48f5765015 2026-08-03 03:14:55,721 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4216212f-9f5d-4338-bf23-4e48f5765015 2026-08-03 03:14:55,730 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/699a81d8-5b4c-47d2-9523-6651b998dec9 2026-08-03 03:14:55,739 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-03 03:14:55,739 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bbc86abe-fca1-4c96-a6e7-1649b7b85eac 2026-08-03 03:14:55,750 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4216212f-9f5d-4338-bf23-4e48f5765015 2026-08-03 03:14:55,769 - INFO - Verified VN network id 13 for VN bbc86abe-fca1-4c96-a6e7-1649b7b85eac 2026-08-03 03:14:55,769 - INFO - Verifications in API Server for VN ctest-vn-21289936 passed 2026-08-03 03:14:55,769 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bbc86abe-fca1-4c96-a6e7-1649b7b85eac 2026-08-03 03:14:55,782 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4216212f-9f5d-4338-bf23-4e48f5765015 2026-08-03 03:14:55,792 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4216212f-9f5d-4338-bf23-4e48f5765015 2026-08-03 03:14:55,800 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/699a81d8-5b4c-47d2-9523-6651b998dec9 2026-08-03 03:14:55,815 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-21289936', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92212021', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13531182448949415062', 'uuid-lslong': '12026605835786935980'}, 'enable': 'true', 'created': '2026-08-03T03:14:51', 'last-modified': '2026-08-03T03:14:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.777245'} 2026-08-03 03:14:55,825 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-03 03:14:55,831 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-21289936', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92212021', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13531182448949415062', 'uuid-lslong': '12026605835786935980'}, 'enable': 'true', 'created': '2026-08-03T03:14:51', 'last-modified': '2026-08-03T03:14:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.802806'} 2026-08-03 03:14:55,837 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-03 03:14:55,846 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-21289936', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92212021', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13531182448949415062', 'uuid-lslong': '12026605835786935980'}, 'enable': 'true', 'created': '2026-08-03T03:14:51', 'last-modified': '2026-08-03T03:14:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.810165'} 2026-08-03 03:14:55,853 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-03 03:14:55,853 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21289936 passed 2026-08-03 03:14:55,853 - DEBUG - ====Verifying policy data for ctest-vn-21289936 in API_Server ====== 2026-08-03 03:14:55,853 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-08-03 03:14:55,861 - DEBUG - Requesting: http://10.0.0.249:8082/domain/724de60e-9f87-4d23-867c-6bd9a9880f5b 2026-08-03 03:14:55,877 - DEBUG - Requesting: http://10.0.0.249:8082/project/0d8cbbc7-b5d2-4c40-bf89-bd7b6ef066da 2026-08-03 03:14:55,995 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/bbc86abe-fca1-4c96-a6e7-1649b7b85eac 2026-08-03 03:14:56,016 - DEBUG - ==>Verifying data for policy with id: ce86db53-3df8-4c26-92ad-698add529ae6, fqn: ['default-domain', 'ctest-TestBasicPolicy-92212021', 'ctest-policy-allow-all-18797311'] 2026-08-03 03:14:56,016 - INFO - VN ctest-vn-21289936 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-03 03:14:56,016 - DEBUG - Verifying the vn in opserver 2026-08-03 03:14:56,016 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-21289936 virtual network link through opserver 10.0.0.249 2026-08-03 03:14:56,016 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-08-03 03:14:56,076 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-21289936', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-21289936?flat'} 2026-08-03 03:14:56,076 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-21289936 virtual network link through opserver 10.0.0.50 2026-08-03 03:14:56,076 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-03 03:14:56,134 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-21289936', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-21289936?flat'} 2026-08-03 03:14:56,134 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-21289936 virtual network link through opserver 10.0.0.161 2026-08-03 03:14:56,134 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-03 03:14:56,189 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-21289936', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-21289936?flat'} 2026-08-03 03:14:56,189 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-21289936 is found in opserver 2026-08-03 03:14:56,216 - DEBUG - Do not have enough data to verify VN in agent 2026-08-03 03:14:56,228 - DEBUG - VRF ids for VN ctest-vn-21289936: {} 2026-08-03 03:14:56,287 - DEBUG - Services list from nova: [, , , ] 2026-08-03 03:14:56,772 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6129-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6129-2) 2026-08-03 03:14:57,329 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6129-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6129-1) 2026-08-03 03:14:57,329 - INFO - Waiting for VM ctest-TestBasicPolicy-92212021-53005424 to be up.. 2026-08-03 03:14:57,392 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 03:15:02,592 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 03:15:07,688 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 03:15:12,791 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 03:15:17,888 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 03:15:22,987 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 03:15:28,085 - DEBUG - VM is in ACTIVE state now 2026-08-03 03:15:28,085 - INFO - VM name : ctest-TestBasicPolicy-92212021-53005424 2026-08-03 03:15:28,179 - DEBUG - VM ctest-TestBasicPolicy-92212021-53005424 ID is 4f2ef4ba-c732-495e-9934-d4a439e103d0 2026-08-03 03:15:28,210 - DEBUG - VM ctest-TestBasicPolicy-92212021-53005424 launched on Node an-jenkins-deploy-platform-ansible-os-6129-2 2026-08-03 03:15:28,305 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/4f2ef4ba-c732-495e-9934-d4a439e103d0 2026-08-03 03:15:28,673 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/4f2ef4ba-c732-495e-9934-d4a439e103d0 2026-08-03 03:15:28,711 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/90630c09-6b43-4fc0-9813-4c05e2bd02b7 2026-08-03 03:15:31,913 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1033ms') 2026-08-03 03:15:31,913 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92212021-53005424 failed! 2026-08-03 03:15:31,932 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788 is 201.47.114.129 and allocation pool is NOT set 2026-08-03 03:15:36,007 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2026-08-03 03:15:36,007 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92212021-53005424 failed! 2026-08-03 03:15:36,024 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788 is 201.47.114.129 and allocation pool is NOT set 2026-08-03 03:15:40,106 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2026-08-03 03:15:40,106 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92212021-53005424 failed! 2026-08-03 03:15:40,124 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788 is 201.47.114.129 and allocation pool is NOT set 2026-08-03 03:15:44,197 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms') 2026-08-03 03:15:44,197 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92212021-53005424 failed! 2026-08-03 03:15:44,215 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788 is 201.47.114.129 and allocation pool is NOT set 2026-08-03 03:15:48,299 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-08-03 03:15:48,299 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92212021-53005424 failed! 2026-08-03 03:15:48,316 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788 is 201.47.114.129 and allocation pool is NOT set 2026-08-03 03:15:52,420 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1029ms') 2026-08-03 03:15:52,420 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92212021-53005424 failed! 2026-08-03 03:15:52,438 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788 is 201.47.114.129 and allocation pool is NOT set 2026-08-03 03:15:56,516 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-08-03 03:15:56,516 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92212021-53005424 failed! 2026-08-03 03:15:56,537 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788 is 201.47.114.129 and allocation pool is NOT set 2026-08-03 03:16:00,616 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms') 2026-08-03 03:16:00,616 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92212021-53005424 failed! 2026-08-03 03:16:00,636 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92212021:ctest-vn-06268788 is 201.47.114.129 and allocation pool is NOT set 2026-08-03 03:16:02,712 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.18 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.178/5.499/8.821/3.321 ms') 2026-08-03 03:16:02,712 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92212021-53005424 passed 2026-08-03 03:16:02,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-03 03:16:02,791 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92212021-53005424, IP 201.47.114.131, Port 22 2026-08-03 03:16:02,858 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-03 03:16:02,954 - DEBUG - VM ctest-TestBasicPolicy-92212021-53005424 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-03 03:16:07,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-03 03:16:07,956 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92212021-53005424, IP 201.47.114.131, Port 22 2026-08-03 03:16:08,026 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-03 03:16:08,135 - DEBUG - VM ctest-TestBasicPolicy-92212021-53005424 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-03 03:16:13,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-03 03:16:13,137 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92212021-53005424, IP 201.47.114.131, Port 22 2026-08-03 03:16:13,217 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-03 03:16:13,341 - DEBUG - VM ctest-TestBasicPolicy-92212021-53005424 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-03 03:16:18,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-03 03:16:18,342 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92212021-53005424, IP 201.47.114.131, Port 22 2026-08-03 03:16:18,519 - DEBUG - VM ctest-TestBasicPolicy-92212021-53005424 is ready for SSH connections 2026-08-03 03:16:18,519 - INFO - Waiting for VM ctest-TestBasicPolicy-92212021-62290974 to be up.. 2026-08-03 03:16:18,616 - DEBUG - VM is in ACTIVE state now 2026-08-03 03:16:18,616 - INFO - VM name : ctest-TestBasicPolicy-92212021-62290974 2026-08-03 03:16:18,726 - DEBUG - VM ctest-TestBasicPolicy-92212021-62290974 ID is a66f27a9-c8eb-4c90-92ef-966b525d6547 2026-08-03 03:16:18,726 - DEBUG - VM ctest-TestBasicPolicy-92212021-62290974 launched on Node an-jenkins-deploy-platform-ansible-os-6129-1 2026-08-03 03:16:18,818 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/a66f27a9-c8eb-4c90-92ef-966b525d6547 2026-08-03 03:16:18,830 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/92ed7b31-750a-4191-8339-fcee0bf0e27b 2026-08-03 03:16:20,009 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.39 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.390/2.092/2.795/0.702 ms') 2026-08-03 03:16:20,009 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92212021-62290974 passed 2026-08-03 03:16:20,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-03 03:16:20,086 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92212021-62290974, IP 124.29.108.67, Port 22 2026-08-03 03:16:20,266 - DEBUG - VM ctest-TestBasicPolicy-92212021-62290974 is ready for SSH connections 2026-08-03 03:16:20,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-03 03:16:20,266 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.29.108.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-08-03 03:16:20,266 - DEBUG - ping -s 56 -c 3 -W 1 124.29.108.67 2026-08-03 03:16:35,016 - DEBUG - PING 124.29.108.67 (124.29.108.67) 56(84) bytes of data. 64 bytes from 124.29.108.67: icmp_req=1 ttl=63 time=12.4 ms 64 bytes from 124.29.108.67: icmp_req=2 ttl=63 time=2.00 ms 64 bytes from 124.29.108.67: icmp_req=3 ttl=63 time=1.77 ms --- 124.29.108.67 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.773/5.422/12.488/4.997 ms 2026-08-03 03:16:35,016 - INFO - Ping to IP 124.29.108.67 from VM ctest-TestBasicPolicy-92212021-53005424 passed 2026-08-03 03:16:35,299 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ce86db53-3df8-4c26-92ad-698add529ae6", "href": "http://10.0.0.161:8082/network-policy/ce86db53-3df8-4c26-92ad-698add529ae6"}} 2026-08-03 03:16:35,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-03 03:16:35,299 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.29.108.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-08-03 03:16:35,299 - DEBUG - ping -s 56 -c 3 -W 1 124.29.108.67 2026-08-03 03:16:38,848 - DEBUG - PING 124.29.108.67 (124.29.108.67) 56(84) bytes of data. 64 bytes from 124.29.108.67: icmp_req=1 ttl=63 time=4.58 ms --- 124.29.108.67 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2001ms rtt min/avg/max/mdev = 4.583/4.583/4.583/0.000 ms 2026-08-03 03:16:38,848 - WARNING - Ping to IP 124.29.108.67 from VM ctest-TestBasicPolicy-92212021-53005424 failed 2026-08-03 03:16:38,848 - INFO - Deleting VM ctest-TestBasicPolicy-92212021-62290974 2026-08-03 03:16:38,922 - INFO - Deleting VM ctest-TestBasicPolicy-92212021-53005424 2026-08-03 03:16:39,502 - INFO - Deleted policy ctest-policy-allow-all-18797311 2026-08-03 03:16:39,503 - INFO - Deleting VN ctest-vn-21289936 2026-08-03 03:16:39,560 - DEBUG - VN bbc86abe-fca1-4c96-a6e7-1649b7b85eac still in use: Unable to complete operation on network bbc86abe-fca1-4c96-a6e7-1649b7b85eac. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5266ef7f-72e7-47f4-a325-43b020c2b66a'] 2026-08-03 03:16:39,560 - WARNING - Deleting VN ctest-vn-21289936 failed..Will retry 2026-08-03 03:16:41,763 - DEBUG - Response for deleting network () 2026-08-03 03:16:41,764 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/4216212f-9f5d-4338-bf23-4e48f5765015 2026-08-03 03:16:41,782 - DEBUG - Response Code: 404 2026-08-03 03:16:41,782 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-08-03 03:16:41,798 - DEBUG - Requesting: http://10.0.0.249:8082/domain/724de60e-9f87-4d23-867c-6bd9a9880f5b 2026-08-03 03:16:41,847 - DEBUG - Requesting: http://10.0.0.249:8082/project/0d8cbbc7-b5d2-4c40-bf89-bd7b6ef066da 2026-08-03 03:16:41,953 - INFO - Validated that VN ctest-vn-21289936 is not found in API Server 2026-08-03 03:16:41,967 - DEBUG - VN ctest-vn-21289936 is not present in Agent 10.0.0.38 2026-08-03 03:16:41,980 - DEBUG - VN ctest-vn-21289936 is not present in Agent 10.0.0.19 2026-08-03 03:16:41,980 - INFO - Validated that VN ctest-vn-21289936 is not in any agent 2026-08-03 03:16:42,019 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21289936 info 2026-08-03 03:16:42,019 - INFO - Deleting VN ctest-vn-06268788 2026-08-03 03:16:42,332 - DEBUG - Response for deleting network () 2026-08-03 03:16:42,332 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/62cd8a1f-467d-4736-b2cb-050f6b20fc45 2026-08-03 03:16:42,341 - DEBUG - Response Code: 404 2026-08-03 03:16:42,342 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-08-03 03:16:42,350 - DEBUG - Requesting: http://10.0.0.249:8082/domain/724de60e-9f87-4d23-867c-6bd9a9880f5b 2026-08-03 03:16:42,371 - DEBUG - Requesting: http://10.0.0.249:8082/project/0d8cbbc7-b5d2-4c40-bf89-bd7b6ef066da 2026-08-03 03:16:42,484 - INFO - Validated that VN ctest-vn-06268788 is not found in API Server 2026-08-03 03:16:42,504 - DEBUG - VN ctest-vn-06268788 is not present in Agent 10.0.0.38 2026-08-03 03:16:42,527 - DEBUG - VN ctest-vn-06268788 is not present in Agent 10.0.0.19 2026-08-03 03:16:42,527 - INFO - Validated that VN ctest-vn-06268788 is not in any agent 2026-08-03 03:16:42,587 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06268788 info 2026-08-03 03:16:43,928 - DEBUG - No XMPP flaps were noticed during the test 2026-08-03 03:16:43,928 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:55] 2026-08-03 03:16:43,928 - INFO - -------------------------------------------------------------------------------- 2026-08-03 03:16:44,904 - INFO - Deleted project: ctest-TestBasicPolicy-92212021, ID : 0d8cbbc7-b5d2-4c40-bf89-bd7b6ef066da