2026-11-02 09:38:17,531 - INFO - Domain Default found not creating 2026-11-02 09:38:17,733 - INFO - Project ctest-TestBasicPolicy-46474874 not found, creating it 2026-11-02 09:38:18,219 - INFO - Created Project:ctest-TestBasicPolicy-46474874, ID : 53bba452-1565-4e62-a6dc-7419457fcf54 2026-11-02 09:38:20,352 - INFO - ================================================================================ 2026-11-02 09:38:20,352 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-02 09:38:20,352 - 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-11-02 09:38:20,618 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-11-02 09:38:20,618 - INFO - Initial checks done. Running the testcase now 2026-11-02 09:38:20,618 - INFO - 2026-11-02 09:38:21,429 - DEBUG - Response for create_network : {'network': {'id': '06cb05ea-67d3-41cd-8ce4-702827455628', 'name': 'ctest-vn-72823500', 'tenant_id': '53bba45215654e62a6dc7419457fcf54', 'project_id': '53bba45215654e62a6dc7419457fcf54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46474874', 'ctest-vn-72823500'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 09:38:21,790 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad32d6d1-14ba-45f7-8262-5bfbbd3fec79', 'name': '', 'tenant_id': '53bba45215654e62a6dc7419457fcf54', 'network_id': '06cb05ea-67d3-41cd-8ce4-702827455628', 'ip_version': 4, 'cidr': '12.107.152.192/26', 'allocation_pools': [{'start': '12.107.152.194', 'end': '12.107.152.254'}], 'gateway_ip': '12.107.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.107.152.194', 'tags': [], 'project_id': '53bba45215654e62a6dc7419457fcf54'}} 2026-11-02 09:38:21,829 - INFO - Created VN ctest-vn-72823500 2026-11-02 09:38:21,895 - DEBUG - VN ctest-vn-72823500 UUID is 06cb05ea-67d3-41cd-8ce4-702827455628 2026-11-02 09:38:22,332 - DEBUG - Response for create_network : {'network': {'id': '2f6bc984-dc7d-4e33-90f0-ce380539525c', 'name': 'ctest-vn-46017742', 'tenant_id': '53bba45215654e62a6dc7419457fcf54', 'project_id': '53bba45215654e62a6dc7419457fcf54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46474874', 'ctest-vn-46017742'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 09:38:22,565 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f04e5514-215a-40e1-a6be-6d033e658069', 'name': '', 'tenant_id': '53bba45215654e62a6dc7419457fcf54', 'network_id': '2f6bc984-dc7d-4e33-90f0-ce380539525c', 'ip_version': 4, 'cidr': '101.40.55.0/26', 'allocation_pools': [{'start': '101.40.55.2', 'end': '101.40.55.62'}], 'gateway_ip': '101.40.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.40.55.2', 'tags': [], 'project_id': '53bba45215654e62a6dc7419457fcf54'}} 2026-11-02 09:38:22,584 - INFO - Created VN ctest-vn-46017742 2026-11-02 09:38:22,639 - DEBUG - VN ctest-vn-46017742 UUID is 2f6bc984-dc7d-4e33-90f0-ce380539525c 2026-11-02 09:38:22,767 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46474874:ctest-vn-72823500, 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-46474874:ctest-vn-46017742, 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-11-02 09:38:23,098 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '06cb05ea-67d3-41cd-8ce4-702827455628', 'name': 'ctest-vn-72823500', 'tenant_id': '53bba45215654e62a6dc7419457fcf54', 'project_id': '53bba45215654e62a6dc7419457fcf54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['ad32d6d1-14ba-45f7-8262-5bfbbd3fec79'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46474874', 'ctest-vn-72823500'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46474874', 'ctest-policy-allow-all-14426081']], 'subnet_ipam': [{'subnet_cidr': '12.107.152.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-02 09:38:23,334 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2f6bc984-dc7d-4e33-90f0-ce380539525c', 'name': 'ctest-vn-46017742', 'tenant_id': '53bba45215654e62a6dc7419457fcf54', 'project_id': '53bba45215654e62a6dc7419457fcf54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f04e5514-215a-40e1-a6be-6d033e658069'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46474874', 'ctest-vn-46017742'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46474874', 'ctest-policy-allow-all-14426081']], 'subnet_ipam': [{'subnet_cidr': '101.40.55.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-02 09:38:23,507 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 09:38:23,898 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 09:38:23,932 - DEBUG - Requesting: http://10.0.0.50:8082/domain/348ed8a9-05a8-4032-a039-1797e1d52a38 2026-11-02 09:38:23,948 - DEBUG - Requesting: http://10.0.0.50:8082/project/53bba452-1565-4e62-a6dc-7419457fcf54 2026-11-02 09:38:24,053 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/06cb05ea-67d3-41cd-8ce4-702827455628 2026-11-02 09:38:24,068 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/06cb05ea-67d3-41cd-8ce4-702827455628 2026-11-02 09:38:24,078 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5ffdcdf5-5289-4dcb-a67e-6a1a43852d15 2026-11-02 09:38:24,090 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5ffdcdf5-5289-4dcb-a67e-6a1a43852d15 2026-11-02 09:38:24,102 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f4ffb289-c120-4f69-9e77-55d306408cc2 2026-11-02 09:38:24,112 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 09:38:24,112 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/06cb05ea-67d3-41cd-8ce4-702827455628 2026-11-02 09:38:24,131 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5ffdcdf5-5289-4dcb-a67e-6a1a43852d15 2026-11-02 09:38:24,154 - INFO - Verified VN network id 12 for VN 06cb05ea-67d3-41cd-8ce4-702827455628 2026-11-02 09:38:24,154 - INFO - Verifications in API Server for VN ctest-vn-72823500 passed 2026-11-02 09:38:24,154 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/06cb05ea-67d3-41cd-8ce4-702827455628 2026-11-02 09:38:24,168 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5ffdcdf5-5289-4dcb-a67e-6a1a43852d15 2026-11-02 09:38:24,177 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5ffdcdf5-5289-4dcb-a67e-6a1a43852d15 2026-11-02 09:38:24,187 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f4ffb289-c120-4f69-9e77-55d306408cc2 2026-11-02 09:38:24,204 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46474874:ctest-vn-72823500', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46474874', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '489491488822215117', 'uuid-lslong': '10152362777759798824'}, 'enable': 'true', 'created': '2026-11-02T09:38:21', 'last-modified': '2026-11-02T09:38:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.136545'} 2026-11-02 09:38:24,212 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 09:38:24,213 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72823500 passed 2026-11-02 09:38:24,213 - DEBUG - ====Verifying policy data for ctest-vn-72823500 in API_Server ====== 2026-11-02 09:38:24,213 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 09:38:24,221 - DEBUG - Requesting: http://10.0.0.50:8082/domain/348ed8a9-05a8-4032-a039-1797e1d52a38 2026-11-02 09:38:24,237 - DEBUG - Requesting: http://10.0.0.50:8082/project/53bba452-1565-4e62-a6dc-7419457fcf54 2026-11-02 09:38:24,332 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/06cb05ea-67d3-41cd-8ce4-702827455628 2026-11-02 09:38:24,348 - DEBUG - ==>Verifying data for policy with id: f2041a63-2594-4dd7-99b2-88bf3e5cc80b, fqn: ['default-domain', 'ctest-TestBasicPolicy-46474874', 'ctest-policy-allow-all-14426081'] 2026-11-02 09:38:24,348 - INFO - VN ctest-vn-72823500 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-02 09:38:24,348 - DEBUG - Verifying the vn in opserver 2026-11-02 09:38:24,348 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46474874:ctest-vn-72823500 virtual network link through opserver 10.0.0.50 2026-11-02 09:38:24,348 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-02 09:38:24,728 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-02 09:38:24,798 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46474874:ctest-vn-72823500', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46474874:ctest-vn-72823500?flat'} 2026-11-02 09:38:24,798 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46474874:ctest-vn-72823500 is found in opserver 2026-11-02 09:38:24,810 - DEBUG - Do not have enough data to verify VN in agent 2026-11-02 09:38:24,815 - DEBUG - VRF ids for VN ctest-vn-72823500: {} 2026-11-02 09:38:24,816 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 09:38:24,822 - DEBUG - Requesting: http://10.0.0.50:8082/domain/348ed8a9-05a8-4032-a039-1797e1d52a38 2026-11-02 09:38:24,836 - DEBUG - Requesting: http://10.0.0.50:8082/project/53bba452-1565-4e62-a6dc-7419457fcf54 2026-11-02 09:38:24,915 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2f6bc984-dc7d-4e33-90f0-ce380539525c 2026-11-02 09:38:24,930 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2f6bc984-dc7d-4e33-90f0-ce380539525c 2026-11-02 09:38:24,942 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/555151c7-a4be-42ef-a1fe-3a75739b4183 2026-11-02 09:38:24,952 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/555151c7-a4be-42ef-a1fe-3a75739b4183 2026-11-02 09:38:24,963 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/dc351f9f-2777-43d6-9346-5c3569d00a2a 2026-11-02 09:38:24,972 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-02 09:38:24,972 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2f6bc984-dc7d-4e33-90f0-ce380539525c 2026-11-02 09:38:24,985 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/555151c7-a4be-42ef-a1fe-3a75739b4183 2026-11-02 09:38:25,004 - INFO - Verified VN network id 13 for VN 2f6bc984-dc7d-4e33-90f0-ce380539525c 2026-11-02 09:38:25,004 - INFO - Verifications in API Server for VN ctest-vn-46017742 passed 2026-11-02 09:38:25,004 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2f6bc984-dc7d-4e33-90f0-ce380539525c 2026-11-02 09:38:25,017 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/555151c7-a4be-42ef-a1fe-3a75739b4183 2026-11-02 09:38:25,028 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/555151c7-a4be-42ef-a1fe-3a75739b4183 2026-11-02 09:38:25,037 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/dc351f9f-2777-43d6-9346-5c3569d00a2a 2026-11-02 09:38:25,052 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46474874:ctest-vn-46017742', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46474874', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3417046314762718771', 'uuid-lslong': '10444074275873313372'}, 'enable': 'true', 'created': '2026-11-02T09:38:22', 'last-modified': '2026-11-02T09:38:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.744118'} 2026-11-02 09:38:25,062 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-02 09:38:25,062 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46017742 passed 2026-11-02 09:38:25,062 - DEBUG - ====Verifying policy data for ctest-vn-46017742 in API_Server ====== 2026-11-02 09:38:25,062 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 09:38:25,071 - DEBUG - Requesting: http://10.0.0.50:8082/domain/348ed8a9-05a8-4032-a039-1797e1d52a38 2026-11-02 09:38:25,087 - DEBUG - Requesting: http://10.0.0.50:8082/project/53bba452-1565-4e62-a6dc-7419457fcf54 2026-11-02 09:38:25,165 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2f6bc984-dc7d-4e33-90f0-ce380539525c 2026-11-02 09:38:25,176 - DEBUG - ==>Verifying data for policy with id: f2041a63-2594-4dd7-99b2-88bf3e5cc80b, fqn: ['default-domain', 'ctest-TestBasicPolicy-46474874', 'ctest-policy-allow-all-14426081'] 2026-11-02 09:38:25,176 - INFO - VN ctest-vn-46017742 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-02 09:38:25,176 - DEBUG - Verifying the vn in opserver 2026-11-02 09:38:25,176 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46474874:ctest-vn-46017742 virtual network link through opserver 10.0.0.50 2026-11-02 09:38:25,176 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-02 09:38:25,188 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46474874:ctest-vn-46017742', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46474874:ctest-vn-46017742?flat'} 2026-11-02 09:38:25,188 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46474874:ctest-vn-46017742 is found in opserver 2026-11-02 09:38:25,201 - DEBUG - Do not have enough data to verify VN in agent 2026-11-02 09:38:25,208 - DEBUG - VRF ids for VN ctest-vn-46017742: {} 2026-11-02 09:38:25,287 - DEBUG - Services list from nova: [, , ] 2026-11-02 09:38:25,728 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6462-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6462-1) 2026-11-02 09:38:26,224 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6462-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6462-1) 2026-11-02 09:38:26,224 - INFO - Waiting for VM ctest-TestBasicPolicy-46474874-00884325 to be up.. 2026-11-02 09:38:26,282 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 09:38:31,371 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 09:38:36,463 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 09:38:41,594 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 09:38:46,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 09:38:51,814 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 09:38:56,908 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 09:39:01,995 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 09:39:07,097 - DEBUG - VM is in ACTIVE state now 2026-11-02 09:39:07,097 - INFO - VM name : ctest-TestBasicPolicy-46474874-00884325 2026-11-02 09:39:07,192 - DEBUG - VM ctest-TestBasicPolicy-46474874-00884325 ID is 66263127-6f41-482d-afc2-c3f63bf18d94 2026-11-02 09:39:07,219 - DEBUG - VM ctest-TestBasicPolicy-46474874-00884325 launched on Node cn-jenkins-deploy-platform-ansible-os-6462-1 2026-11-02 09:39:07,306 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/66263127-6f41-482d-afc2-c3f63bf18d94 2026-11-02 09:39:07,316 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/02b2ef4f-ce65-4752-8013-0f9579d07800 2026-11-02 09:39:10,586 - 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 1013ms') 2026-11-02 09:39:10,586 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46474874-00884325 failed! 2026-11-02 09:39:10,643 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46474874:ctest-vn-72823500 is 12.107.152.193 and allocation pool is NOT set 2026-11-02 09:39:14,711 - 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=2 ttl=63 time=5.77 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 5.768/5.768/5.768/0.000 ms') 2026-11-02 09:39:14,711 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46474874-00884325 passed 2026-11-02 09:39:14,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 09:39:14,863 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46474874-00884325, IP 12.107.152.195, Port 22 2026-11-02 09:39:15,029 - DEBUG - VM ctest-TestBasicPolicy-46474874-00884325 is ready for SSH connections 2026-11-02 09:39:15,029 - INFO - Waiting for VM ctest-TestBasicPolicy-46474874-67699659 to be up.. 2026-11-02 09:39:15,131 - DEBUG - VM is in ACTIVE state now 2026-11-02 09:39:15,131 - INFO - VM name : ctest-TestBasicPolicy-46474874-67699659 2026-11-02 09:39:15,230 - DEBUG - VM ctest-TestBasicPolicy-46474874-67699659 ID is e21de029-fd5d-436e-b551-aea1e99606b9 2026-11-02 09:39:15,230 - DEBUG - VM ctest-TestBasicPolicy-46474874-67699659 launched on Node cn-jenkins-deploy-platform-ansible-os-6462-1 2026-11-02 09:39:15,337 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e21de029-fd5d-436e-b551-aea1e99606b9 2026-11-02 09:39:15,348 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d2686f66-da2a-4897-930b-fd8fcb58cfb8 2026-11-02 09:39:18,612 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2026-11-02 09:39:18,612 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46474874-67699659 failed! 2026-11-02 09:39:18,667 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46474874:ctest-vn-46017742 is 101.40.55.1 and allocation pool is NOT set 2026-11-02 09:39:20,731 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.507 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.507/2.544/4.581/2.037 ms') 2026-11-02 09:39:20,732 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46474874-67699659 passed 2026-11-02 09:39:20,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 09:39:20,883 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46474874-67699659, IP 101.40.55.3, Port 22 2026-11-02 09:39:21,053 - DEBUG - VM ctest-TestBasicPolicy-46474874-67699659 is ready for SSH connections 2026-11-02 09:39:21,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 09:39:21,054 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.40.55.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-02 09:39:21,054 - DEBUG - ping -s 56 -c 3 -W 1 101.40.55.3 2026-11-02 09:39:25,294 - DEBUG - PING 101.40.55.3 (101.40.55.3): 56 data bytes 64 bytes from 101.40.55.3: seq=0 ttl=63 time=4.766 ms 64 bytes from 101.40.55.3: seq=1 ttl=63 time=1.355 ms 64 bytes from 101.40.55.3: seq=2 ttl=63 time=1.107 ms --- 101.40.55.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.107/2.409/4.766 ms 2026-11-02 09:39:25,294 - INFO - Ping to IP 101.40.55.3 from VM ctest-TestBasicPolicy-46474874-00884325 passed 2026-11-02 09:39:25,495 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f2041a63-2594-4dd7-99b2-88bf3e5cc80b", "href": "http://10.0.0.50:8082/network-policy/f2041a63-2594-4dd7-99b2-88bf3e5cc80b"}} 2026-11-02 09:39:25,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 09:39:25,495 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.40.55.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-02 09:39:25,495 - DEBUG - ping -s 56 -c 3 -W 1 101.40.55.3 2026-11-02 09:39:28,822 - DEBUG - PING 101.40.55.3 (101.40.55.3): 56 data bytes 64 bytes from 101.40.55.3: seq=0 ttl=63 time=3.280 ms --- 101.40.55.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 3.280/3.280/3.280 ms 2026-11-02 09:39:28,823 - WARNING - Ping to IP 101.40.55.3 from VM ctest-TestBasicPolicy-46474874-00884325 failed 2026-11-02 09:39:28,823 - INFO - Deleting VM ctest-TestBasicPolicy-46474874-67699659 2026-11-02 09:39:28,936 - INFO - Deleting VM ctest-TestBasicPolicy-46474874-00884325 2026-11-02 09:39:29,396 - INFO - Deleted policy ctest-policy-allow-all-14426081 2026-11-02 09:39:29,396 - INFO - Deleting VN ctest-vn-46017742 2026-11-02 09:39:29,455 - DEBUG - VN 2f6bc984-dc7d-4e33-90f0-ce380539525c still in use: Unable to complete operation on network 2f6bc984-dc7d-4e33-90f0-ce380539525c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eaac8db8-9dcc-490a-92b6-6b8f00435902'] 2026-11-02 09:39:29,455 - WARNING - Deleting VN ctest-vn-46017742 failed..Will retry 2026-11-02 09:39:31,514 - DEBUG - VN 2f6bc984-dc7d-4e33-90f0-ce380539525c still in use: Unable to complete operation on network 2f6bc984-dc7d-4e33-90f0-ce380539525c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a98c97a4-6212-4e97-b3c6-3921a2800686'] 2026-11-02 09:39:31,514 - WARNING - Deleting VN ctest-vn-46017742 failed..Will retry 2026-11-02 09:39:33,664 - DEBUG - Response for deleting network () 2026-11-02 09:39:33,664 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/555151c7-a4be-42ef-a1fe-3a75739b4183 2026-11-02 09:39:33,674 - DEBUG - Response Code: 404 2026-11-02 09:39:33,674 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 09:39:33,682 - DEBUG - Requesting: http://10.0.0.50:8082/domain/348ed8a9-05a8-4032-a039-1797e1d52a38 2026-11-02 09:39:33,742 - DEBUG - Requesting: http://10.0.0.50:8082/project/53bba452-1565-4e62-a6dc-7419457fcf54 2026-11-02 09:39:33,833 - INFO - Validated that VN ctest-vn-46017742 is not found in API Server 2026-11-02 09:39:33,846 - DEBUG - VN ctest-vn-46017742 is not present in Agent 10.0.0.50 2026-11-02 09:39:33,846 - INFO - Validated that VN ctest-vn-46017742 is not in any agent 2026-11-02 09:39:33,868 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46017742 info 2026-11-02 09:39:33,868 - INFO - Deleting VN ctest-vn-72823500 2026-11-02 09:39:33,997 - DEBUG - Response for deleting network () 2026-11-02 09:39:33,997 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5ffdcdf5-5289-4dcb-a67e-6a1a43852d15 2026-11-02 09:39:34,003 - DEBUG - Response Code: 404 2026-11-02 09:39:34,004 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-02 09:39:34,011 - DEBUG - Requesting: http://10.0.0.50:8082/domain/348ed8a9-05a8-4032-a039-1797e1d52a38 2026-11-02 09:39:34,069 - DEBUG - Requesting: http://10.0.0.50:8082/project/53bba452-1565-4e62-a6dc-7419457fcf54 2026-11-02 09:39:34,152 - INFO - Validated that VN ctest-vn-72823500 is not found in API Server 2026-11-02 09:39:34,166 - DEBUG - VN ctest-vn-72823500 is not present in Agent 10.0.0.50 2026-11-02 09:39:34,166 - INFO - Validated that VN ctest-vn-72823500 is not in any agent 2026-11-02 09:39:34,187 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72823500 info 2026-11-02 09:39:34,455 - DEBUG - No XMPP flaps were noticed during the test
2026-11-02 09:39:34,455 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:14]
2026-11-02 09:39:34,455 - INFO - -------------------------------------------------------------------------------- 2026-11-02 09:39:35,283 - INFO - Deleted project: ctest-TestBasicPolicy-46474874, ID : 53bba452-1565-4e62-a6dc-7419457fcf54