2025-07-16 16:51:24,801 - INFO - Domain Default found not creating 2025-07-16 16:51:25,003 - INFO - Project ctest-TestBasicPolicy-68126720 not found, creating it 2025-07-16 16:51:25,524 - INFO - Created Project:ctest-TestBasicPolicy-68126720, ID : 1401e611-55de-4496-9a31-cd67c739f2f6 2025-07-16 16:51:27,169 - INFO - ================================================================================ 2025-07-16 16:51:27,169 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-16 16:51:27,169 - 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-07-16 16:51:27,434 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.193': '0'}} with 2025-07-16 16:51:27,434 - INFO - Initial checks done. Running the testcase now 2025-07-16 16:51:27,434 - INFO - 2025-07-16 16:51:28,055 - DEBUG - Response for create_network : {'network': {'id': 'bf3ae09b-cf55-48b5-a761-4adb72dccb17', 'name': 'ctest-vn-96007683', 'tenant_id': '1401e61155de44969a31cd67c739f2f6', 'project_id': '1401e61155de44969a31cd67c739f2f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68126720', 'ctest-vn-96007683'], 'port_security_enabled': True, 'description': ''}} 2025-07-16 16:51:28,255 - DEBUG - Response for create_subnet : {'subnet': {'id': '957cfcbb-3b9d-4b7c-b4ce-3238f10a42a3', 'name': '', 'tenant_id': '1401e61155de44969a31cd67c739f2f6', 'network_id': 'bf3ae09b-cf55-48b5-a761-4adb72dccb17', 'ip_version': 4, 'cidr': '7.250.233.0/26', 'allocation_pools': [{'start': '7.250.233.2', 'end': '7.250.233.62'}], 'gateway_ip': '7.250.233.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.250.233.2', 'tags': [], 'project_id': '1401e61155de44969a31cd67c739f2f6'}} 2025-07-16 16:51:28,276 - INFO - Created VN ctest-vn-96007683 2025-07-16 16:51:28,331 - DEBUG - VN ctest-vn-96007683 UUID is bf3ae09b-cf55-48b5-a761-4adb72dccb17 2025-07-16 16:51:28,666 - DEBUG - Response for create_network : {'network': {'id': '090baa21-8c39-403e-b7a7-293398c1e153', 'name': 'ctest-vn-22613501', 'tenant_id': '1401e61155de44969a31cd67c739f2f6', 'project_id': '1401e61155de44969a31cd67c739f2f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68126720', 'ctest-vn-22613501'], 'port_security_enabled': True, 'description': ''}} 2025-07-16 16:51:28,884 - DEBUG - Response for create_subnet : {'subnet': {'id': '09733a82-8aa5-42f1-8185-e2e57f30ffad', 'name': '', 'tenant_id': '1401e61155de44969a31cd67c739f2f6', 'network_id': '090baa21-8c39-403e-b7a7-293398c1e153', 'ip_version': 4, 'cidr': '215.193.71.128/26', 'allocation_pools': [{'start': '215.193.71.130', 'end': '215.193.71.190'}], 'gateway_ip': '215.193.71.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.193.71.130', 'tags': [], 'project_id': '1401e61155de44969a31cd67c739f2f6'}} 2025-07-16 16:51:28,907 - INFO - Created VN ctest-vn-22613501 2025-07-16 16:51:28,963 - DEBUG - VN ctest-vn-22613501 UUID is 090baa21-8c39-403e-b7a7-293398c1e153 2025-07-16 16:51:29,093 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68126720:ctest-vn-96007683, 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-68126720:ctest-vn-22613501, 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-07-16 16:51:29,406 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bf3ae09b-cf55-48b5-a761-4adb72dccb17', 'name': 'ctest-vn-96007683', 'tenant_id': '1401e61155de44969a31cd67c739f2f6', 'project_id': '1401e61155de44969a31cd67c739f2f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['957cfcbb-3b9d-4b7c-b4ce-3238f10a42a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68126720', 'ctest-vn-96007683'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68126720', 'ctest-policy-allow-all-54123060']], 'subnet_ipam': [{'subnet_cidr': '7.250.233.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-16 16:51:29,701 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '090baa21-8c39-403e-b7a7-293398c1e153', 'name': 'ctest-vn-22613501', 'tenant_id': '1401e61155de44969a31cd67c739f2f6', 'project_id': '1401e61155de44969a31cd67c739f2f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['09733a82-8aa5-42f1-8185-e2e57f30ffad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68126720', 'ctest-vn-22613501'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68126720', 'ctest-policy-allow-all-54123060']], 'subnet_ipam': [{'subnet_cidr': '215.193.71.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-16 16:51:29,863 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-16 16:51:30,190 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-16 16:51:30,224 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a8fe2a09-3b4d-42dc-8fd2-c1f568d42f20 2025-07-16 16:51:30,244 - DEBUG - Requesting: http://10.0.0.33:8082/project/1401e611-55de-4496-9a31-cd67c739f2f6 2025-07-16 16:51:30,325 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bf3ae09b-cf55-48b5-a761-4adb72dccb17 2025-07-16 16:51:30,340 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bf3ae09b-cf55-48b5-a761-4adb72dccb17 2025-07-16 16:51:30,354 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/04429eff-f9a1-412d-957c-b6a57804522b 2025-07-16 16:51:30,363 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/04429eff-f9a1-412d-957c-b6a57804522b 2025-07-16 16:51:30,372 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/270b2893-cf2d-42d6-85b6-05042c183268 2025-07-16 16:51:30,382 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-16 16:51:30,382 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bf3ae09b-cf55-48b5-a761-4adb72dccb17 2025-07-16 16:51:30,395 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/04429eff-f9a1-412d-957c-b6a57804522b 2025-07-16 16:51:30,413 - INFO - Verified VN network id 8 for VN bf3ae09b-cf55-48b5-a761-4adb72dccb17 2025-07-16 16:51:30,413 - INFO - Verifications in API Server for VN ctest-vn-96007683 passed 2025-07-16 16:51:30,414 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bf3ae09b-cf55-48b5-a761-4adb72dccb17 2025-07-16 16:51:30,426 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/04429eff-f9a1-412d-957c-b6a57804522b 2025-07-16 16:51:30,437 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/04429eff-f9a1-412d-957c-b6a57804522b 2025-07-16 16:51:30,448 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/270b2893-cf2d-42d6-85b6-05042c183268 2025-07-16 16:51:30,464 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68126720:ctest-vn-96007683', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68126720', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13779572969696479413', 'uuid-lslong': '12061003583460264727'}, 'enable': 'true', 'created': '2025-07-16T16:51:28', 'last-modified': '2025-07-16T16:51:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.083285'} 2025-07-16 16:51:30,475 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-16 16:51:30,475 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96007683 passed 2025-07-16 16:51:30,475 - DEBUG - ====Verifying policy data for ctest-vn-96007683 in API_Server ====== 2025-07-16 16:51:30,475 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-16 16:51:30,485 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a8fe2a09-3b4d-42dc-8fd2-c1f568d42f20 2025-07-16 16:51:30,501 - DEBUG - Requesting: http://10.0.0.33:8082/project/1401e611-55de-4496-9a31-cd67c739f2f6 2025-07-16 16:51:30,589 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bf3ae09b-cf55-48b5-a761-4adb72dccb17 2025-07-16 16:51:30,603 - DEBUG - ==>Verifying data for policy with id: 6b89c03e-7619-4aa2-90c4-c6d1dd4604b5, fqn: ['default-domain', 'ctest-TestBasicPolicy-68126720', 'ctest-policy-allow-all-54123060'] 2025-07-16 16:51:30,603 - INFO - VN ctest-vn-96007683 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-16 16:51:30,603 - DEBUG - Verifying the vn in opserver 2025-07-16 16:51:30,603 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68126720:ctest-vn-96007683 virtual network link through opserver 10.0.0.33 2025-07-16 16:51:30,603 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-16 16:51:30,913 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-16 16:51:30,986 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68126720:ctest-vn-96007683', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68126720:ctest-vn-96007683?flat'} 2025-07-16 16:51:30,986 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68126720:ctest-vn-96007683 is found in opserver 2025-07-16 16:51:31,000 - DEBUG - Do not have enough data to verify VN in agent 2025-07-16 16:51:31,007 - DEBUG - VRF ids for VN ctest-vn-96007683: {} 2025-07-16 16:51:31,007 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-16 16:51:31,017 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a8fe2a09-3b4d-42dc-8fd2-c1f568d42f20 2025-07-16 16:51:31,031 - DEBUG - Requesting: http://10.0.0.33:8082/project/1401e611-55de-4496-9a31-cd67c739f2f6 2025-07-16 16:51:31,109 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/090baa21-8c39-403e-b7a7-293398c1e153 2025-07-16 16:51:31,122 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/090baa21-8c39-403e-b7a7-293398c1e153 2025-07-16 16:51:31,134 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aee74a2b-ae82-4485-b37d-b6e17c1396e7 2025-07-16 16:51:31,144 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aee74a2b-ae82-4485-b37d-b6e17c1396e7 2025-07-16 16:51:31,154 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/68a7ce6d-135d-4d4c-9c43-f98cd9df586a 2025-07-16 16:51:31,164 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-16 16:51:31,165 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/090baa21-8c39-403e-b7a7-293398c1e153 2025-07-16 16:51:31,178 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aee74a2b-ae82-4485-b37d-b6e17c1396e7 2025-07-16 16:51:31,197 - INFO - Verified VN network id 9 for VN 090baa21-8c39-403e-b7a7-293398c1e153 2025-07-16 16:51:31,198 - INFO - Verifications in API Server for VN ctest-vn-22613501 passed 2025-07-16 16:51:31,198 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/090baa21-8c39-403e-b7a7-293398c1e153 2025-07-16 16:51:31,217 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aee74a2b-ae82-4485-b37d-b6e17c1396e7 2025-07-16 16:51:31,230 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aee74a2b-ae82-4485-b37d-b6e17c1396e7 2025-07-16 16:51:31,241 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/68a7ce6d-135d-4d4c-9c43-f98cd9df586a 2025-07-16 16:51:31,260 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68126720:ctest-vn-22613501', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68126720', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '651801632148373566', 'uuid-lslong': '13233591331634405715'}, 'enable': 'true', 'created': '2025-07-16T16:51:28', 'last-modified': '2025-07-16T16:51:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.630543'} 2025-07-16 16:51:31,269 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-16 16:51:31,270 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22613501 passed 2025-07-16 16:51:31,270 - DEBUG - ====Verifying policy data for ctest-vn-22613501 in API_Server ====== 2025-07-16 16:51:31,270 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-16 16:51:31,278 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a8fe2a09-3b4d-42dc-8fd2-c1f568d42f20 2025-07-16 16:51:31,293 - DEBUG - Requesting: http://10.0.0.33:8082/project/1401e611-55de-4496-9a31-cd67c739f2f6 2025-07-16 16:51:31,374 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/090baa21-8c39-403e-b7a7-293398c1e153 2025-07-16 16:51:31,389 - DEBUG - ==>Verifying data for policy with id: 6b89c03e-7619-4aa2-90c4-c6d1dd4604b5, fqn: ['default-domain', 'ctest-TestBasicPolicy-68126720', 'ctest-policy-allow-all-54123060'] 2025-07-16 16:51:31,389 - INFO - VN ctest-vn-22613501 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-16 16:51:31,389 - DEBUG - Verifying the vn in opserver 2025-07-16 16:51:31,389 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68126720:ctest-vn-22613501 virtual network link through opserver 10.0.0.33 2025-07-16 16:51:31,389 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-16 16:51:31,404 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68126720:ctest-vn-22613501', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68126720:ctest-vn-22613501?flat'} 2025-07-16 16:51:31,404 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68126720:ctest-vn-22613501 is found in opserver 2025-07-16 16:51:31,425 - DEBUG - Do not have enough data to verify VN in agent 2025-07-16 16:51:31,436 - DEBUG - VRF ids for VN ctest-vn-22613501: {} 2025-07-16 16:51:31,503 - DEBUG - Services list from nova: [, , ] 2025-07-16 16:51:32,629 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3645-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3645-1) 2025-07-16 16:51:34,022 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3645-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3645-1) 2025-07-16 16:51:34,023 - INFO - Waiting for VM ctest-TestBasicPolicy-68126720-72360292 to be up.. 2025-07-16 16:51:34,114 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-16 16:51:39,223 - DEBUG - VM is in ACTIVE state now 2025-07-16 16:51:39,223 - INFO - VM name : ctest-TestBasicPolicy-68126720-72360292 2025-07-16 16:51:39,323 - DEBUG - VM ctest-TestBasicPolicy-68126720-72360292 ID is d32c0700-5372-4d77-a00c-c2872cd070ce 2025-07-16 16:51:39,347 - DEBUG - VM ctest-TestBasicPolicy-68126720-72360292 launched on Node cn-jenkins-deploy-platform-ansible-os-3645-1 2025-07-16 16:51:39,434 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d32c0700-5372-4d77-a00c-c2872cd070ce 2025-07-16 16:51:39,443 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d9bd2323-4628-4ffe-931d-c9a9cb486b1f 2025-07-16 16:51:42,707 - 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 1013ms') 2025-07-16 16:51:42,707 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68126720-72360292 failed! 2025-07-16 16:51:42,771 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68126720:ctest-vn-96007683 is 7.250.233.1 and allocation pool is NOT set 2025-07-16 16:51:44,828 - 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=9.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.566 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.566/5.175/9.784/4.609 ms') 2025-07-16 16:51:44,828 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68126720-72360292 passed 2025-07-16 16:51:44,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 16:51:44,983 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68126720-72360292, IP 7.250.233.3, Port 22 2025-07-16 16:51:45,154 - DEBUG - VM ctest-TestBasicPolicy-68126720-72360292 is ready for SSH connections 2025-07-16 16:51:45,154 - INFO - Waiting for VM ctest-TestBasicPolicy-68126720-70048263 to be up.. 2025-07-16 16:51:45,257 - DEBUG - VM is in ACTIVE state now 2025-07-16 16:51:45,257 - INFO - VM name : ctest-TestBasicPolicy-68126720-70048263 2025-07-16 16:51:45,349 - DEBUG - VM ctest-TestBasicPolicy-68126720-70048263 ID is 1c1acb86-f0bd-48e7-bee3-53bd870b4dfe 2025-07-16 16:51:45,349 - DEBUG - VM ctest-TestBasicPolicy-68126720-70048263 launched on Node cn-jenkins-deploy-platform-ansible-os-3645-1 2025-07-16 16:51:45,452 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1c1acb86-f0bd-48e7-bee3-53bd870b4dfe 2025-07-16 16:51:45,462 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d95782b2-b906-4ef7-a593-aff79532adad 2025-07-16 16:51:46,735 - 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=6.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.16 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 = 2.157/4.221/6.286/2.064 ms') 2025-07-16 16:51:46,735 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68126720-70048263 passed 2025-07-16 16:51:46,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 16:51:46,891 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68126720-70048263, IP 215.193.71.131, Port 22 2025-07-16 16:51:47,066 - DEBUG - VM ctest-TestBasicPolicy-68126720-70048263 is ready for SSH connections 2025-07-16 16:51:47,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 16:51:47,066 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.193.71.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-07-16 16:51:47,066 - DEBUG - ping -s 56 -c 3 -W 1 215.193.71.131 2025-07-16 16:51:51,258 - DEBUG - PING 215.193.71.131 (215.193.71.131): 56 data bytes 64 bytes from 215.193.71.131: seq=0 ttl=63 time=4.836 ms 64 bytes from 215.193.71.131: seq=1 ttl=63 time=1.564 ms 64 bytes from 215.193.71.131: seq=2 ttl=63 time=1.135 ms --- 215.193.71.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.135/2.511/4.836 ms 2025-07-16 16:51:51,259 - INFO - Ping to IP 215.193.71.131 from VM ctest-TestBasicPolicy-68126720-72360292 passed 2025-07-16 16:51:51,463 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6b89c03e-7619-4aa2-90c4-c6d1dd4604b5", "href": "http://10.0.0.33:8082/network-policy/6b89c03e-7619-4aa2-90c4-c6d1dd4604b5"}} 2025-07-16 16:51:51,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 16:51:51,463 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.193.71.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-07-16 16:51:51,464 - DEBUG - ping -s 56 -c 3 -W 1 215.193.71.131 2025-07-16 16:51:54,681 - DEBUG - PING 215.193.71.131 (215.193.71.131): 56 data bytes 64 bytes from 215.193.71.131: seq=0 ttl=63 time=2.566 ms --- 215.193.71.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.566/2.566/2.566 ms 2025-07-16 16:51:54,682 - WARNING - Ping to IP 215.193.71.131 from VM ctest-TestBasicPolicy-68126720-72360292 failed 2025-07-16 16:51:54,682 - INFO - Deleting VM ctest-TestBasicPolicy-68126720-70048263 2025-07-16 16:51:54,767 - INFO - Deleting VM ctest-TestBasicPolicy-68126720-72360292 2025-07-16 16:51:55,225 - INFO - Deleted policy ctest-policy-allow-all-54123060 2025-07-16 16:51:55,225 - INFO - Deleting VN ctest-vn-22613501 2025-07-16 16:51:55,270 - DEBUG - VN 090baa21-8c39-403e-b7a7-293398c1e153 still in use: Unable to complete operation on network 090baa21-8c39-403e-b7a7-293398c1e153. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-75eb86e4-139f-4022-978f-7400e063d57e'] 2025-07-16 16:51:55,270 - WARNING - Deleting VN ctest-vn-22613501 failed..Will retry 2025-07-16 16:51:57,401 - DEBUG - Response for deleting network () 2025-07-16 16:51:57,401 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/aee74a2b-ae82-4485-b37d-b6e17c1396e7 2025-07-16 16:51:57,412 - DEBUG - Response Code: 404 2025-07-16 16:51:57,412 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-16 16:51:57,421 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a8fe2a09-3b4d-42dc-8fd2-c1f568d42f20 2025-07-16 16:51:57,478 - DEBUG - Requesting: http://10.0.0.33:8082/project/1401e611-55de-4496-9a31-cd67c739f2f6 2025-07-16 16:51:57,550 - INFO - Validated that VN ctest-vn-22613501 is not found in API Server 2025-07-16 16:51:57,563 - DEBUG - VN ctest-vn-22613501 is not present in Agent 10.0.0.33 2025-07-16 16:51:57,563 - INFO - Validated that VN ctest-vn-22613501 is not in any agent 2025-07-16 16:51:57,583 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22613501 info 2025-07-16 16:51:57,583 - INFO - Deleting VN ctest-vn-96007683 2025-07-16 16:51:57,714 - DEBUG - Response for deleting network () 2025-07-16 16:51:57,714 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/04429eff-f9a1-412d-957c-b6a57804522b 2025-07-16 16:51:57,720 - DEBUG - Response Code: 404 2025-07-16 16:51:57,720 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-16 16:51:57,731 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a8fe2a09-3b4d-42dc-8fd2-c1f568d42f20 2025-07-16 16:51:57,789 - DEBUG - Requesting: http://10.0.0.33:8082/project/1401e611-55de-4496-9a31-cd67c739f2f6 2025-07-16 16:51:57,872 - INFO - Validated that VN ctest-vn-96007683 is not found in API Server 2025-07-16 16:51:57,885 - DEBUG - VN ctest-vn-96007683 is not present in Agent 10.0.0.33 2025-07-16 16:51:57,885 - INFO - Validated that VN ctest-vn-96007683 is not in any agent 2025-07-16 16:51:57,904 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96007683 info 2025-07-16 16:51:58,166 - DEBUG - No XMPP flaps were noticed during the test
2025-07-16 16:51:58,166 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-07-16 16:51:58,167 - INFO - -------------------------------------------------------------------------------- 2025-07-16 16:51:58,929 - INFO - Deleted project: ctest-TestBasicPolicy-68126720, ID : 1401e611-55de-4496-9a31-cd67c739f2f6