2025-11-05 15:29:29,448 - INFO - Domain Default found not creating 2025-11-05 15:29:29,584 - INFO - Project ctest-TestBasicPolicy-06855402 not found, creating it 2025-11-05 15:29:30,015 - INFO - Created Project:ctest-TestBasicPolicy-06855402, ID : 96a8fb5d-4649-4110-b88f-fd749ef15aba 2025-11-05 15:29:31,418 - INFO - ================================================================================ 2025-11-05 15:29:31,418 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 15:29:31,418 - 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-05 15:29:31,673 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with 2025-11-05 15:29:31,673 - INFO - Initial checks done. Running the testcase now 2025-11-05 15:29:31,673 - INFO - 2025-11-05 15:29:32,177 - DEBUG - Response for create_network : {'network': {'id': '6f3da031-3487-4a82-a421-c19cc628c608', 'name': 'ctest-vn-44046731', 'tenant_id': '96a8fb5d46494110b88ffd749ef15aba', 'project_id': '96a8fb5d46494110b88ffd749ef15aba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06855402', 'ctest-vn-44046731'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 15:29:32,337 - DEBUG - Response for create_subnet : {'subnet': {'id': '55fe8529-149a-4052-94e8-8a4c3734a4b9', 'name': '', 'tenant_id': '96a8fb5d46494110b88ffd749ef15aba', 'network_id': '6f3da031-3487-4a82-a421-c19cc628c608', 'ip_version': 4, 'cidr': '2.179.139.64/26', 'allocation_pools': [{'start': '2.179.139.66', 'end': '2.179.139.126'}], 'gateway_ip': '2.179.139.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.179.139.66', 'tags': [], 'project_id': '96a8fb5d46494110b88ffd749ef15aba'}} 2025-11-05 15:29:32,353 - INFO - Created VN ctest-vn-44046731 2025-11-05 15:29:32,408 - DEBUG - VN ctest-vn-44046731 UUID is 6f3da031-3487-4a82-a421-c19cc628c608 2025-11-05 15:29:32,711 - DEBUG - Response for create_network : {'network': {'id': 'f516cfd3-9894-4818-99f5-ef701b548d10', 'name': 'ctest-vn-26914342', 'tenant_id': '96a8fb5d46494110b88ffd749ef15aba', 'project_id': '96a8fb5d46494110b88ffd749ef15aba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06855402', 'ctest-vn-26914342'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 15:29:32,916 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d15a02f-e992-49b0-99c5-147942e95ac8', 'name': '', 'tenant_id': '96a8fb5d46494110b88ffd749ef15aba', 'network_id': 'f516cfd3-9894-4818-99f5-ef701b548d10', 'ip_version': 4, 'cidr': '158.110.39.64/26', 'allocation_pools': [{'start': '158.110.39.66', 'end': '158.110.39.126'}], 'gateway_ip': '158.110.39.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.110.39.66', 'tags': [], 'project_id': '96a8fb5d46494110b88ffd749ef15aba'}} 2025-11-05 15:29:32,931 - INFO - Created VN ctest-vn-26914342 2025-11-05 15:29:32,984 - DEBUG - VN ctest-vn-26914342 UUID is f516cfd3-9894-4818-99f5-ef701b548d10 2025-11-05 15:29:33,120 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06855402:ctest-vn-44046731, 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-06855402:ctest-vn-26914342, 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-05 15:29:33,395 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6f3da031-3487-4a82-a421-c19cc628c608', 'name': 'ctest-vn-44046731', 'tenant_id': '96a8fb5d46494110b88ffd749ef15aba', 'project_id': '96a8fb5d46494110b88ffd749ef15aba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['55fe8529-149a-4052-94e8-8a4c3734a4b9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06855402', 'ctest-vn-44046731'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06855402', 'ctest-policy-allow-all-49471384']], 'subnet_ipam': [{'subnet_cidr': '2.179.139.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 15:29:33,662 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f516cfd3-9894-4818-99f5-ef701b548d10', 'name': 'ctest-vn-26914342', 'tenant_id': '96a8fb5d46494110b88ffd749ef15aba', 'project_id': '96a8fb5d46494110b88ffd749ef15aba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8d15a02f-e992-49b0-99c5-147942e95ac8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06855402', 'ctest-vn-26914342'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06855402', 'ctest-policy-allow-all-49471384']], 'subnet_ipam': [{'subnet_cidr': '158.110.39.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 15:29:33,804 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 15:29:34,097 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 15:29:34,123 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6e14b808-0b37-4900-b158-e3a368c5eb06 2025-11-05 15:29:34,134 - DEBUG - Requesting: http://10.0.0.50:8082/project/96a8fb5d-4649-4110-b88f-fd749ef15aba 2025-11-05 15:29:34,203 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6f3da031-3487-4a82-a421-c19cc628c608 2025-11-05 15:29:34,214 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6f3da031-3487-4a82-a421-c19cc628c608 2025-11-05 15:29:34,222 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d11d74e-c6c4-4dbc-8123-04fad660e627 2025-11-05 15:29:34,228 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d11d74e-c6c4-4dbc-8123-04fad660e627 2025-11-05 15:29:34,234 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/eb71b830-f098-47e7-8819-6678b0ac0a8e 2025-11-05 15:29:34,239 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 15:29:34,239 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6f3da031-3487-4a82-a421-c19cc628c608 2025-11-05 15:29:34,247 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d11d74e-c6c4-4dbc-8123-04fad660e627 2025-11-05 15:29:34,260 - INFO - Verified VN network id 10 for VN 6f3da031-3487-4a82-a421-c19cc628c608 2025-11-05 15:29:34,260 - INFO - Verifications in API Server for VN ctest-vn-44046731 passed 2025-11-05 15:29:34,260 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6f3da031-3487-4a82-a421-c19cc628c608 2025-11-05 15:29:34,269 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d11d74e-c6c4-4dbc-8123-04fad660e627 2025-11-05 15:29:34,276 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d11d74e-c6c4-4dbc-8123-04fad660e627 2025-11-05 15:29:34,284 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/eb71b830-f098-47e7-8819-6678b0ac0a8e 2025-11-05 15:29:34,295 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06855402:ctest-vn-44046731', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06855402', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8015739044984474242', 'uuid-lslong': '11826946975535253000'}, 'enable': 'true', 'created': '2025-11-05T15:29:32', 'last-modified': '2025-11-05T15:29:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.915060'} 2025-11-05 15:29:34,301 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 15:29:34,301 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44046731 passed 2025-11-05 15:29:34,301 - DEBUG - ====Verifying policy data for ctest-vn-44046731 in API_Server ====== 2025-11-05 15:29:34,301 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 15:29:34,306 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6e14b808-0b37-4900-b158-e3a368c5eb06 2025-11-05 15:29:34,319 - DEBUG - Requesting: http://10.0.0.50:8082/project/96a8fb5d-4649-4110-b88f-fd749ef15aba 2025-11-05 15:29:34,388 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6f3da031-3487-4a82-a421-c19cc628c608 2025-11-05 15:29:34,396 - DEBUG - ==>Verifying data for policy with id: bbd4a8f3-965e-41f5-9858-673ddb692943, fqn: ['default-domain', 'ctest-TestBasicPolicy-06855402', 'ctest-policy-allow-all-49471384'] 2025-11-05 15:29:34,396 - INFO - VN ctest-vn-44046731 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 15:29:34,396 - DEBUG - Verifying the vn in opserver 2025-11-05 15:29:34,396 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06855402:ctest-vn-44046731 virtual network link through opserver 10.0.0.50 2025-11-05 15:29:34,396 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-05 15:29:34,684 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-05 15:29:34,730 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06855402:ctest-vn-44046731', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06855402:ctest-vn-44046731?flat'} 2025-11-05 15:29:34,730 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06855402:ctest-vn-44046731 is found in opserver 2025-11-05 15:29:34,738 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 15:29:34,742 - DEBUG - VRF ids for VN ctest-vn-44046731: {} 2025-11-05 15:29:34,742 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 15:29:34,746 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6e14b808-0b37-4900-b158-e3a368c5eb06 2025-11-05 15:29:34,756 - DEBUG - Requesting: http://10.0.0.50:8082/project/96a8fb5d-4649-4110-b88f-fd749ef15aba 2025-11-05 15:29:34,824 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f516cfd3-9894-4818-99f5-ef701b548d10 2025-11-05 15:29:34,833 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f516cfd3-9894-4818-99f5-ef701b548d10 2025-11-05 15:29:34,840 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c495feab-ab06-49bd-965b-751ae6707d57 2025-11-05 15:29:34,845 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c495feab-ab06-49bd-965b-751ae6707d57 2025-11-05 15:29:34,849 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1341b485-f38c-4e26-ac00-b800757cabd3 2025-11-05 15:29:34,854 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 15:29:34,854 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f516cfd3-9894-4818-99f5-ef701b548d10 2025-11-05 15:29:34,860 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c495feab-ab06-49bd-965b-751ae6707d57 2025-11-05 15:29:34,870 - INFO - Verified VN network id 11 for VN f516cfd3-9894-4818-99f5-ef701b548d10 2025-11-05 15:29:34,870 - INFO - Verifications in API Server for VN ctest-vn-26914342 passed 2025-11-05 15:29:34,870 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f516cfd3-9894-4818-99f5-ef701b548d10 2025-11-05 15:29:34,876 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c495feab-ab06-49bd-965b-751ae6707d57 2025-11-05 15:29:34,881 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c495feab-ab06-49bd-965b-751ae6707d57 2025-11-05 15:29:34,885 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1341b485-f38c-4e26-ac00-b800757cabd3 2025-11-05 15:29:34,894 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06855402:ctest-vn-26914342', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06855402', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17660531496484882456', 'uuid-lslong': '11094036521870986512'}, 'enable': 'true', 'created': '2025-11-05T15:29:32', 'last-modified': '2025-11-05T15:29:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.299247'} 2025-11-05 15:29:34,898 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 15:29:34,898 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26914342 passed 2025-11-05 15:29:34,898 - DEBUG - ====Verifying policy data for ctest-vn-26914342 in API_Server ====== 2025-11-05 15:29:34,898 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 15:29:34,902 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6e14b808-0b37-4900-b158-e3a368c5eb06 2025-11-05 15:29:34,910 - DEBUG - Requesting: http://10.0.0.50:8082/project/96a8fb5d-4649-4110-b88f-fd749ef15aba 2025-11-05 15:29:34,977 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f516cfd3-9894-4818-99f5-ef701b548d10 2025-11-05 15:29:34,984 - DEBUG - ==>Verifying data for policy with id: bbd4a8f3-965e-41f5-9858-673ddb692943, fqn: ['default-domain', 'ctest-TestBasicPolicy-06855402', 'ctest-policy-allow-all-49471384'] 2025-11-05 15:29:34,984 - INFO - VN ctest-vn-26914342 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 15:29:34,984 - DEBUG - Verifying the vn in opserver 2025-11-05 15:29:34,984 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06855402:ctest-vn-26914342 virtual network link through opserver 10.0.0.50 2025-11-05 15:29:34,984 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-05 15:29:34,992 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06855402:ctest-vn-26914342', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06855402:ctest-vn-26914342?flat'} 2025-11-05 15:29:34,992 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06855402:ctest-vn-26914342 is found in opserver 2025-11-05 15:29:35,000 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 15:29:35,004 - DEBUG - VRF ids for VN ctest-vn-26914342: {} 2025-11-05 15:29:35,058 - DEBUG - Services list from nova: [, , ] 2025-11-05 15:29:36,076 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4644-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4644-1) 2025-11-05 15:29:37,213 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4644-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4644-1) 2025-11-05 15:29:37,213 - INFO - Waiting for VM ctest-TestBasicPolicy-06855402-41495162 to be up.. 2025-11-05 15:29:37,286 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 15:29:42,349 - DEBUG - VM is in ACTIVE state now 2025-11-05 15:29:42,349 - INFO - VM name : ctest-TestBasicPolicy-06855402-41495162 2025-11-05 15:29:42,409 - DEBUG - VM ctest-TestBasicPolicy-06855402-41495162 ID is 71218862-74e1-463c-afd0-4ac1abe90605 2025-11-05 15:29:42,425 - DEBUG - VM ctest-TestBasicPolicy-06855402-41495162 launched on Node cn-jenkins-deploy-platform-ansible-os-4644-1 2025-11-05 15:29:42,485 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/71218862-74e1-463c-afd0-4ac1abe90605 2025-11-05 15:29:42,492 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8255224f-7016-451c-8264-7f5d92e6424e 2025-11-05 15:29:45,741 - 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 1020ms') 2025-11-05 15:29:45,741 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06855402-41495162 failed! 2025-11-05 15:29:45,796 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06855402:ctest-vn-44046731 is 2.179.139.65 and allocation pool is NOT set 2025-11-05 15:29:47,858 - 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=4.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.63 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 = 1.625/3.229/4.834/1.604 ms') 2025-11-05 15:29:47,859 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06855402-41495162 passed 2025-11-05 15:29:48,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:29:48,000 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06855402-41495162, IP 2.179.139.67, Port 22 2025-11-05 15:29:48,155 - DEBUG - VM ctest-TestBasicPolicy-06855402-41495162 is ready for SSH connections 2025-11-05 15:29:48,156 - INFO - Waiting for VM ctest-TestBasicPolicy-06855402-30800178 to be up.. 2025-11-05 15:29:48,214 - DEBUG - VM is in ACTIVE state now 2025-11-05 15:29:48,214 - INFO - VM name : ctest-TestBasicPolicy-06855402-30800178 2025-11-05 15:29:48,271 - DEBUG - VM ctest-TestBasicPolicy-06855402-30800178 ID is b8a3cbee-6914-47e5-94ec-0f4f5e819d93 2025-11-05 15:29:48,271 - DEBUG - VM ctest-TestBasicPolicy-06855402-30800178 launched on Node cn-jenkins-deploy-platform-ansible-os-4644-1 2025-11-05 15:29:48,330 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b8a3cbee-6914-47e5-94ec-0f4f5e819d93 2025-11-05 15:29:48,336 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ff0dcc44-283e-461e-a265-a819caddb2a1 2025-11-05 15:29:49,561 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.363 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.363/1.457/2.552/1.094 ms') 2025-11-05 15:29:49,561 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06855402-30800178 passed 2025-11-05 15:29:49,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:29:49,708 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06855402-30800178, IP 158.110.39.67, Port 22 2025-11-05 15:29:49,859 - DEBUG - VM ctest-TestBasicPolicy-06855402-30800178 is ready for SSH connections 2025-11-05 15:29:49,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:29:49,860 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.110.39.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 15:29:49,860 - DEBUG - ping -s 56 -c 3 -W 1 158.110.39.67 2025-11-05 15:29:53,866 - DEBUG - PING 158.110.39.67 (158.110.39.67): 56 data bytes 64 bytes from 158.110.39.67: seq=0 ttl=63 time=3.233 ms 64 bytes from 158.110.39.67: seq=1 ttl=63 time=0.726 ms 64 bytes from 158.110.39.67: seq=2 ttl=63 time=0.781 ms --- 158.110.39.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.726/1.580/3.233 ms 2025-11-05 15:29:53,866 - INFO - Ping to IP 158.110.39.67 from VM ctest-TestBasicPolicy-06855402-41495162 passed 2025-11-05 15:29:54,040 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bbd4a8f3-965e-41f5-9858-673ddb692943", "href": "http://10.0.0.50:8082/network-policy/bbd4a8f3-965e-41f5-9858-673ddb692943"}} 2025-11-05 15:29:54,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:29:54,040 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.110.39.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-05 15:29:54,040 - DEBUG - ping -s 56 -c 3 -W 1 158.110.39.67 2025-11-05 15:29:57,264 - DEBUG - PING 158.110.39.67 (158.110.39.67): 56 data bytes --- 158.110.39.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 15:29:57,264 - WARNING - Ping to IP 158.110.39.67 from VM ctest-TestBasicPolicy-06855402-41495162 failed 2025-11-05 15:29:57,264 - INFO - Deleting VM ctest-TestBasicPolicy-06855402-30800178 2025-11-05 15:29:57,328 - INFO - Deleting VM ctest-TestBasicPolicy-06855402-41495162 2025-11-05 15:29:57,680 - INFO - Deleted policy ctest-policy-allow-all-49471384 2025-11-05 15:29:57,680 - INFO - Deleting VN ctest-vn-26914342 2025-11-05 15:29:57,718 - DEBUG - VN f516cfd3-9894-4818-99f5-ef701b548d10 still in use: Unable to complete operation on network f516cfd3-9894-4818-99f5-ef701b548d10. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0f53d60d-7c2e-48c5-81de-1b12a9a1ba5f'] 2025-11-05 15:29:57,718 - WARNING - Deleting VN ctest-vn-26914342 failed..Will retry 2025-11-05 15:29:59,817 - DEBUG - Response for deleting network () 2025-11-05 15:29:59,817 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c495feab-ab06-49bd-965b-751ae6707d57 2025-11-05 15:29:59,825 - DEBUG - Response Code: 404 2025-11-05 15:29:59,825 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 15:29:59,833 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6e14b808-0b37-4900-b158-e3a368c5eb06 2025-11-05 15:29:59,889 - DEBUG - Requesting: http://10.0.0.50:8082/project/96a8fb5d-4649-4110-b88f-fd749ef15aba 2025-11-05 15:29:59,959 - INFO - Validated that VN ctest-vn-26914342 is not found in API Server 2025-11-05 15:29:59,968 - DEBUG - VN ctest-vn-26914342 is not present in Agent 10.0.0.50 2025-11-05 15:29:59,968 - INFO - Validated that VN ctest-vn-26914342 is not in any agent 2025-11-05 15:29:59,979 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26914342 info 2025-11-05 15:29:59,979 - INFO - Deleting VN ctest-vn-44046731 2025-11-05 15:30:00,066 - DEBUG - Response for deleting network () 2025-11-05 15:30:00,066 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/4d11d74e-c6c4-4dbc-8123-04fad660e627 2025-11-05 15:30:00,071 - DEBUG - Response Code: 404 2025-11-05 15:30:00,071 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-05 15:30:00,076 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6e14b808-0b37-4900-b158-e3a368c5eb06 2025-11-05 15:30:00,132 - DEBUG - Requesting: http://10.0.0.50:8082/project/96a8fb5d-4649-4110-b88f-fd749ef15aba 2025-11-05 15:30:00,197 - INFO - Validated that VN ctest-vn-44046731 is not found in API Server 2025-11-05 15:30:00,206 - DEBUG - VN ctest-vn-44046731 is not present in Agent 10.0.0.50 2025-11-05 15:30:00,206 - INFO - Validated that VN ctest-vn-44046731 is not in any agent 2025-11-05 15:30:00,217 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44046731 info 2025-11-05 15:30:00,476 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 15:30:00,476 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-05 15:30:00,476 - INFO - -------------------------------------------------------------------------------- 2025-11-05 15:30:01,112 - INFO - Deleted project: ctest-TestBasicPolicy-06855402, ID : 96a8fb5d-4649-4110-b88f-fd749ef15aba