2025-10-31 16:25:51,355 - INFO - Domain Default found not creating 2025-10-31 16:25:51,733 - INFO - Project ctest-TestBasicPolicy-78228063 not found, creating it 2025-10-31 16:25:52,393 - INFO - Created Project:ctest-TestBasicPolicy-78228063, ID : 3a2508f0-a1ba-44d7-97a5-7993f2474c31 2025-10-31 16:25:54,745 - INFO - ================================================================================ 2025-10-31 16:25:54,745 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-31 16:25:54,746 - 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-10-31 16:25:55,074 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-10-31 16:25:55,074 - INFO - Initial checks done. Running the testcase now 2025-10-31 16:25:55,074 - INFO - 2025-10-31 16:25:55,809 - DEBUG - Response for create_network : {'network': {'id': 'f1ca5383-ebd4-4090-841d-e8390ea6c2bd', 'name': 'ctest-vn-35512327', 'tenant_id': '3a2508f0a1ba44d797a57993f2474c31', 'project_id': '3a2508f0a1ba44d797a57993f2474c31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78228063', 'ctest-vn-35512327'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 16:25:56,036 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b81a6fd5-b92c-41e6-9f47-af2194dbcb8b', 'name': '', 'tenant_id': '3a2508f0a1ba44d797a57993f2474c31', 'network_id': 'f1ca5383-ebd4-4090-841d-e8390ea6c2bd', 'ip_version': 4, 'cidr': '175.77.219.128/26', 'allocation_pools': [{'start': '175.77.219.130', 'end': '175.77.219.190'}], 'gateway_ip': '175.77.219.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.77.219.130', 'tags': [], 'project_id': '3a2508f0a1ba44d797a57993f2474c31'}} 2025-10-31 16:25:56,053 - INFO - Created VN ctest-vn-35512327 2025-10-31 16:25:56,109 - DEBUG - VN ctest-vn-35512327 UUID is f1ca5383-ebd4-4090-841d-e8390ea6c2bd 2025-10-31 16:25:56,510 - DEBUG - Response for create_network : {'network': {'id': '300da487-3969-48c8-9ba2-2cdd970cf498', 'name': 'ctest-vn-04316428', 'tenant_id': '3a2508f0a1ba44d797a57993f2474c31', 'project_id': '3a2508f0a1ba44d797a57993f2474c31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78228063', 'ctest-vn-04316428'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 16:25:56,720 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d55fb35-9920-4299-b07f-f91a0badcc40', 'name': '', 'tenant_id': '3a2508f0a1ba44d797a57993f2474c31', 'network_id': '300da487-3969-48c8-9ba2-2cdd970cf498', 'ip_version': 4, 'cidr': '161.129.104.192/26', 'allocation_pools': [{'start': '161.129.104.194', 'end': '161.129.104.254'}], 'gateway_ip': '161.129.104.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.129.104.194', 'tags': [], 'project_id': '3a2508f0a1ba44d797a57993f2474c31'}} 2025-10-31 16:25:56,740 - INFO - Created VN ctest-vn-04316428 2025-10-31 16:25:56,801 - DEBUG - VN ctest-vn-04316428 UUID is 300da487-3969-48c8-9ba2-2cdd970cf498 2025-10-31 16:25:56,956 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78228063:ctest-vn-35512327, 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-78228063:ctest-vn-04316428, 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-10-31 16:25:57,348 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f1ca5383-ebd4-4090-841d-e8390ea6c2bd', 'name': 'ctest-vn-35512327', 'tenant_id': '3a2508f0a1ba44d797a57993f2474c31', 'project_id': '3a2508f0a1ba44d797a57993f2474c31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b81a6fd5-b92c-41e6-9f47-af2194dbcb8b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78228063', 'ctest-vn-35512327'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78228063', 'ctest-policy-allow-all-49873575']], 'subnet_ipam': [{'subnet_cidr': '175.77.219.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 16:25:57,581 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '300da487-3969-48c8-9ba2-2cdd970cf498', 'name': 'ctest-vn-04316428', 'tenant_id': '3a2508f0a1ba44d797a57993f2474c31', 'project_id': '3a2508f0a1ba44d797a57993f2474c31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3d55fb35-9920-4299-b07f-f91a0badcc40'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78228063', 'ctest-vn-04316428'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78228063', 'ctest-policy-allow-all-49873575']], 'subnet_ipam': [{'subnet_cidr': '161.129.104.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 16:25:57,745 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 16:25:58,047 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 16:25:58,093 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ca8d3a8d-2b3f-4146-b439-65996d4dbb4f 2025-10-31 16:25:58,125 - DEBUG - Requesting: http://10.0.0.50:8082/project/3a2508f0-a1ba-44d7-97a5-7993f2474c31 2025-10-31 16:25:58,248 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f1ca5383-ebd4-4090-841d-e8390ea6c2bd 2025-10-31 16:25:58,274 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f1ca5383-ebd4-4090-841d-e8390ea6c2bd 2025-10-31 16:25:58,296 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/61b6d395-3b2b-495e-a253-5eb411e4230b 2025-10-31 16:25:58,316 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/61b6d395-3b2b-495e-a253-5eb411e4230b 2025-10-31 16:25:58,336 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/399ed451-fa5a-460a-ac15-5fa531fcacaf 2025-10-31 16:25:58,353 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 16:25:58,353 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f1ca5383-ebd4-4090-841d-e8390ea6c2bd 2025-10-31 16:25:58,385 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/61b6d395-3b2b-495e-a253-5eb411e4230b 2025-10-31 16:25:58,421 - INFO - Verified VN network id 11 for VN f1ca5383-ebd4-4090-841d-e8390ea6c2bd 2025-10-31 16:25:58,421 - INFO - Verifications in API Server for VN ctest-vn-35512327 passed 2025-10-31 16:25:58,421 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f1ca5383-ebd4-4090-841d-e8390ea6c2bd 2025-10-31 16:25:58,445 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/61b6d395-3b2b-495e-a253-5eb411e4230b 2025-10-31 16:25:58,461 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/61b6d395-3b2b-495e-a253-5eb411e4230b 2025-10-31 16:25:58,474 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/399ed451-fa5a-460a-ac15-5fa531fcacaf 2025-10-31 16:25:58,503 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78228063:ctest-vn-35512327', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78228063', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17422829934498562192', 'uuid-lslong': '9520020519087686333'}, 'enable': 'true', 'created': '2025-10-31T16:25:55', 'last-modified': '2025-10-31T16:25:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.181404'} 2025-10-31 16:25:58,517 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 16:25:58,517 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35512327 passed 2025-10-31 16:25:58,518 - DEBUG - ====Verifying policy data for ctest-vn-35512327 in API_Server ====== 2025-10-31 16:25:58,518 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 16:25:58,528 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ca8d3a8d-2b3f-4146-b439-65996d4dbb4f 2025-10-31 16:25:58,541 - DEBUG - Requesting: http://10.0.0.50:8082/project/3a2508f0-a1ba-44d7-97a5-7993f2474c31 2025-10-31 16:25:58,642 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f1ca5383-ebd4-4090-841d-e8390ea6c2bd 2025-10-31 16:25:58,661 - DEBUG - ==>Verifying data for policy with id: be4f8e73-92ec-49bd-8ccf-8f218ae351da, fqn: ['default-domain', 'ctest-TestBasicPolicy-78228063', 'ctest-policy-allow-all-49873575'] 2025-10-31 16:25:58,661 - INFO - VN ctest-vn-35512327 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 16:25:58,661 - DEBUG - Verifying the vn in opserver 2025-10-31 16:25:58,661 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78228063:ctest-vn-35512327 virtual network link through opserver 10.0.0.50 2025-10-31 16:25:58,662 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-31 16:25:59,001 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-31 16:25:59,109 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78228063:ctest-vn-35512327', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78228063:ctest-vn-35512327?flat'} 2025-10-31 16:25:59,109 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78228063:ctest-vn-35512327 is found in opserver 2025-10-31 16:25:59,138 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 16:25:59,148 - DEBUG - VRF ids for VN ctest-vn-35512327: {} 2025-10-31 16:25:59,148 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 16:25:59,157 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ca8d3a8d-2b3f-4146-b439-65996d4dbb4f 2025-10-31 16:25:59,170 - DEBUG - Requesting: http://10.0.0.50:8082/project/3a2508f0-a1ba-44d7-97a5-7993f2474c31 2025-10-31 16:25:59,289 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/300da487-3969-48c8-9ba2-2cdd970cf498 2025-10-31 16:25:59,331 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/300da487-3969-48c8-9ba2-2cdd970cf498 2025-10-31 16:25:59,350 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96eba33a-faa1-413d-94fe-e43658413624 2025-10-31 16:25:59,364 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96eba33a-faa1-413d-94fe-e43658413624 2025-10-31 16:25:59,376 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0f600e4d-a0f1-4de5-8f81-8a3ddf0ec1c2 2025-10-31 16:25:59,390 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 16:25:59,390 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/300da487-3969-48c8-9ba2-2cdd970cf498 2025-10-31 16:25:59,408 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96eba33a-faa1-413d-94fe-e43658413624 2025-10-31 16:25:59,431 - INFO - Verified VN network id 12 for VN 300da487-3969-48c8-9ba2-2cdd970cf498 2025-10-31 16:25:59,431 - INFO - Verifications in API Server for VN ctest-vn-04316428 passed 2025-10-31 16:25:59,432 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/300da487-3969-48c8-9ba2-2cdd970cf498 2025-10-31 16:25:59,447 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96eba33a-faa1-413d-94fe-e43658413624 2025-10-31 16:25:59,457 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96eba33a-faa1-413d-94fe-e43658413624 2025-10-31 16:25:59,468 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0f600e4d-a0f1-4de5-8f81-8a3ddf0ec1c2 2025-10-31 16:25:59,486 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78228063:ctest-vn-04316428', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78228063', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3462604589208520904', 'uuid-lslong': '11214575352339559576'}, 'enable': 'true', 'created': '2025-10-31T16:25:56', 'last-modified': '2025-10-31T16:25:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.927993'} 2025-10-31 16:25:59,496 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 16:25:59,496 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04316428 passed 2025-10-31 16:25:59,497 - DEBUG - ====Verifying policy data for ctest-vn-04316428 in API_Server ====== 2025-10-31 16:25:59,497 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 16:25:59,506 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ca8d3a8d-2b3f-4146-b439-65996d4dbb4f 2025-10-31 16:25:59,529 - DEBUG - Requesting: http://10.0.0.50:8082/project/3a2508f0-a1ba-44d7-97a5-7993f2474c31 2025-10-31 16:25:59,639 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/300da487-3969-48c8-9ba2-2cdd970cf498 2025-10-31 16:25:59,665 - DEBUG - ==>Verifying data for policy with id: be4f8e73-92ec-49bd-8ccf-8f218ae351da, fqn: ['default-domain', 'ctest-TestBasicPolicy-78228063', 'ctest-policy-allow-all-49873575'] 2025-10-31 16:25:59,665 - INFO - VN ctest-vn-04316428 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 16:25:59,666 - DEBUG - Verifying the vn in opserver 2025-10-31 16:25:59,666 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78228063:ctest-vn-04316428 virtual network link through opserver 10.0.0.50 2025-10-31 16:25:59,666 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-31 16:25:59,687 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78228063:ctest-vn-04316428', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78228063:ctest-vn-04316428?flat'} 2025-10-31 16:25:59,687 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78228063:ctest-vn-04316428 is found in opserver 2025-10-31 16:25:59,719 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 16:25:59,735 - DEBUG - VRF ids for VN ctest-vn-04316428: {} 2025-10-31 16:25:59,861 - DEBUG - Services list from nova: [, , ] 2025-10-31 16:26:01,455 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4579-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4579-1) 2025-10-31 16:26:02,871 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4579-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4579-1) 2025-10-31 16:26:02,871 - INFO - Waiting for VM ctest-TestBasicPolicy-78228063-28094629 to be up.. 2025-10-31 16:26:02,968 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 16:26:08,069 - DEBUG - VM is in ACTIVE state now 2025-10-31 16:26:08,069 - INFO - VM name : ctest-TestBasicPolicy-78228063-28094629 2025-10-31 16:26:08,161 - DEBUG - VM ctest-TestBasicPolicy-78228063-28094629 ID is cdd9b73d-decc-46fa-907d-134746c496b4 2025-10-31 16:26:08,183 - DEBUG - VM ctest-TestBasicPolicy-78228063-28094629 launched on Node cn-jenkins-deploy-platform-ansible-os-4579-1 2025-10-31 16:26:08,276 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cdd9b73d-decc-46fa-907d-134746c496b4 2025-10-31 16:26:08,286 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/59db9d83-955c-43fd-b9e9-5a876b9175b8 2025-10-31 16:26:11,564 - 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 1020ms') 2025-10-31 16:26:11,564 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78228063-28094629 failed! 2025-10-31 16:26:11,633 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78228063:ctest-vn-35512327 is 175.77.219.129 and allocation pool is NOT set 2025-10-31 16:26:13,712 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.85 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 = 2.846/3.825/4.804/0.979 ms') 2025-10-31 16:26:13,712 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78228063-28094629 passed 2025-10-31 16:26:13,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:26:13,890 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78228063-28094629, IP 175.77.219.131, Port 22 2025-10-31 16:26:14,071 - DEBUG - VM ctest-TestBasicPolicy-78228063-28094629 is ready for SSH connections 2025-10-31 16:26:14,071 - INFO - Waiting for VM ctest-TestBasicPolicy-78228063-81451989 to be up.. 2025-10-31 16:26:14,188 - DEBUG - VM is in ACTIVE state now 2025-10-31 16:26:14,189 - INFO - VM name : ctest-TestBasicPolicy-78228063-81451989 2025-10-31 16:26:14,315 - DEBUG - VM ctest-TestBasicPolicy-78228063-81451989 ID is bd18c382-1e03-4339-a281-9d94646b23cb 2025-10-31 16:26:14,316 - DEBUG - VM ctest-TestBasicPolicy-78228063-81451989 launched on Node cn-jenkins-deploy-platform-ansible-os-4579-1 2025-10-31 16:26:14,419 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bd18c382-1e03-4339-a281-9d94646b23cb 2025-10-31 16:26:14,436 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d9a21ce2-8ceb-4101-a1c9-50d5a32e962c 2025-10-31 16:26:15,723 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.46 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 = 2.461/4.000/5.539/1.539 ms') 2025-10-31 16:26:15,723 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78228063-81451989 passed 2025-10-31 16:26:15,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:26:15,885 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78228063-81451989, IP 161.129.104.195, Port 22 2025-10-31 16:26:16,082 - DEBUG - VM ctest-TestBasicPolicy-78228063-81451989 is ready for SSH connections 2025-10-31 16:26:16,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:26:16,082 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.129.104.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-31 16:26:16,082 - DEBUG - ping -s 56 -c 3 -W 1 161.129.104.195 2025-10-31 16:26:20,493 - DEBUG - PING 161.129.104.195 (161.129.104.195): 56 data bytes 64 bytes from 161.129.104.195: seq=0 ttl=63 time=11.362 ms 64 bytes from 161.129.104.195: seq=1 ttl=63 time=1.394 ms 64 bytes from 161.129.104.195: seq=2 ttl=63 time=2.322 ms --- 161.129.104.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.394/5.026/11.362 ms 2025-10-31 16:26:20,493 - INFO - Ping to IP 161.129.104.195 from VM ctest-TestBasicPolicy-78228063-28094629 passed 2025-10-31 16:26:20,741 - DEBUG - Policy Update Response {"network-policy": {"uuid": "be4f8e73-92ec-49bd-8ccf-8f218ae351da", "href": "http://10.0.0.50:8082/network-policy/be4f8e73-92ec-49bd-8ccf-8f218ae351da"}} 2025-10-31 16:26:20,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:26:20,741 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.129.104.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-31 16:26:20,742 - DEBUG - ping -s 56 -c 3 -W 1 161.129.104.195 2025-10-31 16:26:24,035 - DEBUG - PING 161.129.104.195 (161.129.104.195): 56 data bytes --- 161.129.104.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 16:26:24,035 - WARNING - Ping to IP 161.129.104.195 from VM ctest-TestBasicPolicy-78228063-28094629 failed 2025-10-31 16:26:24,035 - INFO - Deleting VM ctest-TestBasicPolicy-78228063-81451989 2025-10-31 16:26:24,218 - INFO - Deleting VM ctest-TestBasicPolicy-78228063-28094629 2025-10-31 16:26:24,828 - INFO - Deleted policy ctest-policy-allow-all-49873575 2025-10-31 16:26:24,828 - INFO - Deleting VN ctest-vn-04316428 2025-10-31 16:26:24,872 - DEBUG - VN 300da487-3969-48c8-9ba2-2cdd970cf498 still in use: Unable to complete operation on network 300da487-3969-48c8-9ba2-2cdd970cf498. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e3da3bf7-ea90-48eb-aae4-96c6863cc00e'] 2025-10-31 16:26:24,872 - WARNING - Deleting VN ctest-vn-04316428 failed..Will retry 2025-10-31 16:26:27,053 - DEBUG - Response for deleting network () 2025-10-31 16:26:27,053 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/96eba33a-faa1-413d-94fe-e43658413624 2025-10-31 16:26:27,061 - DEBUG - Response Code: 404 2025-10-31 16:26:27,062 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 16:26:27,069 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ca8d3a8d-2b3f-4146-b439-65996d4dbb4f 2025-10-31 16:26:27,122 - DEBUG - Requesting: http://10.0.0.50:8082/project/3a2508f0-a1ba-44d7-97a5-7993f2474c31 2025-10-31 16:26:27,213 - INFO - Validated that VN ctest-vn-04316428 is not found in API Server 2025-10-31 16:26:27,236 - DEBUG - VN ctest-vn-04316428 is not present in Agent 10.0.0.50 2025-10-31 16:26:27,236 - INFO - Validated that VN ctest-vn-04316428 is not in any agent 2025-10-31 16:26:27,265 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04316428 info 2025-10-31 16:26:27,265 - INFO - Deleting VN ctest-vn-35512327 2025-10-31 16:26:27,422 - DEBUG - Response for deleting network () 2025-10-31 16:26:27,422 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/61b6d395-3b2b-495e-a253-5eb411e4230b 2025-10-31 16:26:27,430 - DEBUG - Response Code: 404 2025-10-31 16:26:27,430 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-31 16:26:27,438 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ca8d3a8d-2b3f-4146-b439-65996d4dbb4f 2025-10-31 16:26:27,502 - DEBUG - Requesting: http://10.0.0.50:8082/project/3a2508f0-a1ba-44d7-97a5-7993f2474c31 2025-10-31 16:26:27,616 - INFO - Validated that VN ctest-vn-35512327 is not found in API Server 2025-10-31 16:26:27,634 - DEBUG - VN ctest-vn-35512327 is not present in Agent 10.0.0.50 2025-10-31 16:26:27,634 - INFO - Validated that VN ctest-vn-35512327 is not in any agent 2025-10-31 16:26:27,674 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35512327 info 2025-10-31 16:26:27,999 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 16:26:27,999 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33]
2025-10-31 16:26:28,000 - INFO - -------------------------------------------------------------------------------- 2025-10-31 16:26:28,805 - INFO - Deleted project: ctest-TestBasicPolicy-78228063, ID : 3a2508f0-a1ba-44d7-97a5-7993f2474c31