2026-10-05 19:00:53,026 - INFO - Domain Default found not creating 2026-10-05 19:00:53,178 - INFO - Project ctest-TestBasicPolicy-63910942 not found, creating it 2026-10-05 19:00:53,653 - INFO - Created Project:ctest-TestBasicPolicy-63910942, ID : 7ab562f2-e1e0-4b4a-ac1f-5b4033fae4cf 2026-10-05 19:00:55,303 - INFO - ================================================================================ 2026-10-05 19:00:55,303 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-05 19:00:55,303 - 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-10-05 19:00:55,562 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-10-05 19:00:55,563 - INFO - Initial checks done. Running the testcase now 2026-10-05 19:00:55,563 - INFO - 2026-10-05 19:00:56,196 - DEBUG - Response for create_network : {'network': {'id': 'bcc10040-5370-4176-87c7-fbc150137791', 'name': 'ctest-vn-46456669', 'tenant_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'project_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63910942', 'ctest-vn-46456669'], 'port_security_enabled': True, 'description': ''}} 2026-10-05 19:00:56,365 - DEBUG - Response for create_subnet : {'subnet': {'id': '1cddca33-5906-4a17-8799-6f268f300469', 'name': '', 'tenant_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'network_id': 'bcc10040-5370-4176-87c7-fbc150137791', 'ip_version': 4, 'cidr': '23.177.86.0/26', 'allocation_pools': [{'start': '23.177.86.2', 'end': '23.177.86.62'}], 'gateway_ip': '23.177.86.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.177.86.2', 'tags': [], 'project_id': '7ab562f2e1e04b4aac1f5b4033fae4cf'}} 2026-10-05 19:00:56,381 - INFO - Created VN ctest-vn-46456669 2026-10-05 19:00:56,433 - DEBUG - VN ctest-vn-46456669 UUID is bcc10040-5370-4176-87c7-fbc150137791 2026-10-05 19:00:56,726 - DEBUG - Response for create_network : {'network': {'id': '211f3346-7061-47a7-8d7f-dfdbd9b1ec1e', 'name': 'ctest-vn-55781686', 'tenant_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'project_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63910942', 'ctest-vn-55781686'], 'port_security_enabled': True, 'description': ''}} 2026-10-05 19:00:56,908 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ca6502d-e7cf-4136-8546-896f1448839e', 'name': '', 'tenant_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'network_id': '211f3346-7061-47a7-8d7f-dfdbd9b1ec1e', 'ip_version': 4, 'cidr': '197.144.184.128/26', 'allocation_pools': [{'start': '197.144.184.130', 'end': '197.144.184.190'}], 'gateway_ip': '197.144.184.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.144.184.130', 'tags': [], 'project_id': '7ab562f2e1e04b4aac1f5b4033fae4cf'}} 2026-10-05 19:00:56,926 - INFO - Created VN ctest-vn-55781686 2026-10-05 19:00:56,981 - DEBUG - VN ctest-vn-55781686 UUID is 211f3346-7061-47a7-8d7f-dfdbd9b1ec1e 2026-10-05 19:00:57,133 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-46456669, 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-63910942:ctest-vn-55781686, 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-10-05 19:00:57,612 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bcc10040-5370-4176-87c7-fbc150137791', 'name': 'ctest-vn-46456669', 'tenant_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'project_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1cddca33-5906-4a17-8799-6f268f300469'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63910942', 'ctest-vn-46456669'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63910942', 'ctest-policy-allow-all-30403679']], 'subnet_ipam': [{'subnet_cidr': '23.177.86.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-05 19:00:57,844 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '211f3346-7061-47a7-8d7f-dfdbd9b1ec1e', 'name': 'ctest-vn-55781686', 'tenant_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'project_id': '7ab562f2e1e04b4aac1f5b4033fae4cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['3ca6502d-e7cf-4136-8546-896f1448839e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63910942', 'ctest-vn-55781686'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63910942', 'ctest-policy-allow-all-30403679']], 'subnet_ipam': [{'subnet_cidr': '197.144.184.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-05 19:00:57,965 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 19:00:58,342 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 19:00:58,371 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6b6a66c-3d75-46d0-978f-cfaa97f53f56 2026-10-05 19:00:58,383 - DEBUG - Requesting: http://10.0.0.50:8082/project/7ab562f2-e1e0-4b4a-ac1f-5b4033fae4cf 2026-10-05 19:00:58,463 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bcc10040-5370-4176-87c7-fbc150137791 2026-10-05 19:00:58,476 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bcc10040-5370-4176-87c7-fbc150137791 2026-10-05 19:00:58,484 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/97d7d15c-24b5-4d26-b9e2-33f1218ac6aa 2026-10-05 19:00:58,492 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/97d7d15c-24b5-4d26-b9e2-33f1218ac6aa 2026-10-05 19:00:58,499 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b52eb65f-23fd-47b1-a753-47c25e6dbccd 2026-10-05 19:00:58,505 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-05 19:00:58,505 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bcc10040-5370-4176-87c7-fbc150137791 2026-10-05 19:00:58,515 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/97d7d15c-24b5-4d26-b9e2-33f1218ac6aa 2026-10-05 19:00:58,528 - INFO - Verified VN network id 12 for VN bcc10040-5370-4176-87c7-fbc150137791 2026-10-05 19:00:58,528 - INFO - Verifications in API Server for VN ctest-vn-46456669 passed 2026-10-05 19:00:58,528 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bcc10040-5370-4176-87c7-fbc150137791 2026-10-05 19:00:58,542 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/97d7d15c-24b5-4d26-b9e2-33f1218ac6aa 2026-10-05 19:00:58,548 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/97d7d15c-24b5-4d26-b9e2-33f1218ac6aa 2026-10-05 19:00:58,555 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b52eb65f-23fd-47b1-a753-47c25e6dbccd 2026-10-05 19:00:58,566 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-46456669', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63910942', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13601152625913381238', 'uuid-lslong': '9784065523176404881'}, 'enable': 'true', 'created': '2026-10-05T19:00:56', 'last-modified': '2026-10-05T19:00:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.000583'} 2026-10-05 19:00:58,572 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-05 19:00:58,572 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46456669 passed 2026-10-05 19:00:58,572 - DEBUG - ====Verifying policy data for ctest-vn-46456669 in API_Server ====== 2026-10-05 19:00:58,573 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 19:00:58,578 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6b6a66c-3d75-46d0-978f-cfaa97f53f56 2026-10-05 19:00:58,592 - DEBUG - Requesting: http://10.0.0.50:8082/project/7ab562f2-e1e0-4b4a-ac1f-5b4033fae4cf 2026-10-05 19:00:58,668 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bcc10040-5370-4176-87c7-fbc150137791 2026-10-05 19:00:58,679 - DEBUG - ==>Verifying data for policy with id: 6d676dde-4f2d-47d3-abc0-fc2e251678f2, fqn: ['default-domain', 'ctest-TestBasicPolicy-63910942', 'ctest-policy-allow-all-30403679'] 2026-10-05 19:00:58,679 - INFO - VN ctest-vn-46456669 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-05 19:00:58,679 - DEBUG - Verifying the vn in opserver 2026-10-05 19:00:58,679 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-46456669 virtual network link through opserver 10.0.0.50 2026-10-05 19:00:58,680 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-05 19:00:59,063 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-05 19:00:59,119 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-46456669', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-46456669?flat'} 2026-10-05 19:00:59,119 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-46456669 is found in opserver 2026-10-05 19:00:59,129 - DEBUG - Do not have enough data to verify VN in agent 2026-10-05 19:00:59,134 - DEBUG - VRF ids for VN ctest-vn-46456669: {} 2026-10-05 19:00:59,134 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 19:00:59,139 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6b6a66c-3d75-46d0-978f-cfaa97f53f56 2026-10-05 19:00:59,149 - DEBUG - Requesting: http://10.0.0.50:8082/project/7ab562f2-e1e0-4b4a-ac1f-5b4033fae4cf 2026-10-05 19:00:59,225 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/211f3346-7061-47a7-8d7f-dfdbd9b1ec1e 2026-10-05 19:00:59,237 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/211f3346-7061-47a7-8d7f-dfdbd9b1ec1e 2026-10-05 19:00:59,246 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9fb80e69-ed8b-4345-9976-74cd544f74d2 2026-10-05 19:00:59,254 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9fb80e69-ed8b-4345-9976-74cd544f74d2 2026-10-05 19:00:59,259 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c83e9051-ab99-4d2b-90d3-d4b8ac15876d 2026-10-05 19:00:59,264 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-05 19:00:59,264 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/211f3346-7061-47a7-8d7f-dfdbd9b1ec1e 2026-10-05 19:00:59,272 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9fb80e69-ed8b-4345-9976-74cd544f74d2 2026-10-05 19:00:59,283 - INFO - Verified VN network id 13 for VN 211f3346-7061-47a7-8d7f-dfdbd9b1ec1e 2026-10-05 19:00:59,283 - INFO - Verifications in API Server for VN ctest-vn-55781686 passed 2026-10-05 19:00:59,283 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/211f3346-7061-47a7-8d7f-dfdbd9b1ec1e 2026-10-05 19:00:59,291 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9fb80e69-ed8b-4345-9976-74cd544f74d2 2026-10-05 19:00:59,296 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9fb80e69-ed8b-4345-9976-74cd544f74d2 2026-10-05 19:00:59,302 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c83e9051-ab99-4d2b-90d3-d4b8ac15876d 2026-10-05 19:00:59,313 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-55781686', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63910942', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2386682705155803047', 'uuid-lslong': '10196114216733240350'}, 'enable': 'true', 'created': '2026-10-05T19:00:56', 'last-modified': '2026-10-05T19:00:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.495085'} 2026-10-05 19:00:59,319 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-05 19:00:59,319 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55781686 passed 2026-10-05 19:00:59,319 - DEBUG - ====Verifying policy data for ctest-vn-55781686 in API_Server ====== 2026-10-05 19:00:59,319 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 19:00:59,323 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6b6a66c-3d75-46d0-978f-cfaa97f53f56 2026-10-05 19:00:59,333 - DEBUG - Requesting: http://10.0.0.50:8082/project/7ab562f2-e1e0-4b4a-ac1f-5b4033fae4cf 2026-10-05 19:00:59,407 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/211f3346-7061-47a7-8d7f-dfdbd9b1ec1e 2026-10-05 19:00:59,415 - DEBUG - ==>Verifying data for policy with id: 6d676dde-4f2d-47d3-abc0-fc2e251678f2, fqn: ['default-domain', 'ctest-TestBasicPolicy-63910942', 'ctest-policy-allow-all-30403679'] 2026-10-05 19:00:59,415 - INFO - VN ctest-vn-55781686 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-05 19:00:59,415 - DEBUG - Verifying the vn in opserver 2026-10-05 19:00:59,415 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-55781686 virtual network link through opserver 10.0.0.50 2026-10-05 19:00:59,416 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-05 19:00:59,424 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-55781686', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-55781686?flat'} 2026-10-05 19:00:59,424 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63910942:ctest-vn-55781686 is found in opserver 2026-10-05 19:00:59,437 - DEBUG - Do not have enough data to verify VN in agent 2026-10-05 19:00:59,443 - DEBUG - VRF ids for VN ctest-vn-55781686: {} 2026-10-05 19:00:59,494 - DEBUG - Services list from nova: [, , ] 2026-10-05 19:00:59,929 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6347-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6347-1) 2026-10-05 19:01:00,335 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6347-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6347-1) 2026-10-05 19:01:00,335 - INFO - Waiting for VM ctest-TestBasicPolicy-63910942-60485526 to be up.. 2026-10-05 19:01:00,376 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 19:01:05,459 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 19:01:10,535 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 19:01:15,617 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 19:01:20,688 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 19:01:25,765 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 19:01:30,846 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 19:01:35,921 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-05 19:01:41,004 - DEBUG - VM is in ACTIVE state now 2026-10-05 19:01:41,004 - INFO - VM name : ctest-TestBasicPolicy-63910942-60485526 2026-10-05 19:01:41,090 - DEBUG - VM ctest-TestBasicPolicy-63910942-60485526 ID is 5712ec40-2257-469a-94c1-f05ff5689ec3 2026-10-05 19:01:41,111 - DEBUG - VM ctest-TestBasicPolicy-63910942-60485526 launched on Node cn-jenkins-deploy-platform-ansible-os-6347-1 2026-10-05 19:01:41,193 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5712ec40-2257-469a-94c1-f05ff5689ec3 2026-10-05 19:01:41,203 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/36abd2b7-27a5-49c5-bc77-903ba8adf1ca 2026-10-05 19:01:44,463 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=10.5 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 10.470/10.470/10.470/0.000 ms') 2026-10-05 19:01:44,463 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63910942-60485526 passed 2026-10-05 19:01:44,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 19:01:44,613 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63910942-60485526, IP 23.177.86.3, Port 22 2026-10-05 19:01:44,779 - DEBUG - VM ctest-TestBasicPolicy-63910942-60485526 is ready for SSH connections 2026-10-05 19:01:44,779 - INFO - Waiting for VM ctest-TestBasicPolicy-63910942-19533370 to be up.. 2026-10-05 19:01:44,861 - DEBUG - VM is in ACTIVE state now 2026-10-05 19:01:44,861 - INFO - VM name : ctest-TestBasicPolicy-63910942-19533370 2026-10-05 19:01:44,929 - DEBUG - VM ctest-TestBasicPolicy-63910942-19533370 ID is 178a20fa-f4c6-4a82-abda-7a1e69db433e 2026-10-05 19:01:44,929 - DEBUG - VM ctest-TestBasicPolicy-63910942-19533370 launched on Node cn-jenkins-deploy-platform-ansible-os-6347-1 2026-10-05 19:01:45,010 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/178a20fa-f4c6-4a82-abda-7a1e69db433e 2026-10-05 19:01:45,020 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fd06da91-77d3-4f8f-b69d-9addaad0b0c3 2026-10-05 19:01:48,273 - 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=2 ttl=63 time=9.55 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 9.546/9.546/9.546/0.000 ms') 2026-10-05 19:01:48,274 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63910942-19533370 passed 2026-10-05 19:01:48,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 19:01:48,421 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63910942-19533370, IP 197.144.184.131, Port 22 2026-10-05 19:01:48,591 - DEBUG - VM ctest-TestBasicPolicy-63910942-19533370 is ready for SSH connections 2026-10-05 19:01:48,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 19:01:48,591 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.144.184.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-10-05 19:01:48,591 - DEBUG - ping -s 56 -c 3 -W 1 197.144.184.131 2026-10-05 19:01:52,539 - DEBUG - PING 197.144.184.131 (197.144.184.131): 56 data bytes 64 bytes from 197.144.184.131: seq=0 ttl=63 time=3.788 ms 64 bytes from 197.144.184.131: seq=1 ttl=63 time=0.979 ms 64 bytes from 197.144.184.131: seq=2 ttl=63 time=0.927 ms --- 197.144.184.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.927/1.898/3.788 ms 2026-10-05 19:01:52,540 - INFO - Ping to IP 197.144.184.131 from VM ctest-TestBasicPolicy-63910942-60485526 passed 2026-10-05 19:01:52,713 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6d676dde-4f2d-47d3-abc0-fc2e251678f2", "href": "http://10.0.0.50:8082/network-policy/6d676dde-4f2d-47d3-abc0-fc2e251678f2"}} 2026-10-05 19:01:52,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-05 19:01:52,713 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.144.184.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-10-05 19:01:52,713 - DEBUG - ping -s 56 -c 3 -W 1 197.144.184.131 2026-10-05 19:01:55,850 - DEBUG - PING 197.144.184.131 (197.144.184.131): 56 data bytes 64 bytes from 197.144.184.131: seq=0 ttl=63 time=1.232 ms --- 197.144.184.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.232/1.232/1.232 ms 2026-10-05 19:01:55,850 - WARNING - Ping to IP 197.144.184.131 from VM ctest-TestBasicPolicy-63910942-60485526 failed 2026-10-05 19:01:55,850 - INFO - Deleting VM ctest-TestBasicPolicy-63910942-19533370 2026-10-05 19:01:55,921 - INFO - Deleting VM ctest-TestBasicPolicy-63910942-60485526 2026-10-05 19:01:56,286 - INFO - Deleted policy ctest-policy-allow-all-30403679 2026-10-05 19:01:56,286 - INFO - Deleting VN ctest-vn-55781686 2026-10-05 19:01:56,316 - DEBUG - VN 211f3346-7061-47a7-8d7f-dfdbd9b1ec1e still in use: Unable to complete operation on network 211f3346-7061-47a7-8d7f-dfdbd9b1ec1e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-04e3246b-b9c6-4dd3-bf6e-e8cfeb1306ae'] 2026-10-05 19:01:56,316 - WARNING - Deleting VN ctest-vn-55781686 failed..Will retry 2026-10-05 19:01:58,421 - DEBUG - Response for deleting network () 2026-10-05 19:01:58,422 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9fb80e69-ed8b-4345-9976-74cd544f74d2 2026-10-05 19:01:58,428 - DEBUG - Response Code: 404 2026-10-05 19:01:58,428 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 19:01:58,435 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6b6a66c-3d75-46d0-978f-cfaa97f53f56 2026-10-05 19:01:58,490 - DEBUG - Requesting: http://10.0.0.50:8082/project/7ab562f2-e1e0-4b4a-ac1f-5b4033fae4cf 2026-10-05 19:01:58,571 - INFO - Validated that VN ctest-vn-55781686 is not found in API Server 2026-10-05 19:01:58,582 - DEBUG - VN ctest-vn-55781686 is not present in Agent 10.0.0.50 2026-10-05 19:01:58,582 - INFO - Validated that VN ctest-vn-55781686 is not in any agent 2026-10-05 19:01:58,601 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55781686 info 2026-10-05 19:01:58,601 - INFO - Deleting VN ctest-vn-46456669 2026-10-05 19:01:58,722 - DEBUG - Response for deleting network () 2026-10-05 19:01:58,722 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/97d7d15c-24b5-4d26-b9e2-33f1218ac6aa 2026-10-05 19:01:58,730 - DEBUG - Response Code: 404 2026-10-05 19:01:58,731 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-05 19:01:58,739 - DEBUG - Requesting: http://10.0.0.50:8082/domain/d6b6a66c-3d75-46d0-978f-cfaa97f53f56 2026-10-05 19:01:58,796 - DEBUG - Requesting: http://10.0.0.50:8082/project/7ab562f2-e1e0-4b4a-ac1f-5b4033fae4cf 2026-10-05 19:01:58,871 - INFO - Validated that VN ctest-vn-46456669 is not found in API Server 2026-10-05 19:01:58,886 - DEBUG - VN ctest-vn-46456669 is not present in Agent 10.0.0.50 2026-10-05 19:01:58,886 - INFO - Validated that VN ctest-vn-46456669 is not in any agent 2026-10-05 19:01:58,907 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46456669 info 2026-10-05 19:01:59,166 - DEBUG - No XMPP flaps were noticed during the test
2026-10-05 19:01:59,166 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04]
2026-10-05 19:01:59,166 - INFO - -------------------------------------------------------------------------------- 2026-10-05 19:01:59,929 - INFO - Deleted project: ctest-TestBasicPolicy-63910942, ID : 7ab562f2-e1e0-4b4a-ac1f-5b4033fae4cf