2025-10-31 00:35:09,677 - INFO - Domain Default found not creating 2025-10-31 00:35:09,855 - INFO - Project ctest-TestBasicPolicy-13680464 not found, creating it 2025-10-31 00:35:10,321 - INFO - Created Project:ctest-TestBasicPolicy-13680464, ID : ebb6d96c-ff05-49f9-bb01-bd4d36c0850b 2025-10-31 00:35:11,834 - INFO - ================================================================================ 2025-10-31 00:35:11,834 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-31 00:35:11,834 - 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-10-31 00:35:12,098 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.242': '0'}} with 2025-10-31 00:35:12,098 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:35:12,099 - INFO - 2025-10-31 00:35:12,666 - DEBUG - Response for create_network : {'network': {'id': '3d4cfed5-5670-4cda-8afe-e0f6f2ad4c48', 'name': 'ctest-vn-16158024', 'tenant_id': 'ebb6d96cff0549f9bb01bd4d36c0850b', 'project_id': 'ebb6d96cff0549f9bb01bd4d36c0850b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13680464', 'ctest-vn-16158024'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:35:12,823 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c7d38f6-c080-4c30-ba3e-c4bf71b82d88', 'name': '', 'tenant_id': 'ebb6d96cff0549f9bb01bd4d36c0850b', 'network_id': '3d4cfed5-5670-4cda-8afe-e0f6f2ad4c48', 'ip_version': 4, 'cidr': '36.108.246.64/26', 'allocation_pools': [{'start': '36.108.246.66', 'end': '36.108.246.126'}], 'gateway_ip': '36.108.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.108.246.66', 'tags': [], 'project_id': 'ebb6d96cff0549f9bb01bd4d36c0850b'}} 2025-10-31 00:35:12,848 - INFO - Created VN ctest-vn-16158024 2025-10-31 00:35:12,904 - DEBUG - VN ctest-vn-16158024 UUID is 3d4cfed5-5670-4cda-8afe-e0f6f2ad4c48 2025-10-31 00:35:13,237 - DEBUG - Response for create_network : {'network': {'id': '66d8c451-345d-4fba-abbd-2eed2909b497', 'name': 'ctest-vn-00303258', 'tenant_id': 'ebb6d96cff0549f9bb01bd4d36c0850b', 'project_id': 'ebb6d96cff0549f9bb01bd4d36c0850b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13680464', 'ctest-vn-00303258'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:35:13,470 - DEBUG - Response for create_subnet : {'subnet': {'id': '22204b8a-7e96-472c-a6bb-6c568787bf61', 'name': '', 'tenant_id': 'ebb6d96cff0549f9bb01bd4d36c0850b', 'network_id': '66d8c451-345d-4fba-abbd-2eed2909b497', 'ip_version': 4, 'cidr': '55.45.238.64/26', 'allocation_pools': [{'start': '55.45.238.66', 'end': '55.45.238.126'}], 'gateway_ip': '55.45.238.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.45.238.66', 'tags': [], 'project_id': 'ebb6d96cff0549f9bb01bd4d36c0850b'}} 2025-10-31 00:35:13,489 - INFO - Created VN ctest-vn-00303258 2025-10-31 00:35:13,540 - DEBUG - VN ctest-vn-00303258 UUID is 66d8c451-345d-4fba-abbd-2eed2909b497 2025-10-31 00:35:13,659 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13680464:ctest-vn-16158024, 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-13680464:ctest-vn-00303258, 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-10-31 00:35:13,970 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3d4cfed5-5670-4cda-8afe-e0f6f2ad4c48', 'name': 'ctest-vn-16158024', 'tenant_id': 'ebb6d96cff0549f9bb01bd4d36c0850b', 'project_id': 'ebb6d96cff0549f9bb01bd4d36c0850b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4c7d38f6-c080-4c30-ba3e-c4bf71b82d88'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13680464', 'ctest-vn-16158024'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13680464', 'ctest-policy-allow-all-64105319']], 'subnet_ipam': [{'subnet_cidr': '36.108.246.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:35:14,253 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '66d8c451-345d-4fba-abbd-2eed2909b497', 'name': 'ctest-vn-00303258', 'tenant_id': 'ebb6d96cff0549f9bb01bd4d36c0850b', 'project_id': 'ebb6d96cff0549f9bb01bd4d36c0850b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['22204b8a-7e96-472c-a6bb-6c568787bf61'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13680464', 'ctest-vn-00303258'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13680464', 'ctest-policy-allow-all-64105319']], 'subnet_ipam': [{'subnet_cidr': '55.45.238.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:35:14,408 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-31 00:35:14,716 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-31 00:35:14,748 - DEBUG - Requesting: http://10.0.0.137:8082/domain/edb8b332-5a70-4731-92d7-d2a7959493a2 2025-10-31 00:35:14,761 - DEBUG - Requesting: http://10.0.0.137:8082/project/ebb6d96c-ff05-49f9-bb01-bd4d36c0850b 2025-10-31 00:35:14,836 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/3d4cfed5-5670-4cda-8afe-e0f6f2ad4c48 2025-10-31 00:35:14,846 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/3d4cfed5-5670-4cda-8afe-e0f6f2ad4c48 2025-10-31 00:35:14,854 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/43f92a5e-8497-4c19-a4bc-c6c226e79a2d 2025-10-31 00:35:14,861 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/43f92a5e-8497-4c19-a4bc-c6c226e79a2d 2025-10-31 00:35:14,867 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/2473da66-e18f-40ca-b58a-f93305b90aca 2025-10-31 00:35:14,874 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 00:35:14,874 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/3d4cfed5-5670-4cda-8afe-e0f6f2ad4c48 2025-10-31 00:35:14,883 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/43f92a5e-8497-4c19-a4bc-c6c226e79a2d 2025-10-31 00:35:14,898 - INFO - Verified VN network id 11 for VN 3d4cfed5-5670-4cda-8afe-e0f6f2ad4c48 2025-10-31 00:35:14,898 - INFO - Verifications in API Server for VN ctest-vn-16158024 passed 2025-10-31 00:35:14,898 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/3d4cfed5-5670-4cda-8afe-e0f6f2ad4c48 2025-10-31 00:35:14,909 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/43f92a5e-8497-4c19-a4bc-c6c226e79a2d 2025-10-31 00:35:14,918 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/43f92a5e-8497-4c19-a4bc-c6c226e79a2d 2025-10-31 00:35:14,926 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/2473da66-e18f-40ca-b58a-f93305b90aca 2025-10-31 00:35:14,942 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13680464:ctest-vn-16158024', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13680464', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4417185526775303386', 'uuid-lslong': '10015689972556581960'}, 'enable': 'true', 'created': '2025-10-31T00:35:12', 'last-modified': '2025-10-31T00:35:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.995629'} 2025-10-31 00:35:14,949 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 00:35:14,949 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16158024 passed 2025-10-31 00:35:14,949 - DEBUG - ====Verifying policy data for ctest-vn-16158024 in API_Server ====== 2025-10-31 00:35:14,949 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-31 00:35:14,955 - DEBUG - Requesting: http://10.0.0.137:8082/domain/edb8b332-5a70-4731-92d7-d2a7959493a2 2025-10-31 00:35:14,967 - DEBUG - Requesting: http://10.0.0.137:8082/project/ebb6d96c-ff05-49f9-bb01-bd4d36c0850b 2025-10-31 00:35:15,041 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/3d4cfed5-5670-4cda-8afe-e0f6f2ad4c48 2025-10-31 00:35:15,050 - DEBUG - ==>Verifying data for policy with id: 51db93ee-8084-4aa0-967c-7a6f5ab36620, fqn: ['default-domain', 'ctest-TestBasicPolicy-13680464', 'ctest-policy-allow-all-64105319'] 2025-10-31 00:35:15,050 - INFO - VN ctest-vn-16158024 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 00:35:15,050 - DEBUG - Verifying the vn in opserver 2025-10-31 00:35:15,050 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13680464:ctest-vn-16158024 virtual network link through opserver 10.0.0.137 2025-10-31 00:35:15,051 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-31 00:35:15,345 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-31 00:35:15,417 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13680464:ctest-vn-16158024', 'href': 'http://10.0.0.137:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13680464:ctest-vn-16158024?flat'} 2025-10-31 00:35:15,417 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13680464:ctest-vn-16158024 is found in opserver 2025-10-31 00:35:15,427 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 00:35:15,432 - DEBUG - VRF ids for VN ctest-vn-16158024: {} 2025-10-31 00:35:15,432 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-31 00:35:15,438 - DEBUG - Requesting: http://10.0.0.137:8082/domain/edb8b332-5a70-4731-92d7-d2a7959493a2 2025-10-31 00:35:15,450 - DEBUG - Requesting: http://10.0.0.137:8082/project/ebb6d96c-ff05-49f9-bb01-bd4d36c0850b 2025-10-31 00:35:15,529 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/66d8c451-345d-4fba-abbd-2eed2909b497 2025-10-31 00:35:15,543 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/66d8c451-345d-4fba-abbd-2eed2909b497 2025-10-31 00:35:15,553 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/4ef5fe12-c227-46b8-8fba-0e98bfed1f67 2025-10-31 00:35:15,560 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/4ef5fe12-c227-46b8-8fba-0e98bfed1f67 2025-10-31 00:35:15,567 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/cd88474e-d402-4383-b777-1bffa38fa0a0 2025-10-31 00:35:15,575 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 00:35:15,575 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/66d8c451-345d-4fba-abbd-2eed2909b497 2025-10-31 00:35:15,585 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/4ef5fe12-c227-46b8-8fba-0e98bfed1f67 2025-10-31 00:35:15,603 - INFO - Verified VN network id 12 for VN 66d8c451-345d-4fba-abbd-2eed2909b497 2025-10-31 00:35:15,603 - INFO - Verifications in API Server for VN ctest-vn-00303258 passed 2025-10-31 00:35:15,603 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/66d8c451-345d-4fba-abbd-2eed2909b497 2025-10-31 00:35:15,612 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/4ef5fe12-c227-46b8-8fba-0e98bfed1f67 2025-10-31 00:35:15,619 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/4ef5fe12-c227-46b8-8fba-0e98bfed1f67 2025-10-31 00:35:15,626 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/cd88474e-d402-4383-b777-1bffa38fa0a0 2025-10-31 00:35:15,638 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13680464:ctest-vn-00303258', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13680464', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7410889039888076730', 'uuid-lslong': '12375098947214619799'}, 'enable': 'true', 'created': '2025-10-31T00:35:13', 'last-modified': '2025-10-31T00:35:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.449885'} 2025-10-31 00:35:15,645 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 00:35:15,645 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00303258 passed 2025-10-31 00:35:15,645 - DEBUG - ====Verifying policy data for ctest-vn-00303258 in API_Server ====== 2025-10-31 00:35:15,645 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-31 00:35:15,653 - DEBUG - Requesting: http://10.0.0.137:8082/domain/edb8b332-5a70-4731-92d7-d2a7959493a2 2025-10-31 00:35:15,665 - DEBUG - Requesting: http://10.0.0.137:8082/project/ebb6d96c-ff05-49f9-bb01-bd4d36c0850b 2025-10-31 00:35:15,742 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/66d8c451-345d-4fba-abbd-2eed2909b497 2025-10-31 00:35:15,753 - DEBUG - ==>Verifying data for policy with id: 51db93ee-8084-4aa0-967c-7a6f5ab36620, fqn: ['default-domain', 'ctest-TestBasicPolicy-13680464', 'ctest-policy-allow-all-64105319'] 2025-10-31 00:35:15,753 - INFO - VN ctest-vn-00303258 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 00:35:15,753 - DEBUG - Verifying the vn in opserver 2025-10-31 00:35:15,753 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13680464:ctest-vn-00303258 virtual network link through opserver 10.0.0.137 2025-10-31 00:35:15,753 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-10-31 00:35:15,763 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13680464:ctest-vn-00303258', 'href': 'http://10.0.0.137:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13680464:ctest-vn-00303258?flat'} 2025-10-31 00:35:15,763 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13680464:ctest-vn-00303258 is found in opserver 2025-10-31 00:35:15,772 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 00:35:15,777 - DEBUG - VRF ids for VN ctest-vn-00303258: {} 2025-10-31 00:35:15,844 - DEBUG - Services list from nova: [, , ] 2025-10-31 00:35:16,904 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4565-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4565-1) 2025-10-31 00:35:18,161 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4565-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4565-1) 2025-10-31 00:35:18,161 - INFO - Waiting for VM ctest-TestBasicPolicy-13680464-84819100 to be up.. 2025-10-31 00:35:18,265 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 00:35:23,344 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:35:23,344 - INFO - VM name : ctest-TestBasicPolicy-13680464-84819100 2025-10-31 00:35:23,429 - DEBUG - VM ctest-TestBasicPolicy-13680464-84819100 ID is b315b927-e67c-4c51-b546-cc5fd2ce1238 2025-10-31 00:35:23,447 - DEBUG - VM ctest-TestBasicPolicy-13680464-84819100 launched on Node cn-jenkins-deploy-platform-ansible-os-4565-1 2025-10-31 00:35:23,526 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/b315b927-e67c-4c51-b546-cc5fd2ce1238 2025-10-31 00:35:23,535 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/5703e268-90a8-4d3b-a4eb-c8b745e543e6 2025-10-31 00:35:26,794 - 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 1014ms') 2025-10-31 00:35:26,794 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13680464-84819100 failed! 2025-10-31 00:35:26,848 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13680464:ctest-vn-16158024 is 36.108.246.65 and allocation pool is NOT set 2025-10-31 00:35:28,912 - 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.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.394 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.394/3.423/6.452/3.029 ms') 2025-10-31 00:35:28,912 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13680464-84819100 passed 2025-10-31 00:35:29,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:35:29,061 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13680464-84819100, IP 36.108.246.67, Port 22 2025-10-31 00:35:29,216 - DEBUG - VM ctest-TestBasicPolicy-13680464-84819100 is ready for SSH connections 2025-10-31 00:35:29,216 - INFO - Waiting for VM ctest-TestBasicPolicy-13680464-01419029 to be up.. 2025-10-31 00:35:29,293 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:35:29,293 - INFO - VM name : ctest-TestBasicPolicy-13680464-01419029 2025-10-31 00:35:29,370 - DEBUG - VM ctest-TestBasicPolicy-13680464-01419029 ID is 66c30445-1654-4cfe-b420-e9d79d9a5428 2025-10-31 00:35:29,370 - DEBUG - VM ctest-TestBasicPolicy-13680464-01419029 launched on Node cn-jenkins-deploy-platform-ansible-os-4565-1 2025-10-31 00:35:29,448 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/66c30445-1654-4cfe-b420-e9d79d9a5428 2025-10-31 00:35:29,456 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/b33704a6-83ff-429d-8ef8-2610a8afae17 2025-10-31 00:35:30,694 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.31 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 = 1.311/2.605/3.899/1.294 ms') 2025-10-31 00:35:30,694 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13680464-01419029 passed 2025-10-31 00:35:30,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:35:30,849 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13680464-01419029, IP 55.45.238.67, Port 22 2025-10-31 00:35:31,019 - DEBUG - VM ctest-TestBasicPolicy-13680464-01419029 is ready for SSH connections 2025-10-31 00:35:31,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:35:31,019 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.45.238.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-31 00:35:31,019 - DEBUG - ping -s 56 -c 3 -W 1 55.45.238.67 2025-10-31 00:35:35,093 - DEBUG - PING 55.45.238.67 (55.45.238.67): 56 data bytes 64 bytes from 55.45.238.67: seq=0 ttl=63 time=3.802 ms 64 bytes from 55.45.238.67: seq=1 ttl=63 time=1.162 ms 64 bytes from 55.45.238.67: seq=2 ttl=63 time=1.309 ms --- 55.45.238.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.162/2.091/3.802 ms 2025-10-31 00:35:35,093 - INFO - Ping to IP 55.45.238.67 from VM ctest-TestBasicPolicy-13680464-84819100 passed 2025-10-31 00:35:35,272 - DEBUG - Policy Update Response {"network-policy": {"uuid": "51db93ee-8084-4aa0-967c-7a6f5ab36620", "href": "http://10.0.0.137:8082/network-policy/51db93ee-8084-4aa0-967c-7a6f5ab36620"}} 2025-10-31 00:35:35,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:35:35,272 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.45.238.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-31 00:35:35,273 - DEBUG - ping -s 56 -c 3 -W 1 55.45.238.67 2025-10-31 00:35:38,508 - DEBUG - PING 55.45.238.67 (55.45.238.67): 56 data bytes --- 55.45.238.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 00:35:38,508 - WARNING - Ping to IP 55.45.238.67 from VM ctest-TestBasicPolicy-13680464-84819100 failed 2025-10-31 00:35:38,508 - INFO - Deleting VM ctest-TestBasicPolicy-13680464-01419029 2025-10-31 00:35:38,577 - INFO - Deleting VM ctest-TestBasicPolicy-13680464-84819100 2025-10-31 00:35:38,941 - INFO - Deleted policy ctest-policy-allow-all-64105319 2025-10-31 00:35:38,942 - INFO - Deleting VN ctest-vn-00303258 2025-10-31 00:35:38,979 - DEBUG - VN 66d8c451-345d-4fba-abbd-2eed2909b497 still in use: Unable to complete operation on network 66d8c451-345d-4fba-abbd-2eed2909b497. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e989e839-d671-4a75-9890-554920b45e68'] 2025-10-31 00:35:38,980 - WARNING - Deleting VN ctest-vn-00303258 failed..Will retry 2025-10-31 00:35:41,086 - DEBUG - Response for deleting network () 2025-10-31 00:35:41,086 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/4ef5fe12-c227-46b8-8fba-0e98bfed1f67 2025-10-31 00:35:41,093 - DEBUG - Response Code: 404 2025-10-31 00:35:41,093 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-31 00:35:41,099 - DEBUG - Requesting: http://10.0.0.137:8082/domain/edb8b332-5a70-4731-92d7-d2a7959493a2 2025-10-31 00:35:41,153 - DEBUG - Requesting: http://10.0.0.137:8082/project/ebb6d96c-ff05-49f9-bb01-bd4d36c0850b 2025-10-31 00:35:41,222 - INFO - Validated that VN ctest-vn-00303258 is not found in API Server 2025-10-31 00:35:41,231 - DEBUG - VN ctest-vn-00303258 is not present in Agent 10.0.0.137 2025-10-31 00:35:41,232 - INFO - Validated that VN ctest-vn-00303258 is not in any agent 2025-10-31 00:35:41,246 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00303258 info 2025-10-31 00:35:41,246 - INFO - Deleting VN ctest-vn-16158024 2025-10-31 00:35:41,350 - DEBUG - Response for deleting network () 2025-10-31 00:35:41,350 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/43f92a5e-8497-4c19-a4bc-c6c226e79a2d 2025-10-31 00:35:41,360 - DEBUG - Response Code: 404 2025-10-31 00:35:41,360 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-10-31 00:35:41,365 - DEBUG - Requesting: http://10.0.0.137:8082/domain/edb8b332-5a70-4731-92d7-d2a7959493a2 2025-10-31 00:35:41,418 - DEBUG - Requesting: http://10.0.0.137:8082/project/ebb6d96c-ff05-49f9-bb01-bd4d36c0850b 2025-10-31 00:35:41,489 - INFO - Validated that VN ctest-vn-16158024 is not found in API Server 2025-10-31 00:35:41,498 - DEBUG - VN ctest-vn-16158024 is not present in Agent 10.0.0.137 2025-10-31 00:35:41,498 - INFO - Validated that VN ctest-vn-16158024 is not in any agent 2025-10-31 00:35:41,512 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16158024 info 2025-10-31 00:35:41,765 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 00:35:41,765 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-31 00:35:41,765 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:35:42,497 - INFO - Deleted project: ctest-TestBasicPolicy-13680464, ID : ebb6d96c-ff05-49f9-bb01-bd4d36c0850b