2025-09-11 08:28:54,937 - INFO - Domain Default found not creating 2025-09-11 08:28:55,088 - INFO - Project ctest-TestBasicPolicy-73946626 not found, creating it 2025-09-11 08:28:55,539 - INFO - Created Project:ctest-TestBasicPolicy-73946626, ID : 7c0873d1-6b9d-4006-9c17-c48397697b74 2025-09-11 08:28:56,979 - INFO - ================================================================================ 2025-09-11 08:28:56,979 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-11 08:28:56,979 - 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-11 08:28:57,237 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-09-11 08:28:57,237 - INFO - Initial checks done. Running the testcase now 2025-09-11 08:28:57,237 - INFO - 2025-09-11 08:28:57,789 - DEBUG - Response for create_network : {'network': {'id': '78572714-06b4-4e69-80f2-150ea4fb9376', 'name': 'ctest-vn-00705431', 'tenant_id': '7c0873d16b9d40069c17c48397697b74', 'project_id': '7c0873d16b9d40069c17c48397697b74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73946626', 'ctest-vn-00705431'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 08:28:57,960 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd73e2aa8-afb1-4e59-be64-a8da87c7e12d', 'name': '', 'tenant_id': '7c0873d16b9d40069c17c48397697b74', 'network_id': '78572714-06b4-4e69-80f2-150ea4fb9376', 'ip_version': 4, 'cidr': '206.73.248.0/26', 'allocation_pools': [{'start': '206.73.248.2', 'end': '206.73.248.62'}], 'gateway_ip': '206.73.248.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.73.248.2', 'tags': [], 'project_id': '7c0873d16b9d40069c17c48397697b74'}} 2025-09-11 08:28:57,978 - INFO - Created VN ctest-vn-00705431 2025-09-11 08:28:58,031 - DEBUG - VN ctest-vn-00705431 UUID is 78572714-06b4-4e69-80f2-150ea4fb9376 2025-09-11 08:28:58,317 - DEBUG - Response for create_network : {'network': {'id': '77b169fe-2077-413a-9224-f467091d8ec6', 'name': 'ctest-vn-94846911', 'tenant_id': '7c0873d16b9d40069c17c48397697b74', 'project_id': '7c0873d16b9d40069c17c48397697b74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73946626', 'ctest-vn-94846911'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 08:28:58,518 - DEBUG - Response for create_subnet : {'subnet': {'id': '3cc9e718-ac00-4283-88f5-e85a3e56fa3c', 'name': '', 'tenant_id': '7c0873d16b9d40069c17c48397697b74', 'network_id': '77b169fe-2077-413a-9224-f467091d8ec6', 'ip_version': 4, 'cidr': '148.230.64.192/26', 'allocation_pools': [{'start': '148.230.64.194', 'end': '148.230.64.254'}], 'gateway_ip': '148.230.64.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.230.64.194', 'tags': [], 'project_id': '7c0873d16b9d40069c17c48397697b74'}} 2025-09-11 08:28:58,536 - INFO - Created VN ctest-vn-94846911 2025-09-11 08:28:58,587 - DEBUG - VN ctest-vn-94846911 UUID is 77b169fe-2077-413a-9224-f467091d8ec6 2025-09-11 08:28:58,743 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73946626:ctest-vn-00705431, 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-73946626:ctest-vn-94846911, 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-11 08:28:59,065 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '78572714-06b4-4e69-80f2-150ea4fb9376', 'name': 'ctest-vn-00705431', 'tenant_id': '7c0873d16b9d40069c17c48397697b74', 'project_id': '7c0873d16b9d40069c17c48397697b74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d73e2aa8-afb1-4e59-be64-a8da87c7e12d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73946626', 'ctest-vn-00705431'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73946626', 'ctest-policy-allow-all-78117247']], 'subnet_ipam': [{'subnet_cidr': '206.73.248.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 08:28:59,339 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '77b169fe-2077-413a-9224-f467091d8ec6', 'name': 'ctest-vn-94846911', 'tenant_id': '7c0873d16b9d40069c17c48397697b74', 'project_id': '7c0873d16b9d40069c17c48397697b74', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3cc9e718-ac00-4283-88f5-e85a3e56fa3c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73946626', 'ctest-vn-94846911'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73946626', 'ctest-policy-allow-all-78117247']], 'subnet_ipam': [{'subnet_cidr': '148.230.64.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 08:28:59,511 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-09-11 08:28:59,818 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-09-11 08:28:59,850 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6c547376-c615-47b1-85c3-d80e32421a8a 2025-09-11 08:28:59,865 - DEBUG - Requesting: http://10.0.0.141:8082/project/7c0873d1-6b9d-4006-9c17-c48397697b74 2025-09-11 08:28:59,954 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/78572714-06b4-4e69-80f2-150ea4fb9376 2025-09-11 08:28:59,987 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/78572714-06b4-4e69-80f2-150ea4fb9376 2025-09-11 08:29:00,009 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/50b2936e-dfd8-4999-bd54-b28dda4baa6d 2025-09-11 08:29:00,021 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/50b2936e-dfd8-4999-bd54-b28dda4baa6d 2025-09-11 08:29:00,038 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/73728df4-f8c1-4700-a3e0-25a54dbde5c7 2025-09-11 08:29:00,051 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 08:29:00,051 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/78572714-06b4-4e69-80f2-150ea4fb9376 2025-09-11 08:29:00,117 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/50b2936e-dfd8-4999-bd54-b28dda4baa6d 2025-09-11 08:29:00,144 - INFO - Verified VN network id 9 for VN 78572714-06b4-4e69-80f2-150ea4fb9376 2025-09-11 08:29:00,144 - INFO - Verifications in API Server for VN ctest-vn-00705431 passed 2025-09-11 08:29:00,145 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/78572714-06b4-4e69-80f2-150ea4fb9376 2025-09-11 08:29:00,163 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/50b2936e-dfd8-4999-bd54-b28dda4baa6d 2025-09-11 08:29:00,182 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/50b2936e-dfd8-4999-bd54-b28dda4baa6d 2025-09-11 08:29:00,223 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/73728df4-f8c1-4700-a3e0-25a54dbde5c7 2025-09-11 08:29:00,245 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73946626:ctest-vn-00705431', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73946626', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8671442574490488425', 'uuid-lslong': '9291512133860430710'}, 'enable': 'true', 'created': '2025-09-11T08:28:57', 'last-modified': '2025-09-11T08:28:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.212930'} 2025-09-11 08:29:00,253 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 08:29:00,253 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00705431 passed 2025-09-11 08:29:00,253 - DEBUG - ====Verifying policy data for ctest-vn-00705431 in API_Server ====== 2025-09-11 08:29:00,253 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-09-11 08:29:00,261 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6c547376-c615-47b1-85c3-d80e32421a8a 2025-09-11 08:29:00,275 - DEBUG - Requesting: http://10.0.0.141:8082/project/7c0873d1-6b9d-4006-9c17-c48397697b74 2025-09-11 08:29:00,416 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/78572714-06b4-4e69-80f2-150ea4fb9376 2025-09-11 08:29:00,436 - DEBUG - ==>Verifying data for policy with id: 994d2ce5-0ee2-4070-8b5c-d59368cbbed3, fqn: ['default-domain', 'ctest-TestBasicPolicy-73946626', 'ctest-policy-allow-all-78117247'] 2025-09-11 08:29:00,436 - INFO - VN ctest-vn-00705431 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 08:29:00,436 - DEBUG - Verifying the vn in opserver 2025-09-11 08:29:00,436 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73946626:ctest-vn-00705431 virtual network link through opserver 10.0.0.141 2025-09-11 08:29:00,437 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-09-11 08:29:00,812 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-09-11 08:29:00,891 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73946626:ctest-vn-00705431', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73946626:ctest-vn-00705431?flat'} 2025-09-11 08:29:00,891 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73946626:ctest-vn-00705431 is found in opserver 2025-09-11 08:29:00,904 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 08:29:00,910 - DEBUG - VRF ids for VN ctest-vn-00705431: {} 2025-09-11 08:29:00,910 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-09-11 08:29:00,917 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6c547376-c615-47b1-85c3-d80e32421a8a 2025-09-11 08:29:00,933 - DEBUG - Requesting: http://10.0.0.141:8082/project/7c0873d1-6b9d-4006-9c17-c48397697b74 2025-09-11 08:29:01,004 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/77b169fe-2077-413a-9224-f467091d8ec6 2025-09-11 08:29:01,025 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/77b169fe-2077-413a-9224-f467091d8ec6 2025-09-11 08:29:01,036 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/680cde33-6fa9-4c4f-824a-4261adf1cd78 2025-09-11 08:29:01,046 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/680cde33-6fa9-4c4f-824a-4261adf1cd78 2025-09-11 08:29:01,055 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/c6c15205-263f-4a58-b3b7-67f3b186382b 2025-09-11 08:29:01,063 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 08:29:01,063 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/77b169fe-2077-413a-9224-f467091d8ec6 2025-09-11 08:29:01,074 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/680cde33-6fa9-4c4f-824a-4261adf1cd78 2025-09-11 08:29:01,092 - INFO - Verified VN network id 10 for VN 77b169fe-2077-413a-9224-f467091d8ec6 2025-09-11 08:29:01,092 - INFO - Verifications in API Server for VN ctest-vn-94846911 passed 2025-09-11 08:29:01,092 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/77b169fe-2077-413a-9224-f467091d8ec6 2025-09-11 08:29:01,104 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/680cde33-6fa9-4c4f-824a-4261adf1cd78 2025-09-11 08:29:01,115 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/680cde33-6fa9-4c4f-824a-4261adf1cd78 2025-09-11 08:29:01,124 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/c6c15205-263f-4a58-b3b7-67f3b186382b 2025-09-11 08:29:01,136 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73946626:ctest-vn-94846911', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73946626', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8624791301578506554', 'uuid-lslong': '10530810552070803142'}, 'enable': 'true', 'created': '2025-09-11T08:28:58', 'last-modified': '2025-09-11T08:28:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.821339'} 2025-09-11 08:29:01,142 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 08:29:01,142 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94846911 passed 2025-09-11 08:29:01,142 - DEBUG - ====Verifying policy data for ctest-vn-94846911 in API_Server ====== 2025-09-11 08:29:01,142 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-09-11 08:29:01,148 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6c547376-c615-47b1-85c3-d80e32421a8a 2025-09-11 08:29:01,159 - DEBUG - Requesting: http://10.0.0.141:8082/project/7c0873d1-6b9d-4006-9c17-c48397697b74 2025-09-11 08:29:01,239 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/77b169fe-2077-413a-9224-f467091d8ec6 2025-09-11 08:29:01,250 - DEBUG - ==>Verifying data for policy with id: 994d2ce5-0ee2-4070-8b5c-d59368cbbed3, fqn: ['default-domain', 'ctest-TestBasicPolicy-73946626', 'ctest-policy-allow-all-78117247'] 2025-09-11 08:29:01,250 - INFO - VN ctest-vn-94846911 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 08:29:01,250 - DEBUG - Verifying the vn in opserver 2025-09-11 08:29:01,250 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73946626:ctest-vn-94846911 virtual network link through opserver 10.0.0.141 2025-09-11 08:29:01,251 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-09-11 08:29:01,261 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73946626:ctest-vn-94846911', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73946626:ctest-vn-94846911?flat'} 2025-09-11 08:29:01,261 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73946626:ctest-vn-94846911 is found in opserver 2025-09-11 08:29:01,272 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 08:29:01,279 - DEBUG - VRF ids for VN ctest-vn-94846911: {} 2025-09-11 08:29:01,345 - DEBUG - Services list from nova: [, , ] 2025-09-11 08:29:02,387 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4084-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4084-1) 2025-09-11 08:29:03,538 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4084-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4084-1) 2025-09-11 08:29:03,538 - INFO - Waiting for VM ctest-TestBasicPolicy-73946626-22286746 to be up.. 2025-09-11 08:29:03,617 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 08:29:08,697 - DEBUG - VM is in ACTIVE state now 2025-09-11 08:29:08,697 - INFO - VM name : ctest-TestBasicPolicy-73946626-22286746 2025-09-11 08:29:08,778 - DEBUG - VM ctest-TestBasicPolicy-73946626-22286746 ID is 75a6c1f0-5972-43dc-870f-1553e5131ac3 2025-09-11 08:29:08,798 - DEBUG - VM ctest-TestBasicPolicy-73946626-22286746 launched on Node cn-jenkins-deploy-platform-ansible-os-4084-1 2025-09-11 08:29:08,873 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/75a6c1f0-5972-43dc-870f-1553e5131ac3 2025-09-11 08:29:08,883 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/3e90a771-e0da-4c95-9e92-574c515137fe 2025-09-11 08:29:12,145 - 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 1019ms') 2025-09-11 08:29:12,145 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73946626-22286746 failed! 2025-09-11 08:29:12,199 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73946626:ctest-vn-00705431 is 206.73.248.1 and allocation pool is NOT set 2025-09-11 08:29:14,262 - 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=8.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.02 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.024/5.499/8.975/3.475 ms') 2025-09-11 08:29:14,262 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73946626-22286746 passed 2025-09-11 08:29:14,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:29:14,415 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73946626-22286746, IP 206.73.248.3, Port 22 2025-09-11 08:29:14,581 - DEBUG - VM ctest-TestBasicPolicy-73946626-22286746 is ready for SSH connections 2025-09-11 08:29:14,581 - INFO - Waiting for VM ctest-TestBasicPolicy-73946626-54359584 to be up.. 2025-09-11 08:29:14,657 - DEBUG - VM is in ACTIVE state now 2025-09-11 08:29:14,657 - INFO - VM name : ctest-TestBasicPolicy-73946626-54359584 2025-09-11 08:29:14,739 - DEBUG - VM ctest-TestBasicPolicy-73946626-54359584 ID is 4b6a06cc-328c-46a9-ba98-4b1bc0a3acf7 2025-09-11 08:29:14,739 - DEBUG - VM ctest-TestBasicPolicy-73946626-54359584 launched on Node cn-jenkins-deploy-platform-ansible-os-4084-1 2025-09-11 08:29:14,827 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/4b6a06cc-328c-46a9-ba98-4b1bc0a3acf7 2025-09-11 08:29:14,836 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/59449355-8b8f-46d8-a518-5ef069385c01 2025-09-11 08:29:16,084 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.01 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.005/1.959/2.914/0.954 ms') 2025-09-11 08:29:16,084 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73946626-54359584 passed 2025-09-11 08:29:16,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:29:16,231 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73946626-54359584, IP 148.230.64.195, Port 22 2025-09-11 08:29:16,387 - DEBUG - VM ctest-TestBasicPolicy-73946626-54359584 is ready for SSH connections 2025-09-11 08:29:16,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:29:16,387 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.230.64.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-09-11 08:29:16,387 - DEBUG - ping -s 56 -c 3 -W 1 148.230.64.195 2025-09-11 08:29:20,076 - DEBUG - PING 148.230.64.195 (148.230.64.195): 56 data bytes 64 bytes from 148.230.64.195: seq=0 ttl=63 time=3.541 ms 64 bytes from 148.230.64.195: seq=1 ttl=63 time=0.826 ms 64 bytes from 148.230.64.195: seq=2 ttl=63 time=0.842 ms --- 148.230.64.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/1.736/3.541 ms 2025-09-11 08:29:20,076 - INFO - Ping to IP 148.230.64.195 from VM ctest-TestBasicPolicy-73946626-22286746 passed 2025-09-11 08:29:20,251 - DEBUG - Policy Update Response {"network-policy": {"uuid": "994d2ce5-0ee2-4070-8b5c-d59368cbbed3", "href": "http://10.0.0.141:8082/network-policy/994d2ce5-0ee2-4070-8b5c-d59368cbbed3"}} 2025-09-11 08:29:20,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:29:20,251 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.230.64.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-09-11 08:29:20,251 - DEBUG - ping -s 56 -c 3 -W 1 148.230.64.195 2025-09-11 08:29:23,469 - DEBUG - PING 148.230.64.195 (148.230.64.195): 56 data bytes --- 148.230.64.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 08:29:23,470 - WARNING - Ping to IP 148.230.64.195 from VM ctest-TestBasicPolicy-73946626-22286746 failed 2025-09-11 08:29:23,470 - INFO - Deleting VM ctest-TestBasicPolicy-73946626-54359584 2025-09-11 08:29:23,544 - INFO - Deleting VM ctest-TestBasicPolicy-73946626-22286746 2025-09-11 08:29:23,883 - INFO - Deleted policy ctest-policy-allow-all-78117247 2025-09-11 08:29:23,883 - INFO - Deleting VN ctest-vn-94846911 2025-09-11 08:29:23,922 - DEBUG - VN 77b169fe-2077-413a-9224-f467091d8ec6 still in use: Unable to complete operation on network 77b169fe-2077-413a-9224-f467091d8ec6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d95727bc-dafe-4366-8dd4-59b520a72d9d'] 2025-09-11 08:29:23,923 - WARNING - Deleting VN ctest-vn-94846911 failed..Will retry 2025-09-11 08:29:26,018 - DEBUG - Response for deleting network () 2025-09-11 08:29:26,018 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/680cde33-6fa9-4c4f-824a-4261adf1cd78 2025-09-11 08:29:26,023 - DEBUG - Response Code: 404 2025-09-11 08:29:26,024 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-09-11 08:29:26,030 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6c547376-c615-47b1-85c3-d80e32421a8a 2025-09-11 08:29:26,087 - DEBUG - Requesting: http://10.0.0.141:8082/project/7c0873d1-6b9d-4006-9c17-c48397697b74 2025-09-11 08:29:26,156 - INFO - Validated that VN ctest-vn-94846911 is not found in API Server 2025-09-11 08:29:26,164 - DEBUG - VN ctest-vn-94846911 is not present in Agent 10.0.0.141 2025-09-11 08:29:26,164 - INFO - Validated that VN ctest-vn-94846911 is not in any agent 2025-09-11 08:29:26,177 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94846911 info 2025-09-11 08:29:26,177 - INFO - Deleting VN ctest-vn-00705431 2025-09-11 08:29:26,265 - DEBUG - Response for deleting network () 2025-09-11 08:29:26,265 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/50b2936e-dfd8-4999-bd54-b28dda4baa6d 2025-09-11 08:29:26,272 - DEBUG - Response Code: 404 2025-09-11 08:29:26,272 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-09-11 08:29:26,276 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6c547376-c615-47b1-85c3-d80e32421a8a 2025-09-11 08:29:26,327 - DEBUG - Requesting: http://10.0.0.141:8082/project/7c0873d1-6b9d-4006-9c17-c48397697b74 2025-09-11 08:29:26,397 - INFO - Validated that VN ctest-vn-00705431 is not found in API Server 2025-09-11 08:29:26,406 - DEBUG - VN ctest-vn-00705431 is not present in Agent 10.0.0.141 2025-09-11 08:29:26,406 - INFO - Validated that VN ctest-vn-00705431 is not in any agent 2025-09-11 08:29:26,418 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00705431 info 2025-09-11 08:29:26,671 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 08:29:26,672 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-11 08:29:26,672 - INFO - -------------------------------------------------------------------------------- 2025-09-11 08:29:27,323 - INFO - Deleted project: ctest-TestBasicPolicy-73946626, ID : 7c0873d1-6b9d-4006-9c17-c48397697b74