2026-04-30 13:12:31,521 - INFO - Domain Default found not creating 2026-04-30 13:12:31,680 - INFO - Project ctest-TestBasicPolicy-20279267 not found, creating it 2026-04-30 13:12:32,136 - INFO - Created Project:ctest-TestBasicPolicy-20279267, ID : 93ae7a36-9440-4551-bd08-07c99b6d50c2 2026-04-30 13:12:33,629 - INFO - ================================================================================ 2026-04-30 13:12:33,629 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-30 13:12:33,629 - 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-04-30 13:12:33,885 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-30 13:12:33,885 - INFO - Initial checks done. Running the testcase now 2026-04-30 13:12:33,885 - INFO - 2026-04-30 13:12:34,443 - DEBUG - Response for create_network : {'network': {'id': '2ddbcc87-93e7-4301-b162-6f8ee74ffe9e', 'name': 'ctest-vn-63904002', 'tenant_id': '93ae7a3694404551bd0807c99b6d50c2', 'project_id': '93ae7a3694404551bd0807c99b6d50c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20279267', 'ctest-vn-63904002'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 13:12:34,622 - DEBUG - Response for create_subnet : {'subnet': {'id': '571fe480-8edb-4781-8b22-26907334e74b', 'name': '', 'tenant_id': '93ae7a3694404551bd0807c99b6d50c2', 'network_id': '2ddbcc87-93e7-4301-b162-6f8ee74ffe9e', 'ip_version': 4, 'cidr': '168.96.60.192/26', 'allocation_pools': [{'start': '168.96.60.194', 'end': '168.96.60.254'}], 'gateway_ip': '168.96.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.96.60.194', 'tags': [], 'project_id': '93ae7a3694404551bd0807c99b6d50c2'}} 2026-04-30 13:12:34,637 - INFO - Created VN ctest-vn-63904002 2026-04-30 13:12:34,687 - DEBUG - VN ctest-vn-63904002 UUID is 2ddbcc87-93e7-4301-b162-6f8ee74ffe9e 2026-04-30 13:12:34,974 - DEBUG - Response for create_network : {'network': {'id': 'd5b712f3-e768-4e27-aa56-ccc9b76f8f86', 'name': 'ctest-vn-77229230', 'tenant_id': '93ae7a3694404551bd0807c99b6d50c2', 'project_id': '93ae7a3694404551bd0807c99b6d50c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20279267', 'ctest-vn-77229230'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 13:12:35,170 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b15b5fc-01e0-4d43-ab64-76851441cf28', 'name': '', 'tenant_id': '93ae7a3694404551bd0807c99b6d50c2', 'network_id': 'd5b712f3-e768-4e27-aa56-ccc9b76f8f86', 'ip_version': 4, 'cidr': '114.22.58.128/26', 'allocation_pools': [{'start': '114.22.58.130', 'end': '114.22.58.190'}], 'gateway_ip': '114.22.58.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.22.58.130', 'tags': [], 'project_id': '93ae7a3694404551bd0807c99b6d50c2'}} 2026-04-30 13:12:35,187 - INFO - Created VN ctest-vn-77229230 2026-04-30 13:12:35,239 - DEBUG - VN ctest-vn-77229230 UUID is d5b712f3-e768-4e27-aa56-ccc9b76f8f86 2026-04-30 13:12:35,387 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-63904002, 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-20279267:ctest-vn-77229230, 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-04-30 13:12:35,683 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2ddbcc87-93e7-4301-b162-6f8ee74ffe9e', 'name': 'ctest-vn-63904002', 'tenant_id': '93ae7a3694404551bd0807c99b6d50c2', 'project_id': '93ae7a3694404551bd0807c99b6d50c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['571fe480-8edb-4781-8b22-26907334e74b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20279267', 'ctest-vn-63904002'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20279267', 'ctest-policy-allow-all-84639157']], 'subnet_ipam': [{'subnet_cidr': '168.96.60.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-30 13:12:35,894 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd5b712f3-e768-4e27-aa56-ccc9b76f8f86', 'name': 'ctest-vn-77229230', 'tenant_id': '93ae7a3694404551bd0807c99b6d50c2', 'project_id': '93ae7a3694404551bd0807c99b6d50c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8b15b5fc-01e0-4d43-ab64-76851441cf28'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20279267', 'ctest-vn-77229230'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20279267', 'ctest-policy-allow-all-84639157']], 'subnet_ipam': [{'subnet_cidr': '114.22.58.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-30 13:12:36,067 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-30 13:12:36,368 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-30 13:12:36,398 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5325adbd-92c9-4429-ab06-77d44e9ccd15 2026-04-30 13:12:36,410 - DEBUG - Requesting: http://10.0.0.38:8082/project/93ae7a36-9440-4551-bd08-07c99b6d50c2 2026-04-30 13:12:36,481 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ddbcc87-93e7-4301-b162-6f8ee74ffe9e 2026-04-30 13:12:36,492 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ddbcc87-93e7-4301-b162-6f8ee74ffe9e 2026-04-30 13:12:36,500 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/828a7996-3b7d-497e-8e51-f089f92d1383 2026-04-30 13:12:36,507 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/828a7996-3b7d-497e-8e51-f089f92d1383 2026-04-30 13:12:36,518 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a67630f9-d1b3-462a-8f54-e62e7e1eacde 2026-04-30 13:12:36,524 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-30 13:12:36,525 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ddbcc87-93e7-4301-b162-6f8ee74ffe9e 2026-04-30 13:12:36,539 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/828a7996-3b7d-497e-8e51-f089f92d1383 2026-04-30 13:12:36,552 - INFO - Verified VN network id 11 for VN 2ddbcc87-93e7-4301-b162-6f8ee74ffe9e 2026-04-30 13:12:36,553 - INFO - Verifications in API Server for VN ctest-vn-63904002 passed 2026-04-30 13:12:36,553 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ddbcc87-93e7-4301-b162-6f8ee74ffe9e 2026-04-30 13:12:36,562 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/828a7996-3b7d-497e-8e51-f089f92d1383 2026-04-30 13:12:36,568 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/828a7996-3b7d-497e-8e51-f089f92d1383 2026-04-30 13:12:36,574 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a67630f9-d1b3-462a-8f54-e62e7e1eacde 2026-04-30 13:12:36,587 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-63904002', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20279267', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3304459634280448769', 'uuid-lslong': '12781901351987707550'}, 'enable': 'true', 'created': '2026-04-30T13:12:34', 'last-modified': '2026-04-30T13:12:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927442'} 2026-04-30 13:12:36,592 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-30 13:12:36,592 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63904002 passed 2026-04-30 13:12:36,592 - DEBUG - ====Verifying policy data for ctest-vn-63904002 in API_Server ====== 2026-04-30 13:12:36,593 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-30 13:12:36,599 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5325adbd-92c9-4429-ab06-77d44e9ccd15 2026-04-30 13:12:36,610 - DEBUG - Requesting: http://10.0.0.38:8082/project/93ae7a36-9440-4551-bd08-07c99b6d50c2 2026-04-30 13:12:36,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2ddbcc87-93e7-4301-b162-6f8ee74ffe9e 2026-04-30 13:12:36,693 - DEBUG - ==>Verifying data for policy with id: 247c1ac4-3d8d-4320-9faa-01a098a7d76b, fqn: ['default-domain', 'ctest-TestBasicPolicy-20279267', 'ctest-policy-allow-all-84639157'] 2026-04-30 13:12:36,693 - INFO - VN ctest-vn-63904002 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-30 13:12:36,694 - DEBUG - Verifying the vn in opserver 2026-04-30 13:12:36,694 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-63904002 virtual network link through opserver 10.0.0.38 2026-04-30 13:12:36,694 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-30 13:12:36,989 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-30 13:12:37,045 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-63904002', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-63904002?flat'} 2026-04-30 13:12:37,045 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-63904002 is found in opserver 2026-04-30 13:12:37,054 - DEBUG - Do not have enough data to verify VN in agent 2026-04-30 13:12:37,058 - DEBUG - VRF ids for VN ctest-vn-63904002: {} 2026-04-30 13:12:37,058 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-30 13:12:37,064 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5325adbd-92c9-4429-ab06-77d44e9ccd15 2026-04-30 13:12:37,082 - DEBUG - Requesting: http://10.0.0.38:8082/project/93ae7a36-9440-4551-bd08-07c99b6d50c2 2026-04-30 13:12:37,153 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5b712f3-e768-4e27-aa56-ccc9b76f8f86 2026-04-30 13:12:37,164 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5b712f3-e768-4e27-aa56-ccc9b76f8f86 2026-04-30 13:12:37,172 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7456ef0a-a41e-4efb-a2f1-049e74558ebf 2026-04-30 13:12:37,178 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7456ef0a-a41e-4efb-a2f1-049e74558ebf 2026-04-30 13:12:37,183 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/08ac36f6-c2df-4dce-854c-d73aa289918e 2026-04-30 13:12:37,190 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-30 13:12:37,190 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5b712f3-e768-4e27-aa56-ccc9b76f8f86 2026-04-30 13:12:37,199 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7456ef0a-a41e-4efb-a2f1-049e74558ebf 2026-04-30 13:12:37,212 - INFO - Verified VN network id 12 for VN d5b712f3-e768-4e27-aa56-ccc9b76f8f86 2026-04-30 13:12:37,212 - INFO - Verifications in API Server for VN ctest-vn-77229230 passed 2026-04-30 13:12:37,212 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5b712f3-e768-4e27-aa56-ccc9b76f8f86 2026-04-30 13:12:37,221 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7456ef0a-a41e-4efb-a2f1-049e74558ebf 2026-04-30 13:12:37,227 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7456ef0a-a41e-4efb-a2f1-049e74558ebf 2026-04-30 13:12:37,234 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/08ac36f6-c2df-4dce-854c-d73aa289918e 2026-04-30 13:12:37,246 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-77229230', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20279267', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15399798289585425959', 'uuid-lslong': '12274223001182900102'}, 'enable': 'true', 'created': '2026-04-30T13:12:34', 'last-modified': '2026-04-30T13:12:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.369558'} 2026-04-30 13:12:37,255 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-30 13:12:37,255 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77229230 passed 2026-04-30 13:12:37,255 - DEBUG - ====Verifying policy data for ctest-vn-77229230 in API_Server ====== 2026-04-30 13:12:37,255 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-30 13:12:37,260 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5325adbd-92c9-4429-ab06-77d44e9ccd15 2026-04-30 13:12:37,270 - DEBUG - Requesting: http://10.0.0.38:8082/project/93ae7a36-9440-4551-bd08-07c99b6d50c2 2026-04-30 13:12:37,344 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d5b712f3-e768-4e27-aa56-ccc9b76f8f86 2026-04-30 13:12:37,352 - DEBUG - ==>Verifying data for policy with id: 247c1ac4-3d8d-4320-9faa-01a098a7d76b, fqn: ['default-domain', 'ctest-TestBasicPolicy-20279267', 'ctest-policy-allow-all-84639157'] 2026-04-30 13:12:37,352 - INFO - VN ctest-vn-77229230 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-30 13:12:37,352 - DEBUG - Verifying the vn in opserver 2026-04-30 13:12:37,352 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-77229230 virtual network link through opserver 10.0.0.38 2026-04-30 13:12:37,352 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-30 13:12:37,361 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-77229230', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-77229230?flat'} 2026-04-30 13:12:37,361 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-77229230 is found in opserver 2026-04-30 13:12:37,369 - DEBUG - Do not have enough data to verify VN in agent 2026-04-30 13:12:37,373 - DEBUG - VRF ids for VN ctest-vn-77229230: {} 2026-04-30 13:12:37,436 - DEBUG - Services list from nova: [, , ] 2026-04-30 13:12:38,463 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5731-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5731-1) 2026-04-30 13:12:39,617 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5731-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5731-1) 2026-04-30 13:12:39,617 - INFO - Waiting for VM ctest-TestBasicPolicy-20279267-21205837 to be up.. 2026-04-30 13:12:39,697 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-30 13:12:44,777 - DEBUG - VM is in ACTIVE state now 2026-04-30 13:12:44,777 - INFO - VM name : ctest-TestBasicPolicy-20279267-21205837 2026-04-30 13:12:44,850 - DEBUG - VM ctest-TestBasicPolicy-20279267-21205837 ID is b165acac-2283-49bd-88f9-eec8b97f37e5 2026-04-30 13:12:44,870 - DEBUG - VM ctest-TestBasicPolicy-20279267-21205837 launched on Node cn-jenkins-deploy-platform-ansible-os-5731-1 2026-04-30 13:12:44,960 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b165acac-2283-49bd-88f9-eec8b97f37e5 2026-04-30 13:12:44,970 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/39cda1fd-f21d-4992-a114-67a0764ad53a 2026-04-30 13:12:48,200 - 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 1023ms') 2026-04-30 13:12:48,201 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20279267-21205837 failed! 2026-04-30 13:12:48,255 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20279267:ctest-vn-63904002 is 168.96.60.193 and allocation pool is NOT set 2026-04-30 13:12:50,312 - 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=12.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.498 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.498/6.550/12.602/6.052 ms') 2026-04-30 13:12:50,312 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20279267-21205837 passed 2026-04-30 13:12:50,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 13:12:50,459 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20279267-21205837, IP 168.96.60.195, Port 22 2026-04-30 13:12:50,615 - DEBUG - VM ctest-TestBasicPolicy-20279267-21205837 is ready for SSH connections 2026-04-30 13:12:50,615 - INFO - Waiting for VM ctest-TestBasicPolicy-20279267-35303205 to be up.. 2026-04-30 13:12:50,690 - DEBUG - VM is in ACTIVE state now 2026-04-30 13:12:50,690 - INFO - VM name : ctest-TestBasicPolicy-20279267-35303205 2026-04-30 13:12:50,760 - DEBUG - VM ctest-TestBasicPolicy-20279267-35303205 ID is c29c3aa8-3282-4c64-b77b-6c9f3fa0e06a 2026-04-30 13:12:50,761 - DEBUG - VM ctest-TestBasicPolicy-20279267-35303205 launched on Node cn-jenkins-deploy-platform-ansible-os-5731-1 2026-04-30 13:12:50,839 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c29c3aa8-3282-4c64-b77b-6c9f3fa0e06a 2026-04-30 13:12:50,847 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/736183dd-0ab9-41b9-b1c1-526e0a4be0fb 2026-04-30 13:12:52,076 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.05 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.053/2.412/3.772/1.359 ms') 2026-04-30 13:12:52,077 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20279267-35303205 passed 2026-04-30 13:12:52,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 13:12:52,227 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20279267-35303205, IP 114.22.58.131, Port 22 2026-04-30 13:12:52,383 - DEBUG - VM ctest-TestBasicPolicy-20279267-35303205 is ready for SSH connections 2026-04-30 13:12:52,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 13:12:52,383 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.22.58.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-30 13:12:52,383 - DEBUG - ping -s 56 -c 3 -W 1 114.22.58.131 2026-04-30 13:12:56,367 - DEBUG - PING 114.22.58.131 (114.22.58.131): 56 data bytes 64 bytes from 114.22.58.131: seq=0 ttl=63 time=4.174 ms 64 bytes from 114.22.58.131: seq=1 ttl=63 time=1.169 ms 64 bytes from 114.22.58.131: seq=2 ttl=63 time=1.013 ms --- 114.22.58.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.013/2.118/4.174 ms 2026-04-30 13:12:56,367 - INFO - Ping to IP 114.22.58.131 from VM ctest-TestBasicPolicy-20279267-21205837 passed 2026-04-30 13:12:56,535 - DEBUG - Policy Update Response {"network-policy": {"uuid": "247c1ac4-3d8d-4320-9faa-01a098a7d76b", "href": "http://10.0.0.38:8082/network-policy/247c1ac4-3d8d-4320-9faa-01a098a7d76b"}} 2026-04-30 13:12:56,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 13:12:56,535 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.22.58.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-30 13:12:56,535 - DEBUG - ping -s 56 -c 3 -W 1 114.22.58.131 2026-04-30 13:12:59,746 - DEBUG - PING 114.22.58.131 (114.22.58.131): 56 data bytes --- 114.22.58.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-30 13:12:59,746 - WARNING - Ping to IP 114.22.58.131 from VM ctest-TestBasicPolicy-20279267-21205837 failed 2026-04-30 13:12:59,746 - INFO - Deleting VM ctest-TestBasicPolicy-20279267-35303205 2026-04-30 13:12:59,810 - INFO - Deleting VM ctest-TestBasicPolicy-20279267-21205837 2026-04-30 13:13:00,151 - INFO - Deleted policy ctest-policy-allow-all-84639157 2026-04-30 13:13:00,151 - INFO - Deleting VN ctest-vn-77229230 2026-04-30 13:13:00,187 - DEBUG - VN d5b712f3-e768-4e27-aa56-ccc9b76f8f86 still in use: Unable to complete operation on network d5b712f3-e768-4e27-aa56-ccc9b76f8f86. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a70b0cc4-a27f-4988-a4f1-c0dd469bb4bd'] 2026-04-30 13:13:00,187 - WARNING - Deleting VN ctest-vn-77229230 failed..Will retry 2026-04-30 13:13:02,305 - DEBUG - Response for deleting network () 2026-04-30 13:13:02,305 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7456ef0a-a41e-4efb-a2f1-049e74558ebf 2026-04-30 13:13:02,310 - DEBUG - Response Code: 404 2026-04-30 13:13:02,310 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-30 13:13:02,314 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5325adbd-92c9-4429-ab06-77d44e9ccd15 2026-04-30 13:13:02,368 - DEBUG - Requesting: http://10.0.0.38:8082/project/93ae7a36-9440-4551-bd08-07c99b6d50c2 2026-04-30 13:13:02,433 - INFO - Validated that VN ctest-vn-77229230 is not found in API Server 2026-04-30 13:13:02,442 - DEBUG - VN ctest-vn-77229230 is not present in Agent 10.0.0.38 2026-04-30 13:13:02,442 - INFO - Validated that VN ctest-vn-77229230 is not in any agent 2026-04-30 13:13:02,455 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77229230 info 2026-04-30 13:13:02,455 - INFO - Deleting VN ctest-vn-63904002 2026-04-30 13:13:02,549 - DEBUG - Response for deleting network () 2026-04-30 13:13:02,549 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/828a7996-3b7d-497e-8e51-f089f92d1383 2026-04-30 13:13:02,556 - DEBUG - Response Code: 404 2026-04-30 13:13:02,556 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-30 13:13:02,561 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5325adbd-92c9-4429-ab06-77d44e9ccd15 2026-04-30 13:13:02,612 - DEBUG - Requesting: http://10.0.0.38:8082/project/93ae7a36-9440-4551-bd08-07c99b6d50c2 2026-04-30 13:13:02,683 - INFO - Validated that VN ctest-vn-63904002 is not found in API Server 2026-04-30 13:13:02,693 - DEBUG - VN ctest-vn-63904002 is not present in Agent 10.0.0.38 2026-04-30 13:13:02,693 - INFO - Validated that VN ctest-vn-63904002 is not in any agent 2026-04-30 13:13:02,707 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63904002 info 2026-04-30 13:13:02,970 - DEBUG - No XMPP flaps were noticed during the test 2026-04-30 13:13:02,970 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-04-30 13:13:02,970 - INFO - -------------------------------------------------------------------------------- 2026-04-30 13:13:03,645 - INFO - Deleted project: ctest-TestBasicPolicy-20279267, ID : 93ae7a36-9440-4551-bd08-07c99b6d50c2