2025-11-10 18:51:53,387 - INFO - Domain Default found not creating 2025-11-10 18:51:53,530 - INFO - Project ctest-TestBasicPolicy-07439816 not found, creating it 2025-11-10 18:51:54,002 - INFO - Created Project:ctest-TestBasicPolicy-07439816, ID : 6e3a078b-fd5d-42e4-abee-b6b69beeb522 2025-11-10 18:51:55,441 - INFO - ================================================================================ 2025-11-10 18:51:55,441 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-10 18:51:55,441 - 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-11-10 18:51:55,696 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.25': '0'}} with 2025-11-10 18:51:55,696 - INFO - Initial checks done. Running the testcase now 2025-11-10 18:51:55,696 - INFO - 2025-11-10 18:51:56,217 - DEBUG - Response for create_network : {'network': {'id': 'fe2ed3ff-099e-438d-8410-e931d0c33095', 'name': 'ctest-vn-82470171', 'tenant_id': '6e3a078bfd5d42e4abeeb6b69beeb522', 'project_id': '6e3a078bfd5d42e4abeeb6b69beeb522', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07439816', 'ctest-vn-82470171'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:51:56,370 - DEBUG - Response for create_subnet : {'subnet': {'id': '529d25b7-4c92-46fa-b076-b8be72641d23', 'name': '', 'tenant_id': '6e3a078bfd5d42e4abeeb6b69beeb522', 'network_id': 'fe2ed3ff-099e-438d-8410-e931d0c33095', 'ip_version': 4, 'cidr': '13.23.227.128/26', 'allocation_pools': [{'start': '13.23.227.130', 'end': '13.23.227.190'}], 'gateway_ip': '13.23.227.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.23.227.130', 'tags': [], 'project_id': '6e3a078bfd5d42e4abeeb6b69beeb522'}} 2025-11-10 18:51:56,388 - INFO - Created VN ctest-vn-82470171 2025-11-10 18:51:56,438 - DEBUG - VN ctest-vn-82470171 UUID is fe2ed3ff-099e-438d-8410-e931d0c33095 2025-11-10 18:51:56,754 - DEBUG - Response for create_network : {'network': {'id': 'c9b39149-05e3-4459-98cf-a453bb94f975', 'name': 'ctest-vn-90350523', 'tenant_id': '6e3a078bfd5d42e4abeeb6b69beeb522', 'project_id': '6e3a078bfd5d42e4abeeb6b69beeb522', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07439816', 'ctest-vn-90350523'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:51:56,967 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a5f8894-e128-4dbd-bdef-bc30ba500663', 'name': '', 'tenant_id': '6e3a078bfd5d42e4abeeb6b69beeb522', 'network_id': 'c9b39149-05e3-4459-98cf-a453bb94f975', 'ip_version': 4, 'cidr': '7.97.135.64/26', 'allocation_pools': [{'start': '7.97.135.66', 'end': '7.97.135.126'}], 'gateway_ip': '7.97.135.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.97.135.66', 'tags': [], 'project_id': '6e3a078bfd5d42e4abeeb6b69beeb522'}} 2025-11-10 18:51:56,984 - INFO - Created VN ctest-vn-90350523 2025-11-10 18:51:57,038 - DEBUG - VN ctest-vn-90350523 UUID is c9b39149-05e3-4459-98cf-a453bb94f975 2025-11-10 18:51:57,186 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07439816:ctest-vn-82470171, 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-07439816:ctest-vn-90350523, 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-11-10 18:51:57,468 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fe2ed3ff-099e-438d-8410-e931d0c33095', 'name': 'ctest-vn-82470171', 'tenant_id': '6e3a078bfd5d42e4abeeb6b69beeb522', 'project_id': '6e3a078bfd5d42e4abeeb6b69beeb522', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['529d25b7-4c92-46fa-b076-b8be72641d23'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07439816', 'ctest-vn-82470171'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07439816', 'ctest-policy-allow-all-65252350']], 'subnet_ipam': [{'subnet_cidr': '13.23.227.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:51:57,691 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c9b39149-05e3-4459-98cf-a453bb94f975', 'name': 'ctest-vn-90350523', 'tenant_id': '6e3a078bfd5d42e4abeeb6b69beeb522', 'project_id': '6e3a078bfd5d42e4abeeb6b69beeb522', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9a5f8894-e128-4dbd-bdef-bc30ba500663'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07439816', 'ctest-vn-90350523'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07439816', 'ctest-policy-allow-all-65252350']], 'subnet_ipam': [{'subnet_cidr': '7.97.135.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:51:57,886 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-11-10 18:51:58,179 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-11-10 18:51:58,206 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a00c2223-e74d-4340-8cbb-7add8c3ed3a1 2025-11-10 18:51:58,217 - DEBUG - Requesting: http://10.0.0.23:8082/project/6e3a078b-fd5d-42e4-abee-b6b69beeb522 2025-11-10 18:51:58,290 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fe2ed3ff-099e-438d-8410-e931d0c33095 2025-11-10 18:51:58,300 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fe2ed3ff-099e-438d-8410-e931d0c33095 2025-11-10 18:51:58,308 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/698ae7f2-8048-4230-841b-366ec17592fe 2025-11-10 18:51:58,315 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/698ae7f2-8048-4230-841b-366ec17592fe 2025-11-10 18:51:58,321 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/b4fd3744-d017-42fd-970d-dc78d3a515a3 2025-11-10 18:51:58,327 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-10 18:51:58,327 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fe2ed3ff-099e-438d-8410-e931d0c33095 2025-11-10 18:51:58,335 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/698ae7f2-8048-4230-841b-366ec17592fe 2025-11-10 18:51:58,347 - INFO - Verified VN network id 11 for VN fe2ed3ff-099e-438d-8410-e931d0c33095 2025-11-10 18:51:58,347 - INFO - Verifications in API Server for VN ctest-vn-82470171 passed 2025-11-10 18:51:58,347 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fe2ed3ff-099e-438d-8410-e931d0c33095 2025-11-10 18:51:58,354 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/698ae7f2-8048-4230-841b-366ec17592fe 2025-11-10 18:51:58,360 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/698ae7f2-8048-4230-841b-366ec17592fe 2025-11-10 18:51:58,365 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/b4fd3744-d017-42fd-970d-dc78d3a515a3 2025-11-10 18:51:58,376 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07439816:ctest-vn-82470171', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07439816', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18315809826893874061', 'uuid-lslong': '9516362412798980245'}, 'enable': 'true', 'created': '2025-11-10T18:51:56', 'last-modified': '2025-11-10T18:51:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.921365'} 2025-11-10 18:51:58,381 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-10 18:51:58,381 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82470171 passed 2025-11-10 18:51:58,381 - DEBUG - ====Verifying policy data for ctest-vn-82470171 in API_Server ====== 2025-11-10 18:51:58,381 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-11-10 18:51:58,386 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a00c2223-e74d-4340-8cbb-7add8c3ed3a1 2025-11-10 18:51:58,395 - DEBUG - Requesting: http://10.0.0.23:8082/project/6e3a078b-fd5d-42e4-abee-b6b69beeb522 2025-11-10 18:51:58,466 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fe2ed3ff-099e-438d-8410-e931d0c33095 2025-11-10 18:51:58,475 - DEBUG - ==>Verifying data for policy with id: 9671393d-6bb7-475d-922f-4600f95dd7a4, fqn: ['default-domain', 'ctest-TestBasicPolicy-07439816', 'ctest-policy-allow-all-65252350'] 2025-11-10 18:51:58,475 - INFO - VN ctest-vn-82470171 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-10 18:51:58,475 - DEBUG - Verifying the vn in opserver 2025-11-10 18:51:58,475 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07439816:ctest-vn-82470171 virtual network link through opserver 10.0.0.23 2025-11-10 18:51:58,475 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-11-10 18:51:58,769 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-11-10 18:51:58,825 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07439816:ctest-vn-82470171', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07439816:ctest-vn-82470171?flat'} 2025-11-10 18:51:58,826 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07439816:ctest-vn-82470171 is found in opserver 2025-11-10 18:51:58,834 - DEBUG - Do not have enough data to verify VN in agent 2025-11-10 18:51:58,839 - DEBUG - VRF ids for VN ctest-vn-82470171: {} 2025-11-10 18:51:58,839 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-11-10 18:51:58,843 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a00c2223-e74d-4340-8cbb-7add8c3ed3a1 2025-11-10 18:51:58,854 - DEBUG - Requesting: http://10.0.0.23:8082/project/6e3a078b-fd5d-42e4-abee-b6b69beeb522 2025-11-10 18:51:58,923 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/c9b39149-05e3-4459-98cf-a453bb94f975 2025-11-10 18:51:58,933 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/c9b39149-05e3-4459-98cf-a453bb94f975 2025-11-10 18:51:58,941 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d50f7c6a-db83-415b-8150-4148980ed2dd 2025-11-10 18:51:58,948 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d50f7c6a-db83-415b-8150-4148980ed2dd 2025-11-10 18:51:58,954 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/d5078270-d746-4ac8-8105-f1b2aa83099b 2025-11-10 18:51:58,961 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-10 18:51:58,961 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/c9b39149-05e3-4459-98cf-a453bb94f975 2025-11-10 18:51:58,970 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d50f7c6a-db83-415b-8150-4148980ed2dd 2025-11-10 18:51:58,983 - INFO - Verified VN network id 12 for VN c9b39149-05e3-4459-98cf-a453bb94f975 2025-11-10 18:51:58,983 - INFO - Verifications in API Server for VN ctest-vn-90350523 passed 2025-11-10 18:51:58,983 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/c9b39149-05e3-4459-98cf-a453bb94f975 2025-11-10 18:51:58,992 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d50f7c6a-db83-415b-8150-4148980ed2dd 2025-11-10 18:51:58,998 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d50f7c6a-db83-415b-8150-4148980ed2dd 2025-11-10 18:51:59,004 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/d5078270-d746-4ac8-8105-f1b2aa83099b 2025-11-10 18:51:59,015 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07439816:ctest-vn-90350523', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07439816', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14534120165272142937', 'uuid-lslong': '11011200293480495477'}, 'enable': 'true', 'created': '2025-11-10T18:51:56', 'last-modified': '2025-11-10T18:51:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.343705'} 2025-11-10 18:51:59,020 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-10 18:51:59,021 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90350523 passed 2025-11-10 18:51:59,021 - DEBUG - ====Verifying policy data for ctest-vn-90350523 in API_Server ====== 2025-11-10 18:51:59,021 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-11-10 18:51:59,026 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a00c2223-e74d-4340-8cbb-7add8c3ed3a1 2025-11-10 18:51:59,035 - DEBUG - Requesting: http://10.0.0.23:8082/project/6e3a078b-fd5d-42e4-abee-b6b69beeb522 2025-11-10 18:51:59,100 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/c9b39149-05e3-4459-98cf-a453bb94f975 2025-11-10 18:51:59,110 - DEBUG - ==>Verifying data for policy with id: 9671393d-6bb7-475d-922f-4600f95dd7a4, fqn: ['default-domain', 'ctest-TestBasicPolicy-07439816', 'ctest-policy-allow-all-65252350'] 2025-11-10 18:51:59,110 - INFO - VN ctest-vn-90350523 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-10 18:51:59,110 - DEBUG - Verifying the vn in opserver 2025-11-10 18:51:59,110 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07439816:ctest-vn-90350523 virtual network link through opserver 10.0.0.23 2025-11-10 18:51:59,110 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-11-10 18:51:59,118 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07439816:ctest-vn-90350523', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07439816:ctest-vn-90350523?flat'} 2025-11-10 18:51:59,118 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07439816:ctest-vn-90350523 is found in opserver 2025-11-10 18:51:59,127 - DEBUG - Do not have enough data to verify VN in agent 2025-11-10 18:51:59,130 - DEBUG - VRF ids for VN ctest-vn-90350523: {} 2025-11-10 18:51:59,188 - DEBUG - Services list from nova: [, , ] 2025-11-10 18:52:00,179 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4686-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4686-1) 2025-11-10 18:52:01,292 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4686-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4686-1) 2025-11-10 18:52:01,292 - INFO - Waiting for VM ctest-TestBasicPolicy-07439816-38857828 to be up.. 2025-11-10 18:52:01,366 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 18:52:06,446 - DEBUG - VM is in ACTIVE state now 2025-11-10 18:52:06,446 - INFO - VM name : ctest-TestBasicPolicy-07439816-38857828 2025-11-10 18:52:06,513 - DEBUG - VM ctest-TestBasicPolicy-07439816-38857828 ID is 40485a46-bc9b-4ee9-a776-9b8af4a17372 2025-11-10 18:52:06,531 - DEBUG - VM ctest-TestBasicPolicy-07439816-38857828 launched on Node cn-jenkins-deploy-platform-ansible-os-4686-1 2025-11-10 18:52:06,597 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/40485a46-bc9b-4ee9-a776-9b8af4a17372 2025-11-10 18:52:06,606 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/65288f28-5358-4829-904c-e244d1f16146 2025-11-10 18:52:09,840 - 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 1002ms') 2025-11-10 18:52:09,840 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07439816-38857828 failed! 2025-11-10 18:52:09,894 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07439816:ctest-vn-82470171 is 13.23.227.129 and allocation pool is NOT set 2025-11-10 18:52:11,959 - 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=3.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.780 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.780/2.268/3.756/1.488 ms') 2025-11-10 18:52:11,959 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07439816-38857828 passed 2025-11-10 18:52:12,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:52:12,110 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07439816-38857828, IP 13.23.227.131, Port 22 2025-11-10 18:52:12,266 - DEBUG - VM ctest-TestBasicPolicy-07439816-38857828 is ready for SSH connections 2025-11-10 18:52:12,266 - INFO - Waiting for VM ctest-TestBasicPolicy-07439816-41676977 to be up.. 2025-11-10 18:52:12,342 - DEBUG - VM is in ACTIVE state now 2025-11-10 18:52:12,342 - INFO - VM name : ctest-TestBasicPolicy-07439816-41676977 2025-11-10 18:52:12,430 - DEBUG - VM ctest-TestBasicPolicy-07439816-41676977 ID is 7bf6e58e-90e4-42e4-9691-4f1a5535b057 2025-11-10 18:52:12,430 - DEBUG - VM ctest-TestBasicPolicy-07439816-41676977 launched on Node cn-jenkins-deploy-platform-ansible-os-4686-1 2025-11-10 18:52:12,500 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/7bf6e58e-90e4-42e4-9691-4f1a5535b057 2025-11-10 18:52:12,510 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b29868b2-b0c9-4335-aa83-fc57c397ed2b 2025-11-10 18:52:13,742 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.455 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.455/1.590/2.725/1.135 ms') 2025-11-10 18:52:13,742 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07439816-41676977 passed 2025-11-10 18:52:13,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:52:13,890 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07439816-41676977, IP 7.97.135.67, Port 22 2025-11-10 18:52:14,053 - DEBUG - VM ctest-TestBasicPolicy-07439816-41676977 is ready for SSH connections 2025-11-10 18:52:14,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:52:14,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.97.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-11-10 18:52:14,054 - DEBUG - ping -s 56 -c 3 -W 1 7.97.135.67 2025-11-10 18:52:18,048 - DEBUG - PING 7.97.135.67 (7.97.135.67): 56 data bytes 64 bytes from 7.97.135.67: seq=0 ttl=63 time=3.781 ms 64 bytes from 7.97.135.67: seq=1 ttl=63 time=1.041 ms 64 bytes from 7.97.135.67: seq=2 ttl=63 time=0.903 ms --- 7.97.135.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.903/1.908/3.781 ms 2025-11-10 18:52:18,049 - INFO - Ping to IP 7.97.135.67 from VM ctest-TestBasicPolicy-07439816-38857828 passed 2025-11-10 18:52:18,218 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9671393d-6bb7-475d-922f-4600f95dd7a4", "href": "http://10.0.0.23:8082/network-policy/9671393d-6bb7-475d-922f-4600f95dd7a4"}} 2025-11-10 18:52:18,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:52:18,218 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.97.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-11-10 18:52:18,218 - DEBUG - ping -s 56 -c 3 -W 1 7.97.135.67 2025-11-10 18:52:21,429 - DEBUG - PING 7.97.135.67 (7.97.135.67): 56 data bytes --- 7.97.135.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-10 18:52:21,429 - WARNING - Ping to IP 7.97.135.67 from VM ctest-TestBasicPolicy-07439816-38857828 failed 2025-11-10 18:52:21,429 - INFO - Deleting VM ctest-TestBasicPolicy-07439816-41676977 2025-11-10 18:52:21,491 - INFO - Deleting VM ctest-TestBasicPolicy-07439816-38857828 2025-11-10 18:52:21,828 - INFO - Deleted policy ctest-policy-allow-all-65252350 2025-11-10 18:52:21,828 - INFO - Deleting VN ctest-vn-90350523 2025-11-10 18:52:21,864 - DEBUG - VN c9b39149-05e3-4459-98cf-a453bb94f975 still in use: Unable to complete operation on network c9b39149-05e3-4459-98cf-a453bb94f975. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-18ff12b5-2546-4e4d-91ed-6a25aaf8ca20'] 2025-11-10 18:52:21,864 - WARNING - Deleting VN ctest-vn-90350523 failed..Will retry 2025-11-10 18:52:23,959 - DEBUG - Response for deleting network () 2025-11-10 18:52:23,959 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d50f7c6a-db83-415b-8150-4148980ed2dd 2025-11-10 18:52:23,963 - DEBUG - Response Code: 404 2025-11-10 18:52:23,963 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-11-10 18:52:23,968 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a00c2223-e74d-4340-8cbb-7add8c3ed3a1 2025-11-10 18:52:24,019 - DEBUG - Requesting: http://10.0.0.23:8082/project/6e3a078b-fd5d-42e4-abee-b6b69beeb522 2025-11-10 18:52:24,087 - INFO - Validated that VN ctest-vn-90350523 is not found in API Server 2025-11-10 18:52:24,097 - DEBUG - VN ctest-vn-90350523 is not present in Agent 10.0.0.23 2025-11-10 18:52:24,097 - INFO - Validated that VN ctest-vn-90350523 is not in any agent 2025-11-10 18:52:24,110 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90350523 info 2025-11-10 18:52:24,110 - INFO - Deleting VN ctest-vn-82470171 2025-11-10 18:52:24,203 - DEBUG - Response for deleting network () 2025-11-10 18:52:24,203 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/698ae7f2-8048-4230-841b-366ec17592fe 2025-11-10 18:52:24,206 - DEBUG - Response Code: 404 2025-11-10 18:52:24,206 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-11-10 18:52:24,213 - DEBUG - Requesting: http://10.0.0.23:8082/domain/a00c2223-e74d-4340-8cbb-7add8c3ed3a1 2025-11-10 18:52:24,267 - DEBUG - Requesting: http://10.0.0.23:8082/project/6e3a078b-fd5d-42e4-abee-b6b69beeb522 2025-11-10 18:52:24,335 - INFO - Validated that VN ctest-vn-82470171 is not found in API Server 2025-11-10 18:52:24,345 - DEBUG - VN ctest-vn-82470171 is not present in Agent 10.0.0.23 2025-11-10 18:52:24,345 - INFO - Validated that VN ctest-vn-82470171 is not in any agent 2025-11-10 18:52:24,360 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82470171 info 2025-11-10 18:52:24,616 - DEBUG - No XMPP flaps were noticed during the test 2025-11-10 18:52:24,616 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-10 18:52:24,616 - INFO - -------------------------------------------------------------------------------- 2025-11-10 18:52:25,266 - INFO - Deleted project: ctest-TestBasicPolicy-07439816, ID : 6e3a078b-fd5d-42e4-abee-b6b69beeb522