2025-09-18 16:21:25,820 - INFO - Domain Default found not creating 2025-09-18 16:21:25,947 - INFO - Project ctest-TestBasicPolicy-20739216 not found, creating it 2025-09-18 16:21:26,364 - INFO - Created Project:ctest-TestBasicPolicy-20739216, ID : 1a4cbe57-373c-4587-a893-ca6c713e17da 2025-09-18 16:21:27,758 - INFO - ================================================================================ 2025-09-18 16:21:27,758 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-18 16:21:27,758 - 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 2025-09-18 16:21:28,016 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-18 16:21:28,016 - INFO - Initial checks done. Running the testcase now 2025-09-18 16:21:28,016 - INFO - 2025-09-18 16:21:28,547 - DEBUG - Response for create_network : {'network': {'id': '8eabae64-2931-4b33-845a-a8137f68933f', 'name': 'ctest-vn-87363459', 'tenant_id': '1a4cbe57373c4587a893ca6c713e17da', 'project_id': '1a4cbe57373c4587a893ca6c713e17da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20739216', 'ctest-vn-87363459'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 16:21:28,697 - DEBUG - Response for create_subnet : {'subnet': {'id': '78487908-4359-4131-809a-75daf0b9d3a6', 'name': '', 'tenant_id': '1a4cbe57373c4587a893ca6c713e17da', 'network_id': '8eabae64-2931-4b33-845a-a8137f68933f', 'ip_version': 4, 'cidr': '89.156.171.192/26', 'allocation_pools': [{'start': '89.156.171.194', 'end': '89.156.171.254'}], 'gateway_ip': '89.156.171.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.156.171.194', 'tags': [], 'project_id': '1a4cbe57373c4587a893ca6c713e17da'}} 2025-09-18 16:21:28,713 - INFO - Created VN ctest-vn-87363459 2025-09-18 16:21:28,766 - DEBUG - VN ctest-vn-87363459 UUID is 8eabae64-2931-4b33-845a-a8137f68933f 2025-09-18 16:21:29,075 - DEBUG - Response for create_network : {'network': {'id': '2ced8328-ad76-458d-b993-01fd40b8a322', 'name': 'ctest-vn-66217255', 'tenant_id': '1a4cbe57373c4587a893ca6c713e17da', 'project_id': '1a4cbe57373c4587a893ca6c713e17da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20739216', 'ctest-vn-66217255'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 16:21:29,250 - DEBUG - Response for create_subnet : {'subnet': {'id': '836f0af1-5038-4dca-b344-b64a238ef5fd', 'name': '', 'tenant_id': '1a4cbe57373c4587a893ca6c713e17da', 'network_id': '2ced8328-ad76-458d-b993-01fd40b8a322', 'ip_version': 4, 'cidr': '26.89.53.192/26', 'allocation_pools': [{'start': '26.89.53.194', 'end': '26.89.53.254'}], 'gateway_ip': '26.89.53.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.89.53.194', 'tags': [], 'project_id': '1a4cbe57373c4587a893ca6c713e17da'}} 2025-09-18 16:21:29,268 - INFO - Created VN ctest-vn-66217255 2025-09-18 16:21:29,322 - DEBUG - VN ctest-vn-66217255 UUID is 2ced8328-ad76-458d-b993-01fd40b8a322 2025-09-18 16:21:29,470 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20739216:ctest-vn-87363459, 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-20739216:ctest-vn-66217255, 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] 2025-09-18 16:21:29,767 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8eabae64-2931-4b33-845a-a8137f68933f', 'name': 'ctest-vn-87363459', 'tenant_id': '1a4cbe57373c4587a893ca6c713e17da', 'project_id': '1a4cbe57373c4587a893ca6c713e17da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['78487908-4359-4131-809a-75daf0b9d3a6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20739216', 'ctest-vn-87363459'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20739216', 'ctest-policy-allow-all-45326392']], 'subnet_ipam': [{'subnet_cidr': '89.156.171.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 16:21:29,992 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2ced8328-ad76-458d-b993-01fd40b8a322', 'name': 'ctest-vn-66217255', 'tenant_id': '1a4cbe57373c4587a893ca6c713e17da', 'project_id': '1a4cbe57373c4587a893ca6c713e17da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['836f0af1-5038-4dca-b344-b64a238ef5fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20739216', 'ctest-vn-66217255'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20739216', 'ctest-policy-allow-all-45326392']], 'subnet_ipam': [{'subnet_cidr': '26.89.53.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 16:21:30,146 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 16:21:30,471 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 16:21:30,534 - DEBUG - Requesting: http://10.0.0.254:8082/domain/351a95ff-19e9-4a83-9fe6-28cecda65472 2025-09-18 16:21:30,611 - DEBUG - Requesting: http://10.0.0.254:8082/project/1a4cbe57-373c-4587-a893-ca6c713e17da 2025-09-18 16:21:30,698 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8eabae64-2931-4b33-845a-a8137f68933f 2025-09-18 16:21:30,715 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8eabae64-2931-4b33-845a-a8137f68933f 2025-09-18 16:21:30,726 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8053892e-44cf-407d-96e9-2ed37d2a70b3 2025-09-18 16:21:30,733 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8053892e-44cf-407d-96e9-2ed37d2a70b3 2025-09-18 16:21:30,740 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/10a47f80-afc2-4328-b6bc-fa3027654eab 2025-09-18 16:21:30,748 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 16:21:30,748 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8eabae64-2931-4b33-845a-a8137f68933f 2025-09-18 16:21:30,757 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8053892e-44cf-407d-96e9-2ed37d2a70b3 2025-09-18 16:21:30,774 - INFO - Verified VN network id 12 for VN 8eabae64-2931-4b33-845a-a8137f68933f 2025-09-18 16:21:30,774 - INFO - Verifications in API Server for VN ctest-vn-87363459 passed 2025-09-18 16:21:30,774 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8eabae64-2931-4b33-845a-a8137f68933f 2025-09-18 16:21:30,785 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8053892e-44cf-407d-96e9-2ed37d2a70b3 2025-09-18 16:21:30,792 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8053892e-44cf-407d-96e9-2ed37d2a70b3 2025-09-18 16:21:30,800 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/10a47f80-afc2-4328-b6bc-fa3027654eab 2025-09-18 16:21:30,820 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20739216:ctest-vn-87363459', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20739216', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10280502319614348083', 'uuid-lslong': '9537119962605851455'}, 'enable': 'true', 'created': '2025-09-18T16:21:28', 'last-modified': '2025-09-18T16:21:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.075007'} 2025-09-18 16:21:30,826 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 16:21:30,826 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87363459 passed 2025-09-18 16:21:30,826 - DEBUG - ====Verifying policy data for ctest-vn-87363459 in API_Server ====== 2025-09-18 16:21:30,826 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 16:21:30,832 - DEBUG - Requesting: http://10.0.0.254:8082/domain/351a95ff-19e9-4a83-9fe6-28cecda65472 2025-09-18 16:21:30,842 - DEBUG - Requesting: http://10.0.0.254:8082/project/1a4cbe57-373c-4587-a893-ca6c713e17da 2025-09-18 16:21:30,913 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8eabae64-2931-4b33-845a-a8137f68933f 2025-09-18 16:21:30,922 - DEBUG - ==>Verifying data for policy with id: 3fb4834c-19e9-40c9-976d-cd1ec3e255a5, fqn: ['default-domain', 'ctest-TestBasicPolicy-20739216', 'ctest-policy-allow-all-45326392'] 2025-09-18 16:21:30,922 - INFO - VN ctest-vn-87363459 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 16:21:30,922 - DEBUG - Verifying the vn in opserver 2025-09-18 16:21:30,922 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20739216:ctest-vn-87363459 virtual network link through opserver 10.0.0.254 2025-09-18 16:21:30,922 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-18 16:21:31,213 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-18 16:21:31,266 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20739216:ctest-vn-87363459', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20739216:ctest-vn-87363459?flat'} 2025-09-18 16:21:31,266 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20739216:ctest-vn-87363459 is found in opserver 2025-09-18 16:21:31,276 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 16:21:31,280 - DEBUG - VRF ids for VN ctest-vn-87363459: {} 2025-09-18 16:21:31,280 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 16:21:31,285 - DEBUG - Requesting: http://10.0.0.254:8082/domain/351a95ff-19e9-4a83-9fe6-28cecda65472 2025-09-18 16:21:31,295 - DEBUG - Requesting: http://10.0.0.254:8082/project/1a4cbe57-373c-4587-a893-ca6c713e17da 2025-09-18 16:21:31,361 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2ced8328-ad76-458d-b993-01fd40b8a322 2025-09-18 16:21:31,371 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2ced8328-ad76-458d-b993-01fd40b8a322 2025-09-18 16:21:31,381 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/00daedce-392a-4646-84bd-ec3247f25910 2025-09-18 16:21:31,388 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/00daedce-392a-4646-84bd-ec3247f25910 2025-09-18 16:21:31,395 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7d7f6191-4601-49c9-8ff1-f8738d108faf 2025-09-18 16:21:31,402 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 16:21:31,402 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2ced8328-ad76-458d-b993-01fd40b8a322 2025-09-18 16:21:31,411 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/00daedce-392a-4646-84bd-ec3247f25910 2025-09-18 16:21:31,425 - INFO - Verified VN network id 13 for VN 2ced8328-ad76-458d-b993-01fd40b8a322 2025-09-18 16:21:31,425 - INFO - Verifications in API Server for VN ctest-vn-66217255 passed 2025-09-18 16:21:31,425 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2ced8328-ad76-458d-b993-01fd40b8a322 2025-09-18 16:21:31,434 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/00daedce-392a-4646-84bd-ec3247f25910 2025-09-18 16:21:31,441 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/00daedce-392a-4646-84bd-ec3247f25910 2025-09-18 16:21:31,448 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7d7f6191-4601-49c9-8ff1-f8738d108faf 2025-09-18 16:21:31,463 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20739216:ctest-vn-66217255', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20739216', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3237387917881394573', 'uuid-lslong': '13372033905817330466'}, 'enable': 'true', 'created': '2025-09-18T16:21:29', 'last-modified': '2025-09-18T16:21:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.492010'} 2025-09-18 16:21:31,469 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 16:21:31,469 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66217255 passed 2025-09-18 16:21:31,469 - DEBUG - ====Verifying policy data for ctest-vn-66217255 in API_Server ====== 2025-09-18 16:21:31,470 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 16:21:31,475 - DEBUG - Requesting: http://10.0.0.254:8082/domain/351a95ff-19e9-4a83-9fe6-28cecda65472 2025-09-18 16:21:31,485 - DEBUG - Requesting: http://10.0.0.254:8082/project/1a4cbe57-373c-4587-a893-ca6c713e17da 2025-09-18 16:21:31,557 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2ced8328-ad76-458d-b993-01fd40b8a322 2025-09-18 16:21:31,565 - DEBUG - ==>Verifying data for policy with id: 3fb4834c-19e9-40c9-976d-cd1ec3e255a5, fqn: ['default-domain', 'ctest-TestBasicPolicy-20739216', 'ctest-policy-allow-all-45326392'] 2025-09-18 16:21:31,565 - INFO - VN ctest-vn-66217255 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 16:21:31,565 - DEBUG - Verifying the vn in opserver 2025-09-18 16:21:31,565 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20739216:ctest-vn-66217255 virtual network link through opserver 10.0.0.254 2025-09-18 16:21:31,565 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-18 16:21:31,575 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20739216:ctest-vn-66217255', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20739216:ctest-vn-66217255?flat'} 2025-09-18 16:21:31,575 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20739216:ctest-vn-66217255 is found in opserver 2025-09-18 16:21:31,583 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 16:21:31,587 - DEBUG - VRF ids for VN ctest-vn-66217255: {} 2025-09-18 16:21:31,645 - DEBUG - Services list from nova: [, , ] 2025-09-18 16:21:32,626 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4139-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4139-1) 2025-09-18 16:21:33,714 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4139-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4139-1) 2025-09-18 16:21:33,714 - INFO - Waiting for VM ctest-TestBasicPolicy-20739216-48173554 to be up.. 2025-09-18 16:21:33,785 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 16:21:38,854 - DEBUG - VM is in ACTIVE state now 2025-09-18 16:21:38,854 - INFO - VM name : ctest-TestBasicPolicy-20739216-48173554 2025-09-18 16:21:38,928 - DEBUG - VM ctest-TestBasicPolicy-20739216-48173554 ID is b95fac6d-922f-4055-a025-63c48ac49ddb 2025-09-18 16:21:38,948 - DEBUG - VM ctest-TestBasicPolicy-20739216-48173554 launched on Node cn-jenkins-deploy-platform-ansible-os-4139-1 2025-09-18 16:21:39,021 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b95fac6d-922f-4055-a025-63c48ac49ddb 2025-09-18 16:21:39,030 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/870e59fb-f9d2-49f6-854b-3a15c023eb94 2025-09-18 16:21:42,308 - 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') 2025-09-18 16:21:42,309 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20739216-48173554 failed! 2025-09-18 16:21:42,366 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20739216:ctest-vn-87363459 is 89.156.171.193 and allocation pool is NOT set 2025-09-18 16:21:44,437 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.24 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.238/3.378/4.518/1.140 ms') 2025-09-18 16:21:44,438 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20739216-48173554 passed 2025-09-18 16:21:44,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 16:21:44,590 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20739216-48173554, IP 89.156.171.195, Port 22 2025-09-18 16:21:44,764 - DEBUG - VM ctest-TestBasicPolicy-20739216-48173554 is ready for SSH connections 2025-09-18 16:21:44,764 - INFO - Waiting for VM ctest-TestBasicPolicy-20739216-55059550 to be up.. 2025-09-18 16:21:44,838 - DEBUG - VM is in ACTIVE state now 2025-09-18 16:21:44,838 - INFO - VM name : ctest-TestBasicPolicy-20739216-55059550 2025-09-18 16:21:44,904 - DEBUG - VM ctest-TestBasicPolicy-20739216-55059550 ID is dbe1e494-5735-4ff1-926a-fa39576a5c8e 2025-09-18 16:21:44,904 - DEBUG - VM ctest-TestBasicPolicy-20739216-55059550 launched on Node cn-jenkins-deploy-platform-ansible-os-4139-1 2025-09-18 16:21:44,971 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dbe1e494-5735-4ff1-926a-fa39576a5c8e 2025-09-18 16:21:44,978 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4a95da46-8085-4a76-8968-4576ede50c49 2025-09-18 16:21:46,216 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.443/1.749/3.055/1.306 ms') 2025-09-18 16:21:46,216 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20739216-55059550 passed 2025-09-18 16:21:46,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 16:21:46,366 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20739216-55059550, IP 26.89.53.195, Port 22 2025-09-18 16:21:46,521 - DEBUG - VM ctest-TestBasicPolicy-20739216-55059550 is ready for SSH connections 2025-09-18 16:21:46,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 16:21:46,521 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.89.53.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 16:21:46,521 - DEBUG - ping -s 56 -c 3 -W 1 26.89.53.195 2025-09-18 16:21:50,206 - DEBUG - PING 26.89.53.195 (26.89.53.195): 56 data bytes 64 bytes from 26.89.53.195: seq=0 ttl=63 time=3.306 ms 64 bytes from 26.89.53.195: seq=1 ttl=63 time=0.908 ms 64 bytes from 26.89.53.195: seq=2 ttl=63 time=0.734 ms --- 26.89.53.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.734/1.649/3.306 ms 2025-09-18 16:21:50,206 - INFO - Ping to IP 26.89.53.195 from VM ctest-TestBasicPolicy-20739216-48173554 passed 2025-09-18 16:21:50,382 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3fb4834c-19e9-40c9-976d-cd1ec3e255a5", "href": "http://10.0.0.254:8082/network-policy/3fb4834c-19e9-40c9-976d-cd1ec3e255a5"}} 2025-09-18 16:21:50,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 16:21:50,382 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.89.53.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 16:21:50,382 - DEBUG - ping -s 56 -c 3 -W 1 26.89.53.195 2025-09-18 16:21:53,588 - DEBUG - PING 26.89.53.195 (26.89.53.195): 56 data bytes --- 26.89.53.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 16:21:53,588 - WARNING - Ping to IP 26.89.53.195 from VM ctest-TestBasicPolicy-20739216-48173554 failed 2025-09-18 16:21:53,588 - INFO - Deleting VM ctest-TestBasicPolicy-20739216-55059550 2025-09-18 16:21:53,653 - INFO - Deleting VM ctest-TestBasicPolicy-20739216-48173554 2025-09-18 16:21:53,996 - INFO - Deleted policy ctest-policy-allow-all-45326392 2025-09-18 16:21:53,996 - INFO - Deleting VN ctest-vn-66217255 2025-09-18 16:21:54,032 - DEBUG - VN 2ced8328-ad76-458d-b993-01fd40b8a322 still in use: Unable to complete operation on network 2ced8328-ad76-458d-b993-01fd40b8a322. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-329e8b94-9e91-483a-93c6-e64c7af8404f'] 2025-09-18 16:21:54,032 - WARNING - Deleting VN ctest-vn-66217255 failed..Will retry 2025-09-18 16:21:56,126 - DEBUG - Response for deleting network () 2025-09-18 16:21:56,126 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/00daedce-392a-4646-84bd-ec3247f25910 2025-09-18 16:21:56,132 - DEBUG - Response Code: 404 2025-09-18 16:21:56,132 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 16:21:56,137 - DEBUG - Requesting: http://10.0.0.254:8082/domain/351a95ff-19e9-4a83-9fe6-28cecda65472 2025-09-18 16:21:56,190 - DEBUG - Requesting: http://10.0.0.254:8082/project/1a4cbe57-373c-4587-a893-ca6c713e17da 2025-09-18 16:21:56,259 - INFO - Validated that VN ctest-vn-66217255 is not found in API Server 2025-09-18 16:21:56,267 - DEBUG - VN ctest-vn-66217255 is not present in Agent 10.0.0.254 2025-09-18 16:21:56,268 - INFO - Validated that VN ctest-vn-66217255 is not in any agent 2025-09-18 16:21:56,280 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66217255 info 2025-09-18 16:21:56,280 - INFO - Deleting VN ctest-vn-87363459 2025-09-18 16:21:56,369 - DEBUG - Response for deleting network () 2025-09-18 16:21:56,369 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8053892e-44cf-407d-96e9-2ed37d2a70b3 2025-09-18 16:21:56,376 - DEBUG - Response Code: 404 2025-09-18 16:21:56,376 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 16:21:56,380 - DEBUG - Requesting: http://10.0.0.254:8082/domain/351a95ff-19e9-4a83-9fe6-28cecda65472 2025-09-18 16:21:56,434 - DEBUG - Requesting: http://10.0.0.254:8082/project/1a4cbe57-373c-4587-a893-ca6c713e17da 2025-09-18 16:21:56,506 - INFO - Validated that VN ctest-vn-87363459 is not found in API Server 2025-09-18 16:21:56,516 - DEBUG - VN ctest-vn-87363459 is not present in Agent 10.0.0.254 2025-09-18 16:21:56,516 - INFO - Validated that VN ctest-vn-87363459 is not in any agent 2025-09-18 16:21:56,529 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87363459 info 2025-09-18 16:21:56,782 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 16:21:56,783 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-18 16:21:56,783 - INFO - -------------------------------------------------------------------------------- 2025-09-18 16:21:57,449 - INFO - Deleted project: ctest-TestBasicPolicy-20739216, ID : 1a4cbe57-373c-4587-a893-ca6c713e17da