2025-10-21 07:40:27,678 - INFO - Domain Default found not creating 2025-10-21 07:40:27,798 - INFO - Project ctest-TestBasicPolicy-54829992 not found, creating it 2025-10-21 07:40:28,198 - INFO - Created Project:ctest-TestBasicPolicy-54829992, ID : 0f1896be-579d-422b-b5f0-87d6eda6d20a 2025-10-21 07:40:29,528 - INFO - ================================================================================ 2025-10-21 07:40:29,528 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-21 07:40:29,528 - 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-21 07:40:29,779 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-21 07:40:29,779 - INFO - Initial checks done. Running the testcase now 2025-10-21 07:40:29,779 - INFO - 2025-10-21 07:40:30,304 - DEBUG - Response for create_network : {'network': {'id': '60ac0ab5-07ac-4b74-9bc9-3e630e0796b4', 'name': 'ctest-vn-40209872', 'tenant_id': '0f1896be579d422bb5f087d6eda6d20a', 'project_id': '0f1896be579d422bb5f087d6eda6d20a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54829992', 'ctest-vn-40209872'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 07:40:30,498 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6af8764-05eb-4db6-ba5a-14aadb46d7be', 'name': '', 'tenant_id': '0f1896be579d422bb5f087d6eda6d20a', 'network_id': '60ac0ab5-07ac-4b74-9bc9-3e630e0796b4', 'ip_version': 4, 'cidr': '57.152.220.0/26', 'allocation_pools': [{'start': '57.152.220.2', 'end': '57.152.220.62'}], 'gateway_ip': '57.152.220.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.152.220.2', 'tags': [], 'project_id': '0f1896be579d422bb5f087d6eda6d20a'}} 2025-10-21 07:40:30,516 - INFO - Created VN ctest-vn-40209872 2025-10-21 07:40:30,566 - DEBUG - VN ctest-vn-40209872 UUID is 60ac0ab5-07ac-4b74-9bc9-3e630e0796b4 2025-10-21 07:40:30,886 - DEBUG - Response for create_network : {'network': {'id': '15264743-b8b3-4d73-91ea-cf32f46ded4a', 'name': 'ctest-vn-52489870', 'tenant_id': '0f1896be579d422bb5f087d6eda6d20a', 'project_id': '0f1896be579d422bb5f087d6eda6d20a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54829992', 'ctest-vn-52489870'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 07:40:31,098 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4582e72-5847-49e7-9a84-027b4e35fa35', 'name': '', 'tenant_id': '0f1896be579d422bb5f087d6eda6d20a', 'network_id': '15264743-b8b3-4d73-91ea-cf32f46ded4a', 'ip_version': 4, 'cidr': '146.149.155.192/26', 'allocation_pools': [{'start': '146.149.155.194', 'end': '146.149.155.254'}], 'gateway_ip': '146.149.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.149.155.194', 'tags': [], 'project_id': '0f1896be579d422bb5f087d6eda6d20a'}} 2025-10-21 07:40:31,114 - INFO - Created VN ctest-vn-52489870 2025-10-21 07:40:31,162 - DEBUG - VN ctest-vn-52489870 UUID is 15264743-b8b3-4d73-91ea-cf32f46ded4a 2025-10-21 07:40:31,302 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-40209872, 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-54829992:ctest-vn-52489870, 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-21 07:40:31,584 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '60ac0ab5-07ac-4b74-9bc9-3e630e0796b4', 'name': 'ctest-vn-40209872', 'tenant_id': '0f1896be579d422bb5f087d6eda6d20a', 'project_id': '0f1896be579d422bb5f087d6eda6d20a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a6af8764-05eb-4db6-ba5a-14aadb46d7be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54829992', 'ctest-vn-40209872'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54829992', 'ctest-policy-allow-all-41254659']], 'subnet_ipam': [{'subnet_cidr': '57.152.220.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 07:40:31,802 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '15264743-b8b3-4d73-91ea-cf32f46ded4a', 'name': 'ctest-vn-52489870', 'tenant_id': '0f1896be579d422bb5f087d6eda6d20a', 'project_id': '0f1896be579d422bb5f087d6eda6d20a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f4582e72-5847-49e7-9a84-027b4e35fa35'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54829992', 'ctest-vn-52489870'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54829992', 'ctest-policy-allow-all-41254659']], 'subnet_ipam': [{'subnet_cidr': '146.149.155.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 07:40:31,974 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 07:40:32,265 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 07:40:32,292 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08d5f9dd-8d1b-493e-a6cc-8ef55f5048f3 2025-10-21 07:40:32,302 - DEBUG - Requesting: http://10.0.0.38:8082/project/0f1896be-579d-422b-b5f0-87d6eda6d20a 2025-10-21 07:40:32,372 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60ac0ab5-07ac-4b74-9bc9-3e630e0796b4 2025-10-21 07:40:32,380 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60ac0ab5-07ac-4b74-9bc9-3e630e0796b4 2025-10-21 07:40:32,387 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36525099-1fa3-4dff-a790-6524f670dab3 2025-10-21 07:40:32,392 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36525099-1fa3-4dff-a790-6524f670dab3 2025-10-21 07:40:32,397 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1687a352-c88d-4724-b111-c80c0fec980a 2025-10-21 07:40:32,402 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 07:40:32,402 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60ac0ab5-07ac-4b74-9bc9-3e630e0796b4 2025-10-21 07:40:32,408 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36525099-1fa3-4dff-a790-6524f670dab3 2025-10-21 07:40:32,419 - INFO - Verified VN network id 12 for VN 60ac0ab5-07ac-4b74-9bc9-3e630e0796b4 2025-10-21 07:40:32,419 - INFO - Verifications in API Server for VN ctest-vn-40209872 passed 2025-10-21 07:40:32,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60ac0ab5-07ac-4b74-9bc9-3e630e0796b4 2025-10-21 07:40:32,426 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36525099-1fa3-4dff-a790-6524f670dab3 2025-10-21 07:40:32,431 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36525099-1fa3-4dff-a790-6524f670dab3 2025-10-21 07:40:32,436 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1687a352-c88d-4724-b111-c80c0fec980a 2025-10-21 07:40:32,445 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-40209872', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54829992', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6965954496269405044', 'uuid-lslong': '11225572141355734708'}, 'enable': 'true', 'created': '2025-10-21T07:40:30', 'last-modified': '2025-10-21T07:40:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.879509'} 2025-10-21 07:40:32,450 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 07:40:32,450 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40209872 passed 2025-10-21 07:40:32,451 - DEBUG - ====Verifying policy data for ctest-vn-40209872 in API_Server ====== 2025-10-21 07:40:32,451 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 07:40:32,455 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08d5f9dd-8d1b-493e-a6cc-8ef55f5048f3 2025-10-21 07:40:32,464 - DEBUG - Requesting: http://10.0.0.38:8082/project/0f1896be-579d-422b-b5f0-87d6eda6d20a 2025-10-21 07:40:32,528 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/60ac0ab5-07ac-4b74-9bc9-3e630e0796b4 2025-10-21 07:40:32,535 - DEBUG - ==>Verifying data for policy with id: 4f6b81fe-9e04-4442-ad11-fe27974c779d, fqn: ['default-domain', 'ctest-TestBasicPolicy-54829992', 'ctest-policy-allow-all-41254659'] 2025-10-21 07:40:32,535 - INFO - VN ctest-vn-40209872 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 07:40:32,535 - DEBUG - Verifying the vn in opserver 2025-10-21 07:40:32,535 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-40209872 virtual network link through opserver 10.0.0.38 2025-10-21 07:40:32,535 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-21 07:40:32,821 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-21 07:40:32,867 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-40209872', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-40209872?flat'} 2025-10-21 07:40:32,867 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-40209872 is found in opserver 2025-10-21 07:40:32,875 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 07:40:32,879 - DEBUG - VRF ids for VN ctest-vn-40209872: {} 2025-10-21 07:40:32,879 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 07:40:32,884 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08d5f9dd-8d1b-493e-a6cc-8ef55f5048f3 2025-10-21 07:40:32,892 - DEBUG - Requesting: http://10.0.0.38:8082/project/0f1896be-579d-422b-b5f0-87d6eda6d20a 2025-10-21 07:40:32,959 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/15264743-b8b3-4d73-91ea-cf32f46ded4a 2025-10-21 07:40:32,969 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/15264743-b8b3-4d73-91ea-cf32f46ded4a 2025-10-21 07:40:32,976 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fe35607f-6158-486e-a6ae-7619e11fbceb 2025-10-21 07:40:32,982 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fe35607f-6158-486e-a6ae-7619e11fbceb 2025-10-21 07:40:32,986 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/28ac3bcd-f23e-4f19-b6e8-e8d2b45d48b7 2025-10-21 07:40:32,991 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 07:40:32,991 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/15264743-b8b3-4d73-91ea-cf32f46ded4a 2025-10-21 07:40:32,997 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fe35607f-6158-486e-a6ae-7619e11fbceb 2025-10-21 07:40:33,007 - INFO - Verified VN network id 13 for VN 15264743-b8b3-4d73-91ea-cf32f46ded4a 2025-10-21 07:40:33,007 - INFO - Verifications in API Server for VN ctest-vn-52489870 passed 2025-10-21 07:40:33,007 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/15264743-b8b3-4d73-91ea-cf32f46ded4a 2025-10-21 07:40:33,014 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fe35607f-6158-486e-a6ae-7619e11fbceb 2025-10-21 07:40:33,019 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fe35607f-6158-486e-a6ae-7619e11fbceb 2025-10-21 07:40:33,024 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/28ac3bcd-f23e-4f19-b6e8-e8d2b45d48b7 2025-10-21 07:40:33,033 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-52489870', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54829992', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1523983880098631027', 'uuid-lslong': '10514444097806003530'}, 'enable': 'true', 'created': '2025-10-21T07:40:30', 'last-modified': '2025-10-21T07:40:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.247987'} 2025-10-21 07:40:33,037 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 07:40:33,037 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52489870 passed 2025-10-21 07:40:33,037 - DEBUG - ====Verifying policy data for ctest-vn-52489870 in API_Server ====== 2025-10-21 07:40:33,037 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 07:40:33,041 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08d5f9dd-8d1b-493e-a6cc-8ef55f5048f3 2025-10-21 07:40:33,049 - DEBUG - Requesting: http://10.0.0.38:8082/project/0f1896be-579d-422b-b5f0-87d6eda6d20a 2025-10-21 07:40:33,112 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/15264743-b8b3-4d73-91ea-cf32f46ded4a 2025-10-21 07:40:33,119 - DEBUG - ==>Verifying data for policy with id: 4f6b81fe-9e04-4442-ad11-fe27974c779d, fqn: ['default-domain', 'ctest-TestBasicPolicy-54829992', 'ctest-policy-allow-all-41254659'] 2025-10-21 07:40:33,120 - INFO - VN ctest-vn-52489870 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 07:40:33,120 - DEBUG - Verifying the vn in opserver 2025-10-21 07:40:33,120 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-52489870 virtual network link through opserver 10.0.0.38 2025-10-21 07:40:33,120 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-21 07:40:33,127 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-52489870', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-52489870?flat'} 2025-10-21 07:40:33,127 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-52489870 is found in opserver 2025-10-21 07:40:33,135 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 07:40:33,138 - DEBUG - VRF ids for VN ctest-vn-52489870: {} 2025-10-21 07:40:33,184 - DEBUG - Services list from nova: [, , ] 2025-10-21 07:40:34,129 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4390-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4390-1) 2025-10-21 07:40:35,191 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4390-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4390-1) 2025-10-21 07:40:35,191 - INFO - Waiting for VM ctest-TestBasicPolicy-54829992-78418901 to be up.. 2025-10-21 07:40:35,262 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 07:40:40,325 - DEBUG - VM is in ACTIVE state now 2025-10-21 07:40:40,325 - INFO - VM name : ctest-TestBasicPolicy-54829992-78418901 2025-10-21 07:40:40,385 - DEBUG - VM ctest-TestBasicPolicy-54829992-78418901 ID is 01964832-1578-419e-ba56-ecf10327e4ed 2025-10-21 07:40:40,402 - DEBUG - VM ctest-TestBasicPolicy-54829992-78418901 launched on Node cn-jenkins-deploy-platform-ansible-os-4390-1 2025-10-21 07:40:40,470 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/01964832-1578-419e-ba56-ecf10327e4ed 2025-10-21 07:40:40,477 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/70ef74d1-35db-4bd2-a792-8273f8d38b0a 2025-10-21 07:40:43,731 - 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 1024ms') 2025-10-21 07:40:43,731 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54829992-78418901 failed! 2025-10-21 07:40:43,790 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54829992:ctest-vn-40209872 is 57.152.220.1 and allocation pool is NOT set 2025-10-21 07:40:45,849 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.358 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.358/1.636/2.914/1.278 ms') 2025-10-21 07:40:45,849 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54829992-78418901 passed 2025-10-21 07:40:45,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 07:40:45,994 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54829992-78418901, IP 57.152.220.3, Port 22 2025-10-21 07:40:46,150 - DEBUG - VM ctest-TestBasicPolicy-54829992-78418901 is ready for SSH connections 2025-10-21 07:40:46,150 - INFO - Waiting for VM ctest-TestBasicPolicy-54829992-25405421 to be up.. 2025-10-21 07:40:46,215 - DEBUG - VM is in ACTIVE state now 2025-10-21 07:40:46,215 - INFO - VM name : ctest-TestBasicPolicy-54829992-25405421 2025-10-21 07:40:46,278 - DEBUG - VM ctest-TestBasicPolicy-54829992-25405421 ID is 65eac5bf-b85f-452d-b865-76f66282f052 2025-10-21 07:40:46,279 - DEBUG - VM ctest-TestBasicPolicy-54829992-25405421 launched on Node cn-jenkins-deploy-platform-ansible-os-4390-1 2025-10-21 07:40:46,343 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/65eac5bf-b85f-452d-b865-76f66282f052 2025-10-21 07:40:46,351 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/25116be2-faa2-4001-bb96-f039fd388a12 2025-10-21 07:40:47,579 - 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=3.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.785/3.197/1.412 ms') 2025-10-21 07:40:47,579 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54829992-25405421 passed 2025-10-21 07:40:47,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 07:40:47,730 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54829992-25405421, IP 146.149.155.195, Port 22 2025-10-21 07:40:47,886 - DEBUG - VM ctest-TestBasicPolicy-54829992-25405421 is ready for SSH connections 2025-10-21 07:40:47,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 07:40:47,886 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.149.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 07:40:47,886 - DEBUG - ping -s 56 -c 3 -W 1 146.149.155.195 2025-10-21 07:40:51,883 - DEBUG - PING 146.149.155.195 (146.149.155.195): 56 data bytes 64 bytes from 146.149.155.195: seq=0 ttl=63 time=3.300 ms 64 bytes from 146.149.155.195: seq=1 ttl=63 time=0.814 ms 64 bytes from 146.149.155.195: seq=2 ttl=63 time=0.844 ms --- 146.149.155.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.814/1.652/3.300 ms 2025-10-21 07:40:51,883 - INFO - Ping to IP 146.149.155.195 from VM ctest-TestBasicPolicy-54829992-78418901 passed 2025-10-21 07:40:52,058 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4f6b81fe-9e04-4442-ad11-fe27974c779d", "href": "http://10.0.0.38:8082/network-policy/4f6b81fe-9e04-4442-ad11-fe27974c779d"}} 2025-10-21 07:40:52,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 07:40:52,058 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.149.155.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 07:40:52,058 - DEBUG - ping -s 56 -c 3 -W 1 146.149.155.195 2025-10-21 07:40:55,262 - DEBUG - PING 146.149.155.195 (146.149.155.195): 56 data bytes 64 bytes from 146.149.155.195: seq=0 ttl=63 time=1.257 ms --- 146.149.155.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.257/1.257/1.257 ms 2025-10-21 07:40:55,262 - WARNING - Ping to IP 146.149.155.195 from VM ctest-TestBasicPolicy-54829992-78418901 failed 2025-10-21 07:40:55,262 - INFO - Deleting VM ctest-TestBasicPolicy-54829992-25405421 2025-10-21 07:40:55,325 - INFO - Deleting VM ctest-TestBasicPolicy-54829992-78418901 2025-10-21 07:40:55,668 - INFO - Deleted policy ctest-policy-allow-all-41254659 2025-10-21 07:40:55,668 - INFO - Deleting VN ctest-vn-52489870 2025-10-21 07:40:55,706 - DEBUG - VN 15264743-b8b3-4d73-91ea-cf32f46ded4a still in use: Unable to complete operation on network 15264743-b8b3-4d73-91ea-cf32f46ded4a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-296491bd-29c2-4166-9e5e-0e110bc633de'] 2025-10-21 07:40:55,706 - WARNING - Deleting VN ctest-vn-52489870 failed..Will retry 2025-10-21 07:40:57,797 - DEBUG - Response for deleting network () 2025-10-21 07:40:57,797 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fe35607f-6158-486e-a6ae-7619e11fbceb 2025-10-21 07:40:57,802 - DEBUG - Response Code: 404 2025-10-21 07:40:57,802 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 07:40:57,806 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08d5f9dd-8d1b-493e-a6cc-8ef55f5048f3 2025-10-21 07:40:57,859 - DEBUG - Requesting: http://10.0.0.38:8082/project/0f1896be-579d-422b-b5f0-87d6eda6d20a 2025-10-21 07:40:57,924 - INFO - Validated that VN ctest-vn-52489870 is not found in API Server 2025-10-21 07:40:57,933 - DEBUG - VN ctest-vn-52489870 is not present in Agent 10.0.0.38 2025-10-21 07:40:57,933 - INFO - Validated that VN ctest-vn-52489870 is not in any agent 2025-10-21 07:40:57,945 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52489870 info 2025-10-21 07:40:57,945 - INFO - Deleting VN ctest-vn-40209872 2025-10-21 07:40:58,037 - DEBUG - Response for deleting network () 2025-10-21 07:40:58,038 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/36525099-1fa3-4dff-a790-6524f670dab3 2025-10-21 07:40:58,042 - DEBUG - Response Code: 404 2025-10-21 07:40:58,043 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 07:40:58,047 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08d5f9dd-8d1b-493e-a6cc-8ef55f5048f3 2025-10-21 07:40:58,098 - DEBUG - Requesting: http://10.0.0.38:8082/project/0f1896be-579d-422b-b5f0-87d6eda6d20a 2025-10-21 07:40:58,165 - INFO - Validated that VN ctest-vn-40209872 is not found in API Server 2025-10-21 07:40:58,174 - DEBUG - VN ctest-vn-40209872 is not present in Agent 10.0.0.38 2025-10-21 07:40:58,174 - INFO - Validated that VN ctest-vn-40209872 is not in any agent 2025-10-21 07:40:58,186 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40209872 info 2025-10-21 07:40:58,450 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 07:40:58,450 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-21 07:40:58,450 - INFO - -------------------------------------------------------------------------------- 2025-10-21 07:40:59,094 - INFO - Deleted project: ctest-TestBasicPolicy-54829992, ID : 0f1896be-579d-422b-b5f0-87d6eda6d20a