2025-11-24 02:01:36,792 - INFO - Domain Default found not creating 2025-11-24 02:01:36,966 - INFO - Project ctest-TestBasicPolicy-35531763 not found, creating it 2025-11-24 02:01:37,427 - INFO - Created Project:ctest-TestBasicPolicy-35531763, ID : fb266561-4cef-4c2e-a310-16d368700e62 2025-11-24 02:01:39,013 - INFO - ================================================================================ 2025-11-24 02:01:39,013 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-24 02:01:39,013 - 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-24 02:01:39,269 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-24 02:01:39,269 - INFO - Initial checks done. Running the testcase now 2025-11-24 02:01:39,269 - INFO - 2025-11-24 02:01:39,859 - DEBUG - Response for create_network : {'network': {'id': '6a5616b7-77a0-42b0-9e16-7c93d095941a', 'name': 'ctest-vn-48949379', 'tenant_id': 'fb2665614cef4c2ea31016d368700e62', 'project_id': 'fb2665614cef4c2ea31016d368700e62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35531763', 'ctest-vn-48949379'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:01:40,014 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eecd8cba-0b9b-451c-8ae5-a6c0fb8335d5', 'name': '', 'tenant_id': 'fb2665614cef4c2ea31016d368700e62', 'network_id': '6a5616b7-77a0-42b0-9e16-7c93d095941a', 'ip_version': 4, 'cidr': '145.61.202.192/26', 'allocation_pools': [{'start': '145.61.202.194', 'end': '145.61.202.254'}], 'gateway_ip': '145.61.202.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.61.202.194', 'tags': [], 'project_id': 'fb2665614cef4c2ea31016d368700e62'}} 2025-11-24 02:01:40,030 - INFO - Created VN ctest-vn-48949379 2025-11-24 02:01:40,083 - DEBUG - VN ctest-vn-48949379 UUID is 6a5616b7-77a0-42b0-9e16-7c93d095941a 2025-11-24 02:01:40,400 - DEBUG - Response for create_network : {'network': {'id': '69e2fe55-5231-4514-98c9-cfdc8e5dc3d2', 'name': 'ctest-vn-38554887', 'tenant_id': 'fb2665614cef4c2ea31016d368700e62', 'project_id': 'fb2665614cef4c2ea31016d368700e62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35531763', 'ctest-vn-38554887'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:01:40,614 - DEBUG - Response for create_subnet : {'subnet': {'id': '800167ef-4c2e-4213-85fb-76623486c43a', 'name': '', 'tenant_id': 'fb2665614cef4c2ea31016d368700e62', 'network_id': '69e2fe55-5231-4514-98c9-cfdc8e5dc3d2', 'ip_version': 4, 'cidr': '206.177.251.192/26', 'allocation_pools': [{'start': '206.177.251.194', 'end': '206.177.251.254'}], 'gateway_ip': '206.177.251.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.177.251.194', 'tags': [], 'project_id': 'fb2665614cef4c2ea31016d368700e62'}} 2025-11-24 02:01:40,632 - INFO - Created VN ctest-vn-38554887 2025-11-24 02:01:40,683 - DEBUG - VN ctest-vn-38554887 UUID is 69e2fe55-5231-4514-98c9-cfdc8e5dc3d2 2025-11-24 02:01:40,796 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35531763:ctest-vn-48949379, 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-35531763:ctest-vn-38554887, 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-24 02:01:41,084 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a5616b7-77a0-42b0-9e16-7c93d095941a', 'name': 'ctest-vn-48949379', 'tenant_id': 'fb2665614cef4c2ea31016d368700e62', 'project_id': 'fb2665614cef4c2ea31016d368700e62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eecd8cba-0b9b-451c-8ae5-a6c0fb8335d5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35531763', 'ctest-vn-48949379'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35531763', 'ctest-policy-allow-all-31872271']], 'subnet_ipam': [{'subnet_cidr': '145.61.202.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:01:41,307 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '69e2fe55-5231-4514-98c9-cfdc8e5dc3d2', 'name': 'ctest-vn-38554887', 'tenant_id': 'fb2665614cef4c2ea31016d368700e62', 'project_id': 'fb2665614cef4c2ea31016d368700e62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['800167ef-4c2e-4213-85fb-76623486c43a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35531763', 'ctest-vn-38554887'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35531763', 'ctest-policy-allow-all-31872271']], 'subnet_ipam': [{'subnet_cidr': '206.177.251.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:01:41,475 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-24 02:01:41,809 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-24 02:01:41,838 - DEBUG - Requesting: http://10.0.0.22:8082/domain/295ef7b1-a5be-4920-aabe-44faad2530b0 2025-11-24 02:01:41,849 - DEBUG - Requesting: http://10.0.0.22:8082/project/fb266561-4cef-4c2e-a310-16d368700e62 2025-11-24 02:01:41,924 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6a5616b7-77a0-42b0-9e16-7c93d095941a 2025-11-24 02:01:41,934 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6a5616b7-77a0-42b0-9e16-7c93d095941a 2025-11-24 02:01:41,943 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/721ff59b-faea-4cf6-9400-c5c7c27fbdac 2025-11-24 02:01:41,949 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/721ff59b-faea-4cf6-9400-c5c7c27fbdac 2025-11-24 02:01:41,956 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/25e53960-b7ce-470f-8011-42d5e0e983c3 2025-11-24 02:01:41,962 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 02:01:41,962 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6a5616b7-77a0-42b0-9e16-7c93d095941a 2025-11-24 02:01:41,971 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/721ff59b-faea-4cf6-9400-c5c7c27fbdac 2025-11-24 02:01:41,984 - INFO - Verified VN network id 11 for VN 6a5616b7-77a0-42b0-9e16-7c93d095941a 2025-11-24 02:01:41,984 - INFO - Verifications in API Server for VN ctest-vn-48949379 passed 2025-11-24 02:01:41,985 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6a5616b7-77a0-42b0-9e16-7c93d095941a 2025-11-24 02:01:41,993 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/721ff59b-faea-4cf6-9400-c5c7c27fbdac 2025-11-24 02:01:41,999 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/721ff59b-faea-4cf6-9400-c5c7c27fbdac 2025-11-24 02:01:42,006 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/25e53960-b7ce-470f-8011-42d5e0e983c3 2025-11-24 02:01:42,016 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35531763:ctest-vn-48949379', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35531763', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7662336793259295408', 'uuid-lslong': '11391429281781748762'}, 'enable': 'true', 'created': '2025-11-24T02:01:39', 'last-modified': '2025-11-24T02:01:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.950130'} 2025-11-24 02:01:42,024 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 02:01:42,024 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48949379 passed 2025-11-24 02:01:42,024 - DEBUG - ====Verifying policy data for ctest-vn-48949379 in API_Server ====== 2025-11-24 02:01:42,024 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-24 02:01:42,029 - DEBUG - Requesting: http://10.0.0.22:8082/domain/295ef7b1-a5be-4920-aabe-44faad2530b0 2025-11-24 02:01:42,040 - DEBUG - Requesting: http://10.0.0.22:8082/project/fb266561-4cef-4c2e-a310-16d368700e62 2025-11-24 02:01:42,109 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6a5616b7-77a0-42b0-9e16-7c93d095941a 2025-11-24 02:01:42,118 - DEBUG - ==>Verifying data for policy with id: ec733b86-b330-4fa3-845a-26da33bfb668, fqn: ['default-domain', 'ctest-TestBasicPolicy-35531763', 'ctest-policy-allow-all-31872271'] 2025-11-24 02:01:42,118 - INFO - VN ctest-vn-48949379 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 02:01:42,118 - DEBUG - Verifying the vn in opserver 2025-11-24 02:01:42,118 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35531763:ctest-vn-48949379 virtual network link through opserver 10.0.0.22 2025-11-24 02:01:42,118 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-24 02:01:42,453 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-24 02:01:42,513 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35531763:ctest-vn-48949379', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35531763:ctest-vn-48949379?flat'} 2025-11-24 02:01:42,513 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35531763:ctest-vn-48949379 is found in opserver 2025-11-24 02:01:42,523 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 02:01:42,527 - DEBUG - VRF ids for VN ctest-vn-48949379: {} 2025-11-24 02:01:42,527 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-24 02:01:42,532 - DEBUG - Requesting: http://10.0.0.22:8082/domain/295ef7b1-a5be-4920-aabe-44faad2530b0 2025-11-24 02:01:42,543 - DEBUG - Requesting: http://10.0.0.22:8082/project/fb266561-4cef-4c2e-a310-16d368700e62 2025-11-24 02:01:42,614 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/69e2fe55-5231-4514-98c9-cfdc8e5dc3d2 2025-11-24 02:01:42,625 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/69e2fe55-5231-4514-98c9-cfdc8e5dc3d2 2025-11-24 02:01:42,634 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ba314a61-5a91-4ec3-ab55-79a68846812b 2025-11-24 02:01:42,640 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ba314a61-5a91-4ec3-ab55-79a68846812b 2025-11-24 02:01:42,647 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/4ae4c68e-0911-47d3-8915-505b32429c2f 2025-11-24 02:01:42,653 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 02:01:42,653 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/69e2fe55-5231-4514-98c9-cfdc8e5dc3d2 2025-11-24 02:01:42,661 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ba314a61-5a91-4ec3-ab55-79a68846812b 2025-11-24 02:01:42,673 - INFO - Verified VN network id 12 for VN 69e2fe55-5231-4514-98c9-cfdc8e5dc3d2 2025-11-24 02:01:42,673 - INFO - Verifications in API Server for VN ctest-vn-38554887 passed 2025-11-24 02:01:42,673 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/69e2fe55-5231-4514-98c9-cfdc8e5dc3d2 2025-11-24 02:01:42,681 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ba314a61-5a91-4ec3-ab55-79a68846812b 2025-11-24 02:01:42,688 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ba314a61-5a91-4ec3-ab55-79a68846812b 2025-11-24 02:01:42,693 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/4ae4c68e-0911-47d3-8915-505b32429c2f 2025-11-24 02:01:42,703 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35531763:ctest-vn-38554887', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35531763', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7629940361123677460', 'uuid-lslong': '11009559310272152530'}, 'enable': 'true', 'created': '2025-11-24T02:01:40', 'last-modified': '2025-11-24T02:01:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.416861'} 2025-11-24 02:01:42,708 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 02:01:42,708 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38554887 passed 2025-11-24 02:01:42,708 - DEBUG - ====Verifying policy data for ctest-vn-38554887 in API_Server ====== 2025-11-24 02:01:42,709 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-24 02:01:42,714 - DEBUG - Requesting: http://10.0.0.22:8082/domain/295ef7b1-a5be-4920-aabe-44faad2530b0 2025-11-24 02:01:42,724 - DEBUG - Requesting: http://10.0.0.22:8082/project/fb266561-4cef-4c2e-a310-16d368700e62 2025-11-24 02:01:42,797 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/69e2fe55-5231-4514-98c9-cfdc8e5dc3d2 2025-11-24 02:01:42,806 - DEBUG - ==>Verifying data for policy with id: ec733b86-b330-4fa3-845a-26da33bfb668, fqn: ['default-domain', 'ctest-TestBasicPolicy-35531763', 'ctest-policy-allow-all-31872271'] 2025-11-24 02:01:42,806 - INFO - VN ctest-vn-38554887 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 02:01:42,806 - DEBUG - Verifying the vn in opserver 2025-11-24 02:01:42,806 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35531763:ctest-vn-38554887 virtual network link through opserver 10.0.0.22 2025-11-24 02:01:42,806 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-24 02:01:42,815 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35531763:ctest-vn-38554887', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35531763:ctest-vn-38554887?flat'} 2025-11-24 02:01:42,815 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35531763:ctest-vn-38554887 is found in opserver 2025-11-24 02:01:42,823 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 02:01:42,827 - DEBUG - VRF ids for VN ctest-vn-38554887: {} 2025-11-24 02:01:42,887 - DEBUG - Services list from nova: [, , ] 2025-11-24 02:01:43,991 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4802-1) 2025-11-24 02:01:45,242 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4802-1) 2025-11-24 02:01:45,242 - INFO - Waiting for VM ctest-TestBasicPolicy-35531763-38095511 to be up.. 2025-11-24 02:01:45,322 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 02:01:50,398 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:01:50,398 - INFO - VM name : ctest-TestBasicPolicy-35531763-38095511 2025-11-24 02:01:50,472 - DEBUG - VM ctest-TestBasicPolicy-35531763-38095511 ID is b2eecc04-8448-40ba-8cc5-a066505bd7bb 2025-11-24 02:01:50,492 - DEBUG - VM ctest-TestBasicPolicy-35531763-38095511 launched on Node cn-jenkins-deploy-platform-ansible-os-4802-1 2025-11-24 02:01:50,565 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b2eecc04-8448-40ba-8cc5-a066505bd7bb 2025-11-24 02:01:50,573 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c0be12b0-f501-456f-9e72-a947d9f0af7e 2025-11-24 02:01:53,814 - 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 1012ms') 2025-11-24 02:01:53,815 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35531763-38095511 failed! 2025-11-24 02:01:53,867 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35531763:ctest-vn-48949379 is 145.61.202.193 and allocation pool is NOT set 2025-11-24 02:01:55,924 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=6.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.497 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.497/3.731/6.965/3.234 ms') 2025-11-24 02:01:55,924 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35531763-38095511 passed 2025-11-24 02:01:56,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:01:56,084 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35531763-38095511, IP 145.61.202.195, Port 22 2025-11-24 02:01:56,249 - DEBUG - VM ctest-TestBasicPolicy-35531763-38095511 is ready for SSH connections 2025-11-24 02:01:56,250 - INFO - Waiting for VM ctest-TestBasicPolicy-35531763-22815059 to be up.. 2025-11-24 02:01:56,324 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:01:56,324 - INFO - VM name : ctest-TestBasicPolicy-35531763-22815059 2025-11-24 02:01:56,392 - DEBUG - VM ctest-TestBasicPolicy-35531763-22815059 ID is 3adc548d-313a-4799-a31a-32b97db861ab 2025-11-24 02:01:56,392 - DEBUG - VM ctest-TestBasicPolicy-35531763-22815059 launched on Node cn-jenkins-deploy-platform-ansible-os-4802-1 2025-11-24 02:01:56,459 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3adc548d-313a-4799-a31a-32b97db861ab 2025-11-24 02:01:56,466 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/975d1da2-2873-4db0-accc-7fc0ee6ddddd 2025-11-24 02:01:57,707 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.954 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.954/2.602/4.250/1.648 ms') 2025-11-24 02:01:57,707 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35531763-22815059 passed 2025-11-24 02:01:57,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:01:57,856 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35531763-22815059, IP 206.177.251.195, Port 22 2025-11-24 02:01:58,011 - DEBUG - VM ctest-TestBasicPolicy-35531763-22815059 is ready for SSH connections 2025-11-24 02:01:58,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:01:58,011 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.177.251.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-24 02:01:58,011 - DEBUG - ping -s 56 -c 3 -W 1 206.177.251.195 2025-11-24 02:02:02,085 - DEBUG - PING 206.177.251.195 (206.177.251.195): 56 data bytes 64 bytes from 206.177.251.195: seq=0 ttl=63 time=4.563 ms 64 bytes from 206.177.251.195: seq=1 ttl=63 time=0.867 ms 64 bytes from 206.177.251.195: seq=2 ttl=63 time=0.958 ms --- 206.177.251.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.867/2.129/4.563 ms 2025-11-24 02:02:02,085 - INFO - Ping to IP 206.177.251.195 from VM ctest-TestBasicPolicy-35531763-38095511 passed 2025-11-24 02:02:02,259 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ec733b86-b330-4fa3-845a-26da33bfb668", "href": "http://10.0.0.22:8082/network-policy/ec733b86-b330-4fa3-845a-26da33bfb668"}} 2025-11-24 02:02:02,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:02:02,259 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.177.251.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-24 02:02:02,260 - DEBUG - ping -s 56 -c 3 -W 1 206.177.251.195 2025-11-24 02:02:05,482 - DEBUG - PING 206.177.251.195 (206.177.251.195): 56 data bytes --- 206.177.251.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-24 02:02:05,482 - WARNING - Ping to IP 206.177.251.195 from VM ctest-TestBasicPolicy-35531763-38095511 failed 2025-11-24 02:02:05,482 - INFO - Deleting VM ctest-TestBasicPolicy-35531763-22815059 2025-11-24 02:02:05,549 - INFO - Deleting VM ctest-TestBasicPolicy-35531763-38095511 2025-11-24 02:02:05,930 - INFO - Deleted policy ctest-policy-allow-all-31872271 2025-11-24 02:02:05,930 - INFO - Deleting VN ctest-vn-38554887 2025-11-24 02:02:05,966 - DEBUG - VN 69e2fe55-5231-4514-98c9-cfdc8e5dc3d2 still in use: Unable to complete operation on network 69e2fe55-5231-4514-98c9-cfdc8e5dc3d2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee890fcc-24a3-4fa6-a905-579c13b22f8a'] 2025-11-24 02:02:05,966 - WARNING - Deleting VN ctest-vn-38554887 failed..Will retry 2025-11-24 02:02:08,074 - DEBUG - Response for deleting network () 2025-11-24 02:02:08,074 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ba314a61-5a91-4ec3-ab55-79a68846812b 2025-11-24 02:02:08,083 - DEBUG - Response Code: 404 2025-11-24 02:02:08,083 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-24 02:02:08,088 - DEBUG - Requesting: http://10.0.0.22:8082/domain/295ef7b1-a5be-4920-aabe-44faad2530b0 2025-11-24 02:02:08,140 - DEBUG - Requesting: http://10.0.0.22:8082/project/fb266561-4cef-4c2e-a310-16d368700e62 2025-11-24 02:02:08,212 - INFO - Validated that VN ctest-vn-38554887 is not found in API Server 2025-11-24 02:02:08,221 - DEBUG - VN ctest-vn-38554887 is not present in Agent 10.0.0.22 2025-11-24 02:02:08,221 - INFO - Validated that VN ctest-vn-38554887 is not in any agent 2025-11-24 02:02:08,233 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38554887 info 2025-11-24 02:02:08,233 - INFO - Deleting VN ctest-vn-48949379 2025-11-24 02:02:08,336 - DEBUG - Response for deleting network () 2025-11-24 02:02:08,336 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/721ff59b-faea-4cf6-9400-c5c7c27fbdac 2025-11-24 02:02:08,343 - DEBUG - Response Code: 404 2025-11-24 02:02:08,343 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-24 02:02:08,349 - DEBUG - Requesting: http://10.0.0.22:8082/domain/295ef7b1-a5be-4920-aabe-44faad2530b0 2025-11-24 02:02:08,406 - DEBUG - Requesting: http://10.0.0.22:8082/project/fb266561-4cef-4c2e-a310-16d368700e62 2025-11-24 02:02:08,480 - INFO - Validated that VN ctest-vn-48949379 is not found in API Server 2025-11-24 02:02:08,489 - DEBUG - VN ctest-vn-48949379 is not present in Agent 10.0.0.22 2025-11-24 02:02:08,489 - INFO - Validated that VN ctest-vn-48949379 is not in any agent 2025-11-24 02:02:08,503 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48949379 info 2025-11-24 02:02:08,756 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 02:02:08,757 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-24 02:02:08,757 - INFO - -------------------------------------------------------------------------------- 2025-11-24 02:02:09,474 - INFO - Deleted project: ctest-TestBasicPolicy-35531763, ID : fb266561-4cef-4c2e-a310-16d368700e62