2025-10-16 09:33:52,432 - INFO - Domain Default found not creating 2025-10-16 09:33:52,562 - INFO - Project ctest-TestBasicPolicy-53848056 not found, creating it 2025-10-16 09:33:53,007 - INFO - Created Project:ctest-TestBasicPolicy-53848056, ID : 0212a624-5ed8-410f-925e-e06bc6e298ae 2025-10-16 09:33:54,404 - INFO - ================================================================================ 2025-10-16 09:33:54,404 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-16 09:33:54,404 - 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-16 09:33:54,657 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.18': '0'}} with 2025-10-16 09:33:54,657 - INFO - Initial checks done. Running the testcase now 2025-10-16 09:33:54,657 - INFO - 2025-10-16 09:33:55,189 - DEBUG - Response for create_network : {'network': {'id': '0a62081c-49eb-448f-b856-e35b9a10fb37', 'name': 'ctest-vn-26446542', 'tenant_id': '0212a6245ed8410f925ee06bc6e298ae', 'project_id': '0212a6245ed8410f925ee06bc6e298ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53848056', 'ctest-vn-26446542'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 09:33:55,340 - DEBUG - Response for create_subnet : {'subnet': {'id': '235ccef1-3965-4085-bdfc-1ac07cd24494', 'name': '', 'tenant_id': '0212a6245ed8410f925ee06bc6e298ae', 'network_id': '0a62081c-49eb-448f-b856-e35b9a10fb37', 'ip_version': 4, 'cidr': '205.4.206.0/26', 'allocation_pools': [{'start': '205.4.206.2', 'end': '205.4.206.62'}], 'gateway_ip': '205.4.206.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.4.206.2', 'tags': [], 'project_id': '0212a6245ed8410f925ee06bc6e298ae'}} 2025-10-16 09:33:55,356 - INFO - Created VN ctest-vn-26446542 2025-10-16 09:33:55,408 - DEBUG - VN ctest-vn-26446542 UUID is 0a62081c-49eb-448f-b856-e35b9a10fb37 2025-10-16 09:33:55,718 - DEBUG - Response for create_network : {'network': {'id': '2fbc8512-aa5c-4e5a-a337-c5714257a495', 'name': 'ctest-vn-84159203', 'tenant_id': '0212a6245ed8410f925ee06bc6e298ae', 'project_id': '0212a6245ed8410f925ee06bc6e298ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53848056', 'ctest-vn-84159203'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 09:33:55,881 - DEBUG - Response for create_subnet : {'subnet': {'id': '37184bc1-7e8b-4a40-8094-93d20eb6e9de', 'name': '', 'tenant_id': '0212a6245ed8410f925ee06bc6e298ae', 'network_id': '2fbc8512-aa5c-4e5a-a337-c5714257a495', 'ip_version': 4, 'cidr': '12.53.228.192/26', 'allocation_pools': [{'start': '12.53.228.194', 'end': '12.53.228.254'}], 'gateway_ip': '12.53.228.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.53.228.194', 'tags': [], 'project_id': '0212a6245ed8410f925ee06bc6e298ae'}} 2025-10-16 09:33:55,896 - INFO - Created VN ctest-vn-84159203 2025-10-16 09:33:55,948 - DEBUG - VN ctest-vn-84159203 UUID is 2fbc8512-aa5c-4e5a-a337-c5714257a495 2025-10-16 09:33:56,092 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53848056:ctest-vn-26446542, 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-53848056:ctest-vn-84159203, 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-16 09:33:56,374 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0a62081c-49eb-448f-b856-e35b9a10fb37', 'name': 'ctest-vn-26446542', 'tenant_id': '0212a6245ed8410f925ee06bc6e298ae', 'project_id': '0212a6245ed8410f925ee06bc6e298ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['235ccef1-3965-4085-bdfc-1ac07cd24494'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53848056', 'ctest-vn-26446542'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53848056', 'ctest-policy-allow-all-10440518']], 'subnet_ipam': [{'subnet_cidr': '205.4.206.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-16 09:33:56,598 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2fbc8512-aa5c-4e5a-a337-c5714257a495', 'name': 'ctest-vn-84159203', 'tenant_id': '0212a6245ed8410f925ee06bc6e298ae', 'project_id': '0212a6245ed8410f925ee06bc6e298ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['37184bc1-7e8b-4a40-8094-93d20eb6e9de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53848056', 'ctest-vn-84159203'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53848056', 'ctest-policy-allow-all-10440518']], 'subnet_ipam': [{'subnet_cidr': '12.53.228.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-16 09:33:56,768 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-16 09:33:57,057 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-16 09:33:57,083 - DEBUG - Requesting: http://10.0.0.242:8082/domain/b5f604ca-949a-4f9d-b947-4f065da907b0 2025-10-16 09:33:57,094 - DEBUG - Requesting: http://10.0.0.242:8082/project/0212a624-5ed8-410f-925e-e06bc6e298ae 2025-10-16 09:33:57,161 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/0a62081c-49eb-448f-b856-e35b9a10fb37 2025-10-16 09:33:57,171 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/0a62081c-49eb-448f-b856-e35b9a10fb37 2025-10-16 09:33:57,179 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2a291d14-6b69-4a6a-9573-dea435f06ca1 2025-10-16 09:33:57,185 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2a291d14-6b69-4a6a-9573-dea435f06ca1 2025-10-16 09:33:57,192 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/530e8d1c-6c70-4561-a67f-8beb6e8e9084 2025-10-16 09:33:57,198 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-16 09:33:57,198 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/0a62081c-49eb-448f-b856-e35b9a10fb37 2025-10-16 09:33:57,208 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2a291d14-6b69-4a6a-9573-dea435f06ca1 2025-10-16 09:33:57,223 - INFO - Verified VN network id 12 for VN 0a62081c-49eb-448f-b856-e35b9a10fb37 2025-10-16 09:33:57,223 - INFO - Verifications in API Server for VN ctest-vn-26446542 passed 2025-10-16 09:33:57,223 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/0a62081c-49eb-448f-b856-e35b9a10fb37 2025-10-16 09:33:57,231 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2a291d14-6b69-4a6a-9573-dea435f06ca1 2025-10-16 09:33:57,236 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2a291d14-6b69-4a6a-9573-dea435f06ca1 2025-10-16 09:33:57,245 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/530e8d1c-6c70-4561-a67f-8beb6e8e9084 2025-10-16 09:33:57,257 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53848056:ctest-vn-26446542', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53848056', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '748169405689185423', 'uuid-lslong': '13283054133542189879'}, 'enable': 'true', 'created': '2025-10-16T09:33:55', 'last-modified': '2025-10-16T09:33:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.902998'} 2025-10-16 09:33:57,262 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-16 09:33:57,262 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26446542 passed 2025-10-16 09:33:57,263 - DEBUG - ====Verifying policy data for ctest-vn-26446542 in API_Server ====== 2025-10-16 09:33:57,263 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-16 09:33:57,268 - DEBUG - Requesting: http://10.0.0.242:8082/domain/b5f604ca-949a-4f9d-b947-4f065da907b0 2025-10-16 09:33:57,282 - DEBUG - Requesting: http://10.0.0.242:8082/project/0212a624-5ed8-410f-925e-e06bc6e298ae 2025-10-16 09:33:57,350 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/0a62081c-49eb-448f-b856-e35b9a10fb37 2025-10-16 09:33:57,359 - DEBUG - ==>Verifying data for policy with id: e3e2d520-3f71-468c-acfa-5c3d612f689d, fqn: ['default-domain', 'ctest-TestBasicPolicy-53848056', 'ctest-policy-allow-all-10440518'] 2025-10-16 09:33:57,359 - INFO - VN ctest-vn-26446542 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-16 09:33:57,359 - DEBUG - Verifying the vn in opserver 2025-10-16 09:33:57,359 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53848056:ctest-vn-26446542 virtual network link through opserver 10.0.0.242 2025-10-16 09:33:57,359 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-16 09:33:57,650 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-16 09:33:57,699 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53848056:ctest-vn-26446542', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53848056:ctest-vn-26446542?flat'} 2025-10-16 09:33:57,699 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53848056:ctest-vn-26446542 is found in opserver 2025-10-16 09:33:57,708 - DEBUG - Do not have enough data to verify VN in agent 2025-10-16 09:33:57,712 - DEBUG - VRF ids for VN ctest-vn-26446542: {} 2025-10-16 09:33:57,712 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-16 09:33:57,717 - DEBUG - Requesting: http://10.0.0.242:8082/domain/b5f604ca-949a-4f9d-b947-4f065da907b0 2025-10-16 09:33:57,728 - DEBUG - Requesting: http://10.0.0.242:8082/project/0212a624-5ed8-410f-925e-e06bc6e298ae 2025-10-16 09:33:57,797 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2fbc8512-aa5c-4e5a-a337-c5714257a495 2025-10-16 09:33:57,808 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2fbc8512-aa5c-4e5a-a337-c5714257a495 2025-10-16 09:33:57,816 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/bb818721-286d-4236-9d32-7284d5fb541e 2025-10-16 09:33:57,822 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/bb818721-286d-4236-9d32-7284d5fb541e 2025-10-16 09:33:57,828 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/9df48551-53d4-4672-9c6d-ac9986989d8c 2025-10-16 09:33:57,834 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-16 09:33:57,834 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2fbc8512-aa5c-4e5a-a337-c5714257a495 2025-10-16 09:33:57,841 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/bb818721-286d-4236-9d32-7284d5fb541e 2025-10-16 09:33:57,852 - INFO - Verified VN network id 13 for VN 2fbc8512-aa5c-4e5a-a337-c5714257a495 2025-10-16 09:33:57,852 - INFO - Verifications in API Server for VN ctest-vn-84159203 passed 2025-10-16 09:33:57,852 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2fbc8512-aa5c-4e5a-a337-c5714257a495 2025-10-16 09:33:57,860 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/bb818721-286d-4236-9d32-7284d5fb541e 2025-10-16 09:33:57,866 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/bb818721-286d-4236-9d32-7284d5fb541e 2025-10-16 09:33:57,872 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/9df48551-53d4-4672-9c6d-ac9986989d8c 2025-10-16 09:33:57,883 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53848056:ctest-vn-84159203', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53848056', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3439770530618297946', 'uuid-lslong': '11761086042136355989'}, 'enable': 'true', 'created': '2025-10-16T09:33:55', 'last-modified': '2025-10-16T09:33:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.308922'} 2025-10-16 09:33:57,890 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-16 09:33:57,891 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84159203 passed 2025-10-16 09:33:57,891 - DEBUG - ====Verifying policy data for ctest-vn-84159203 in API_Server ====== 2025-10-16 09:33:57,891 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-16 09:33:57,896 - DEBUG - Requesting: http://10.0.0.242:8082/domain/b5f604ca-949a-4f9d-b947-4f065da907b0 2025-10-16 09:33:57,906 - DEBUG - Requesting: http://10.0.0.242:8082/project/0212a624-5ed8-410f-925e-e06bc6e298ae 2025-10-16 09:33:57,978 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2fbc8512-aa5c-4e5a-a337-c5714257a495 2025-10-16 09:33:57,987 - DEBUG - ==>Verifying data for policy with id: e3e2d520-3f71-468c-acfa-5c3d612f689d, fqn: ['default-domain', 'ctest-TestBasicPolicy-53848056', 'ctest-policy-allow-all-10440518'] 2025-10-16 09:33:57,987 - INFO - VN ctest-vn-84159203 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-16 09:33:57,987 - DEBUG - Verifying the vn in opserver 2025-10-16 09:33:57,987 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53848056:ctest-vn-84159203 virtual network link through opserver 10.0.0.242 2025-10-16 09:33:57,987 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-16 09:33:57,996 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53848056:ctest-vn-84159203', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53848056:ctest-vn-84159203?flat'} 2025-10-16 09:33:57,996 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53848056:ctest-vn-84159203 is found in opserver 2025-10-16 09:33:58,005 - DEBUG - Do not have enough data to verify VN in agent 2025-10-16 09:33:58,010 - DEBUG - VRF ids for VN ctest-vn-84159203: {} 2025-10-16 09:33:58,065 - DEBUG - Services list from nova: [, , ] 2025-10-16 09:33:59,027 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4342-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4342-1) 2025-10-16 09:34:00,085 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4342-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4342-1) 2025-10-16 09:34:00,086 - INFO - Waiting for VM ctest-TestBasicPolicy-53848056-35617495 to be up.. 2025-10-16 09:34:00,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 09:34:05,233 - DEBUG - VM is in ACTIVE state now 2025-10-16 09:34:05,233 - INFO - VM name : ctest-TestBasicPolicy-53848056-35617495 2025-10-16 09:34:05,297 - DEBUG - VM ctest-TestBasicPolicy-53848056-35617495 ID is aef91d62-512c-4b94-87d2-300ba86249bc 2025-10-16 09:34:05,313 - DEBUG - VM ctest-TestBasicPolicy-53848056-35617495 launched on Node cn-jenkins-deploy-platform-ansible-os-4342-1 2025-10-16 09:34:05,376 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/aef91d62-512c-4b94-87d2-300ba86249bc 2025-10-16 09:34:05,384 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9ebf837f-5c8f-4589-af92-2544c7acacc6 2025-10-16 09:34:08,628 - 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 1015ms') 2025-10-16 09:34:08,628 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53848056-35617495 failed! 2025-10-16 09:34:08,680 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53848056:ctest-vn-26446542 is 205.4.206.1 and allocation pool is NOT set 2025-10-16 09:34:10,743 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.79 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 = 2.617/2.701/2.786/0.084 ms') 2025-10-16 09:34:10,743 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53848056-35617495 passed 2025-10-16 09:34:10,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:34:10,897 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53848056-35617495, IP 205.4.206.3, Port 22 2025-10-16 09:34:11,060 - DEBUG - VM ctest-TestBasicPolicy-53848056-35617495 is ready for SSH connections 2025-10-16 09:34:11,060 - INFO - Waiting for VM ctest-TestBasicPolicy-53848056-25305066 to be up.. 2025-10-16 09:34:11,135 - DEBUG - VM is in ACTIVE state now 2025-10-16 09:34:11,135 - INFO - VM name : ctest-TestBasicPolicy-53848056-25305066 2025-10-16 09:34:11,221 - DEBUG - VM ctest-TestBasicPolicy-53848056-25305066 ID is 4f945f3c-21f7-496f-836b-f0ed8caa7515 2025-10-16 09:34:11,221 - DEBUG - VM ctest-TestBasicPolicy-53848056-25305066 launched on Node cn-jenkins-deploy-platform-ansible-os-4342-1 2025-10-16 09:34:11,281 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4f945f3c-21f7-496f-836b-f0ed8caa7515 2025-10-16 09:34:11,288 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/faeded6d-7842-4b55-929d-46e6ab695058 2025-10-16 09:34:12,520 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.415/1.519/2.624/1.104 ms') 2025-10-16 09:34:12,520 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53848056-25305066 passed 2025-10-16 09:34:12,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:34:12,672 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53848056-25305066, IP 12.53.228.195, Port 22 2025-10-16 09:34:12,824 - DEBUG - VM ctest-TestBasicPolicy-53848056-25305066 is ready for SSH connections 2025-10-16 09:34:12,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:34:12,824 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.53.228.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-16 09:34:12,824 - DEBUG - ping -s 56 -c 3 -W 1 12.53.228.195 2025-10-16 09:34:16,500 - DEBUG - PING 12.53.228.195 (12.53.228.195): 56 data bytes 64 bytes from 12.53.228.195: seq=0 ttl=63 time=3.154 ms 64 bytes from 12.53.228.195: seq=1 ttl=63 time=0.794 ms 64 bytes from 12.53.228.195: seq=2 ttl=63 time=0.741 ms --- 12.53.228.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.741/1.563/3.154 ms 2025-10-16 09:34:16,500 - INFO - Ping to IP 12.53.228.195 from VM ctest-TestBasicPolicy-53848056-35617495 passed 2025-10-16 09:34:16,668 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e3e2d520-3f71-468c-acfa-5c3d612f689d", "href": "http://10.0.0.242:8082/network-policy/e3e2d520-3f71-468c-acfa-5c3d612f689d"}} 2025-10-16 09:34:16,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 09:34:16,668 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.53.228.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-16 09:34:16,668 - DEBUG - ping -s 56 -c 3 -W 1 12.53.228.195 2025-10-16 09:34:19,871 - DEBUG - PING 12.53.228.195 (12.53.228.195): 56 data bytes --- 12.53.228.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-16 09:34:19,871 - WARNING - Ping to IP 12.53.228.195 from VM ctest-TestBasicPolicy-53848056-35617495 failed 2025-10-16 09:34:19,872 - INFO - Deleting VM ctest-TestBasicPolicy-53848056-25305066 2025-10-16 09:34:19,933 - INFO - Deleting VM ctest-TestBasicPolicy-53848056-35617495 2025-10-16 09:34:20,266 - INFO - Deleted policy ctest-policy-allow-all-10440518 2025-10-16 09:34:20,266 - INFO - Deleting VN ctest-vn-84159203 2025-10-16 09:34:20,297 - DEBUG - VN 2fbc8512-aa5c-4e5a-a337-c5714257a495 still in use: Unable to complete operation on network 2fbc8512-aa5c-4e5a-a337-c5714257a495. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-262ff91b-9ace-4dd6-9618-16f6afa1828f'] 2025-10-16 09:34:20,297 - WARNING - Deleting VN ctest-vn-84159203 failed..Will retry 2025-10-16 09:34:22,402 - DEBUG - Response for deleting network () 2025-10-16 09:34:22,402 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/bb818721-286d-4236-9d32-7284d5fb541e 2025-10-16 09:34:22,413 - DEBUG - Response Code: 404 2025-10-16 09:34:22,413 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-16 09:34:22,418 - DEBUG - Requesting: http://10.0.0.242:8082/domain/b5f604ca-949a-4f9d-b947-4f065da907b0 2025-10-16 09:34:22,470 - DEBUG - Requesting: http://10.0.0.242:8082/project/0212a624-5ed8-410f-925e-e06bc6e298ae 2025-10-16 09:34:22,534 - INFO - Validated that VN ctest-vn-84159203 is not found in API Server 2025-10-16 09:34:22,545 - DEBUG - VN ctest-vn-84159203 is not present in Agent 10.0.0.242 2025-10-16 09:34:22,545 - INFO - Validated that VN ctest-vn-84159203 is not in any agent 2025-10-16 09:34:22,556 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84159203 info 2025-10-16 09:34:22,556 - INFO - Deleting VN ctest-vn-26446542 2025-10-16 09:34:22,658 - DEBUG - Response for deleting network () 2025-10-16 09:34:22,658 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2a291d14-6b69-4a6a-9573-dea435f06ca1 2025-10-16 09:34:22,663 - DEBUG - Response Code: 404 2025-10-16 09:34:22,663 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-16 09:34:22,667 - DEBUG - Requesting: http://10.0.0.242:8082/domain/b5f604ca-949a-4f9d-b947-4f065da907b0 2025-10-16 09:34:22,720 - DEBUG - Requesting: http://10.0.0.242:8082/project/0212a624-5ed8-410f-925e-e06bc6e298ae 2025-10-16 09:34:22,788 - INFO - Validated that VN ctest-vn-26446542 is not found in API Server 2025-10-16 09:34:22,797 - DEBUG - VN ctest-vn-26446542 is not present in Agent 10.0.0.242 2025-10-16 09:34:22,797 - INFO - Validated that VN ctest-vn-26446542 is not in any agent 2025-10-16 09:34:22,808 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26446542 info 2025-10-16 09:34:23,056 - DEBUG - No XMPP flaps were noticed during the test 2025-10-16 09:34:23,056 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-16 09:34:23,057 - INFO - -------------------------------------------------------------------------------- 2025-10-16 09:34:23,695 - INFO - Deleted project: ctest-TestBasicPolicy-53848056, ID : 0212a624-5ed8-410f-925e-e06bc6e298ae