2026-04-01 16:11:20,019 - INFO - Domain Default found not creating 2026-04-01 16:11:20,205 - INFO - Project ctest-TestBasicPolicy-28889733 not found, creating it 2026-04-01 16:11:20,701 - INFO - Created Project:ctest-TestBasicPolicy-28889733, ID : bb8801db-e1f9-460c-9100-2db14b1aa51f 2026-04-01 16:11:22,309 - INFO - ================================================================================ 2026-04-01 16:11:22,309 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-01 16:11:22,309 - 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-04-01 16:11:22,566 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.254': '0'}} with 2026-04-01 16:11:22,566 - INFO - Initial checks done. Running the testcase now 2026-04-01 16:11:22,566 - INFO - 2026-04-01 16:11:23,143 - DEBUG - Response for create_network : {'network': {'id': 'ba1789fe-e505-4639-badf-1db3297ab1bf', 'name': 'ctest-vn-14237038', 'tenant_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'project_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28889733', 'ctest-vn-14237038'], 'port_security_enabled': True, 'description': ''}} 2026-04-01 16:11:23,315 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1794465-5797-4c33-b87c-3e2b481c6519', 'name': '', 'tenant_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'network_id': 'ba1789fe-e505-4639-badf-1db3297ab1bf', 'ip_version': 4, 'cidr': '80.174.101.64/26', 'allocation_pools': [{'start': '80.174.101.66', 'end': '80.174.101.126'}], 'gateway_ip': '80.174.101.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.174.101.66', 'tags': [], 'project_id': 'bb8801dbe1f9460c91002db14b1aa51f'}} 2026-04-01 16:11:23,335 - INFO - Created VN ctest-vn-14237038 2026-04-01 16:11:23,385 - DEBUG - VN ctest-vn-14237038 UUID is ba1789fe-e505-4639-badf-1db3297ab1bf 2026-04-01 16:11:23,726 - DEBUG - Response for create_network : {'network': {'id': '865e6dc8-a010-4e2e-85fe-258387846c27', 'name': 'ctest-vn-34084636', 'tenant_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'project_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28889733', 'ctest-vn-34084636'], 'port_security_enabled': True, 'description': ''}} 2026-04-01 16:11:23,881 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cc84289-3044-413f-9554-d8ffc3f9ce30', 'name': '', 'tenant_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'network_id': '865e6dc8-a010-4e2e-85fe-258387846c27', 'ip_version': 4, 'cidr': '34.26.100.0/26', 'allocation_pools': [{'start': '34.26.100.2', 'end': '34.26.100.62'}], 'gateway_ip': '34.26.100.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.26.100.2', 'tags': [], 'project_id': 'bb8801dbe1f9460c91002db14b1aa51f'}} 2026-04-01 16:11:23,900 - INFO - Created VN ctest-vn-34084636 2026-04-01 16:11:23,953 - DEBUG - VN ctest-vn-34084636 UUID is 865e6dc8-a010-4e2e-85fe-258387846c27 2026-04-01 16:11:24,071 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-14237038, 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-28889733:ctest-vn-34084636, 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-04-01 16:11:24,363 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ba1789fe-e505-4639-badf-1db3297ab1bf', 'name': 'ctest-vn-14237038', 'tenant_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'project_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e1794465-5797-4c33-b87c-3e2b481c6519'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28889733', 'ctest-vn-14237038'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28889733', 'ctest-policy-allow-all-66466033']], 'subnet_ipam': [{'subnet_cidr': '80.174.101.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-01 16:11:24,593 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '865e6dc8-a010-4e2e-85fe-258387846c27', 'name': 'ctest-vn-34084636', 'tenant_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'project_id': 'bb8801dbe1f9460c91002db14b1aa51f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7cc84289-3044-413f-9554-d8ffc3f9ce30'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28889733', 'ctest-vn-34084636'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28889733', 'ctest-policy-allow-all-66466033']], 'subnet_ipam': [{'subnet_cidr': '34.26.100.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-01 16:11:24,745 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-04-01 16:11:25,048 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-04-01 16:11:25,082 - DEBUG - Requesting: http://10.0.0.241:8082/domain/07cba0db-e356-4ae3-86e6-afdec7545eab 2026-04-01 16:11:25,095 - DEBUG - Requesting: http://10.0.0.241:8082/project/bb8801db-e1f9-460c-9100-2db14b1aa51f 2026-04-01 16:11:25,169 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/ba1789fe-e505-4639-badf-1db3297ab1bf 2026-04-01 16:11:25,181 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/ba1789fe-e505-4639-badf-1db3297ab1bf 2026-04-01 16:11:25,191 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/29d9ab4e-b351-4606-afd0-1935c3e2d5f3 2026-04-01 16:11:25,200 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/29d9ab4e-b351-4606-afd0-1935c3e2d5f3 2026-04-01 16:11:25,208 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/6a7bba5f-fc50-4d43-a994-cf5ced3724be 2026-04-01 16:11:25,214 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-01 16:11:25,214 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/ba1789fe-e505-4639-badf-1db3297ab1bf 2026-04-01 16:11:25,223 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/29d9ab4e-b351-4606-afd0-1935c3e2d5f3 2026-04-01 16:11:25,239 - INFO - Verified VN network id 11 for VN ba1789fe-e505-4639-badf-1db3297ab1bf 2026-04-01 16:11:25,239 - INFO - Verifications in API Server for VN ctest-vn-14237038 passed 2026-04-01 16:11:25,240 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/ba1789fe-e505-4639-badf-1db3297ab1bf 2026-04-01 16:11:25,251 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/29d9ab4e-b351-4606-afd0-1935c3e2d5f3 2026-04-01 16:11:25,259 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/29d9ab4e-b351-4606-afd0-1935c3e2d5f3 2026-04-01 16:11:25,266 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/6a7bba5f-fc50-4d43-a994-cf5ced3724be 2026-04-01 16:11:25,278 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-14237038', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28889733', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13409338143375967801', 'uuid-lslong': '13465514066193330623'}, 'enable': 'true', 'created': '2026-04-01T16:11:23', 'last-modified': '2026-04-01T16:11:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936511'} 2026-04-01 16:11:25,283 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-01 16:11:25,283 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14237038 passed 2026-04-01 16:11:25,284 - DEBUG - ====Verifying policy data for ctest-vn-14237038 in API_Server ====== 2026-04-01 16:11:25,284 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-04-01 16:11:25,290 - DEBUG - Requesting: http://10.0.0.241:8082/domain/07cba0db-e356-4ae3-86e6-afdec7545eab 2026-04-01 16:11:25,302 - DEBUG - Requesting: http://10.0.0.241:8082/project/bb8801db-e1f9-460c-9100-2db14b1aa51f 2026-04-01 16:11:25,377 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/ba1789fe-e505-4639-badf-1db3297ab1bf 2026-04-01 16:11:25,387 - DEBUG - ==>Verifying data for policy with id: 8cfe9dd7-8329-452a-ad51-253db17a601e, fqn: ['default-domain', 'ctest-TestBasicPolicy-28889733', 'ctest-policy-allow-all-66466033'] 2026-04-01 16:11:25,387 - INFO - VN ctest-vn-14237038 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-01 16:11:25,388 - DEBUG - Verifying the vn in opserver 2026-04-01 16:11:25,388 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-14237038 virtual network link through opserver 10.0.0.241 2026-04-01 16:11:25,388 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-04-01 16:11:25,683 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-04-01 16:11:25,751 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-14237038', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-14237038?flat'} 2026-04-01 16:11:25,751 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-14237038 is found in opserver 2026-04-01 16:11:25,763 - DEBUG - Do not have enough data to verify VN in agent 2026-04-01 16:11:25,768 - DEBUG - VRF ids for VN ctest-vn-14237038: {} 2026-04-01 16:11:25,769 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-04-01 16:11:25,774 - DEBUG - Requesting: http://10.0.0.241:8082/domain/07cba0db-e356-4ae3-86e6-afdec7545eab 2026-04-01 16:11:25,787 - DEBUG - Requesting: http://10.0.0.241:8082/project/bb8801db-e1f9-460c-9100-2db14b1aa51f 2026-04-01 16:11:25,864 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/865e6dc8-a010-4e2e-85fe-258387846c27 2026-04-01 16:11:25,878 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/865e6dc8-a010-4e2e-85fe-258387846c27 2026-04-01 16:11:25,889 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4279ce71-9793-4829-a057-40d0eefaee27 2026-04-01 16:11:25,897 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4279ce71-9793-4829-a057-40d0eefaee27 2026-04-01 16:11:25,905 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/7b38c595-cb7f-4026-b2a0-1e6fa489c89e 2026-04-01 16:11:25,912 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-01 16:11:25,912 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/865e6dc8-a010-4e2e-85fe-258387846c27 2026-04-01 16:11:25,922 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4279ce71-9793-4829-a057-40d0eefaee27 2026-04-01 16:11:25,936 - INFO - Verified VN network id 12 for VN 865e6dc8-a010-4e2e-85fe-258387846c27 2026-04-01 16:11:25,937 - INFO - Verifications in API Server for VN ctest-vn-34084636 passed 2026-04-01 16:11:25,937 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/865e6dc8-a010-4e2e-85fe-258387846c27 2026-04-01 16:11:25,946 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4279ce71-9793-4829-a057-40d0eefaee27 2026-04-01 16:11:25,952 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4279ce71-9793-4829-a057-40d0eefaee27 2026-04-01 16:11:25,958 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/7b38c595-cb7f-4026-b2a0-1e6fa489c89e 2026-04-01 16:11:25,970 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-34084636', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28889733', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9682296957339455022', 'uuid-lslong': '9655195897973468199'}, 'enable': 'true', 'created': '2026-04-01T16:11:23', 'last-modified': '2026-04-01T16:11:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.401862'} 2026-04-01 16:11:25,975 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-01 16:11:25,975 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34084636 passed 2026-04-01 16:11:25,975 - DEBUG - ====Verifying policy data for ctest-vn-34084636 in API_Server ====== 2026-04-01 16:11:25,975 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-04-01 16:11:25,981 - DEBUG - Requesting: http://10.0.0.241:8082/domain/07cba0db-e356-4ae3-86e6-afdec7545eab 2026-04-01 16:11:25,992 - DEBUG - Requesting: http://10.0.0.241:8082/project/bb8801db-e1f9-460c-9100-2db14b1aa51f 2026-04-01 16:11:26,068 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/865e6dc8-a010-4e2e-85fe-258387846c27 2026-04-01 16:11:26,078 - DEBUG - ==>Verifying data for policy with id: 8cfe9dd7-8329-452a-ad51-253db17a601e, fqn: ['default-domain', 'ctest-TestBasicPolicy-28889733', 'ctest-policy-allow-all-66466033'] 2026-04-01 16:11:26,078 - INFO - VN ctest-vn-34084636 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-01 16:11:26,078 - DEBUG - Verifying the vn in opserver 2026-04-01 16:11:26,078 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-34084636 virtual network link through opserver 10.0.0.241 2026-04-01 16:11:26,078 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-04-01 16:11:26,089 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-34084636', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-34084636?flat'} 2026-04-01 16:11:26,089 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-34084636 is found in opserver 2026-04-01 16:11:26,099 - DEBUG - Do not have enough data to verify VN in agent 2026-04-01 16:11:26,104 - DEBUG - VRF ids for VN ctest-vn-34084636: {} 2026-04-01 16:11:26,176 - DEBUG - Services list from nova: [, , ] 2026-04-01 16:11:27,264 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5570-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5570-1) 2026-04-01 16:11:28,498 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5570-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5570-1) 2026-04-01 16:11:28,499 - INFO - Waiting for VM ctest-TestBasicPolicy-28889733-08367943 to be up.. 2026-04-01 16:11:28,591 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-01 16:11:33,673 - DEBUG - VM is in ACTIVE state now 2026-04-01 16:11:33,674 - INFO - VM name : ctest-TestBasicPolicy-28889733-08367943 2026-04-01 16:11:33,752 - DEBUG - VM ctest-TestBasicPolicy-28889733-08367943 ID is 8379d87c-1085-4327-9891-b537913f2a7f 2026-04-01 16:11:33,775 - DEBUG - VM ctest-TestBasicPolicy-28889733-08367943 launched on Node cn-jenkins-deploy-platform-ansible-os-5570-1 2026-04-01 16:11:33,862 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/8379d87c-1085-4327-9891-b537913f2a7f 2026-04-01 16:11:33,872 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/d4dcae8b-becb-4505-8af7-f24cbb1b30bf 2026-04-01 16:11:37,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 1031ms') 2026-04-01 16:11:37,106 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28889733-08367943 failed! 2026-04-01 16:11:37,165 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28889733:ctest-vn-14237038 is 80.174.101.65 and allocation pool is NOT set 2026-04-01 16:11:39,227 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.419/4.603/8.788/4.184 ms') 2026-04-01 16:11:39,227 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28889733-08367943 passed 2026-04-01 16:11:39,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-01 16:11:39,377 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28889733-08367943, IP 80.174.101.67, Port 22 2026-04-01 16:11:39,533 - DEBUG - VM ctest-TestBasicPolicy-28889733-08367943 is ready for SSH connections 2026-04-01 16:11:39,533 - INFO - Waiting for VM ctest-TestBasicPolicy-28889733-13107591 to be up.. 2026-04-01 16:11:39,614 - DEBUG - VM is in ACTIVE state now 2026-04-01 16:11:39,614 - INFO - VM name : ctest-TestBasicPolicy-28889733-13107591 2026-04-01 16:11:39,689 - DEBUG - VM ctest-TestBasicPolicy-28889733-13107591 ID is 1d8ba217-ac15-456e-a93a-1c6e47e94dcc 2026-04-01 16:11:39,689 - DEBUG - VM ctest-TestBasicPolicy-28889733-13107591 launched on Node cn-jenkins-deploy-platform-ansible-os-5570-1 2026-04-01 16:11:39,778 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/1d8ba217-ac15-456e-a93a-1c6e47e94dcc 2026-04-01 16:11:39,788 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/36e6b33f-c018-46d8-82b1-258bc0ea1ecb 2026-04-01 16:11:41,024 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.470 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.470/1.556/2.643/1.086 ms') 2026-04-01 16:11:41,024 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28889733-13107591 passed 2026-04-01 16:11:41,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-01 16:11:41,173 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28889733-13107591, IP 34.26.100.3, Port 22 2026-04-01 16:11:41,347 - DEBUG - VM ctest-TestBasicPolicy-28889733-13107591 is ready for SSH connections 2026-04-01 16:11:41,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-01 16:11:41,348 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.26.100.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-04-01 16:11:41,348 - DEBUG - ping -s 56 -c 3 -W 1 34.26.100.3 2026-04-01 16:11:45,576 - DEBUG - PING 34.26.100.3 (34.26.100.3): 56 data bytes 64 bytes from 34.26.100.3: seq=0 ttl=63 time=3.763 ms 64 bytes from 34.26.100.3: seq=1 ttl=63 time=1.031 ms 64 bytes from 34.26.100.3: seq=2 ttl=63 time=0.988 ms --- 34.26.100.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.988/1.927/3.763 ms 2026-04-01 16:11:45,576 - INFO - Ping to IP 34.26.100.3 from VM ctest-TestBasicPolicy-28889733-08367943 passed 2026-04-01 16:11:45,761 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8cfe9dd7-8329-452a-ad51-253db17a601e", "href": "http://10.0.0.241:8082/network-policy/8cfe9dd7-8329-452a-ad51-253db17a601e"}} 2026-04-01 16:11:45,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-01 16:11:45,761 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.26.100.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-04-01 16:11:45,761 - DEBUG - ping -s 56 -c 3 -W 1 34.26.100.3 2026-04-01 16:11:49,077 - DEBUG - PING 34.26.100.3 (34.26.100.3): 56 data bytes --- 34.26.100.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-01 16:11:49,077 - WARNING - Ping to IP 34.26.100.3 from VM ctest-TestBasicPolicy-28889733-08367943 failed 2026-04-01 16:11:49,077 - INFO - Deleting VM ctest-TestBasicPolicy-28889733-13107591 2026-04-01 16:11:49,153 - INFO - Deleting VM ctest-TestBasicPolicy-28889733-08367943 2026-04-01 16:11:49,556 - INFO - Deleted policy ctest-policy-allow-all-66466033 2026-04-01 16:11:49,556 - INFO - Deleting VN ctest-vn-34084636 2026-04-01 16:11:49,593 - DEBUG - VN 865e6dc8-a010-4e2e-85fe-258387846c27 still in use: Unable to complete operation on network 865e6dc8-a010-4e2e-85fe-258387846c27. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ea6908c-902e-4187-8256-55921c6e02c5'] 2026-04-01 16:11:49,593 - WARNING - Deleting VN ctest-vn-34084636 failed..Will retry 2026-04-01 16:11:51,696 - DEBUG - Response for deleting network () 2026-04-01 16:11:51,696 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/4279ce71-9793-4829-a057-40d0eefaee27 2026-04-01 16:11:51,701 - DEBUG - Response Code: 404 2026-04-01 16:11:51,702 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-04-01 16:11:51,707 - DEBUG - Requesting: http://10.0.0.241:8082/domain/07cba0db-e356-4ae3-86e6-afdec7545eab 2026-04-01 16:11:51,763 - DEBUG - Requesting: http://10.0.0.241:8082/project/bb8801db-e1f9-460c-9100-2db14b1aa51f 2026-04-01 16:11:51,833 - INFO - Validated that VN ctest-vn-34084636 is not found in API Server 2026-04-01 16:11:51,842 - DEBUG - VN ctest-vn-34084636 is not present in Agent 10.0.0.241 2026-04-01 16:11:51,842 - INFO - Validated that VN ctest-vn-34084636 is not in any agent 2026-04-01 16:11:51,856 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34084636 info 2026-04-01 16:11:51,856 - INFO - Deleting VN ctest-vn-14237038 2026-04-01 16:11:51,964 - DEBUG - Response for deleting network () 2026-04-01 16:11:51,964 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/29d9ab4e-b351-4606-afd0-1935c3e2d5f3 2026-04-01 16:11:51,970 - DEBUG - Response Code: 404 2026-04-01 16:11:51,970 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-04-01 16:11:51,976 - DEBUG - Requesting: http://10.0.0.241:8082/domain/07cba0db-e356-4ae3-86e6-afdec7545eab 2026-04-01 16:11:52,030 - DEBUG - Requesting: http://10.0.0.241:8082/project/bb8801db-e1f9-460c-9100-2db14b1aa51f 2026-04-01 16:11:52,107 - INFO - Validated that VN ctest-vn-14237038 is not found in API Server 2026-04-01 16:11:52,117 - DEBUG - VN ctest-vn-14237038 is not present in Agent 10.0.0.241 2026-04-01 16:11:52,117 - INFO - Validated that VN ctest-vn-14237038 is not in any agent 2026-04-01 16:11:52,131 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14237038 info 2026-04-01 16:11:52,391 - DEBUG - No XMPP flaps were noticed during the test 2026-04-01 16:11:52,391 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-04-01 16:11:52,391 - INFO - -------------------------------------------------------------------------------- 2026-04-01 16:11:53,124 - INFO - Deleted project: ctest-TestBasicPolicy-28889733, ID : bb8801db-e1f9-460c-9100-2db14b1aa51f