2025-07-30 20:24:46,302 - INFO - Domain Default found not creating 2025-07-30 20:24:46,443 - INFO - Project ctest-TestBasicPolicy-87692325 not found, creating it 2025-07-30 20:24:46,885 - INFO - Created Project:ctest-TestBasicPolicy-87692325, ID : 54f82336-a873-4603-a3f0-abae4fde0155 2025-07-30 20:24:48,269 - INFO - ================================================================================ 2025-07-30 20:24:48,269 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-30 20:24:48,269 - 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-07-30 20:24:48,527 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-07-30 20:24:48,527 - INFO - Initial checks done. Running the testcase now 2025-07-30 20:24:48,527 - INFO - 2025-07-30 20:24:49,058 - DEBUG - Response for create_network : {'network': {'id': '943e87d4-5248-4639-a214-6c08f98b827f', 'name': 'ctest-vn-28808498', 'tenant_id': '54f82336a8734603a3f0abae4fde0155', 'project_id': '54f82336a8734603a3f0abae4fde0155', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87692325', 'ctest-vn-28808498'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 20:24:49,276 - DEBUG - Response for create_subnet : {'subnet': {'id': '65a1e8a4-ce10-4056-b843-49e2de4b5c33', 'name': '', 'tenant_id': '54f82336a8734603a3f0abae4fde0155', 'network_id': '943e87d4-5248-4639-a214-6c08f98b827f', 'ip_version': 4, 'cidr': '146.174.155.0/26', 'allocation_pools': [{'start': '146.174.155.2', 'end': '146.174.155.62'}], 'gateway_ip': '146.174.155.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.174.155.2', 'tags': [], 'project_id': '54f82336a8734603a3f0abae4fde0155'}} 2025-07-30 20:24:49,293 - INFO - Created VN ctest-vn-28808498 2025-07-30 20:24:49,345 - DEBUG - VN ctest-vn-28808498 UUID is 943e87d4-5248-4639-a214-6c08f98b827f 2025-07-30 20:24:49,655 - DEBUG - Response for create_network : {'network': {'id': '95404470-2c2c-47f5-87b5-6650736ed3a2', 'name': 'ctest-vn-87642357', 'tenant_id': '54f82336a8734603a3f0abae4fde0155', 'project_id': '54f82336a8734603a3f0abae4fde0155', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87692325', 'ctest-vn-87642357'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 20:24:49,876 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b4076ae-c08f-47a2-a9a1-72d80e754c73', 'name': '', 'tenant_id': '54f82336a8734603a3f0abae4fde0155', 'network_id': '95404470-2c2c-47f5-87b5-6650736ed3a2', 'ip_version': 4, 'cidr': '175.83.197.192/26', 'allocation_pools': [{'start': '175.83.197.194', 'end': '175.83.197.254'}], 'gateway_ip': '175.83.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.83.197.194', 'tags': [], 'project_id': '54f82336a8734603a3f0abae4fde0155'}} 2025-07-30 20:24:49,893 - INFO - Created VN ctest-vn-87642357 2025-07-30 20:24:49,945 - DEBUG - VN ctest-vn-87642357 UUID is 95404470-2c2c-47f5-87b5-6650736ed3a2 2025-07-30 20:24:50,097 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87692325:ctest-vn-28808498, 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-87692325:ctest-vn-87642357, 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-07-30 20:24:50,394 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '943e87d4-5248-4639-a214-6c08f98b827f', 'name': 'ctest-vn-28808498', 'tenant_id': '54f82336a8734603a3f0abae4fde0155', 'project_id': '54f82336a8734603a3f0abae4fde0155', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['65a1e8a4-ce10-4056-b843-49e2de4b5c33'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87692325', 'ctest-vn-28808498'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87692325', 'ctest-policy-allow-all-83533103']], 'subnet_ipam': [{'subnet_cidr': '146.174.155.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-30 20:24:50,619 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '95404470-2c2c-47f5-87b5-6650736ed3a2', 'name': 'ctest-vn-87642357', 'tenant_id': '54f82336a8734603a3f0abae4fde0155', 'project_id': '54f82336a8734603a3f0abae4fde0155', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9b4076ae-c08f-47a2-a9a1-72d80e754c73'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87692325', 'ctest-vn-87642357'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87692325', 'ctest-policy-allow-all-83533103']], 'subnet_ipam': [{'subnet_cidr': '175.83.197.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-30 20:24:50,789 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-30 20:24:51,078 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-30 20:24:51,104 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c6645a4f-a58c-4bc2-9155-e01ef08bda31 2025-07-30 20:24:51,116 - DEBUG - Requesting: http://10.0.0.254:8082/project/54f82336-a873-4603-a3f0-abae4fde0155 2025-07-30 20:24:51,188 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/943e87d4-5248-4639-a214-6c08f98b827f 2025-07-30 20:24:51,198 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/943e87d4-5248-4639-a214-6c08f98b827f 2025-07-30 20:24:51,207 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/13c4ae5b-1fad-4c85-9c37-66ffcc2a3536 2025-07-30 20:24:51,215 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/13c4ae5b-1fad-4c85-9c37-66ffcc2a3536 2025-07-30 20:24:51,223 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8a9ceaf5-6e53-4c97-b9e5-c03039e480e1 2025-07-30 20:24:51,229 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-30 20:24:51,229 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/943e87d4-5248-4639-a214-6c08f98b827f 2025-07-30 20:24:51,238 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/13c4ae5b-1fad-4c85-9c37-66ffcc2a3536 2025-07-30 20:24:51,252 - INFO - Verified VN network id 12 for VN 943e87d4-5248-4639-a214-6c08f98b827f 2025-07-30 20:24:51,252 - INFO - Verifications in API Server for VN ctest-vn-28808498 passed 2025-07-30 20:24:51,252 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/943e87d4-5248-4639-a214-6c08f98b827f 2025-07-30 20:24:51,261 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/13c4ae5b-1fad-4c85-9c37-66ffcc2a3536 2025-07-30 20:24:51,267 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/13c4ae5b-1fad-4c85-9c37-66ffcc2a3536 2025-07-30 20:24:51,274 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8a9ceaf5-6e53-4c97-b9e5-c03039e480e1 2025-07-30 20:24:51,284 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87692325:ctest-vn-28808498', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87692325', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10682124712152679993', 'uuid-lslong': '11679078519480746623'}, 'enable': 'true', 'created': '2025-07-30T20:24:49', 'last-modified': '2025-07-30T20:24:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.915247'} 2025-07-30 20:24:51,290 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-30 20:24:51,290 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28808498 passed 2025-07-30 20:24:51,290 - DEBUG - ====Verifying policy data for ctest-vn-28808498 in API_Server ====== 2025-07-30 20:24:51,290 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-30 20:24:51,295 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c6645a4f-a58c-4bc2-9155-e01ef08bda31 2025-07-30 20:24:51,305 - DEBUG - Requesting: http://10.0.0.254:8082/project/54f82336-a873-4603-a3f0-abae4fde0155 2025-07-30 20:24:51,374 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/943e87d4-5248-4639-a214-6c08f98b827f 2025-07-30 20:24:51,382 - DEBUG - ==>Verifying data for policy with id: 79ec614a-143f-416a-82f2-0f33287ffc2c, fqn: ['default-domain', 'ctest-TestBasicPolicy-87692325', 'ctest-policy-allow-all-83533103'] 2025-07-30 20:24:51,382 - INFO - VN ctest-vn-28808498 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-30 20:24:51,382 - DEBUG - Verifying the vn in opserver 2025-07-30 20:24:51,383 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87692325:ctest-vn-28808498 virtual network link through opserver 10.0.0.254 2025-07-30 20:24:51,383 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-30 20:24:51,670 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-30 20:24:51,727 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87692325:ctest-vn-28808498', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87692325:ctest-vn-28808498?flat'} 2025-07-30 20:24:51,727 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87692325:ctest-vn-28808498 is found in opserver 2025-07-30 20:24:51,738 - DEBUG - Do not have enough data to verify VN in agent 2025-07-30 20:24:51,742 - DEBUG - VRF ids for VN ctest-vn-28808498: {} 2025-07-30 20:24:51,742 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-30 20:24:51,749 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c6645a4f-a58c-4bc2-9155-e01ef08bda31 2025-07-30 20:24:51,760 - DEBUG - Requesting: http://10.0.0.254:8082/project/54f82336-a873-4603-a3f0-abae4fde0155 2025-07-30 20:24:51,830 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/95404470-2c2c-47f5-87b5-6650736ed3a2 2025-07-30 20:24:51,841 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/95404470-2c2c-47f5-87b5-6650736ed3a2 2025-07-30 20:24:51,850 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/31c95666-49e0-41e8-a513-5fcf368d547e 2025-07-30 20:24:51,857 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/31c95666-49e0-41e8-a513-5fcf368d547e 2025-07-30 20:24:51,864 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7660f5b4-0dd6-4cf0-8330-459eb29a5dec 2025-07-30 20:24:51,869 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-30 20:24:51,869 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/95404470-2c2c-47f5-87b5-6650736ed3a2 2025-07-30 20:24:51,878 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/31c95666-49e0-41e8-a513-5fcf368d547e 2025-07-30 20:24:51,892 - INFO - Verified VN network id 13 for VN 95404470-2c2c-47f5-87b5-6650736ed3a2 2025-07-30 20:24:51,893 - INFO - Verifications in API Server for VN ctest-vn-87642357 passed 2025-07-30 20:24:51,893 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/95404470-2c2c-47f5-87b5-6650736ed3a2 2025-07-30 20:24:51,902 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/31c95666-49e0-41e8-a513-5fcf368d547e 2025-07-30 20:24:51,909 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/31c95666-49e0-41e8-a513-5fcf368d547e 2025-07-30 20:24:51,915 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7660f5b4-0dd6-4cf0-8330-459eb29a5dec 2025-07-30 20:24:51,926 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87692325:ctest-vn-87642357', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87692325', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10754671158728869877', 'uuid-lslong': '9778834661624959906'}, 'enable': 'true', 'created': '2025-07-30T20:24:49', 'last-modified': '2025-07-30T20:24:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.328797'} 2025-07-30 20:24:51,932 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-30 20:24:51,932 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87642357 passed 2025-07-30 20:24:51,932 - DEBUG - ====Verifying policy data for ctest-vn-87642357 in API_Server ====== 2025-07-30 20:24:51,932 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-30 20:24:51,937 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c6645a4f-a58c-4bc2-9155-e01ef08bda31 2025-07-30 20:24:51,947 - DEBUG - Requesting: http://10.0.0.254:8082/project/54f82336-a873-4603-a3f0-abae4fde0155 2025-07-30 20:24:52,021 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/95404470-2c2c-47f5-87b5-6650736ed3a2 2025-07-30 20:24:52,030 - DEBUG - ==>Verifying data for policy with id: 79ec614a-143f-416a-82f2-0f33287ffc2c, fqn: ['default-domain', 'ctest-TestBasicPolicy-87692325', 'ctest-policy-allow-all-83533103'] 2025-07-30 20:24:52,030 - INFO - VN ctest-vn-87642357 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-30 20:24:52,030 - DEBUG - Verifying the vn in opserver 2025-07-30 20:24:52,030 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87692325:ctest-vn-87642357 virtual network link through opserver 10.0.0.254 2025-07-30 20:24:52,030 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-30 20:24:52,039 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87692325:ctest-vn-87642357', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87692325:ctest-vn-87642357?flat'} 2025-07-30 20:24:52,040 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87692325:ctest-vn-87642357 is found in opserver 2025-07-30 20:24:52,049 - DEBUG - Do not have enough data to verify VN in agent 2025-07-30 20:24:52,054 - DEBUG - VRF ids for VN ctest-vn-87642357: {} 2025-07-30 20:24:52,120 - DEBUG - Services list from nova: [, , ] 2025-07-30 20:24:53,089 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3727-1) 2025-07-30 20:24:54,185 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3727-1) 2025-07-30 20:24:54,185 - INFO - Waiting for VM ctest-TestBasicPolicy-87692325-92381628 to be up.. 2025-07-30 20:24:54,256 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-30 20:24:59,416 - DEBUG - VM is in ACTIVE state now 2025-07-30 20:24:59,416 - INFO - VM name : ctest-TestBasicPolicy-87692325-92381628 2025-07-30 20:24:59,561 - DEBUG - VM ctest-TestBasicPolicy-87692325-92381628 ID is 1f033bf1-5115-471c-9336-f6f472f68665 2025-07-30 20:24:59,589 - DEBUG - VM ctest-TestBasicPolicy-87692325-92381628 launched on Node cn-jenkins-deploy-platform-ansible-os-3727-1 2025-07-30 20:24:59,710 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1f033bf1-5115-471c-9336-f6f472f68665 2025-07-30 20:24:59,721 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d643580d-64cc-4c3b-bd11-c37989e61fd1 2025-07-30 20:25:02,990 - 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 1019ms') 2025-07-30 20:25:02,990 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87692325-92381628 failed! 2025-07-30 20:25:03,045 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87692325:ctest-vn-28808498 is 146.174.155.1 and allocation pool is NOT set 2025-07-30 20:25:05,102 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.375 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.375/1.975/3.576/1.600 ms') 2025-07-30 20:25:05,102 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87692325-92381628 passed 2025-07-30 20:25:05,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:25:05,257 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87692325-92381628, IP 146.174.155.3, Port 22 2025-07-30 20:25:05,412 - DEBUG - VM ctest-TestBasicPolicy-87692325-92381628 is ready for SSH connections 2025-07-30 20:25:05,412 - INFO - Waiting for VM ctest-TestBasicPolicy-87692325-70097137 to be up.. 2025-07-30 20:25:05,484 - DEBUG - VM is in ACTIVE state now 2025-07-30 20:25:05,484 - INFO - VM name : ctest-TestBasicPolicy-87692325-70097137 2025-07-30 20:25:05,562 - DEBUG - VM ctest-TestBasicPolicy-87692325-70097137 ID is 8e7e8c9a-f630-407e-95b4-9b9da1213252 2025-07-30 20:25:05,562 - DEBUG - VM ctest-TestBasicPolicy-87692325-70097137 launched on Node cn-jenkins-deploy-platform-ansible-os-3727-1 2025-07-30 20:25:05,633 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8e7e8c9a-f630-407e-95b4-9b9da1213252 2025-07-30 20:25:05,642 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/37e9e4b6-df60-47a4-9e59-861238dddad2 2025-07-30 20:25:06,887 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.386 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.386/1.741/3.097/1.355 ms') 2025-07-30 20:25:06,887 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87692325-70097137 passed 2025-07-30 20:25:07,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:25:07,037 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87692325-70097137, IP 175.83.197.195, Port 22 2025-07-30 20:25:07,189 - DEBUG - VM ctest-TestBasicPolicy-87692325-70097137 is ready for SSH connections 2025-07-30 20:25:07,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:25:07,189 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.83.197.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-30 20:25:07,189 - DEBUG - ping -s 56 -c 3 -W 1 175.83.197.195 2025-07-30 20:25:11,192 - DEBUG - PING 175.83.197.195 (175.83.197.195): 56 data bytes 64 bytes from 175.83.197.195: seq=0 ttl=63 time=3.181 ms 64 bytes from 175.83.197.195: seq=1 ttl=63 time=0.995 ms 64 bytes from 175.83.197.195: seq=2 ttl=63 time=1.002 ms --- 175.83.197.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.995/1.726/3.181 ms 2025-07-30 20:25:11,192 - INFO - Ping to IP 175.83.197.195 from VM ctest-TestBasicPolicy-87692325-92381628 passed 2025-07-30 20:25:11,365 - DEBUG - Policy Update Response {"network-policy": {"uuid": "79ec614a-143f-416a-82f2-0f33287ffc2c", "href": "http://10.0.0.254:8082/network-policy/79ec614a-143f-416a-82f2-0f33287ffc2c"}} 2025-07-30 20:25:11,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:25:11,365 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.83.197.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-30 20:25:11,365 - DEBUG - ping -s 56 -c 3 -W 1 175.83.197.195 2025-07-30 20:25:14,562 - DEBUG - PING 175.83.197.195 (175.83.197.195): 56 data bytes --- 175.83.197.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-30 20:25:14,562 - WARNING - Ping to IP 175.83.197.195 from VM ctest-TestBasicPolicy-87692325-92381628 failed 2025-07-30 20:25:14,562 - INFO - Deleting VM ctest-TestBasicPolicy-87692325-70097137 2025-07-30 20:25:14,644 - INFO - Deleting VM ctest-TestBasicPolicy-87692325-92381628 2025-07-30 20:25:15,033 - INFO - Deleted policy ctest-policy-allow-all-83533103 2025-07-30 20:25:15,033 - INFO - Deleting VN ctest-vn-87642357 2025-07-30 20:25:15,073 - DEBUG - VN 95404470-2c2c-47f5-87b5-6650736ed3a2 still in use: Unable to complete operation on network 95404470-2c2c-47f5-87b5-6650736ed3a2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ecf109f7-169a-4bd7-839c-da378e3369d0'] 2025-07-30 20:25:15,073 - WARNING - Deleting VN ctest-vn-87642357 failed..Will retry 2025-07-30 20:25:17,167 - DEBUG - Response for deleting network () 2025-07-30 20:25:17,167 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/31c95666-49e0-41e8-a513-5fcf368d547e 2025-07-30 20:25:17,172 - DEBUG - Response Code: 404 2025-07-30 20:25:17,172 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-30 20:25:17,181 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c6645a4f-a58c-4bc2-9155-e01ef08bda31 2025-07-30 20:25:17,235 - DEBUG - Requesting: http://10.0.0.254:8082/project/54f82336-a873-4603-a3f0-abae4fde0155 2025-07-30 20:25:17,305 - INFO - Validated that VN ctest-vn-87642357 is not found in API Server 2025-07-30 20:25:17,315 - DEBUG - VN ctest-vn-87642357 is not present in Agent 10.0.0.254 2025-07-30 20:25:17,315 - INFO - Validated that VN ctest-vn-87642357 is not in any agent 2025-07-30 20:25:17,328 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87642357 info 2025-07-30 20:25:17,328 - INFO - Deleting VN ctest-vn-28808498 2025-07-30 20:25:17,438 - DEBUG - Response for deleting network () 2025-07-30 20:25:17,438 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/13c4ae5b-1fad-4c85-9c37-66ffcc2a3536 2025-07-30 20:25:17,449 - DEBUG - Response Code: 404 2025-07-30 20:25:17,449 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-30 20:25:17,454 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c6645a4f-a58c-4bc2-9155-e01ef08bda31 2025-07-30 20:25:17,505 - DEBUG - Requesting: http://10.0.0.254:8082/project/54f82336-a873-4603-a3f0-abae4fde0155 2025-07-30 20:25:17,574 - INFO - Validated that VN ctest-vn-28808498 is not found in API Server 2025-07-30 20:25:17,584 - DEBUG - VN ctest-vn-28808498 is not present in Agent 10.0.0.254 2025-07-30 20:25:17,584 - INFO - Validated that VN ctest-vn-28808498 is not in any agent 2025-07-30 20:25:17,597 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28808498 info 2025-07-30 20:25:17,850 - DEBUG - No XMPP flaps were noticed during the test
2025-07-30 20:25:17,850 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-07-30 20:25:17,850 - INFO - -------------------------------------------------------------------------------- 2025-07-30 20:25:18,526 - INFO - Deleted project: ctest-TestBasicPolicy-87692325, ID : 54f82336-a873-4603-a3f0-abae4fde0155