2025-10-24 19:42:24,233 - INFO - Domain Default found not creating 2025-10-24 19:42:24,381 - INFO - Project ctest-TestBasicPolicy-92384809 not found, creating it 2025-10-24 19:42:24,816 - INFO - Created Project:ctest-TestBasicPolicy-92384809, ID : 67c6fd37-b5c5-4a12-92e1-88f19fb51b40 2025-10-24 19:42:26,233 - INFO - ================================================================================ 2025-10-24 19:42:26,233 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-24 19:42:26,233 - 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-24 19:42:26,493 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-24 19:42:26,493 - INFO - Initial checks done. Running the testcase now 2025-10-24 19:42:26,493 - INFO - 2025-10-24 19:42:27,015 - DEBUG - Response for create_network : {'network': {'id': 'a7fbf805-7c50-4850-b069-ac4f11d0e12e', 'name': 'ctest-vn-05694058', 'tenant_id': '67c6fd37b5c54a1292e188f19fb51b40', 'project_id': '67c6fd37b5c54a1292e188f19fb51b40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92384809', 'ctest-vn-05694058'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 19:42:27,277 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ea48432-91b1-4637-909e-569814a93cb7', 'name': '', 'tenant_id': '67c6fd37b5c54a1292e188f19fb51b40', 'network_id': 'a7fbf805-7c50-4850-b069-ac4f11d0e12e', 'ip_version': 4, 'cidr': '39.88.68.0/26', 'allocation_pools': [{'start': '39.88.68.2', 'end': '39.88.68.62'}], 'gateway_ip': '39.88.68.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.88.68.2', 'tags': [], 'project_id': '67c6fd37b5c54a1292e188f19fb51b40'}} 2025-10-24 19:42:27,298 - INFO - Created VN ctest-vn-05694058 2025-10-24 19:42:27,348 - DEBUG - VN ctest-vn-05694058 UUID is a7fbf805-7c50-4850-b069-ac4f11d0e12e 2025-10-24 19:42:27,643 - DEBUG - Response for create_network : {'network': {'id': 'c2294cd4-757d-45c4-92b6-2751c5c91e2d', 'name': 'ctest-vn-62230919', 'tenant_id': '67c6fd37b5c54a1292e188f19fb51b40', 'project_id': '67c6fd37b5c54a1292e188f19fb51b40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92384809', 'ctest-vn-62230919'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 19:42:27,839 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e66fe8b1-c6f5-49e9-bec0-dfc13a7f2f4d', 'name': '', 'tenant_id': '67c6fd37b5c54a1292e188f19fb51b40', 'network_id': 'c2294cd4-757d-45c4-92b6-2751c5c91e2d', 'ip_version': 4, 'cidr': '7.190.7.0/26', 'allocation_pools': [{'start': '7.190.7.2', 'end': '7.190.7.62'}], 'gateway_ip': '7.190.7.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.190.7.2', 'tags': [], 'project_id': '67c6fd37b5c54a1292e188f19fb51b40'}} 2025-10-24 19:42:27,856 - INFO - Created VN ctest-vn-62230919 2025-10-24 19:42:27,908 - DEBUG - VN ctest-vn-62230919 UUID is c2294cd4-757d-45c4-92b6-2751c5c91e2d 2025-10-24 19:42:28,052 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92384809:ctest-vn-05694058, 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-92384809:ctest-vn-62230919, 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-24 19:42:28,332 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a7fbf805-7c50-4850-b069-ac4f11d0e12e', 'name': 'ctest-vn-05694058', 'tenant_id': '67c6fd37b5c54a1292e188f19fb51b40', 'project_id': '67c6fd37b5c54a1292e188f19fb51b40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6ea48432-91b1-4637-909e-569814a93cb7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92384809', 'ctest-vn-05694058'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92384809', 'ctest-policy-allow-all-41733040']], 'subnet_ipam': [{'subnet_cidr': '39.88.68.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 19:42:28,558 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c2294cd4-757d-45c4-92b6-2751c5c91e2d', 'name': 'ctest-vn-62230919', 'tenant_id': '67c6fd37b5c54a1292e188f19fb51b40', 'project_id': '67c6fd37b5c54a1292e188f19fb51b40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e66fe8b1-c6f5-49e9-bec0-dfc13a7f2f4d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92384809', 'ctest-vn-62230919'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92384809', 'ctest-policy-allow-all-41733040']], 'subnet_ipam': [{'subnet_cidr': '7.190.7.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 19:42:28,704 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-24 19:42:28,994 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-24 19:42:29,021 - DEBUG - Requesting: http://10.0.0.242:8082/domain/60935b09-8ef8-4054-80ac-d6b63ada9d5e 2025-10-24 19:42:29,032 - DEBUG - Requesting: http://10.0.0.242:8082/project/67c6fd37-b5c5-4a12-92e1-88f19fb51b40 2025-10-24 19:42:29,102 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a7fbf805-7c50-4850-b069-ac4f11d0e12e 2025-10-24 19:42:29,112 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a7fbf805-7c50-4850-b069-ac4f11d0e12e 2025-10-24 19:42:29,121 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/965ca67e-b4f3-42d6-8b73-23734a60b5cc 2025-10-24 19:42:29,128 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/965ca67e-b4f3-42d6-8b73-23734a60b5cc 2025-10-24 19:42:29,134 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/b79c8f87-d897-435f-a6bf-d3d02a6bf970 2025-10-24 19:42:29,141 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 19:42:29,141 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a7fbf805-7c50-4850-b069-ac4f11d0e12e 2025-10-24 19:42:29,150 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/965ca67e-b4f3-42d6-8b73-23734a60b5cc 2025-10-24 19:42:29,164 - INFO - Verified VN network id 12 for VN a7fbf805-7c50-4850-b069-ac4f11d0e12e 2025-10-24 19:42:29,164 - INFO - Verifications in API Server for VN ctest-vn-05694058 passed 2025-10-24 19:42:29,164 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a7fbf805-7c50-4850-b069-ac4f11d0e12e 2025-10-24 19:42:29,172 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/965ca67e-b4f3-42d6-8b73-23734a60b5cc 2025-10-24 19:42:29,179 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/965ca67e-b4f3-42d6-8b73-23734a60b5cc 2025-10-24 19:42:29,186 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/b79c8f87-d897-435f-a6bf-d3d02a6bf970 2025-10-24 19:42:29,200 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92384809:ctest-vn-05694058', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92384809', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12104541125932501072', 'uuid-lslong': '12711880878831231278'}, 'enable': 'true', 'created': '2025-10-24T19:42:26', 'last-modified': '2025-10-24T19:42:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.885554'} 2025-10-24 19:42:29,207 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 19:42:29,207 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05694058 passed 2025-10-24 19:42:29,207 - DEBUG - ====Verifying policy data for ctest-vn-05694058 in API_Server ====== 2025-10-24 19:42:29,207 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-24 19:42:29,212 - DEBUG - Requesting: http://10.0.0.242:8082/domain/60935b09-8ef8-4054-80ac-d6b63ada9d5e 2025-10-24 19:42:29,222 - DEBUG - Requesting: http://10.0.0.242:8082/project/67c6fd37-b5c5-4a12-92e1-88f19fb51b40 2025-10-24 19:42:29,288 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a7fbf805-7c50-4850-b069-ac4f11d0e12e 2025-10-24 19:42:29,297 - DEBUG - ==>Verifying data for policy with id: 3f357f69-6425-4f79-9ac8-bff58bb397bf, fqn: ['default-domain', 'ctest-TestBasicPolicy-92384809', 'ctest-policy-allow-all-41733040'] 2025-10-24 19:42:29,297 - INFO - VN ctest-vn-05694058 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 19:42:29,297 - DEBUG - Verifying the vn in opserver 2025-10-24 19:42:29,297 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92384809:ctest-vn-05694058 virtual network link through opserver 10.0.0.242 2025-10-24 19:42:29,297 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-24 19:42:29,589 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-24 19:42:29,642 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92384809:ctest-vn-05694058', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92384809:ctest-vn-05694058?flat'} 2025-10-24 19:42:29,642 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92384809:ctest-vn-05694058 is found in opserver 2025-10-24 19:42:29,653 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 19:42:29,658 - DEBUG - VRF ids for VN ctest-vn-05694058: {} 2025-10-24 19:42:29,658 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-24 19:42:29,663 - DEBUG - Requesting: http://10.0.0.242:8082/domain/60935b09-8ef8-4054-80ac-d6b63ada9d5e 2025-10-24 19:42:29,673 - DEBUG - Requesting: http://10.0.0.242:8082/project/67c6fd37-b5c5-4a12-92e1-88f19fb51b40 2025-10-24 19:42:29,744 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c2294cd4-757d-45c4-92b6-2751c5c91e2d 2025-10-24 19:42:29,755 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c2294cd4-757d-45c4-92b6-2751c5c91e2d 2025-10-24 19:42:29,763 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/087bb205-3630-4e12-a9a0-57d434c37949 2025-10-24 19:42:29,770 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/087bb205-3630-4e12-a9a0-57d434c37949 2025-10-24 19:42:29,776 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/67734976-36c0-4bf2-b79b-23ef6ab8253f 2025-10-24 19:42:29,783 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 19:42:29,783 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c2294cd4-757d-45c4-92b6-2751c5c91e2d 2025-10-24 19:42:29,792 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/087bb205-3630-4e12-a9a0-57d434c37949 2025-10-24 19:42:29,807 - INFO - Verified VN network id 13 for VN c2294cd4-757d-45c4-92b6-2751c5c91e2d 2025-10-24 19:42:29,807 - INFO - Verifications in API Server for VN ctest-vn-62230919 passed 2025-10-24 19:42:29,807 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c2294cd4-757d-45c4-92b6-2751c5c91e2d 2025-10-24 19:42:29,817 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/087bb205-3630-4e12-a9a0-57d434c37949 2025-10-24 19:42:29,824 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/087bb205-3630-4e12-a9a0-57d434c37949 2025-10-24 19:42:29,831 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/67734976-36c0-4bf2-b79b-23ef6ab8253f 2025-10-24 19:42:29,843 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92384809:ctest-vn-62230919', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92384809', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13990798192791078340', 'uuid-lslong': '10571680407462944301'}, 'enable': 'true', 'created': '2025-10-24T19:42:27', 'last-modified': '2025-10-24T19:42:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.307163'} 2025-10-24 19:42:29,848 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 19:42:29,849 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62230919 passed 2025-10-24 19:42:29,849 - DEBUG - ====Verifying policy data for ctest-vn-62230919 in API_Server ====== 2025-10-24 19:42:29,849 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-24 19:42:29,855 - DEBUG - Requesting: http://10.0.0.242:8082/domain/60935b09-8ef8-4054-80ac-d6b63ada9d5e 2025-10-24 19:42:29,866 - DEBUG - Requesting: http://10.0.0.242:8082/project/67c6fd37-b5c5-4a12-92e1-88f19fb51b40 2025-10-24 19:42:29,938 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c2294cd4-757d-45c4-92b6-2751c5c91e2d 2025-10-24 19:42:29,947 - DEBUG - ==>Verifying data for policy with id: 3f357f69-6425-4f79-9ac8-bff58bb397bf, fqn: ['default-domain', 'ctest-TestBasicPolicy-92384809', 'ctest-policy-allow-all-41733040'] 2025-10-24 19:42:29,947 - INFO - VN ctest-vn-62230919 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 19:42:29,947 - DEBUG - Verifying the vn in opserver 2025-10-24 19:42:29,947 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92384809:ctest-vn-62230919 virtual network link through opserver 10.0.0.242 2025-10-24 19:42:29,947 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-24 19:42:29,956 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92384809:ctest-vn-62230919', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92384809:ctest-vn-62230919?flat'} 2025-10-24 19:42:29,956 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92384809:ctest-vn-62230919 is found in opserver 2025-10-24 19:42:29,967 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 19:42:29,971 - DEBUG - VRF ids for VN ctest-vn-62230919: {} 2025-10-24 19:42:30,025 - DEBUG - Services list from nova: [, , ] 2025-10-24 19:42:31,032 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4480-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4480-1) 2025-10-24 19:42:32,157 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4480-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4480-1) 2025-10-24 19:42:32,158 - INFO - Waiting for VM ctest-TestBasicPolicy-92384809-01171897 to be up.. 2025-10-24 19:42:32,245 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 19:42:37,442 - DEBUG - VM is in ACTIVE state now 2025-10-24 19:42:37,442 - INFO - VM name : ctest-TestBasicPolicy-92384809-01171897 2025-10-24 19:42:37,547 - DEBUG - VM ctest-TestBasicPolicy-92384809-01171897 ID is b1bd7715-61b2-4183-aa27-55f08b7a74fb 2025-10-24 19:42:37,572 - DEBUG - VM ctest-TestBasicPolicy-92384809-01171897 launched on Node cn-jenkins-deploy-platform-ansible-os-4480-1 2025-10-24 19:42:37,649 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b1bd7715-61b2-4183-aa27-55f08b7a74fb 2025-10-24 19:42:37,656 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/91e84365-284c-45d5-b4f5-adc24b7701fb 2025-10-24 19:42:40,893 - 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 1011ms') 2025-10-24 19:42:40,893 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92384809-01171897 failed! 2025-10-24 19:42:40,948 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92384809:ctest-vn-05694058 is 39.88.68.1 and allocation pool is NOT set 2025-10-24 19:42:43,020 - 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=5.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.29 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.294/3.319/5.345/2.025 ms') 2025-10-24 19:42:43,020 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92384809-01171897 passed 2025-10-24 19:42:43,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:42:43,168 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92384809-01171897, IP 39.88.68.3, Port 22 2025-10-24 19:42:43,327 - DEBUG - VM ctest-TestBasicPolicy-92384809-01171897 is ready for SSH connections 2025-10-24 19:42:43,327 - INFO - Waiting for VM ctest-TestBasicPolicy-92384809-49809941 to be up.. 2025-10-24 19:42:43,403 - DEBUG - VM is in ACTIVE state now 2025-10-24 19:42:43,403 - INFO - VM name : ctest-TestBasicPolicy-92384809-49809941 2025-10-24 19:42:43,473 - DEBUG - VM ctest-TestBasicPolicy-92384809-49809941 ID is ddb42050-b3a3-48a5-9222-7c3adf681eba 2025-10-24 19:42:43,473 - DEBUG - VM ctest-TestBasicPolicy-92384809-49809941 launched on Node cn-jenkins-deploy-platform-ansible-os-4480-1 2025-10-24 19:42:43,546 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ddb42050-b3a3-48a5-9222-7c3adf681eba 2025-10-24 19:42:43,555 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/076d0db3-05e5-4159-a67c-77ccc5f4a080 2025-10-24 19:42:44,784 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.824 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.824/1.908/2.993/1.084 ms') 2025-10-24 19:42:44,784 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92384809-49809941 passed 2025-10-24 19:42:44,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:42:44,936 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92384809-49809941, IP 7.190.7.3, Port 22 2025-10-24 19:42:45,091 - DEBUG - VM ctest-TestBasicPolicy-92384809-49809941 is ready for SSH connections 2025-10-24 19:42:45,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:42:45,092 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.190.7.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-24 19:42:45,092 - DEBUG - ping -s 56 -c 3 -W 1 7.190.7.3 2025-10-24 19:42:49,115 - DEBUG - PING 7.190.7.3 (7.190.7.3): 56 data bytes 64 bytes from 7.190.7.3: seq=0 ttl=63 time=3.339 ms 64 bytes from 7.190.7.3: seq=1 ttl=63 time=0.758 ms 64 bytes from 7.190.7.3: seq=2 ttl=63 time=0.844 ms --- 7.190.7.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.758/1.647/3.339 ms 2025-10-24 19:42:49,115 - INFO - Ping to IP 7.190.7.3 from VM ctest-TestBasicPolicy-92384809-01171897 passed 2025-10-24 19:42:49,288 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3f357f69-6425-4f79-9ac8-bff58bb397bf", "href": "http://10.0.0.242:8082/network-policy/3f357f69-6425-4f79-9ac8-bff58bb397bf"}} 2025-10-24 19:42:49,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:42:49,288 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.190.7.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-24 19:42:49,288 - DEBUG - ping -s 56 -c 3 -W 1 7.190.7.3 2025-10-24 19:42:52,504 - DEBUG - PING 7.190.7.3 (7.190.7.3): 56 data bytes --- 7.190.7.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-24 19:42:52,504 - WARNING - Ping to IP 7.190.7.3 from VM ctest-TestBasicPolicy-92384809-01171897 failed 2025-10-24 19:42:52,504 - INFO - Deleting VM ctest-TestBasicPolicy-92384809-49809941 2025-10-24 19:42:52,571 - INFO - Deleting VM ctest-TestBasicPolicy-92384809-01171897 2025-10-24 19:42:52,932 - INFO - Deleted policy ctest-policy-allow-all-41733040 2025-10-24 19:42:52,932 - INFO - Deleting VN ctest-vn-62230919 2025-10-24 19:42:52,973 - DEBUG - VN c2294cd4-757d-45c4-92b6-2751c5c91e2d still in use: Unable to complete operation on network c2294cd4-757d-45c4-92b6-2751c5c91e2d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-efa1c559-1ef7-4638-b084-48cb6b9899a2'] 2025-10-24 19:42:52,973 - WARNING - Deleting VN ctest-vn-62230919 failed..Will retry 2025-10-24 19:42:55,122 - DEBUG - Response for deleting network () 2025-10-24 19:42:55,122 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/087bb205-3630-4e12-a9a0-57d434c37949 2025-10-24 19:42:55,130 - DEBUG - Response Code: 404 2025-10-24 19:42:55,130 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-24 19:42:55,138 - DEBUG - Requesting: http://10.0.0.242:8082/domain/60935b09-8ef8-4054-80ac-d6b63ada9d5e 2025-10-24 19:42:55,191 - DEBUG - Requesting: http://10.0.0.242:8082/project/67c6fd37-b5c5-4a12-92e1-88f19fb51b40 2025-10-24 19:42:55,264 - INFO - Validated that VN ctest-vn-62230919 is not found in API Server 2025-10-24 19:42:55,273 - DEBUG - VN ctest-vn-62230919 is not present in Agent 10.0.0.242 2025-10-24 19:42:55,273 - INFO - Validated that VN ctest-vn-62230919 is not in any agent 2025-10-24 19:42:55,285 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62230919 info 2025-10-24 19:42:55,285 - INFO - Deleting VN ctest-vn-05694058 2025-10-24 19:42:55,387 - DEBUG - Response for deleting network () 2025-10-24 19:42:55,387 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/965ca67e-b4f3-42d6-8b73-23734a60b5cc 2025-10-24 19:42:55,392 - DEBUG - Response Code: 404 2025-10-24 19:42:55,392 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-24 19:42:55,397 - DEBUG - Requesting: http://10.0.0.242:8082/domain/60935b09-8ef8-4054-80ac-d6b63ada9d5e 2025-10-24 19:42:55,449 - DEBUG - Requesting: http://10.0.0.242:8082/project/67c6fd37-b5c5-4a12-92e1-88f19fb51b40 2025-10-24 19:42:55,517 - INFO - Validated that VN ctest-vn-05694058 is not found in API Server 2025-10-24 19:42:55,526 - DEBUG - VN ctest-vn-05694058 is not present in Agent 10.0.0.242 2025-10-24 19:42:55,526 - INFO - Validated that VN ctest-vn-05694058 is not in any agent 2025-10-24 19:42:55,539 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05694058 info 2025-10-24 19:42:55,793 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 19:42:55,793 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-24 19:42:55,793 - INFO - -------------------------------------------------------------------------------- 2025-10-24 19:42:56,458 - INFO - Deleted project: ctest-TestBasicPolicy-92384809, ID : 67c6fd37-b5c5-4a12-92e1-88f19fb51b40