2026-01-29 19:21:55,288 - INFO - Domain Default found not creating 2026-01-29 19:21:55,433 - INFO - Project ctest-TestBasicPolicy-43953531 not found, creating it 2026-01-29 19:21:55,863 - INFO - Created Project:ctest-TestBasicPolicy-43953531, ID : 6cc67350-aa63-4d46-8905-04a7c4c7fb6e 2026-01-29 19:21:57,265 - INFO - ================================================================================ 2026-01-29 19:21:57,265 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-29 19:21:57,265 - 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-01-29 19:21:57,519 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-01-29 19:21:57,519 - INFO - Initial checks done. Running the testcase now 2026-01-29 19:21:57,519 - INFO - 2026-01-29 19:21:58,040 - DEBUG - Response for create_network : {'network': {'id': '324eab2d-edfc-4eab-918f-82b4c4fd689b', 'name': 'ctest-vn-46971272', 'tenant_id': '6cc67350aa634d46890504a7c4c7fb6e', 'project_id': '6cc67350aa634d46890504a7c4c7fb6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43953531', 'ctest-vn-46971272'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 19:21:58,210 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b09472a-a053-4e26-acb3-97173aa31ff1', 'name': '', 'tenant_id': '6cc67350aa634d46890504a7c4c7fb6e', 'network_id': '324eab2d-edfc-4eab-918f-82b4c4fd689b', 'ip_version': 4, 'cidr': '22.22.51.192/26', 'allocation_pools': [{'start': '22.22.51.194', 'end': '22.22.51.254'}], 'gateway_ip': '22.22.51.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.22.51.194', 'tags': [], 'project_id': '6cc67350aa634d46890504a7c4c7fb6e'}} 2026-01-29 19:21:58,225 - INFO - Created VN ctest-vn-46971272 2026-01-29 19:21:58,273 - DEBUG - VN ctest-vn-46971272 UUID is 324eab2d-edfc-4eab-918f-82b4c4fd689b 2026-01-29 19:21:58,583 - DEBUG - Response for create_network : {'network': {'id': '3202c97a-e310-468f-9475-cc44cef676d8', 'name': 'ctest-vn-61287556', 'tenant_id': '6cc67350aa634d46890504a7c4c7fb6e', 'project_id': '6cc67350aa634d46890504a7c4c7fb6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43953531', 'ctest-vn-61287556'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 19:21:58,775 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af3cdd44-19a7-4539-b9f0-ded27c24c7f9', 'name': '', 'tenant_id': '6cc67350aa634d46890504a7c4c7fb6e', 'network_id': '3202c97a-e310-468f-9475-cc44cef676d8', 'ip_version': 4, 'cidr': '54.84.3.0/26', 'allocation_pools': [{'start': '54.84.3.2', 'end': '54.84.3.62'}], 'gateway_ip': '54.84.3.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.84.3.2', 'tags': [], 'project_id': '6cc67350aa634d46890504a7c4c7fb6e'}} 2026-01-29 19:21:58,791 - INFO - Created VN ctest-vn-61287556 2026-01-29 19:21:58,841 - DEBUG - VN ctest-vn-61287556 UUID is 3202c97a-e310-468f-9475-cc44cef676d8 2026-01-29 19:21:58,989 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43953531:ctest-vn-46971272, 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-43953531:ctest-vn-61287556, 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-01-29 19:21:59,261 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '324eab2d-edfc-4eab-918f-82b4c4fd689b', 'name': 'ctest-vn-46971272', 'tenant_id': '6cc67350aa634d46890504a7c4c7fb6e', 'project_id': '6cc67350aa634d46890504a7c4c7fb6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8b09472a-a053-4e26-acb3-97173aa31ff1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43953531', 'ctest-vn-46971272'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43953531', 'ctest-policy-allow-all-59693953']], 'subnet_ipam': [{'subnet_cidr': '22.22.51.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 19:21:59,474 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3202c97a-e310-468f-9475-cc44cef676d8', 'name': 'ctest-vn-61287556', 'tenant_id': '6cc67350aa634d46890504a7c4c7fb6e', 'project_id': '6cc67350aa634d46890504a7c4c7fb6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['af3cdd44-19a7-4539-b9f0-ded27c24c7f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43953531', 'ctest-vn-61287556'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43953531', 'ctest-policy-allow-all-59693953']], 'subnet_ipam': [{'subnet_cidr': '54.84.3.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 19:21:59,629 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 19:21:59,919 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 19:21:59,947 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9bde6b3e-04a0-4a43-a397-2518df866609 2026-01-29 19:21:59,958 - DEBUG - Requesting: http://10.0.0.22:8082/project/6cc67350-aa63-4d46-8905-04a7c4c7fb6e 2026-01-29 19:22:00,025 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/324eab2d-edfc-4eab-918f-82b4c4fd689b 2026-01-29 19:22:00,033 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/324eab2d-edfc-4eab-918f-82b4c4fd689b 2026-01-29 19:22:00,040 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ec6e673f-64b2-44a1-b52b-736dba3d2451 2026-01-29 19:22:00,045 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ec6e673f-64b2-44a1-b52b-736dba3d2451 2026-01-29 19:22:00,051 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/768d3a2a-5b33-4100-9349-a2c9b2908fe5 2026-01-29 19:22:00,055 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 19:22:00,055 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/324eab2d-edfc-4eab-918f-82b4c4fd689b 2026-01-29 19:22:00,062 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ec6e673f-64b2-44a1-b52b-736dba3d2451 2026-01-29 19:22:00,075 - INFO - Verified VN network id 12 for VN 324eab2d-edfc-4eab-918f-82b4c4fd689b 2026-01-29 19:22:00,075 - INFO - Verifications in API Server for VN ctest-vn-46971272 passed 2026-01-29 19:22:00,075 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/324eab2d-edfc-4eab-918f-82b4c4fd689b 2026-01-29 19:22:00,082 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ec6e673f-64b2-44a1-b52b-736dba3d2451 2026-01-29 19:22:00,087 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ec6e673f-64b2-44a1-b52b-736dba3d2451 2026-01-29 19:22:00,092 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/768d3a2a-5b33-4100-9349-a2c9b2908fe5 2026-01-29 19:22:00,101 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43953531:ctest-vn-46971272', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43953531', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3625022963834441387', 'uuid-lslong': '10488745770079840411'}, 'enable': 'true', 'created': '2026-01-29T19:21:58', 'last-modified': '2026-01-29T19:21:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.856297'} 2026-01-29 19:22:00,106 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 19:22:00,106 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46971272 passed 2026-01-29 19:22:00,107 - DEBUG - ====Verifying policy data for ctest-vn-46971272 in API_Server ====== 2026-01-29 19:22:00,107 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 19:22:00,110 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9bde6b3e-04a0-4a43-a397-2518df866609 2026-01-29 19:22:00,118 - DEBUG - Requesting: http://10.0.0.22:8082/project/6cc67350-aa63-4d46-8905-04a7c4c7fb6e 2026-01-29 19:22:00,185 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/324eab2d-edfc-4eab-918f-82b4c4fd689b 2026-01-29 19:22:00,192 - DEBUG - ==>Verifying data for policy with id: b130d3f0-9641-4df0-9d30-8ca3c16683f3, fqn: ['default-domain', 'ctest-TestBasicPolicy-43953531', 'ctest-policy-allow-all-59693953'] 2026-01-29 19:22:00,193 - INFO - VN ctest-vn-46971272 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 19:22:00,193 - DEBUG - Verifying the vn in opserver 2026-01-29 19:22:00,193 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43953531:ctest-vn-46971272 virtual network link through opserver 10.0.0.22 2026-01-29 19:22:00,193 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-29 19:22:00,485 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-29 19:22:00,542 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43953531:ctest-vn-46971272', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43953531:ctest-vn-46971272?flat'} 2026-01-29 19:22:00,542 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43953531:ctest-vn-46971272 is found in opserver 2026-01-29 19:22:00,550 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 19:22:00,554 - DEBUG - VRF ids for VN ctest-vn-46971272: {} 2026-01-29 19:22:00,554 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 19:22:00,559 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9bde6b3e-04a0-4a43-a397-2518df866609 2026-01-29 19:22:00,567 - DEBUG - Requesting: http://10.0.0.22:8082/project/6cc67350-aa63-4d46-8905-04a7c4c7fb6e 2026-01-29 19:22:00,633 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3202c97a-e310-468f-9475-cc44cef676d8 2026-01-29 19:22:00,642 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3202c97a-e310-468f-9475-cc44cef676d8 2026-01-29 19:22:00,649 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fcd3704d-c24a-4e0f-a1ca-e59cc9ac8f07 2026-01-29 19:22:00,655 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fcd3704d-c24a-4e0f-a1ca-e59cc9ac8f07 2026-01-29 19:22:00,664 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/32971c43-fb38-4284-b75f-62b6b8624fe2 2026-01-29 19:22:00,669 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 19:22:00,669 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3202c97a-e310-468f-9475-cc44cef676d8 2026-01-29 19:22:00,677 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fcd3704d-c24a-4e0f-a1ca-e59cc9ac8f07 2026-01-29 19:22:00,688 - INFO - Verified VN network id 13 for VN 3202c97a-e310-468f-9475-cc44cef676d8 2026-01-29 19:22:00,688 - INFO - Verifications in API Server for VN ctest-vn-61287556 passed 2026-01-29 19:22:00,689 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3202c97a-e310-468f-9475-cc44cef676d8 2026-01-29 19:22:00,696 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fcd3704d-c24a-4e0f-a1ca-e59cc9ac8f07 2026-01-29 19:22:00,702 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fcd3704d-c24a-4e0f-a1ca-e59cc9ac8f07 2026-01-29 19:22:00,708 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/32971c43-fb38-4284-b75f-62b6b8624fe2 2026-01-29 19:22:00,717 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43953531:ctest-vn-61287556', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43953531', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3603664181482505871', 'uuid-lslong': '10697681085790582488'}, 'enable': 'true', 'created': '2026-01-29T19:21:58', 'last-modified': '2026-01-29T19:21:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.263500'} 2026-01-29 19:22:00,722 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 19:22:00,723 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61287556 passed 2026-01-29 19:22:00,723 - DEBUG - ====Verifying policy data for ctest-vn-61287556 in API_Server ====== 2026-01-29 19:22:00,723 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 19:22:00,727 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9bde6b3e-04a0-4a43-a397-2518df866609 2026-01-29 19:22:00,736 - DEBUG - Requesting: http://10.0.0.22:8082/project/6cc67350-aa63-4d46-8905-04a7c4c7fb6e 2026-01-29 19:22:00,806 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3202c97a-e310-468f-9475-cc44cef676d8 2026-01-29 19:22:00,813 - DEBUG - ==>Verifying data for policy with id: b130d3f0-9641-4df0-9d30-8ca3c16683f3, fqn: ['default-domain', 'ctest-TestBasicPolicy-43953531', 'ctest-policy-allow-all-59693953'] 2026-01-29 19:22:00,813 - INFO - VN ctest-vn-61287556 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 19:22:00,814 - DEBUG - Verifying the vn in opserver 2026-01-29 19:22:00,814 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43953531:ctest-vn-61287556 virtual network link through opserver 10.0.0.22 2026-01-29 19:22:00,814 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-29 19:22:00,821 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43953531:ctest-vn-61287556', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43953531:ctest-vn-61287556?flat'} 2026-01-29 19:22:00,821 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43953531:ctest-vn-61287556 is found in opserver 2026-01-29 19:22:00,830 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 19:22:00,835 - DEBUG - VRF ids for VN ctest-vn-61287556: {} 2026-01-29 19:22:00,903 - DEBUG - Services list from nova: [, , ] 2026-01-29 19:22:01,987 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5136-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5136-1) 2026-01-29 19:22:03,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5136-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5136-1) 2026-01-29 19:22:03,154 - INFO - Waiting for VM ctest-TestBasicPolicy-43953531-84401212 to be up.. 2026-01-29 19:22:03,225 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 19:22:08,296 - DEBUG - VM is in ACTIVE state now 2026-01-29 19:22:08,296 - INFO - VM name : ctest-TestBasicPolicy-43953531-84401212 2026-01-29 19:22:08,362 - DEBUG - VM ctest-TestBasicPolicy-43953531-84401212 ID is e59bf1ca-9e10-4b6e-94c3-7a9673569281 2026-01-29 19:22:08,378 - DEBUG - VM ctest-TestBasicPolicy-43953531-84401212 launched on Node cn-jenkins-deploy-platform-ansible-os-5136-1 2026-01-29 19:22:08,440 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e59bf1ca-9e10-4b6e-94c3-7a9673569281 2026-01-29 19:22:08,448 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/21c17700-2b4b-4a70-9673-6c79510f7bf4 2026-01-29 19:22:11,715 - 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 1031ms') 2026-01-29 19:22:11,715 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43953531-84401212 failed! 2026-01-29 19:22:11,770 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43953531:ctest-vn-46971272 is 22.22.51.193 and allocation pool is NOT set 2026-01-29 19:22:13,830 - 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=3.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.56 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.556/2.454/3.353/0.898 ms') 2026-01-29 19:22:13,830 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43953531-84401212 passed 2026-01-29 19:22:13,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 19:22:13,982 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43953531-84401212, IP 22.22.51.195, Port 22 2026-01-29 19:22:14,133 - DEBUG - VM ctest-TestBasicPolicy-43953531-84401212 is ready for SSH connections 2026-01-29 19:22:14,134 - INFO - Waiting for VM ctest-TestBasicPolicy-43953531-37610119 to be up.. 2026-01-29 19:22:14,199 - DEBUG - VM is in ACTIVE state now 2026-01-29 19:22:14,199 - INFO - VM name : ctest-TestBasicPolicy-43953531-37610119 2026-01-29 19:22:14,263 - DEBUG - VM ctest-TestBasicPolicy-43953531-37610119 ID is 44c00c4d-f80c-4754-90d4-e2e4918287b7 2026-01-29 19:22:14,263 - DEBUG - VM ctest-TestBasicPolicy-43953531-37610119 launched on Node cn-jenkins-deploy-platform-ansible-os-5136-1 2026-01-29 19:22:14,330 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/44c00c4d-f80c-4754-90d4-e2e4918287b7 2026-01-29 19:22:14,338 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/522ee320-8553-433c-ad7d-5dbf9ab09f85 2026-01-29 19:22:15,562 - 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=5.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.368 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.368/2.733/5.098/2.365 ms') 2026-01-29 19:22:15,562 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43953531-37610119 passed 2026-01-29 19:22:15,713 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 19:22:15,714 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43953531-37610119, IP 54.84.3.3, Port 22 2026-01-29 19:22:15,868 - DEBUG - VM ctest-TestBasicPolicy-43953531-37610119 is ready for SSH connections 2026-01-29 19:22:15,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 19:22:15,869 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.84.3.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-29 19:22:15,869 - DEBUG - ping -s 56 -c 3 -W 1 54.84.3.3 2026-01-29 19:22:19,567 - DEBUG - PING 54.84.3.3 (54.84.3.3): 56 data bytes 64 bytes from 54.84.3.3: seq=0 ttl=63 time=4.276 ms 64 bytes from 54.84.3.3: seq=1 ttl=63 time=0.765 ms 64 bytes from 54.84.3.3: seq=2 ttl=63 time=0.801 ms --- 54.84.3.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.765/1.947/4.276 ms 2026-01-29 19:22:19,567 - INFO - Ping to IP 54.84.3.3 from VM ctest-TestBasicPolicy-43953531-84401212 passed 2026-01-29 19:22:19,737 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b130d3f0-9641-4df0-9d30-8ca3c16683f3", "href": "http://10.0.0.22:8082/network-policy/b130d3f0-9641-4df0-9d30-8ca3c16683f3"}} 2026-01-29 19:22:19,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 19:22:19,738 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.84.3.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-29 19:22:19,738 - DEBUG - ping -s 56 -c 3 -W 1 54.84.3.3 2026-01-29 19:22:22,925 - DEBUG - PING 54.84.3.3 (54.84.3.3): 56 data bytes --- 54.84.3.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-29 19:22:22,925 - WARNING - Ping to IP 54.84.3.3 from VM ctest-TestBasicPolicy-43953531-84401212 failed 2026-01-29 19:22:22,926 - INFO - Deleting VM ctest-TestBasicPolicy-43953531-37610119 2026-01-29 19:22:23,001 - INFO - Deleting VM ctest-TestBasicPolicy-43953531-84401212 2026-01-29 19:22:23,340 - INFO - Deleted policy ctest-policy-allow-all-59693953 2026-01-29 19:22:23,340 - INFO - Deleting VN ctest-vn-61287556 2026-01-29 19:22:23,374 - DEBUG - VN 3202c97a-e310-468f-9475-cc44cef676d8 still in use: Unable to complete operation on network 3202c97a-e310-468f-9475-cc44cef676d8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2965b650-7e30-4caa-9fdc-809e680b6757'] 2026-01-29 19:22:23,374 - WARNING - Deleting VN ctest-vn-61287556 failed..Will retry 2026-01-29 19:22:25,467 - DEBUG - Response for deleting network () 2026-01-29 19:22:25,467 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/fcd3704d-c24a-4e0f-a1ca-e59cc9ac8f07 2026-01-29 19:22:25,470 - DEBUG - Response Code: 404 2026-01-29 19:22:25,471 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 19:22:25,477 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9bde6b3e-04a0-4a43-a397-2518df866609 2026-01-29 19:22:25,532 - DEBUG - Requesting: http://10.0.0.22:8082/project/6cc67350-aa63-4d46-8905-04a7c4c7fb6e 2026-01-29 19:22:25,603 - INFO - Validated that VN ctest-vn-61287556 is not found in API Server 2026-01-29 19:22:25,612 - DEBUG - VN ctest-vn-61287556 is not present in Agent 10.0.0.22 2026-01-29 19:22:25,612 - INFO - Validated that VN ctest-vn-61287556 is not in any agent 2026-01-29 19:22:25,625 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61287556 info 2026-01-29 19:22:25,625 - INFO - Deleting VN ctest-vn-46971272 2026-01-29 19:22:25,721 - DEBUG - Response for deleting network () 2026-01-29 19:22:25,721 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ec6e673f-64b2-44a1-b52b-736dba3d2451 2026-01-29 19:22:25,726 - DEBUG - Response Code: 404 2026-01-29 19:22:25,726 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-29 19:22:25,730 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9bde6b3e-04a0-4a43-a397-2518df866609 2026-01-29 19:22:25,782 - DEBUG - Requesting: http://10.0.0.22:8082/project/6cc67350-aa63-4d46-8905-04a7c4c7fb6e 2026-01-29 19:22:25,849 - INFO - Validated that VN ctest-vn-46971272 is not found in API Server 2026-01-29 19:22:25,857 - DEBUG - VN ctest-vn-46971272 is not present in Agent 10.0.0.22 2026-01-29 19:22:25,857 - INFO - Validated that VN ctest-vn-46971272 is not in any agent 2026-01-29 19:22:25,868 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46971272 info 2026-01-29 19:22:26,127 - DEBUG - No XMPP flaps were noticed during the test 2026-01-29 19:22:26,127 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-01-29 19:22:26,127 - INFO - -------------------------------------------------------------------------------- 2026-01-29 19:22:26,805 - INFO - Deleted project: ctest-TestBasicPolicy-43953531, ID : 6cc67350-aa63-4d46-8905-04a7c4c7fb6e