2025-06-18 11:28:37,006 - INFO - Domain Default found not creating 2025-06-18 11:28:37,175 - INFO - Project ctest-TestBasicPolicy-93188170 not found, creating it 2025-06-18 11:28:37,736 - INFO - Created Project:ctest-TestBasicPolicy-93188170, ID : 0b0cf57b-d364-4e3e-8931-71a60d61af91 2025-06-18 11:28:39,302 - INFO - ================================================================================ 2025-06-18 11:28:39,302 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-18 11:28:39,302 - 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 2025-06-18 11:28:39,557 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-18 11:28:39,557 - INFO - Initial checks done. Running the testcase now 2025-06-18 11:28:39,558 - INFO - 2025-06-18 11:28:40,158 - DEBUG - Response for create_network : {'network': {'id': '25faff1f-c689-4eb4-aee1-51268457fc0b', 'name': 'ctest-vn-15619620', 'tenant_id': '0b0cf57bd3644e3e893171a60d61af91', 'project_id': '0b0cf57bd3644e3e893171a60d61af91', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93188170', 'ctest-vn-15619620'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 11:28:40,384 - DEBUG - Response for create_subnet : {'subnet': {'id': '87bd90a6-73f3-47c3-8a6d-778295b5ed55', 'name': '', 'tenant_id': '0b0cf57bd3644e3e893171a60d61af91', 'network_id': '25faff1f-c689-4eb4-aee1-51268457fc0b', 'ip_version': 4, 'cidr': '130.44.12.64/26', 'allocation_pools': [{'start': '130.44.12.66', 'end': '130.44.12.126'}], 'gateway_ip': '130.44.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.44.12.66', 'tags': [], 'project_id': '0b0cf57bd3644e3e893171a60d61af91'}} 2025-06-18 11:28:40,411 - INFO - Created VN ctest-vn-15619620 2025-06-18 11:28:40,468 - DEBUG - VN ctest-vn-15619620 UUID is 25faff1f-c689-4eb4-aee1-51268457fc0b 2025-06-18 11:28:40,812 - DEBUG - Response for create_network : {'network': {'id': '53c28eff-e229-443c-b19a-130ad01d75dd', 'name': 'ctest-vn-81586695', 'tenant_id': '0b0cf57bd3644e3e893171a60d61af91', 'project_id': '0b0cf57bd3644e3e893171a60d61af91', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93188170', 'ctest-vn-81586695'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 11:28:40,983 - DEBUG - Response for create_subnet : {'subnet': {'id': '33fa47ed-45f5-4a32-adde-daf76e8ff4be', 'name': '', 'tenant_id': '0b0cf57bd3644e3e893171a60d61af91', 'network_id': '53c28eff-e229-443c-b19a-130ad01d75dd', 'ip_version': 4, 'cidr': '103.173.245.64/26', 'allocation_pools': [{'start': '103.173.245.66', 'end': '103.173.245.126'}], 'gateway_ip': '103.173.245.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.173.245.66', 'tags': [], 'project_id': '0b0cf57bd3644e3e893171a60d61af91'}} 2025-06-18 11:28:41,002 - INFO - Created VN ctest-vn-81586695 2025-06-18 11:28:41,056 - DEBUG - VN ctest-vn-81586695 UUID is 53c28eff-e229-443c-b19a-130ad01d75dd 2025-06-18 11:28:41,171 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93188170:ctest-vn-15619620, 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-93188170:ctest-vn-81586695, 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] 2025-06-18 11:28:41,494 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '25faff1f-c689-4eb4-aee1-51268457fc0b', 'name': 'ctest-vn-15619620', 'tenant_id': '0b0cf57bd3644e3e893171a60d61af91', 'project_id': '0b0cf57bd3644e3e893171a60d61af91', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['87bd90a6-73f3-47c3-8a6d-778295b5ed55'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93188170', 'ctest-vn-15619620'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93188170', 'ctest-policy-allow-all-61692503']], 'subnet_ipam': [{'subnet_cidr': '130.44.12.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-18 11:28:41,727 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '53c28eff-e229-443c-b19a-130ad01d75dd', 'name': 'ctest-vn-81586695', 'tenant_id': '0b0cf57bd3644e3e893171a60d61af91', 'project_id': '0b0cf57bd3644e3e893171a60d61af91', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['33fa47ed-45f5-4a32-adde-daf76e8ff4be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93188170', 'ctest-vn-81586695'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93188170', 'ctest-policy-allow-all-61692503']], 'subnet_ipam': [{'subnet_cidr': '103.173.245.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-18 11:28:41,896 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 11:28:42,191 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 11:28:42,220 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0bbc921d-4fd2-4d53-a423-40fcf4925ed0 2025-06-18 11:28:42,245 - DEBUG - Requesting: http://10.0.0.254:8082/project/0b0cf57b-d364-4e3e-8931-71a60d61af91 2025-06-18 11:28:42,322 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/25faff1f-c689-4eb4-aee1-51268457fc0b 2025-06-18 11:28:42,333 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/25faff1f-c689-4eb4-aee1-51268457fc0b 2025-06-18 11:28:42,343 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/20822a04-83a4-4ea4-88c6-6ba95fb313b1 2025-06-18 11:28:42,352 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/20822a04-83a4-4ea4-88c6-6ba95fb313b1 2025-06-18 11:28:42,359 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c7f80d57-c4de-43be-975d-5bcca2973ed7 2025-06-18 11:28:42,381 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-18 11:28:42,381 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/25faff1f-c689-4eb4-aee1-51268457fc0b 2025-06-18 11:28:42,391 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/20822a04-83a4-4ea4-88c6-6ba95fb313b1 2025-06-18 11:28:42,407 - INFO - Verified VN network id 8 for VN 25faff1f-c689-4eb4-aee1-51268457fc0b 2025-06-18 11:28:42,407 - INFO - Verifications in API Server for VN ctest-vn-15619620 passed 2025-06-18 11:28:42,407 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/25faff1f-c689-4eb4-aee1-51268457fc0b 2025-06-18 11:28:42,417 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/20822a04-83a4-4ea4-88c6-6ba95fb313b1 2025-06-18 11:28:42,425 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/20822a04-83a4-4ea4-88c6-6ba95fb313b1 2025-06-18 11:28:42,433 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c7f80d57-c4de-43be-975d-5bcca2973ed7 2025-06-18 11:28:42,447 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93188170:ctest-vn-15619620', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93188170', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2736780235520954036', 'uuid-lslong': '12601442458230324235'}, 'enable': 'true', 'created': '2025-06-18T11:28:40', 'last-modified': '2025-06-18T11:28:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.976817'} 2025-06-18 11:28:42,454 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-18 11:28:42,455 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15619620 passed 2025-06-18 11:28:42,455 - DEBUG - ====Verifying policy data for ctest-vn-15619620 in API_Server ====== 2025-06-18 11:28:42,455 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 11:28:42,462 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0bbc921d-4fd2-4d53-a423-40fcf4925ed0 2025-06-18 11:28:42,476 - DEBUG - Requesting: http://10.0.0.254:8082/project/0b0cf57b-d364-4e3e-8931-71a60d61af91 2025-06-18 11:28:42,546 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/25faff1f-c689-4eb4-aee1-51268457fc0b 2025-06-18 11:28:42,562 - DEBUG - ==>Verifying data for policy with id: cfe7965d-4968-492e-b410-75cdb196ac9b, fqn: ['default-domain', 'ctest-TestBasicPolicy-93188170', 'ctest-policy-allow-all-61692503'] 2025-06-18 11:28:42,562 - INFO - VN ctest-vn-15619620 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-18 11:28:42,562 - DEBUG - Verifying the vn in opserver 2025-06-18 11:28:42,562 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93188170:ctest-vn-15619620 virtual network link through opserver 10.0.0.254 2025-06-18 11:28:42,562 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-18 11:28:42,858 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-18 11:28:42,915 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93188170:ctest-vn-15619620', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93188170:ctest-vn-15619620?flat'} 2025-06-18 11:28:42,915 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93188170:ctest-vn-15619620 is found in opserver 2025-06-18 11:28:42,929 - DEBUG - Do not have enough data to verify VN in agent 2025-06-18 11:28:42,935 - DEBUG - VRF ids for VN ctest-vn-15619620: {} 2025-06-18 11:28:42,935 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 11:28:42,941 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0bbc921d-4fd2-4d53-a423-40fcf4925ed0 2025-06-18 11:28:42,954 - DEBUG - Requesting: http://10.0.0.254:8082/project/0b0cf57b-d364-4e3e-8931-71a60d61af91 2025-06-18 11:28:43,030 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/53c28eff-e229-443c-b19a-130ad01d75dd 2025-06-18 11:28:43,043 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/53c28eff-e229-443c-b19a-130ad01d75dd 2025-06-18 11:28:43,053 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7a2e3441-52ed-4c6d-97af-8bd5a31a0162 2025-06-18 11:28:43,061 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7a2e3441-52ed-4c6d-97af-8bd5a31a0162 2025-06-18 11:28:43,069 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9fb857d1-57a7-4dbb-8130-df6bb86170f4 2025-06-18 11:28:43,077 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-18 11:28:43,077 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/53c28eff-e229-443c-b19a-130ad01d75dd 2025-06-18 11:28:43,090 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7a2e3441-52ed-4c6d-97af-8bd5a31a0162 2025-06-18 11:28:43,108 - INFO - Verified VN network id 9 for VN 53c28eff-e229-443c-b19a-130ad01d75dd 2025-06-18 11:28:43,108 - INFO - Verifications in API Server for VN ctest-vn-81586695 passed 2025-06-18 11:28:43,108 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/53c28eff-e229-443c-b19a-130ad01d75dd 2025-06-18 11:28:43,136 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7a2e3441-52ed-4c6d-97af-8bd5a31a0162 2025-06-18 11:28:43,145 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7a2e3441-52ed-4c6d-97af-8bd5a31a0162 2025-06-18 11:28:43,155 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9fb857d1-57a7-4dbb-8130-df6bb86170f4 2025-06-18 11:28:43,169 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93188170:ctest-vn-81586695', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93188170', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6035543680292045884', 'uuid-lslong': '12797562228288878045'}, 'enable': 'true', 'created': '2025-06-18T11:28:40', 'last-modified': '2025-06-18T11:28:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.463534'} 2025-06-18 11:28:43,177 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-18 11:28:43,177 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81586695 passed 2025-06-18 11:28:43,177 - DEBUG - ====Verifying policy data for ctest-vn-81586695 in API_Server ====== 2025-06-18 11:28:43,177 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 11:28:43,185 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0bbc921d-4fd2-4d53-a423-40fcf4925ed0 2025-06-18 11:28:43,197 - DEBUG - Requesting: http://10.0.0.254:8082/project/0b0cf57b-d364-4e3e-8931-71a60d61af91 2025-06-18 11:28:43,271 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/53c28eff-e229-443c-b19a-130ad01d75dd 2025-06-18 11:28:43,284 - DEBUG - ==>Verifying data for policy with id: cfe7965d-4968-492e-b410-75cdb196ac9b, fqn: ['default-domain', 'ctest-TestBasicPolicy-93188170', 'ctest-policy-allow-all-61692503'] 2025-06-18 11:28:43,284 - INFO - VN ctest-vn-81586695 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-18 11:28:43,284 - DEBUG - Verifying the vn in opserver 2025-06-18 11:28:43,284 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93188170:ctest-vn-81586695 virtual network link through opserver 10.0.0.254 2025-06-18 11:28:43,284 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-18 11:28:43,295 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93188170:ctest-vn-81586695', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93188170:ctest-vn-81586695?flat'} 2025-06-18 11:28:43,295 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93188170:ctest-vn-81586695 is found in opserver 2025-06-18 11:28:43,306 - DEBUG - Do not have enough data to verify VN in agent 2025-06-18 11:28:43,311 - DEBUG - VRF ids for VN ctest-vn-81586695: {} 2025-06-18 11:28:43,373 - DEBUG - Services list from nova: [, , ] 2025-06-18 11:28:44,397 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3473-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3473-1) 2025-06-18 11:28:45,653 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3473-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3473-1) 2025-06-18 11:28:45,653 - INFO - Waiting for VM ctest-TestBasicPolicy-93188170-41108617 to be up.. 2025-06-18 11:28:45,747 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 11:28:50,832 - DEBUG - VM is in ACTIVE state now 2025-06-18 11:28:50,833 - INFO - VM name : ctest-TestBasicPolicy-93188170-41108617 2025-06-18 11:28:50,934 - DEBUG - VM ctest-TestBasicPolicy-93188170-41108617 ID is 7153cf1e-f351-41c8-970a-1c7150d67dfa 2025-06-18 11:28:50,955 - DEBUG - VM ctest-TestBasicPolicy-93188170-41108617 launched on Node cn-jenkins-deploy-platform-ansible-os-3473-1 2025-06-18 11:28:51,053 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7153cf1e-f351-41c8-970a-1c7150d67dfa 2025-06-18 11:28:51,064 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0b64328c-cfd4-4070-a112-544f207d1a74 2025-06-18 11:28:54,329 - 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') 2025-06-18 11:28:54,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93188170-41108617 failed! 2025-06-18 11:28:54,388 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-93188170:ctest-vn-15619620 is 130.44.12.65 and allocation pool is NOT set 2025-06-18 11:28:56,444 - 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=6.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.485 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.485/3.294/6.104/2.809 ms') 2025-06-18 11:28:56,445 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93188170-41108617 passed 2025-06-18 11:28:56,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 11:28:56,600 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93188170-41108617, IP 130.44.12.67, Port 22 2025-06-18 11:28:56,770 - DEBUG - VM ctest-TestBasicPolicy-93188170-41108617 is ready for SSH connections 2025-06-18 11:28:56,771 - INFO - Waiting for VM ctest-TestBasicPolicy-93188170-32716563 to be up.. 2025-06-18 11:28:56,866 - DEBUG - VM is in ACTIVE state now 2025-06-18 11:28:56,866 - INFO - VM name : ctest-TestBasicPolicy-93188170-32716563 2025-06-18 11:28:56,949 - DEBUG - VM ctest-TestBasicPolicy-93188170-32716563 ID is 55a3dd00-ad3e-4c2f-9047-aa4fe9fcbd14 2025-06-18 11:28:56,950 - DEBUG - VM ctest-TestBasicPolicy-93188170-32716563 launched on Node cn-jenkins-deploy-platform-ansible-os-3473-1 2025-06-18 11:28:57,034 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/55a3dd00-ad3e-4c2f-9047-aa4fe9fcbd14 2025-06-18 11:28:57,045 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3fdb7bca-5f31-4a64-a254-003eef755d6c 2025-06-18 11:28:58,281 - 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=3.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.416 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.416/1.810/3.205/1.394 ms') 2025-06-18 11:28:58,281 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-93188170-32716563 passed 2025-06-18 11:28:58,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 11:28:58,436 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93188170-32716563, IP 103.173.245.67, Port 22 2025-06-18 11:28:58,598 - DEBUG - VM ctest-TestBasicPolicy-93188170-32716563 is ready for SSH connections 2025-06-18 11:28:58,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 11:28:58,599 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.173.245.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-18 11:28:58,599 - DEBUG - ping -s 56 -c 3 -W 1 103.173.245.67 2025-06-18 11:29:02,285 - DEBUG - PING 103.173.245.67 (103.173.245.67): 56 data bytes 64 bytes from 103.173.245.67: seq=0 ttl=63 time=3.847 ms 64 bytes from 103.173.245.67: seq=1 ttl=63 time=0.889 ms 64 bytes from 103.173.245.67: seq=2 ttl=63 time=0.907 ms --- 103.173.245.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/1.881/3.847 ms 2025-06-18 11:29:02,286 - INFO - Ping to IP 103.173.245.67 from VM ctest-TestBasicPolicy-93188170-41108617 passed 2025-06-18 11:29:02,483 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cfe7965d-4968-492e-b410-75cdb196ac9b", "href": "http://10.0.0.254:8082/network-policy/cfe7965d-4968-492e-b410-75cdb196ac9b"}} 2025-06-18 11:29:02,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 11:29:02,484 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.173.245.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-18 11:29:02,484 - DEBUG - ping -s 56 -c 3 -W 1 103.173.245.67 2025-06-18 11:29:05,690 - DEBUG - PING 103.173.245.67 (103.173.245.67): 56 data bytes --- 103.173.245.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-18 11:29:05,691 - WARNING - Ping to IP 103.173.245.67 from VM ctest-TestBasicPolicy-93188170-41108617 failed 2025-06-18 11:29:05,691 - INFO - Deleting VM ctest-TestBasicPolicy-93188170-32716563 2025-06-18 11:29:05,764 - INFO - Deleting VM ctest-TestBasicPolicy-93188170-41108617 2025-06-18 11:29:06,155 - INFO - Deleted policy ctest-policy-allow-all-61692503 2025-06-18 11:29:06,156 - INFO - Deleting VN ctest-vn-81586695 2025-06-18 11:29:06,188 - DEBUG - VN 53c28eff-e229-443c-b19a-130ad01d75dd still in use: Unable to complete operation on network 53c28eff-e229-443c-b19a-130ad01d75dd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ee06c45-3b53-4820-827d-78cf8a3788e9'] 2025-06-18 11:29:06,188 - WARNING - Deleting VN ctest-vn-81586695 failed..Will retry 2025-06-18 11:29:08,299 - DEBUG - Response for deleting network () 2025-06-18 11:29:08,299 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7a2e3441-52ed-4c6d-97af-8bd5a31a0162 2025-06-18 11:29:08,308 - DEBUG - Response Code: 404 2025-06-18 11:29:08,308 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 11:29:08,314 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0bbc921d-4fd2-4d53-a423-40fcf4925ed0 2025-06-18 11:29:08,377 - DEBUG - Requesting: http://10.0.0.254:8082/project/0b0cf57b-d364-4e3e-8931-71a60d61af91 2025-06-18 11:29:08,458 - INFO - Validated that VN ctest-vn-81586695 is not found in API Server 2025-06-18 11:29:08,470 - DEBUG - VN ctest-vn-81586695 is not present in Agent 10.0.0.254 2025-06-18 11:29:08,470 - INFO - Validated that VN ctest-vn-81586695 is not in any agent 2025-06-18 11:29:08,488 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81586695 info 2025-06-18 11:29:08,488 - INFO - Deleting VN ctest-vn-15619620 2025-06-18 11:29:08,600 - DEBUG - Response for deleting network () 2025-06-18 11:29:08,600 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/20822a04-83a4-4ea4-88c6-6ba95fb313b1 2025-06-18 11:29:08,606 - DEBUG - Response Code: 404 2025-06-18 11:29:08,606 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-18 11:29:08,612 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0bbc921d-4fd2-4d53-a423-40fcf4925ed0 2025-06-18 11:29:08,670 - DEBUG - Requesting: http://10.0.0.254:8082/project/0b0cf57b-d364-4e3e-8931-71a60d61af91 2025-06-18 11:29:08,749 - INFO - Validated that VN ctest-vn-15619620 is not found in API Server 2025-06-18 11:29:08,760 - DEBUG - VN ctest-vn-15619620 is not present in Agent 10.0.0.254 2025-06-18 11:29:08,760 - INFO - Validated that VN ctest-vn-15619620 is not in any agent 2025-06-18 11:29:08,777 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15619620 info 2025-06-18 11:29:09,038 - DEBUG - No XMPP flaps were noticed during the test 2025-06-18 11:29:09,038 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-18 11:29:09,038 - INFO - -------------------------------------------------------------------------------- 2025-06-18 11:29:09,749 - INFO - Deleted project: ctest-TestBasicPolicy-93188170, ID : 0b0cf57b-d364-4e3e-8931-71a60d61af91