2025-06-20 12:51:10,346 - INFO - Domain Default found not creating 2025-06-20 12:51:10,513 - INFO - Project ctest-TestBasicPolicy-07146475 not found, creating it 2025-06-20 12:51:10,982 - INFO - Created Project:ctest-TestBasicPolicy-07146475, ID : 88c7ede7-67d7-4623-a854-ede45398b303 2025-06-20 12:51:12,482 - INFO - ================================================================================ 2025-06-20 12:51:12,483 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-20 12:51:12,483 - 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-06-20 12:51:12,740 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-06-20 12:51:12,740 - INFO - Initial checks done. Running the testcase now 2025-06-20 12:51:12,740 - INFO - 2025-06-20 12:51:13,294 - DEBUG - Response for create_network : {'network': {'id': '5bf2269f-f2f7-4b73-a725-1f58246d6693', 'name': 'ctest-vn-67740777', 'tenant_id': '88c7ede767d74623a854ede45398b303', 'project_id': '88c7ede767d74623a854ede45398b303', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07146475', 'ctest-vn-67740777'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 12:51:13,479 - DEBUG - Response for create_subnet : {'subnet': {'id': '877dba99-0ced-4181-86d2-edeb6a20889f', 'name': '', 'tenant_id': '88c7ede767d74623a854ede45398b303', 'network_id': '5bf2269f-f2f7-4b73-a725-1f58246d6693', 'ip_version': 4, 'cidr': '187.169.66.64/26', 'allocation_pools': [{'start': '187.169.66.66', 'end': '187.169.66.126'}], 'gateway_ip': '187.169.66.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.169.66.66', 'tags': [], 'project_id': '88c7ede767d74623a854ede45398b303'}} 2025-06-20 12:51:13,497 - INFO - Created VN ctest-vn-67740777 2025-06-20 12:51:13,550 - DEBUG - VN ctest-vn-67740777 UUID is 5bf2269f-f2f7-4b73-a725-1f58246d6693 2025-06-20 12:51:13,844 - DEBUG - Response for create_network : {'network': {'id': '1c4dde16-53e2-43ad-b34b-c5a2eeb0e52b', 'name': 'ctest-vn-50920176', 'tenant_id': '88c7ede767d74623a854ede45398b303', 'project_id': '88c7ede767d74623a854ede45398b303', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07146475', 'ctest-vn-50920176'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 12:51:13,999 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a3316ae-5007-47fb-87d3-1a402a742944', 'name': '', 'tenant_id': '88c7ede767d74623a854ede45398b303', 'network_id': '1c4dde16-53e2-43ad-b34b-c5a2eeb0e52b', 'ip_version': 4, 'cidr': '196.21.96.192/26', 'allocation_pools': [{'start': '196.21.96.194', 'end': '196.21.96.254'}], 'gateway_ip': '196.21.96.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.21.96.194', 'tags': [], 'project_id': '88c7ede767d74623a854ede45398b303'}} 2025-06-20 12:51:14,018 - INFO - Created VN ctest-vn-50920176 2025-06-20 12:51:14,070 - DEBUG - VN ctest-vn-50920176 UUID is 1c4dde16-53e2-43ad-b34b-c5a2eeb0e52b 2025-06-20 12:51:14,186 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07146475:ctest-vn-67740777, 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-07146475:ctest-vn-50920176, 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-06-20 12:51:14,491 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5bf2269f-f2f7-4b73-a725-1f58246d6693', 'name': 'ctest-vn-67740777', 'tenant_id': '88c7ede767d74623a854ede45398b303', 'project_id': '88c7ede767d74623a854ede45398b303', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['877dba99-0ced-4181-86d2-edeb6a20889f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07146475', 'ctest-vn-67740777'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07146475', 'ctest-policy-allow-all-89315321']], 'subnet_ipam': [{'subnet_cidr': '187.169.66.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-20 12:51:14,768 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1c4dde16-53e2-43ad-b34b-c5a2eeb0e52b', 'name': 'ctest-vn-50920176', 'tenant_id': '88c7ede767d74623a854ede45398b303', 'project_id': '88c7ede767d74623a854ede45398b303', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9a3316ae-5007-47fb-87d3-1a402a742944'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07146475', 'ctest-vn-50920176'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07146475', 'ctest-policy-allow-all-89315321']], 'subnet_ipam': [{'subnet_cidr': '196.21.96.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-20 12:51:14,918 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-20 12:51:15,211 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-20 12:51:15,238 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ef61e37c-86e4-4e34-8ce7-9a01933ffd4a 2025-06-20 12:51:15,252 - DEBUG - Requesting: http://10.0.0.50:8082/project/88c7ede7-67d7-4623-a854-ede45398b303 2025-06-20 12:51:15,329 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5bf2269f-f2f7-4b73-a725-1f58246d6693 2025-06-20 12:51:15,343 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5bf2269f-f2f7-4b73-a725-1f58246d6693 2025-06-20 12:51:15,355 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/39265be8-a755-41e0-89ff-6e524980c71c 2025-06-20 12:51:15,362 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/39265be8-a755-41e0-89ff-6e524980c71c 2025-06-20 12:51:15,370 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1ceb465e-c410-4db8-8020-89013c17fe59 2025-06-20 12:51:15,377 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-20 12:51:15,377 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5bf2269f-f2f7-4b73-a725-1f58246d6693 2025-06-20 12:51:15,388 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/39265be8-a755-41e0-89ff-6e524980c71c 2025-06-20 12:51:15,405 - INFO - Verified VN network id 8 for VN 5bf2269f-f2f7-4b73-a725-1f58246d6693 2025-06-20 12:51:15,405 - INFO - Verifications in API Server for VN ctest-vn-67740777 passed 2025-06-20 12:51:15,405 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5bf2269f-f2f7-4b73-a725-1f58246d6693 2025-06-20 12:51:15,418 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/39265be8-a755-41e0-89ff-6e524980c71c 2025-06-20 12:51:15,425 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/39265be8-a755-41e0-89ff-6e524980c71c 2025-06-20 12:51:15,432 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1ceb465e-c410-4db8-8020-89013c17fe59 2025-06-20 12:51:15,446 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07146475:ctest-vn-67740777', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07146475', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6625400470233369459', 'uuid-lslong': '12044067241900992147'}, 'enable': 'true', 'created': '2025-06-20T12:51:13', 'last-modified': '2025-06-20T12:51:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.982834'} 2025-06-20 12:51:15,453 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-20 12:51:15,453 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67740777 passed 2025-06-20 12:51:15,454 - DEBUG - ====Verifying policy data for ctest-vn-67740777 in API_Server ====== 2025-06-20 12:51:15,454 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-20 12:51:15,460 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ef61e37c-86e4-4e34-8ce7-9a01933ffd4a 2025-06-20 12:51:15,472 - DEBUG - Requesting: http://10.0.0.50:8082/project/88c7ede7-67d7-4623-a854-ede45398b303 2025-06-20 12:51:15,548 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5bf2269f-f2f7-4b73-a725-1f58246d6693 2025-06-20 12:51:15,559 - DEBUG - ==>Verifying data for policy with id: 92cb2189-6f2a-4804-99b6-35b97b549428, fqn: ['default-domain', 'ctest-TestBasicPolicy-07146475', 'ctest-policy-allow-all-89315321'] 2025-06-20 12:51:15,559 - INFO - VN ctest-vn-67740777 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-20 12:51:15,559 - DEBUG - Verifying the vn in opserver 2025-06-20 12:51:15,559 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07146475:ctest-vn-67740777 virtual network link through opserver 10.0.0.50 2025-06-20 12:51:15,559 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-20 12:51:15,858 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-20 12:51:15,913 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07146475:ctest-vn-67740777', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07146475:ctest-vn-67740777?flat'} 2025-06-20 12:51:15,913 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07146475:ctest-vn-67740777 is found in opserver 2025-06-20 12:51:15,926 - DEBUG - Do not have enough data to verify VN in agent 2025-06-20 12:51:15,932 - DEBUG - VRF ids for VN ctest-vn-67740777: {} 2025-06-20 12:51:15,932 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-20 12:51:15,938 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ef61e37c-86e4-4e34-8ce7-9a01933ffd4a 2025-06-20 12:51:15,951 - DEBUG - Requesting: http://10.0.0.50:8082/project/88c7ede7-67d7-4623-a854-ede45398b303 2025-06-20 12:51:16,026 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1c4dde16-53e2-43ad-b34b-c5a2eeb0e52b 2025-06-20 12:51:16,041 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1c4dde16-53e2-43ad-b34b-c5a2eeb0e52b 2025-06-20 12:51:16,052 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b3bef6b-d8ef-4b6d-a6e9-bc76b928b53f 2025-06-20 12:51:16,062 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b3bef6b-d8ef-4b6d-a6e9-bc76b928b53f 2025-06-20 12:51:16,069 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/235b295a-f02b-4400-87fe-51a2850ed260 2025-06-20 12:51:16,077 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-20 12:51:16,077 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1c4dde16-53e2-43ad-b34b-c5a2eeb0e52b 2025-06-20 12:51:16,088 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b3bef6b-d8ef-4b6d-a6e9-bc76b928b53f 2025-06-20 12:51:16,104 - INFO - Verified VN network id 9 for VN 1c4dde16-53e2-43ad-b34b-c5a2eeb0e52b 2025-06-20 12:51:16,104 - INFO - Verifications in API Server for VN ctest-vn-50920176 passed 2025-06-20 12:51:16,104 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1c4dde16-53e2-43ad-b34b-c5a2eeb0e52b 2025-06-20 12:51:16,116 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b3bef6b-d8ef-4b6d-a6e9-bc76b928b53f 2025-06-20 12:51:16,125 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b3bef6b-d8ef-4b6d-a6e9-bc76b928b53f 2025-06-20 12:51:16,133 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/235b295a-f02b-4400-87fe-51a2850ed260 2025-06-20 12:51:16,149 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07146475:ctest-vn-50920176', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07146475', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2039530393746686893', 'uuid-lslong': '12919637259622343979'}, 'enable': 'true', 'created': '2025-06-20T12:51:13', 'last-modified': '2025-06-20T12:51:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.447760'} 2025-06-20 12:51:16,157 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-20 12:51:16,157 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50920176 passed 2025-06-20 12:51:16,157 - DEBUG - ====Verifying policy data for ctest-vn-50920176 in API_Server ====== 2025-06-20 12:51:16,157 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-20 12:51:16,164 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ef61e37c-86e4-4e34-8ce7-9a01933ffd4a 2025-06-20 12:51:16,177 - DEBUG - Requesting: http://10.0.0.50:8082/project/88c7ede7-67d7-4623-a854-ede45398b303 2025-06-20 12:51:16,264 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1c4dde16-53e2-43ad-b34b-c5a2eeb0e52b 2025-06-20 12:51:16,274 - DEBUG - ==>Verifying data for policy with id: 92cb2189-6f2a-4804-99b6-35b97b549428, fqn: ['default-domain', 'ctest-TestBasicPolicy-07146475', 'ctest-policy-allow-all-89315321'] 2025-06-20 12:51:16,274 - INFO - VN ctest-vn-50920176 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-20 12:51:16,274 - DEBUG - Verifying the vn in opserver 2025-06-20 12:51:16,274 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07146475:ctest-vn-50920176 virtual network link through opserver 10.0.0.50 2025-06-20 12:51:16,274 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-20 12:51:16,286 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07146475:ctest-vn-50920176', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07146475:ctest-vn-50920176?flat'} 2025-06-20 12:51:16,286 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07146475:ctest-vn-50920176 is found in opserver 2025-06-20 12:51:16,297 - DEBUG - Do not have enough data to verify VN in agent 2025-06-20 12:51:16,302 - DEBUG - VRF ids for VN ctest-vn-50920176: {} 2025-06-20 12:51:16,359 - DEBUG - Services list from nova: [, , ] 2025-06-20 12:51:17,484 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3507-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3507-1) 2025-06-20 12:51:18,616 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3507-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3507-1) 2025-06-20 12:51:18,617 - INFO - Waiting for VM ctest-TestBasicPolicy-07146475-72606200 to be up.. 2025-06-20 12:51:18,713 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-20 12:51:23,792 - DEBUG - VM is in ACTIVE state now 2025-06-20 12:51:23,792 - INFO - VM name : ctest-TestBasicPolicy-07146475-72606200 2025-06-20 12:51:23,869 - DEBUG - VM ctest-TestBasicPolicy-07146475-72606200 ID is d54704dd-d8af-4ab5-b425-a161f3b042c1 2025-06-20 12:51:23,889 - DEBUG - VM ctest-TestBasicPolicy-07146475-72606200 launched on Node cn-jenkins-deploy-platform-ansible-os-3507-1 2025-06-20 12:51:23,972 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d54704dd-d8af-4ab5-b425-a161f3b042c1 2025-06-20 12:51:23,980 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d08e4856-9cd3-49c9-a063-e7a83d14d513 2025-06-20 12:51:27,255 - 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 1027ms') 2025-06-20 12:51:27,255 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07146475-72606200 failed! 2025-06-20 12:51:27,310 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07146475:ctest-vn-67740777 is 187.169.66.65 and allocation pool is NOT set 2025-06-20 12:51:29,367 - 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=2.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.444 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 = 0.444/1.443/2.442/0.999 ms') 2025-06-20 12:51:29,367 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07146475-72606200 passed 2025-06-20 12:51:29,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 12:51:29,518 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07146475-72606200, IP 187.169.66.67, Port 22 2025-06-20 12:51:29,695 - DEBUG - VM ctest-TestBasicPolicy-07146475-72606200 is ready for SSH connections 2025-06-20 12:51:29,695 - INFO - Waiting for VM ctest-TestBasicPolicy-07146475-32068506 to be up.. 2025-06-20 12:51:29,782 - DEBUG - VM is in ACTIVE state now 2025-06-20 12:51:29,782 - INFO - VM name : ctest-TestBasicPolicy-07146475-32068506 2025-06-20 12:51:29,860 - DEBUG - VM ctest-TestBasicPolicy-07146475-32068506 ID is 639f2a9e-2cbe-4cbc-8931-a957df36b7ca 2025-06-20 12:51:29,861 - DEBUG - VM ctest-TestBasicPolicy-07146475-32068506 launched on Node cn-jenkins-deploy-platform-ansible-os-3507-1 2025-06-20 12:51:29,938 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/639f2a9e-2cbe-4cbc-8931-a957df36b7ca 2025-06-20 12:51:29,947 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d12e0fc2-0b43-4219-8e3b-9886053c8e76 2025-06-20 12:51:31,193 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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 = 0.410/1.562/2.714/1.152 ms') 2025-06-20 12:51:31,194 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07146475-32068506 passed 2025-06-20 12:51:31,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 12:51:31,346 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07146475-32068506, IP 196.21.96.195, Port 22 2025-06-20 12:51:31,509 - DEBUG - VM ctest-TestBasicPolicy-07146475-32068506 is ready for SSH connections 2025-06-20 12:51:31,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 12:51:31,509 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.21.96.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-20 12:51:31,510 - DEBUG - ping -s 56 -c 3 -W 1 196.21.96.195 2025-06-20 12:51:35,531 - DEBUG - PING 196.21.96.195 (196.21.96.195): 56 data bytes 64 bytes from 196.21.96.195: seq=0 ttl=63 time=3.372 ms 64 bytes from 196.21.96.195: seq=1 ttl=63 time=0.882 ms 64 bytes from 196.21.96.195: seq=2 ttl=63 time=0.976 ms --- 196.21.96.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.882/1.743/3.372 ms 2025-06-20 12:51:35,531 - INFO - Ping to IP 196.21.96.195 from VM ctest-TestBasicPolicy-07146475-72606200 passed 2025-06-20 12:51:35,722 - DEBUG - Policy Update Response {"network-policy": {"uuid": "92cb2189-6f2a-4804-99b6-35b97b549428", "href": "http://10.0.0.50:8082/network-policy/92cb2189-6f2a-4804-99b6-35b97b549428"}} 2025-06-20 12:51:35,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 12:51:35,722 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.21.96.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-20 12:51:35,722 - DEBUG - ping -s 56 -c 3 -W 1 196.21.96.195 2025-06-20 12:51:38,929 - DEBUG - PING 196.21.96.195 (196.21.96.195): 56 data bytes --- 196.21.96.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-20 12:51:38,929 - WARNING - Ping to IP 196.21.96.195 from VM ctest-TestBasicPolicy-07146475-72606200 failed 2025-06-20 12:51:38,929 - INFO - Deleting VM ctest-TestBasicPolicy-07146475-32068506 2025-06-20 12:51:38,996 - INFO - Deleting VM ctest-TestBasicPolicy-07146475-72606200 2025-06-20 12:51:39,380 - INFO - Deleted policy ctest-policy-allow-all-89315321 2025-06-20 12:51:39,381 - INFO - Deleting VN ctest-vn-50920176 2025-06-20 12:51:39,415 - DEBUG - VN 1c4dde16-53e2-43ad-b34b-c5a2eeb0e52b still in use: Unable to complete operation on network 1c4dde16-53e2-43ad-b34b-c5a2eeb0e52b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-abfe864a-75a0-4d56-8ec6-fbfcda5fb73a'] 2025-06-20 12:51:39,415 - WARNING - Deleting VN ctest-vn-50920176 failed..Will retry 2025-06-20 12:51:41,556 - DEBUG - Response for deleting network () 2025-06-20 12:51:41,556 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9b3bef6b-d8ef-4b6d-a6e9-bc76b928b53f 2025-06-20 12:51:41,563 - DEBUG - Response Code: 404 2025-06-20 12:51:41,564 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-20 12:51:41,572 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ef61e37c-86e4-4e34-8ce7-9a01933ffd4a 2025-06-20 12:51:41,627 - DEBUG - Requesting: http://10.0.0.50:8082/project/88c7ede7-67d7-4623-a854-ede45398b303 2025-06-20 12:51:41,702 - INFO - Validated that VN ctest-vn-50920176 is not found in API Server 2025-06-20 12:51:41,713 - DEBUG - VN ctest-vn-50920176 is not present in Agent 10.0.0.50 2025-06-20 12:51:41,713 - INFO - Validated that VN ctest-vn-50920176 is not in any agent 2025-06-20 12:51:41,732 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50920176 info 2025-06-20 12:51:41,732 - INFO - Deleting VN ctest-vn-67740777 2025-06-20 12:51:41,852 - DEBUG - Response for deleting network () 2025-06-20 12:51:41,852 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/39265be8-a755-41e0-89ff-6e524980c71c 2025-06-20 12:51:41,859 - DEBUG - Response Code: 404 2025-06-20 12:51:41,859 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-20 12:51:41,874 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ef61e37c-86e4-4e34-8ce7-9a01933ffd4a 2025-06-20 12:51:41,932 - DEBUG - Requesting: http://10.0.0.50:8082/project/88c7ede7-67d7-4623-a854-ede45398b303 2025-06-20 12:51:42,008 - INFO - Validated that VN ctest-vn-67740777 is not found in API Server 2025-06-20 12:51:42,020 - DEBUG - VN ctest-vn-67740777 is not present in Agent 10.0.0.50 2025-06-20 12:51:42,020 - INFO - Validated that VN ctest-vn-67740777 is not in any agent 2025-06-20 12:51:42,037 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67740777 info 2025-06-20 12:51:42,306 - DEBUG - No XMPP flaps were noticed during the test
2025-06-20 12:51:42,306 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-20 12:51:42,306 - INFO - -------------------------------------------------------------------------------- 2025-06-20 12:51:43,003 - INFO - Deleted project: ctest-TestBasicPolicy-07146475, ID : 88c7ede7-67d7-4623-a854-ede45398b303