2026-06-04 16:20:15,179 - INFO - Domain Default found not creating 2026-06-04 16:20:15,375 - INFO - Project ctest-TestBasicPolicy-18477264 not found, creating it 2026-06-04 16:20:15,852 - INFO - Created Project:ctest-TestBasicPolicy-18477264, ID : 4f662dd0-a350-40c1-8cf5-f43d52ad911e 2026-06-04 16:20:17,355 - INFO - ================================================================================ 2026-06-04 16:20:17,355 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-04 16:20:17,355 - 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-06-04 16:20:17,608 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.18': '0'}} with 2026-06-04 16:20:17,608 - INFO - Initial checks done. Running the testcase now 2026-06-04 16:20:17,608 - INFO - 2026-06-04 16:20:18,172 - DEBUG - Response for create_network : {'network': {'id': '40dfedde-3532-461b-a105-699e1acb4ab9', 'name': 'ctest-vn-48786452', 'tenant_id': '4f662dd0a35040c18cf5f43d52ad911e', 'project_id': '4f662dd0a35040c18cf5f43d52ad911e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18477264', 'ctest-vn-48786452'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 16:20:18,322 - DEBUG - Response for create_subnet : {'subnet': {'id': '0eccc3d9-e566-4774-857e-9da711d42497', 'name': '', 'tenant_id': '4f662dd0a35040c18cf5f43d52ad911e', 'network_id': '40dfedde-3532-461b-a105-699e1acb4ab9', 'ip_version': 4, 'cidr': '71.49.130.0/26', 'allocation_pools': [{'start': '71.49.130.2', 'end': '71.49.130.62'}], 'gateway_ip': '71.49.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.49.130.2', 'tags': [], 'project_id': '4f662dd0a35040c18cf5f43d52ad911e'}} 2026-06-04 16:20:18,340 - INFO - Created VN ctest-vn-48786452 2026-06-04 16:20:18,390 - DEBUG - VN ctest-vn-48786452 UUID is 40dfedde-3532-461b-a105-699e1acb4ab9 2026-06-04 16:20:18,730 - DEBUG - Response for create_network : {'network': {'id': '7d776b4c-1aec-4fd8-b392-88c84abeac9b', 'name': 'ctest-vn-85737660', 'tenant_id': '4f662dd0a35040c18cf5f43d52ad911e', 'project_id': '4f662dd0a35040c18cf5f43d52ad911e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18477264', 'ctest-vn-85737660'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 16:20:18,916 - DEBUG - Response for create_subnet : {'subnet': {'id': '25a25f3a-7081-41d9-bf9a-c426959e9a53', 'name': '', 'tenant_id': '4f662dd0a35040c18cf5f43d52ad911e', 'network_id': '7d776b4c-1aec-4fd8-b392-88c84abeac9b', 'ip_version': 4, 'cidr': '123.231.46.0/26', 'allocation_pools': [{'start': '123.231.46.2', 'end': '123.231.46.62'}], 'gateway_ip': '123.231.46.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.231.46.2', 'tags': [], 'project_id': '4f662dd0a35040c18cf5f43d52ad911e'}} 2026-06-04 16:20:18,935 - INFO - Created VN ctest-vn-85737660 2026-06-04 16:20:18,986 - DEBUG - VN ctest-vn-85737660 UUID is 7d776b4c-1aec-4fd8-b392-88c84abeac9b 2026-06-04 16:20:19,134 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18477264:ctest-vn-48786452, 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-18477264:ctest-vn-85737660, 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-06-04 16:20:19,423 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '40dfedde-3532-461b-a105-699e1acb4ab9', 'name': 'ctest-vn-48786452', 'tenant_id': '4f662dd0a35040c18cf5f43d52ad911e', 'project_id': '4f662dd0a35040c18cf5f43d52ad911e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0eccc3d9-e566-4774-857e-9da711d42497'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18477264', 'ctest-vn-48786452'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18477264', 'ctest-policy-allow-all-01738429']], 'subnet_ipam': [{'subnet_cidr': '71.49.130.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-04 16:20:19,646 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d776b4c-1aec-4fd8-b392-88c84abeac9b', 'name': 'ctest-vn-85737660', 'tenant_id': '4f662dd0a35040c18cf5f43d52ad911e', 'project_id': '4f662dd0a35040c18cf5f43d52ad911e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['25a25f3a-7081-41d9-bf9a-c426959e9a53'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18477264', 'ctest-vn-85737660'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18477264', 'ctest-policy-allow-all-01738429']], 'subnet_ipam': [{'subnet_cidr': '123.231.46.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-04 16:20:19,806 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-06-04 16:20:20,106 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-06-04 16:20:20,140 - DEBUG - Requesting: http://10.0.0.129:8082/domain/749c21dd-f00a-4e48-8a23-a95d17fee122 2026-06-04 16:20:20,160 - DEBUG - Requesting: http://10.0.0.129:8082/project/4f662dd0-a350-40c1-8cf5-f43d52ad911e 2026-06-04 16:20:20,233 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/40dfedde-3532-461b-a105-699e1acb4ab9 2026-06-04 16:20:20,244 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/40dfedde-3532-461b-a105-699e1acb4ab9 2026-06-04 16:20:20,253 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/f9b06a7a-a84d-4849-a2be-e17e21b1dcdc 2026-06-04 16:20:20,260 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/f9b06a7a-a84d-4849-a2be-e17e21b1dcdc 2026-06-04 16:20:20,268 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/7eeb185b-7b09-4234-995c-1149a43d7dc6 2026-06-04 16:20:20,276 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 16:20:20,276 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/40dfedde-3532-461b-a105-699e1acb4ab9 2026-06-04 16:20:20,288 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/f9b06a7a-a84d-4849-a2be-e17e21b1dcdc 2026-06-04 16:20:20,304 - INFO - Verified VN network id 11 for VN 40dfedde-3532-461b-a105-699e1acb4ab9 2026-06-04 16:20:20,304 - INFO - Verifications in API Server for VN ctest-vn-48786452 passed 2026-06-04 16:20:20,304 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/40dfedde-3532-461b-a105-699e1acb4ab9 2026-06-04 16:20:20,314 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/f9b06a7a-a84d-4849-a2be-e17e21b1dcdc 2026-06-04 16:20:20,321 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/f9b06a7a-a84d-4849-a2be-e17e21b1dcdc 2026-06-04 16:20:20,329 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/7eeb185b-7b09-4234-995c-1149a43d7dc6 2026-06-04 16:20:20,342 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18477264:ctest-vn-48786452', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18477264', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4674716476864874011', 'uuid-lslong': '11602796142765230777'}, 'enable': 'true', 'created': '2026-06-04T16:20:18', 'last-modified': '2026-06-04T16:20:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.939627'} 2026-06-04 16:20:20,349 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-04 16:20:20,349 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48786452 passed 2026-06-04 16:20:20,350 - DEBUG - ====Verifying policy data for ctest-vn-48786452 in API_Server ====== 2026-06-04 16:20:20,350 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-06-04 16:20:20,356 - DEBUG - Requesting: http://10.0.0.129:8082/domain/749c21dd-f00a-4e48-8a23-a95d17fee122 2026-06-04 16:20:20,367 - DEBUG - Requesting: http://10.0.0.129:8082/project/4f662dd0-a350-40c1-8cf5-f43d52ad911e 2026-06-04 16:20:20,450 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/40dfedde-3532-461b-a105-699e1acb4ab9 2026-06-04 16:20:20,459 - DEBUG - ==>Verifying data for policy with id: 097b67ad-b0bb-4134-9f7c-0462a0121106, fqn: ['default-domain', 'ctest-TestBasicPolicy-18477264', 'ctest-policy-allow-all-01738429'] 2026-06-04 16:20:20,459 - INFO - VN ctest-vn-48786452 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 16:20:20,459 - DEBUG - Verifying the vn in opserver 2026-06-04 16:20:20,459 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18477264:ctest-vn-48786452 virtual network link through opserver 10.0.0.129 2026-06-04 16:20:20,459 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-04 16:20:20,754 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-04 16:20:20,829 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18477264:ctest-vn-48786452', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18477264:ctest-vn-48786452?flat'} 2026-06-04 16:20:20,829 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18477264:ctest-vn-48786452 is found in opserver 2026-06-04 16:20:20,838 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 16:20:20,843 - DEBUG - VRF ids for VN ctest-vn-48786452: {} 2026-06-04 16:20:20,844 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-06-04 16:20:20,849 - DEBUG - Requesting: http://10.0.0.129:8082/domain/749c21dd-f00a-4e48-8a23-a95d17fee122 2026-06-04 16:20:20,858 - DEBUG - Requesting: http://10.0.0.129:8082/project/4f662dd0-a350-40c1-8cf5-f43d52ad911e 2026-06-04 16:20:20,924 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7d776b4c-1aec-4fd8-b392-88c84abeac9b 2026-06-04 16:20:20,939 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7d776b4c-1aec-4fd8-b392-88c84abeac9b 2026-06-04 16:20:20,948 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3176caea-28e2-46b8-9ee8-7b1bb6bc95df 2026-06-04 16:20:20,954 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3176caea-28e2-46b8-9ee8-7b1bb6bc95df 2026-06-04 16:20:20,960 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/81f0d3d0-9503-4f8d-82bd-d652a93a475b 2026-06-04 16:20:20,965 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-04 16:20:20,965 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7d776b4c-1aec-4fd8-b392-88c84abeac9b 2026-06-04 16:20:20,973 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3176caea-28e2-46b8-9ee8-7b1bb6bc95df 2026-06-04 16:20:20,986 - INFO - Verified VN network id 12 for VN 7d776b4c-1aec-4fd8-b392-88c84abeac9b 2026-06-04 16:20:20,986 - INFO - Verifications in API Server for VN ctest-vn-85737660 passed 2026-06-04 16:20:20,986 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7d776b4c-1aec-4fd8-b392-88c84abeac9b 2026-06-04 16:20:20,998 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3176caea-28e2-46b8-9ee8-7b1bb6bc95df 2026-06-04 16:20:21,006 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3176caea-28e2-46b8-9ee8-7b1bb6bc95df 2026-06-04 16:20:21,013 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/81f0d3d0-9503-4f8d-82bd-d652a93a475b 2026-06-04 16:20:21,024 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18477264:ctest-vn-85737660', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18477264', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9040812751582941144', 'uuid-lslong': '12939555073217703067'}, 'enable': 'true', 'created': '2026-06-04T16:20:18', 'last-modified': '2026-06-04T16:20:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.395976'} 2026-06-04 16:20:21,031 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-04 16:20:21,031 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85737660 passed 2026-06-04 16:20:21,031 - DEBUG - ====Verifying policy data for ctest-vn-85737660 in API_Server ====== 2026-06-04 16:20:21,031 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-06-04 16:20:21,038 - DEBUG - Requesting: http://10.0.0.129:8082/domain/749c21dd-f00a-4e48-8a23-a95d17fee122 2026-06-04 16:20:21,048 - DEBUG - Requesting: http://10.0.0.129:8082/project/4f662dd0-a350-40c1-8cf5-f43d52ad911e 2026-06-04 16:20:21,114 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/7d776b4c-1aec-4fd8-b392-88c84abeac9b 2026-06-04 16:20:21,122 - DEBUG - ==>Verifying data for policy with id: 097b67ad-b0bb-4134-9f7c-0462a0121106, fqn: ['default-domain', 'ctest-TestBasicPolicy-18477264', 'ctest-policy-allow-all-01738429'] 2026-06-04 16:20:21,122 - INFO - VN ctest-vn-85737660 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-04 16:20:21,122 - DEBUG - Verifying the vn in opserver 2026-06-04 16:20:21,122 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18477264:ctest-vn-85737660 virtual network link through opserver 10.0.0.129 2026-06-04 16:20:21,122 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-06-04 16:20:21,132 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18477264:ctest-vn-85737660', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18477264:ctest-vn-85737660?flat'} 2026-06-04 16:20:21,132 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18477264:ctest-vn-85737660 is found in opserver 2026-06-04 16:20:21,142 - DEBUG - Do not have enough data to verify VN in agent 2026-06-04 16:20:21,146 - DEBUG - VRF ids for VN ctest-vn-85737660: {} 2026-06-04 16:20:21,210 - DEBUG - Services list from nova: [, , ] 2026-06-04 16:20:22,247 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5891-1) 2026-06-04 16:20:23,462 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5891-1) 2026-06-04 16:20:23,463 - INFO - Waiting for VM ctest-TestBasicPolicy-18477264-25639343 to be up.. 2026-06-04 16:20:23,537 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-04 16:20:28,615 - DEBUG - VM is in ACTIVE state now 2026-06-04 16:20:28,615 - INFO - VM name : ctest-TestBasicPolicy-18477264-25639343 2026-06-04 16:20:28,688 - DEBUG - VM ctest-TestBasicPolicy-18477264-25639343 ID is ecaf98fe-ad33-4b05-b1ba-46e56b3cc88b 2026-06-04 16:20:28,707 - DEBUG - VM ctest-TestBasicPolicy-18477264-25639343 launched on Node cn-jenkins-deploy-platform-ansible-os-5891-1 2026-06-04 16:20:28,784 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/ecaf98fe-ad33-4b05-b1ba-46e56b3cc88b 2026-06-04 16:20:28,794 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/c28c2f04-c614-4119-a6c5-48b851ed43da 2026-06-04 16:20:32,073 - 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 1026ms') 2026-06-04 16:20:32,073 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18477264-25639343 failed! 2026-06-04 16:20:32,126 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18477264:ctest-vn-48786452 is 71.49.130.1 and allocation pool is NOT set 2026-06-04 16:20:34,191 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.454 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.454/3.524/6.595/3.070 ms') 2026-06-04 16:20:34,191 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18477264-25639343 passed 2026-06-04 16:20:34,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 16:20:34,342 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18477264-25639343, IP 71.49.130.3, Port 22 2026-06-04 16:20:34,499 - DEBUG - VM ctest-TestBasicPolicy-18477264-25639343 is ready for SSH connections 2026-06-04 16:20:34,499 - INFO - Waiting for VM ctest-TestBasicPolicy-18477264-61584999 to be up.. 2026-06-04 16:20:34,578 - DEBUG - VM is in ACTIVE state now 2026-06-04 16:20:34,578 - INFO - VM name : ctest-TestBasicPolicy-18477264-61584999 2026-06-04 16:20:34,650 - DEBUG - VM ctest-TestBasicPolicy-18477264-61584999 ID is 435b79b6-25bd-4f93-8336-1e4d2b3f7b36 2026-06-04 16:20:34,650 - DEBUG - VM ctest-TestBasicPolicy-18477264-61584999 launched on Node cn-jenkins-deploy-platform-ansible-os-5891-1 2026-06-04 16:20:34,724 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/435b79b6-25bd-4f93-8336-1e4d2b3f7b36 2026-06-04 16:20:34,732 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/a9e0c006-35ea-4513-a23c-7b1bcbdc4421 2026-06-04 16:20:35,972 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.586 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 = 0.586/1.661/2.737/1.075 ms') 2026-06-04 16:20:35,972 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18477264-61584999 passed 2026-06-04 16:20:36,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 16:20:36,122 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18477264-61584999, IP 123.231.46.3, Port 22 2026-06-04 16:20:36,278 - DEBUG - VM ctest-TestBasicPolicy-18477264-61584999 is ready for SSH connections 2026-06-04 16:20:36,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 16:20:36,278 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.231.46.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-04 16:20:36,278 - DEBUG - ping -s 56 -c 3 -W 1 123.231.46.3 2026-06-04 16:20:40,318 - DEBUG - PING 123.231.46.3 (123.231.46.3): 56 data bytes 64 bytes from 123.231.46.3: seq=0 ttl=63 time=4.914 ms 64 bytes from 123.231.46.3: seq=1 ttl=63 time=1.169 ms 64 bytes from 123.231.46.3: seq=2 ttl=63 time=1.020 ms --- 123.231.46.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.020/2.367/4.914 ms 2026-06-04 16:20:40,318 - INFO - Ping to IP 123.231.46.3 from VM ctest-TestBasicPolicy-18477264-25639343 passed 2026-06-04 16:20:40,490 - DEBUG - Policy Update Response {"network-policy": {"uuid": "097b67ad-b0bb-4134-9f7c-0462a0121106", "href": "http://10.0.0.129:8082/network-policy/097b67ad-b0bb-4134-9f7c-0462a0121106"}} 2026-06-04 16:20:40,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 16:20:40,490 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.231.46.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-04 16:20:40,490 - DEBUG - ping -s 56 -c 3 -W 1 123.231.46.3 2026-06-04 16:20:43,710 - DEBUG - PING 123.231.46.3 (123.231.46.3): 56 data bytes --- 123.231.46.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-04 16:20:43,710 - WARNING - Ping to IP 123.231.46.3 from VM ctest-TestBasicPolicy-18477264-25639343 failed 2026-06-04 16:20:43,710 - INFO - Deleting VM ctest-TestBasicPolicy-18477264-61584999 2026-06-04 16:20:43,775 - INFO - Deleting VM ctest-TestBasicPolicy-18477264-25639343 2026-06-04 16:20:44,163 - INFO - Deleted policy ctest-policy-allow-all-01738429 2026-06-04 16:20:44,164 - INFO - Deleting VN ctest-vn-85737660 2026-06-04 16:20:44,198 - DEBUG - VN 7d776b4c-1aec-4fd8-b392-88c84abeac9b still in use: Unable to complete operation on network 7d776b4c-1aec-4fd8-b392-88c84abeac9b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-12c8aa66-f081-443e-89a4-1f26de34b67d'] 2026-06-04 16:20:44,198 - WARNING - Deleting VN ctest-vn-85737660 failed..Will retry 2026-06-04 16:20:46,306 - DEBUG - Response for deleting network () 2026-06-04 16:20:46,306 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/3176caea-28e2-46b8-9ee8-7b1bb6bc95df 2026-06-04 16:20:46,311 - DEBUG - Response Code: 404 2026-06-04 16:20:46,312 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-06-04 16:20:46,321 - DEBUG - Requesting: http://10.0.0.129:8082/domain/749c21dd-f00a-4e48-8a23-a95d17fee122 2026-06-04 16:20:46,375 - DEBUG - Requesting: http://10.0.0.129:8082/project/4f662dd0-a350-40c1-8cf5-f43d52ad911e 2026-06-04 16:20:46,441 - INFO - Validated that VN ctest-vn-85737660 is not found in API Server 2026-06-04 16:20:46,451 - DEBUG - VN ctest-vn-85737660 is not present in Agent 10.0.0.129 2026-06-04 16:20:46,451 - INFO - Validated that VN ctest-vn-85737660 is not in any agent 2026-06-04 16:20:46,465 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85737660 info 2026-06-04 16:20:46,466 - INFO - Deleting VN ctest-vn-48786452 2026-06-04 16:20:46,564 - DEBUG - Response for deleting network () 2026-06-04 16:20:46,565 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/f9b06a7a-a84d-4849-a2be-e17e21b1dcdc 2026-06-04 16:20:46,570 - DEBUG - Response Code: 404 2026-06-04 16:20:46,570 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-06-04 16:20:46,575 - DEBUG - Requesting: http://10.0.0.129:8082/domain/749c21dd-f00a-4e48-8a23-a95d17fee122 2026-06-04 16:20:46,627 - DEBUG - Requesting: http://10.0.0.129:8082/project/4f662dd0-a350-40c1-8cf5-f43d52ad911e 2026-06-04 16:20:46,697 - INFO - Validated that VN ctest-vn-48786452 is not found in API Server 2026-06-04 16:20:46,707 - DEBUG - VN ctest-vn-48786452 is not present in Agent 10.0.0.129 2026-06-04 16:20:46,707 - INFO - Validated that VN ctest-vn-48786452 is not in any agent 2026-06-04 16:20:46,722 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48786452 info 2026-06-04 16:20:46,979 - DEBUG - No XMPP flaps were noticed during the test
2026-06-04 16:20:46,979 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-06-04 16:20:46,980 - INFO - -------------------------------------------------------------------------------- 2026-06-04 16:20:47,665 - INFO - Deleted project: ctest-TestBasicPolicy-18477264, ID : 4f662dd0-a350-40c1-8cf5-f43d52ad911e