2026-10-23 19:56:27,838 - INFO - Domain Default found not creating 2026-10-23 19:56:28,125 - INFO - Project ctest-TestBasicPolicy-28856666 not found, creating it 2026-10-23 19:56:28,709 - INFO - Created Project:ctest-TestBasicPolicy-28856666, ID : f5d4c71d-186c-43a6-a49a-98fa755491f4 2026-10-23 19:56:30,784 - INFO - ================================================================================ 2026-10-23 19:56:30,784 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-23 19:56:30,784 - 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-10-23 19:56:31,071 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with 2026-10-23 19:56:31,072 - INFO - Initial checks done. Running the testcase now 2026-10-23 19:56:31,072 - INFO - 2026-10-23 19:56:31,862 - DEBUG - Response for create_network : {'network': {'id': 'f85b90cc-40a4-4fad-8668-2bc59991122a', 'name': 'ctest-vn-28873550', 'tenant_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'project_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28856666', 'ctest-vn-28873550'], 'port_security_enabled': True, 'description': ''}} 2026-10-23 19:56:32,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e59bbc0-02e1-4a6d-9846-7e912a4ff5c5', 'name': '', 'tenant_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'network_id': 'f85b90cc-40a4-4fad-8668-2bc59991122a', 'ip_version': 4, 'cidr': '6.216.154.0/26', 'allocation_pools': [{'start': '6.216.154.2', 'end': '6.216.154.62'}], 'gateway_ip': '6.216.154.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.216.154.2', 'tags': [], 'project_id': 'f5d4c71d186c43a6a49a98fa755491f4'}} 2026-10-23 19:56:32,191 - INFO - Created VN ctest-vn-28873550 2026-10-23 19:56:32,254 - DEBUG - VN ctest-vn-28873550 UUID is f85b90cc-40a4-4fad-8668-2bc59991122a 2026-10-23 19:56:32,660 - DEBUG - Response for create_network : {'network': {'id': '5e7ee38d-99f6-41e8-994f-465b4e352d6a', 'name': 'ctest-vn-67684892', 'tenant_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'project_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28856666', 'ctest-vn-67684892'], 'port_security_enabled': True, 'description': ''}} 2026-10-23 19:56:32,980 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1a3132f-6338-4959-b73e-761d2742209f', 'name': '', 'tenant_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'network_id': '5e7ee38d-99f6-41e8-994f-465b4e352d6a', 'ip_version': 4, 'cidr': '81.227.235.128/26', 'allocation_pools': [{'start': '81.227.235.130', 'end': '81.227.235.190'}], 'gateway_ip': '81.227.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.227.235.130', 'tags': [], 'project_id': 'f5d4c71d186c43a6a49a98fa755491f4'}} 2026-10-23 19:56:33,014 - INFO - Created VN ctest-vn-67684892 2026-10-23 19:56:33,074 - DEBUG - VN ctest-vn-67684892 UUID is 5e7ee38d-99f6-41e8-994f-465b4e352d6a 2026-10-23 19:56:33,216 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-28873550, 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-28856666:ctest-vn-67684892, 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-10-23 19:56:33,571 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f85b90cc-40a4-4fad-8668-2bc59991122a', 'name': 'ctest-vn-28873550', 'tenant_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'project_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0e59bbc0-02e1-4a6d-9846-7e912a4ff5c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28856666', 'ctest-vn-28873550'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28856666', 'ctest-policy-allow-all-93535101']], 'subnet_ipam': [{'subnet_cidr': '6.216.154.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-23 19:56:33,869 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5e7ee38d-99f6-41e8-994f-465b4e352d6a', 'name': 'ctest-vn-67684892', 'tenant_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'project_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a1a3132f-6338-4959-b73e-761d2742209f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28856666', 'ctest-vn-67684892'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28856666', 'ctest-policy-allow-all-93535101']], 'subnet_ipam': [{'subnet_cidr': '81.227.235.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-23 19:56:34,046 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-23 19:56:34,431 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-23 19:56:34,463 - DEBUG - Requesting: http://10.0.0.185:8082/domain/7dfd3367-2401-48cd-b7de-d435b1aa7d47 2026-10-23 19:56:34,483 - DEBUG - Requesting: http://10.0.0.185:8082/project/f5d4c71d-186c-43a6-a49a-98fa755491f4 2026-10-23 19:56:34,584 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f85b90cc-40a4-4fad-8668-2bc59991122a 2026-10-23 19:56:34,601 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f85b90cc-40a4-4fad-8668-2bc59991122a 2026-10-23 19:56:34,618 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a8975634-2495-4d39-8685-42cb1a557824 2026-10-23 19:56:34,631 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a8975634-2495-4d39-8685-42cb1a557824 2026-10-23 19:56:34,644 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/4f45ea67-f17f-4c51-b2e9-30bdd16824c0 2026-10-23 19:56:34,653 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-23 19:56:34,653 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f85b90cc-40a4-4fad-8668-2bc59991122a 2026-10-23 19:56:34,667 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a8975634-2495-4d39-8685-42cb1a557824 2026-10-23 19:56:34,688 - INFO - Verified VN network id 11 for VN f85b90cc-40a4-4fad-8668-2bc59991122a 2026-10-23 19:56:34,688 - INFO - Verifications in API Server for VN ctest-vn-28873550 passed 2026-10-23 19:56:34,689 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f85b90cc-40a4-4fad-8668-2bc59991122a 2026-10-23 19:56:34,705 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a8975634-2495-4d39-8685-42cb1a557824 2026-10-23 19:56:34,717 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a8975634-2495-4d39-8685-42cb1a557824 2026-10-23 19:56:34,735 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/4f45ea67-f17f-4c51-b2e9-30bdd16824c0 2026-10-23 19:56:34,762 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-28873550', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28856666', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17896056751219036077', 'uuid-lslong': '9685039126345224746'}, 'enable': 'true', 'created': '2026-10-23T19:56:31', 'last-modified': '2026-10-23T19:56:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.223830'} 2026-10-23 19:56:34,772 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-23 19:56:34,772 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28873550 passed 2026-10-23 19:56:34,772 - DEBUG - ====Verifying policy data for ctest-vn-28873550 in API_Server ====== 2026-10-23 19:56:34,772 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-23 19:56:34,782 - DEBUG - Requesting: http://10.0.0.185:8082/domain/7dfd3367-2401-48cd-b7de-d435b1aa7d47 2026-10-23 19:56:34,807 - DEBUG - Requesting: http://10.0.0.185:8082/project/f5d4c71d-186c-43a6-a49a-98fa755491f4 2026-10-23 19:56:34,903 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f85b90cc-40a4-4fad-8668-2bc59991122a 2026-10-23 19:56:34,919 - DEBUG - ==>Verifying data for policy with id: cb6b41ff-fbc1-4891-9ad0-daf5b8c48e8c, fqn: ['default-domain', 'ctest-TestBasicPolicy-28856666', 'ctest-policy-allow-all-93535101'] 2026-10-23 19:56:34,919 - INFO - VN ctest-vn-28873550 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-23 19:56:34,919 - DEBUG - Verifying the vn in opserver 2026-10-23 19:56:34,919 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-28873550 virtual network link through opserver 10.0.0.185 2026-10-23 19:56:34,920 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-10-23 19:56:35,337 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-10-23 19:56:35,425 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-28873550', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-28873550?flat'} 2026-10-23 19:56:35,425 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-28873550 is found in opserver 2026-10-23 19:56:35,441 - DEBUG - Do not have enough data to verify VN in agent 2026-10-23 19:56:35,447 - DEBUG - VRF ids for VN ctest-vn-28873550: {} 2026-10-23 19:56:35,447 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-23 19:56:35,454 - DEBUG - Requesting: http://10.0.0.185:8082/domain/7dfd3367-2401-48cd-b7de-d435b1aa7d47 2026-10-23 19:56:35,469 - DEBUG - Requesting: http://10.0.0.185:8082/project/f5d4c71d-186c-43a6-a49a-98fa755491f4 2026-10-23 19:56:35,568 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/5e7ee38d-99f6-41e8-994f-465b4e352d6a 2026-10-23 19:56:35,585 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/5e7ee38d-99f6-41e8-994f-465b4e352d6a 2026-10-23 19:56:35,601 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/8b833fe4-b389-41d6-97a4-56e5647dff07 2026-10-23 19:56:35,614 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/8b833fe4-b389-41d6-97a4-56e5647dff07 2026-10-23 19:56:35,624 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/8f04db8e-e46b-41d1-b550-70f65d90bc73 2026-10-23 19:56:35,633 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-23 19:56:35,633 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/5e7ee38d-99f6-41e8-994f-465b4e352d6a 2026-10-23 19:56:35,650 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/8b833fe4-b389-41d6-97a4-56e5647dff07 2026-10-23 19:56:35,673 - INFO - Verified VN network id 12 for VN 5e7ee38d-99f6-41e8-994f-465b4e352d6a 2026-10-23 19:56:35,673 - INFO - Verifications in API Server for VN ctest-vn-67684892 passed 2026-10-23 19:56:35,673 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/5e7ee38d-99f6-41e8-994f-465b4e352d6a 2026-10-23 19:56:35,688 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/8b833fe4-b389-41d6-97a4-56e5647dff07 2026-10-23 19:56:35,701 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/8b833fe4-b389-41d6-97a4-56e5647dff07 2026-10-23 19:56:35,711 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/8f04db8e-e46b-41d1-b550-70f65d90bc73 2026-10-23 19:56:35,732 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-67684892', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28856666', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6809129883943715304', 'uuid-lslong': '11047125768931192170'}, 'enable': 'true', 'created': '2026-10-23T19:56:32', 'last-modified': '2026-10-23T19:56:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.902682'} 2026-10-23 19:56:35,743 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-23 19:56:35,743 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67684892 passed 2026-10-23 19:56:35,743 - DEBUG - ====Verifying policy data for ctest-vn-67684892 in API_Server ====== 2026-10-23 19:56:35,743 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-23 19:56:35,752 - DEBUG - Requesting: http://10.0.0.185:8082/domain/7dfd3367-2401-48cd-b7de-d435b1aa7d47 2026-10-23 19:56:35,768 - DEBUG - Requesting: http://10.0.0.185:8082/project/f5d4c71d-186c-43a6-a49a-98fa755491f4 2026-10-23 19:56:35,858 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/5e7ee38d-99f6-41e8-994f-465b4e352d6a 2026-10-23 19:56:35,877 - DEBUG - ==>Verifying data for policy with id: cb6b41ff-fbc1-4891-9ad0-daf5b8c48e8c, fqn: ['default-domain', 'ctest-TestBasicPolicy-28856666', 'ctest-policy-allow-all-93535101'] 2026-10-23 19:56:35,877 - INFO - VN ctest-vn-67684892 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-23 19:56:35,878 - DEBUG - Verifying the vn in opserver 2026-10-23 19:56:35,878 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-67684892 virtual network link through opserver 10.0.0.185 2026-10-23 19:56:35,878 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-10-23 19:56:35,894 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-67684892', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-67684892?flat'} 2026-10-23 19:56:35,894 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-67684892 is found in opserver 2026-10-23 19:56:35,912 - DEBUG - Do not have enough data to verify VN in agent 2026-10-23 19:56:35,921 - DEBUG - VRF ids for VN ctest-vn-67684892: {} 2026-10-23 19:56:36,029 - DEBUG - Services list from nova: [, , ] 2026-10-23 19:56:36,556 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6398-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6398-1) 2026-10-23 19:56:37,130 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6398-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6398-1) 2026-10-23 19:56:37,130 - INFO - Waiting for VM ctest-TestBasicPolicy-28856666-04960009 to be up.. 2026-10-23 19:56:37,219 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:56:42,327 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:56:47,431 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:56:52,542 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:56:57,670 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:57:02,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:57:07,894 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:57:13,008 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:57:18,112 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-23 19:57:23,230 - DEBUG - VM is in ACTIVE state now 2026-10-23 19:57:23,231 - INFO - VM name : ctest-TestBasicPolicy-28856666-04960009 2026-10-23 19:57:23,336 - DEBUG - VM ctest-TestBasicPolicy-28856666-04960009 ID is d345bbc6-b989-4cff-b38f-112c374dff21 2026-10-23 19:57:23,363 - DEBUG - VM ctest-TestBasicPolicy-28856666-04960009 launched on Node cn-jenkins-deploy-platform-ansible-os-6398-1 2026-10-23 19:57:23,492 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/d345bbc6-b989-4cff-b38f-112c374dff21 2026-10-23 19:57:23,506 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/2f232381-7d77-4d58-afca-3e67216ed26a 2026-10-23 19:57:26,806 - 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 1016ms') 2026-10-23 19:57:26,806 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28856666-04960009 failed! 2026-10-23 19:57:26,869 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-28873550 is 6.216.154.1 and allocation pool is NOT set 2026-10-23 19:57:28,939 - 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=14.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.528 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.528/7.474/14.420/6.946 ms') 2026-10-23 19:57:28,939 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28856666-04960009 passed 2026-10-23 19:57:29,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 19:57:29,101 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28856666-04960009, IP 6.216.154.3, Port 22 2026-10-23 19:57:29,279 - DEBUG - VM ctest-TestBasicPolicy-28856666-04960009 is ready for SSH connections 2026-10-23 19:57:29,280 - INFO - Waiting for VM ctest-TestBasicPolicy-28856666-55405900 to be up.. 2026-10-23 19:57:29,400 - DEBUG - VM is in ACTIVE state now 2026-10-23 19:57:29,401 - INFO - VM name : ctest-TestBasicPolicy-28856666-55405900 2026-10-23 19:57:29,529 - DEBUG - VM ctest-TestBasicPolicy-28856666-55405900 ID is c8f875d6-f303-4492-bf00-f52522802987 2026-10-23 19:57:29,529 - DEBUG - VM ctest-TestBasicPolicy-28856666-55405900 launched on Node cn-jenkins-deploy-platform-ansible-os-6398-1 2026-10-23 19:57:29,643 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/c8f875d6-f303-4492-bf00-f52522802987 2026-10-23 19:57:29,655 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/7d2cf260-b3a1-41e7-a9a8-f9051ea17c26 2026-10-23 19:57:32,948 - 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 1021ms') 2026-10-23 19:57:32,948 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28856666-55405900 failed! 2026-10-23 19:57:33,010 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-67684892 is 81.227.235.129 and allocation pool is NOT set 2026-10-23 19:57:35,089 - 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=6.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.777 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.777/3.479/6.181/2.702 ms') 2026-10-23 19:57:35,090 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28856666-55405900 passed 2026-10-23 19:57:35,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 19:57:35,258 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28856666-55405900, IP 81.227.235.131, Port 22 2026-10-23 19:57:35,433 - DEBUG - VM ctest-TestBasicPolicy-28856666-55405900 is ready for SSH connections 2026-10-23 19:57:35,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 19:57:35,433 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.227.235.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-23 19:57:35,433 - DEBUG - ping -s 56 -c 3 -W 1 81.227.235.131 2026-10-23 19:57:39,830 - DEBUG - PING 81.227.235.131 (81.227.235.131): 56 data bytes 64 bytes from 81.227.235.131: seq=0 ttl=63 time=5.293 ms 64 bytes from 81.227.235.131: seq=1 ttl=63 time=1.450 ms 64 bytes from 81.227.235.131: seq=2 ttl=63 time=1.290 ms --- 81.227.235.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.290/2.677/5.293 ms 2026-10-23 19:57:39,830 - INFO - Ping to IP 81.227.235.131 from VM ctest-TestBasicPolicy-28856666-04960009 passed 2026-10-23 19:57:40,053 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cb6b41ff-fbc1-4891-9ad0-daf5b8c48e8c", "href": "http://10.0.0.185:8082/network-policy/cb6b41ff-fbc1-4891-9ad0-daf5b8c48e8c"}} 2026-10-23 19:57:40,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-23 19:57:40,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.227.235.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-10-23 19:57:40,053 - DEBUG - ping -s 56 -c 3 -W 1 81.227.235.131 2026-10-23 19:57:43,236 - DEBUG - PING 81.227.235.131 (81.227.235.131): 56 data bytes 64 bytes from 81.227.235.131: seq=0 ttl=63 time=2.166 ms --- 81.227.235.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.166/2.166/2.166 ms 2026-10-23 19:57:43,236 - WARNING - Ping to IP 81.227.235.131 from VM ctest-TestBasicPolicy-28856666-04960009 failed 2026-10-23 19:57:43,236 - INFO - Deleting VM ctest-TestBasicPolicy-28856666-55405900 2026-10-23 19:57:43,357 - INFO - Deleting VM ctest-TestBasicPolicy-28856666-04960009 2026-10-23 19:57:43,885 - INFO - Deleted policy ctest-policy-allow-all-93535101 2026-10-23 19:57:43,885 - INFO - Deleting VN ctest-vn-67684892 2026-10-23 19:57:43,928 - DEBUG - VN 5e7ee38d-99f6-41e8-994f-465b4e352d6a still in use: Unable to complete operation on network 5e7ee38d-99f6-41e8-994f-465b4e352d6a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-640a7767-003f-4c28-bc5b-82d16413acef'] 2026-10-23 19:57:43,928 - WARNING - Deleting VN ctest-vn-67684892 failed..Will retry 2026-10-23 19:57:45,988 - DEBUG - VN 5e7ee38d-99f6-41e8-994f-465b4e352d6a still in use: Unable to complete operation on network 5e7ee38d-99f6-41e8-994f-465b4e352d6a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-df21809f-8063-4623-b552-fde99d254d2a'] 2026-10-23 19:57:45,988 - WARNING - Deleting VN ctest-vn-67684892 failed..Will retry 2026-10-23 19:57:48,110 - DEBUG - Response for deleting network () 2026-10-23 19:57:48,110 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/8b833fe4-b389-41d6-97a4-56e5647dff07 2026-10-23 19:57:48,121 - DEBUG - Response Code: 404 2026-10-23 19:57:48,121 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-23 19:57:48,129 - DEBUG - Requesting: http://10.0.0.185:8082/domain/7dfd3367-2401-48cd-b7de-d435b1aa7d47 2026-10-23 19:57:48,186 - DEBUG - Requesting: http://10.0.0.185:8082/project/f5d4c71d-186c-43a6-a49a-98fa755491f4 2026-10-23 19:57:48,280 - INFO - Validated that VN ctest-vn-67684892 is not found in API Server 2026-10-23 19:57:48,298 - DEBUG - VN ctest-vn-67684892 is not present in Agent 10.0.0.185 2026-10-23 19:57:48,298 - INFO - Validated that VN ctest-vn-67684892 is not in any agent 2026-10-23 19:57:48,318 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67684892 info 2026-10-23 19:57:48,318 - INFO - Deleting VN ctest-vn-28873550 2026-10-23 19:57:48,458 - DEBUG - Response for deleting network () 2026-10-23 19:57:48,458 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a8975634-2495-4d39-8685-42cb1a557824 2026-10-23 19:57:48,467 - DEBUG - Response Code: 404 2026-10-23 19:57:48,467 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-10-23 19:57:48,476 - DEBUG - Requesting: http://10.0.0.185:8082/domain/7dfd3367-2401-48cd-b7de-d435b1aa7d47 2026-10-23 19:57:48,541 - DEBUG - Requesting: http://10.0.0.185:8082/project/f5d4c71d-186c-43a6-a49a-98fa755491f4 2026-10-23 19:57:48,627 - INFO - Validated that VN ctest-vn-28873550 is not found in API Server 2026-10-23 19:57:48,644 - DEBUG - VN ctest-vn-28873550 is not present in Agent 10.0.0.185 2026-10-23 19:57:48,645 - INFO - Validated that VN ctest-vn-28873550 is not in any agent 2026-10-23 19:57:48,671 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28873550 info 2026-10-23 19:57:48,951 - DEBUG - No XMPP flaps were noticed during the test 2026-10-23 19:57:48,951 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:18] 2026-10-23 19:57:48,951 - INFO - -------------------------------------------------------------------------------- 2026-10-23 19:57:49,746 - INFO - Deleted project: ctest-TestBasicPolicy-28856666, ID : f5d4c71d-186c-43a6-a49a-98fa755491f4