2026-06-11 15:42:32,190 - INFO - Domain Default found not creating 2026-06-11 15:42:32,335 - INFO - Project ctest-TestBasicPolicy-45067129 not found, creating it 2026-06-11 15:42:32,768 - INFO - Created Project:ctest-TestBasicPolicy-45067129, ID : dd963e03-267a-471f-b56b-fa9d753645e2 2026-06-11 15:42:34,293 - INFO - ================================================================================ 2026-06-11 15:42:34,293 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-11 15:42:34,293 - 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-06-11 15:42:34,550 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2026-06-11 15:42:34,550 - INFO - Initial checks done. Running the testcase now 2026-06-11 15:42:34,550 - INFO - 2026-06-11 15:42:35,106 - DEBUG - Response for create_network : {'network': {'id': '562abeab-06fa-4c6a-8aca-a4aef040756a', 'name': 'ctest-vn-69792466', 'tenant_id': 'dd963e03267a471fb56bfa9d753645e2', 'project_id': 'dd963e03267a471fb56bfa9d753645e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45067129', 'ctest-vn-69792466'], 'port_security_enabled': True, 'description': ''}} 2026-06-11 15:42:35,318 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd21a347f-8998-4172-9e68-0db933aa3d34', 'name': '', 'tenant_id': 'dd963e03267a471fb56bfa9d753645e2', 'network_id': '562abeab-06fa-4c6a-8aca-a4aef040756a', 'ip_version': 4, 'cidr': '120.186.178.64/26', 'allocation_pools': [{'start': '120.186.178.66', 'end': '120.186.178.126'}], 'gateway_ip': '120.186.178.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.186.178.66', 'tags': [], 'project_id': 'dd963e03267a471fb56bfa9d753645e2'}} 2026-06-11 15:42:35,334 - INFO - Created VN ctest-vn-69792466 2026-06-11 15:42:35,384 - DEBUG - VN ctest-vn-69792466 UUID is 562abeab-06fa-4c6a-8aca-a4aef040756a 2026-06-11 15:42:35,690 - DEBUG - Response for create_network : {'network': {'id': '1ff9ee14-bb3d-4976-a6d0-6ca66715f354', 'name': 'ctest-vn-87065430', 'tenant_id': 'dd963e03267a471fb56bfa9d753645e2', 'project_id': 'dd963e03267a471fb56bfa9d753645e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45067129', 'ctest-vn-87065430'], 'port_security_enabled': True, 'description': ''}} 2026-06-11 15:42:35,872 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fecf203-e44f-40ce-8cfb-89b298b7a233', 'name': '', 'tenant_id': 'dd963e03267a471fb56bfa9d753645e2', 'network_id': '1ff9ee14-bb3d-4976-a6d0-6ca66715f354', 'ip_version': 4, 'cidr': '66.126.56.64/26', 'allocation_pools': [{'start': '66.126.56.66', 'end': '66.126.56.126'}], 'gateway_ip': '66.126.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.126.56.66', 'tags': [], 'project_id': 'dd963e03267a471fb56bfa9d753645e2'}} 2026-06-11 15:42:35,885 - INFO - Created VN ctest-vn-87065430 2026-06-11 15:42:35,936 - DEBUG - VN ctest-vn-87065430 UUID is 1ff9ee14-bb3d-4976-a6d0-6ca66715f354 2026-06-11 15:42:36,080 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-69792466, 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-45067129:ctest-vn-87065430, 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-06-11 15:42:36,359 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '562abeab-06fa-4c6a-8aca-a4aef040756a', 'name': 'ctest-vn-69792466', 'tenant_id': 'dd963e03267a471fb56bfa9d753645e2', 'project_id': 'dd963e03267a471fb56bfa9d753645e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d21a347f-8998-4172-9e68-0db933aa3d34'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45067129', 'ctest-vn-69792466'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45067129', 'ctest-policy-allow-all-87796231']], 'subnet_ipam': [{'subnet_cidr': '120.186.178.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-11 15:42:36,588 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1ff9ee14-bb3d-4976-a6d0-6ca66715f354', 'name': 'ctest-vn-87065430', 'tenant_id': 'dd963e03267a471fb56bfa9d753645e2', 'project_id': 'dd963e03267a471fb56bfa9d753645e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4fecf203-e44f-40ce-8cfb-89b298b7a233'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45067129', 'ctest-vn-87065430'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45067129', 'ctest-policy-allow-all-87796231']], 'subnet_ipam': [{'subnet_cidr': '66.126.56.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-11 15:42:36,748 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-11 15:42:37,061 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-11 15:42:37,095 - DEBUG - Requesting: http://10.0.0.33:8082/domain/053bd5b0-1085-4324-abcd-a0f6b9beb9c6 2026-06-11 15:42:37,106 - DEBUG - Requesting: http://10.0.0.33:8082/project/dd963e03-267a-471f-b56b-fa9d753645e2 2026-06-11 15:42:37,178 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/562abeab-06fa-4c6a-8aca-a4aef040756a 2026-06-11 15:42:37,188 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/562abeab-06fa-4c6a-8aca-a4aef040756a 2026-06-11 15:42:37,196 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f28fa9d1-bd17-49dc-9a28-51362151f57f 2026-06-11 15:42:37,202 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f28fa9d1-bd17-49dc-9a28-51362151f57f 2026-06-11 15:42:37,208 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/307ffb00-a984-4e01-962e-9bd68a046c64 2026-06-11 15:42:37,213 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-11 15:42:37,213 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/562abeab-06fa-4c6a-8aca-a4aef040756a 2026-06-11 15:42:37,220 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f28fa9d1-bd17-49dc-9a28-51362151f57f 2026-06-11 15:42:37,232 - INFO - Verified VN network id 12 for VN 562abeab-06fa-4c6a-8aca-a4aef040756a 2026-06-11 15:42:37,232 - INFO - Verifications in API Server for VN ctest-vn-69792466 passed 2026-06-11 15:42:37,232 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/562abeab-06fa-4c6a-8aca-a4aef040756a 2026-06-11 15:42:37,240 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f28fa9d1-bd17-49dc-9a28-51362151f57f 2026-06-11 15:42:37,245 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f28fa9d1-bd17-49dc-9a28-51362151f57f 2026-06-11 15:42:37,250 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/307ffb00-a984-4e01-962e-9bd68a046c64 2026-06-11 15:42:37,260 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-69792466', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45067129', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6208984678049401962', 'uuid-lslong': '10000986993791628650'}, 'enable': 'true', 'created': '2026-06-11T15:42:35', 'last-modified': '2026-06-11T15:42:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.917499'} 2026-06-11 15:42:37,265 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-11 15:42:37,265 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69792466 passed 2026-06-11 15:42:37,265 - DEBUG - ====Verifying policy data for ctest-vn-69792466 in API_Server ====== 2026-06-11 15:42:37,265 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-11 15:42:37,270 - DEBUG - Requesting: http://10.0.0.33:8082/domain/053bd5b0-1085-4324-abcd-a0f6b9beb9c6 2026-06-11 15:42:37,279 - DEBUG - Requesting: http://10.0.0.33:8082/project/dd963e03-267a-471f-b56b-fa9d753645e2 2026-06-11 15:42:37,350 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/562abeab-06fa-4c6a-8aca-a4aef040756a 2026-06-11 15:42:37,360 - DEBUG - ==>Verifying data for policy with id: bc630975-0394-401d-89b2-124ee0753618, fqn: ['default-domain', 'ctest-TestBasicPolicy-45067129', 'ctest-policy-allow-all-87796231'] 2026-06-11 15:42:37,360 - INFO - VN ctest-vn-69792466 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-11 15:42:37,360 - DEBUG - Verifying the vn in opserver 2026-06-11 15:42:37,360 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-69792466 virtual network link through opserver 10.0.0.33 2026-06-11 15:42:37,360 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-11 15:42:37,761 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-11 15:42:37,824 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-69792466', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-69792466?flat'} 2026-06-11 15:42:37,824 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-69792466 is found in opserver 2026-06-11 15:42:37,833 - DEBUG - Do not have enough data to verify VN in agent 2026-06-11 15:42:37,838 - DEBUG - VRF ids for VN ctest-vn-69792466: {} 2026-06-11 15:42:37,838 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-11 15:42:37,844 - DEBUG - Requesting: http://10.0.0.33:8082/domain/053bd5b0-1085-4324-abcd-a0f6b9beb9c6 2026-06-11 15:42:37,855 - DEBUG - Requesting: http://10.0.0.33:8082/project/dd963e03-267a-471f-b56b-fa9d753645e2 2026-06-11 15:42:37,923 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1ff9ee14-bb3d-4976-a6d0-6ca66715f354 2026-06-11 15:42:37,936 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1ff9ee14-bb3d-4976-a6d0-6ca66715f354 2026-06-11 15:42:37,945 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67e16950-f8fd-4ccb-b979-9c0709c3f76f 2026-06-11 15:42:37,951 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67e16950-f8fd-4ccb-b979-9c0709c3f76f 2026-06-11 15:42:37,957 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ca59f291-9891-4f20-997a-e42d969bc423 2026-06-11 15:42:37,962 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-11 15:42:37,962 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1ff9ee14-bb3d-4976-a6d0-6ca66715f354 2026-06-11 15:42:37,969 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67e16950-f8fd-4ccb-b979-9c0709c3f76f 2026-06-11 15:42:37,981 - INFO - Verified VN network id 13 for VN 1ff9ee14-bb3d-4976-a6d0-6ca66715f354 2026-06-11 15:42:37,981 - INFO - Verifications in API Server for VN ctest-vn-87065430 passed 2026-06-11 15:42:37,981 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1ff9ee14-bb3d-4976-a6d0-6ca66715f354 2026-06-11 15:42:37,989 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67e16950-f8fd-4ccb-b979-9c0709c3f76f 2026-06-11 15:42:37,996 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67e16950-f8fd-4ccb-b979-9c0709c3f76f 2026-06-11 15:42:38,001 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ca59f291-9891-4f20-997a-e42d969bc423 2026-06-11 15:42:38,011 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-87065430', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45067129', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2304134457184831862', 'uuid-lslong': '12020226867401716564'}, 'enable': 'true', 'created': '2026-06-11T15:42:35', 'last-modified': '2026-06-11T15:42:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.448013'} 2026-06-11 15:42:38,016 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-11 15:42:38,016 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87065430 passed 2026-06-11 15:42:38,016 - DEBUG - ====Verifying policy data for ctest-vn-87065430 in API_Server ====== 2026-06-11 15:42:38,016 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-11 15:42:38,020 - DEBUG - Requesting: http://10.0.0.33:8082/domain/053bd5b0-1085-4324-abcd-a0f6b9beb9c6 2026-06-11 15:42:38,029 - DEBUG - Requesting: http://10.0.0.33:8082/project/dd963e03-267a-471f-b56b-fa9d753645e2 2026-06-11 15:42:38,101 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1ff9ee14-bb3d-4976-a6d0-6ca66715f354 2026-06-11 15:42:38,110 - DEBUG - ==>Verifying data for policy with id: bc630975-0394-401d-89b2-124ee0753618, fqn: ['default-domain', 'ctest-TestBasicPolicy-45067129', 'ctest-policy-allow-all-87796231'] 2026-06-11 15:42:38,110 - INFO - VN ctest-vn-87065430 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-11 15:42:38,110 - DEBUG - Verifying the vn in opserver 2026-06-11 15:42:38,110 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-87065430 virtual network link through opserver 10.0.0.33 2026-06-11 15:42:38,110 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-11 15:42:38,119 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-87065430', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-87065430?flat'} 2026-06-11 15:42:38,120 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-87065430 is found in opserver 2026-06-11 15:42:38,128 - DEBUG - Do not have enough data to verify VN in agent 2026-06-11 15:42:38,132 - DEBUG - VRF ids for VN ctest-vn-87065430: {} 2026-06-11 15:42:38,192 - DEBUG - Services list from nova: [, , ] 2026-06-11 15:42:39,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5934-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5934-1) 2026-06-11 15:42:40,286 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5934-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5934-1) 2026-06-11 15:42:40,287 - INFO - Waiting for VM ctest-TestBasicPolicy-45067129-59391916 to be up.. 2026-06-11 15:42:40,332 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-11 15:42:45,405 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-11 15:42:50,478 - DEBUG - VM is in ACTIVE state now 2026-06-11 15:42:50,478 - INFO - VM name : ctest-TestBasicPolicy-45067129-59391916 2026-06-11 15:42:50,545 - DEBUG - VM ctest-TestBasicPolicy-45067129-59391916 ID is a1268c1c-2997-4948-b557-95f9be3f41e6 2026-06-11 15:42:50,564 - DEBUG - VM ctest-TestBasicPolicy-45067129-59391916 launched on Node cn-jenkins-deploy-platform-ansible-os-5934-1 2026-06-11 15:42:50,641 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a1268c1c-2997-4948-b557-95f9be3f41e6 2026-06-11 15:42:50,653 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/bb09c710-1186-4e9e-a200-39b2c4f6e348 2026-06-11 15:42:53,937 - 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 1030ms') 2026-06-11 15:42:53,937 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45067129-59391916 failed! 2026-06-11 15:42:53,992 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45067129:ctest-vn-69792466 is 120.186.178.65 and allocation pool is NOT set 2026-06-11 15:42:56,058 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.406 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.406/4.577/8.749/4.171 ms') 2026-06-11 15:42:56,059 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45067129-59391916 passed 2026-06-11 15:42:56,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-11 15:42:56,208 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45067129-59391916, IP 120.186.178.67, Port 22 2026-06-11 15:42:56,363 - DEBUG - VM ctest-TestBasicPolicy-45067129-59391916 is ready for SSH connections 2026-06-11 15:42:56,363 - INFO - Waiting for VM ctest-TestBasicPolicy-45067129-73170346 to be up.. 2026-06-11 15:42:56,440 - DEBUG - VM is in ACTIVE state now 2026-06-11 15:42:56,440 - INFO - VM name : ctest-TestBasicPolicy-45067129-73170346 2026-06-11 15:42:56,512 - DEBUG - VM ctest-TestBasicPolicy-45067129-73170346 ID is ff60c565-4552-4da3-876b-951f00d7467d 2026-06-11 15:42:56,512 - DEBUG - VM ctest-TestBasicPolicy-45067129-73170346 launched on Node cn-jenkins-deploy-platform-ansible-os-5934-1 2026-06-11 15:42:56,581 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ff60c565-4552-4da3-876b-951f00d7467d 2026-06-11 15:42:56,590 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9ec4a9b3-c873-4a56-9206-96a37d5d5bda 2026-06-11 15:42:57,822 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.573 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.573/1.927/3.282/1.354 ms') 2026-06-11 15:42:57,823 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45067129-73170346 passed 2026-06-11 15:42:57,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-11 15:42:57,972 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45067129-73170346, IP 66.126.56.67, Port 22 2026-06-11 15:42:58,143 - DEBUG - VM ctest-TestBasicPolicy-45067129-73170346 is ready for SSH connections 2026-06-11 15:42:58,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-11 15:42:58,143 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.126.56.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-11 15:42:58,143 - DEBUG - ping -s 56 -c 3 -W 1 66.126.56.67 2026-06-11 15:43:02,095 - DEBUG - PING 66.126.56.67 (66.126.56.67): 56 data bytes 64 bytes from 66.126.56.67: seq=0 ttl=63 time=4.254 ms 64 bytes from 66.126.56.67: seq=1 ttl=63 time=1.125 ms 64 bytes from 66.126.56.67: seq=2 ttl=63 time=1.163 ms --- 66.126.56.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.125/2.180/4.254 ms 2026-06-11 15:43:02,095 - INFO - Ping to IP 66.126.56.67 from VM ctest-TestBasicPolicy-45067129-59391916 passed 2026-06-11 15:43:02,276 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bc630975-0394-401d-89b2-124ee0753618", "href": "http://10.0.0.33:8082/network-policy/bc630975-0394-401d-89b2-124ee0753618"}} 2026-06-11 15:43:02,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-11 15:43:02,276 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.126.56.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-11 15:43:02,276 - DEBUG - ping -s 56 -c 3 -W 1 66.126.56.67 2026-06-11 15:43:05,398 - DEBUG - PING 66.126.56.67 (66.126.56.67): 56 data bytes --- 66.126.56.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-11 15:43:05,398 - WARNING - Ping to IP 66.126.56.67 from VM ctest-TestBasicPolicy-45067129-59391916 failed 2026-06-11 15:43:05,398 - INFO - Deleting VM ctest-TestBasicPolicy-45067129-73170346 2026-06-11 15:43:05,463 - INFO - Deleting VM ctest-TestBasicPolicy-45067129-59391916 2026-06-11 15:43:05,821 - INFO - Deleted policy ctest-policy-allow-all-87796231 2026-06-11 15:43:05,822 - INFO - Deleting VN ctest-vn-87065430 2026-06-11 15:43:05,855 - DEBUG - VN 1ff9ee14-bb3d-4976-a6d0-6ca66715f354 still in use: Unable to complete operation on network 1ff9ee14-bb3d-4976-a6d0-6ca66715f354. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5215c9a2-f838-4124-a233-a875309e2cf8'] 2026-06-11 15:43:05,855 - WARNING - Deleting VN ctest-vn-87065430 failed..Will retry 2026-06-11 15:43:07,940 - DEBUG - Response for deleting network () 2026-06-11 15:43:07,940 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/67e16950-f8fd-4ccb-b979-9c0709c3f76f 2026-06-11 15:43:07,944 - DEBUG - Response Code: 404 2026-06-11 15:43:07,944 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-11 15:43:07,948 - DEBUG - Requesting: http://10.0.0.33:8082/domain/053bd5b0-1085-4324-abcd-a0f6b9beb9c6 2026-06-11 15:43:08,001 - DEBUG - Requesting: http://10.0.0.33:8082/project/dd963e03-267a-471f-b56b-fa9d753645e2 2026-06-11 15:43:08,082 - INFO - Validated that VN ctest-vn-87065430 is not found in API Server 2026-06-11 15:43:08,094 - DEBUG - VN ctest-vn-87065430 is not present in Agent 10.0.0.33 2026-06-11 15:43:08,094 - INFO - Validated that VN ctest-vn-87065430 is not in any agent 2026-06-11 15:43:08,110 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87065430 info 2026-06-11 15:43:08,110 - INFO - Deleting VN ctest-vn-69792466 2026-06-11 15:43:08,207 - DEBUG - Response for deleting network () 2026-06-11 15:43:08,207 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/f28fa9d1-bd17-49dc-9a28-51362151f57f 2026-06-11 15:43:08,214 - DEBUG - Response Code: 404 2026-06-11 15:43:08,214 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-06-11 15:43:08,219 - DEBUG - Requesting: http://10.0.0.33:8082/domain/053bd5b0-1085-4324-abcd-a0f6b9beb9c6 2026-06-11 15:43:08,273 - DEBUG - Requesting: http://10.0.0.33:8082/project/dd963e03-267a-471f-b56b-fa9d753645e2 2026-06-11 15:43:08,340 - INFO - Validated that VN ctest-vn-69792466 is not found in API Server 2026-06-11 15:43:08,349 - DEBUG - VN ctest-vn-69792466 is not present in Agent 10.0.0.33 2026-06-11 15:43:08,349 - INFO - Validated that VN ctest-vn-69792466 is not in any agent 2026-06-11 15:43:08,363 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69792466 info 2026-06-11 15:43:08,616 - DEBUG - No XMPP flaps were noticed during the test
2026-06-11 15:43:08,616 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-06-11 15:43:08,616 - INFO - -------------------------------------------------------------------------------- 2026-06-11 15:43:09,323 - INFO - Deleted project: ctest-TestBasicPolicy-45067129, ID : dd963e03-267a-471f-b56b-fa9d753645e2