2025-06-27 13:59:41,963 - INFO - Domain Default found not creating 2025-06-27 13:59:42,115 - INFO - Project ctest-TestBasicPolicy-19273258 not found, creating it 2025-06-27 13:59:42,618 - INFO - Created Project:ctest-TestBasicPolicy-19273258, ID : bcbade58-a2ac-490f-a68c-4f28ae087d92 2025-06-27 13:59:44,088 - INFO - ================================================================================ 2025-06-27 13:59:44,088 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-27 13:59:44,088 - 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-27 13:59:44,348 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-27 13:59:44,348 - INFO - Initial checks done. Running the testcase now 2025-06-27 13:59:44,348 - INFO - 2025-06-27 13:59:44,920 - DEBUG - Response for create_network : {'network': {'id': '63eae632-db3b-4a69-b974-70e42d9d65e8', 'name': 'ctest-vn-78403352', 'tenant_id': 'bcbade58a2ac490fa68c4f28ae087d92', 'project_id': 'bcbade58a2ac490fa68c4f28ae087d92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19273258', 'ctest-vn-78403352'], 'port_security_enabled': True, 'description': ''}} 2025-06-27 13:59:45,090 - DEBUG - Response for create_subnet : {'subnet': {'id': '2196431a-b359-49ad-980f-a36d1a0dff6c', 'name': '', 'tenant_id': 'bcbade58a2ac490fa68c4f28ae087d92', 'network_id': '63eae632-db3b-4a69-b974-70e42d9d65e8', 'ip_version': 4, 'cidr': '132.185.54.128/26', 'allocation_pools': [{'start': '132.185.54.130', 'end': '132.185.54.190'}], 'gateway_ip': '132.185.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.185.54.130', 'tags': [], 'project_id': 'bcbade58a2ac490fa68c4f28ae087d92'}} 2025-06-27 13:59:45,111 - INFO - Created VN ctest-vn-78403352 2025-06-27 13:59:45,164 - DEBUG - VN ctest-vn-78403352 UUID is 63eae632-db3b-4a69-b974-70e42d9d65e8 2025-06-27 13:59:45,499 - DEBUG - Response for create_network : {'network': {'id': '3563e644-d856-4768-8706-a438d91e83f6', 'name': 'ctest-vn-81102272', 'tenant_id': 'bcbade58a2ac490fa68c4f28ae087d92', 'project_id': 'bcbade58a2ac490fa68c4f28ae087d92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19273258', 'ctest-vn-81102272'], 'port_security_enabled': True, 'description': ''}} 2025-06-27 13:59:45,698 - DEBUG - Response for create_subnet : {'subnet': {'id': '431666a9-09c9-4bf4-b4aa-87c1dde405b9', 'name': '', 'tenant_id': 'bcbade58a2ac490fa68c4f28ae087d92', 'network_id': '3563e644-d856-4768-8706-a438d91e83f6', 'ip_version': 4, 'cidr': '52.36.193.192/26', 'allocation_pools': [{'start': '52.36.193.194', 'end': '52.36.193.254'}], 'gateway_ip': '52.36.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.36.193.194', 'tags': [], 'project_id': 'bcbade58a2ac490fa68c4f28ae087d92'}} 2025-06-27 13:59:45,720 - INFO - Created VN ctest-vn-81102272 2025-06-27 13:59:45,780 - DEBUG - VN ctest-vn-81102272 UUID is 3563e644-d856-4768-8706-a438d91e83f6 2025-06-27 13:59:45,908 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19273258:ctest-vn-78403352, 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-19273258:ctest-vn-81102272, 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-27 13:59:46,260 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '63eae632-db3b-4a69-b974-70e42d9d65e8', 'name': 'ctest-vn-78403352', 'tenant_id': 'bcbade58a2ac490fa68c4f28ae087d92', 'project_id': 'bcbade58a2ac490fa68c4f28ae087d92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2196431a-b359-49ad-980f-a36d1a0dff6c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19273258', 'ctest-vn-78403352'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19273258', 'ctest-policy-allow-all-36161880']], 'subnet_ipam': [{'subnet_cidr': '132.185.54.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-27 13:59:46,518 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3563e644-d856-4768-8706-a438d91e83f6', 'name': 'ctest-vn-81102272', 'tenant_id': 'bcbade58a2ac490fa68c4f28ae087d92', 'project_id': 'bcbade58a2ac490fa68c4f28ae087d92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['431666a9-09c9-4bf4-b4aa-87c1dde405b9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19273258', 'ctest-vn-81102272'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19273258', 'ctest-policy-allow-all-36161880']], 'subnet_ipam': [{'subnet_cidr': '52.36.193.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-27 13:59:46,688 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-27 13:59:46,983 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-27 13:59:47,013 - DEBUG - Requesting: http://10.0.0.254:8082/domain/75395d29-f442-4d86-b4e1-f66d1ec091c2 2025-06-27 13:59:47,029 - DEBUG - Requesting: http://10.0.0.254:8082/project/bcbade58-a2ac-490f-a68c-4f28ae087d92 2025-06-27 13:59:47,182 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/63eae632-db3b-4a69-b974-70e42d9d65e8 2025-06-27 13:59:47,195 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/63eae632-db3b-4a69-b974-70e42d9d65e8 2025-06-27 13:59:47,205 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e1ee57dc-6ae7-425e-9cd2-f6499442396d 2025-06-27 13:59:47,214 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e1ee57dc-6ae7-425e-9cd2-f6499442396d 2025-06-27 13:59:47,222 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b16ce4fd-9363-46c8-af8b-47269f055759 2025-06-27 13:59:47,231 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-27 13:59:47,231 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/63eae632-db3b-4a69-b974-70e42d9d65e8 2025-06-27 13:59:47,244 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e1ee57dc-6ae7-425e-9cd2-f6499442396d 2025-06-27 13:59:47,261 - INFO - Verified VN network id 9 for VN 63eae632-db3b-4a69-b974-70e42d9d65e8 2025-06-27 13:59:47,261 - INFO - Verifications in API Server for VN ctest-vn-78403352 passed 2025-06-27 13:59:47,261 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/63eae632-db3b-4a69-b974-70e42d9d65e8 2025-06-27 13:59:47,274 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e1ee57dc-6ae7-425e-9cd2-f6499442396d 2025-06-27 13:59:47,282 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e1ee57dc-6ae7-425e-9cd2-f6499442396d 2025-06-27 13:59:47,290 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b16ce4fd-9363-46c8-af8b-47269f055759 2025-06-27 13:59:47,311 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19273258:ctest-vn-78403352', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19273258', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7199820060406008425', 'uuid-lslong': '13363430119635248616'}, 'enable': 'true', 'created': '2025-06-27T13:59:44', 'last-modified': '2025-06-27T13:59:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.087928'} 2025-06-27 13:59:47,319 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-27 13:59:47,319 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78403352 passed 2025-06-27 13:59:47,319 - DEBUG - ====Verifying policy data for ctest-vn-78403352 in API_Server ====== 2025-06-27 13:59:47,319 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-27 13:59:47,326 - DEBUG - Requesting: http://10.0.0.254:8082/domain/75395d29-f442-4d86-b4e1-f66d1ec091c2 2025-06-27 13:59:47,339 - DEBUG - Requesting: http://10.0.0.254:8082/project/bcbade58-a2ac-490f-a68c-4f28ae087d92 2025-06-27 13:59:47,426 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/63eae632-db3b-4a69-b974-70e42d9d65e8 2025-06-27 13:59:47,438 - DEBUG - ==>Verifying data for policy with id: 4b4f3b5a-fb81-4279-bbfb-634f42640a42, fqn: ['default-domain', 'ctest-TestBasicPolicy-19273258', 'ctest-policy-allow-all-36161880'] 2025-06-27 13:59:47,438 - INFO - VN ctest-vn-78403352 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-27 13:59:47,438 - DEBUG - Verifying the vn in opserver 2025-06-27 13:59:47,438 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19273258:ctest-vn-78403352 virtual network link through opserver 10.0.0.254 2025-06-27 13:59:47,438 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-27 13:59:47,737 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-27 13:59:47,796 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19273258:ctest-vn-78403352', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19273258:ctest-vn-78403352?flat'} 2025-06-27 13:59:47,796 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19273258:ctest-vn-78403352 is found in opserver 2025-06-27 13:59:47,808 - DEBUG - Do not have enough data to verify VN in agent 2025-06-27 13:59:47,813 - DEBUG - VRF ids for VN ctest-vn-78403352: {} 2025-06-27 13:59:47,814 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-27 13:59:47,820 - DEBUG - Requesting: http://10.0.0.254:8082/domain/75395d29-f442-4d86-b4e1-f66d1ec091c2 2025-06-27 13:59:47,833 - DEBUG - Requesting: http://10.0.0.254:8082/project/bcbade58-a2ac-490f-a68c-4f28ae087d92 2025-06-27 13:59:47,911 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3563e644-d856-4768-8706-a438d91e83f6 2025-06-27 13:59:47,925 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3563e644-d856-4768-8706-a438d91e83f6 2025-06-27 13:59:47,937 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f483b3bf-89f9-4fc4-a874-dd7e286f1d53 2025-06-27 13:59:47,945 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f483b3bf-89f9-4fc4-a874-dd7e286f1d53 2025-06-27 13:59:47,954 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/674e01ea-8d68-4c91-806e-544624995326 2025-06-27 13:59:47,963 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-27 13:59:47,963 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3563e644-d856-4768-8706-a438d91e83f6 2025-06-27 13:59:47,973 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f483b3bf-89f9-4fc4-a874-dd7e286f1d53 2025-06-27 13:59:47,991 - INFO - Verified VN network id 10 for VN 3563e644-d856-4768-8706-a438d91e83f6 2025-06-27 13:59:47,991 - INFO - Verifications in API Server for VN ctest-vn-81102272 passed 2025-06-27 13:59:47,991 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3563e644-d856-4768-8706-a438d91e83f6 2025-06-27 13:59:48,002 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f483b3bf-89f9-4fc4-a874-dd7e286f1d53 2025-06-27 13:59:48,009 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f483b3bf-89f9-4fc4-a874-dd7e286f1d53 2025-06-27 13:59:48,017 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/674e01ea-8d68-4c91-806e-544624995326 2025-06-27 13:59:48,031 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19273258:ctest-vn-81102272', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19273258', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3847171690066233192', 'uuid-lslong': '9729644609048314870'}, 'enable': 'true', 'created': '2025-06-27T13:59:45', 'last-modified': '2025-06-27T13:59:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.536057'} 2025-06-27 13:59:48,039 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-27 13:59:48,039 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81102272 passed 2025-06-27 13:59:48,039 - DEBUG - ====Verifying policy data for ctest-vn-81102272 in API_Server ====== 2025-06-27 13:59:48,039 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-27 13:59:48,046 - DEBUG - Requesting: http://10.0.0.254:8082/domain/75395d29-f442-4d86-b4e1-f66d1ec091c2 2025-06-27 13:59:48,059 - DEBUG - Requesting: http://10.0.0.254:8082/project/bcbade58-a2ac-490f-a68c-4f28ae087d92 2025-06-27 13:59:48,134 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3563e644-d856-4768-8706-a438d91e83f6 2025-06-27 13:59:48,145 - DEBUG - ==>Verifying data for policy with id: 4b4f3b5a-fb81-4279-bbfb-634f42640a42, fqn: ['default-domain', 'ctest-TestBasicPolicy-19273258', 'ctest-policy-allow-all-36161880'] 2025-06-27 13:59:48,145 - INFO - VN ctest-vn-81102272 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-27 13:59:48,145 - DEBUG - Verifying the vn in opserver 2025-06-27 13:59:48,145 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19273258:ctest-vn-81102272 virtual network link through opserver 10.0.0.254 2025-06-27 13:59:48,145 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-27 13:59:48,156 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19273258:ctest-vn-81102272', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19273258:ctest-vn-81102272?flat'} 2025-06-27 13:59:48,156 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19273258:ctest-vn-81102272 is found in opserver 2025-06-27 13:59:48,168 - DEBUG - Do not have enough data to verify VN in agent 2025-06-27 13:59:48,174 - DEBUG - VRF ids for VN ctest-vn-81102272: {} 2025-06-27 13:59:48,234 - DEBUG - Services list from nova: [, , ] 2025-06-27 13:59:49,275 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3566-1) 2025-06-27 13:59:50,558 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3566-1) 2025-06-27 13:59:50,558 - INFO - Waiting for VM ctest-TestBasicPolicy-19273258-26787830 to be up.. 2025-06-27 13:59:50,690 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-27 13:59:55,773 - DEBUG - VM is in ACTIVE state now 2025-06-27 13:59:55,773 - INFO - VM name : ctest-TestBasicPolicy-19273258-26787830 2025-06-27 13:59:55,849 - DEBUG - VM ctest-TestBasicPolicy-19273258-26787830 ID is 3e665c45-8944-45fd-aa4c-8ae6c780fbdb 2025-06-27 13:59:55,868 - DEBUG - VM ctest-TestBasicPolicy-19273258-26787830 launched on Node cn-jenkins-deploy-platform-ansible-os-3566-1 2025-06-27 13:59:55,950 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3e665c45-8944-45fd-aa4c-8ae6c780fbdb 2025-06-27 13:59:55,960 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b10fc137-d477-452e-b422-39e7f2085383 2025-06-27 13:59:59,220 - 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 1019ms') 2025-06-27 13:59:59,220 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19273258-26787830 failed! 2025-06-27 13:59:59,277 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19273258:ctest-vn-78403352 is 132.185.54.129 and allocation pool is NOT set 2025-06-27 14:00:01,339 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.466 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.466/2.113/3.761/1.647 ms') 2025-06-27 14:00:01,339 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19273258-26787830 passed 2025-06-27 14:00:01,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 14:00:01,488 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19273258-26787830, IP 132.185.54.131, Port 22 2025-06-27 14:00:01,640 - DEBUG - VM ctest-TestBasicPolicy-19273258-26787830 is ready for SSH connections 2025-06-27 14:00:01,640 - INFO - Waiting for VM ctest-TestBasicPolicy-19273258-56922804 to be up.. 2025-06-27 14:00:01,716 - DEBUG - VM is in ACTIVE state now 2025-06-27 14:00:01,717 - INFO - VM name : ctest-TestBasicPolicy-19273258-56922804 2025-06-27 14:00:01,804 - DEBUG - VM ctest-TestBasicPolicy-19273258-56922804 ID is dacd88f6-06c0-4d04-b44e-6a1c15465d58 2025-06-27 14:00:01,804 - DEBUG - VM ctest-TestBasicPolicy-19273258-56922804 launched on Node cn-jenkins-deploy-platform-ansible-os-3566-1 2025-06-27 14:00:01,893 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dacd88f6-06c0-4d04-b44e-6a1c15465d58 2025-06-27 14:00:01,903 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ecf77180-2636-413e-9365-7ae35c851be9 2025-06-27 14:00:03,157 - 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=4.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.858 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.858/2.615/4.372/1.757 ms') 2025-06-27 14:00:03,157 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19273258-56922804 passed 2025-06-27 14:00:03,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 14:00:03,312 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19273258-56922804, IP 52.36.193.195, Port 22 2025-06-27 14:00:03,471 - DEBUG - VM ctest-TestBasicPolicy-19273258-56922804 is ready for SSH connections 2025-06-27 14:00:03,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 14:00:03,472 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.36.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-27 14:00:03,472 - DEBUG - ping -s 56 -c 3 -W 1 52.36.193.195 2025-06-27 14:00:07,188 - DEBUG - PING 52.36.193.195 (52.36.193.195): 56 data bytes 64 bytes from 52.36.193.195: seq=0 ttl=63 time=4.694 ms 64 bytes from 52.36.193.195: seq=1 ttl=63 time=1.222 ms 64 bytes from 52.36.193.195: seq=2 ttl=63 time=0.885 ms --- 52.36.193.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.885/2.267/4.694 ms 2025-06-27 14:00:07,188 - INFO - Ping to IP 52.36.193.195 from VM ctest-TestBasicPolicy-19273258-26787830 passed 2025-06-27 14:00:07,396 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4b4f3b5a-fb81-4279-bbfb-634f42640a42", "href": "http://10.0.0.254:8082/network-policy/4b4f3b5a-fb81-4279-bbfb-634f42640a42"}} 2025-06-27 14:00:07,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-27 14:00:07,396 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.36.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-27 14:00:07,397 - DEBUG - ping -s 56 -c 3 -W 1 52.36.193.195 2025-06-27 14:00:10,633 - DEBUG - PING 52.36.193.195 (52.36.193.195): 56 data bytes 64 bytes from 52.36.193.195: seq=0 ttl=63 time=2.117 ms --- 52.36.193.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.117/2.117/2.117 ms 2025-06-27 14:00:10,634 - WARNING - Ping to IP 52.36.193.195 from VM ctest-TestBasicPolicy-19273258-26787830 failed 2025-06-27 14:00:10,634 - INFO - Deleting VM ctest-TestBasicPolicy-19273258-56922804 2025-06-27 14:00:10,727 - INFO - Deleting VM ctest-TestBasicPolicy-19273258-26787830 2025-06-27 14:00:11,182 - INFO - Deleted policy ctest-policy-allow-all-36161880 2025-06-27 14:00:11,182 - INFO - Deleting VN ctest-vn-81102272 2025-06-27 14:00:11,226 - DEBUG - VN 3563e644-d856-4768-8706-a438d91e83f6 still in use: Unable to complete operation on network 3563e644-d856-4768-8706-a438d91e83f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cc47a98c-e962-4760-a349-19dbceecc568'] 2025-06-27 14:00:11,226 - WARNING - Deleting VN ctest-vn-81102272 failed..Will retry 2025-06-27 14:00:13,342 - DEBUG - Response for deleting network () 2025-06-27 14:00:13,343 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f483b3bf-89f9-4fc4-a874-dd7e286f1d53 2025-06-27 14:00:13,349 - DEBUG - Response Code: 404 2025-06-27 14:00:13,350 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-27 14:00:13,358 - DEBUG - Requesting: http://10.0.0.254:8082/domain/75395d29-f442-4d86-b4e1-f66d1ec091c2 2025-06-27 14:00:13,415 - DEBUG - Requesting: http://10.0.0.254:8082/project/bcbade58-a2ac-490f-a68c-4f28ae087d92 2025-06-27 14:00:13,492 - INFO - Validated that VN ctest-vn-81102272 is not found in API Server 2025-06-27 14:00:13,503 - DEBUG - VN ctest-vn-81102272 is not present in Agent 10.0.0.254 2025-06-27 14:00:13,503 - INFO - Validated that VN ctest-vn-81102272 is not in any agent 2025-06-27 14:00:13,521 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81102272 info 2025-06-27 14:00:13,521 - INFO - Deleting VN ctest-vn-78403352 2025-06-27 14:00:13,634 - DEBUG - Response for deleting network () 2025-06-27 14:00:13,634 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e1ee57dc-6ae7-425e-9cd2-f6499442396d 2025-06-27 14:00:13,641 - DEBUG - Response Code: 404 2025-06-27 14:00:13,641 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-27 14:00:13,647 - DEBUG - Requesting: http://10.0.0.254:8082/domain/75395d29-f442-4d86-b4e1-f66d1ec091c2 2025-06-27 14:00:13,706 - DEBUG - Requesting: http://10.0.0.254:8082/project/bcbade58-a2ac-490f-a68c-4f28ae087d92 2025-06-27 14:00:13,782 - INFO - Validated that VN ctest-vn-78403352 is not found in API Server 2025-06-27 14:00:13,794 - DEBUG - VN ctest-vn-78403352 is not present in Agent 10.0.0.254 2025-06-27 14:00:13,795 - INFO - Validated that VN ctest-vn-78403352 is not in any agent 2025-06-27 14:00:13,812 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78403352 info 2025-06-27 14:00:14,066 - DEBUG - No XMPP flaps were noticed during the test 2025-06-27 14:00:14,066 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-27 14:00:14,066 - INFO - -------------------------------------------------------------------------------- 2025-06-27 14:00:14,766 - INFO - Deleted project: ctest-TestBasicPolicy-19273258, ID : bcbade58-a2ac-490f-a68c-4f28ae087d92