2025-09-25 10:12:20,382 - INFO - Domain Default found not creating 2025-09-25 10:12:20,544 - INFO - Project ctest-TestBasicPolicy-54474071 not found, creating it 2025-09-25 10:12:20,984 - INFO - Created Project:ctest-TestBasicPolicy-54474071, ID : f9e8642b-53f4-4849-b05c-0624886cbdc4 2025-09-25 10:12:22,348 - INFO - ================================================================================ 2025-09-25 10:12:22,348 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-25 10:12:22,348 - 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-25 10:12:22,603 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-25 10:12:22,603 - INFO - Initial checks done. Running the testcase now 2025-09-25 10:12:22,603 - INFO - 2025-09-25 10:12:23,132 - DEBUG - Response for create_network : {'network': {'id': '5630bc2b-39a5-42f4-a71c-df300c40ba3b', 'name': 'ctest-vn-68956769', 'tenant_id': 'f9e8642b53f44849b05c0624886cbdc4', 'project_id': 'f9e8642b53f44849b05c0624886cbdc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54474071', 'ctest-vn-68956769'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 10:12:23,291 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f27c8c9b-86bc-444e-bad3-f69abdbba8d2', 'name': '', 'tenant_id': 'f9e8642b53f44849b05c0624886cbdc4', 'network_id': '5630bc2b-39a5-42f4-a71c-df300c40ba3b', 'ip_version': 4, 'cidr': '203.192.95.64/26', 'allocation_pools': [{'start': '203.192.95.66', 'end': '203.192.95.126'}], 'gateway_ip': '203.192.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.192.95.66', 'tags': [], 'project_id': 'f9e8642b53f44849b05c0624886cbdc4'}} 2025-09-25 10:12:23,308 - INFO - Created VN ctest-vn-68956769 2025-09-25 10:12:23,361 - DEBUG - VN ctest-vn-68956769 UUID is 5630bc2b-39a5-42f4-a71c-df300c40ba3b 2025-09-25 10:12:23,664 - DEBUG - Response for create_network : {'network': {'id': '8b35942c-7d39-4213-bfe3-ba685a7a2ebf', 'name': 'ctest-vn-45341827', 'tenant_id': 'f9e8642b53f44849b05c0624886cbdc4', 'project_id': 'f9e8642b53f44849b05c0624886cbdc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54474071', 'ctest-vn-45341827'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 10:12:23,832 - DEBUG - Response for create_subnet : {'subnet': {'id': '4020e7a0-dbc8-4b3a-92c3-3647accc8f18', 'name': '', 'tenant_id': 'f9e8642b53f44849b05c0624886cbdc4', 'network_id': '8b35942c-7d39-4213-bfe3-ba685a7a2ebf', 'ip_version': 4, 'cidr': '70.84.202.0/26', 'allocation_pools': [{'start': '70.84.202.2', 'end': '70.84.202.62'}], 'gateway_ip': '70.84.202.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.84.202.2', 'tags': [], 'project_id': 'f9e8642b53f44849b05c0624886cbdc4'}} 2025-09-25 10:12:23,849 - INFO - Created VN ctest-vn-45341827 2025-09-25 10:12:23,901 - DEBUG - VN ctest-vn-45341827 UUID is 8b35942c-7d39-4213-bfe3-ba685a7a2ebf 2025-09-25 10:12:24,053 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54474071:ctest-vn-68956769, 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-54474071:ctest-vn-45341827, 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-25 10:12:24,357 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5630bc2b-39a5-42f4-a71c-df300c40ba3b', 'name': 'ctest-vn-68956769', 'tenant_id': 'f9e8642b53f44849b05c0624886cbdc4', 'project_id': 'f9e8642b53f44849b05c0624886cbdc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f27c8c9b-86bc-444e-bad3-f69abdbba8d2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54474071', 'ctest-vn-68956769'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54474071', 'ctest-policy-allow-all-34656570']], 'subnet_ipam': [{'subnet_cidr': '203.192.95.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-25 10:12:24,623 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8b35942c-7d39-4213-bfe3-ba685a7a2ebf', 'name': 'ctest-vn-45341827', 'tenant_id': 'f9e8642b53f44849b05c0624886cbdc4', 'project_id': 'f9e8642b53f44849b05c0624886cbdc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4020e7a0-dbc8-4b3a-92c3-3647accc8f18'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54474071', 'ctest-vn-45341827'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54474071', 'ctest-policy-allow-all-34656570']], 'subnet_ipam': [{'subnet_cidr': '70.84.202.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-25 10:12:24,773 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-25 10:12:25,063 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-25 10:12:25,090 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b5b8a266-7fc7-47e1-96de-23d2eaa95370 2025-09-25 10:12:25,103 - DEBUG - Requesting: http://10.0.0.50:8082/project/f9e8642b-53f4-4849-b05c-0624886cbdc4 2025-09-25 10:12:25,173 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5630bc2b-39a5-42f4-a71c-df300c40ba3b 2025-09-25 10:12:25,184 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5630bc2b-39a5-42f4-a71c-df300c40ba3b 2025-09-25 10:12:25,193 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c3202879-3a66-44a4-8eea-a7e97ee3bfa7 2025-09-25 10:12:25,200 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c3202879-3a66-44a4-8eea-a7e97ee3bfa7 2025-09-25 10:12:25,205 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d1e86081-1d2c-4ac3-986b-ab4d93e12cf8 2025-09-25 10:12:25,210 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-25 10:12:25,211 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5630bc2b-39a5-42f4-a71c-df300c40ba3b 2025-09-25 10:12:25,218 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c3202879-3a66-44a4-8eea-a7e97ee3bfa7 2025-09-25 10:12:25,230 - INFO - Verified VN network id 10 for VN 5630bc2b-39a5-42f4-a71c-df300c40ba3b 2025-09-25 10:12:25,230 - INFO - Verifications in API Server for VN ctest-vn-68956769 passed 2025-09-25 10:12:25,230 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5630bc2b-39a5-42f4-a71c-df300c40ba3b 2025-09-25 10:12:25,237 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c3202879-3a66-44a4-8eea-a7e97ee3bfa7 2025-09-25 10:12:25,243 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c3202879-3a66-44a4-8eea-a7e97ee3bfa7 2025-09-25 10:12:25,248 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d1e86081-1d2c-4ac3-986b-ab4d93e12cf8 2025-09-25 10:12:25,259 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54474071:ctest-vn-68956769', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54474071', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6210670779980661492', 'uuid-lslong': '12041744901138856507'}, 'enable': 'true', 'created': '2025-09-25T10:12:23', 'last-modified': '2025-09-25T10:12:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.922634'} 2025-09-25 10:12:25,266 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-25 10:12:25,266 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68956769 passed 2025-09-25 10:12:25,266 - DEBUG - ====Verifying policy data for ctest-vn-68956769 in API_Server ====== 2025-09-25 10:12:25,266 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-25 10:12:25,274 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b5b8a266-7fc7-47e1-96de-23d2eaa95370 2025-09-25 10:12:25,283 - DEBUG - Requesting: http://10.0.0.50:8082/project/f9e8642b-53f4-4849-b05c-0624886cbdc4 2025-09-25 10:12:25,351 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5630bc2b-39a5-42f4-a71c-df300c40ba3b 2025-09-25 10:12:25,359 - DEBUG - ==>Verifying data for policy with id: 5e0c66f1-c440-4ccf-b885-5e5eb4a58429, fqn: ['default-domain', 'ctest-TestBasicPolicy-54474071', 'ctest-policy-allow-all-34656570'] 2025-09-25 10:12:25,360 - INFO - VN ctest-vn-68956769 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-25 10:12:25,360 - DEBUG - Verifying the vn in opserver 2025-09-25 10:12:25,360 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54474071:ctest-vn-68956769 virtual network link through opserver 10.0.0.50 2025-09-25 10:12:25,360 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-25 10:12:25,647 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-25 10:12:25,696 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54474071:ctest-vn-68956769', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54474071:ctest-vn-68956769?flat'} 2025-09-25 10:12:25,696 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54474071:ctest-vn-68956769 is found in opserver 2025-09-25 10:12:25,706 - DEBUG - Do not have enough data to verify VN in agent 2025-09-25 10:12:25,710 - DEBUG - VRF ids for VN ctest-vn-68956769: {} 2025-09-25 10:12:25,710 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-25 10:12:25,715 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b5b8a266-7fc7-47e1-96de-23d2eaa95370 2025-09-25 10:12:25,724 - DEBUG - Requesting: http://10.0.0.50:8082/project/f9e8642b-53f4-4849-b05c-0624886cbdc4 2025-09-25 10:12:25,796 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8b35942c-7d39-4213-bfe3-ba685a7a2ebf 2025-09-25 10:12:25,807 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8b35942c-7d39-4213-bfe3-ba685a7a2ebf 2025-09-25 10:12:25,815 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9c410a25-8c01-4587-891b-1be3b3832120 2025-09-25 10:12:25,821 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9c410a25-8c01-4587-891b-1be3b3832120 2025-09-25 10:12:25,827 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a3bf7bb0-4d1f-4865-9bce-5e63e76948a5 2025-09-25 10:12:25,833 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-25 10:12:25,833 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8b35942c-7d39-4213-bfe3-ba685a7a2ebf 2025-09-25 10:12:25,841 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9c410a25-8c01-4587-891b-1be3b3832120 2025-09-25 10:12:25,853 - INFO - Verified VN network id 11 for VN 8b35942c-7d39-4213-bfe3-ba685a7a2ebf 2025-09-25 10:12:25,853 - INFO - Verifications in API Server for VN ctest-vn-45341827 passed 2025-09-25 10:12:25,853 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8b35942c-7d39-4213-bfe3-ba685a7a2ebf 2025-09-25 10:12:25,861 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9c410a25-8c01-4587-891b-1be3b3832120 2025-09-25 10:12:25,866 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9c410a25-8c01-4587-891b-1be3b3832120 2025-09-25 10:12:25,872 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a3bf7bb0-4d1f-4865-9bce-5e63e76948a5 2025-09-25 10:12:25,882 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54474071:ctest-vn-45341827', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54474071', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10031086663838024211', 'uuid-lslong': '13827100238314876607'}, 'enable': 'true', 'created': '2025-09-25T10:12:23', 'last-modified': '2025-09-25T10:12:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.320624'} 2025-09-25 10:12:25,887 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-25 10:12:25,887 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45341827 passed 2025-09-25 10:12:25,887 - DEBUG - ====Verifying policy data for ctest-vn-45341827 in API_Server ====== 2025-09-25 10:12:25,887 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-25 10:12:25,893 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b5b8a266-7fc7-47e1-96de-23d2eaa95370 2025-09-25 10:12:25,908 - DEBUG - Requesting: http://10.0.0.50:8082/project/f9e8642b-53f4-4849-b05c-0624886cbdc4 2025-09-25 10:12:25,976 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8b35942c-7d39-4213-bfe3-ba685a7a2ebf 2025-09-25 10:12:25,985 - DEBUG - ==>Verifying data for policy with id: 5e0c66f1-c440-4ccf-b885-5e5eb4a58429, fqn: ['default-domain', 'ctest-TestBasicPolicy-54474071', 'ctest-policy-allow-all-34656570'] 2025-09-25 10:12:25,985 - INFO - VN ctest-vn-45341827 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-25 10:12:25,985 - DEBUG - Verifying the vn in opserver 2025-09-25 10:12:25,985 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54474071:ctest-vn-45341827 virtual network link through opserver 10.0.0.50 2025-09-25 10:12:25,985 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-25 10:12:25,993 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54474071:ctest-vn-45341827', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54474071:ctest-vn-45341827?flat'} 2025-09-25 10:12:25,993 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54474071:ctest-vn-45341827 is found in opserver 2025-09-25 10:12:26,002 - DEBUG - Do not have enough data to verify VN in agent 2025-09-25 10:12:26,008 - DEBUG - VRF ids for VN ctest-vn-45341827: {} 2025-09-25 10:12:26,060 - DEBUG - Services list from nova: [, , ] 2025-09-25 10:12:27,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4191-1) 2025-09-25 10:12:28,301 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4191-1) 2025-09-25 10:12:28,301 - INFO - Waiting for VM ctest-TestBasicPolicy-54474071-23622319 to be up.. 2025-09-25 10:12:28,427 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 10:12:33,503 - DEBUG - VM is in ACTIVE state now 2025-09-25 10:12:33,503 - INFO - VM name : ctest-TestBasicPolicy-54474071-23622319 2025-09-25 10:12:33,571 - DEBUG - VM ctest-TestBasicPolicy-54474071-23622319 ID is aeabe7ba-c343-4bab-8e6e-51738f21bcd8 2025-09-25 10:12:33,589 - DEBUG - VM ctest-TestBasicPolicy-54474071-23622319 launched on Node cn-jenkins-deploy-platform-ansible-os-4191-1 2025-09-25 10:12:33,660 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/aeabe7ba-c343-4bab-8e6e-51738f21bcd8 2025-09-25 10:12:33,668 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/da48aa94-1fa9-4af7-b4bc-103307ea5e39 2025-09-25 10:12:36,915 - 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-09-25 10:12:36,915 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54474071-23622319 failed! 2025-09-25 10:12:36,969 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54474071:ctest-vn-68956769 is 203.192.95.65 and allocation pool is NOT set 2025-09-25 10:12:39,030 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.515 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.515/1.819/3.123/1.304 ms') 2025-09-25 10:12:39,031 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54474071-23622319 passed 2025-09-25 10:12:39,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 10:12:39,177 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54474071-23622319, IP 203.192.95.67, Port 22 2025-09-25 10:12:39,344 - DEBUG - VM ctest-TestBasicPolicy-54474071-23622319 is ready for SSH connections 2025-09-25 10:12:39,344 - INFO - Waiting for VM ctest-TestBasicPolicy-54474071-58456764 to be up.. 2025-09-25 10:12:39,423 - DEBUG - VM is in ACTIVE state now 2025-09-25 10:12:39,423 - INFO - VM name : ctest-TestBasicPolicy-54474071-58456764 2025-09-25 10:12:39,492 - DEBUG - VM ctest-TestBasicPolicy-54474071-58456764 ID is 703b29f9-de34-4669-a8d4-f3a8d799f2cf 2025-09-25 10:12:39,492 - DEBUG - VM ctest-TestBasicPolicy-54474071-58456764 launched on Node cn-jenkins-deploy-platform-ansible-os-4191-1 2025-09-25 10:12:39,574 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/703b29f9-de34-4669-a8d4-f3a8d799f2cf 2025-09-25 10:12:39,581 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9f6ae66d-a3db-4bd9-b5bf-33679b269b0e 2025-09-25 10:12:40,818 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/1.496/2.562/1.066 ms') 2025-09-25 10:12:40,818 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54474071-58456764 passed 2025-09-25 10:12:40,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 10:12:40,969 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54474071-58456764, IP 70.84.202.3, Port 22 2025-09-25 10:12:41,125 - DEBUG - VM ctest-TestBasicPolicy-54474071-58456764 is ready for SSH connections 2025-09-25 10:12:41,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 10:12:41,125 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.84.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-25 10:12:41,125 - DEBUG - ping -s 56 -c 3 -W 1 70.84.202.3 2025-09-25 10:12:44,874 - DEBUG - PING 70.84.202.3 (70.84.202.3): 56 data bytes 64 bytes from 70.84.202.3: seq=0 ttl=63 time=4.169 ms 64 bytes from 70.84.202.3: seq=1 ttl=63 time=0.826 ms 64 bytes from 70.84.202.3: seq=2 ttl=63 time=0.938 ms --- 70.84.202.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/1.977/4.169 ms 2025-09-25 10:12:44,874 - INFO - Ping to IP 70.84.202.3 from VM ctest-TestBasicPolicy-54474071-23622319 passed 2025-09-25 10:12:45,057 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5e0c66f1-c440-4ccf-b885-5e5eb4a58429", "href": "http://10.0.0.50:8082/network-policy/5e0c66f1-c440-4ccf-b885-5e5eb4a58429"}} 2025-09-25 10:12:45,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 10:12:45,057 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.84.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-25 10:12:45,057 - DEBUG - ping -s 56 -c 3 -W 1 70.84.202.3 2025-09-25 10:12:48,255 - DEBUG - PING 70.84.202.3 (70.84.202.3): 56 data bytes --- 70.84.202.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-25 10:12:48,255 - WARNING - Ping to IP 70.84.202.3 from VM ctest-TestBasicPolicy-54474071-23622319 failed 2025-09-25 10:12:48,255 - INFO - Deleting VM ctest-TestBasicPolicy-54474071-58456764 2025-09-25 10:12:48,328 - INFO - Deleting VM ctest-TestBasicPolicy-54474071-23622319 2025-09-25 10:12:48,683 - INFO - Deleted policy ctest-policy-allow-all-34656570 2025-09-25 10:12:48,684 - INFO - Deleting VN ctest-vn-45341827 2025-09-25 10:12:48,716 - DEBUG - VN 8b35942c-7d39-4213-bfe3-ba685a7a2ebf still in use: Unable to complete operation on network 8b35942c-7d39-4213-bfe3-ba685a7a2ebf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-74fee8b0-c436-431f-9ff4-cfb62d5e9e94'] 2025-09-25 10:12:48,716 - WARNING - Deleting VN ctest-vn-45341827 failed..Will retry 2025-09-25 10:12:50,814 - DEBUG - Response for deleting network () 2025-09-25 10:12:50,814 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9c410a25-8c01-4587-891b-1be3b3832120 2025-09-25 10:12:50,819 - DEBUG - Response Code: 404 2025-09-25 10:12:50,819 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-25 10:12:50,824 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b5b8a266-7fc7-47e1-96de-23d2eaa95370 2025-09-25 10:12:50,875 - DEBUG - Requesting: http://10.0.0.50:8082/project/f9e8642b-53f4-4849-b05c-0624886cbdc4 2025-09-25 10:12:50,944 - INFO - Validated that VN ctest-vn-45341827 is not found in API Server 2025-09-25 10:12:50,953 - DEBUG - VN ctest-vn-45341827 is not present in Agent 10.0.0.50 2025-09-25 10:12:50,953 - INFO - Validated that VN ctest-vn-45341827 is not in any agent 2025-09-25 10:12:50,967 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45341827 info 2025-09-25 10:12:50,968 - INFO - Deleting VN ctest-vn-68956769 2025-09-25 10:12:51,065 - DEBUG - Response for deleting network () 2025-09-25 10:12:51,066 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c3202879-3a66-44a4-8eea-a7e97ee3bfa7 2025-09-25 10:12:51,073 - DEBUG - Response Code: 404 2025-09-25 10:12:51,073 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-25 10:12:51,078 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b5b8a266-7fc7-47e1-96de-23d2eaa95370 2025-09-25 10:12:51,130 - DEBUG - Requesting: http://10.0.0.50:8082/project/f9e8642b-53f4-4849-b05c-0624886cbdc4 2025-09-25 10:12:51,198 - INFO - Validated that VN ctest-vn-68956769 is not found in API Server 2025-09-25 10:12:51,206 - DEBUG - VN ctest-vn-68956769 is not present in Agent 10.0.0.50 2025-09-25 10:12:51,206 - INFO - Validated that VN ctest-vn-68956769 is not in any agent 2025-09-25 10:12:51,217 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68956769 info 2025-09-25 10:12:51,470 - DEBUG - No XMPP flaps were noticed during the test 2025-09-25 10:12:51,470 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-25 10:12:51,470 - INFO - -------------------------------------------------------------------------------- 2025-09-25 10:12:52,122 - INFO - Deleted project: ctest-TestBasicPolicy-54474071, ID : f9e8642b-53f4-4849-b05c-0624886cbdc4