2026-05-27 16:24:06,751 - INFO - Domain Default found not creating 2026-05-27 16:24:06,931 - INFO - Project ctest-TestBasicPolicy-05295955 not found, creating it 2026-05-27 16:24:07,401 - INFO - Created Project:ctest-TestBasicPolicy-05295955, ID : baf2beaa-2dc0-436d-8cf2-6b18485e41f5 2026-05-27 16:24:08,873 - INFO - ================================================================================ 2026-05-27 16:24:08,873 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-27 16:24:08,874 - 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-05-27 16:24:09,127 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0'}} with 2026-05-27 16:24:09,127 - INFO - Initial checks done. Running the testcase now 2026-05-27 16:24:09,127 - INFO - 2026-05-27 16:24:09,676 - DEBUG - Response for create_network : {'network': {'id': '7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7', 'name': 'ctest-vn-68034738', 'tenant_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'project_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05295955', 'ctest-vn-68034738'], 'port_security_enabled': True, 'description': ''}} 2026-05-27 16:24:09,894 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c197e980-14cd-411b-8d3a-268a02efef47', 'name': '', 'tenant_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'network_id': '7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7', 'ip_version': 4, 'cidr': '87.227.50.0/26', 'allocation_pools': [{'start': '87.227.50.2', 'end': '87.227.50.62'}], 'gateway_ip': '87.227.50.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.227.50.2', 'tags': [], 'project_id': 'baf2beaa2dc0436d8cf26b18485e41f5'}} 2026-05-27 16:24:09,910 - INFO - Created VN ctest-vn-68034738 2026-05-27 16:24:09,961 - DEBUG - VN ctest-vn-68034738 UUID is 7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7 2026-05-27 16:24:10,276 - DEBUG - Response for create_network : {'network': {'id': 'fa542fb5-cd66-4138-b553-ea293456ec3d', 'name': 'ctest-vn-79440792', 'tenant_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'project_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05295955', 'ctest-vn-79440792'], 'port_security_enabled': True, 'description': ''}} 2026-05-27 16:24:10,450 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af647414-25ce-4db9-b73a-42d28a0a478f', 'name': '', 'tenant_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'network_id': 'fa542fb5-cd66-4138-b553-ea293456ec3d', 'ip_version': 4, 'cidr': '210.67.6.0/26', 'allocation_pools': [{'start': '210.67.6.2', 'end': '210.67.6.62'}], 'gateway_ip': '210.67.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.67.6.2', 'tags': [], 'project_id': 'baf2beaa2dc0436d8cf26b18485e41f5'}} 2026-05-27 16:24:10,467 - INFO - Created VN ctest-vn-79440792 2026-05-27 16:24:10,517 - DEBUG - VN ctest-vn-79440792 UUID is fa542fb5-cd66-4138-b553-ea293456ec3d 2026-05-27 16:24:10,634 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-68034738, 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-05295955:ctest-vn-79440792, 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-05-27 16:24:10,933 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7', 'name': 'ctest-vn-68034738', 'tenant_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'project_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c197e980-14cd-411b-8d3a-268a02efef47'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05295955', 'ctest-vn-68034738'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05295955', 'ctest-policy-allow-all-87036956']], 'subnet_ipam': [{'subnet_cidr': '87.227.50.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-27 16:24:11,161 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fa542fb5-cd66-4138-b553-ea293456ec3d', 'name': 'ctest-vn-79440792', 'tenant_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'project_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['af647414-25ce-4db9-b73a-42d28a0a478f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05295955', 'ctest-vn-79440792'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05295955', 'ctest-policy-allow-all-87036956']], 'subnet_ipam': [{'subnet_cidr': '210.67.6.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-27 16:24:11,325 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-27 16:24:11,620 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-27 16:24:11,655 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b1935a7c-2485-4e97-8396-41f45e2a6ab0 2026-05-27 16:24:11,666 - DEBUG - Requesting: http://10.0.0.141:8082/project/baf2beaa-2dc0-436d-8cf2-6b18485e41f5 2026-05-27 16:24:11,737 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7 2026-05-27 16:24:11,748 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7 2026-05-27 16:24:11,756 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/297d6ea4-96d3-488b-9282-14d9f0167161 2026-05-27 16:24:11,763 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/297d6ea4-96d3-488b-9282-14d9f0167161 2026-05-27 16:24:11,770 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/153ac7d9-eaee-481c-91ce-7484812c4af5 2026-05-27 16:24:11,777 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-27 16:24:11,777 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7 2026-05-27 16:24:11,785 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/297d6ea4-96d3-488b-9282-14d9f0167161 2026-05-27 16:24:11,799 - INFO - Verified VN network id 11 for VN 7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7 2026-05-27 16:24:11,799 - INFO - Verifications in API Server for VN ctest-vn-68034738 passed 2026-05-27 16:24:11,799 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7 2026-05-27 16:24:11,810 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/297d6ea4-96d3-488b-9282-14d9f0167161 2026-05-27 16:24:11,817 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/297d6ea4-96d3-488b-9282-14d9f0167161 2026-05-27 16:24:11,824 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/153ac7d9-eaee-481c-91ce-7484812c4af5 2026-05-27 16:24:11,835 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-68034738', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05295955', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9039854488790912227', 'uuid-lslong': '11518955344077107943'}, 'enable': 'true', 'created': '2026-05-27T16:24:09', 'last-modified': '2026-05-27T16:24:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.922442'} 2026-05-27 16:24:11,841 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-27 16:24:11,841 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68034738 passed 2026-05-27 16:24:11,841 - DEBUG - ====Verifying policy data for ctest-vn-68034738 in API_Server ====== 2026-05-27 16:24:11,841 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-27 16:24:11,846 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b1935a7c-2485-4e97-8396-41f45e2a6ab0 2026-05-27 16:24:11,857 - DEBUG - Requesting: http://10.0.0.141:8082/project/baf2beaa-2dc0-436d-8cf2-6b18485e41f5 2026-05-27 16:24:11,929 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7 2026-05-27 16:24:11,938 - DEBUG - ==>Verifying data for policy with id: 7a910dc8-e733-413a-9013-785f60fce133, fqn: ['default-domain', 'ctest-TestBasicPolicy-05295955', 'ctest-policy-allow-all-87036956'] 2026-05-27 16:24:11,938 - INFO - VN ctest-vn-68034738 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-27 16:24:11,938 - DEBUG - Verifying the vn in opserver 2026-05-27 16:24:11,938 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-68034738 virtual network link through opserver 10.0.0.141 2026-05-27 16:24:11,938 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-05-27 16:24:12,255 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-05-27 16:24:12,334 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-68034738', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-68034738?flat'} 2026-05-27 16:24:12,334 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-68034738 is found in opserver 2026-05-27 16:24:12,344 - DEBUG - Do not have enough data to verify VN in agent 2026-05-27 16:24:12,349 - DEBUG - VRF ids for VN ctest-vn-68034738: {} 2026-05-27 16:24:12,349 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-27 16:24:12,355 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b1935a7c-2485-4e97-8396-41f45e2a6ab0 2026-05-27 16:24:12,367 - DEBUG - Requesting: http://10.0.0.141:8082/project/baf2beaa-2dc0-436d-8cf2-6b18485e41f5 2026-05-27 16:24:12,440 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa542fb5-cd66-4138-b553-ea293456ec3d 2026-05-27 16:24:12,453 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa542fb5-cd66-4138-b553-ea293456ec3d 2026-05-27 16:24:12,464 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7e41c1b3-bf3e-469d-99bc-88ae3dedf5d8 2026-05-27 16:24:12,472 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7e41c1b3-bf3e-469d-99bc-88ae3dedf5d8 2026-05-27 16:24:12,480 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/4b66acf2-e216-470a-b5da-39d8fa7146dd 2026-05-27 16:24:12,487 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-27 16:24:12,487 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa542fb5-cd66-4138-b553-ea293456ec3d 2026-05-27 16:24:12,498 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7e41c1b3-bf3e-469d-99bc-88ae3dedf5d8 2026-05-27 16:24:12,515 - INFO - Verified VN network id 12 for VN fa542fb5-cd66-4138-b553-ea293456ec3d 2026-05-27 16:24:12,515 - INFO - Verifications in API Server for VN ctest-vn-79440792 passed 2026-05-27 16:24:12,515 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa542fb5-cd66-4138-b553-ea293456ec3d 2026-05-27 16:24:12,525 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7e41c1b3-bf3e-469d-99bc-88ae3dedf5d8 2026-05-27 16:24:12,533 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7e41c1b3-bf3e-469d-99bc-88ae3dedf5d8 2026-05-27 16:24:12,540 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/4b66acf2-e216-470a-b5da-39d8fa7146dd 2026-05-27 16:24:12,552 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-79440792', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05295955', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18038094865407295800', 'uuid-lslong': '13066044406624611389'}, 'enable': 'true', 'created': '2026-05-27T16:24:10', 'last-modified': '2026-05-27T16:24:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.409281'} 2026-05-27 16:24:12,557 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-27 16:24:12,557 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79440792 passed 2026-05-27 16:24:12,557 - DEBUG - ====Verifying policy data for ctest-vn-79440792 in API_Server ====== 2026-05-27 16:24:12,557 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-27 16:24:12,562 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b1935a7c-2485-4e97-8396-41f45e2a6ab0 2026-05-27 16:24:12,573 - DEBUG - Requesting: http://10.0.0.141:8082/project/baf2beaa-2dc0-436d-8cf2-6b18485e41f5 2026-05-27 16:24:12,641 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa542fb5-cd66-4138-b553-ea293456ec3d 2026-05-27 16:24:12,650 - DEBUG - ==>Verifying data for policy with id: 7a910dc8-e733-413a-9013-785f60fce133, fqn: ['default-domain', 'ctest-TestBasicPolicy-05295955', 'ctest-policy-allow-all-87036956'] 2026-05-27 16:24:12,650 - INFO - VN ctest-vn-79440792 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-27 16:24:12,650 - DEBUG - Verifying the vn in opserver 2026-05-27 16:24:12,650 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-79440792 virtual network link through opserver 10.0.0.141 2026-05-27 16:24:12,650 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-05-27 16:24:12,659 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-79440792', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-79440792?flat'} 2026-05-27 16:24:12,659 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-79440792 is found in opserver 2026-05-27 16:24:12,667 - DEBUG - Do not have enough data to verify VN in agent 2026-05-27 16:24:12,671 - DEBUG - VRF ids for VN ctest-vn-79440792: {} 2026-05-27 16:24:12,732 - DEBUG - Services list from nova: [, , ] 2026-05-27 16:24:13,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5834-1) 2026-05-27 16:24:14,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5834-1) 2026-05-27 16:24:14,934 - INFO - Waiting for VM ctest-TestBasicPolicy-05295955-97422328 to be up.. 2026-05-27 16:24:15,025 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-27 16:24:20,099 - DEBUG - VM is in ACTIVE state now 2026-05-27 16:24:20,099 - INFO - VM name : ctest-TestBasicPolicy-05295955-97422328 2026-05-27 16:24:20,177 - DEBUG - VM ctest-TestBasicPolicy-05295955-97422328 ID is 5feb0d54-4555-4143-aa48-2625cf06e10b 2026-05-27 16:24:20,197 - DEBUG - VM ctest-TestBasicPolicy-05295955-97422328 launched on Node cn-jenkins-deploy-platform-ansible-os-5834-1 2026-05-27 16:24:20,293 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/5feb0d54-4555-4143-aa48-2625cf06e10b 2026-05-27 16:24:20,301 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/3b730f97-13f1-4ae1-bfae-d582aee9c463 2026-05-27 16:24:23,555 - 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 1010ms') 2026-05-27 16:24:23,555 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05295955-97422328 failed! 2026-05-27 16:24:23,613 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-68034738 is 87.227.50.1 and allocation pool is NOT set 2026-05-27 16:24:25,676 - 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=9.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.879 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.879/4.961/9.043/4.082 ms') 2026-05-27 16:24:25,677 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05295955-97422328 passed 2026-05-27 16:24:25,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 16:24:25,837 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05295955-97422328, IP 87.227.50.3, Port 22 2026-05-27 16:24:25,993 - DEBUG - VM ctest-TestBasicPolicy-05295955-97422328 is ready for SSH connections 2026-05-27 16:24:25,994 - INFO - Waiting for VM ctest-TestBasicPolicy-05295955-05653340 to be up.. 2026-05-27 16:24:26,168 - DEBUG - VM is in ACTIVE state now 2026-05-27 16:24:26,168 - INFO - VM name : ctest-TestBasicPolicy-05295955-05653340 2026-05-27 16:24:26,243 - DEBUG - VM ctest-TestBasicPolicy-05295955-05653340 ID is df8a2099-6296-48c7-9f40-e1c598aa5e1b 2026-05-27 16:24:26,243 - DEBUG - VM ctest-TestBasicPolicy-05295955-05653340 launched on Node cn-jenkins-deploy-platform-ansible-os-5834-1 2026-05-27 16:24:26,325 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/df8a2099-6296-48c7-9f40-e1c598aa5e1b 2026-05-27 16:24:26,333 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/8075b7f5-c273-4dae-846a-bddb3145ff37 2026-05-27 16:24:27,571 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.917 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.917/2.018/3.119/1.101 ms') 2026-05-27 16:24:27,571 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-05295955-05653340 passed 2026-05-27 16:24:27,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 16:24:27,721 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05295955-05653340, IP 210.67.6.3, Port 22 2026-05-27 16:24:27,880 - DEBUG - VM ctest-TestBasicPolicy-05295955-05653340 is ready for SSH connections 2026-05-27 16:24:27,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 16:24:27,881 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.67.6.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-05-27 16:24:27,881 - DEBUG - ping -s 56 -c 3 -W 1 210.67.6.3 2026-05-27 16:24:31,932 - DEBUG - PING 210.67.6.3 (210.67.6.3): 56 data bytes 64 bytes from 210.67.6.3: seq=0 ttl=63 time=4.567 ms 64 bytes from 210.67.6.3: seq=1 ttl=63 time=0.757 ms 64 bytes from 210.67.6.3: seq=2 ttl=63 time=0.824 ms --- 210.67.6.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.757/2.049/4.567 ms 2026-05-27 16:24:31,932 - INFO - Ping to IP 210.67.6.3 from VM ctest-TestBasicPolicy-05295955-97422328 passed 2026-05-27 16:24:32,109 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7a910dc8-e733-413a-9013-785f60fce133", "href": "http://10.0.0.141:8082/network-policy/7a910dc8-e733-413a-9013-785f60fce133"}} 2026-05-27 16:24:32,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 16:24:32,109 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.67.6.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-05-27 16:24:32,109 - DEBUG - ping -s 56 -c 3 -W 1 210.67.6.3 2026-05-27 16:24:35,333 - DEBUG - PING 210.67.6.3 (210.67.6.3): 56 data bytes --- 210.67.6.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-27 16:24:35,334 - WARNING - Ping to IP 210.67.6.3 from VM ctest-TestBasicPolicy-05295955-97422328 failed 2026-05-27 16:24:35,334 - INFO - Deleting VM ctest-TestBasicPolicy-05295955-05653340 2026-05-27 16:24:35,404 - INFO - Deleting VM ctest-TestBasicPolicy-05295955-97422328 2026-05-27 16:24:35,804 - INFO - Deleted policy ctest-policy-allow-all-87036956 2026-05-27 16:24:35,804 - INFO - Deleting VN ctest-vn-79440792 2026-05-27 16:24:35,851 - DEBUG - VN fa542fb5-cd66-4138-b553-ea293456ec3d still in use: Unable to complete operation on network fa542fb5-cd66-4138-b553-ea293456ec3d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-23cf9fc5-99a2-4c8a-b3e4-eddf984e2a1d'] 2026-05-27 16:24:35,851 - WARNING - Deleting VN ctest-vn-79440792 failed..Will retry 2026-05-27 16:24:37,946 - DEBUG - Response for deleting network () 2026-05-27 16:24:37,946 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7e41c1b3-bf3e-469d-99bc-88ae3dedf5d8 2026-05-27 16:24:37,952 - DEBUG - Response Code: 404 2026-05-27 16:24:37,953 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-27 16:24:37,957 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b1935a7c-2485-4e97-8396-41f45e2a6ab0 2026-05-27 16:24:38,010 - DEBUG - Requesting: http://10.0.0.141:8082/project/baf2beaa-2dc0-436d-8cf2-6b18485e41f5 2026-05-27 16:24:38,076 - INFO - Validated that VN ctest-vn-79440792 is not found in API Server 2026-05-27 16:24:38,088 - DEBUG - VN ctest-vn-79440792 is not present in Agent 10.0.0.141 2026-05-27 16:24:38,088 - INFO - Validated that VN ctest-vn-79440792 is not in any agent 2026-05-27 16:24:38,105 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79440792 info 2026-05-27 16:24:38,105 - INFO - Deleting VN ctest-vn-68034738 2026-05-27 16:24:38,192 - DEBUG - Response for deleting network () 2026-05-27 16:24:38,192 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/297d6ea4-96d3-488b-9282-14d9f0167161 2026-05-27 16:24:38,198 - DEBUG - Response Code: 404 2026-05-27 16:24:38,198 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-05-27 16:24:38,211 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b1935a7c-2485-4e97-8396-41f45e2a6ab0 2026-05-27 16:24:38,267 - DEBUG - Requesting: http://10.0.0.141:8082/project/baf2beaa-2dc0-436d-8cf2-6b18485e41f5 2026-05-27 16:24:38,334 - INFO - Validated that VN ctest-vn-68034738 is not found in API Server 2026-05-27 16:24:38,343 - DEBUG - VN ctest-vn-68034738 is not present in Agent 10.0.0.141 2026-05-27 16:24:38,343 - INFO - Validated that VN ctest-vn-68034738 is not in any agent 2026-05-27 16:24:38,358 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68034738 info 2026-05-27 16:24:38,610 - DEBUG - No XMPP flaps were noticed during the test
2026-05-27 16:24:38,610 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-05-27 16:24:38,610 - INFO - -------------------------------------------------------------------------------- 2026-05-27 16:24:39,345 - INFO - Deleted project: ctest-TestBasicPolicy-05295955, ID : baf2beaa-2dc0-436d-8cf2-6b18485e41f5