2026-01-19 15:04:41,642 - INFO - Domain Default found not creating 2026-01-19 15:04:41,792 - INFO - Project ctest-TestBasicPolicy-03908828 not found, creating it 2026-01-19 15:04:42,449 - INFO - Created Project:ctest-TestBasicPolicy-03908828, ID : fa4df3bc-2c46-4d5c-a2ef-6e03dc83ca37 2026-01-19 15:04:43,853 - INFO - ================================================================================ 2026-01-19 15:04:43,853 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-19 15:04:43,853 - 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-01-19 15:04:45,137 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.240': {'10.20.0.18': '0', '10.20.0.129': '0'}} with 2026-01-19 15:04:45,137 - INFO - Initial checks done. Running the testcase now 2026-01-19 15:04:45,137 - INFO - 2026-01-19 15:04:45,868 - DEBUG - Response for create_network : {'network': {'id': '2ad1c633-46e0-4115-93e1-020c07511463', 'name': 'ctest-vn-09687335', 'tenant_id': 'fa4df3bc2c464d5ca2ef6e03dc83ca37', 'project_id': 'fa4df3bc2c464d5ca2ef6e03dc83ca37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03908828', 'ctest-vn-09687335'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 15:04:46,170 - DEBUG - Response for create_subnet : {'subnet': {'id': '797d40bc-5c8e-440b-b535-b04c452ebd5c', 'name': '', 'tenant_id': 'fa4df3bc2c464d5ca2ef6e03dc83ca37', 'network_id': '2ad1c633-46e0-4115-93e1-020c07511463', 'ip_version': 4, 'cidr': '29.187.160.192/26', 'allocation_pools': [{'start': '29.187.160.194', 'end': '29.187.160.254'}], 'gateway_ip': '29.187.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.187.160.194', 'tags': [], 'project_id': 'fa4df3bc2c464d5ca2ef6e03dc83ca37'}} 2026-01-19 15:04:46,196 - INFO - Created VN ctest-vn-09687335 2026-01-19 15:04:46,208 - DEBUG - VN ctest-vn-09687335 UUID is 2ad1c633-46e0-4115-93e1-020c07511463 2026-01-19 15:04:46,624 - DEBUG - Response for create_network : {'network': {'id': 'b5a7ba7d-6567-454e-a765-58aef78e7c5f', 'name': 'ctest-vn-15866935', 'tenant_id': 'fa4df3bc2c464d5ca2ef6e03dc83ca37', 'project_id': 'fa4df3bc2c464d5ca2ef6e03dc83ca37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03908828', 'ctest-vn-15866935'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 15:04:46,900 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0c5faf9-1571-4364-9113-d8214c205505', 'name': '', 'tenant_id': 'fa4df3bc2c464d5ca2ef6e03dc83ca37', 'network_id': 'b5a7ba7d-6567-454e-a765-58aef78e7c5f', 'ip_version': 4, 'cidr': '222.210.98.192/26', 'allocation_pools': [{'start': '222.210.98.194', 'end': '222.210.98.254'}], 'gateway_ip': '222.210.98.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.210.98.194', 'tags': [], 'project_id': 'fa4df3bc2c464d5ca2ef6e03dc83ca37'}} 2026-01-19 15:04:46,919 - INFO - Created VN ctest-vn-15866935 2026-01-19 15:04:46,932 - DEBUG - VN ctest-vn-15866935 UUID is b5a7ba7d-6567-454e-a765-58aef78e7c5f 2026-01-19 15:04:47,058 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-09687335, 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-03908828:ctest-vn-15866935, 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-01-19 15:04:47,449 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2ad1c633-46e0-4115-93e1-020c07511463', 'name': 'ctest-vn-09687335', 'tenant_id': 'fa4df3bc2c464d5ca2ef6e03dc83ca37', 'project_id': 'fa4df3bc2c464d5ca2ef6e03dc83ca37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['797d40bc-5c8e-440b-b535-b04c452ebd5c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03908828', 'ctest-vn-09687335'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03908828', 'ctest-policy-allow-all-58016099']], 'subnet_ipam': [{'subnet_cidr': '29.187.160.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-19 15:04:47,695 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b5a7ba7d-6567-454e-a765-58aef78e7c5f', 'name': 'ctest-vn-15866935', 'tenant_id': 'fa4df3bc2c464d5ca2ef6e03dc83ca37', 'project_id': 'fa4df3bc2c464d5ca2ef6e03dc83ca37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e0c5faf9-1571-4364-9113-d8214c205505'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03908828', 'ctest-vn-15866935'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03908828', 'ctest-policy-allow-all-58016099']], 'subnet_ipam': [{'subnet_cidr': '222.210.98.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-19 15:04:47,801 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-19 15:04:48,160 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-19 15:04:48,191 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5a05e3ad-7c50-4a45-9ba6-ba5e0b0e3b90 2026-01-19 15:04:48,205 - DEBUG - Requesting: http://10.0.0.22:8082/project/fa4df3bc-2c46-4d5c-a2ef-6e03dc83ca37 2026-01-19 15:04:48,314 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2ad1c633-46e0-4115-93e1-020c07511463 2026-01-19 15:04:48,337 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2ad1c633-46e0-4115-93e1-020c07511463 2026-01-19 15:04:48,348 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3d7feb74-69cc-48bc-808c-eaba7c881902 2026-01-19 15:04:48,368 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3d7feb74-69cc-48bc-808c-eaba7c881902 2026-01-19 15:04:48,376 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/9b9798b7-3d31-456d-9480-48129860a79d 2026-01-19 15:04:48,384 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-19 15:04:48,384 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2ad1c633-46e0-4115-93e1-020c07511463 2026-01-19 15:04:48,396 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3d7feb74-69cc-48bc-808c-eaba7c881902 2026-01-19 15:04:48,412 - INFO - Verified VN network id 11 for VN 2ad1c633-46e0-4115-93e1-020c07511463 2026-01-19 15:04:48,412 - INFO - Verifications in API Server for VN ctest-vn-09687335 passed 2026-01-19 15:04:48,412 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2ad1c633-46e0-4115-93e1-020c07511463 2026-01-19 15:04:48,422 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3d7feb74-69cc-48bc-808c-eaba7c881902 2026-01-19 15:04:48,429 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3d7feb74-69cc-48bc-808c-eaba7c881902 2026-01-19 15:04:48,436 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/9b9798b7-3d31-456d-9480-48129860a79d 2026-01-19 15:04:48,449 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-09687335', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03908828', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3085465143260234005', 'uuid-lslong': '10655800444020921443'}, 'enable': 'true', 'created': '2026-01-19T15:04:45', 'last-modified': '2026-01-19T15:04:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.048406'} 2026-01-19 15:04:48,457 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-19 15:04:48,462 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-09687335', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03908828', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3085465143260234005', 'uuid-lslong': '10655800444020921443'}, 'enable': 'true', 'created': '2026-01-19T15:04:45', 'last-modified': '2026-01-19T15:04:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.062012'} 2026-01-19 15:04:48,468 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-19 15:04:48,474 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-09687335', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03908828', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3085465143260234005', 'uuid-lslong': '10655800444020921443'}, 'enable': 'true', 'created': '2026-01-19T15:04:45', 'last-modified': '2026-01-19T15:04:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.070033'} 2026-01-19 15:04:48,479 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-19 15:04:48,479 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09687335 passed 2026-01-19 15:04:48,479 - DEBUG - ====Verifying policy data for ctest-vn-09687335 in API_Server ====== 2026-01-19 15:04:48,479 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-19 15:04:48,485 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5a05e3ad-7c50-4a45-9ba6-ba5e0b0e3b90 2026-01-19 15:04:48,494 - DEBUG - Requesting: http://10.0.0.22:8082/project/fa4df3bc-2c46-4d5c-a2ef-6e03dc83ca37 2026-01-19 15:04:48,591 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2ad1c633-46e0-4115-93e1-020c07511463 2026-01-19 15:04:48,603 - DEBUG - ==>Verifying data for policy with id: 7c66a14a-cb3e-4ada-9397-4b28c2c79a86, fqn: ['default-domain', 'ctest-TestBasicPolicy-03908828', 'ctest-policy-allow-all-58016099'] 2026-01-19 15:04:48,603 - INFO - VN ctest-vn-09687335 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-19 15:04:48,603 - DEBUG - Verifying the vn in opserver 2026-01-19 15:04:48,603 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-09687335 virtual network link through opserver 10.0.0.22 2026-01-19 15:04:48,603 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-19 15:04:48,905 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-19 15:04:48,963 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-09687335', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-09687335?flat'} 2026-01-19 15:04:48,963 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-09687335 virtual network link through opserver 10.0.0.33 2026-01-19 15:04:48,963 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-19 15:04:49,267 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-19 15:04:49,336 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-09687335', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-09687335?flat'} 2026-01-19 15:04:49,336 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-09687335 virtual network link through opserver 10.0.0.27 2026-01-19 15:04:49,336 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-01-19 15:04:49,635 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-01-19 15:04:49,691 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-09687335', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-09687335?flat'} 2026-01-19 15:04:49,691 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-09687335 is found in opserver 2026-01-19 15:04:49,710 - DEBUG - Do not have enough data to verify VN in agent 2026-01-19 15:04:49,719 - DEBUG - VRF ids for VN ctest-vn-09687335: {} 2026-01-19 15:04:49,719 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-19 15:04:49,725 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5a05e3ad-7c50-4a45-9ba6-ba5e0b0e3b90 2026-01-19 15:04:49,735 - DEBUG - Requesting: http://10.0.0.22:8082/project/fa4df3bc-2c46-4d5c-a2ef-6e03dc83ca37 2026-01-19 15:04:49,837 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b5a7ba7d-6567-454e-a765-58aef78e7c5f 2026-01-19 15:04:49,858 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b5a7ba7d-6567-454e-a765-58aef78e7c5f 2026-01-19 15:04:49,868 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cc8c9d25-1a44-41a5-a5bf-c033ac7f71b9 2026-01-19 15:04:49,879 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cc8c9d25-1a44-41a5-a5bf-c033ac7f71b9 2026-01-19 15:04:49,886 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/790bcacd-0d07-43ac-a65a-1ab170964e82 2026-01-19 15:04:49,892 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-19 15:04:49,892 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b5a7ba7d-6567-454e-a765-58aef78e7c5f 2026-01-19 15:04:49,907 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cc8c9d25-1a44-41a5-a5bf-c033ac7f71b9 2026-01-19 15:04:49,925 - INFO - Verified VN network id 12 for VN b5a7ba7d-6567-454e-a765-58aef78e7c5f 2026-01-19 15:04:49,925 - INFO - Verifications in API Server for VN ctest-vn-15866935 passed 2026-01-19 15:04:49,925 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b5a7ba7d-6567-454e-a765-58aef78e7c5f 2026-01-19 15:04:49,936 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cc8c9d25-1a44-41a5-a5bf-c033ac7f71b9 2026-01-19 15:04:49,943 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cc8c9d25-1a44-41a5-a5bf-c033ac7f71b9 2026-01-19 15:04:49,951 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/790bcacd-0d07-43ac-a65a-1ab170964e82 2026-01-19 15:04:49,964 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-15866935', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03908828', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13089635889710581070', 'uuid-lslong': '12062144685482605663'}, 'enable': 'true', 'created': '2026-01-19T15:04:46', 'last-modified': '2026-01-19T15:04:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.321022'} 2026-01-19 15:04:49,970 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-19 15:04:49,975 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-15866935', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03908828', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13089635889710581070', 'uuid-lslong': '12062144685482605663'}, 'enable': 'true', 'created': '2026-01-19T15:04:46', 'last-modified': '2026-01-19T15:04:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.336766'} 2026-01-19 15:04:49,981 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-19 15:04:49,986 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-15866935', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03908828', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13089635889710581070', 'uuid-lslong': '12062144685482605663'}, 'enable': 'true', 'created': '2026-01-19T15:04:46', 'last-modified': '2026-01-19T15:04:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.349688'} 2026-01-19 15:04:49,994 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-19 15:04:49,994 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15866935 passed 2026-01-19 15:04:49,995 - DEBUG - ====Verifying policy data for ctest-vn-15866935 in API_Server ====== 2026-01-19 15:04:49,995 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-19 15:04:50,000 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5a05e3ad-7c50-4a45-9ba6-ba5e0b0e3b90 2026-01-19 15:04:50,014 - DEBUG - Requesting: http://10.0.0.22:8082/project/fa4df3bc-2c46-4d5c-a2ef-6e03dc83ca37 2026-01-19 15:04:50,104 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/b5a7ba7d-6567-454e-a765-58aef78e7c5f 2026-01-19 15:04:50,118 - DEBUG - ==>Verifying data for policy with id: 7c66a14a-cb3e-4ada-9397-4b28c2c79a86, fqn: ['default-domain', 'ctest-TestBasicPolicy-03908828', 'ctest-policy-allow-all-58016099'] 2026-01-19 15:04:50,118 - INFO - VN ctest-vn-15866935 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-19 15:04:50,118 - DEBUG - Verifying the vn in opserver 2026-01-19 15:04:50,118 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-15866935 virtual network link through opserver 10.0.0.22 2026-01-19 15:04:50,118 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-19 15:04:50,199 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-15866935', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-15866935?flat'} 2026-01-19 15:04:50,199 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-15866935 virtual network link through opserver 10.0.0.33 2026-01-19 15:04:50,199 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-01-19 15:04:50,265 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-15866935', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-15866935?flat'} 2026-01-19 15:04:50,265 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-15866935 virtual network link through opserver 10.0.0.27 2026-01-19 15:04:50,265 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-01-19 15:04:50,653 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-15866935', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-15866935?flat'} 2026-01-19 15:04:50,653 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-15866935 is found in opserver 2026-01-19 15:04:50,675 - DEBUG - Do not have enough data to verify VN in agent 2026-01-19 15:04:50,684 - DEBUG - VRF ids for VN ctest-vn-15866935: {} 2026-01-19 15:04:50,757 - DEBUG - Services list from nova: [, , , ] 2026-01-19 15:04:51,830 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5045-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5045-1) 2026-01-19 15:04:53,231 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5045-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5045-2) 2026-01-19 15:04:53,231 - INFO - Waiting for VM ctest-TestBasicPolicy-03908828-28913583 to be up.. 2026-01-19 15:04:53,336 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-19 15:04:58,447 - DEBUG - VM is in ACTIVE state now 2026-01-19 15:04:58,447 - INFO - VM name : ctest-TestBasicPolicy-03908828-28913583 2026-01-19 15:04:58,549 - DEBUG - VM ctest-TestBasicPolicy-03908828-28913583 ID is b1801816-cd5d-4e2b-859c-d3f4bda35f64 2026-01-19 15:04:58,576 - DEBUG - VM ctest-TestBasicPolicy-03908828-28913583 launched on Node an-jenkins-deploy-platform-ansible-os-5045-1 2026-01-19 15:04:58,676 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b1801816-cd5d-4e2b-859c-d3f4bda35f64 2026-01-19 15:04:58,985 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b1801816-cd5d-4e2b-859c-d3f4bda35f64 2026-01-19 15:04:59,029 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/dd766568-4db3-4743-8ffd-f5a1df37d4e0 2026-01-19 15:05:02,240 - 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 1004ms') 2026-01-19 15:05:02,240 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03908828-28913583 failed! 2026-01-19 15:05:02,258 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03908828:ctest-vn-09687335 is 29.187.160.193 and allocation pool is NOT set 2026-01-19 15:05:04,320 - 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=3.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.468 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 = 0.468/2.198/3.929/1.730 ms') 2026-01-19 15:05:04,320 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03908828-28913583 passed 2026-01-19 15:05:04,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 15:05:04,441 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03908828-28913583, IP 29.187.160.195, Port 22 2026-01-19 15:05:04,593 - DEBUG - VM ctest-TestBasicPolicy-03908828-28913583 is ready for SSH connections 2026-01-19 15:05:04,593 - INFO - Waiting for VM ctest-TestBasicPolicy-03908828-84199421 to be up.. 2026-01-19 15:05:04,686 - DEBUG - VM is in ACTIVE state now 2026-01-19 15:05:04,686 - INFO - VM name : ctest-TestBasicPolicy-03908828-84199421 2026-01-19 15:05:04,780 - DEBUG - VM ctest-TestBasicPolicy-03908828-84199421 ID is 044aa69c-6808-4748-9cb9-b910320b4ba0 2026-01-19 15:05:04,780 - DEBUG - VM ctest-TestBasicPolicy-03908828-84199421 launched on Node an-jenkins-deploy-platform-ansible-os-5045-2 2026-01-19 15:05:04,871 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/044aa69c-6808-4748-9cb9-b910320b4ba0 2026-01-19 15:05:04,883 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/29911a0b-0878-48a5-bc00-c3f4d63114d6 2026-01-19 15:05:06,091 - 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=4.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.820 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 = 0.820/2.854/4.888/2.034 ms') 2026-01-19 15:05:06,091 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03908828-84199421 passed 2026-01-19 15:05:06,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 15:05:06,208 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03908828-84199421, IP 222.210.98.195, Port 22 2026-01-19 15:05:06,366 - DEBUG - VM ctest-TestBasicPolicy-03908828-84199421 is ready for SSH connections 2026-01-19 15:05:06,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 15:05:06,366 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.210.98.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-01-19 15:05:06,367 - DEBUG - ping -s 56 -c 3 -W 1 222.210.98.195 2026-01-19 15:05:10,271 - DEBUG - PING 222.210.98.195 (222.210.98.195): 56 data bytes 64 bytes from 222.210.98.195: seq=0 ttl=63 time=7.808 ms 64 bytes from 222.210.98.195: seq=1 ttl=63 time=1.443 ms 64 bytes from 222.210.98.195: seq=2 ttl=63 time=1.114 ms --- 222.210.98.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.114/3.455/7.808 ms 2026-01-19 15:05:10,271 - INFO - Ping to IP 222.210.98.195 from VM ctest-TestBasicPolicy-03908828-28913583 passed 2026-01-19 15:05:10,505 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7c66a14a-cb3e-4ada-9397-4b28c2c79a86", "href": "http://10.0.0.27:8082/network-policy/7c66a14a-cb3e-4ada-9397-4b28c2c79a86"}} 2026-01-19 15:05:10,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 15:05:10,506 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.210.98.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-01-19 15:05:10,506 - DEBUG - ping -s 56 -c 3 -W 1 222.210.98.195 2026-01-19 15:05:13,711 - DEBUG - PING 222.210.98.195 (222.210.98.195): 56 data bytes 64 bytes from 222.210.98.195: seq=0 ttl=63 time=2.747 ms --- 222.210.98.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.747/2.747/2.747 ms 2026-01-19 15:05:13,712 - WARNING - Ping to IP 222.210.98.195 from VM ctest-TestBasicPolicy-03908828-28913583 failed 2026-01-19 15:05:13,712 - INFO - Deleting VM ctest-TestBasicPolicy-03908828-84199421 2026-01-19 15:05:13,812 - INFO - Deleting VM ctest-TestBasicPolicy-03908828-28913583 2026-01-19 15:05:14,331 - INFO - Deleted policy ctest-policy-allow-all-58016099 2026-01-19 15:05:14,331 - INFO - Deleting VN ctest-vn-15866935 2026-01-19 15:05:14,397 - DEBUG - VN b5a7ba7d-6567-454e-a765-58aef78e7c5f still in use: Unable to complete operation on network b5a7ba7d-6567-454e-a765-58aef78e7c5f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-41ed8c0e-73c1-4ba9-983f-8ce8f7f27223'] 2026-01-19 15:05:14,397 - WARNING - Deleting VN ctest-vn-15866935 failed..Will retry 2026-01-19 15:05:16,597 - DEBUG - Response for deleting network () 2026-01-19 15:05:16,598 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cc8c9d25-1a44-41a5-a5bf-c033ac7f71b9 2026-01-19 15:05:16,603 - DEBUG - Response Code: 404 2026-01-19 15:05:16,603 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-19 15:05:16,613 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5a05e3ad-7c50-4a45-9ba6-ba5e0b0e3b90 2026-01-19 15:05:16,629 - DEBUG - Requesting: http://10.0.0.22:8082/project/fa4df3bc-2c46-4d5c-a2ef-6e03dc83ca37 2026-01-19 15:05:16,723 - INFO - Validated that VN ctest-vn-15866935 is not found in API Server 2026-01-19 15:05:16,736 - DEBUG - VN ctest-vn-15866935 is not present in Agent 10.0.0.23 2026-01-19 15:05:16,746 - DEBUG - VN ctest-vn-15866935 is not present in Agent 10.0.0.240 2026-01-19 15:05:16,746 - INFO - Validated that VN ctest-vn-15866935 is not in any agent 2026-01-19 15:05:16,778 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15866935 info 2026-01-19 15:05:16,778 - INFO - Deleting VN ctest-vn-09687335 2026-01-19 15:05:16,976 - DEBUG - Response for deleting network () 2026-01-19 15:05:16,976 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3d7feb74-69cc-48bc-808c-eaba7c881902 2026-01-19 15:05:16,983 - DEBUG - Response Code: 404 2026-01-19 15:05:16,983 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-19 15:05:16,990 - DEBUG - Requesting: http://10.0.0.22:8082/domain/5a05e3ad-7c50-4a45-9ba6-ba5e0b0e3b90 2026-01-19 15:05:17,047 - DEBUG - Requesting: http://10.0.0.22:8082/project/fa4df3bc-2c46-4d5c-a2ef-6e03dc83ca37 2026-01-19 15:05:17,147 - INFO - Validated that VN ctest-vn-09687335 is not found in API Server 2026-01-19 15:05:17,158 - DEBUG - VN ctest-vn-09687335 is not present in Agent 10.0.0.23 2026-01-19 15:05:17,167 - DEBUG - VN ctest-vn-09687335 is not present in Agent 10.0.0.240 2026-01-19 15:05:17,167 - INFO - Validated that VN ctest-vn-09687335 is not in any agent 2026-01-19 15:05:17,198 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09687335 info 2026-01-19 15:05:18,465 - DEBUG - No XMPP flaps were noticed during the test
2026-01-19 15:05:18,465 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-01-19 15:05:18,465 - INFO - -------------------------------------------------------------------------------- 2026-01-19 15:05:19,272 - INFO - Deleted project: ctest-TestBasicPolicy-03908828, ID : fa4df3bc-2c46-4d5c-a2ef-6e03dc83ca37