2026-09-08 11:59:26,395 - INFO - Domain Default found not creating 2026-09-08 11:59:26,540 - INFO - Project ctest-TestBasicPolicy-81400470 not found, creating it 2026-09-08 11:59:27,012 - INFO - Created Project:ctest-TestBasicPolicy-81400470, ID : 3c45c25c-7e68-475b-99e6-1f5408fa787e 2026-09-08 11:59:28,556 - INFO - ================================================================================ 2026-09-08 11:59:28,556 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-08 11:59:28,556 - 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-09-08 11:59:28,828 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-09-08 11:59:28,828 - INFO - Initial checks done. Running the testcase now 2026-09-08 11:59:28,828 - INFO - 2026-09-08 11:59:29,405 - DEBUG - Response for create_network : {'network': {'id': 'b9b897b0-311c-41f3-be67-3f48b5a9c408', 'name': 'ctest-vn-08724989', 'tenant_id': '3c45c25c7e68475b99e61f5408fa787e', 'project_id': '3c45c25c7e68475b99e61f5408fa787e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81400470', 'ctest-vn-08724989'], 'port_security_enabled': True, 'description': ''}} 2026-09-08 11:59:29,632 - DEBUG - Response for create_subnet : {'subnet': {'id': '86b29b8e-c56e-484c-9500-53bbd81a2bcb', 'name': '', 'tenant_id': '3c45c25c7e68475b99e61f5408fa787e', 'network_id': 'b9b897b0-311c-41f3-be67-3f48b5a9c408', 'ip_version': 4, 'cidr': '97.208.35.128/26', 'allocation_pools': [{'start': '97.208.35.130', 'end': '97.208.35.190'}], 'gateway_ip': '97.208.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.208.35.130', 'tags': [], 'project_id': '3c45c25c7e68475b99e61f5408fa787e'}} 2026-09-08 11:59:29,648 - INFO - Created VN ctest-vn-08724989 2026-09-08 11:59:29,702 - DEBUG - VN ctest-vn-08724989 UUID is b9b897b0-311c-41f3-be67-3f48b5a9c408 2026-09-08 11:59:30,061 - DEBUG - Response for create_network : {'network': {'id': '4ce8f011-db66-42e6-8048-b96e5cbb8639', 'name': 'ctest-vn-65203600', 'tenant_id': '3c45c25c7e68475b99e61f5408fa787e', 'project_id': '3c45c25c7e68475b99e61f5408fa787e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81400470', 'ctest-vn-65203600'], 'port_security_enabled': True, 'description': ''}} 2026-09-08 11:59:30,316 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f8aab7c-140f-473e-9dea-563e5ca45790', 'name': '', 'tenant_id': '3c45c25c7e68475b99e61f5408fa787e', 'network_id': '4ce8f011-db66-42e6-8048-b96e5cbb8639', 'ip_version': 4, 'cidr': '174.223.93.192/26', 'allocation_pools': [{'start': '174.223.93.194', 'end': '174.223.93.254'}], 'gateway_ip': '174.223.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.223.93.194', 'tags': [], 'project_id': '3c45c25c7e68475b99e61f5408fa787e'}} 2026-09-08 11:59:30,333 - INFO - Created VN ctest-vn-65203600 2026-09-08 11:59:30,387 - DEBUG - VN ctest-vn-65203600 UUID is 4ce8f011-db66-42e6-8048-b96e5cbb8639 2026-09-08 11:59:30,546 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-08724989, 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-81400470:ctest-vn-65203600, 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-09-08 11:59:30,868 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b9b897b0-311c-41f3-be67-3f48b5a9c408', 'name': 'ctest-vn-08724989', 'tenant_id': '3c45c25c7e68475b99e61f5408fa787e', 'project_id': '3c45c25c7e68475b99e61f5408fa787e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['86b29b8e-c56e-484c-9500-53bbd81a2bcb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81400470', 'ctest-vn-08724989'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81400470', 'ctest-policy-allow-all-41881028']], 'subnet_ipam': [{'subnet_cidr': '97.208.35.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-08 11:59:31,101 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4ce8f011-db66-42e6-8048-b96e5cbb8639', 'name': 'ctest-vn-65203600', 'tenant_id': '3c45c25c7e68475b99e61f5408fa787e', 'project_id': '3c45c25c7e68475b99e61f5408fa787e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2f8aab7c-140f-473e-9dea-563e5ca45790'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81400470', 'ctest-vn-65203600'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81400470', 'ctest-policy-allow-all-41881028']], 'subnet_ipam': [{'subnet_cidr': '174.223.93.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-08 11:59:31,266 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-08 11:59:31,593 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-08 11:59:31,619 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9623fb4c-546d-475f-b640-40047a2f5c6d 2026-09-08 11:59:31,631 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c45c25c-7e68-475b-99e6-1f5408fa787e 2026-09-08 11:59:31,706 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b9b897b0-311c-41f3-be67-3f48b5a9c408 2026-09-08 11:59:31,718 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b9b897b0-311c-41f3-be67-3f48b5a9c408 2026-09-08 11:59:31,728 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8cbae557-88b1-48fe-9d3a-f9c483661dbd 2026-09-08 11:59:31,736 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8cbae557-88b1-48fe-9d3a-f9c483661dbd 2026-09-08 11:59:31,743 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c112f619-b4d1-474b-b25e-380823bb2cae 2026-09-08 11:59:31,750 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-08 11:59:31,750 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b9b897b0-311c-41f3-be67-3f48b5a9c408 2026-09-08 11:59:31,759 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8cbae557-88b1-48fe-9d3a-f9c483661dbd 2026-09-08 11:59:31,773 - INFO - Verified VN network id 12 for VN b9b897b0-311c-41f3-be67-3f48b5a9c408 2026-09-08 11:59:31,773 - INFO - Verifications in API Server for VN ctest-vn-08724989 passed 2026-09-08 11:59:31,773 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b9b897b0-311c-41f3-be67-3f48b5a9c408 2026-09-08 11:59:31,783 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8cbae557-88b1-48fe-9d3a-f9c483661dbd 2026-09-08 11:59:31,790 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8cbae557-88b1-48fe-9d3a-f9c483661dbd 2026-09-08 11:59:31,797 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c112f619-b4d1-474b-b25e-380823bb2cae 2026-09-08 11:59:31,809 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-08724989', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81400470', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13382613075725402611', 'uuid-lslong': '13720004371325502472'}, 'enable': 'true', 'created': '2026-09-08T11:59:29', 'last-modified': '2026-09-08T11:59:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.958753'} 2026-09-08 11:59:31,817 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-08 11:59:31,817 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08724989 passed 2026-09-08 11:59:31,817 - DEBUG - ====Verifying policy data for ctest-vn-08724989 in API_Server ====== 2026-09-08 11:59:31,817 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-08 11:59:31,823 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9623fb4c-546d-475f-b640-40047a2f5c6d 2026-09-08 11:59:31,832 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c45c25c-7e68-475b-99e6-1f5408fa787e 2026-09-08 11:59:31,905 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b9b897b0-311c-41f3-be67-3f48b5a9c408 2026-09-08 11:59:31,915 - DEBUG - ==>Verifying data for policy with id: 52710f24-c581-4433-ad4f-ae9c2af2b6ca, fqn: ['default-domain', 'ctest-TestBasicPolicy-81400470', 'ctest-policy-allow-all-41881028'] 2026-09-08 11:59:31,915 - INFO - VN ctest-vn-08724989 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-08 11:59:31,915 - DEBUG - Verifying the vn in opserver 2026-09-08 11:59:31,915 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-08724989 virtual network link through opserver 10.0.0.38 2026-09-08 11:59:31,915 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-08 11:59:32,243 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-08 11:59:32,617 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-08724989', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-08724989?flat'} 2026-09-08 11:59:32,617 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-08724989 is found in opserver 2026-09-08 11:59:32,627 - DEBUG - Do not have enough data to verify VN in agent 2026-09-08 11:59:32,631 - DEBUG - VRF ids for VN ctest-vn-08724989: {} 2026-09-08 11:59:32,632 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-08 11:59:32,637 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9623fb4c-546d-475f-b640-40047a2f5c6d 2026-09-08 11:59:32,648 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c45c25c-7e68-475b-99e6-1f5408fa787e 2026-09-08 11:59:32,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4ce8f011-db66-42e6-8048-b96e5cbb8639 2026-09-08 11:59:32,740 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4ce8f011-db66-42e6-8048-b96e5cbb8639 2026-09-08 11:59:32,750 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c091554-306a-4b87-8716-bcd0cb5f0264 2026-09-08 11:59:32,758 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c091554-306a-4b87-8716-bcd0cb5f0264 2026-09-08 11:59:32,764 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a3add25f-b7d3-43a9-bcdc-efe0a23ca713 2026-09-08 11:59:32,770 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-08 11:59:32,770 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4ce8f011-db66-42e6-8048-b96e5cbb8639 2026-09-08 11:59:32,779 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c091554-306a-4b87-8716-bcd0cb5f0264 2026-09-08 11:59:32,795 - INFO - Verified VN network id 13 for VN 4ce8f011-db66-42e6-8048-b96e5cbb8639 2026-09-08 11:59:32,795 - INFO - Verifications in API Server for VN ctest-vn-65203600 passed 2026-09-08 11:59:32,795 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4ce8f011-db66-42e6-8048-b96e5cbb8639 2026-09-08 11:59:32,805 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c091554-306a-4b87-8716-bcd0cb5f0264 2026-09-08 11:59:32,812 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c091554-306a-4b87-8716-bcd0cb5f0264 2026-09-08 11:59:32,818 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a3add25f-b7d3-43a9-bcdc-efe0a23ca713 2026-09-08 11:59:32,830 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-65203600', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81400470', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5541943300965417702', 'uuid-lslong': '9243842118831277625'}, 'enable': 'true', 'created': '2026-09-08T11:59:30', 'last-modified': '2026-09-08T11:59:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.748316'} 2026-09-08 11:59:32,837 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-08 11:59:32,837 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65203600 passed 2026-09-08 11:59:32,837 - DEBUG - ====Verifying policy data for ctest-vn-65203600 in API_Server ====== 2026-09-08 11:59:32,837 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-08 11:59:32,844 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9623fb4c-546d-475f-b640-40047a2f5c6d 2026-09-08 11:59:32,854 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c45c25c-7e68-475b-99e6-1f5408fa787e 2026-09-08 11:59:32,932 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4ce8f011-db66-42e6-8048-b96e5cbb8639 2026-09-08 11:59:32,942 - DEBUG - ==>Verifying data for policy with id: 52710f24-c581-4433-ad4f-ae9c2af2b6ca, fqn: ['default-domain', 'ctest-TestBasicPolicy-81400470', 'ctest-policy-allow-all-41881028'] 2026-09-08 11:59:32,942 - INFO - VN ctest-vn-65203600 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-08 11:59:32,942 - DEBUG - Verifying the vn in opserver 2026-09-08 11:59:32,942 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-65203600 virtual network link through opserver 10.0.0.38 2026-09-08 11:59:32,942 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-08 11:59:32,953 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-65203600', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-65203600?flat'} 2026-09-08 11:59:32,953 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-65203600 is found in opserver 2026-09-08 11:59:32,963 - DEBUG - Do not have enough data to verify VN in agent 2026-09-08 11:59:32,967 - DEBUG - VRF ids for VN ctest-vn-65203600: {} 2026-09-08 11:59:33,029 - DEBUG - Services list from nova: [, , ] 2026-09-08 11:59:33,464 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6263-1) 2026-09-08 11:59:33,837 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6263-1) 2026-09-08 11:59:33,837 - INFO - Waiting for VM ctest-TestBasicPolicy-81400470-99962841 to be up.. 2026-09-08 11:59:33,878 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-08 11:59:38,950 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-08 11:59:44,027 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-08 11:59:49,122 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-08 11:59:54,203 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-08 11:59:59,285 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-08 12:00:04,376 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-08 12:00:09,456 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-08 12:00:14,531 - DEBUG - VM is in ACTIVE state now 2026-09-08 12:00:14,532 - INFO - VM name : ctest-TestBasicPolicy-81400470-99962841 2026-09-08 12:00:14,605 - DEBUG - VM ctest-TestBasicPolicy-81400470-99962841 ID is 2197416d-f0bf-4d3c-b005-40934bc83364 2026-09-08 12:00:14,626 - DEBUG - VM ctest-TestBasicPolicy-81400470-99962841 launched on Node cn-jenkins-deploy-platform-ansible-os-6263-1 2026-09-08 12:00:14,699 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2197416d-f0bf-4d3c-b005-40934bc83364 2026-09-08 12:00:14,707 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/50b9ca03-949a-4752-9993-611d0988fba2 2026-09-08 12:00:17,979 - 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 1026ms') 2026-09-08 12:00:17,979 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81400470-99962841 failed! 2026-09-08 12:00:18,038 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-08724989 is 97.208.35.129 and allocation pool is NOT set 2026-09-08 12:00:20,104 - 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=5.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.446 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.446/2.837/5.229/2.391 ms') 2026-09-08 12:00:20,105 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81400470-99962841 passed 2026-09-08 12:00:20,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-08 12:00:20,255 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81400470-99962841, IP 97.208.35.131, Port 22 2026-09-08 12:00:20,424 - DEBUG - VM ctest-TestBasicPolicy-81400470-99962841 is ready for SSH connections 2026-09-08 12:00:20,424 - INFO - Waiting for VM ctest-TestBasicPolicy-81400470-94008981 to be up.. 2026-09-08 12:00:20,509 - DEBUG - VM is in ACTIVE state now 2026-09-08 12:00:20,509 - INFO - VM name : ctest-TestBasicPolicy-81400470-94008981 2026-09-08 12:00:20,586 - DEBUG - VM ctest-TestBasicPolicy-81400470-94008981 ID is 9cc31a76-3b16-49e8-9fb3-504cb94dd7b7 2026-09-08 12:00:20,586 - DEBUG - VM ctest-TestBasicPolicy-81400470-94008981 launched on Node cn-jenkins-deploy-platform-ansible-os-6263-1 2026-09-08 12:00:20,664 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9cc31a76-3b16-49e8-9fb3-504cb94dd7b7 2026-09-08 12:00:20,674 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dd23e52d-fcd1-477e-be43-d6f50c94257a 2026-09-08 12:00:21,907 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.538 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.538/1.977/3.416/1.439 ms') 2026-09-08 12:00:21,907 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-81400470-94008981 passed 2026-09-08 12:00:22,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-08 12:00:22,062 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81400470-94008981, IP 174.223.93.195, Port 22 2026-09-08 12:00:22,217 - DEBUG - VM ctest-TestBasicPolicy-81400470-94008981 is ready for SSH connections 2026-09-08 12:00:22,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-08 12:00:22,218 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.223.93.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-08 12:00:22,218 - DEBUG - ping -s 56 -c 3 -W 1 174.223.93.195 2026-09-08 12:00:26,161 - DEBUG - PING 174.223.93.195 (174.223.93.195): 56 data bytes 64 bytes from 174.223.93.195: seq=0 ttl=63 time=4.242 ms 64 bytes from 174.223.93.195: seq=1 ttl=63 time=1.274 ms 64 bytes from 174.223.93.195: seq=2 ttl=63 time=1.049 ms --- 174.223.93.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.049/2.188/4.242 ms 2026-09-08 12:00:26,161 - INFO - Ping to IP 174.223.93.195 from VM ctest-TestBasicPolicy-81400470-99962841 passed 2026-09-08 12:00:26,350 - DEBUG - Policy Update Response {"network-policy": {"uuid": "52710f24-c581-4433-ad4f-ae9c2af2b6ca", "href": "http://10.0.0.38:8082/network-policy/52710f24-c581-4433-ad4f-ae9c2af2b6ca"}} 2026-09-08 12:00:26,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-08 12:00:26,350 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.223.93.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-08 12:00:26,350 - DEBUG - ping -s 56 -c 3 -W 1 174.223.93.195 2026-09-08 12:00:29,475 - DEBUG - PING 174.223.93.195 (174.223.93.195): 56 data bytes 64 bytes from 174.223.93.195: seq=0 ttl=63 time=2.336 ms --- 174.223.93.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.336/2.336/2.336 ms 2026-09-08 12:00:29,475 - WARNING - Ping to IP 174.223.93.195 from VM ctest-TestBasicPolicy-81400470-99962841 failed 2026-09-08 12:00:29,475 - INFO - Deleting VM ctest-TestBasicPolicy-81400470-94008981 2026-09-08 12:00:29,546 - INFO - Deleting VM ctest-TestBasicPolicy-81400470-99962841 2026-09-08 12:00:29,960 - INFO - Deleted policy ctest-policy-allow-all-41881028 2026-09-08 12:00:29,960 - INFO - Deleting VN ctest-vn-65203600 2026-09-08 12:00:30,012 - DEBUG - VN 4ce8f011-db66-42e6-8048-b96e5cbb8639 still in use: Unable to complete operation on network 4ce8f011-db66-42e6-8048-b96e5cbb8639. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9a33196b-886c-46a1-a509-632bdcc7ee2e'] 2026-09-08 12:00:30,012 - WARNING - Deleting VN ctest-vn-65203600 failed..Will retry 2026-09-08 12:00:32,135 - DEBUG - Response for deleting network () 2026-09-08 12:00:32,135 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c091554-306a-4b87-8716-bcd0cb5f0264 2026-09-08 12:00:32,148 - DEBUG - Response Code: 404 2026-09-08 12:00:32,149 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-08 12:00:32,155 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9623fb4c-546d-475f-b640-40047a2f5c6d 2026-09-08 12:00:32,214 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c45c25c-7e68-475b-99e6-1f5408fa787e 2026-09-08 12:00:32,293 - INFO - Validated that VN ctest-vn-65203600 is not found in API Server 2026-09-08 12:00:32,305 - DEBUG - VN ctest-vn-65203600 is not present in Agent 10.0.0.38 2026-09-08 12:00:32,305 - INFO - Validated that VN ctest-vn-65203600 is not in any agent 2026-09-08 12:00:32,321 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65203600 info 2026-09-08 12:00:32,321 - INFO - Deleting VN ctest-vn-08724989 2026-09-08 12:00:32,445 - DEBUG - Response for deleting network () 2026-09-08 12:00:32,446 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8cbae557-88b1-48fe-9d3a-f9c483661dbd 2026-09-08 12:00:32,458 - DEBUG - Response Code: 404 2026-09-08 12:00:32,458 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-08 12:00:32,465 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9623fb4c-546d-475f-b640-40047a2f5c6d 2026-09-08 12:00:32,520 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c45c25c-7e68-475b-99e6-1f5408fa787e 2026-09-08 12:00:32,599 - INFO - Validated that VN ctest-vn-08724989 is not found in API Server 2026-09-08 12:00:32,609 - DEBUG - VN ctest-vn-08724989 is not present in Agent 10.0.0.38 2026-09-08 12:00:32,609 - INFO - Validated that VN ctest-vn-08724989 is not in any agent 2026-09-08 12:00:32,622 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08724989 info 2026-09-08 12:00:32,880 - DEBUG - No XMPP flaps were noticed during the test
2026-09-08 12:00:32,880 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04]
2026-09-08 12:00:32,880 - INFO - -------------------------------------------------------------------------------- 2026-09-08 12:00:34,127 - INFO - Deleted project: ctest-TestBasicPolicy-81400470, ID : 3c45c25c-7e68-475b-99e6-1f5408fa787e