2026-02-04 20:30:32,695 - INFO - Domain Default found not creating 2026-02-04 20:30:32,855 - INFO - Project ctest-TestBasicPolicy-65052735 not found, creating it 2026-02-04 20:30:33,285 - INFO - Created Project:ctest-TestBasicPolicy-65052735, ID : 90f77789-ab37-4a5d-b27f-84ede89875d5 2026-02-04 20:30:34,729 - INFO - ================================================================================ 2026-02-04 20:30:34,729 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-04 20:30:34,730 - 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 2026-02-04 20:30:34,985 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.17': '0'}} with 2026-02-04 20:30:34,985 - INFO - Initial checks done. Running the testcase now 2026-02-04 20:30:34,985 - INFO - 2026-02-04 20:30:35,511 - DEBUG - Response for create_network : {'network': {'id': '7c4cac52-3aa3-408d-a506-6dfed406d6de', 'name': 'ctest-vn-70695352', 'tenant_id': '90f77789ab374a5db27f84ede89875d5', 'project_id': '90f77789ab374a5db27f84ede89875d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65052735', 'ctest-vn-70695352'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 20:30:35,677 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c8a74c4-5fe3-4efb-a1a7-3ac32ef77a69', 'name': '', 'tenant_id': '90f77789ab374a5db27f84ede89875d5', 'network_id': '7c4cac52-3aa3-408d-a506-6dfed406d6de', 'ip_version': 4, 'cidr': '1.68.54.64/26', 'allocation_pools': [{'start': '1.68.54.66', 'end': '1.68.54.126'}], 'gateway_ip': '1.68.54.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.68.54.66', 'tags': [], 'project_id': '90f77789ab374a5db27f84ede89875d5'}} 2026-02-04 20:30:35,694 - INFO - Created VN ctest-vn-70695352 2026-02-04 20:30:35,749 - DEBUG - VN ctest-vn-70695352 UUID is 7c4cac52-3aa3-408d-a506-6dfed406d6de 2026-02-04 20:30:36,061 - DEBUG - Response for create_network : {'network': {'id': 'e3673262-bfc8-41ad-b653-f9efbed6508d', 'name': 'ctest-vn-14805105', 'tenant_id': '90f77789ab374a5db27f84ede89875d5', 'project_id': '90f77789ab374a5db27f84ede89875d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65052735', 'ctest-vn-14805105'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 20:30:36,207 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bde813fd-7123-4c84-bde3-f622fb8a6db5', 'name': '', 'tenant_id': '90f77789ab374a5db27f84ede89875d5', 'network_id': 'e3673262-bfc8-41ad-b653-f9efbed6508d', 'ip_version': 4, 'cidr': '23.237.186.64/26', 'allocation_pools': [{'start': '23.237.186.66', 'end': '23.237.186.126'}], 'gateway_ip': '23.237.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.237.186.66', 'tags': [], 'project_id': '90f77789ab374a5db27f84ede89875d5'}} 2026-02-04 20:30:36,226 - INFO - Created VN ctest-vn-14805105 2026-02-04 20:30:36,276 - DEBUG - VN ctest-vn-14805105 UUID is e3673262-bfc8-41ad-b653-f9efbed6508d 2026-02-04 20:30:36,384 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-70695352, 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-65052735:ctest-vn-14805105, 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] 2026-02-04 20:30:36,658 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7c4cac52-3aa3-408d-a506-6dfed406d6de', 'name': 'ctest-vn-70695352', 'tenant_id': '90f77789ab374a5db27f84ede89875d5', 'project_id': '90f77789ab374a5db27f84ede89875d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7c8a74c4-5fe3-4efb-a1a7-3ac32ef77a69'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65052735', 'ctest-vn-70695352'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65052735', 'ctest-policy-allow-all-97716103']], 'subnet_ipam': [{'subnet_cidr': '1.68.54.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 20:30:36,872 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e3673262-bfc8-41ad-b653-f9efbed6508d', 'name': 'ctest-vn-14805105', 'tenant_id': '90f77789ab374a5db27f84ede89875d5', 'project_id': '90f77789ab374a5db27f84ede89875d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bde813fd-7123-4c84-bde3-f622fb8a6db5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65052735', 'ctest-vn-14805105'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65052735', 'ctest-policy-allow-all-97716103']], 'subnet_ipam': [{'subnet_cidr': '23.237.186.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 20:30:37,041 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-04 20:30:37,337 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-04 20:30:37,366 - DEBUG - Requesting: http://10.0.0.23:8082/domain/26d94d97-d5dc-4358-a3b7-f2370efce63d 2026-02-04 20:30:37,379 - DEBUG - Requesting: http://10.0.0.23:8082/project/90f77789-ab37-4a5d-b27f-84ede89875d5 2026-02-04 20:30:37,447 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7c4cac52-3aa3-408d-a506-6dfed406d6de 2026-02-04 20:30:37,457 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7c4cac52-3aa3-408d-a506-6dfed406d6de 2026-02-04 20:30:37,465 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/542579a5-a43f-41ce-9d54-f172e2455913 2026-02-04 20:30:37,472 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/542579a5-a43f-41ce-9d54-f172e2455913 2026-02-04 20:30:37,478 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/87c00907-64b7-4210-92e3-1ea5e6ee2d41 2026-02-04 20:30:37,483 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 20:30:37,483 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7c4cac52-3aa3-408d-a506-6dfed406d6de 2026-02-04 20:30:37,491 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/542579a5-a43f-41ce-9d54-f172e2455913 2026-02-04 20:30:37,504 - INFO - Verified VN network id 11 for VN 7c4cac52-3aa3-408d-a506-6dfed406d6de 2026-02-04 20:30:37,504 - INFO - Verifications in API Server for VN ctest-vn-70695352 passed 2026-02-04 20:30:37,504 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7c4cac52-3aa3-408d-a506-6dfed406d6de 2026-02-04 20:30:37,512 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/542579a5-a43f-41ce-9d54-f172e2455913 2026-02-04 20:30:37,518 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/542579a5-a43f-41ce-9d54-f172e2455913 2026-02-04 20:30:37,523 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/87c00907-64b7-4210-92e3-1ea5e6ee2d41 2026-02-04 20:30:37,533 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-70695352', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65052735', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8956723228104147085', 'uuid-lslong': '11891312807364712158'}, 'enable': 'true', 'created': '2026-02-04T20:30:35', 'last-modified': '2026-02-04T20:30:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.888909'} 2026-02-04 20:30:37,538 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 20:30:37,538 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70695352 passed 2026-02-04 20:30:37,538 - DEBUG - ====Verifying policy data for ctest-vn-70695352 in API_Server ====== 2026-02-04 20:30:37,538 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-04 20:30:37,545 - DEBUG - Requesting: http://10.0.0.23:8082/domain/26d94d97-d5dc-4358-a3b7-f2370efce63d 2026-02-04 20:30:37,554 - DEBUG - Requesting: http://10.0.0.23:8082/project/90f77789-ab37-4a5d-b27f-84ede89875d5 2026-02-04 20:30:37,623 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7c4cac52-3aa3-408d-a506-6dfed406d6de 2026-02-04 20:30:37,631 - DEBUG - ==>Verifying data for policy with id: dacd82bd-4365-4652-902c-090d7b627d12, fqn: ['default-domain', 'ctest-TestBasicPolicy-65052735', 'ctest-policy-allow-all-97716103'] 2026-02-04 20:30:37,631 - INFO - VN ctest-vn-70695352 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 20:30:37,631 - DEBUG - Verifying the vn in opserver 2026-02-04 20:30:37,631 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-70695352 virtual network link through opserver 10.0.0.23 2026-02-04 20:30:37,632 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-04 20:30:37,923 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-04 20:30:37,978 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-70695352', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-70695352?flat'} 2026-02-04 20:30:37,978 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-70695352 is found in opserver 2026-02-04 20:30:37,988 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 20:30:37,991 - DEBUG - VRF ids for VN ctest-vn-70695352: {} 2026-02-04 20:30:37,991 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-04 20:30:37,996 - DEBUG - Requesting: http://10.0.0.23:8082/domain/26d94d97-d5dc-4358-a3b7-f2370efce63d 2026-02-04 20:30:38,005 - DEBUG - Requesting: http://10.0.0.23:8082/project/90f77789-ab37-4a5d-b27f-84ede89875d5 2026-02-04 20:30:38,071 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/e3673262-bfc8-41ad-b653-f9efbed6508d 2026-02-04 20:30:38,081 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/e3673262-bfc8-41ad-b653-f9efbed6508d 2026-02-04 20:30:38,090 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/5122b5b2-6a1f-410f-a4e6-48ff83e16e29 2026-02-04 20:30:38,096 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/5122b5b2-6a1f-410f-a4e6-48ff83e16e29 2026-02-04 20:30:38,102 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/6278faad-b991-49ee-82bc-269a46326cc1 2026-02-04 20:30:38,107 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 20:30:38,107 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/e3673262-bfc8-41ad-b653-f9efbed6508d 2026-02-04 20:30:38,117 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/5122b5b2-6a1f-410f-a4e6-48ff83e16e29 2026-02-04 20:30:38,128 - INFO - Verified VN network id 12 for VN e3673262-bfc8-41ad-b653-f9efbed6508d 2026-02-04 20:30:38,128 - INFO - Verifications in API Server for VN ctest-vn-14805105 passed 2026-02-04 20:30:38,128 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/e3673262-bfc8-41ad-b653-f9efbed6508d 2026-02-04 20:30:38,136 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/5122b5b2-6a1f-410f-a4e6-48ff83e16e29 2026-02-04 20:30:38,141 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/5122b5b2-6a1f-410f-a4e6-48ff83e16e29 2026-02-04 20:30:38,146 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/6278faad-b991-49ee-82bc-269a46326cc1 2026-02-04 20:30:38,155 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-14805105', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65052735', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16386121168916595117', 'uuid-lslong': '13138119346064085133'}, 'enable': 'true', 'created': '2026-02-04T20:30:36', 'last-modified': '2026-02-04T20:30:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.301832'} 2026-02-04 20:30:38,161 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 20:30:38,161 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14805105 passed 2026-02-04 20:30:38,161 - DEBUG - ====Verifying policy data for ctest-vn-14805105 in API_Server ====== 2026-02-04 20:30:38,161 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-04 20:30:38,167 - DEBUG - Requesting: http://10.0.0.23:8082/domain/26d94d97-d5dc-4358-a3b7-f2370efce63d 2026-02-04 20:30:38,177 - DEBUG - Requesting: http://10.0.0.23:8082/project/90f77789-ab37-4a5d-b27f-84ede89875d5 2026-02-04 20:30:38,246 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/e3673262-bfc8-41ad-b653-f9efbed6508d 2026-02-04 20:30:38,253 - DEBUG - ==>Verifying data for policy with id: dacd82bd-4365-4652-902c-090d7b627d12, fqn: ['default-domain', 'ctest-TestBasicPolicy-65052735', 'ctest-policy-allow-all-97716103'] 2026-02-04 20:30:38,253 - INFO - VN ctest-vn-14805105 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 20:30:38,253 - DEBUG - Verifying the vn in opserver 2026-02-04 20:30:38,253 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-14805105 virtual network link through opserver 10.0.0.23 2026-02-04 20:30:38,254 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-04 20:30:38,262 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-14805105', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-14805105?flat'} 2026-02-04 20:30:38,262 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-14805105 is found in opserver 2026-02-04 20:30:38,270 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 20:30:38,274 - DEBUG - VRF ids for VN ctest-vn-14805105: {} 2026-02-04 20:30:38,325 - DEBUG - Services list from nova: [, , ] 2026-02-04 20:30:39,317 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5209-1) 2026-02-04 20:30:40,385 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5209-1) 2026-02-04 20:30:40,385 - INFO - Waiting for VM ctest-TestBasicPolicy-65052735-11624478 to be up.. 2026-02-04 20:30:40,483 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-04 20:30:45,557 - DEBUG - VM is in ACTIVE state now 2026-02-04 20:30:45,557 - INFO - VM name : ctest-TestBasicPolicy-65052735-11624478 2026-02-04 20:30:45,623 - DEBUG - VM ctest-TestBasicPolicy-65052735-11624478 ID is f107d211-e89f-4098-9016-f4a5e64ea099 2026-02-04 20:30:45,640 - DEBUG - VM ctest-TestBasicPolicy-65052735-11624478 launched on Node cn-jenkins-deploy-platform-ansible-os-5209-1 2026-02-04 20:30:45,705 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/f107d211-e89f-4098-9016-f4a5e64ea099 2026-02-04 20:30:45,712 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/3051c20c-2645-495d-93c9-942b08cdf275 2026-02-04 20:30:48,973 - 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 1031ms') 2026-02-04 20:30:48,973 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65052735-11624478 failed! 2026-02-04 20:30:49,025 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65052735:ctest-vn-70695352 is 1.68.54.65 and allocation pool is NOT set 2026-02-04 20:30:51,080 - 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=2.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.418 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.418/1.640/2.862/1.222 ms') 2026-02-04 20:30:51,080 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65052735-11624478 passed 2026-02-04 20:30:51,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 20:30:51,229 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65052735-11624478, IP 1.68.54.67, Port 22 2026-02-04 20:30:51,384 - DEBUG - VM ctest-TestBasicPolicy-65052735-11624478 is ready for SSH connections 2026-02-04 20:30:51,385 - INFO - Waiting for VM ctest-TestBasicPolicy-65052735-46279399 to be up.. 2026-02-04 20:30:51,454 - DEBUG - VM is in ACTIVE state now 2026-02-04 20:30:51,454 - INFO - VM name : ctest-TestBasicPolicy-65052735-46279399 2026-02-04 20:30:51,519 - DEBUG - VM ctest-TestBasicPolicy-65052735-46279399 ID is 69a4a133-7cd1-4c84-8e63-11028c97844b 2026-02-04 20:30:51,519 - DEBUG - VM ctest-TestBasicPolicy-65052735-46279399 launched on Node cn-jenkins-deploy-platform-ansible-os-5209-1 2026-02-04 20:30:51,584 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/69a4a133-7cd1-4c84-8e63-11028c97844b 2026-02-04 20:30:51,591 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b08b1e88-6c3e-4d09-bc74-d527737eb906 2026-02-04 20:30:52,826 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.869 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.869/2.879/4.889/2.010 ms') 2026-02-04 20:30:52,826 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65052735-46279399 passed 2026-02-04 20:30:52,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 20:30:52,977 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65052735-46279399, IP 23.237.186.67, Port 22 2026-02-04 20:30:53,132 - DEBUG - VM ctest-TestBasicPolicy-65052735-46279399 is ready for SSH connections 2026-02-04 20:30:53,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 20:30:53,133 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.237.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-02-04 20:30:53,133 - DEBUG - ping -s 56 -c 3 -W 1 23.237.186.67 2026-02-04 20:30:57,112 - DEBUG - PING 23.237.186.67 (23.237.186.67): 56 data bytes 64 bytes from 23.237.186.67: seq=0 ttl=63 time=3.528 ms 64 bytes from 23.237.186.67: seq=1 ttl=63 time=0.727 ms 64 bytes from 23.237.186.67: seq=2 ttl=63 time=0.865 ms --- 23.237.186.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.727/1.706/3.528 ms 2026-02-04 20:30:57,112 - INFO - Ping to IP 23.237.186.67 from VM ctest-TestBasicPolicy-65052735-11624478 passed 2026-02-04 20:30:57,280 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dacd82bd-4365-4652-902c-090d7b627d12", "href": "http://10.0.0.23:8082/network-policy/dacd82bd-4365-4652-902c-090d7b627d12"}} 2026-02-04 20:30:57,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 20:30:57,280 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.237.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2026-02-04 20:30:57,281 - DEBUG - ping -s 56 -c 3 -W 1 23.237.186.67 2026-02-04 20:31:00,504 - DEBUG - PING 23.237.186.67 (23.237.186.67): 56 data bytes --- 23.237.186.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-04 20:31:00,504 - WARNING - Ping to IP 23.237.186.67 from VM ctest-TestBasicPolicy-65052735-11624478 failed 2026-02-04 20:31:00,504 - INFO - Deleting VM ctest-TestBasicPolicy-65052735-46279399 2026-02-04 20:31:00,565 - INFO - Deleting VM ctest-TestBasicPolicy-65052735-11624478 2026-02-04 20:31:00,888 - INFO - Deleted policy ctest-policy-allow-all-97716103 2026-02-04 20:31:00,889 - INFO - Deleting VN ctest-vn-14805105 2026-02-04 20:31:00,922 - DEBUG - VN e3673262-bfc8-41ad-b653-f9efbed6508d still in use: Unable to complete operation on network e3673262-bfc8-41ad-b653-f9efbed6508d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-10ccd883-c0c2-4e29-ad6d-ac80ca9720c0'] 2026-02-04 20:31:00,922 - WARNING - Deleting VN ctest-vn-14805105 failed..Will retry 2026-02-04 20:31:03,020 - DEBUG - Response for deleting network () 2026-02-04 20:31:03,021 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/5122b5b2-6a1f-410f-a4e6-48ff83e16e29 2026-02-04 20:31:03,026 - DEBUG - Response Code: 404 2026-02-04 20:31:03,026 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-04 20:31:03,031 - DEBUG - Requesting: http://10.0.0.23:8082/domain/26d94d97-d5dc-4358-a3b7-f2370efce63d 2026-02-04 20:31:03,085 - DEBUG - Requesting: http://10.0.0.23:8082/project/90f77789-ab37-4a5d-b27f-84ede89875d5 2026-02-04 20:31:03,155 - INFO - Validated that VN ctest-vn-14805105 is not found in API Server 2026-02-04 20:31:03,164 - DEBUG - VN ctest-vn-14805105 is not present in Agent 10.0.0.23 2026-02-04 20:31:03,164 - INFO - Validated that VN ctest-vn-14805105 is not in any agent 2026-02-04 20:31:03,176 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14805105 info 2026-02-04 20:31:03,177 - INFO - Deleting VN ctest-vn-70695352 2026-02-04 20:31:03,268 - DEBUG - Response for deleting network () 2026-02-04 20:31:03,269 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/542579a5-a43f-41ce-9d54-f172e2455913 2026-02-04 20:31:03,273 - DEBUG - Response Code: 404 2026-02-04 20:31:03,273 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-02-04 20:31:03,278 - DEBUG - Requesting: http://10.0.0.23:8082/domain/26d94d97-d5dc-4358-a3b7-f2370efce63d 2026-02-04 20:31:03,333 - DEBUG - Requesting: http://10.0.0.23:8082/project/90f77789-ab37-4a5d-b27f-84ede89875d5 2026-02-04 20:31:03,400 - INFO - Validated that VN ctest-vn-70695352 is not found in API Server 2026-02-04 20:31:03,408 - DEBUG - VN ctest-vn-70695352 is not present in Agent 10.0.0.23 2026-02-04 20:31:03,408 - INFO - Validated that VN ctest-vn-70695352 is not in any agent 2026-02-04 20:31:03,423 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70695352 info 2026-02-04 20:31:03,682 - DEBUG - No XMPP flaps were noticed during the test
2026-02-04 20:31:03,682 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-04 20:31:03,682 - INFO - -------------------------------------------------------------------------------- 2026-02-04 20:31:04,354 - INFO - Deleted project: ctest-TestBasicPolicy-65052735, ID : 90f77789-ab37-4a5d-b27f-84ede89875d5