2025-06-24 08:44:48,762 - INFO - Domain Default found not creating 2025-06-24 08:44:48,928 - INFO - Project ctest-TestBasicPolicy-03826773 not found, creating it 2025-06-24 08:44:49,378 - INFO - Created Project:ctest-TestBasicPolicy-03826773, ID : ca9e595d-211d-465d-a717-41cc08045d1b 2025-06-24 08:44:50,934 - INFO - ================================================================================ 2025-06-24 08:44:50,934 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-24 08:44:50,934 - 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-24 08:44:51,191 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-06-24 08:44:51,191 - INFO - Initial checks done. Running the testcase now 2025-06-24 08:44:51,191 - INFO - 2025-06-24 08:44:51,757 - DEBUG - Response for create_network : {'network': {'id': '5dbe2310-12a3-44cf-bab2-5a9d84ca01fd', 'name': 'ctest-vn-85391115', 'tenant_id': 'ca9e595d211d465da71741cc08045d1b', 'project_id': 'ca9e595d211d465da71741cc08045d1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03826773', 'ctest-vn-85391115'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 08:44:51,965 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea89722c-20a2-4e6d-8662-fad361c4f130', 'name': '', 'tenant_id': 'ca9e595d211d465da71741cc08045d1b', 'network_id': '5dbe2310-12a3-44cf-bab2-5a9d84ca01fd', 'ip_version': 4, 'cidr': '202.166.232.64/26', 'allocation_pools': [{'start': '202.166.232.66', 'end': '202.166.232.126'}], 'gateway_ip': '202.166.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.166.232.66', 'tags': [], 'project_id': 'ca9e595d211d465da71741cc08045d1b'}} 2025-06-24 08:44:51,982 - INFO - Created VN ctest-vn-85391115 2025-06-24 08:44:52,037 - DEBUG - VN ctest-vn-85391115 UUID is 5dbe2310-12a3-44cf-bab2-5a9d84ca01fd 2025-06-24 08:44:52,336 - DEBUG - Response for create_network : {'network': {'id': 'd4ad003b-7a06-4b42-ad1a-68b096f36653', 'name': 'ctest-vn-34695332', 'tenant_id': 'ca9e595d211d465da71741cc08045d1b', 'project_id': 'ca9e595d211d465da71741cc08045d1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03826773', 'ctest-vn-34695332'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 08:44:52,525 - DEBUG - Response for create_subnet : {'subnet': {'id': '4cbfd976-e6f7-4698-a4ce-748e00fa5e5b', 'name': '', 'tenant_id': 'ca9e595d211d465da71741cc08045d1b', 'network_id': 'd4ad003b-7a06-4b42-ad1a-68b096f36653', 'ip_version': 4, 'cidr': '61.196.90.0/26', 'allocation_pools': [{'start': '61.196.90.2', 'end': '61.196.90.62'}], 'gateway_ip': '61.196.90.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.196.90.2', 'tags': [], 'project_id': 'ca9e595d211d465da71741cc08045d1b'}} 2025-06-24 08:44:52,547 - INFO - Created VN ctest-vn-34695332 2025-06-24 08:44:52,601 - DEBUG - VN ctest-vn-34695332 UUID is d4ad003b-7a06-4b42-ad1a-68b096f36653 2025-06-24 08:44:52,753 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03826773:ctest-vn-85391115, 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-03826773:ctest-vn-34695332, 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-24 08:44:53,057 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5dbe2310-12a3-44cf-bab2-5a9d84ca01fd', 'name': 'ctest-vn-85391115', 'tenant_id': 'ca9e595d211d465da71741cc08045d1b', 'project_id': 'ca9e595d211d465da71741cc08045d1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ea89722c-20a2-4e6d-8662-fad361c4f130'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03826773', 'ctest-vn-85391115'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03826773', 'ctest-policy-allow-all-90531856']], 'subnet_ipam': [{'subnet_cidr': '202.166.232.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 08:44:53,301 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd4ad003b-7a06-4b42-ad1a-68b096f36653', 'name': 'ctest-vn-34695332', 'tenant_id': 'ca9e595d211d465da71741cc08045d1b', 'project_id': 'ca9e595d211d465da71741cc08045d1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4cbfd976-e6f7-4698-a4ce-748e00fa5e5b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03826773', 'ctest-vn-34695332'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03826773', 'ctest-policy-allow-all-90531856']], 'subnet_ipam': [{'subnet_cidr': '61.196.90.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-24 08:44:53,465 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 08:44:53,763 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 08:44:53,793 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ace018c5-1e60-4d37-8466-5e269458ea0c 2025-06-24 08:44:53,806 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca9e595d-211d-465d-a717-41cc08045d1b 2025-06-24 08:44:53,887 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5dbe2310-12a3-44cf-bab2-5a9d84ca01fd 2025-06-24 08:44:53,898 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5dbe2310-12a3-44cf-bab2-5a9d84ca01fd 2025-06-24 08:44:53,908 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfd23214-32b7-414f-bdbf-975409f52e62 2025-06-24 08:44:53,916 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfd23214-32b7-414f-bdbf-975409f52e62 2025-06-24 08:44:53,924 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0b8d1d8e-4a2f-43e5-a466-493cc02b504c 2025-06-24 08:44:53,932 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 08:44:53,932 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5dbe2310-12a3-44cf-bab2-5a9d84ca01fd 2025-06-24 08:44:53,944 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfd23214-32b7-414f-bdbf-975409f52e62 2025-06-24 08:44:53,961 - INFO - Verified VN network id 8 for VN 5dbe2310-12a3-44cf-bab2-5a9d84ca01fd 2025-06-24 08:44:53,961 - INFO - Verifications in API Server for VN ctest-vn-85391115 passed 2025-06-24 08:44:53,961 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5dbe2310-12a3-44cf-bab2-5a9d84ca01fd 2025-06-24 08:44:53,973 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfd23214-32b7-414f-bdbf-975409f52e62 2025-06-24 08:44:53,982 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfd23214-32b7-414f-bdbf-975409f52e62 2025-06-24 08:44:53,990 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0b8d1d8e-4a2f-43e5-a466-493cc02b504c 2025-06-24 08:44:54,005 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03826773:ctest-vn-85391115', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03826773', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6754875043041461455', 'uuid-lslong': '13452914669493289469'}, 'enable': 'true', 'created': '2025-06-24T08:44:51', 'last-modified': '2025-06-24T08:44:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.976170'} 2025-06-24 08:44:54,014 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-24 08:44:54,014 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85391115 passed 2025-06-24 08:44:54,015 - DEBUG - ====Verifying policy data for ctest-vn-85391115 in API_Server ====== 2025-06-24 08:44:54,015 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 08:44:54,022 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ace018c5-1e60-4d37-8466-5e269458ea0c 2025-06-24 08:44:54,036 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca9e595d-211d-465d-a717-41cc08045d1b 2025-06-24 08:44:54,109 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5dbe2310-12a3-44cf-bab2-5a9d84ca01fd 2025-06-24 08:44:54,121 - DEBUG - ==>Verifying data for policy with id: 91107c4c-9637-4718-ab27-19baa33e19a1, fqn: ['default-domain', 'ctest-TestBasicPolicy-03826773', 'ctest-policy-allow-all-90531856'] 2025-06-24 08:44:54,121 - INFO - VN ctest-vn-85391115 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 08:44:54,121 - DEBUG - Verifying the vn in opserver 2025-06-24 08:44:54,121 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03826773:ctest-vn-85391115 virtual network link through opserver 10.0.0.38 2025-06-24 08:44:54,121 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-24 08:44:54,419 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-24 08:44:54,486 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03826773:ctest-vn-85391115', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03826773:ctest-vn-85391115?flat'} 2025-06-24 08:44:54,486 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03826773:ctest-vn-85391115 is found in opserver 2025-06-24 08:44:54,500 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 08:44:54,507 - DEBUG - VRF ids for VN ctest-vn-85391115: {} 2025-06-24 08:44:54,507 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 08:44:54,515 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ace018c5-1e60-4d37-8466-5e269458ea0c 2025-06-24 08:44:54,532 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca9e595d-211d-465d-a717-41cc08045d1b 2025-06-24 08:44:54,619 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4ad003b-7a06-4b42-ad1a-68b096f36653 2025-06-24 08:44:54,634 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4ad003b-7a06-4b42-ad1a-68b096f36653 2025-06-24 08:44:54,648 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/48f059c8-3194-42d7-8177-2a667a6412ed 2025-06-24 08:44:54,658 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/48f059c8-3194-42d7-8177-2a667a6412ed 2025-06-24 08:44:54,666 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/77cdcb16-f866-4281-bbec-4af1aca2f1af 2025-06-24 08:44:54,676 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 08:44:54,676 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4ad003b-7a06-4b42-ad1a-68b096f36653 2025-06-24 08:44:54,689 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/48f059c8-3194-42d7-8177-2a667a6412ed 2025-06-24 08:44:54,706 - INFO - Verified VN network id 9 for VN d4ad003b-7a06-4b42-ad1a-68b096f36653 2025-06-24 08:44:54,706 - INFO - Verifications in API Server for VN ctest-vn-34695332 passed 2025-06-24 08:44:54,707 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4ad003b-7a06-4b42-ad1a-68b096f36653 2025-06-24 08:44:54,718 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/48f059c8-3194-42d7-8177-2a667a6412ed 2025-06-24 08:44:54,725 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/48f059c8-3194-42d7-8177-2a667a6412ed 2025-06-24 08:44:54,734 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/77cdcb16-f866-4281-bbec-4af1aca2f1af 2025-06-24 08:44:54,749 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03826773:ctest-vn-34695332', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03826773', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15324905362461969218', 'uuid-lslong': '12473397225612076627'}, 'enable': 'true', 'created': '2025-06-24T08:44:52', 'last-modified': '2025-06-24T08:44:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.472150'} 2025-06-24 08:44:54,756 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-24 08:44:54,757 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34695332 passed 2025-06-24 08:44:54,757 - DEBUG - ====Verifying policy data for ctest-vn-34695332 in API_Server ====== 2025-06-24 08:44:54,757 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 08:44:54,765 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ace018c5-1e60-4d37-8466-5e269458ea0c 2025-06-24 08:44:54,780 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca9e595d-211d-465d-a717-41cc08045d1b 2025-06-24 08:44:54,857 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4ad003b-7a06-4b42-ad1a-68b096f36653 2025-06-24 08:44:54,869 - DEBUG - ==>Verifying data for policy with id: 91107c4c-9637-4718-ab27-19baa33e19a1, fqn: ['default-domain', 'ctest-TestBasicPolicy-03826773', 'ctest-policy-allow-all-90531856'] 2025-06-24 08:44:54,869 - INFO - VN ctest-vn-34695332 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-24 08:44:54,869 - DEBUG - Verifying the vn in opserver 2025-06-24 08:44:54,869 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03826773:ctest-vn-34695332 virtual network link through opserver 10.0.0.38 2025-06-24 08:44:54,869 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-24 08:44:54,882 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03826773:ctest-vn-34695332', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03826773:ctest-vn-34695332?flat'} 2025-06-24 08:44:54,882 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03826773:ctest-vn-34695332 is found in opserver 2025-06-24 08:44:54,894 - DEBUG - Do not have enough data to verify VN in agent 2025-06-24 08:44:54,899 - DEBUG - VRF ids for VN ctest-vn-34695332: {} 2025-06-24 08:44:54,970 - DEBUG - Services list from nova: [, , ] 2025-06-24 08:44:55,976 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3528-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3528-1) 2025-06-24 08:44:57,228 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3528-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3528-1) 2025-06-24 08:44:57,228 - INFO - Waiting for VM ctest-TestBasicPolicy-03826773-06783621 to be up.. 2025-06-24 08:44:57,300 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-24 08:45:02,393 - DEBUG - VM is in ACTIVE state now 2025-06-24 08:45:02,393 - INFO - VM name : ctest-TestBasicPolicy-03826773-06783621 2025-06-24 08:45:02,484 - DEBUG - VM ctest-TestBasicPolicy-03826773-06783621 ID is 5fd5a1d1-75c0-4e8b-898e-8b217a454277 2025-06-24 08:45:02,514 - DEBUG - VM ctest-TestBasicPolicy-03826773-06783621 launched on Node cn-jenkins-deploy-platform-ansible-os-3528-1 2025-06-24 08:45:02,611 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5fd5a1d1-75c0-4e8b-898e-8b217a454277 2025-06-24 08:45:02,622 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/39a8d292-7f94-4f65-9817-f42a3e9b653d 2025-06-24 08:45:05,834 - 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 1001ms') 2025-06-24 08:45:05,835 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03826773-06783621 failed! 2025-06-24 08:45:05,893 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03826773:ctest-vn-85391115 is 202.166.232.65 and allocation pool is NOT set 2025-06-24 08:45:07,952 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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.429/2.018/3.608/1.589 ms') 2025-06-24 08:45:07,952 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03826773-06783621 passed 2025-06-24 08:45:08,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 08:45:08,101 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03826773-06783621, IP 202.166.232.67, Port 22 2025-06-24 08:45:08,270 - DEBUG - VM ctest-TestBasicPolicy-03826773-06783621 is ready for SSH connections 2025-06-24 08:45:08,270 - INFO - Waiting for VM ctest-TestBasicPolicy-03826773-33271271 to be up.. 2025-06-24 08:45:08,354 - DEBUG - VM is in ACTIVE state now 2025-06-24 08:45:08,354 - INFO - VM name : ctest-TestBasicPolicy-03826773-33271271 2025-06-24 08:45:08,431 - DEBUG - VM ctest-TestBasicPolicy-03826773-33271271 ID is ae755c1b-d297-4972-9cc0-fd60857d3c90 2025-06-24 08:45:08,431 - DEBUG - VM ctest-TestBasicPolicy-03826773-33271271 launched on Node cn-jenkins-deploy-platform-ansible-os-3528-1 2025-06-24 08:45:08,511 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ae755c1b-d297-4972-9cc0-fd60857d3c90 2025-06-24 08:45:08,521 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fda9fd25-1ee0-471c-8615-ca6fad8b09e1 2025-06-24 08:45:09,757 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.440 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.440/1.802/3.165/1.362 ms') 2025-06-24 08:45:09,757 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03826773-33271271 passed 2025-06-24 08:45:09,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 08:45:09,909 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03826773-33271271, IP 61.196.90.3, Port 22 2025-06-24 08:45:10,064 - DEBUG - VM ctest-TestBasicPolicy-03826773-33271271 is ready for SSH connections 2025-06-24 08:45:10,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 08:45:10,065 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.196.90.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-24 08:45:10,065 - DEBUG - ping -s 56 -c 3 -W 1 61.196.90.3 2025-06-24 08:45:14,066 - DEBUG - PING 61.196.90.3 (61.196.90.3): 56 data bytes 64 bytes from 61.196.90.3: seq=0 ttl=63 time=3.227 ms 64 bytes from 61.196.90.3: seq=1 ttl=63 time=0.841 ms 64 bytes from 61.196.90.3: seq=2 ttl=63 time=0.931 ms --- 61.196.90.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.841/1.666/3.227 ms 2025-06-24 08:45:14,066 - INFO - Ping to IP 61.196.90.3 from VM ctest-TestBasicPolicy-03826773-06783621 passed 2025-06-24 08:45:14,244 - DEBUG - Policy Update Response {"network-policy": {"uuid": "91107c4c-9637-4718-ab27-19baa33e19a1", "href": "http://10.0.0.38:8082/network-policy/91107c4c-9637-4718-ab27-19baa33e19a1"}} 2025-06-24 08:45:14,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 08:45:14,245 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.196.90.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-24 08:45:14,245 - DEBUG - ping -s 56 -c 3 -W 1 61.196.90.3 2025-06-24 08:45:17,447 - DEBUG - PING 61.196.90.3 (61.196.90.3): 56 data bytes --- 61.196.90.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-24 08:45:17,447 - WARNING - Ping to IP 61.196.90.3 from VM ctest-TestBasicPolicy-03826773-06783621 failed 2025-06-24 08:45:17,447 - INFO - Deleting VM ctest-TestBasicPolicy-03826773-33271271 2025-06-24 08:45:17,522 - INFO - Deleting VM ctest-TestBasicPolicy-03826773-06783621 2025-06-24 08:45:17,908 - INFO - Deleted policy ctest-policy-allow-all-90531856 2025-06-24 08:45:17,908 - INFO - Deleting VN ctest-vn-34695332 2025-06-24 08:45:17,947 - DEBUG - VN d4ad003b-7a06-4b42-ad1a-68b096f36653 still in use: Unable to complete operation on network d4ad003b-7a06-4b42-ad1a-68b096f36653. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dd6cdec8-33e8-4f46-aa0b-3d497f790f3c'] 2025-06-24 08:45:17,947 - WARNING - Deleting VN ctest-vn-34695332 failed..Will retry 2025-06-24 08:45:20,061 - DEBUG - Response for deleting network () 2025-06-24 08:45:20,061 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/48f059c8-3194-42d7-8177-2a667a6412ed 2025-06-24 08:45:20,066 - DEBUG - Response Code: 404 2025-06-24 08:45:20,066 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 08:45:20,073 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ace018c5-1e60-4d37-8466-5e269458ea0c 2025-06-24 08:45:20,126 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca9e595d-211d-465d-a717-41cc08045d1b 2025-06-24 08:45:20,199 - INFO - Validated that VN ctest-vn-34695332 is not found in API Server 2025-06-24 08:45:20,210 - DEBUG - VN ctest-vn-34695332 is not present in Agent 10.0.0.38 2025-06-24 08:45:20,210 - INFO - Validated that VN ctest-vn-34695332 is not in any agent 2025-06-24 08:45:20,226 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34695332 info 2025-06-24 08:45:20,227 - INFO - Deleting VN ctest-vn-85391115 2025-06-24 08:45:20,331 - DEBUG - Response for deleting network () 2025-06-24 08:45:20,331 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dfd23214-32b7-414f-bdbf-975409f52e62 2025-06-24 08:45:20,339 - DEBUG - Response Code: 404 2025-06-24 08:45:20,339 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-24 08:45:20,344 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ace018c5-1e60-4d37-8466-5e269458ea0c 2025-06-24 08:45:20,399 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca9e595d-211d-465d-a717-41cc08045d1b 2025-06-24 08:45:20,475 - INFO - Validated that VN ctest-vn-85391115 is not found in API Server 2025-06-24 08:45:20,486 - DEBUG - VN ctest-vn-85391115 is not present in Agent 10.0.0.38 2025-06-24 08:45:20,486 - INFO - Validated that VN ctest-vn-85391115 is not in any agent 2025-06-24 08:45:20,502 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85391115 info 2025-06-24 08:45:20,754 - DEBUG - No XMPP flaps were noticed during the test 2025-06-24 08:45:20,754 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-24 08:45:20,754 - INFO - -------------------------------------------------------------------------------- 2025-06-24 08:45:21,450 - INFO - Deleted project: ctest-TestBasicPolicy-03826773, ID : ca9e595d-211d-465d-a717-41cc08045d1b