2026-11-04 10:45:03,490 - INFO - Domain Default found not creating 2026-11-04 10:45:03,706 - INFO - Project ctest-TestBasicPolicy-51678402 not found, creating it 2026-11-04 10:45:04,213 - INFO - Created Project:ctest-TestBasicPolicy-51678402, ID : ab882a29-6b09-49a3-aaf5-e7291d7a5be0 2026-11-04 10:45:05,842 - INFO - ================================================================================ 2026-11-04 10:45:05,842 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-04 10:45:05,842 - 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-04 10:45:06,101 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.29': '0'}} with 2026-11-04 10:45:06,101 - INFO - Initial checks done. Running the testcase now 2026-11-04 10:45:06,101 - INFO - 2026-11-04 10:45:06,748 - DEBUG - Response for create_network : {'network': {'id': 'daa00973-28ff-4b29-a4f3-add5d7d6b482', 'name': 'ctest-vn-86207388', 'tenant_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'project_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51678402', 'ctest-vn-86207388'], 'port_security_enabled': True, 'description': ''}} 2026-11-04 10:45:06,932 - DEBUG - Response for create_subnet : {'subnet': {'id': '766f1e55-7b03-4bde-806a-94fe17347047', 'name': '', 'tenant_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'network_id': 'daa00973-28ff-4b29-a4f3-add5d7d6b482', 'ip_version': 4, 'cidr': '96.72.236.0/26', 'allocation_pools': [{'start': '96.72.236.2', 'end': '96.72.236.62'}], 'gateway_ip': '96.72.236.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.72.236.2', 'tags': [], 'project_id': 'ab882a296b0949a3aaf5e7291d7a5be0'}} 2026-11-04 10:45:06,948 - INFO - Created VN ctest-vn-86207388 2026-11-04 10:45:07,003 - DEBUG - VN ctest-vn-86207388 UUID is daa00973-28ff-4b29-a4f3-add5d7d6b482 2026-11-04 10:45:07,335 - DEBUG - Response for create_network : {'network': {'id': '3c71fa08-66e4-4a9b-8d16-cb64c37146c4', 'name': 'ctest-vn-07323168', 'tenant_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'project_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51678402', 'ctest-vn-07323168'], 'port_security_enabled': True, 'description': ''}} 2026-11-04 10:45:07,557 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3354acf-b332-416c-b35e-0cb78c756f0e', 'name': '', 'tenant_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'network_id': '3c71fa08-66e4-4a9b-8d16-cb64c37146c4', 'ip_version': 4, 'cidr': '138.106.75.128/26', 'allocation_pools': [{'start': '138.106.75.130', 'end': '138.106.75.190'}], 'gateway_ip': '138.106.75.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.106.75.130', 'tags': [], 'project_id': 'ab882a296b0949a3aaf5e7291d7a5be0'}} 2026-11-04 10:45:07,574 - INFO - Created VN ctest-vn-07323168 2026-11-04 10:45:07,627 - DEBUG - VN ctest-vn-07323168 UUID is 3c71fa08-66e4-4a9b-8d16-cb64c37146c4 2026-11-04 10:45:07,775 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-86207388, 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-51678402:ctest-vn-07323168, 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-04 10:45:08,083 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'daa00973-28ff-4b29-a4f3-add5d7d6b482', 'name': 'ctest-vn-86207388', 'tenant_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'project_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['766f1e55-7b03-4bde-806a-94fe17347047'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51678402', 'ctest-vn-86207388'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51678402', 'ctest-policy-allow-all-22195134']], 'subnet_ipam': [{'subnet_cidr': '96.72.236.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-04 10:45:08,320 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3c71fa08-66e4-4a9b-8d16-cb64c37146c4', 'name': 'ctest-vn-07323168', 'tenant_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'project_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f3354acf-b332-416c-b35e-0cb78c756f0e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51678402', 'ctest-vn-07323168'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51678402', 'ctest-policy-allow-all-22195134']], 'subnet_ipam': [{'subnet_cidr': '138.106.75.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-04 10:45:08,483 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-04 10:45:08,805 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-04 10:45:08,833 - DEBUG - Requesting: http://10.0.0.50:8082/domain/987ed006-4b4b-4491-9e33-ef684fd9b8eb 2026-11-04 10:45:08,845 - DEBUG - Requesting: http://10.0.0.50:8082/project/ab882a29-6b09-49a3-aaf5-e7291d7a5be0 2026-11-04 10:45:08,921 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/daa00973-28ff-4b29-a4f3-add5d7d6b482 2026-11-04 10:45:08,932 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/daa00973-28ff-4b29-a4f3-add5d7d6b482 2026-11-04 10:45:08,941 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c3190aac-0fc6-434a-a335-6139417dde45 2026-11-04 10:45:08,949 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c3190aac-0fc6-434a-a335-6139417dde45 2026-11-04 10:45:08,957 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1a0293d4-5b47-43c8-bea8-0c0012e80801 2026-11-04 10:45:08,966 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-04 10:45:08,966 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/daa00973-28ff-4b29-a4f3-add5d7d6b482 2026-11-04 10:45:08,975 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c3190aac-0fc6-434a-a335-6139417dde45 2026-11-04 10:45:08,991 - INFO - Verified VN network id 10 for VN daa00973-28ff-4b29-a4f3-add5d7d6b482 2026-11-04 10:45:08,991 - INFO - Verifications in API Server for VN ctest-vn-86207388 passed 2026-11-04 10:45:08,991 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/daa00973-28ff-4b29-a4f3-add5d7d6b482 2026-11-04 10:45:09,001 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c3190aac-0fc6-434a-a335-6139417dde45 2026-11-04 10:45:09,011 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c3190aac-0fc6-434a-a335-6139417dde45 2026-11-04 10:45:09,020 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1a0293d4-5b47-43c8-bea8-0c0012e80801 2026-11-04 10:45:09,035 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-86207388', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51678402', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15753601886755703593', 'uuid-lslong': '11886034975521682562'}, 'enable': 'true', 'created': '2026-11-04T10:45:06', 'last-modified': '2026-11-04T10:45:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.974363'} 2026-11-04 10:45:09,044 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-04 10:45:09,044 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86207388 passed 2026-11-04 10:45:09,044 - DEBUG - ====Verifying policy data for ctest-vn-86207388 in API_Server ====== 2026-11-04 10:45:09,044 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-04 10:45:09,050 - DEBUG - Requesting: http://10.0.0.50:8082/domain/987ed006-4b4b-4491-9e33-ef684fd9b8eb 2026-11-04 10:45:09,060 - DEBUG - Requesting: http://10.0.0.50:8082/project/ab882a29-6b09-49a3-aaf5-e7291d7a5be0 2026-11-04 10:45:09,131 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/daa00973-28ff-4b29-a4f3-add5d7d6b482 2026-11-04 10:45:09,140 - DEBUG - ==>Verifying data for policy with id: 11f5e4c7-ecb4-4157-9b65-1187a926fae0, fqn: ['default-domain', 'ctest-TestBasicPolicy-51678402', 'ctest-policy-allow-all-22195134'] 2026-11-04 10:45:09,140 - INFO - VN ctest-vn-86207388 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-04 10:45:09,140 - DEBUG - Verifying the vn in opserver 2026-11-04 10:45:09,140 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-86207388 virtual network link through opserver 10.0.0.50 2026-11-04 10:45:09,140 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-04 10:45:09,468 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-04 10:45:09,525 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-86207388', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-86207388?flat'} 2026-11-04 10:45:09,525 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-86207388 is found in opserver 2026-11-04 10:45:09,537 - DEBUG - Do not have enough data to verify VN in agent 2026-11-04 10:45:09,543 - DEBUG - VRF ids for VN ctest-vn-86207388: {} 2026-11-04 10:45:09,543 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-04 10:45:09,549 - DEBUG - Requesting: http://10.0.0.50:8082/domain/987ed006-4b4b-4491-9e33-ef684fd9b8eb 2026-11-04 10:45:09,559 - DEBUG - Requesting: http://10.0.0.50:8082/project/ab882a29-6b09-49a3-aaf5-e7291d7a5be0 2026-11-04 10:45:09,629 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c71fa08-66e4-4a9b-8d16-cb64c37146c4 2026-11-04 10:45:09,642 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c71fa08-66e4-4a9b-8d16-cb64c37146c4 2026-11-04 10:45:09,652 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1ad0918-39f5-4bb1-824c-0d3cee5d67f8 2026-11-04 10:45:09,659 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1ad0918-39f5-4bb1-824c-0d3cee5d67f8 2026-11-04 10:45:09,666 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6610939b-ed8a-4827-88cb-65e1f4dcfcb3 2026-11-04 10:45:09,678 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-04 10:45:09,679 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c71fa08-66e4-4a9b-8d16-cb64c37146c4 2026-11-04 10:45:09,690 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1ad0918-39f5-4bb1-824c-0d3cee5d67f8 2026-11-04 10:45:09,708 - INFO - Verified VN network id 11 for VN 3c71fa08-66e4-4a9b-8d16-cb64c37146c4 2026-11-04 10:45:09,708 - INFO - Verifications in API Server for VN ctest-vn-07323168 passed 2026-11-04 10:45:09,708 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c71fa08-66e4-4a9b-8d16-cb64c37146c4 2026-11-04 10:45:09,718 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1ad0918-39f5-4bb1-824c-0d3cee5d67f8 2026-11-04 10:45:09,725 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1ad0918-39f5-4bb1-824c-0d3cee5d67f8 2026-11-04 10:45:09,734 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6610939b-ed8a-4827-88cb-65e1f4dcfcb3 2026-11-04 10:45:09,746 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-07323168', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51678402', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4355537228636899995', 'uuid-lslong': '10166536842471622340'}, 'enable': 'true', 'created': '2026-11-04T10:45:07', 'last-modified': '2026-11-04T10:45:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.447785'} 2026-11-04 10:45:09,756 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-04 10:45:09,756 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07323168 passed 2026-11-04 10:45:09,756 - DEBUG - ====Verifying policy data for ctest-vn-07323168 in API_Server ====== 2026-11-04 10:45:09,756 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-04 10:45:09,763 - DEBUG - Requesting: http://10.0.0.50:8082/domain/987ed006-4b4b-4491-9e33-ef684fd9b8eb 2026-11-04 10:45:09,776 - DEBUG - Requesting: http://10.0.0.50:8082/project/ab882a29-6b09-49a3-aaf5-e7291d7a5be0 2026-11-04 10:45:09,853 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c71fa08-66e4-4a9b-8d16-cb64c37146c4 2026-11-04 10:45:09,877 - DEBUG - ==>Verifying data for policy with id: 11f5e4c7-ecb4-4157-9b65-1187a926fae0, fqn: ['default-domain', 'ctest-TestBasicPolicy-51678402', 'ctest-policy-allow-all-22195134'] 2026-11-04 10:45:09,877 - INFO - VN ctest-vn-07323168 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-04 10:45:09,877 - DEBUG - Verifying the vn in opserver 2026-11-04 10:45:09,877 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-07323168 virtual network link through opserver 10.0.0.50 2026-11-04 10:45:09,877 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-04 10:45:09,889 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-07323168', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-07323168?flat'} 2026-11-04 10:45:09,889 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-07323168 is found in opserver 2026-11-04 10:45:09,901 - DEBUG - Do not have enough data to verify VN in agent 2026-11-04 10:45:09,907 - DEBUG - VRF ids for VN ctest-vn-07323168: {} 2026-11-04 10:45:09,973 - DEBUG - Services list from nova: [, , ] 2026-11-04 10:45:10,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6480-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6480-1) 2026-11-04 10:45:10,862 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6480-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6480-1) 2026-11-04 10:45:10,862 - INFO - Waiting for VM ctest-TestBasicPolicy-51678402-27529551 to be up.. 2026-11-04 10:45:10,904 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:45:15,978 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:45:21,057 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:45:26,134 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:45:31,215 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:45:36,294 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:45:41,377 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:45:46,463 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:45:51,543 - DEBUG - VM is in ACTIVE state now 2026-11-04 10:45:51,543 - INFO - VM name : ctest-TestBasicPolicy-51678402-27529551 2026-11-04 10:45:51,621 - DEBUG - VM ctest-TestBasicPolicy-51678402-27529551 ID is 3b99a42f-c63f-40d7-93de-dbbf171177dd 2026-11-04 10:45:51,641 - DEBUG - VM ctest-TestBasicPolicy-51678402-27529551 launched on Node cn-jenkins-deploy-platform-ansible-os-6480-1 2026-11-04 10:45:51,721 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3b99a42f-c63f-40d7-93de-dbbf171177dd 2026-11-04 10:45:51,729 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/51b31a07-ec74-4857-a218-498032c7f097 2026-11-04 10:45:54,984 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=12.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1021ms\r\nrtt min/avg/max/mdev = 12.238/12.238/12.238/0.000 ms') 2026-11-04 10:45:54,984 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51678402-27529551 passed 2026-11-04 10:45:55,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:45:55,139 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51678402-27529551, IP 96.72.236.3, Port 22 2026-11-04 10:45:55,295 - DEBUG - VM ctest-TestBasicPolicy-51678402-27529551 is ready for SSH connections 2026-11-04 10:45:55,295 - INFO - Waiting for VM ctest-TestBasicPolicy-51678402-66206932 to be up.. 2026-11-04 10:45:55,374 - DEBUG - VM is in ACTIVE state now 2026-11-04 10:45:55,374 - INFO - VM name : ctest-TestBasicPolicy-51678402-66206932 2026-11-04 10:45:55,450 - DEBUG - VM ctest-TestBasicPolicy-51678402-66206932 ID is 521410aa-bbe2-4a3e-9891-3f933fd49b04 2026-11-04 10:45:55,450 - DEBUG - VM ctest-TestBasicPolicy-51678402-66206932 launched on Node cn-jenkins-deploy-platform-ansible-os-6480-1 2026-11-04 10:45:55,530 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/521410aa-bbe2-4a3e-9891-3f933fd49b04 2026-11-04 10:45:55,538 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9fde72f1-6475-44c0-b639-c2eb6810b467 2026-11-04 10:45:56,777 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.790/3.145/1.354 ms') 2026-11-04 10:45:56,777 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51678402-66206932 passed 2026-11-04 10:45:56,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:45:56,931 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51678402-66206932, IP 138.106.75.131, Port 22 2026-11-04 10:45:57,105 - DEBUG - VM ctest-TestBasicPolicy-51678402-66206932 is ready for SSH connections 2026-11-04 10:45:57,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:45:57,105 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.106.75.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-04 10:45:57,106 - DEBUG - ping -s 56 -c 3 -W 1 138.106.75.131 2026-11-04 10:46:01,042 - DEBUG - PING 138.106.75.131 (138.106.75.131): 56 data bytes 64 bytes from 138.106.75.131: seq=0 ttl=63 time=3.761 ms 64 bytes from 138.106.75.131: seq=1 ttl=63 time=1.365 ms 64 bytes from 138.106.75.131: seq=2 ttl=63 time=1.068 ms --- 138.106.75.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.068/2.064/3.761 ms 2026-11-04 10:46:01,042 - INFO - Ping to IP 138.106.75.131 from VM ctest-TestBasicPolicy-51678402-27529551 passed 2026-11-04 10:46:01,223 - DEBUG - Policy Update Response {"network-policy": {"uuid": "11f5e4c7-ecb4-4157-9b65-1187a926fae0", "href": "http://10.0.0.50:8082/network-policy/11f5e4c7-ecb4-4157-9b65-1187a926fae0"}} 2026-11-04 10:46:01,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:46:01,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.106.75.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-04 10:46:01,223 - DEBUG - ping -s 56 -c 3 -W 1 138.106.75.131 2026-11-04 10:46:04,437 - DEBUG - PING 138.106.75.131 (138.106.75.131): 56 data bytes 64 bytes from 138.106.75.131: seq=0 ttl=63 time=1.735 ms --- 138.106.75.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.735/1.735/1.735 ms 2026-11-04 10:46:04,437 - WARNING - Ping to IP 138.106.75.131 from VM ctest-TestBasicPolicy-51678402-27529551 failed 2026-11-04 10:46:04,437 - INFO - Deleting VM ctest-TestBasicPolicy-51678402-66206932 2026-11-04 10:46:04,518 - INFO - Deleting VM ctest-TestBasicPolicy-51678402-27529551 2026-11-04 10:46:04,876 - INFO - Deleted policy ctest-policy-allow-all-22195134 2026-11-04 10:46:04,877 - INFO - Deleting VN ctest-vn-07323168 2026-11-04 10:46:04,911 - DEBUG - VN 3c71fa08-66e4-4a9b-8d16-cb64c37146c4 still in use: Unable to complete operation on network 3c71fa08-66e4-4a9b-8d16-cb64c37146c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-259a2982-a677-482e-a15e-a10c9d0b31ba'] 2026-11-04 10:46:04,911 - WARNING - Deleting VN ctest-vn-07323168 failed..Will retry 2026-11-04 10:46:06,948 - DEBUG - VN 3c71fa08-66e4-4a9b-8d16-cb64c37146c4 still in use: Unable to complete operation on network 3c71fa08-66e4-4a9b-8d16-cb64c37146c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d74d2bfe-8759-4387-badb-4e6a7d917d38'] 2026-11-04 10:46:06,948 - WARNING - Deleting VN ctest-vn-07323168 failed..Will retry 2026-11-04 10:46:09,061 - DEBUG - Response for deleting network () 2026-11-04 10:46:09,061 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1ad0918-39f5-4bb1-824c-0d3cee5d67f8 2026-11-04 10:46:09,072 - DEBUG - Response Code: 404 2026-11-04 10:46:09,072 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-04 10:46:09,078 - DEBUG - Requesting: http://10.0.0.50:8082/domain/987ed006-4b4b-4491-9e33-ef684fd9b8eb 2026-11-04 10:46:09,132 - DEBUG - Requesting: http://10.0.0.50:8082/project/ab882a29-6b09-49a3-aaf5-e7291d7a5be0 2026-11-04 10:46:09,208 - INFO - Validated that VN ctest-vn-07323168 is not found in API Server 2026-11-04 10:46:09,219 - DEBUG - VN ctest-vn-07323168 is not present in Agent 10.0.0.50 2026-11-04 10:46:09,219 - INFO - Validated that VN ctest-vn-07323168 is not in any agent 2026-11-04 10:46:09,235 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07323168 info 2026-11-04 10:46:09,236 - INFO - Deleting VN ctest-vn-86207388 2026-11-04 10:46:09,347 - DEBUG - Response for deleting network () 2026-11-04 10:46:09,347 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c3190aac-0fc6-434a-a335-6139417dde45 2026-11-04 10:46:09,356 - DEBUG - Response Code: 404 2026-11-04 10:46:09,356 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-04 10:46:09,362 - DEBUG - Requesting: http://10.0.0.50:8082/domain/987ed006-4b4b-4491-9e33-ef684fd9b8eb 2026-11-04 10:46:09,416 - DEBUG - Requesting: http://10.0.0.50:8082/project/ab882a29-6b09-49a3-aaf5-e7291d7a5be0 2026-11-04 10:46:09,487 - INFO - Validated that VN ctest-vn-86207388 is not found in API Server 2026-11-04 10:46:09,499 - DEBUG - VN ctest-vn-86207388 is not present in Agent 10.0.0.50 2026-11-04 10:46:09,499 - INFO - Validated that VN ctest-vn-86207388 is not in any agent 2026-11-04 10:46:09,513 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86207388 info 2026-11-04 10:46:09,768 - DEBUG - No XMPP flaps were noticed during the test
2026-11-04 10:46:09,768 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04]
2026-11-04 10:46:09,768 - INFO - -------------------------------------------------------------------------------- 2026-11-04 10:46:10,502 - INFO - Deleted project: ctest-TestBasicPolicy-51678402, ID : ab882a29-6b09-49a3-aaf5-e7291d7a5be0