2025-08-03 09:40:22,982 - INFO - Domain Default found not creating 2025-08-03 09:40:23,148 - INFO - Project ctest-TestBasicPolicy-15935762 not found, creating it 2025-08-03 09:40:23,645 - INFO - Created Project:ctest-TestBasicPolicy-15935762, ID : 1176a1ea-ee20-4b64-b6df-2ebd703edd98 2025-08-03 09:40:25,360 - INFO - ================================================================================ 2025-08-03 09:40:25,360 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-03 09:40:25,360 - 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-08-03 09:40:25,621 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-08-03 09:40:25,621 - INFO - Initial checks done. Running the testcase now 2025-08-03 09:40:25,621 - INFO - 2025-08-03 09:40:26,258 - DEBUG - Response for create_network : {'network': {'id': 'f821dc68-e004-46c7-9ed6-3d8862048644', 'name': 'ctest-vn-82408154', 'tenant_id': '1176a1eaee204b64b6df2ebd703edd98', 'project_id': '1176a1eaee204b64b6df2ebd703edd98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15935762', 'ctest-vn-82408154'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 09:40:26,465 - DEBUG - Response for create_subnet : {'subnet': {'id': '0883b429-fd6d-4788-8047-d843d43726e8', 'name': '', 'tenant_id': '1176a1eaee204b64b6df2ebd703edd98', 'network_id': 'f821dc68-e004-46c7-9ed6-3d8862048644', 'ip_version': 4, 'cidr': '79.192.47.64/26', 'allocation_pools': [{'start': '79.192.47.66', 'end': '79.192.47.126'}], 'gateway_ip': '79.192.47.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.192.47.66', 'tags': [], 'project_id': '1176a1eaee204b64b6df2ebd703edd98'}} 2025-08-03 09:40:26,485 - INFO - Created VN ctest-vn-82408154 2025-08-03 09:40:26,539 - DEBUG - VN ctest-vn-82408154 UUID is f821dc68-e004-46c7-9ed6-3d8862048644 2025-08-03 09:40:26,883 - DEBUG - Response for create_network : {'network': {'id': '5966245e-d703-4d6d-8427-448e97168500', 'name': 'ctest-vn-04428045', 'tenant_id': '1176a1eaee204b64b6df2ebd703edd98', 'project_id': '1176a1eaee204b64b6df2ebd703edd98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15935762', 'ctest-vn-04428045'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 09:40:27,116 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d9043a6-5169-45bd-9b05-4c85e491603f', 'name': '', 'tenant_id': '1176a1eaee204b64b6df2ebd703edd98', 'network_id': '5966245e-d703-4d6d-8427-448e97168500', 'ip_version': 4, 'cidr': '38.41.235.0/26', 'allocation_pools': [{'start': '38.41.235.2', 'end': '38.41.235.62'}], 'gateway_ip': '38.41.235.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.41.235.2', 'tags': [], 'project_id': '1176a1eaee204b64b6df2ebd703edd98'}} 2025-08-03 09:40:27,143 - INFO - Created VN ctest-vn-04428045 2025-08-03 09:40:27,199 - DEBUG - VN ctest-vn-04428045 UUID is 5966245e-d703-4d6d-8427-448e97168500 2025-08-03 09:40:27,332 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15935762:ctest-vn-82408154, 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-15935762:ctest-vn-04428045, 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-08-03 09:40:27,673 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f821dc68-e004-46c7-9ed6-3d8862048644', 'name': 'ctest-vn-82408154', 'tenant_id': '1176a1eaee204b64b6df2ebd703edd98', 'project_id': '1176a1eaee204b64b6df2ebd703edd98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0883b429-fd6d-4788-8047-d843d43726e8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15935762', 'ctest-vn-82408154'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15935762', 'ctest-policy-allow-all-10766399']], 'subnet_ipam': [{'subnet_cidr': '79.192.47.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-03 09:40:27,936 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5966245e-d703-4d6d-8427-448e97168500', 'name': 'ctest-vn-04428045', 'tenant_id': '1176a1eaee204b64b6df2ebd703edd98', 'project_id': '1176a1eaee204b64b6df2ebd703edd98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0d9043a6-5169-45bd-9b05-4c85e491603f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15935762', 'ctest-vn-04428045'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15935762', 'ctest-policy-allow-all-10766399']], 'subnet_ipam': [{'subnet_cidr': '38.41.235.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-03 09:40:28,107 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-03 09:40:28,442 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-03 09:40:28,472 - DEBUG - Requesting: http://10.0.0.48:8082/domain/b8467dcd-5303-4731-b68c-74cf5310116b 2025-08-03 09:40:28,487 - DEBUG - Requesting: http://10.0.0.48:8082/project/1176a1ea-ee20-4b64-b6df-2ebd703edd98 2025-08-03 09:40:28,568 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f821dc68-e004-46c7-9ed6-3d8862048644 2025-08-03 09:40:28,581 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f821dc68-e004-46c7-9ed6-3d8862048644 2025-08-03 09:40:28,592 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7ca8ba98-7192-4040-88ee-3ab88b604717 2025-08-03 09:40:28,603 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7ca8ba98-7192-4040-88ee-3ab88b604717 2025-08-03 09:40:28,613 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/a0d31445-5989-4612-8f0e-8fec72ad0dbd 2025-08-03 09:40:28,624 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-03 09:40:28,624 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f821dc68-e004-46c7-9ed6-3d8862048644 2025-08-03 09:40:28,639 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7ca8ba98-7192-4040-88ee-3ab88b604717 2025-08-03 09:40:28,659 - INFO - Verified VN network id 11 for VN f821dc68-e004-46c7-9ed6-3d8862048644 2025-08-03 09:40:28,660 - INFO - Verifications in API Server for VN ctest-vn-82408154 passed 2025-08-03 09:40:28,662 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f821dc68-e004-46c7-9ed6-3d8862048644 2025-08-03 09:40:28,678 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7ca8ba98-7192-4040-88ee-3ab88b604717 2025-08-03 09:40:28,689 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7ca8ba98-7192-4040-88ee-3ab88b604717 2025-08-03 09:40:28,700 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/a0d31445-5989-4612-8f0e-8fec72ad0dbd 2025-08-03 09:40:28,718 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15935762:ctest-vn-82408154', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15935762', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17879814338630665927', 'uuid-lslong': '11445403158978004548'}, 'enable': 'true', 'created': '2025-08-03T09:40:26', 'last-modified': '2025-08-03T09:40:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.082746'} 2025-08-03 09:40:28,726 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-03 09:40:28,726 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82408154 passed 2025-08-03 09:40:28,726 - DEBUG - ====Verifying policy data for ctest-vn-82408154 in API_Server ====== 2025-08-03 09:40:28,726 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-03 09:40:28,733 - DEBUG - Requesting: http://10.0.0.48:8082/domain/b8467dcd-5303-4731-b68c-74cf5310116b 2025-08-03 09:40:28,746 - DEBUG - Requesting: http://10.0.0.48:8082/project/1176a1ea-ee20-4b64-b6df-2ebd703edd98 2025-08-03 09:40:28,821 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/f821dc68-e004-46c7-9ed6-3d8862048644 2025-08-03 09:40:28,833 - DEBUG - ==>Verifying data for policy with id: 0884a06c-d205-4337-898f-bf06edf97341, fqn: ['default-domain', 'ctest-TestBasicPolicy-15935762', 'ctest-policy-allow-all-10766399'] 2025-08-03 09:40:28,834 - INFO - VN ctest-vn-82408154 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-03 09:40:28,834 - DEBUG - Verifying the vn in opserver 2025-08-03 09:40:28,834 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15935762:ctest-vn-82408154 virtual network link through opserver 10.0.0.48 2025-08-03 09:40:28,834 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-03 09:40:29,167 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-03 09:40:29,231 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15935762:ctest-vn-82408154', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15935762:ctest-vn-82408154?flat'} 2025-08-03 09:40:29,231 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15935762:ctest-vn-82408154 is found in opserver 2025-08-03 09:40:29,243 - DEBUG - Do not have enough data to verify VN in agent 2025-08-03 09:40:29,249 - DEBUG - VRF ids for VN ctest-vn-82408154: {} 2025-08-03 09:40:29,250 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-03 09:40:29,256 - DEBUG - Requesting: http://10.0.0.48:8082/domain/b8467dcd-5303-4731-b68c-74cf5310116b 2025-08-03 09:40:29,269 - DEBUG - Requesting: http://10.0.0.48:8082/project/1176a1ea-ee20-4b64-b6df-2ebd703edd98 2025-08-03 09:40:29,347 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5966245e-d703-4d6d-8427-448e97168500 2025-08-03 09:40:29,361 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5966245e-d703-4d6d-8427-448e97168500 2025-08-03 09:40:29,372 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ac2bf1fb-485a-4f32-81d3-8d95b6209458 2025-08-03 09:40:29,381 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ac2bf1fb-485a-4f32-81d3-8d95b6209458 2025-08-03 09:40:29,391 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/9126af10-7b99-4a28-8464-2dc09b9388b5 2025-08-03 09:40:29,399 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-03 09:40:29,400 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5966245e-d703-4d6d-8427-448e97168500 2025-08-03 09:40:29,413 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ac2bf1fb-485a-4f32-81d3-8d95b6209458 2025-08-03 09:40:29,434 - INFO - Verified VN network id 12 for VN 5966245e-d703-4d6d-8427-448e97168500 2025-08-03 09:40:29,434 - INFO - Verifications in API Server for VN ctest-vn-04428045 passed 2025-08-03 09:40:29,434 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5966245e-d703-4d6d-8427-448e97168500 2025-08-03 09:40:29,449 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ac2bf1fb-485a-4f32-81d3-8d95b6209458 2025-08-03 09:40:29,458 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ac2bf1fb-485a-4f32-81d3-8d95b6209458 2025-08-03 09:40:29,466 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/9126af10-7b99-4a28-8464-2dc09b9388b5 2025-08-03 09:40:29,480 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15935762:ctest-vn-04428045', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15935762', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6441876306752916845', 'uuid-lslong': '9522655316309083392'}, 'enable': 'true', 'created': '2025-08-03T09:40:26', 'last-modified': '2025-08-03T09:40:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.575232'} 2025-08-03 09:40:29,487 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-03 09:40:29,487 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04428045 passed 2025-08-03 09:40:29,488 - DEBUG - ====Verifying policy data for ctest-vn-04428045 in API_Server ====== 2025-08-03 09:40:29,488 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-03 09:40:29,494 - DEBUG - Requesting: http://10.0.0.48:8082/domain/b8467dcd-5303-4731-b68c-74cf5310116b 2025-08-03 09:40:29,507 - DEBUG - Requesting: http://10.0.0.48:8082/project/1176a1ea-ee20-4b64-b6df-2ebd703edd98 2025-08-03 09:40:29,585 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5966245e-d703-4d6d-8427-448e97168500 2025-08-03 09:40:29,597 - DEBUG - ==>Verifying data for policy with id: 0884a06c-d205-4337-898f-bf06edf97341, fqn: ['default-domain', 'ctest-TestBasicPolicy-15935762', 'ctest-policy-allow-all-10766399'] 2025-08-03 09:40:29,597 - INFO - VN ctest-vn-04428045 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-03 09:40:29,597 - DEBUG - Verifying the vn in opserver 2025-08-03 09:40:29,597 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15935762:ctest-vn-04428045 virtual network link through opserver 10.0.0.48 2025-08-03 09:40:29,597 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-03 09:40:29,610 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15935762:ctest-vn-04428045', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15935762:ctest-vn-04428045?flat'} 2025-08-03 09:40:29,610 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15935762:ctest-vn-04428045 is found in opserver 2025-08-03 09:40:29,624 - DEBUG - Do not have enough data to verify VN in agent 2025-08-03 09:40:29,632 - DEBUG - VRF ids for VN ctest-vn-04428045: {} 2025-08-03 09:40:29,698 - DEBUG - Services list from nova: [, , ] 2025-08-03 09:40:30,824 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3745-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3745-1) 2025-08-03 09:40:32,128 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3745-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3745-1) 2025-08-03 09:40:32,128 - INFO - Waiting for VM ctest-TestBasicPolicy-15935762-21693657 to be up.. 2025-08-03 09:40:32,223 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-03 09:40:37,307 - DEBUG - VM is in ACTIVE state now 2025-08-03 09:40:37,307 - INFO - VM name : ctest-TestBasicPolicy-15935762-21693657 2025-08-03 09:40:37,386 - DEBUG - VM ctest-TestBasicPolicy-15935762-21693657 ID is caed6672-1ad4-4dc6-9601-a1d3ae757522 2025-08-03 09:40:37,406 - DEBUG - VM ctest-TestBasicPolicy-15935762-21693657 launched on Node cn-jenkins-deploy-platform-ansible-os-3745-1 2025-08-03 09:40:37,487 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/caed6672-1ad4-4dc6-9601-a1d3ae757522 2025-08-03 09:40:37,498 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/058220b8-83db-45b2-af71-60893fbc17a0 2025-08-03 09:40:40,756 - 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 1018ms') 2025-08-03 09:40:40,757 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15935762-21693657 failed! 2025-08-03 09:40:40,819 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15935762:ctest-vn-82408154 is 79.192.47.65 and allocation pool is NOT set 2025-08-03 09:40:42,883 - 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=6.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.05 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.052/4.619/6.186/1.567 ms') 2025-08-03 09:40:42,884 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15935762-21693657 passed 2025-08-03 09:40:43,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:40:43,043 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15935762-21693657, IP 79.192.47.67, Port 22 2025-08-03 09:40:43,208 - DEBUG - VM ctest-TestBasicPolicy-15935762-21693657 is ready for SSH connections 2025-08-03 09:40:43,209 - INFO - Waiting for VM ctest-TestBasicPolicy-15935762-76440373 to be up.. 2025-08-03 09:40:43,293 - DEBUG - VM is in ACTIVE state now 2025-08-03 09:40:43,293 - INFO - VM name : ctest-TestBasicPolicy-15935762-76440373 2025-08-03 09:40:43,371 - DEBUG - VM ctest-TestBasicPolicy-15935762-76440373 ID is 836fb414-32a9-44bf-b90b-4cfc6a0d123d 2025-08-03 09:40:43,371 - DEBUG - VM ctest-TestBasicPolicy-15935762-76440373 launched on Node cn-jenkins-deploy-platform-ansible-os-3745-1 2025-08-03 09:40:43,449 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/836fb414-32a9-44bf-b90b-4cfc6a0d123d 2025-08-03 09:40:43,460 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/bc39cb38-e271-4c86-96c1-5249874ac58f 2025-08-03 09:40:44,703 - 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=4.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.880 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.880/2.815/4.750/1.935 ms') 2025-08-03 09:40:44,703 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15935762-76440373 passed 2025-08-03 09:40:44,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:40:44,855 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15935762-76440373, IP 38.41.235.3, Port 22 2025-08-03 09:40:45,011 - DEBUG - VM ctest-TestBasicPolicy-15935762-76440373 is ready for SSH connections 2025-08-03 09:40:45,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:40:45,011 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.41.235.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-03 09:40:45,011 - DEBUG - ping -s 56 -c 3 -W 1 38.41.235.3 2025-08-03 09:40:49,210 - DEBUG - PING 38.41.235.3 (38.41.235.3): 56 data bytes 64 bytes from 38.41.235.3: seq=0 ttl=63 time=3.746 ms 64 bytes from 38.41.235.3: seq=1 ttl=63 time=0.816 ms 64 bytes from 38.41.235.3: seq=2 ttl=63 time=0.798 ms --- 38.41.235.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.798/1.786/3.746 ms 2025-08-03 09:40:49,210 - INFO - Ping to IP 38.41.235.3 from VM ctest-TestBasicPolicy-15935762-21693657 passed 2025-08-03 09:40:49,398 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0884a06c-d205-4337-898f-bf06edf97341", "href": "http://10.0.0.48:8082/network-policy/0884a06c-d205-4337-898f-bf06edf97341"}} 2025-08-03 09:40:49,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:40:49,399 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.41.235.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-03 09:40:49,399 - DEBUG - ping -s 56 -c 3 -W 1 38.41.235.3 2025-08-03 09:40:52,624 - DEBUG - PING 38.41.235.3 (38.41.235.3): 56 data bytes --- 38.41.235.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-03 09:40:52,624 - WARNING - Ping to IP 38.41.235.3 from VM ctest-TestBasicPolicy-15935762-21693657 failed 2025-08-03 09:40:52,624 - INFO - Deleting VM ctest-TestBasicPolicy-15935762-76440373 2025-08-03 09:40:52,690 - INFO - Deleting VM ctest-TestBasicPolicy-15935762-21693657 2025-08-03 09:40:53,129 - INFO - Deleted policy ctest-policy-allow-all-10766399 2025-08-03 09:40:53,129 - INFO - Deleting VN ctest-vn-04428045 2025-08-03 09:40:53,178 - DEBUG - VN 5966245e-d703-4d6d-8427-448e97168500 still in use: Unable to complete operation on network 5966245e-d703-4d6d-8427-448e97168500. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b7072a41-e52b-48bd-9f5b-70a2b46734e3'] 2025-08-03 09:40:53,178 - WARNING - Deleting VN ctest-vn-04428045 failed..Will retry 2025-08-03 09:40:55,301 - DEBUG - Response for deleting network () 2025-08-03 09:40:55,301 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ac2bf1fb-485a-4f32-81d3-8d95b6209458 2025-08-03 09:40:55,309 - DEBUG - Response Code: 404 2025-08-03 09:40:55,309 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-03 09:40:55,318 - DEBUG - Requesting: http://10.0.0.48:8082/domain/b8467dcd-5303-4731-b68c-74cf5310116b 2025-08-03 09:40:55,379 - DEBUG - Requesting: http://10.0.0.48:8082/project/1176a1ea-ee20-4b64-b6df-2ebd703edd98 2025-08-03 09:40:55,456 - INFO - Validated that VN ctest-vn-04428045 is not found in API Server 2025-08-03 09:40:55,469 - DEBUG - VN ctest-vn-04428045 is not present in Agent 10.0.0.48 2025-08-03 09:40:55,469 - INFO - Validated that VN ctest-vn-04428045 is not in any agent 2025-08-03 09:40:55,488 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04428045 info 2025-08-03 09:40:55,489 - INFO - Deleting VN ctest-vn-82408154 2025-08-03 09:40:55,606 - DEBUG - Response for deleting network () 2025-08-03 09:40:55,606 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/7ca8ba98-7192-4040-88ee-3ab88b604717 2025-08-03 09:40:55,613 - DEBUG - Response Code: 404 2025-08-03 09:40:55,613 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-03 09:40:55,619 - DEBUG - Requesting: http://10.0.0.48:8082/domain/b8467dcd-5303-4731-b68c-74cf5310116b 2025-08-03 09:40:55,676 - DEBUG - Requesting: http://10.0.0.48:8082/project/1176a1ea-ee20-4b64-b6df-2ebd703edd98 2025-08-03 09:40:55,757 - INFO - Validated that VN ctest-vn-82408154 is not found in API Server 2025-08-03 09:40:55,769 - DEBUG - VN ctest-vn-82408154 is not present in Agent 10.0.0.48 2025-08-03 09:40:55,769 - INFO - Validated that VN ctest-vn-82408154 is not in any agent 2025-08-03 09:40:55,786 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82408154 info 2025-08-03 09:40:56,064 - DEBUG - No XMPP flaps were noticed during the test 2025-08-03 09:40:56,064 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-08-03 09:40:56,064 - INFO - -------------------------------------------------------------------------------- 2025-08-03 09:40:56,791 - INFO - Deleted project: ctest-TestBasicPolicy-15935762, ID : 1176a1ea-ee20-4b64-b6df-2ebd703edd98