2026-02-20 15:43:13,206 - INFO - Domain Default found not creating 2026-02-20 15:43:13,365 - INFO - Project ctest-TestBasicPolicy-43003872 not found, creating it 2026-02-20 15:43:13,810 - INFO - Created Project:ctest-TestBasicPolicy-43003872, ID : c0a8ddc1-d7cd-4fe2-9697-6e44bcb1bd1c 2026-02-20 15:43:15,217 - INFO - ================================================================================ 2026-02-20 15:43:15,217 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-20 15:43:15,217 - 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-02-20 15:43:15,471 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-02-20 15:43:15,471 - INFO - Initial checks done. Running the testcase now 2026-02-20 15:43:15,471 - INFO - 2026-02-20 15:43:16,003 - DEBUG - Response for create_network : {'network': {'id': '2d4f1597-f862-440d-8029-a8b5db774763', 'name': 'ctest-vn-60735913', 'tenant_id': 'c0a8ddc1d7cd4fe296976e44bcb1bd1c', 'project_id': 'c0a8ddc1d7cd4fe296976e44bcb1bd1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43003872', 'ctest-vn-60735913'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 15:43:16,149 - DEBUG - Response for create_subnet : {'subnet': {'id': '89610fee-10bf-4bf1-9ad2-9ab1faf4d14d', 'name': '', 'tenant_id': 'c0a8ddc1d7cd4fe296976e44bcb1bd1c', 'network_id': '2d4f1597-f862-440d-8029-a8b5db774763', 'ip_version': 4, 'cidr': '118.116.92.128/26', 'allocation_pools': [{'start': '118.116.92.130', 'end': '118.116.92.190'}], 'gateway_ip': '118.116.92.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.116.92.130', 'tags': [], 'project_id': 'c0a8ddc1d7cd4fe296976e44bcb1bd1c'}} 2026-02-20 15:43:16,166 - INFO - Created VN ctest-vn-60735913 2026-02-20 15:43:16,218 - DEBUG - VN ctest-vn-60735913 UUID is 2d4f1597-f862-440d-8029-a8b5db774763 2026-02-20 15:43:16,475 - DEBUG - Response for create_network : {'network': {'id': '30000a1c-381e-4f0b-ab38-b7287f9d7578', 'name': 'ctest-vn-81406677', 'tenant_id': 'c0a8ddc1d7cd4fe296976e44bcb1bd1c', 'project_id': 'c0a8ddc1d7cd4fe296976e44bcb1bd1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43003872', 'ctest-vn-81406677'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 15:43:16,669 - DEBUG - Response for create_subnet : {'subnet': {'id': '6aaefebd-2571-420b-8e4f-9f1d826e9a3a', 'name': '', 'tenant_id': 'c0a8ddc1d7cd4fe296976e44bcb1bd1c', 'network_id': '30000a1c-381e-4f0b-ab38-b7287f9d7578', 'ip_version': 4, 'cidr': '117.123.164.192/26', 'allocation_pools': [{'start': '117.123.164.194', 'end': '117.123.164.254'}], 'gateway_ip': '117.123.164.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.123.164.194', 'tags': [], 'project_id': 'c0a8ddc1d7cd4fe296976e44bcb1bd1c'}} 2026-02-20 15:43:16,685 - INFO - Created VN ctest-vn-81406677 2026-02-20 15:43:16,734 - DEBUG - VN ctest-vn-81406677 UUID is 30000a1c-381e-4f0b-ab38-b7287f9d7578 2026-02-20 15:43:16,882 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43003872:ctest-vn-60735913, 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-43003872:ctest-vn-81406677, 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-02-20 15:43:17,165 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d4f1597-f862-440d-8029-a8b5db774763', 'name': 'ctest-vn-60735913', 'tenant_id': 'c0a8ddc1d7cd4fe296976e44bcb1bd1c', 'project_id': 'c0a8ddc1d7cd4fe296976e44bcb1bd1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['89610fee-10bf-4bf1-9ad2-9ab1faf4d14d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43003872', 'ctest-vn-60735913'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43003872', 'ctest-policy-allow-all-36039411']], 'subnet_ipam': [{'subnet_cidr': '118.116.92.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 15:43:17,377 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '30000a1c-381e-4f0b-ab38-b7287f9d7578', 'name': 'ctest-vn-81406677', 'tenant_id': 'c0a8ddc1d7cd4fe296976e44bcb1bd1c', 'project_id': 'c0a8ddc1d7cd4fe296976e44bcb1bd1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6aaefebd-2571-420b-8e4f-9f1d826e9a3a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43003872', 'ctest-vn-81406677'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43003872', 'ctest-policy-allow-all-36039411']], 'subnet_ipam': [{'subnet_cidr': '117.123.164.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 15:43:17,538 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-20 15:43:17,831 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-20 15:43:17,860 - DEBUG - Requesting: http://10.0.0.33:8082/domain/47d15c28-0efb-47b3-9a09-cde1233ca22b 2026-02-20 15:43:17,873 - DEBUG - Requesting: http://10.0.0.33:8082/project/c0a8ddc1-d7cd-4fe2-9697-6e44bcb1bd1c 2026-02-20 15:43:17,943 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2d4f1597-f862-440d-8029-a8b5db774763 2026-02-20 15:43:17,954 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2d4f1597-f862-440d-8029-a8b5db774763 2026-02-20 15:43:17,964 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ee3ce597-2d6e-42fa-a006-47b25922affe 2026-02-20 15:43:17,970 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ee3ce597-2d6e-42fa-a006-47b25922affe 2026-02-20 15:43:17,976 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7de5aafa-b7f7-40e5-b674-eeec545745c4 2026-02-20 15:43:17,982 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 15:43:17,982 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2d4f1597-f862-440d-8029-a8b5db774763 2026-02-20 15:43:17,991 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ee3ce597-2d6e-42fa-a006-47b25922affe 2026-02-20 15:43:18,004 - INFO - Verified VN network id 11 for VN 2d4f1597-f862-440d-8029-a8b5db774763 2026-02-20 15:43:18,004 - INFO - Verifications in API Server for VN ctest-vn-60735913 passed 2026-02-20 15:43:18,004 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2d4f1597-f862-440d-8029-a8b5db774763 2026-02-20 15:43:18,013 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ee3ce597-2d6e-42fa-a006-47b25922affe 2026-02-20 15:43:18,019 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ee3ce597-2d6e-42fa-a006-47b25922affe 2026-02-20 15:43:18,025 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7de5aafa-b7f7-40e5-b674-eeec545745c4 2026-02-20 15:43:18,035 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43003872:ctest-vn-60735913', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43003872', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3264851997318333453', 'uuid-lslong': '9235098009924487011'}, 'enable': 'true', 'created': '2026-02-20T15:43:15', 'last-modified': '2026-02-20T15:43:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.889029'} 2026-02-20 15:43:18,040 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 15:43:18,041 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60735913 passed 2026-02-20 15:43:18,041 - DEBUG - ====Verifying policy data for ctest-vn-60735913 in API_Server ====== 2026-02-20 15:43:18,041 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-20 15:43:18,045 - DEBUG - Requesting: http://10.0.0.33:8082/domain/47d15c28-0efb-47b3-9a09-cde1233ca22b 2026-02-20 15:43:18,055 - DEBUG - Requesting: http://10.0.0.33:8082/project/c0a8ddc1-d7cd-4fe2-9697-6e44bcb1bd1c 2026-02-20 15:43:18,122 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2d4f1597-f862-440d-8029-a8b5db774763 2026-02-20 15:43:18,130 - DEBUG - ==>Verifying data for policy with id: 55ebda1d-9741-4470-aef4-8ff847424c3d, fqn: ['default-domain', 'ctest-TestBasicPolicy-43003872', 'ctest-policy-allow-all-36039411'] 2026-02-20 15:43:18,130 - INFO - VN ctest-vn-60735913 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 15:43:18,130 - DEBUG - Verifying the vn in opserver 2026-02-20 15:43:18,130 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43003872:ctest-vn-60735913 virtual network link through opserver 10.0.0.33 2026-02-20 15:43:18,131 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-20 15:43:18,421 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-20 15:43:18,477 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43003872:ctest-vn-60735913', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43003872:ctest-vn-60735913?flat'} 2026-02-20 15:43:18,477 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43003872:ctest-vn-60735913 is found in opserver 2026-02-20 15:43:18,486 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 15:43:18,491 - DEBUG - VRF ids for VN ctest-vn-60735913: {} 2026-02-20 15:43:18,491 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-20 15:43:18,496 - DEBUG - Requesting: http://10.0.0.33:8082/domain/47d15c28-0efb-47b3-9a09-cde1233ca22b 2026-02-20 15:43:18,507 - DEBUG - Requesting: http://10.0.0.33:8082/project/c0a8ddc1-d7cd-4fe2-9697-6e44bcb1bd1c 2026-02-20 15:43:18,573 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/30000a1c-381e-4f0b-ab38-b7287f9d7578 2026-02-20 15:43:18,583 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/30000a1c-381e-4f0b-ab38-b7287f9d7578 2026-02-20 15:43:18,592 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/90b64cff-28e5-4c8a-9a84-34f4af11425c 2026-02-20 15:43:18,599 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/90b64cff-28e5-4c8a-9a84-34f4af11425c 2026-02-20 15:43:18,606 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d699fed8-28ed-4a58-b06f-431770ebb002 2026-02-20 15:43:18,613 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 15:43:18,613 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/30000a1c-381e-4f0b-ab38-b7287f9d7578 2026-02-20 15:43:18,623 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/90b64cff-28e5-4c8a-9a84-34f4af11425c 2026-02-20 15:43:18,636 - INFO - Verified VN network id 12 for VN 30000a1c-381e-4f0b-ab38-b7287f9d7578 2026-02-20 15:43:18,636 - INFO - Verifications in API Server for VN ctest-vn-81406677 passed 2026-02-20 15:43:18,636 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/30000a1c-381e-4f0b-ab38-b7287f9d7578 2026-02-20 15:43:18,644 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/90b64cff-28e5-4c8a-9a84-34f4af11425c 2026-02-20 15:43:18,651 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/90b64cff-28e5-4c8a-9a84-34f4af11425c 2026-02-20 15:43:18,658 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d699fed8-28ed-4a58-b06f-431770ebb002 2026-02-20 15:43:18,673 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43003872:ctest-vn-81406677', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43003872', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3458775630137413387', 'uuid-lslong': '12337812563749074296'}, 'enable': 'true', 'created': '2026-02-20T15:43:16', 'last-modified': '2026-02-20T15:43:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.312618'} 2026-02-20 15:43:18,681 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 15:43:18,681 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81406677 passed 2026-02-20 15:43:18,681 - DEBUG - ====Verifying policy data for ctest-vn-81406677 in API_Server ====== 2026-02-20 15:43:18,681 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-20 15:43:18,687 - DEBUG - Requesting: http://10.0.0.33:8082/domain/47d15c28-0efb-47b3-9a09-cde1233ca22b 2026-02-20 15:43:18,697 - DEBUG - Requesting: http://10.0.0.33:8082/project/c0a8ddc1-d7cd-4fe2-9697-6e44bcb1bd1c 2026-02-20 15:43:18,772 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/30000a1c-381e-4f0b-ab38-b7287f9d7578 2026-02-20 15:43:18,783 - DEBUG - ==>Verifying data for policy with id: 55ebda1d-9741-4470-aef4-8ff847424c3d, fqn: ['default-domain', 'ctest-TestBasicPolicy-43003872', 'ctest-policy-allow-all-36039411'] 2026-02-20 15:43:18,783 - INFO - VN ctest-vn-81406677 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 15:43:18,783 - DEBUG - Verifying the vn in opserver 2026-02-20 15:43:18,783 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43003872:ctest-vn-81406677 virtual network link through opserver 10.0.0.33 2026-02-20 15:43:18,783 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-20 15:43:18,795 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43003872:ctest-vn-81406677', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43003872:ctest-vn-81406677?flat'} 2026-02-20 15:43:18,795 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43003872:ctest-vn-81406677 is found in opserver 2026-02-20 15:43:18,806 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 15:43:18,811 - DEBUG - VRF ids for VN ctest-vn-81406677: {} 2026-02-20 15:43:18,870 - DEBUG - Services list from nova: [, , ] 2026-02-20 15:43:19,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5375-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5375-1) 2026-02-20 15:43:20,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5375-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5375-1) 2026-02-20 15:43:20,972 - INFO - Waiting for VM ctest-TestBasicPolicy-43003872-21683799 to be up.. 2026-02-20 15:43:21,053 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-20 15:43:26,127 - DEBUG - VM is in ACTIVE state now 2026-02-20 15:43:26,127 - INFO - VM name : ctest-TestBasicPolicy-43003872-21683799 2026-02-20 15:43:26,195 - DEBUG - VM ctest-TestBasicPolicy-43003872-21683799 ID is fcc71eb1-a551-4293-93f5-d8836358a99a 2026-02-20 15:43:26,211 - DEBUG - VM ctest-TestBasicPolicy-43003872-21683799 launched on Node cn-jenkins-deploy-platform-ansible-os-5375-1 2026-02-20 15:43:26,280 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fcc71eb1-a551-4293-93f5-d8836358a99a 2026-02-20 15:43:26,287 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/53d3ac99-d83d-4dfd-af34-3ed18d2193d8 2026-02-20 15:43:29,520 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms') 2026-02-20 15:43:29,520 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43003872-21683799 failed! 2026-02-20 15:43:29,574 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43003872:ctest-vn-60735913 is 118.116.92.129 and allocation pool is NOT set 2026-02-20 15:43:31,643 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.87 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.870/2.957/4.045/1.087 ms') 2026-02-20 15:43:31,643 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43003872-21683799 passed 2026-02-20 15:43:31,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 15:43:31,790 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43003872-21683799, IP 118.116.92.131, Port 22 2026-02-20 15:43:31,946 - DEBUG - VM ctest-TestBasicPolicy-43003872-21683799 is ready for SSH connections 2026-02-20 15:43:31,946 - INFO - Waiting for VM ctest-TestBasicPolicy-43003872-36971275 to be up.. 2026-02-20 15:43:32,026 - DEBUG - VM is in ACTIVE state now 2026-02-20 15:43:32,026 - INFO - VM name : ctest-TestBasicPolicy-43003872-36971275 2026-02-20 15:43:32,099 - DEBUG - VM ctest-TestBasicPolicy-43003872-36971275 ID is 9aa0948e-fee1-4350-b482-8bd00345811a 2026-02-20 15:43:32,100 - DEBUG - VM ctest-TestBasicPolicy-43003872-36971275 launched on Node cn-jenkins-deploy-platform-ansible-os-5375-1 2026-02-20 15:43:32,165 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9aa0948e-fee1-4350-b482-8bd00345811a 2026-02-20 15:43:32,172 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6663cbb7-a284-497f-bb31-e11d12246c33 2026-02-20 15:43:33,404 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 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.370/1.563/2.756/1.193 ms') 2026-02-20 15:43:33,404 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43003872-36971275 passed 2026-02-20 15:43:33,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 15:43:33,550 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43003872-36971275, IP 117.123.164.195, Port 22 2026-02-20 15:43:33,706 - DEBUG - VM ctest-TestBasicPolicy-43003872-36971275 is ready for SSH connections 2026-02-20 15:43:33,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 15:43:33,706 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.123.164.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-20 15:43:33,706 - DEBUG - ping -s 56 -c 3 -W 1 117.123.164.195 2026-02-20 15:43:37,702 - DEBUG - PING 117.123.164.195 (117.123.164.195): 56 data bytes 64 bytes from 117.123.164.195: seq=0 ttl=63 time=3.130 ms 64 bytes from 117.123.164.195: seq=1 ttl=63 time=0.782 ms 64 bytes from 117.123.164.195: seq=2 ttl=63 time=0.810 ms --- 117.123.164.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.782/1.574/3.130 ms 2026-02-20 15:43:37,702 - INFO - Ping to IP 117.123.164.195 from VM ctest-TestBasicPolicy-43003872-21683799 passed 2026-02-20 15:43:37,874 - DEBUG - Policy Update Response {"network-policy": {"uuid": "55ebda1d-9741-4470-aef4-8ff847424c3d", "href": "http://10.0.0.33:8082/network-policy/55ebda1d-9741-4470-aef4-8ff847424c3d"}} 2026-02-20 15:43:37,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 15:43:37,874 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.123.164.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-20 15:43:37,874 - DEBUG - ping -s 56 -c 3 -W 1 117.123.164.195 2026-02-20 15:43:41,081 - DEBUG - PING 117.123.164.195 (117.123.164.195): 56 data bytes --- 117.123.164.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-20 15:43:41,081 - WARNING - Ping to IP 117.123.164.195 from VM ctest-TestBasicPolicy-43003872-21683799 failed 2026-02-20 15:43:41,081 - INFO - Deleting VM ctest-TestBasicPolicy-43003872-36971275 2026-02-20 15:43:41,144 - INFO - Deleting VM ctest-TestBasicPolicy-43003872-21683799 2026-02-20 15:43:41,473 - INFO - Deleted policy ctest-policy-allow-all-36039411 2026-02-20 15:43:41,474 - INFO - Deleting VN ctest-vn-81406677 2026-02-20 15:43:41,504 - DEBUG - VN 30000a1c-381e-4f0b-ab38-b7287f9d7578 still in use: Unable to complete operation on network 30000a1c-381e-4f0b-ab38-b7287f9d7578. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6186626c-0fbe-4fd9-ab09-422ce346e665'] 2026-02-20 15:43:41,504 - WARNING - Deleting VN ctest-vn-81406677 failed..Will retry 2026-02-20 15:43:43,591 - DEBUG - Response for deleting network () 2026-02-20 15:43:43,591 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/90b64cff-28e5-4c8a-9a84-34f4af11425c 2026-02-20 15:43:43,596 - DEBUG - Response Code: 404 2026-02-20 15:43:43,596 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-20 15:43:43,600 - DEBUG - Requesting: http://10.0.0.33:8082/domain/47d15c28-0efb-47b3-9a09-cde1233ca22b 2026-02-20 15:43:43,651 - DEBUG - Requesting: http://10.0.0.33:8082/project/c0a8ddc1-d7cd-4fe2-9697-6e44bcb1bd1c 2026-02-20 15:43:43,717 - INFO - Validated that VN ctest-vn-81406677 is not found in API Server 2026-02-20 15:43:43,726 - DEBUG - VN ctest-vn-81406677 is not present in Agent 10.0.0.33 2026-02-20 15:43:43,726 - INFO - Validated that VN ctest-vn-81406677 is not in any agent 2026-02-20 15:43:43,739 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81406677 info 2026-02-20 15:43:43,739 - INFO - Deleting VN ctest-vn-60735913 2026-02-20 15:43:43,822 - DEBUG - Response for deleting network () 2026-02-20 15:43:43,822 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ee3ce597-2d6e-42fa-a006-47b25922affe 2026-02-20 15:43:43,829 - DEBUG - Response Code: 404 2026-02-20 15:43:43,830 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-20 15:43:43,835 - DEBUG - Requesting: http://10.0.0.33:8082/domain/47d15c28-0efb-47b3-9a09-cde1233ca22b 2026-02-20 15:43:43,887 - DEBUG - Requesting: http://10.0.0.33:8082/project/c0a8ddc1-d7cd-4fe2-9697-6e44bcb1bd1c 2026-02-20 15:43:43,955 - INFO - Validated that VN ctest-vn-60735913 is not found in API Server 2026-02-20 15:43:43,965 - DEBUG - VN ctest-vn-60735913 is not present in Agent 10.0.0.33 2026-02-20 15:43:43,965 - INFO - Validated that VN ctest-vn-60735913 is not in any agent 2026-02-20 15:43:43,980 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60735913 info 2026-02-20 15:43:44,239 - DEBUG - No XMPP flaps were noticed during the test
2026-02-20 15:43:44,239 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-20 15:43:44,240 - INFO - -------------------------------------------------------------------------------- 2026-02-20 15:43:44,919 - INFO - Deleted project: ctest-TestBasicPolicy-43003872, ID : c0a8ddc1-d7cd-4fe2-9697-6e44bcb1bd1c