2025-11-17 02:06:21,137 - INFO - Domain Default found not creating 2025-11-17 02:06:21,315 - INFO - Project ctest-TestBasicPolicy-14314613 not found, creating it 2025-11-17 02:06:21,791 - INFO - Created Project:ctest-TestBasicPolicy-14314613, ID : b64e3b70-7759-4d71-baf7-ca3062d9b530 2025-11-17 02:06:23,379 - INFO - ================================================================================ 2025-11-17 02:06:23,379 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-17 02:06:23,379 - 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-11-17 02:06:23,639 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0'}} with 2025-11-17 02:06:23,639 - INFO - Initial checks done. Running the testcase now 2025-11-17 02:06:23,640 - INFO - 2025-11-17 02:06:24,226 - DEBUG - Response for create_network : {'network': {'id': 'fba9096c-b2e8-4672-9c89-702e21bd5acb', 'name': 'ctest-vn-46657541', 'tenant_id': 'b64e3b7077594d71baf7ca3062d9b530', 'project_id': 'b64e3b7077594d71baf7ca3062d9b530', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14314613', 'ctest-vn-46657541'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:06:24,376 - DEBUG - Response for create_subnet : {'subnet': {'id': '86288a09-1794-4989-a364-35e7feb3ef32', 'name': '', 'tenant_id': 'b64e3b7077594d71baf7ca3062d9b530', 'network_id': 'fba9096c-b2e8-4672-9c89-702e21bd5acb', 'ip_version': 4, 'cidr': '68.151.116.128/26', 'allocation_pools': [{'start': '68.151.116.130', 'end': '68.151.116.190'}], 'gateway_ip': '68.151.116.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.151.116.130', 'tags': [], 'project_id': 'b64e3b7077594d71baf7ca3062d9b530'}} 2025-11-17 02:06:24,393 - INFO - Created VN ctest-vn-46657541 2025-11-17 02:06:24,447 - DEBUG - VN ctest-vn-46657541 UUID is fba9096c-b2e8-4672-9c89-702e21bd5acb 2025-11-17 02:06:24,740 - DEBUG - Response for create_network : {'network': {'id': 'b71e2260-946b-4413-bca5-e81eae0746fd', 'name': 'ctest-vn-98798016', 'tenant_id': 'b64e3b7077594d71baf7ca3062d9b530', 'project_id': 'b64e3b7077594d71baf7ca3062d9b530', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14314613', 'ctest-vn-98798016'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:06:24,967 - DEBUG - Response for create_subnet : {'subnet': {'id': '2cad425a-a028-4682-99a5-8c0e719e5047', 'name': '', 'tenant_id': 'b64e3b7077594d71baf7ca3062d9b530', 'network_id': 'b71e2260-946b-4413-bca5-e81eae0746fd', 'ip_version': 4, 'cidr': '220.142.239.128/26', 'allocation_pools': [{'start': '220.142.239.130', 'end': '220.142.239.190'}], 'gateway_ip': '220.142.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.142.239.130', 'tags': [], 'project_id': 'b64e3b7077594d71baf7ca3062d9b530'}} 2025-11-17 02:06:24,984 - INFO - Created VN ctest-vn-98798016 2025-11-17 02:06:25,039 - DEBUG - VN ctest-vn-98798016 UUID is b71e2260-946b-4413-bca5-e81eae0746fd 2025-11-17 02:06:25,195 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14314613:ctest-vn-46657541, 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-14314613:ctest-vn-98798016, 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-11-17 02:06:25,494 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fba9096c-b2e8-4672-9c89-702e21bd5acb', 'name': 'ctest-vn-46657541', 'tenant_id': 'b64e3b7077594d71baf7ca3062d9b530', 'project_id': 'b64e3b7077594d71baf7ca3062d9b530', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['86288a09-1794-4989-a364-35e7feb3ef32'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14314613', 'ctest-vn-46657541'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14314613', 'ctest-policy-allow-all-91391372']], 'subnet_ipam': [{'subnet_cidr': '68.151.116.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:06:25,742 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b71e2260-946b-4413-bca5-e81eae0746fd', 'name': 'ctest-vn-98798016', 'tenant_id': 'b64e3b7077594d71baf7ca3062d9b530', 'project_id': 'b64e3b7077594d71baf7ca3062d9b530', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2cad425a-a028-4682-99a5-8c0e719e5047'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14314613', 'ctest-vn-98798016'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14314613', 'ctest-policy-allow-all-91391372']], 'subnet_ipam': [{'subnet_cidr': '220.142.239.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:06:25,891 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-17 02:06:26,229 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-17 02:06:26,265 - DEBUG - Requesting: http://10.0.0.141:8082/domain/67a4b56d-f107-4aaf-898e-a90fff88c9ed 2025-11-17 02:06:26,277 - DEBUG - Requesting: http://10.0.0.141:8082/project/b64e3b70-7759-4d71-baf7-ca3062d9b530 2025-11-17 02:06:26,355 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fba9096c-b2e8-4672-9c89-702e21bd5acb 2025-11-17 02:06:26,368 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fba9096c-b2e8-4672-9c89-702e21bd5acb 2025-11-17 02:06:26,378 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/746f5eb8-45b7-4355-a687-86d93226c431 2025-11-17 02:06:26,385 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/746f5eb8-45b7-4355-a687-86d93226c431 2025-11-17 02:06:26,391 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d1a40586-e8be-4d70-9ca6-8d47853c1962 2025-11-17 02:06:26,398 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 02:06:26,398 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fba9096c-b2e8-4672-9c89-702e21bd5acb 2025-11-17 02:06:26,407 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/746f5eb8-45b7-4355-a687-86d93226c431 2025-11-17 02:06:26,421 - INFO - Verified VN network id 11 for VN fba9096c-b2e8-4672-9c89-702e21bd5acb 2025-11-17 02:06:26,421 - INFO - Verifications in API Server for VN ctest-vn-46657541 passed 2025-11-17 02:06:26,421 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fba9096c-b2e8-4672-9c89-702e21bd5acb 2025-11-17 02:06:26,429 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/746f5eb8-45b7-4355-a687-86d93226c431 2025-11-17 02:06:26,436 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/746f5eb8-45b7-4355-a687-86d93226c431 2025-11-17 02:06:26,442 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d1a40586-e8be-4d70-9ca6-8d47853c1962 2025-11-17 02:06:26,454 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14314613:ctest-vn-46657541', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14314613', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18134035737046697586', 'uuid-lslong': '11279670085162982091'}, 'enable': 'true', 'created': '2025-11-17T02:06:24', 'last-modified': '2025-11-17T02:06:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.986534'} 2025-11-17 02:06:26,460 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 02:06:26,460 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46657541 passed 2025-11-17 02:06:26,460 - DEBUG - ====Verifying policy data for ctest-vn-46657541 in API_Server ====== 2025-11-17 02:06:26,460 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-17 02:06:26,465 - DEBUG - Requesting: http://10.0.0.141:8082/domain/67a4b56d-f107-4aaf-898e-a90fff88c9ed 2025-11-17 02:06:26,476 - DEBUG - Requesting: http://10.0.0.141:8082/project/b64e3b70-7759-4d71-baf7-ca3062d9b530 2025-11-17 02:06:26,552 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fba9096c-b2e8-4672-9c89-702e21bd5acb 2025-11-17 02:06:26,563 - DEBUG - ==>Verifying data for policy with id: 3abc4e50-c99c-4d33-94fa-9b1dd35951fc, fqn: ['default-domain', 'ctest-TestBasicPolicy-14314613', 'ctest-policy-allow-all-91391372'] 2025-11-17 02:06:26,564 - INFO - VN ctest-vn-46657541 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 02:06:26,564 - DEBUG - Verifying the vn in opserver 2025-11-17 02:06:26,564 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14314613:ctest-vn-46657541 virtual network link through opserver 10.0.0.141 2025-11-17 02:06:26,564 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-17 02:06:26,910 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-17 02:06:26,973 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14314613:ctest-vn-46657541', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14314613:ctest-vn-46657541?flat'} 2025-11-17 02:06:26,974 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14314613:ctest-vn-46657541 is found in opserver 2025-11-17 02:06:26,984 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 02:06:26,989 - DEBUG - VRF ids for VN ctest-vn-46657541: {} 2025-11-17 02:06:26,989 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-17 02:06:26,995 - DEBUG - Requesting: http://10.0.0.141:8082/domain/67a4b56d-f107-4aaf-898e-a90fff88c9ed 2025-11-17 02:06:27,011 - DEBUG - Requesting: http://10.0.0.141:8082/project/b64e3b70-7759-4d71-baf7-ca3062d9b530 2025-11-17 02:06:27,089 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b71e2260-946b-4413-bca5-e81eae0746fd 2025-11-17 02:06:27,105 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b71e2260-946b-4413-bca5-e81eae0746fd 2025-11-17 02:06:27,118 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0f921181-367a-41a9-8055-e5b9b68b342e 2025-11-17 02:06:27,127 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0f921181-367a-41a9-8055-e5b9b68b342e 2025-11-17 02:06:27,136 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/4af85bb1-a392-4070-9da7-c2bf3880d753 2025-11-17 02:06:27,146 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 02:06:27,146 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b71e2260-946b-4413-bca5-e81eae0746fd 2025-11-17 02:06:27,154 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0f921181-367a-41a9-8055-e5b9b68b342e 2025-11-17 02:06:27,168 - INFO - Verified VN network id 12 for VN b71e2260-946b-4413-bca5-e81eae0746fd 2025-11-17 02:06:27,168 - INFO - Verifications in API Server for VN ctest-vn-98798016 passed 2025-11-17 02:06:27,168 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b71e2260-946b-4413-bca5-e81eae0746fd 2025-11-17 02:06:27,177 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0f921181-367a-41a9-8055-e5b9b68b342e 2025-11-17 02:06:27,185 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0f921181-367a-41a9-8055-e5b9b68b342e 2025-11-17 02:06:27,191 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/4af85bb1-a392-4070-9da7-c2bf3880d753 2025-11-17 02:06:27,202 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14314613:ctest-vn-98798016', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14314613', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13195021756444394515', 'uuid-lslong': '13593526268754085629'}, 'enable': 'true', 'created': '2025-11-17T02:06:24', 'last-modified': '2025-11-17T02:06:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.489694'} 2025-11-17 02:06:27,209 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 02:06:27,209 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98798016 passed 2025-11-17 02:06:27,209 - DEBUG - ====Verifying policy data for ctest-vn-98798016 in API_Server ====== 2025-11-17 02:06:27,209 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-17 02:06:27,216 - DEBUG - Requesting: http://10.0.0.141:8082/domain/67a4b56d-f107-4aaf-898e-a90fff88c9ed 2025-11-17 02:06:27,227 - DEBUG - Requesting: http://10.0.0.141:8082/project/b64e3b70-7759-4d71-baf7-ca3062d9b530 2025-11-17 02:06:27,300 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b71e2260-946b-4413-bca5-e81eae0746fd 2025-11-17 02:06:27,311 - DEBUG - ==>Verifying data for policy with id: 3abc4e50-c99c-4d33-94fa-9b1dd35951fc, fqn: ['default-domain', 'ctest-TestBasicPolicy-14314613', 'ctest-policy-allow-all-91391372'] 2025-11-17 02:06:27,311 - INFO - VN ctest-vn-98798016 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 02:06:27,311 - DEBUG - Verifying the vn in opserver 2025-11-17 02:06:27,311 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14314613:ctest-vn-98798016 virtual network link through opserver 10.0.0.141 2025-11-17 02:06:27,311 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-17 02:06:27,320 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14314613:ctest-vn-98798016', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14314613:ctest-vn-98798016?flat'} 2025-11-17 02:06:27,320 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14314613:ctest-vn-98798016 is found in opserver 2025-11-17 02:06:27,329 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 02:06:27,334 - DEBUG - VRF ids for VN ctest-vn-98798016: {} 2025-11-17 02:06:27,393 - DEBUG - Services list from nova: [, , ] 2025-11-17 02:06:28,476 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4737-1) 2025-11-17 02:06:29,674 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4737-1) 2025-11-17 02:06:29,675 - INFO - Waiting for VM ctest-TestBasicPolicy-14314613-61543411 to be up.. 2025-11-17 02:06:29,753 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 02:06:34,828 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:06:34,828 - INFO - VM name : ctest-TestBasicPolicy-14314613-61543411 2025-11-17 02:06:34,905 - DEBUG - VM ctest-TestBasicPolicy-14314613-61543411 ID is 48e4bfe5-01b2-45f7-9ce3-bf66138f2616 2025-11-17 02:06:34,925 - DEBUG - VM ctest-TestBasicPolicy-14314613-61543411 launched on Node cn-jenkins-deploy-platform-ansible-os-4737-1 2025-11-17 02:06:34,996 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/48e4bfe5-01b2-45f7-9ce3-bf66138f2616 2025-11-17 02:06:35,005 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/d64e07c1-a618-46ce-b1bc-1f7880459322 2025-11-17 02:06:38,255 - 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-11-17 02:06:38,255 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14314613-61543411 failed! 2025-11-17 02:06:38,307 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-14314613:ctest-vn-46657541 is 68.151.116.129 and allocation pool is NOT set 2025-11-17 02:06:40,371 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.21 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 = 1.210/5.383/9.557/4.173 ms') 2025-11-17 02:06:40,371 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14314613-61543411 passed 2025-11-17 02:06:40,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:06:40,523 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14314613-61543411, IP 68.151.116.131, Port 22 2025-11-17 02:06:40,688 - DEBUG - VM ctest-TestBasicPolicy-14314613-61543411 is ready for SSH connections 2025-11-17 02:06:40,689 - INFO - Waiting for VM ctest-TestBasicPolicy-14314613-29189099 to be up.. 2025-11-17 02:06:40,767 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:06:40,767 - INFO - VM name : ctest-TestBasicPolicy-14314613-29189099 2025-11-17 02:06:40,838 - DEBUG - VM ctest-TestBasicPolicy-14314613-29189099 ID is e2d5074c-1804-4e52-861a-d4a0b902514c 2025-11-17 02:06:40,838 - DEBUG - VM ctest-TestBasicPolicy-14314613-29189099 launched on Node cn-jenkins-deploy-platform-ansible-os-4737-1 2025-11-17 02:06:40,909 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/e2d5074c-1804-4e52-861a-d4a0b902514c 2025-11-17 02:06:40,917 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7b6779f6-1d0f-4d0e-adce-50d7b3e3692a 2025-11-17 02:06:42,147 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.567 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.567/1.747/2.927/1.180 ms') 2025-11-17 02:06:42,147 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-14314613-29189099 passed 2025-11-17 02:06:42,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:06:42,295 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14314613-29189099, IP 220.142.239.131, Port 22 2025-11-17 02:06:42,460 - DEBUG - VM ctest-TestBasicPolicy-14314613-29189099 is ready for SSH connections 2025-11-17 02:06:42,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:06:42,460 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.142.239.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-17 02:06:42,460 - DEBUG - ping -s 56 -c 3 -W 1 220.142.239.131 2025-11-17 02:06:46,534 - DEBUG - PING 220.142.239.131 (220.142.239.131): 56 data bytes 64 bytes from 220.142.239.131: seq=0 ttl=63 time=3.858 ms 64 bytes from 220.142.239.131: seq=1 ttl=63 time=0.919 ms 64 bytes from 220.142.239.131: seq=2 ttl=63 time=0.742 ms --- 220.142.239.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.742/1.839/3.858 ms 2025-11-17 02:06:46,534 - INFO - Ping to IP 220.142.239.131 from VM ctest-TestBasicPolicy-14314613-61543411 passed 2025-11-17 02:06:46,711 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3abc4e50-c99c-4d33-94fa-9b1dd35951fc", "href": "http://10.0.0.141:8082/network-policy/3abc4e50-c99c-4d33-94fa-9b1dd35951fc"}} 2025-11-17 02:06:46,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:06:46,711 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.142.239.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-17 02:06:46,711 - DEBUG - ping -s 56 -c 3 -W 1 220.142.239.131 2025-11-17 02:06:49,946 - DEBUG - PING 220.142.239.131 (220.142.239.131): 56 data bytes --- 220.142.239.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 02:06:49,946 - WARNING - Ping to IP 220.142.239.131 from VM ctest-TestBasicPolicy-14314613-61543411 failed 2025-11-17 02:06:49,946 - INFO - Deleting VM ctest-TestBasicPolicy-14314613-29189099 2025-11-17 02:06:50,020 - INFO - Deleting VM ctest-TestBasicPolicy-14314613-61543411 2025-11-17 02:06:50,403 - INFO - Deleted policy ctest-policy-allow-all-91391372 2025-11-17 02:06:50,403 - INFO - Deleting VN ctest-vn-98798016 2025-11-17 02:06:50,438 - DEBUG - VN b71e2260-946b-4413-bca5-e81eae0746fd still in use: Unable to complete operation on network b71e2260-946b-4413-bca5-e81eae0746fd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ea87160c-a8d5-4c8b-8bbe-e622f7f4fc7b'] 2025-11-17 02:06:50,438 - WARNING - Deleting VN ctest-vn-98798016 failed..Will retry 2025-11-17 02:06:52,536 - DEBUG - Response for deleting network () 2025-11-17 02:06:52,536 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0f921181-367a-41a9-8055-e5b9b68b342e 2025-11-17 02:06:52,541 - DEBUG - Response Code: 404 2025-11-17 02:06:52,541 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-17 02:06:52,546 - DEBUG - Requesting: http://10.0.0.141:8082/domain/67a4b56d-f107-4aaf-898e-a90fff88c9ed 2025-11-17 02:06:52,600 - DEBUG - Requesting: http://10.0.0.141:8082/project/b64e3b70-7759-4d71-baf7-ca3062d9b530 2025-11-17 02:06:52,666 - INFO - Validated that VN ctest-vn-98798016 is not found in API Server 2025-11-17 02:06:52,676 - DEBUG - VN ctest-vn-98798016 is not present in Agent 10.0.0.141 2025-11-17 02:06:52,676 - INFO - Validated that VN ctest-vn-98798016 is not in any agent 2025-11-17 02:06:52,690 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98798016 info 2025-11-17 02:06:52,690 - INFO - Deleting VN ctest-vn-46657541 2025-11-17 02:06:52,790 - DEBUG - Response for deleting network () 2025-11-17 02:06:52,790 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/746f5eb8-45b7-4355-a687-86d93226c431 2025-11-17 02:06:52,795 - DEBUG - Response Code: 404 2025-11-17 02:06:52,795 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-17 02:06:52,800 - DEBUG - Requesting: http://10.0.0.141:8082/domain/67a4b56d-f107-4aaf-898e-a90fff88c9ed 2025-11-17 02:06:52,856 - DEBUG - Requesting: http://10.0.0.141:8082/project/b64e3b70-7759-4d71-baf7-ca3062d9b530 2025-11-17 02:06:52,925 - INFO - Validated that VN ctest-vn-46657541 is not found in API Server 2025-11-17 02:06:52,937 - DEBUG - VN ctest-vn-46657541 is not present in Agent 10.0.0.141 2025-11-17 02:06:52,937 - INFO - Validated that VN ctest-vn-46657541 is not in any agent 2025-11-17 02:06:52,952 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46657541 info 2025-11-17 02:06:53,211 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 02:06:53,211 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-11-17 02:06:53,211 - INFO - -------------------------------------------------------------------------------- 2025-11-17 02:06:53,913 - INFO - Deleted project: ctest-TestBasicPolicy-14314613, ID : b64e3b70-7759-4d71-baf7-ca3062d9b530