2025-04-24 19:32:46,975 - INFO - Domain Default found not creating 2025-04-24 19:32:47,102 - INFO - Project ctest-TestBasicPolicy-32387916 not found, creating it 2025-04-24 19:32:47,533 - INFO - Created Project:ctest-TestBasicPolicy-32387916, ID : c6e068f1-480c-40b2-8e95-131dcc89652d 2025-04-24 19:32:48,917 - INFO - ================================================================================ 2025-04-24 19:32:48,918 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-24 19:32:48,918 - 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-04-24 19:32:49,180 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.254': '0'}} with 2025-04-24 19:32:49,180 - INFO - Initial checks done. Running the testcase now 2025-04-24 19:32:49,180 - INFO - 2025-04-24 19:32:49,978 - DEBUG - Response for create_network : {'network': {'id': '05409aff-b733-499c-8b8a-33ae6e737e41', 'name': 'ctest-vn-34770495', 'tenant_id': 'c6e068f1480c40b28e95131dcc89652d', 'project_id': 'c6e068f1480c40b28e95131dcc89652d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32387916', 'ctest-vn-34770495'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 19:32:50,136 - DEBUG - Response for create_subnet : {'subnet': {'id': '353b5115-4ba5-45be-af01-3af775a8c662', 'name': '', 'tenant_id': 'c6e068f1480c40b28e95131dcc89652d', 'network_id': '05409aff-b733-499c-8b8a-33ae6e737e41', 'ip_version': 4, 'cidr': '113.48.150.192/26', 'allocation_pools': [{'start': '113.48.150.194', 'end': '113.48.150.254'}], 'gateway_ip': '113.48.150.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.48.150.194', 'tags': [], 'project_id': 'c6e068f1480c40b28e95131dcc89652d'}} 2025-04-24 19:32:50,154 - INFO - Created VN ctest-vn-34770495 2025-04-24 19:32:50,205 - DEBUG - VN ctest-vn-34770495 UUID is 05409aff-b733-499c-8b8a-33ae6e737e41 2025-04-24 19:32:50,551 - DEBUG - Response for create_network : {'network': {'id': 'a8a92459-0b1e-4f40-a3e3-e6edad829c1b', 'name': 'ctest-vn-72520603', 'tenant_id': 'c6e068f1480c40b28e95131dcc89652d', 'project_id': 'c6e068f1480c40b28e95131dcc89652d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32387916', 'ctest-vn-72520603'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 19:32:50,722 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb9eb625-3b4b-4714-8886-a589b5f84de6', 'name': '', 'tenant_id': 'c6e068f1480c40b28e95131dcc89652d', 'network_id': 'a8a92459-0b1e-4f40-a3e3-e6edad829c1b', 'ip_version': 4, 'cidr': '49.75.225.0/26', 'allocation_pools': [{'start': '49.75.225.2', 'end': '49.75.225.62'}], 'gateway_ip': '49.75.225.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.75.225.2', 'tags': [], 'project_id': 'c6e068f1480c40b28e95131dcc89652d'}} 2025-04-24 19:32:50,885 - INFO - Created VN ctest-vn-72520603 2025-04-24 19:32:50,937 - DEBUG - VN ctest-vn-72520603 UUID is a8a92459-0b1e-4f40-a3e3-e6edad829c1b 2025-04-24 19:32:51,093 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32387916:ctest-vn-34770495, 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-32387916:ctest-vn-72520603, 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-04-24 19:32:51,393 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '05409aff-b733-499c-8b8a-33ae6e737e41', 'name': 'ctest-vn-34770495', 'tenant_id': 'c6e068f1480c40b28e95131dcc89652d', 'project_id': 'c6e068f1480c40b28e95131dcc89652d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['353b5115-4ba5-45be-af01-3af775a8c662'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32387916', 'ctest-vn-34770495'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32387916', 'ctest-policy-allow-all-73221593']], 'subnet_ipam': [{'subnet_cidr': '113.48.150.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-24 19:32:51,627 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a8a92459-0b1e-4f40-a3e3-e6edad829c1b', 'name': 'ctest-vn-72520603', 'tenant_id': 'c6e068f1480c40b28e95131dcc89652d', 'project_id': 'c6e068f1480c40b28e95131dcc89652d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cb9eb625-3b4b-4714-8886-a589b5f84de6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32387916', 'ctest-vn-72520603'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32387916', 'ctest-policy-allow-all-73221593']], 'subnet_ipam': [{'subnet_cidr': '49.75.225.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-24 19:32:51,781 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-24 19:32:52,078 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-24 19:32:52,107 - DEBUG - Requesting: http://10.0.0.130:8082/domain/ba062432-3348-465d-91c6-fcb1839083c5 2025-04-24 19:32:52,122 - DEBUG - Requesting: http://10.0.0.130:8082/project/c6e068f1-480c-40b2-8e95-131dcc89652d 2025-04-24 19:32:52,196 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/05409aff-b733-499c-8b8a-33ae6e737e41 2025-04-24 19:32:52,211 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/05409aff-b733-499c-8b8a-33ae6e737e41 2025-04-24 19:32:52,220 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/88b57dc7-3c43-4cd3-a252-84b4fabf5713 2025-04-24 19:32:52,227 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/88b57dc7-3c43-4cd3-a252-84b4fabf5713 2025-04-24 19:32:52,235 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/0c989e95-09b2-4d82-ae28-af4fc5c0757f 2025-04-24 19:32:52,242 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 19:32:52,242 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/05409aff-b733-499c-8b8a-33ae6e737e41 2025-04-24 19:32:52,253 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/88b57dc7-3c43-4cd3-a252-84b4fabf5713 2025-04-24 19:32:52,266 - INFO - Verified VN network id 8 for VN 05409aff-b733-499c-8b8a-33ae6e737e41 2025-04-24 19:32:52,266 - INFO - Verifications in API Server for VN ctest-vn-34770495 passed 2025-04-24 19:32:52,266 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/05409aff-b733-499c-8b8a-33ae6e737e41 2025-04-24 19:32:52,275 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/88b57dc7-3c43-4cd3-a252-84b4fabf5713 2025-04-24 19:32:52,286 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/88b57dc7-3c43-4cd3-a252-84b4fabf5713 2025-04-24 19:32:52,292 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/0c989e95-09b2-4d82-ae28-af4fc5c0757f 2025-04-24 19:32:52,305 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32387916:ctest-vn-34770495', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32387916', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '378472791780051356', 'uuid-lslong': '10054905942328442433'}, 'enable': 'true', 'created': '2025-04-24T19:32:49', 'last-modified': '2025-04-24T19:32:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.940969'} 2025-04-24 19:32:52,311 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 19:32:52,311 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34770495 passed 2025-04-24 19:32:52,311 - DEBUG - ====Verifying policy data for ctest-vn-34770495 in API_Server ====== 2025-04-24 19:32:52,311 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-24 19:32:52,317 - DEBUG - Requesting: http://10.0.0.130:8082/domain/ba062432-3348-465d-91c6-fcb1839083c5 2025-04-24 19:32:52,329 - DEBUG - Requesting: http://10.0.0.130:8082/project/c6e068f1-480c-40b2-8e95-131dcc89652d 2025-04-24 19:32:52,412 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/05409aff-b733-499c-8b8a-33ae6e737e41 2025-04-24 19:32:52,423 - DEBUG - ==>Verifying data for policy with id: ee37b704-dee6-4a4a-bd9e-fef062036e0b, fqn: ['default-domain', 'ctest-TestBasicPolicy-32387916', 'ctest-policy-allow-all-73221593'] 2025-04-24 19:32:52,424 - INFO - VN ctest-vn-34770495 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 19:32:52,424 - DEBUG - Verifying the vn in opserver 2025-04-24 19:32:52,424 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32387916:ctest-vn-34770495 virtual network link through opserver 10.0.0.130 2025-04-24 19:32:52,424 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-04-24 19:32:52,723 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-04-24 19:32:52,783 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32387916:ctest-vn-34770495', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32387916:ctest-vn-34770495?flat'} 2025-04-24 19:32:52,783 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32387916:ctest-vn-34770495 is found in opserver 2025-04-24 19:32:52,794 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 19:32:52,799 - DEBUG - VRF ids for VN ctest-vn-34770495: {} 2025-04-24 19:32:52,799 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-24 19:32:52,805 - DEBUG - Requesting: http://10.0.0.130:8082/domain/ba062432-3348-465d-91c6-fcb1839083c5 2025-04-24 19:32:52,816 - DEBUG - Requesting: http://10.0.0.130:8082/project/c6e068f1-480c-40b2-8e95-131dcc89652d 2025-04-24 19:32:52,891 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/a8a92459-0b1e-4f40-a3e3-e6edad829c1b 2025-04-24 19:32:52,903 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/a8a92459-0b1e-4f40-a3e3-e6edad829c1b 2025-04-24 19:32:52,912 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9db1ac50-d8d9-46a9-b555-1c7af5220409 2025-04-24 19:32:52,921 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9db1ac50-d8d9-46a9-b555-1c7af5220409 2025-04-24 19:32:52,928 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/512735f5-a915-448f-ad7d-7f3f0801401e 2025-04-24 19:32:52,934 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 19:32:52,934 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/a8a92459-0b1e-4f40-a3e3-e6edad829c1b 2025-04-24 19:32:52,945 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9db1ac50-d8d9-46a9-b555-1c7af5220409 2025-04-24 19:32:52,962 - INFO - Verified VN network id 9 for VN a8a92459-0b1e-4f40-a3e3-e6edad829c1b 2025-04-24 19:32:52,962 - INFO - Verifications in API Server for VN ctest-vn-72520603 passed 2025-04-24 19:32:52,962 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/a8a92459-0b1e-4f40-a3e3-e6edad829c1b 2025-04-24 19:32:52,977 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9db1ac50-d8d9-46a9-b555-1c7af5220409 2025-04-24 19:32:52,985 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9db1ac50-d8d9-46a9-b555-1c7af5220409 2025-04-24 19:32:52,993 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/512735f5-a915-448f-ad7d-7f3f0801401e 2025-04-24 19:32:53,004 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32387916:ctest-vn-72520603', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32387916', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12153285034293219136', 'uuid-lslong': '11809536556388228123'}, 'enable': 'true', 'created': '2025-04-24T19:32:50', 'last-modified': '2025-04-24T19:32:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.398950'} 2025-04-24 19:32:53,010 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 19:32:53,010 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72520603 passed 2025-04-24 19:32:53,010 - DEBUG - ====Verifying policy data for ctest-vn-72520603 in API_Server ====== 2025-04-24 19:32:53,010 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-24 19:32:53,015 - DEBUG - Requesting: http://10.0.0.130:8082/domain/ba062432-3348-465d-91c6-fcb1839083c5 2025-04-24 19:32:53,026 - DEBUG - Requesting: http://10.0.0.130:8082/project/c6e068f1-480c-40b2-8e95-131dcc89652d 2025-04-24 19:32:53,100 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/a8a92459-0b1e-4f40-a3e3-e6edad829c1b 2025-04-24 19:32:53,109 - DEBUG - ==>Verifying data for policy with id: ee37b704-dee6-4a4a-bd9e-fef062036e0b, fqn: ['default-domain', 'ctest-TestBasicPolicy-32387916', 'ctest-policy-allow-all-73221593'] 2025-04-24 19:32:53,109 - INFO - VN ctest-vn-72520603 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 19:32:53,109 - DEBUG - Verifying the vn in opserver 2025-04-24 19:32:53,109 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32387916:ctest-vn-72520603 virtual network link through opserver 10.0.0.130 2025-04-24 19:32:53,109 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-04-24 19:32:53,123 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32387916:ctest-vn-72520603', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32387916:ctest-vn-72520603?flat'} 2025-04-24 19:32:53,123 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32387916:ctest-vn-72520603 is found in opserver 2025-04-24 19:32:53,134 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 19:32:53,138 - DEBUG - VRF ids for VN ctest-vn-72520603: {} 2025-04-24 19:32:53,192 - DEBUG - Services list from nova: [, , ] 2025-04-24 19:32:54,188 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3208-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3208-1) 2025-04-24 19:32:55,444 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3208-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3208-1) 2025-04-24 19:32:55,444 - INFO - Waiting for VM ctest-TestBasicPolicy-32387916-12899421 to be up.. 2025-04-24 19:32:55,527 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 19:33:00,605 - DEBUG - VM is in ACTIVE state now 2025-04-24 19:33:00,605 - INFO - VM name : ctest-TestBasicPolicy-32387916-12899421 2025-04-24 19:33:00,681 - DEBUG - VM ctest-TestBasicPolicy-32387916-12899421 ID is dfbed3da-cc7d-4b62-b02f-99d1a72f440f 2025-04-24 19:33:00,699 - DEBUG - VM ctest-TestBasicPolicy-32387916-12899421 launched on Node cn-jenkins-deploy-platform-ansible-os-3208-1 2025-04-24 19:33:00,777 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/dfbed3da-cc7d-4b62-b02f-99d1a72f440f 2025-04-24 19:33:00,788 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/8ff5dfef-99d3-44c4-90d4-cfb753df373d 2025-04-24 19:33:04,047 - 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 1023ms') 2025-04-24 19:33:04,047 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32387916-12899421 failed! 2025-04-24 19:33:04,105 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32387916:ctest-vn-34770495 is 113.48.150.193 and allocation pool is NOT set 2025-04-24 19:33:06,163 - 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.515 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.515/2.137/3.760/1.622 ms') 2025-04-24 19:33:06,163 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32387916-12899421 passed 2025-04-24 19:33:06,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 19:33:06,321 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32387916-12899421, IP 113.48.150.195, Port 22 2025-04-24 19:33:06,480 - DEBUG - VM ctest-TestBasicPolicy-32387916-12899421 is ready for SSH connections 2025-04-24 19:33:06,480 - INFO - Waiting for VM ctest-TestBasicPolicy-32387916-57199373 to be up.. 2025-04-24 19:33:06,559 - DEBUG - VM is in ACTIVE state now 2025-04-24 19:33:06,559 - INFO - VM name : ctest-TestBasicPolicy-32387916-57199373 2025-04-24 19:33:06,636 - DEBUG - VM ctest-TestBasicPolicy-32387916-57199373 ID is 947441a6-a2cc-4063-a4a6-33964baa50c8 2025-04-24 19:33:06,636 - DEBUG - VM ctest-TestBasicPolicy-32387916-57199373 launched on Node cn-jenkins-deploy-platform-ansible-os-3208-1 2025-04-24 19:33:06,708 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/947441a6-a2cc-4063-a4a6-33964baa50c8 2025-04-24 19:33:06,717 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/30b2559e-fc98-42db-9c22-1b90172870ee 2025-04-24 19:33:07,959 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.515 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.515/1.683/2.852/1.168 ms') 2025-04-24 19:33:07,959 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-32387916-57199373 passed 2025-04-24 19:33:08,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 19:33:08,109 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32387916-57199373, IP 49.75.225.3, Port 22 2025-04-24 19:33:08,264 - DEBUG - VM ctest-TestBasicPolicy-32387916-57199373 is ready for SSH connections 2025-04-24 19:33:08,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 19:33:08,264 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.75.225.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-04-24 19:33:08,264 - DEBUG - ping -s 56 -c 3 -W 1 49.75.225.3 2025-04-24 19:33:12,234 - DEBUG - PING 49.75.225.3 (49.75.225.3): 56 data bytes 64 bytes from 49.75.225.3: seq=0 ttl=63 time=3.627 ms 64 bytes from 49.75.225.3: seq=1 ttl=63 time=0.941 ms 64 bytes from 49.75.225.3: seq=2 ttl=63 time=0.958 ms --- 49.75.225.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.941/1.842/3.627 ms 2025-04-24 19:33:12,234 - INFO - Ping to IP 49.75.225.3 from VM ctest-TestBasicPolicy-32387916-12899421 passed 2025-04-24 19:33:12,437 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ee37b704-dee6-4a4a-bd9e-fef062036e0b", "href": "http://10.0.0.130:8082/network-policy/ee37b704-dee6-4a4a-bd9e-fef062036e0b"}} 2025-04-24 19:33:12,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 19:33:12,437 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.75.225.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-04-24 19:33:12,437 - DEBUG - ping -s 56 -c 3 -W 1 49.75.225.3 2025-04-24 19:33:15,636 - DEBUG - PING 49.75.225.3 (49.75.225.3): 56 data bytes --- 49.75.225.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-24 19:33:15,637 - WARNING - Ping to IP 49.75.225.3 from VM ctest-TestBasicPolicy-32387916-12899421 failed 2025-04-24 19:33:15,637 - INFO - Deleting VM ctest-TestBasicPolicy-32387916-57199373 2025-04-24 19:33:15,695 - INFO - Deleting VM ctest-TestBasicPolicy-32387916-12899421 2025-04-24 19:33:16,107 - INFO - Deleted policy ctest-policy-allow-all-73221593 2025-04-24 19:33:16,107 - INFO - Deleting VN ctest-vn-72520603 2025-04-24 19:33:16,157 - DEBUG - VN a8a92459-0b1e-4f40-a3e3-e6edad829c1b still in use: Unable to complete operation on network a8a92459-0b1e-4f40-a3e3-e6edad829c1b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ea6614fc-5a2f-41f2-ad5d-35db5d1aec09'] 2025-04-24 19:33:16,157 - WARNING - Deleting VN ctest-vn-72520603 failed..Will retry 2025-04-24 19:33:18,263 - DEBUG - Response for deleting network () 2025-04-24 19:33:18,263 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9db1ac50-d8d9-46a9-b555-1c7af5220409 2025-04-24 19:33:18,268 - DEBUG - Response Code: 404 2025-04-24 19:33:18,268 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-24 19:33:18,274 - DEBUG - Requesting: http://10.0.0.130:8082/domain/ba062432-3348-465d-91c6-fcb1839083c5 2025-04-24 19:33:18,327 - DEBUG - Requesting: http://10.0.0.130:8082/project/c6e068f1-480c-40b2-8e95-131dcc89652d 2025-04-24 19:33:18,403 - INFO - Validated that VN ctest-vn-72520603 is not found in API Server 2025-04-24 19:33:18,415 - DEBUG - VN ctest-vn-72520603 is not present in Agent 10.0.0.130 2025-04-24 19:33:18,415 - INFO - Validated that VN ctest-vn-72520603 is not in any agent 2025-04-24 19:33:18,431 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72520603 info 2025-04-24 19:33:18,431 - INFO - Deleting VN ctest-vn-34770495 2025-04-24 19:33:18,542 - DEBUG - Response for deleting network () 2025-04-24 19:33:18,543 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/88b57dc7-3c43-4cd3-a252-84b4fabf5713 2025-04-24 19:33:18,553 - DEBUG - Response Code: 404 2025-04-24 19:33:18,553 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-04-24 19:33:18,559 - DEBUG - Requesting: http://10.0.0.130:8082/domain/ba062432-3348-465d-91c6-fcb1839083c5 2025-04-24 19:33:18,616 - DEBUG - Requesting: http://10.0.0.130:8082/project/c6e068f1-480c-40b2-8e95-131dcc89652d 2025-04-24 19:33:18,694 - INFO - Validated that VN ctest-vn-34770495 is not found in API Server 2025-04-24 19:33:18,706 - DEBUG - VN ctest-vn-34770495 is not present in Agent 10.0.0.130 2025-04-24 19:33:18,706 - INFO - Validated that VN ctest-vn-34770495 is not in any agent 2025-04-24 19:33:18,721 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34770495 info 2025-04-24 19:33:18,979 - DEBUG - No XMPP flaps were noticed during the test 2025-04-24 19:33:18,979 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-04-24 19:33:18,980 - INFO - -------------------------------------------------------------------------------- 2025-04-24 19:33:19,624 - INFO - Deleted project: ctest-TestBasicPolicy-32387916, ID : c6e068f1-480c-40b2-8e95-131dcc89652d