2025-09-08 15:33:15,604 - INFO - Domain Default found not creating 2025-09-08 15:33:15,727 - INFO - Project ctest-TestBasicPolicy-60599780 not found, creating it 2025-09-08 15:33:16,138 - INFO - Created Project:ctest-TestBasicPolicy-60599780, ID : 9d6ce1da-6a1d-4333-a5c7-d49189be3b8d 2025-09-08 15:33:17,446 - INFO - ================================================================================ 2025-09-08 15:33:17,446 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-08 15:33:17,446 - 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-09-08 15:33:17,705 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-09-08 15:33:17,705 - INFO - Initial checks done. Running the testcase now 2025-09-08 15:33:17,705 - INFO - 2025-09-08 15:33:18,209 - DEBUG - Response for create_network : {'network': {'id': '1ef30686-9970-47a6-883d-1d6d4c09024e', 'name': 'ctest-vn-08122681', 'tenant_id': '9d6ce1da6a1d4333a5c7d49189be3b8d', 'project_id': '9d6ce1da6a1d4333a5c7d49189be3b8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60599780', 'ctest-vn-08122681'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 15:33:18,380 - DEBUG - Response for create_subnet : {'subnet': {'id': '273fb756-580a-47a8-89ee-eacc4447a50a', 'name': '', 'tenant_id': '9d6ce1da6a1d4333a5c7d49189be3b8d', 'network_id': '1ef30686-9970-47a6-883d-1d6d4c09024e', 'ip_version': 4, 'cidr': '132.200.234.0/26', 'allocation_pools': [{'start': '132.200.234.2', 'end': '132.200.234.62'}], 'gateway_ip': '132.200.234.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.200.234.2', 'tags': [], 'project_id': '9d6ce1da6a1d4333a5c7d49189be3b8d'}} 2025-09-08 15:33:18,395 - INFO - Created VN ctest-vn-08122681 2025-09-08 15:33:18,447 - DEBUG - VN ctest-vn-08122681 UUID is 1ef30686-9970-47a6-883d-1d6d4c09024e 2025-09-08 15:33:18,749 - DEBUG - Response for create_network : {'network': {'id': 'ddfba3c0-9814-47fc-83b6-9ef448cbc9e9', 'name': 'ctest-vn-05972400', 'tenant_id': '9d6ce1da6a1d4333a5c7d49189be3b8d', 'project_id': '9d6ce1da6a1d4333a5c7d49189be3b8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60599780', 'ctest-vn-05972400'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 15:33:18,910 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2a96a9e-591f-4861-8ed6-f1aae3107e22', 'name': '', 'tenant_id': '9d6ce1da6a1d4333a5c7d49189be3b8d', 'network_id': 'ddfba3c0-9814-47fc-83b6-9ef448cbc9e9', 'ip_version': 4, 'cidr': '45.233.3.128/26', 'allocation_pools': [{'start': '45.233.3.130', 'end': '45.233.3.190'}], 'gateway_ip': '45.233.3.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.233.3.130', 'tags': [], 'project_id': '9d6ce1da6a1d4333a5c7d49189be3b8d'}} 2025-09-08 15:33:18,925 - INFO - Created VN ctest-vn-05972400 2025-09-08 15:33:18,975 - DEBUG - VN ctest-vn-05972400 UUID is ddfba3c0-9814-47fc-83b6-9ef448cbc9e9 2025-09-08 15:33:19,119 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60599780:ctest-vn-08122681, 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-60599780:ctest-vn-05972400, 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-09-08 15:33:19,392 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1ef30686-9970-47a6-883d-1d6d4c09024e', 'name': 'ctest-vn-08122681', 'tenant_id': '9d6ce1da6a1d4333a5c7d49189be3b8d', 'project_id': '9d6ce1da6a1d4333a5c7d49189be3b8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['273fb756-580a-47a8-89ee-eacc4447a50a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60599780', 'ctest-vn-08122681'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60599780', 'ctest-policy-allow-all-75633087']], 'subnet_ipam': [{'subnet_cidr': '132.200.234.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-08 15:33:19,561 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ddfba3c0-9814-47fc-83b6-9ef448cbc9e9', 'name': 'ctest-vn-05972400', 'tenant_id': '9d6ce1da6a1d4333a5c7d49189be3b8d', 'project_id': '9d6ce1da6a1d4333a5c7d49189be3b8d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c2a96a9e-591f-4861-8ed6-f1aae3107e22'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60599780', 'ctest-vn-05972400'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60599780', 'ctest-policy-allow-all-75633087']], 'subnet_ipam': [{'subnet_cidr': '45.233.3.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-08 15:33:19,679 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-09-08 15:33:19,970 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-09-08 15:33:20,000 - DEBUG - Requesting: http://10.0.0.249:8082/domain/41c80929-152b-48d6-a0c4-9d4b1d560514 2025-09-08 15:33:20,018 - DEBUG - Requesting: http://10.0.0.249:8082/project/9d6ce1da-6a1d-4333-a5c7-d49189be3b8d 2025-09-08 15:33:20,124 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/1ef30686-9970-47a6-883d-1d6d4c09024e 2025-09-08 15:33:20,138 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/1ef30686-9970-47a6-883d-1d6d4c09024e 2025-09-08 15:33:20,152 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0dd0b157-3c67-473d-ad36-0e4c2ba5f26b 2025-09-08 15:33:20,158 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0dd0b157-3c67-473d-ad36-0e4c2ba5f26b 2025-09-08 15:33:20,163 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8ff55e76-bb28-4a8e-bebf-d6233b531b4d 2025-09-08 15:33:20,168 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-08 15:33:20,168 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/1ef30686-9970-47a6-883d-1d6d4c09024e 2025-09-08 15:33:20,175 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0dd0b157-3c67-473d-ad36-0e4c2ba5f26b 2025-09-08 15:33:20,185 - INFO - Verified VN network id 12 for VN 1ef30686-9970-47a6-883d-1d6d4c09024e 2025-09-08 15:33:20,185 - INFO - Verifications in API Server for VN ctest-vn-08122681 passed 2025-09-08 15:33:20,185 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/1ef30686-9970-47a6-883d-1d6d4c09024e 2025-09-08 15:33:20,193 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0dd0b157-3c67-473d-ad36-0e4c2ba5f26b 2025-09-08 15:33:20,198 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0dd0b157-3c67-473d-ad36-0e4c2ba5f26b 2025-09-08 15:33:20,204 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8ff55e76-bb28-4a8e-bebf-d6233b531b4d 2025-09-08 15:33:20,213 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60599780:ctest-vn-08122681', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60599780', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2230133415648184230', 'uuid-lslong': '9817035118001848910'}, 'enable': 'true', 'created': '2025-09-08T15:33:18', 'last-modified': '2025-09-08T15:33:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.838164'} 2025-09-08 15:33:20,218 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-08 15:33:20,218 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08122681 passed 2025-09-08 15:33:20,218 - DEBUG - ====Verifying policy data for ctest-vn-08122681 in API_Server ====== 2025-09-08 15:33:20,218 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-09-08 15:33:20,222 - DEBUG - Requesting: http://10.0.0.249:8082/domain/41c80929-152b-48d6-a0c4-9d4b1d560514 2025-09-08 15:33:20,231 - DEBUG - Requesting: http://10.0.0.249:8082/project/9d6ce1da-6a1d-4333-a5c7-d49189be3b8d 2025-09-08 15:33:20,306 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/1ef30686-9970-47a6-883d-1d6d4c09024e 2025-09-08 15:33:20,316 - DEBUG - ==>Verifying data for policy with id: 8ec69de9-5602-4e81-96e8-f0dec9495a0e, fqn: ['default-domain', 'ctest-TestBasicPolicy-60599780', 'ctest-policy-allow-all-75633087'] 2025-09-08 15:33:20,316 - INFO - VN ctest-vn-08122681 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-08 15:33:20,316 - DEBUG - Verifying the vn in opserver 2025-09-08 15:33:20,316 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60599780:ctest-vn-08122681 virtual network link through opserver 10.0.0.249 2025-09-08 15:33:20,316 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-09-08 15:33:20,605 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-09-08 15:33:20,653 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60599780:ctest-vn-08122681', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60599780:ctest-vn-08122681?flat'} 2025-09-08 15:33:20,653 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60599780:ctest-vn-08122681 is found in opserver 2025-09-08 15:33:20,661 - DEBUG - Do not have enough data to verify VN in agent 2025-09-08 15:33:20,665 - DEBUG - VRF ids for VN ctest-vn-08122681: {} 2025-09-08 15:33:20,665 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-09-08 15:33:20,669 - DEBUG - Requesting: http://10.0.0.249:8082/domain/41c80929-152b-48d6-a0c4-9d4b1d560514 2025-09-08 15:33:20,678 - DEBUG - Requesting: http://10.0.0.249:8082/project/9d6ce1da-6a1d-4333-a5c7-d49189be3b8d 2025-09-08 15:33:20,747 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ddfba3c0-9814-47fc-83b6-9ef448cbc9e9 2025-09-08 15:33:20,756 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ddfba3c0-9814-47fc-83b6-9ef448cbc9e9 2025-09-08 15:33:20,764 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ad3b6d53-c073-43cd-b6a7-a7ceb21d0e7a 2025-09-08 15:33:20,769 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ad3b6d53-c073-43cd-b6a7-a7ceb21d0e7a 2025-09-08 15:33:20,774 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/92ac7d72-6a8e-404e-8820-1d3f99a104d1 2025-09-08 15:33:20,780 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-08 15:33:20,780 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ddfba3c0-9814-47fc-83b6-9ef448cbc9e9 2025-09-08 15:33:20,787 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ad3b6d53-c073-43cd-b6a7-a7ceb21d0e7a 2025-09-08 15:33:20,798 - INFO - Verified VN network id 13 for VN ddfba3c0-9814-47fc-83b6-9ef448cbc9e9 2025-09-08 15:33:20,798 - INFO - Verifications in API Server for VN ctest-vn-05972400 passed 2025-09-08 15:33:20,798 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ddfba3c0-9814-47fc-83b6-9ef448cbc9e9 2025-09-08 15:33:20,806 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ad3b6d53-c073-43cd-b6a7-a7ceb21d0e7a 2025-09-08 15:33:20,811 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ad3b6d53-c073-43cd-b6a7-a7ceb21d0e7a 2025-09-08 15:33:20,816 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/92ac7d72-6a8e-404e-8820-1d3f99a104d1 2025-09-08 15:33:20,824 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60599780:ctest-vn-05972400', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60599780', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15995558549116962812', 'uuid-lslong': '9490948036760422889'}, 'enable': 'true', 'created': '2025-09-08T15:33:18', 'last-modified': '2025-09-08T15:33:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.281624'} 2025-09-08 15:33:20,829 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-08 15:33:20,829 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05972400 passed 2025-09-08 15:33:20,830 - DEBUG - ====Verifying policy data for ctest-vn-05972400 in API_Server ====== 2025-09-08 15:33:20,830 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-09-08 15:33:20,834 - DEBUG - Requesting: http://10.0.0.249:8082/domain/41c80929-152b-48d6-a0c4-9d4b1d560514 2025-09-08 15:33:20,842 - DEBUG - Requesting: http://10.0.0.249:8082/project/9d6ce1da-6a1d-4333-a5c7-d49189be3b8d 2025-09-08 15:33:20,910 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/ddfba3c0-9814-47fc-83b6-9ef448cbc9e9 2025-09-08 15:33:20,919 - DEBUG - ==>Verifying data for policy with id: 8ec69de9-5602-4e81-96e8-f0dec9495a0e, fqn: ['default-domain', 'ctest-TestBasicPolicy-60599780', 'ctest-policy-allow-all-75633087'] 2025-09-08 15:33:20,919 - INFO - VN ctest-vn-05972400 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-08 15:33:20,919 - DEBUG - Verifying the vn in opserver 2025-09-08 15:33:20,919 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60599780:ctest-vn-05972400 virtual network link through opserver 10.0.0.249 2025-09-08 15:33:20,919 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-09-08 15:33:20,927 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60599780:ctest-vn-05972400', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60599780:ctest-vn-05972400?flat'} 2025-09-08 15:33:20,927 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60599780:ctest-vn-05972400 is found in opserver 2025-09-08 15:33:20,935 - DEBUG - Do not have enough data to verify VN in agent 2025-09-08 15:33:20,938 - DEBUG - VRF ids for VN ctest-vn-05972400: {} 2025-09-08 15:33:20,987 - DEBUG - Services list from nova: [, , ] 2025-09-08 15:33:21,942 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4052-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4052-1) 2025-09-08 15:33:23,033 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4052-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4052-1) 2025-09-08 15:33:23,034 - INFO - Waiting for VM ctest-TestBasicPolicy-60599780-94825667 to be up.. 2025-09-08 15:33:23,106 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 15:33:28,172 - DEBUG - VM is in ACTIVE state now 2025-09-08 15:33:28,172 - INFO - VM name : ctest-TestBasicPolicy-60599780-94825667 2025-09-08 15:33:28,235 - DEBUG - VM ctest-TestBasicPolicy-60599780-94825667 ID is 19cfe451-b179-4be5-8e94-224db84d9a21 2025-09-08 15:33:28,252 - DEBUG - VM ctest-TestBasicPolicy-60599780-94825667 launched on Node cn-jenkins-deploy-platform-ansible-os-4052-1 2025-09-08 15:33:28,314 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/19cfe451-b179-4be5-8e94-224db84d9a21 2025-09-08 15:33:28,321 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ea2b5e1b-644f-460f-8f60-33357d22efde 2025-09-08 15:33:31,578 - 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 1032ms') 2025-09-08 15:33:31,578 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60599780-94825667 failed! 2025-09-08 15:33:31,631 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-60599780:ctest-vn-08122681 is 132.200.234.1 and allocation pool is NOT set 2025-09-08 15:33:33,694 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.298 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.298/1.419/2.540/1.121 ms') 2025-09-08 15:33:33,694 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60599780-94825667 passed 2025-09-08 15:33:33,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:33:33,847 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60599780-94825667, IP 132.200.234.3, Port 22 2025-09-08 15:33:34,003 - DEBUG - VM ctest-TestBasicPolicy-60599780-94825667 is ready for SSH connections 2025-09-08 15:33:34,003 - INFO - Waiting for VM ctest-TestBasicPolicy-60599780-98417738 to be up.. 2025-09-08 15:33:34,069 - DEBUG - VM is in ACTIVE state now 2025-09-08 15:33:34,069 - INFO - VM name : ctest-TestBasicPolicy-60599780-98417738 2025-09-08 15:33:34,128 - DEBUG - VM ctest-TestBasicPolicy-60599780-98417738 ID is d0255629-9bae-4ed1-bd9b-4ac7a3f254b6 2025-09-08 15:33:34,128 - DEBUG - VM ctest-TestBasicPolicy-60599780-98417738 launched on Node cn-jenkins-deploy-platform-ansible-os-4052-1 2025-09-08 15:33:34,187 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d0255629-9bae-4ed1-bd9b-4ac7a3f254b6 2025-09-08 15:33:34,194 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/2c7060f3-793d-443b-bb06-3432e85007c3 2025-09-08 15:33:35,419 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.358 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.358/1.938/3.518/1.580 ms') 2025-09-08 15:33:35,419 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-60599780-98417738 passed 2025-09-08 15:33:35,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:33:35,567 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60599780-98417738, IP 45.233.3.131, Port 22 2025-09-08 15:33:35,722 - DEBUG - VM ctest-TestBasicPolicy-60599780-98417738 is ready for SSH connections 2025-09-08 15:33:35,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:33:35,722 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.233.3.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-09-08 15:33:35,722 - DEBUG - ping -s 56 -c 3 -W 1 45.233.3.131 2025-09-08 15:33:39,404 - DEBUG - PING 45.233.3.131 (45.233.3.131): 56 data bytes 64 bytes from 45.233.3.131: seq=0 ttl=63 time=3.048 ms 64 bytes from 45.233.3.131: seq=1 ttl=63 time=0.942 ms 64 bytes from 45.233.3.131: seq=2 ttl=63 time=0.728 ms --- 45.233.3.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.728/1.572/3.048 ms 2025-09-08 15:33:39,404 - INFO - Ping to IP 45.233.3.131 from VM ctest-TestBasicPolicy-60599780-94825667 passed 2025-09-08 15:33:39,587 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8ec69de9-5602-4e81-96e8-f0dec9495a0e", "href": "http://10.0.0.249:8082/network-policy/8ec69de9-5602-4e81-96e8-f0dec9495a0e"}} 2025-09-08 15:33:39,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:33:39,587 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.233.3.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-09-08 15:33:39,587 - DEBUG - ping -s 56 -c 3 -W 1 45.233.3.131 2025-09-08 15:33:42,786 - DEBUG - PING 45.233.3.131 (45.233.3.131): 56 data bytes --- 45.233.3.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 15:33:42,787 - WARNING - Ping to IP 45.233.3.131 from VM ctest-TestBasicPolicy-60599780-94825667 failed 2025-09-08 15:33:42,787 - INFO - Deleting VM ctest-TestBasicPolicy-60599780-98417738 2025-09-08 15:33:42,848 - INFO - Deleting VM ctest-TestBasicPolicy-60599780-94825667 2025-09-08 15:33:43,182 - INFO - Deleted policy ctest-policy-allow-all-75633087 2025-09-08 15:33:43,182 - INFO - Deleting VN ctest-vn-05972400 2025-09-08 15:33:43,218 - DEBUG - VN ddfba3c0-9814-47fc-83b6-9ef448cbc9e9 still in use: Unable to complete operation on network ddfba3c0-9814-47fc-83b6-9ef448cbc9e9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c11e5cde-a9d1-4e6a-afdb-547b5b265bd0'] 2025-09-08 15:33:43,219 - WARNING - Deleting VN ctest-vn-05972400 failed..Will retry 2025-09-08 15:33:45,311 - DEBUG - Response for deleting network () 2025-09-08 15:33:45,311 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ad3b6d53-c073-43cd-b6a7-a7ceb21d0e7a 2025-09-08 15:33:45,317 - DEBUG - Response Code: 404 2025-09-08 15:33:45,317 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-09-08 15:33:45,321 - DEBUG - Requesting: http://10.0.0.249:8082/domain/41c80929-152b-48d6-a0c4-9d4b1d560514 2025-09-08 15:33:45,376 - DEBUG - Requesting: http://10.0.0.249:8082/project/9d6ce1da-6a1d-4333-a5c7-d49189be3b8d 2025-09-08 15:33:45,441 - INFO - Validated that VN ctest-vn-05972400 is not found in API Server 2025-09-08 15:33:45,449 - DEBUG - VN ctest-vn-05972400 is not present in Agent 10.0.0.249 2025-09-08 15:33:45,449 - INFO - Validated that VN ctest-vn-05972400 is not in any agent 2025-09-08 15:33:45,460 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05972400 info 2025-09-08 15:33:45,460 - INFO - Deleting VN ctest-vn-08122681 2025-09-08 15:33:45,540 - DEBUG - Response for deleting network () 2025-09-08 15:33:45,540 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0dd0b157-3c67-473d-ad36-0e4c2ba5f26b 2025-09-08 15:33:45,544 - DEBUG - Response Code: 404 2025-09-08 15:33:45,545 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-09-08 15:33:45,549 - DEBUG - Requesting: http://10.0.0.249:8082/domain/41c80929-152b-48d6-a0c4-9d4b1d560514 2025-09-08 15:33:45,603 - DEBUG - Requesting: http://10.0.0.249:8082/project/9d6ce1da-6a1d-4333-a5c7-d49189be3b8d 2025-09-08 15:33:45,668 - INFO - Validated that VN ctest-vn-08122681 is not found in API Server 2025-09-08 15:33:45,676 - DEBUG - VN ctest-vn-08122681 is not present in Agent 10.0.0.249 2025-09-08 15:33:45,676 - INFO - Validated that VN ctest-vn-08122681 is not in any agent 2025-09-08 15:33:45,688 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08122681 info 2025-09-08 15:33:45,935 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 15:33:45,935 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-09-08 15:33:45,935 - INFO - -------------------------------------------------------------------------------- 2025-09-08 15:33:46,574 - INFO - Deleted project: ctest-TestBasicPolicy-60599780, ID : 9d6ce1da-6a1d-4333-a5c7-d49189be3b8d