2026-01-28 13:17:38,978 - INFO - Domain Default found not creating 2026-01-28 13:17:39,153 - INFO - Project ctest-TestBasicPolicy-27339146 not found, creating it 2026-01-28 13:17:39,606 - INFO - Created Project:ctest-TestBasicPolicy-27339146, ID : 2fe0c25f-0e2c-4823-9438-b3edf0248f76 2026-01-28 13:17:41,092 - INFO - ================================================================================ 2026-01-28 13:17:41,093 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-28 13:17:41,093 - 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-01-28 13:17:41,352 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2026-01-28 13:17:41,352 - INFO - Initial checks done. Running the testcase now 2026-01-28 13:17:41,352 - INFO - 2026-01-28 13:17:41,928 - DEBUG - Response for create_network : {'network': {'id': '96df9a4a-2666-4aaa-a475-3b9e53605eb8', 'name': 'ctest-vn-94491249', 'tenant_id': '2fe0c25f0e2c48239438b3edf0248f76', 'project_id': '2fe0c25f0e2c48239438b3edf0248f76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27339146', 'ctest-vn-94491249'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 13:17:42,171 - DEBUG - Response for create_subnet : {'subnet': {'id': '25731ff2-0287-4799-a20c-80a71094dfc5', 'name': '', 'tenant_id': '2fe0c25f0e2c48239438b3edf0248f76', 'network_id': '96df9a4a-2666-4aaa-a475-3b9e53605eb8', 'ip_version': 4, 'cidr': '82.74.130.0/26', 'allocation_pools': [{'start': '82.74.130.2', 'end': '82.74.130.62'}], 'gateway_ip': '82.74.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.74.130.2', 'tags': [], 'project_id': '2fe0c25f0e2c48239438b3edf0248f76'}} 2026-01-28 13:17:42,190 - INFO - Created VN ctest-vn-94491249 2026-01-28 13:17:42,243 - DEBUG - VN ctest-vn-94491249 UUID is 96df9a4a-2666-4aaa-a475-3b9e53605eb8 2026-01-28 13:17:42,549 - DEBUG - Response for create_network : {'network': {'id': 'b3d98fcb-b107-4045-b7fb-2f6e90172a60', 'name': 'ctest-vn-13476451', 'tenant_id': '2fe0c25f0e2c48239438b3edf0248f76', 'project_id': '2fe0c25f0e2c48239438b3edf0248f76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27339146', 'ctest-vn-13476451'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 13:17:42,769 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a0d6acb-c55c-4837-8018-35f572637980', 'name': '', 'tenant_id': '2fe0c25f0e2c48239438b3edf0248f76', 'network_id': 'b3d98fcb-b107-4045-b7fb-2f6e90172a60', 'ip_version': 4, 'cidr': '210.170.228.64/26', 'allocation_pools': [{'start': '210.170.228.66', 'end': '210.170.228.126'}], 'gateway_ip': '210.170.228.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.170.228.66', 'tags': [], 'project_id': '2fe0c25f0e2c48239438b3edf0248f76'}} 2026-01-28 13:17:42,789 - INFO - Created VN ctest-vn-13476451 2026-01-28 13:17:42,843 - DEBUG - VN ctest-vn-13476451 UUID is b3d98fcb-b107-4045-b7fb-2f6e90172a60 2026-01-28 13:17:42,956 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-94491249, 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-27339146:ctest-vn-13476451, 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-01-28 13:17:43,250 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '96df9a4a-2666-4aaa-a475-3b9e53605eb8', 'name': 'ctest-vn-94491249', 'tenant_id': '2fe0c25f0e2c48239438b3edf0248f76', 'project_id': '2fe0c25f0e2c48239438b3edf0248f76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['25731ff2-0287-4799-a20c-80a71094dfc5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27339146', 'ctest-vn-94491249'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27339146', 'ctest-policy-allow-all-86573741']], 'subnet_ipam': [{'subnet_cidr': '82.74.130.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 13:17:43,481 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b3d98fcb-b107-4045-b7fb-2f6e90172a60', 'name': 'ctest-vn-13476451', 'tenant_id': '2fe0c25f0e2c48239438b3edf0248f76', 'project_id': '2fe0c25f0e2c48239438b3edf0248f76', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4a0d6acb-c55c-4837-8018-35f572637980'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27339146', 'ctest-vn-13476451'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27339146', 'ctest-policy-allow-all-86573741']], 'subnet_ipam': [{'subnet_cidr': '210.170.228.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 13:17:43,651 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-28 13:17:43,951 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-28 13:17:43,985 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ceebe4b1-2a25-4dca-b8c2-5f1d2f42b9e6 2026-01-28 13:17:43,998 - DEBUG - Requesting: http://10.0.0.141:8082/project/2fe0c25f-0e2c-4823-9438-b3edf0248f76 2026-01-28 13:17:44,072 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/96df9a4a-2666-4aaa-a475-3b9e53605eb8 2026-01-28 13:17:44,082 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/96df9a4a-2666-4aaa-a475-3b9e53605eb8 2026-01-28 13:17:44,091 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a52c2dd2-c5af-4a0e-bb45-cdfad0580962 2026-01-28 13:17:44,099 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a52c2dd2-c5af-4a0e-bb45-cdfad0580962 2026-01-28 13:17:44,105 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/976158c9-60c8-45b4-97c3-25687fa6a2ae 2026-01-28 13:17:44,111 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 13:17:44,111 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/96df9a4a-2666-4aaa-a475-3b9e53605eb8 2026-01-28 13:17:44,119 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a52c2dd2-c5af-4a0e-bb45-cdfad0580962 2026-01-28 13:17:44,134 - INFO - Verified VN network id 11 for VN 96df9a4a-2666-4aaa-a475-3b9e53605eb8 2026-01-28 13:17:44,134 - INFO - Verifications in API Server for VN ctest-vn-94491249 passed 2026-01-28 13:17:44,134 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/96df9a4a-2666-4aaa-a475-3b9e53605eb8 2026-01-28 13:17:44,143 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a52c2dd2-c5af-4a0e-bb45-cdfad0580962 2026-01-28 13:17:44,149 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a52c2dd2-c5af-4a0e-bb45-cdfad0580962 2026-01-28 13:17:44,159 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/976158c9-60c8-45b4-97c3-25687fa6a2ae 2026-01-28 13:17:44,171 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-94491249', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27339146', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10871577668758162090', 'uuid-lslong': '11850443545685024440'}, 'enable': 'true', 'created': '2026-01-28T13:17:41', 'last-modified': '2026-01-28T13:17:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.941700'} 2026-01-28 13:17:44,177 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 13:17:44,177 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94491249 passed 2026-01-28 13:17:44,177 - DEBUG - ====Verifying policy data for ctest-vn-94491249 in API_Server ====== 2026-01-28 13:17:44,177 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-28 13:17:44,184 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ceebe4b1-2a25-4dca-b8c2-5f1d2f42b9e6 2026-01-28 13:17:44,195 - DEBUG - Requesting: http://10.0.0.141:8082/project/2fe0c25f-0e2c-4823-9438-b3edf0248f76 2026-01-28 13:17:44,265 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/96df9a4a-2666-4aaa-a475-3b9e53605eb8 2026-01-28 13:17:44,273 - DEBUG - ==>Verifying data for policy with id: c4a69975-2109-4afa-b8d0-6e99ab24074d, fqn: ['default-domain', 'ctest-TestBasicPolicy-27339146', 'ctest-policy-allow-all-86573741'] 2026-01-28 13:17:44,273 - INFO - VN ctest-vn-94491249 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 13:17:44,273 - DEBUG - Verifying the vn in opserver 2026-01-28 13:17:44,273 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-94491249 virtual network link through opserver 10.0.0.141 2026-01-28 13:17:44,273 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-28 13:17:44,567 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-28 13:17:44,635 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-94491249', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-94491249?flat'} 2026-01-28 13:17:44,635 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-94491249 is found in opserver 2026-01-28 13:17:44,645 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 13:17:44,650 - DEBUG - VRF ids for VN ctest-vn-94491249: {} 2026-01-28 13:17:44,650 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-28 13:17:44,656 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ceebe4b1-2a25-4dca-b8c2-5f1d2f42b9e6 2026-01-28 13:17:44,668 - DEBUG - Requesting: http://10.0.0.141:8082/project/2fe0c25f-0e2c-4823-9438-b3edf0248f76 2026-01-28 13:17:44,743 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b3d98fcb-b107-4045-b7fb-2f6e90172a60 2026-01-28 13:17:44,754 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b3d98fcb-b107-4045-b7fb-2f6e90172a60 2026-01-28 13:17:44,764 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/48a4153e-bceb-4d35-ab04-8f4228576c2c 2026-01-28 13:17:44,771 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/48a4153e-bceb-4d35-ab04-8f4228576c2c 2026-01-28 13:17:44,780 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/58773e7f-f7d4-4ba2-ac0b-2a9b6dc7686f 2026-01-28 13:17:44,788 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 13:17:44,788 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b3d98fcb-b107-4045-b7fb-2f6e90172a60 2026-01-28 13:17:44,799 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/48a4153e-bceb-4d35-ab04-8f4228576c2c 2026-01-28 13:17:44,815 - INFO - Verified VN network id 12 for VN b3d98fcb-b107-4045-b7fb-2f6e90172a60 2026-01-28 13:17:44,816 - INFO - Verifications in API Server for VN ctest-vn-13476451 passed 2026-01-28 13:17:44,816 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b3d98fcb-b107-4045-b7fb-2f6e90172a60 2026-01-28 13:17:44,827 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/48a4153e-bceb-4d35-ab04-8f4228576c2c 2026-01-28 13:17:44,835 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/48a4153e-bceb-4d35-ab04-8f4228576c2c 2026-01-28 13:17:44,843 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/58773e7f-f7d4-4ba2-ac0b-2a9b6dc7686f 2026-01-28 13:17:44,855 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-13476451', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27339146', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12959547507746488389', 'uuid-lslong': '13257242080005532256'}, 'enable': 'true', 'created': '2026-01-28T13:17:42', 'last-modified': '2026-01-28T13:17:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.390931'} 2026-01-28 13:17:44,861 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 13:17:44,862 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13476451 passed 2026-01-28 13:17:44,862 - DEBUG - ====Verifying policy data for ctest-vn-13476451 in API_Server ====== 2026-01-28 13:17:44,862 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-28 13:17:44,869 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ceebe4b1-2a25-4dca-b8c2-5f1d2f42b9e6 2026-01-28 13:17:44,884 - DEBUG - Requesting: http://10.0.0.141:8082/project/2fe0c25f-0e2c-4823-9438-b3edf0248f76 2026-01-28 13:17:44,959 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b3d98fcb-b107-4045-b7fb-2f6e90172a60 2026-01-28 13:17:44,969 - DEBUG - ==>Verifying data for policy with id: c4a69975-2109-4afa-b8d0-6e99ab24074d, fqn: ['default-domain', 'ctest-TestBasicPolicy-27339146', 'ctest-policy-allow-all-86573741'] 2026-01-28 13:17:44,969 - INFO - VN ctest-vn-13476451 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 13:17:44,969 - DEBUG - Verifying the vn in opserver 2026-01-28 13:17:44,969 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-13476451 virtual network link through opserver 10.0.0.141 2026-01-28 13:17:44,969 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-01-28 13:17:44,979 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-13476451', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-13476451?flat'} 2026-01-28 13:17:44,979 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-13476451 is found in opserver 2026-01-28 13:17:44,988 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 13:17:44,992 - DEBUG - VRF ids for VN ctest-vn-13476451: {} 2026-01-28 13:17:45,047 - DEBUG - Services list from nova: [, , ] 2026-01-28 13:17:46,133 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5092-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5092-1) 2026-01-28 13:17:47,334 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5092-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5092-1) 2026-01-28 13:17:47,334 - INFO - Waiting for VM ctest-TestBasicPolicy-27339146-10811979 to be up.. 2026-01-28 13:17:47,427 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 13:17:52,509 - DEBUG - VM is in ACTIVE state now 2026-01-28 13:17:52,509 - INFO - VM name : ctest-TestBasicPolicy-27339146-10811979 2026-01-28 13:17:52,593 - DEBUG - VM ctest-TestBasicPolicy-27339146-10811979 ID is 7964ceaa-5e45-455f-b4a8-614c4d5b5343 2026-01-28 13:17:52,613 - DEBUG - VM ctest-TestBasicPolicy-27339146-10811979 launched on Node cn-jenkins-deploy-platform-ansible-os-5092-1 2026-01-28 13:17:52,696 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/7964ceaa-5e45-455f-b4a8-614c4d5b5343 2026-01-28 13:17:52,704 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/a7f7936d-7531-43a7-b48d-b468b448a5c3 2026-01-28 13:17:55,960 - 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 1013ms') 2026-01-28 13:17:55,960 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27339146-10811979 failed! 2026-01-28 13:17:56,015 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-27339146:ctest-vn-94491249 is 82.74.130.1 and allocation pool is NOT set 2026-01-28 13:17:58,076 - 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=6.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.433 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.433/3.258/6.084/2.825 ms') 2026-01-28 13:17:58,076 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27339146-10811979 passed 2026-01-28 13:17:58,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 13:17:58,235 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27339146-10811979, IP 82.74.130.3, Port 22 2026-01-28 13:17:58,391 - DEBUG - VM ctest-TestBasicPolicy-27339146-10811979 is ready for SSH connections 2026-01-28 13:17:58,391 - INFO - Waiting for VM ctest-TestBasicPolicy-27339146-32578539 to be up.. 2026-01-28 13:17:58,466 - DEBUG - VM is in ACTIVE state now 2026-01-28 13:17:58,466 - INFO - VM name : ctest-TestBasicPolicy-27339146-32578539 2026-01-28 13:17:58,538 - DEBUG - VM ctest-TestBasicPolicy-27339146-32578539 ID is 2db59965-2dbf-444f-bb7b-651a710398c3 2026-01-28 13:17:58,538 - DEBUG - VM ctest-TestBasicPolicy-27339146-32578539 launched on Node cn-jenkins-deploy-platform-ansible-os-5092-1 2026-01-28 13:17:58,613 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2db59965-2dbf-444f-bb7b-651a710398c3 2026-01-28 13:17:58,623 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e0e5335b-74b6-42be-92c7-fe0dd8a1343c 2026-01-28 13:17:59,861 - 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=2.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.502 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.502/1.699/2.897/1.197 ms') 2026-01-28 13:17:59,861 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-27339146-32578539 passed 2026-01-28 13:18:00,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 13:18:00,019 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27339146-32578539, IP 210.170.228.67, Port 22 2026-01-28 13:18:00,175 - DEBUG - VM ctest-TestBasicPolicy-27339146-32578539 is ready for SSH connections 2026-01-28 13:18:00,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 13:18:00,175 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.170.228.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-28 13:18:00,175 - DEBUG - ping -s 56 -c 3 -W 1 210.170.228.67 2026-01-28 13:18:04,324 - DEBUG - PING 210.170.228.67 (210.170.228.67): 56 data bytes 64 bytes from 210.170.228.67: seq=0 ttl=63 time=4.501 ms 64 bytes from 210.170.228.67: seq=1 ttl=63 time=1.044 ms 64 bytes from 210.170.228.67: seq=2 ttl=63 time=0.911 ms --- 210.170.228.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/2.152/4.501 ms 2026-01-28 13:18:04,324 - INFO - Ping to IP 210.170.228.67 from VM ctest-TestBasicPolicy-27339146-10811979 passed 2026-01-28 13:18:04,503 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c4a69975-2109-4afa-b8d0-6e99ab24074d", "href": "http://10.0.0.141:8082/network-policy/c4a69975-2109-4afa-b8d0-6e99ab24074d"}} 2026-01-28 13:18:04,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 13:18:04,503 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.170.228.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-01-28 13:18:04,503 - DEBUG - ping -s 56 -c 3 -W 1 210.170.228.67 2026-01-28 13:18:07,719 - DEBUG - PING 210.170.228.67 (210.170.228.67): 56 data bytes --- 210.170.228.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-28 13:18:07,719 - WARNING - Ping to IP 210.170.228.67 from VM ctest-TestBasicPolicy-27339146-10811979 failed 2026-01-28 13:18:07,719 - INFO - Deleting VM ctest-TestBasicPolicy-27339146-32578539 2026-01-28 13:18:07,792 - INFO - Deleting VM ctest-TestBasicPolicy-27339146-10811979 2026-01-28 13:18:08,201 - INFO - Deleted policy ctest-policy-allow-all-86573741 2026-01-28 13:18:08,201 - INFO - Deleting VN ctest-vn-13476451 2026-01-28 13:18:08,245 - DEBUG - VN b3d98fcb-b107-4045-b7fb-2f6e90172a60 still in use: Unable to complete operation on network b3d98fcb-b107-4045-b7fb-2f6e90172a60. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-da3b3dd3-c4b6-48b9-93b4-0cd3595bfd8d'] 2026-01-28 13:18:08,245 - WARNING - Deleting VN ctest-vn-13476451 failed..Will retry 2026-01-28 13:18:10,360 - DEBUG - Response for deleting network () 2026-01-28 13:18:10,360 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/48a4153e-bceb-4d35-ab04-8f4228576c2c 2026-01-28 13:18:10,374 - DEBUG - Response Code: 404 2026-01-28 13:18:10,375 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-28 13:18:10,381 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ceebe4b1-2a25-4dca-b8c2-5f1d2f42b9e6 2026-01-28 13:18:10,438 - DEBUG - Requesting: http://10.0.0.141:8082/project/2fe0c25f-0e2c-4823-9438-b3edf0248f76 2026-01-28 13:18:10,513 - INFO - Validated that VN ctest-vn-13476451 is not found in API Server 2026-01-28 13:18:10,524 - DEBUG - VN ctest-vn-13476451 is not present in Agent 10.0.0.141 2026-01-28 13:18:10,524 - INFO - Validated that VN ctest-vn-13476451 is not in any agent 2026-01-28 13:18:10,540 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13476451 info 2026-01-28 13:18:10,540 - INFO - Deleting VN ctest-vn-94491249 2026-01-28 13:18:10,650 - DEBUG - Response for deleting network () 2026-01-28 13:18:10,650 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/a52c2dd2-c5af-4a0e-bb45-cdfad0580962 2026-01-28 13:18:10,656 - DEBUG - Response Code: 404 2026-01-28 13:18:10,656 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-28 13:18:10,664 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ceebe4b1-2a25-4dca-b8c2-5f1d2f42b9e6 2026-01-28 13:18:10,717 - DEBUG - Requesting: http://10.0.0.141:8082/project/2fe0c25f-0e2c-4823-9438-b3edf0248f76 2026-01-28 13:18:10,790 - INFO - Validated that VN ctest-vn-94491249 is not found in API Server 2026-01-28 13:18:10,800 - DEBUG - VN ctest-vn-94491249 is not present in Agent 10.0.0.141 2026-01-28 13:18:10,800 - INFO - Validated that VN ctest-vn-94491249 is not in any agent 2026-01-28 13:18:10,814 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94491249 info 2026-01-28 13:18:11,072 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 13:18:11,072 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-01-28 13:18:11,073 - INFO - -------------------------------------------------------------------------------- 2026-01-28 13:18:11,759 - INFO - Deleted project: ctest-TestBasicPolicy-27339146, ID : 2fe0c25f-0e2c-4823-9438-b3edf0248f76