2026-02-06 19:24:09,321 - INFO - Domain Default found not creating 2026-02-06 19:24:09,521 - INFO - Project ctest-TestBasicPolicy-66858801 not found, creating it 2026-02-06 19:24:10,248 - INFO - Created Project:ctest-TestBasicPolicy-66858801, ID : 440ef8b6-f2b1-4b49-bb22-b546aafd1122 2026-02-06 19:24:11,676 - INFO - ================================================================================ 2026-02-06 19:24:11,676 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-06 19:24:11,676 - 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-06 19:24:11,932 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-06 19:24:11,932 - INFO - Initial checks done. Running the testcase now 2026-02-06 19:24:11,932 - INFO - 2026-02-06 19:24:12,500 - DEBUG - Response for create_network : {'network': {'id': '89dfd5c2-c3e5-4716-874a-8cacbb939e2e', 'name': 'ctest-vn-38341436', 'tenant_id': '440ef8b6f2b14b49bb22b546aafd1122', 'project_id': '440ef8b6f2b14b49bb22b546aafd1122', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66858801', 'ctest-vn-38341436'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 19:24:12,711 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fc9279a-4d05-45ac-a850-9ded06755dc2', 'name': '', 'tenant_id': '440ef8b6f2b14b49bb22b546aafd1122', 'network_id': '89dfd5c2-c3e5-4716-874a-8cacbb939e2e', 'ip_version': 4, 'cidr': '18.20.134.64/26', 'allocation_pools': [{'start': '18.20.134.66', 'end': '18.20.134.126'}], 'gateway_ip': '18.20.134.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.20.134.66', 'tags': [], 'project_id': '440ef8b6f2b14b49bb22b546aafd1122'}} 2026-02-06 19:24:12,730 - INFO - Created VN ctest-vn-38341436 2026-02-06 19:24:12,782 - DEBUG - VN ctest-vn-38341436 UUID is 89dfd5c2-c3e5-4716-874a-8cacbb939e2e 2026-02-06 19:24:13,075 - DEBUG - Response for create_network : {'network': {'id': '3ff34758-b497-4425-970f-79405a3dbf8e', 'name': 'ctest-vn-15280704', 'tenant_id': '440ef8b6f2b14b49bb22b546aafd1122', 'project_id': '440ef8b6f2b14b49bb22b546aafd1122', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66858801', 'ctest-vn-15280704'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 19:24:13,240 - DEBUG - Response for create_subnet : {'subnet': {'id': '76d94cfa-693c-40a5-a55c-9cc7728e50ba', 'name': '', 'tenant_id': '440ef8b6f2b14b49bb22b546aafd1122', 'network_id': '3ff34758-b497-4425-970f-79405a3dbf8e', 'ip_version': 4, 'cidr': '181.176.128.192/26', 'allocation_pools': [{'start': '181.176.128.194', 'end': '181.176.128.254'}], 'gateway_ip': '181.176.128.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.176.128.194', 'tags': [], 'project_id': '440ef8b6f2b14b49bb22b546aafd1122'}} 2026-02-06 19:24:13,258 - INFO - Created VN ctest-vn-15280704 2026-02-06 19:24:13,310 - DEBUG - VN ctest-vn-15280704 UUID is 3ff34758-b497-4425-970f-79405a3dbf8e 2026-02-06 19:24:13,462 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66858801:ctest-vn-38341436, 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-66858801:ctest-vn-15280704, 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-06 19:24:13,763 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '89dfd5c2-c3e5-4716-874a-8cacbb939e2e', 'name': 'ctest-vn-38341436', 'tenant_id': '440ef8b6f2b14b49bb22b546aafd1122', 'project_id': '440ef8b6f2b14b49bb22b546aafd1122', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1fc9279a-4d05-45ac-a850-9ded06755dc2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66858801', 'ctest-vn-38341436'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66858801', 'ctest-policy-allow-all-46053990']], 'subnet_ipam': [{'subnet_cidr': '18.20.134.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-06 19:24:14,044 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3ff34758-b497-4425-970f-79405a3dbf8e', 'name': 'ctest-vn-15280704', 'tenant_id': '440ef8b6f2b14b49bb22b546aafd1122', 'project_id': '440ef8b6f2b14b49bb22b546aafd1122', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['76d94cfa-693c-40a5-a55c-9cc7728e50ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66858801', 'ctest-vn-15280704'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66858801', 'ctest-policy-allow-all-46053990']], 'subnet_ipam': [{'subnet_cidr': '181.176.128.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-06 19:24:14,206 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 19:24:14,798 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 19:24:14,862 - DEBUG - Requesting: http://10.0.0.50:8082/domain/441a7ee2-85a4-43c0-949e-4495667f55c1 2026-02-06 19:24:14,876 - DEBUG - Requesting: http://10.0.0.50:8082/project/440ef8b6-f2b1-4b49-bb22-b546aafd1122 2026-02-06 19:24:14,959 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89dfd5c2-c3e5-4716-874a-8cacbb939e2e 2026-02-06 19:24:14,979 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89dfd5c2-c3e5-4716-874a-8cacbb939e2e 2026-02-06 19:24:14,991 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/debdb67d-fbec-4e7b-ba5a-0b64af5a394a 2026-02-06 19:24:15,000 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/debdb67d-fbec-4e7b-ba5a-0b64af5a394a 2026-02-06 19:24:15,009 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c76dbb60-8762-4150-bf0a-4e5e1b2cd244 2026-02-06 19:24:15,022 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-06 19:24:15,022 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89dfd5c2-c3e5-4716-874a-8cacbb939e2e 2026-02-06 19:24:15,036 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/debdb67d-fbec-4e7b-ba5a-0b64af5a394a 2026-02-06 19:24:15,054 - INFO - Verified VN network id 11 for VN 89dfd5c2-c3e5-4716-874a-8cacbb939e2e 2026-02-06 19:24:15,054 - INFO - Verifications in API Server for VN ctest-vn-38341436 passed 2026-02-06 19:24:15,054 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89dfd5c2-c3e5-4716-874a-8cacbb939e2e 2026-02-06 19:24:15,066 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/debdb67d-fbec-4e7b-ba5a-0b64af5a394a 2026-02-06 19:24:15,074 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/debdb67d-fbec-4e7b-ba5a-0b64af5a394a 2026-02-06 19:24:15,081 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c76dbb60-8762-4150-bf0a-4e5e1b2cd244 2026-02-06 19:24:15,109 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66858801:ctest-vn-38341436', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66858801', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9934894335489558294', 'uuid-lslong': '9748759016906137134'}, 'enable': 'true', 'created': '2026-02-06T19:24:12', 'last-modified': '2026-02-06T19:24:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.372833'} 2026-02-06 19:24:15,117 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-06 19:24:15,117 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38341436 passed 2026-02-06 19:24:15,117 - DEBUG - ====Verifying policy data for ctest-vn-38341436 in API_Server ====== 2026-02-06 19:24:15,117 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 19:24:15,123 - DEBUG - Requesting: http://10.0.0.50:8082/domain/441a7ee2-85a4-43c0-949e-4495667f55c1 2026-02-06 19:24:15,134 - DEBUG - Requesting: http://10.0.0.50:8082/project/440ef8b6-f2b1-4b49-bb22-b546aafd1122 2026-02-06 19:24:15,206 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/89dfd5c2-c3e5-4716-874a-8cacbb939e2e 2026-02-06 19:24:15,218 - DEBUG - ==>Verifying data for policy with id: 9a9c67d9-8b13-4896-8e04-0aff90e06d62, fqn: ['default-domain', 'ctest-TestBasicPolicy-66858801', 'ctest-policy-allow-all-46053990'] 2026-02-06 19:24:15,219 - INFO - VN ctest-vn-38341436 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-06 19:24:15,219 - DEBUG - Verifying the vn in opserver 2026-02-06 19:24:15,219 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66858801:ctest-vn-38341436 virtual network link through opserver 10.0.0.50 2026-02-06 19:24:15,219 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-06 19:24:15,537 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-06 19:24:15,612 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66858801:ctest-vn-38341436', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66858801:ctest-vn-38341436?flat'} 2026-02-06 19:24:15,612 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66858801:ctest-vn-38341436 is found in opserver 2026-02-06 19:24:15,621 - DEBUG - Do not have enough data to verify VN in agent 2026-02-06 19:24:15,625 - DEBUG - VRF ids for VN ctest-vn-38341436: {} 2026-02-06 19:24:15,625 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 19:24:15,630 - DEBUG - Requesting: http://10.0.0.50:8082/domain/441a7ee2-85a4-43c0-949e-4495667f55c1 2026-02-06 19:24:15,640 - DEBUG - Requesting: http://10.0.0.50:8082/project/440ef8b6-f2b1-4b49-bb22-b546aafd1122 2026-02-06 19:24:15,707 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3ff34758-b497-4425-970f-79405a3dbf8e 2026-02-06 19:24:15,718 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3ff34758-b497-4425-970f-79405a3dbf8e 2026-02-06 19:24:15,726 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/974cea13-f024-4c70-a18f-2cecebbc0363 2026-02-06 19:24:15,733 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/974cea13-f024-4c70-a18f-2cecebbc0363 2026-02-06 19:24:15,739 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/25fb989d-ca22-4224-9f85-d0f0ba2731d6 2026-02-06 19:24:15,744 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-06 19:24:15,744 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3ff34758-b497-4425-970f-79405a3dbf8e 2026-02-06 19:24:15,752 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/974cea13-f024-4c70-a18f-2cecebbc0363 2026-02-06 19:24:15,764 - INFO - Verified VN network id 12 for VN 3ff34758-b497-4425-970f-79405a3dbf8e 2026-02-06 19:24:15,764 - INFO - Verifications in API Server for VN ctest-vn-15280704 passed 2026-02-06 19:24:15,764 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3ff34758-b497-4425-970f-79405a3dbf8e 2026-02-06 19:24:15,771 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/974cea13-f024-4c70-a18f-2cecebbc0363 2026-02-06 19:24:15,776 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/974cea13-f024-4c70-a18f-2cecebbc0363 2026-02-06 19:24:15,781 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/25fb989d-ca22-4224-9f85-d0f0ba2731d6 2026-02-06 19:24:15,791 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66858801:ctest-vn-15280704', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66858801', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4608105290042655781', 'uuid-lslong': '10885052141676642190'}, 'enable': 'true', 'created': '2026-02-06T19:24:13', 'last-modified': '2026-02-06T19:24:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.813065'} 2026-02-06 19:24:15,797 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-06 19:24:15,797 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15280704 passed 2026-02-06 19:24:15,798 - DEBUG - ====Verifying policy data for ctest-vn-15280704 in API_Server ====== 2026-02-06 19:24:15,798 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 19:24:15,803 - DEBUG - Requesting: http://10.0.0.50:8082/domain/441a7ee2-85a4-43c0-949e-4495667f55c1 2026-02-06 19:24:15,813 - DEBUG - Requesting: http://10.0.0.50:8082/project/440ef8b6-f2b1-4b49-bb22-b546aafd1122 2026-02-06 19:24:15,880 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3ff34758-b497-4425-970f-79405a3dbf8e 2026-02-06 19:24:15,889 - DEBUG - ==>Verifying data for policy with id: 9a9c67d9-8b13-4896-8e04-0aff90e06d62, fqn: ['default-domain', 'ctest-TestBasicPolicy-66858801', 'ctest-policy-allow-all-46053990'] 2026-02-06 19:24:15,889 - INFO - VN ctest-vn-15280704 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-06 19:24:15,889 - DEBUG - Verifying the vn in opserver 2026-02-06 19:24:15,889 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66858801:ctest-vn-15280704 virtual network link through opserver 10.0.0.50 2026-02-06 19:24:15,889 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-06 19:24:15,899 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66858801:ctest-vn-15280704', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66858801:ctest-vn-15280704?flat'} 2026-02-06 19:24:15,899 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66858801:ctest-vn-15280704 is found in opserver 2026-02-06 19:24:15,907 - DEBUG - Do not have enough data to verify VN in agent 2026-02-06 19:24:15,911 - DEBUG - VRF ids for VN ctest-vn-15280704: {} 2026-02-06 19:24:15,966 - DEBUG - Services list from nova: [, , ] 2026-02-06 19:24:16,977 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5229-1) 2026-02-06 19:24:18,124 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5229-1) 2026-02-06 19:24:18,124 - INFO - Waiting for VM ctest-TestBasicPolicy-66858801-37991555 to be up.. 2026-02-06 19:24:18,223 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-06 19:24:23,315 - DEBUG - VM is in ACTIVE state now 2026-02-06 19:24:23,315 - INFO - VM name : ctest-TestBasicPolicy-66858801-37991555 2026-02-06 19:24:23,391 - DEBUG - VM ctest-TestBasicPolicy-66858801-37991555 ID is 933cf6a9-b7c7-4da0-9ea2-8eceb7613685 2026-02-06 19:24:23,413 - DEBUG - VM ctest-TestBasicPolicy-66858801-37991555 launched on Node cn-jenkins-deploy-platform-ansible-os-5229-1 2026-02-06 19:24:23,488 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/933cf6a9-b7c7-4da0-9ea2-8eceb7613685 2026-02-06 19:24:23,497 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6bfa0d28-76ad-4c97-b91f-a75d89c1de1c 2026-02-06 19:24:26,762 - 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-06 19:24:26,763 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66858801-37991555 failed! 2026-02-06 19:24:26,818 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66858801:ctest-vn-38341436 is 18.20.134.65 and allocation pool is NOT set 2026-02-06 19:24:28,883 - 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=8.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.712 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.712/4.374/8.036/3.662 ms') 2026-02-06 19:24:28,883 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66858801-37991555 passed 2026-02-06 19:24:29,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 19:24:29,030 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66858801-37991555, IP 18.20.134.67, Port 22 2026-02-06 19:24:29,189 - DEBUG - VM ctest-TestBasicPolicy-66858801-37991555 is ready for SSH connections 2026-02-06 19:24:29,190 - INFO - Waiting for VM ctest-TestBasicPolicy-66858801-00563825 to be up.. 2026-02-06 19:24:29,271 - DEBUG - VM is in ACTIVE state now 2026-02-06 19:24:29,271 - INFO - VM name : ctest-TestBasicPolicy-66858801-00563825 2026-02-06 19:24:29,344 - DEBUG - VM ctest-TestBasicPolicy-66858801-00563825 ID is 9a5fc58e-9450-48bf-ac20-64bd7eadc0d5 2026-02-06 19:24:29,345 - DEBUG - VM ctest-TestBasicPolicy-66858801-00563825 launched on Node cn-jenkins-deploy-platform-ansible-os-5229-1 2026-02-06 19:24:29,418 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9a5fc58e-9450-48bf-ac20-64bd7eadc0d5 2026-02-06 19:24:29,426 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c757f7a7-d0fe-4834-8808-339c3ed886a7 2026-02-06 19:24:30,656 - 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=3.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.852 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.852/1.933/3.014/1.081 ms') 2026-02-06 19:24:30,657 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66858801-00563825 passed 2026-02-06 19:24:30,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 19:24:30,810 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66858801-00563825, IP 181.176.128.195, Port 22 2026-02-06 19:24:30,991 - DEBUG - VM ctest-TestBasicPolicy-66858801-00563825 is ready for SSH connections 2026-02-06 19:24:30,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 19:24:30,992 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.176.128.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-06 19:24:30,992 - DEBUG - ping -s 56 -c 3 -W 1 181.176.128.195 2026-02-06 19:24:35,003 - DEBUG - PING 181.176.128.195 (181.176.128.195): 56 data bytes 64 bytes from 181.176.128.195: seq=0 ttl=63 time=3.709 ms 64 bytes from 181.176.128.195: seq=1 ttl=63 time=1.194 ms 64 bytes from 181.176.128.195: seq=2 ttl=63 time=0.907 ms --- 181.176.128.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.907/1.936/3.709 ms 2026-02-06 19:24:35,003 - INFO - Ping to IP 181.176.128.195 from VM ctest-TestBasicPolicy-66858801-37991555 passed 2026-02-06 19:24:35,189 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9a9c67d9-8b13-4896-8e04-0aff90e06d62", "href": "http://10.0.0.50:8082/network-policy/9a9c67d9-8b13-4896-8e04-0aff90e06d62"}} 2026-02-06 19:24:35,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 19:24:35,190 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.176.128.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-06 19:24:35,190 - DEBUG - ping -s 56 -c 3 -W 1 181.176.128.195 2026-02-06 19:24:38,427 - DEBUG - PING 181.176.128.195 (181.176.128.195): 56 data bytes --- 181.176.128.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-06 19:24:38,427 - WARNING - Ping to IP 181.176.128.195 from VM ctest-TestBasicPolicy-66858801-37991555 failed 2026-02-06 19:24:38,427 - INFO - Deleting VM ctest-TestBasicPolicy-66858801-00563825 2026-02-06 19:24:38,502 - INFO - Deleting VM ctest-TestBasicPolicy-66858801-37991555 2026-02-06 19:24:38,894 - INFO - Deleted policy ctest-policy-allow-all-46053990 2026-02-06 19:24:38,894 - INFO - Deleting VN ctest-vn-15280704 2026-02-06 19:24:38,931 - DEBUG - VN 3ff34758-b497-4425-970f-79405a3dbf8e still in use: Unable to complete operation on network 3ff34758-b497-4425-970f-79405a3dbf8e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b91bf33d-8cf9-48c1-8426-63c065762571'] 2026-02-06 19:24:38,931 - WARNING - Deleting VN ctest-vn-15280704 failed..Will retry 2026-02-06 19:24:41,029 - DEBUG - Response for deleting network () 2026-02-06 19:24:41,029 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/974cea13-f024-4c70-a18f-2cecebbc0363 2026-02-06 19:24:41,036 - DEBUG - Response Code: 404 2026-02-06 19:24:41,036 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 19:24:41,041 - DEBUG - Requesting: http://10.0.0.50:8082/domain/441a7ee2-85a4-43c0-949e-4495667f55c1 2026-02-06 19:24:41,094 - DEBUG - Requesting: http://10.0.0.50:8082/project/440ef8b6-f2b1-4b49-bb22-b546aafd1122 2026-02-06 19:24:41,163 - INFO - Validated that VN ctest-vn-15280704 is not found in API Server 2026-02-06 19:24:41,172 - DEBUG - VN ctest-vn-15280704 is not present in Agent 10.0.0.50 2026-02-06 19:24:41,172 - INFO - Validated that VN ctest-vn-15280704 is not in any agent 2026-02-06 19:24:41,187 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15280704 info 2026-02-06 19:24:41,187 - INFO - Deleting VN ctest-vn-38341436 2026-02-06 19:24:41,289 - DEBUG - Response for deleting network () 2026-02-06 19:24:41,289 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/debdb67d-fbec-4e7b-ba5a-0b64af5a394a 2026-02-06 19:24:41,296 - DEBUG - Response Code: 404 2026-02-06 19:24:41,296 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-06 19:24:41,301 - DEBUG - Requesting: http://10.0.0.50:8082/domain/441a7ee2-85a4-43c0-949e-4495667f55c1 2026-02-06 19:24:41,354 - DEBUG - Requesting: http://10.0.0.50:8082/project/440ef8b6-f2b1-4b49-bb22-b546aafd1122 2026-02-06 19:24:41,423 - INFO - Validated that VN ctest-vn-38341436 is not found in API Server 2026-02-06 19:24:41,431 - DEBUG - VN ctest-vn-38341436 is not present in Agent 10.0.0.50 2026-02-06 19:24:41,431 - INFO - Validated that VN ctest-vn-38341436 is not in any agent 2026-02-06 19:24:41,446 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38341436 info 2026-02-06 19:24:41,715 - DEBUG - No XMPP flaps were noticed during the test 2026-02-06 19:24:41,715 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-02-06 19:24:41,715 - INFO - -------------------------------------------------------------------------------- 2026-02-06 19:24:42,385 - INFO - Deleted project: ctest-TestBasicPolicy-66858801, ID : 440ef8b6-f2b1-4b49-bb22-b546aafd1122