2026-11-02 14:20:02,604 - INFO - Domain Default found not creating 2026-11-02 14:20:02,817 - INFO - Project ctest-TestBasicPolicy-93998621 not found, creating it 2026-11-02 14:20:03,329 - INFO - Created Project:ctest-TestBasicPolicy-93998621, ID : e16021bd-4d68-4d35-899b-9064d7fb1d80 2026-11-02 14:20:05,326 - INFO - ================================================================================ 2026-11-02 14:20:05,327 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-02 14:20:05,327 - 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 14:20:05,602 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with 2026-11-02 14:20:05,602 - INFO - Initial checks done. Running the testcase now 2026-11-02 14:20:05,602 - INFO - 2026-11-02 14:20:06,287 - DEBUG - Response for create_network : {'network': {'id': '7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c', 'name': 'ctest-vn-31310662', 'tenant_id': 'e16021bd4d684d35899b9064d7fb1d80', 'project_id': 'e16021bd4d684d35899b9064d7fb1d80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93998621', 'ctest-vn-31310662'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 14:20:06,493 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e49d1479-efbb-49fb-9a17-9b1fb6404eef', 'name': '', 'tenant_id': 'e16021bd4d684d35899b9064d7fb1d80', 'network_id': '7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c', 'ip_version': 4, 'cidr': '32.216.239.128/26', 'allocation_pools': [{'start': '32.216.239.130', 'end': '32.216.239.190'}], 'gateway_ip': '32.216.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.216.239.130', 'tags': [], 'project_id': 'e16021bd4d684d35899b9064d7fb1d80'}} 2026-11-02 14:20:06,515 - INFO - Created VN ctest-vn-31310662 2026-11-02 14:20:06,567 - DEBUG - VN ctest-vn-31310662 UUID is 7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c 2026-11-02 14:20:06,907 - DEBUG - Response for create_network : {'network': {'id': '9f83bce3-2b1c-416f-b649-fa531c53e2ee', 'name': 'ctest-vn-72811953', 'tenant_id': 'e16021bd4d684d35899b9064d7fb1d80', 'project_id': 'e16021bd4d684d35899b9064d7fb1d80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93998621', 'ctest-vn-72811953'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 14:20:07,130 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8064132-f431-4429-9384-bfb21fc6fb0f', 'name': '', 'tenant_id': 'e16021bd4d684d35899b9064d7fb1d80', 'network_id': '9f83bce3-2b1c-416f-b649-fa531c53e2ee', 'ip_version': 4, 'cidr': '146.14.5.128/26', 'allocation_pools': [{'start': '146.14.5.130', 'end': '146.14.5.190'}], 'gateway_ip': '146.14.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.14.5.130', 'tags': [], 'project_id': 'e16021bd4d684d35899b9064d7fb1d80'}} 2026-11-02 14:20:07,149 - INFO - Created VN ctest-vn-72811953 2026-11-02 14:20:07,203 - DEBUG - VN ctest-vn-72811953 UUID is 9f83bce3-2b1c-416f-b649-fa531c53e2ee 2026-11-02 14:20:07,322 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-31310662, 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-93998621:ctest-vn-72811953, 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 14:20:07,648 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c', 'name': 'ctest-vn-31310662', 'tenant_id': 'e16021bd4d684d35899b9064d7fb1d80', 'project_id': 'e16021bd4d684d35899b9064d7fb1d80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e49d1479-efbb-49fb-9a17-9b1fb6404eef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93998621', 'ctest-vn-31310662'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93998621', 'ctest-policy-allow-all-30602686']], 'subnet_ipam': [{'subnet_cidr': '32.216.239.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-02 14:20:07,899 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9f83bce3-2b1c-416f-b649-fa531c53e2ee', 'name': 'ctest-vn-72811953', 'tenant_id': 'e16021bd4d684d35899b9064d7fb1d80', 'project_id': 'e16021bd4d684d35899b9064d7fb1d80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c8064132-f431-4429-9384-bfb21fc6fb0f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93998621', 'ctest-vn-72811953'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93998621', 'ctest-policy-allow-all-30602686']], 'subnet_ipam': [{'subnet_cidr': '146.14.5.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-02 14:20:08,075 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-02 14:20:08,461 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-02 14:20:08,495 - DEBUG - Requesting: http://10.0.0.190:8082/domain/f42ed83e-dbec-4dc1-b001-fad876572e69 2026-11-02 14:20:08,511 - DEBUG - Requesting: http://10.0.0.190:8082/project/e16021bd-4d68-4d35-899b-9064d7fb1d80 2026-11-02 14:20:08,589 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c 2026-11-02 14:20:08,603 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c 2026-11-02 14:20:08,615 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f7f9d42f-622f-4e77-9c91-5326fda10835 2026-11-02 14:20:08,626 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f7f9d42f-622f-4e77-9c91-5326fda10835 2026-11-02 14:20:08,635 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/e2325a1d-301c-4bed-887c-9e84e92b5a62 2026-11-02 14:20:08,643 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 14:20:08,643 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c 2026-11-02 14:20:08,654 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f7f9d42f-622f-4e77-9c91-5326fda10835 2026-11-02 14:20:08,672 - INFO - Verified VN network id 12 for VN 7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c 2026-11-02 14:20:08,672 - INFO - Verifications in API Server for VN ctest-vn-31310662 passed 2026-11-02 14:20:08,672 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c 2026-11-02 14:20:08,687 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f7f9d42f-622f-4e77-9c91-5326fda10835 2026-11-02 14:20:08,697 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f7f9d42f-622f-4e77-9c91-5326fda10835 2026-11-02 14:20:08,707 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/e2325a1d-301c-4bed-887c-9e84e92b5a62 2026-11-02 14:20:08,721 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-31310662', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93998621', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9000976570200967864', 'uuid-lslong': '11197329448948940316'}, 'enable': 'true', 'created': '2026-11-02T14:20:06', 'last-modified': '2026-11-02T14:20:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.092459'} 2026-11-02 14:20:08,729 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 14:20:08,730 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31310662 passed 2026-11-02 14:20:08,730 - DEBUG - ====Verifying policy data for ctest-vn-31310662 in API_Server ====== 2026-11-02 14:20:08,730 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-02 14:20:08,735 - DEBUG - Requesting: http://10.0.0.190:8082/domain/f42ed83e-dbec-4dc1-b001-fad876572e69 2026-11-02 14:20:08,747 - DEBUG - Requesting: http://10.0.0.190:8082/project/e16021bd-4d68-4d35-899b-9064d7fb1d80 2026-11-02 14:20:08,823 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c 2026-11-02 14:20:08,836 - DEBUG - ==>Verifying data for policy with id: 85f61b8e-a4e9-4f14-a344-67c066a34d90, fqn: ['default-domain', 'ctest-TestBasicPolicy-93998621', 'ctest-policy-allow-all-30602686'] 2026-11-02 14:20:08,836 - INFO - VN ctest-vn-31310662 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-02 14:20:08,836 - DEBUG - Verifying the vn in opserver 2026-11-02 14:20:08,836 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-31310662 virtual network link through opserver 10.0.0.190 2026-11-02 14:20:08,837 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-11-02 14:20:09,219 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-11-02 14:20:09,287 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-31310662', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-31310662?flat'} 2026-11-02 14:20:09,287 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-31310662 is found in opserver 2026-11-02 14:20:09,299 - DEBUG - Do not have enough data to verify VN in agent 2026-11-02 14:20:09,306 - DEBUG - VRF ids for VN ctest-vn-31310662: {} 2026-11-02 14:20:09,306 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-02 14:20:09,312 - DEBUG - Requesting: http://10.0.0.190:8082/domain/f42ed83e-dbec-4dc1-b001-fad876572e69 2026-11-02 14:20:09,325 - DEBUG - Requesting: http://10.0.0.190:8082/project/e16021bd-4d68-4d35-899b-9064d7fb1d80 2026-11-02 14:20:09,405 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9f83bce3-2b1c-416f-b649-fa531c53e2ee 2026-11-02 14:20:09,418 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9f83bce3-2b1c-416f-b649-fa531c53e2ee 2026-11-02 14:20:09,427 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f1c8006a-85eb-4186-9abc-bcf29830355e 2026-11-02 14:20:09,435 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f1c8006a-85eb-4186-9abc-bcf29830355e 2026-11-02 14:20:09,442 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/8ec430d5-dc71-42a2-8b24-1bdc2afa1da2 2026-11-02 14:20:09,449 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-02 14:20:09,449 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9f83bce3-2b1c-416f-b649-fa531c53e2ee 2026-11-02 14:20:09,462 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f1c8006a-85eb-4186-9abc-bcf29830355e 2026-11-02 14:20:09,484 - INFO - Verified VN network id 13 for VN 9f83bce3-2b1c-416f-b649-fa531c53e2ee 2026-11-02 14:20:09,485 - INFO - Verifications in API Server for VN ctest-vn-72811953 passed 2026-11-02 14:20:09,485 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9f83bce3-2b1c-416f-b649-fa531c53e2ee 2026-11-02 14:20:09,499 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f1c8006a-85eb-4186-9abc-bcf29830355e 2026-11-02 14:20:09,509 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f1c8006a-85eb-4186-9abc-bcf29830355e 2026-11-02 14:20:09,517 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/8ec430d5-dc71-42a2-8b24-1bdc2afa1da2 2026-11-02 14:20:09,533 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-72811953', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93998621', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11494238357846507887', 'uuid-lslong': '13135305023067251438'}, 'enable': 'true', 'created': '2026-11-02T14:20:06', 'last-modified': '2026-11-02T14:20:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.664843'} 2026-11-02 14:20:09,540 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-02 14:20:09,540 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72811953 passed 2026-11-02 14:20:09,540 - DEBUG - ====Verifying policy data for ctest-vn-72811953 in API_Server ====== 2026-11-02 14:20:09,540 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-02 14:20:09,546 - DEBUG - Requesting: http://10.0.0.190:8082/domain/f42ed83e-dbec-4dc1-b001-fad876572e69 2026-11-02 14:20:09,561 - DEBUG - Requesting: http://10.0.0.190:8082/project/e16021bd-4d68-4d35-899b-9064d7fb1d80 2026-11-02 14:20:09,642 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9f83bce3-2b1c-416f-b649-fa531c53e2ee 2026-11-02 14:20:09,653 - DEBUG - ==>Verifying data for policy with id: 85f61b8e-a4e9-4f14-a344-67c066a34d90, fqn: ['default-domain', 'ctest-TestBasicPolicy-93998621', 'ctest-policy-allow-all-30602686'] 2026-11-02 14:20:09,654 - INFO - VN ctest-vn-72811953 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-02 14:20:09,654 - DEBUG - Verifying the vn in opserver 2026-11-02 14:20:09,654 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-72811953 virtual network link through opserver 10.0.0.190 2026-11-02 14:20:09,654 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-11-02 14:20:09,667 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-72811953', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-72811953?flat'} 2026-11-02 14:20:09,667 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-72811953 is found in opserver 2026-11-02 14:20:09,681 - DEBUG - Do not have enough data to verify VN in agent 2026-11-02 14:20:09,688 - DEBUG - VRF ids for VN ctest-vn-72811953: {} 2026-11-02 14:20:09,763 - DEBUG - Services list from nova: [, , ] 2026-11-02 14:20:10,160 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6466-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6466-1) 2026-11-02 14:20:10,618 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6466-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6466-1) 2026-11-02 14:20:10,619 - INFO - Waiting for VM ctest-TestBasicPolicy-93998621-30575123 to be up.. 2026-11-02 14:20:10,667 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:20:15,758 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:20:20,859 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:20:25,959 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:20:31,056 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:20:36,154 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:20:41,265 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:20:46,350 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:20:51,431 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 14:20:56,511 - DEBUG - VM is in ACTIVE state now 2026-11-02 14:20:56,511 - INFO - VM name : ctest-TestBasicPolicy-93998621-30575123 2026-11-02 14:20:56,596 - DEBUG - VM ctest-TestBasicPolicy-93998621-30575123 ID is 9cc7f25e-dbb1-46f2-882c-2394a55d5a00 2026-11-02 14:20:56,620 - DEBUG - VM ctest-TestBasicPolicy-93998621-30575123 launched on Node cn-jenkins-deploy-platform-ansible-os-6466-1 2026-11-02 14:20:56,701 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/9cc7f25e-dbb1-46f2-882c-2394a55d5a00 2026-11-02 14:20:56,712 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/3bebf262-fcfc-4da0-931c-e1e6b2cc2ee4 2026-11-02 14:20:59,981 - 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 1006ms') 2026-11-02 14:20:59,982 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93998621-30575123 failed! 2026-11-02 14:21:00,039 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-31310662 is 32.216.239.129 and allocation pool is NOT set 2026-11-02 14:21:02,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=4.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.00 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 = 1.003/2.722/4.442/1.719 ms') 2026-11-02 14:21:02,104 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93998621-30575123 passed 2026-11-02 14:21:02,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 14:21:02,267 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93998621-30575123, IP 32.216.239.131, Port 22 2026-11-02 14:21:02,437 - DEBUG - VM ctest-TestBasicPolicy-93998621-30575123 is ready for SSH connections 2026-11-02 14:21:02,437 - INFO - Waiting for VM ctest-TestBasicPolicy-93998621-52391475 to be up.. 2026-11-02 14:21:02,532 - DEBUG - VM is in ACTIVE state now 2026-11-02 14:21:02,532 - INFO - VM name : ctest-TestBasicPolicy-93998621-52391475 2026-11-02 14:21:02,617 - DEBUG - VM ctest-TestBasicPolicy-93998621-52391475 ID is 9586474b-9dc2-426c-a987-3eb815a590a3 2026-11-02 14:21:02,617 - DEBUG - VM ctest-TestBasicPolicy-93998621-52391475 launched on Node cn-jenkins-deploy-platform-ansible-os-6466-1 2026-11-02 14:21:02,705 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/9586474b-9dc2-426c-a987-3eb815a590a3 2026-11-02 14:21:02,715 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/b16fcff4-6fab-4150-b600-1d6a730337b5 2026-11-02 14:21:03,971 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.508 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.508/2.475/4.442/1.967 ms') 2026-11-02 14:21:03,971 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-93998621-52391475 passed 2026-11-02 14:21:04,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 14:21:04,131 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93998621-52391475, IP 146.14.5.131, Port 22 2026-11-02 14:21:04,302 - DEBUG - VM ctest-TestBasicPolicy-93998621-52391475 is ready for SSH connections 2026-11-02 14:21:04,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 14:21:04,302 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.14.5.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-11-02 14:21:04,303 - DEBUG - ping -s 56 -c 3 -W 1 146.14.5.131 2026-11-02 14:21:08,421 - DEBUG - PING 146.14.5.131 (146.14.5.131): 56 data bytes 64 bytes from 146.14.5.131: seq=0 ttl=63 time=4.614 ms 64 bytes from 146.14.5.131: seq=1 ttl=63 time=1.146 ms 64 bytes from 146.14.5.131: seq=2 ttl=63 time=1.085 ms --- 146.14.5.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.085/2.281/4.614 ms 2026-11-02 14:21:08,421 - INFO - Ping to IP 146.14.5.131 from VM ctest-TestBasicPolicy-93998621-30575123 passed 2026-11-02 14:21:08,599 - DEBUG - Policy Update Response {"network-policy": {"uuid": "85f61b8e-a4e9-4f14-a344-67c066a34d90", "href": "http://10.0.0.190:8082/network-policy/85f61b8e-a4e9-4f14-a344-67c066a34d90"}} 2026-11-02 14:21:08,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 14:21:08,599 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.14.5.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-11-02 14:21:08,599 - DEBUG - ping -s 56 -c 3 -W 1 146.14.5.131 2026-11-02 14:21:11,740 - DEBUG - PING 146.14.5.131 (146.14.5.131): 56 data bytes 64 bytes from 146.14.5.131: seq=0 ttl=63 time=1.547 ms --- 146.14.5.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.547/1.547/1.547 ms 2026-11-02 14:21:11,740 - WARNING - Ping to IP 146.14.5.131 from VM ctest-TestBasicPolicy-93998621-30575123 failed 2026-11-02 14:21:11,740 - INFO - Deleting VM ctest-TestBasicPolicy-93998621-52391475 2026-11-02 14:21:11,827 - INFO - Deleting VM ctest-TestBasicPolicy-93998621-30575123 2026-11-02 14:21:12,212 - INFO - Deleted policy ctest-policy-allow-all-30602686 2026-11-02 14:21:12,213 - INFO - Deleting VN ctest-vn-72811953 2026-11-02 14:21:12,252 - DEBUG - VN 9f83bce3-2b1c-416f-b649-fa531c53e2ee still in use: Unable to complete operation on network 9f83bce3-2b1c-416f-b649-fa531c53e2ee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3affed2a-9fe9-4976-81d8-005d8627419e'] 2026-11-02 14:21:12,252 - WARNING - Deleting VN ctest-vn-72811953 failed..Will retry 2026-11-02 14:21:14,291 - DEBUG - VN 9f83bce3-2b1c-416f-b649-fa531c53e2ee still in use: Unable to complete operation on network 9f83bce3-2b1c-416f-b649-fa531c53e2ee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ede6c51c-041d-4b47-8083-dc69167294e6'] 2026-11-02 14:21:14,291 - WARNING - Deleting VN ctest-vn-72811953 failed..Will retry 2026-11-02 14:21:16,402 - DEBUG - Response for deleting network () 2026-11-02 14:21:16,402 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f1c8006a-85eb-4186-9abc-bcf29830355e 2026-11-02 14:21:16,411 - DEBUG - Response Code: 404 2026-11-02 14:21:16,412 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-02 14:21:16,418 - DEBUG - Requesting: http://10.0.0.190:8082/domain/f42ed83e-dbec-4dc1-b001-fad876572e69 2026-11-02 14:21:16,474 - DEBUG - Requesting: http://10.0.0.190:8082/project/e16021bd-4d68-4d35-899b-9064d7fb1d80 2026-11-02 14:21:16,552 - INFO - Validated that VN ctest-vn-72811953 is not found in API Server 2026-11-02 14:21:16,566 - DEBUG - VN ctest-vn-72811953 is not present in Agent 10.0.0.190 2026-11-02 14:21:16,566 - INFO - Validated that VN ctest-vn-72811953 is not in any agent 2026-11-02 14:21:16,585 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72811953 info 2026-11-02 14:21:16,586 - INFO - Deleting VN ctest-vn-31310662 2026-11-02 14:21:16,708 - DEBUG - Response for deleting network () 2026-11-02 14:21:16,708 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f7f9d42f-622f-4e77-9c91-5326fda10835 2026-11-02 14:21:16,713 - DEBUG - Response Code: 404 2026-11-02 14:21:16,713 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-02 14:21:16,719 - DEBUG - Requesting: http://10.0.0.190:8082/domain/f42ed83e-dbec-4dc1-b001-fad876572e69 2026-11-02 14:21:16,773 - DEBUG - Requesting: http://10.0.0.190:8082/project/e16021bd-4d68-4d35-899b-9064d7fb1d80 2026-11-02 14:21:16,848 - INFO - Validated that VN ctest-vn-31310662 is not found in API Server 2026-11-02 14:21:16,861 - DEBUG - VN ctest-vn-31310662 is not present in Agent 10.0.0.190 2026-11-02 14:21:16,861 - INFO - Validated that VN ctest-vn-31310662 is not in any agent 2026-11-02 14:21:16,880 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31310662 info 2026-11-02 14:21:17,155 - DEBUG - No XMPP flaps were noticed during the test 2026-11-02 14:21:17,155 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12] 2026-11-02 14:21:17,155 - INFO - -------------------------------------------------------------------------------- 2026-11-02 14:21:17,961 - INFO - Deleted project: ctest-TestBasicPolicy-93998621, ID : e16021bd-4d68-4d35-899b-9064d7fb1d80