2025-07-22 10:36:02,675 - INFO - Domain Default found not creating 2025-07-22 10:36:02,831 - INFO - Project ctest-TestBasicPolicy-20443936 not found, creating it 2025-07-22 10:36:03,303 - INFO - Created Project:ctest-TestBasicPolicy-20443936, ID : ac9d5b94-2b0e-4ed1-9d65-edada0cc82da 2025-07-22 10:36:04,794 - INFO - ================================================================================ 2025-07-22 10:36:04,794 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-22 10:36:04,794 - 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-22 10:36:05,051 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-07-22 10:36:05,051 - INFO - Initial checks done. Running the testcase now 2025-07-22 10:36:05,051 - INFO - 2025-07-22 10:36:05,637 - DEBUG - Response for create_network : {'network': {'id': '11695ebe-5743-4019-9228-41c1bd7d91a3', 'name': 'ctest-vn-55989050', 'tenant_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'project_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20443936', 'ctest-vn-55989050'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 10:36:05,819 - DEBUG - Response for create_subnet : {'subnet': {'id': '508be5c4-1bc9-4ef7-9cd7-04f10f957567', 'name': '', 'tenant_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'network_id': '11695ebe-5743-4019-9228-41c1bd7d91a3', 'ip_version': 4, 'cidr': '91.248.129.192/26', 'allocation_pools': [{'start': '91.248.129.194', 'end': '91.248.129.254'}], 'gateway_ip': '91.248.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.248.129.194', 'tags': [], 'project_id': 'ac9d5b942b0e4ed19d65edada0cc82da'}} 2025-07-22 10:36:05,838 - INFO - Created VN ctest-vn-55989050 2025-07-22 10:36:05,892 - DEBUG - VN ctest-vn-55989050 UUID is 11695ebe-5743-4019-9228-41c1bd7d91a3 2025-07-22 10:36:06,194 - DEBUG - Response for create_network : {'network': {'id': 'cc991b5f-1181-408e-85c0-cb75faa54ae0', 'name': 'ctest-vn-78544446', 'tenant_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'project_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20443936', 'ctest-vn-78544446'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 10:36:06,372 - DEBUG - Response for create_subnet : {'subnet': {'id': '8cbed705-eeb0-4a16-8571-e547af13bbfd', 'name': '', 'tenant_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'network_id': 'cc991b5f-1181-408e-85c0-cb75faa54ae0', 'ip_version': 4, 'cidr': '180.179.224.192/26', 'allocation_pools': [{'start': '180.179.224.194', 'end': '180.179.224.254'}], 'gateway_ip': '180.179.224.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.179.224.194', 'tags': [], 'project_id': 'ac9d5b942b0e4ed19d65edada0cc82da'}} 2025-07-22 10:36:06,394 - INFO - Created VN ctest-vn-78544446 2025-07-22 10:36:06,448 - DEBUG - VN ctest-vn-78544446 UUID is cc991b5f-1181-408e-85c0-cb75faa54ae0 2025-07-22 10:36:06,570 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-55989050, 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-20443936:ctest-vn-78544446, 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-22 10:36:06,880 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '11695ebe-5743-4019-9228-41c1bd7d91a3', 'name': 'ctest-vn-55989050', 'tenant_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'project_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['508be5c4-1bc9-4ef7-9cd7-04f10f957567'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20443936', 'ctest-vn-55989050'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20443936', 'ctest-policy-allow-all-37094341']], 'subnet_ipam': [{'subnet_cidr': '91.248.129.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-22 10:36:07,147 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cc991b5f-1181-408e-85c0-cb75faa54ae0', 'name': 'ctest-vn-78544446', 'tenant_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'project_id': 'ac9d5b942b0e4ed19d65edada0cc82da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8cbed705-eeb0-4a16-8571-e547af13bbfd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20443936', 'ctest-vn-78544446'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20443936', 'ctest-policy-allow-all-37094341']], 'subnet_ipam': [{'subnet_cidr': '180.179.224.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-22 10:36:07,316 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-22 10:36:07,610 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-22 10:36:07,639 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2531af00-68c5-4876-972c-73d04943c0bc 2025-07-22 10:36:07,654 - DEBUG - Requesting: http://10.0.0.65:8082/project/ac9d5b94-2b0e-4ed1-9d65-edada0cc82da 2025-07-22 10:36:07,731 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/11695ebe-5743-4019-9228-41c1bd7d91a3 2025-07-22 10:36:07,743 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/11695ebe-5743-4019-9228-41c1bd7d91a3 2025-07-22 10:36:07,755 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/c4932c6e-21bf-42be-856e-2144fd6914c4 2025-07-22 10:36:07,764 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/c4932c6e-21bf-42be-856e-2144fd6914c4 2025-07-22 10:36:07,772 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/ac74a2b3-b917-4c81-844b-42417b222ccb 2025-07-22 10:36:07,781 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 10:36:07,781 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/11695ebe-5743-4019-9228-41c1bd7d91a3 2025-07-22 10:36:07,791 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/c4932c6e-21bf-42be-856e-2144fd6914c4 2025-07-22 10:36:07,809 - INFO - Verified VN network id 8 for VN 11695ebe-5743-4019-9228-41c1bd7d91a3 2025-07-22 10:36:07,810 - INFO - Verifications in API Server for VN ctest-vn-55989050 passed 2025-07-22 10:36:07,810 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/11695ebe-5743-4019-9228-41c1bd7d91a3 2025-07-22 10:36:07,826 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/c4932c6e-21bf-42be-856e-2144fd6914c4 2025-07-22 10:36:07,835 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/c4932c6e-21bf-42be-856e-2144fd6914c4 2025-07-22 10:36:07,843 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/ac74a2b3-b917-4c81-844b-42417b222ccb 2025-07-22 10:36:07,856 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-55989050', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20443936', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1254638142800216089', 'uuid-lslong': '10531740028969521571'}, 'enable': 'true', 'created': '2025-07-22T10:36:05', 'last-modified': '2025-07-22T10:36:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987548'} 2025-07-22 10:36:07,864 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 10:36:07,864 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55989050 passed 2025-07-22 10:36:07,865 - DEBUG - ====Verifying policy data for ctest-vn-55989050 in API_Server ====== 2025-07-22 10:36:07,865 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-22 10:36:07,871 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2531af00-68c5-4876-972c-73d04943c0bc 2025-07-22 10:36:07,885 - DEBUG - Requesting: http://10.0.0.65:8082/project/ac9d5b94-2b0e-4ed1-9d65-edada0cc82da 2025-07-22 10:36:07,969 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/11695ebe-5743-4019-9228-41c1bd7d91a3 2025-07-22 10:36:07,984 - DEBUG - ==>Verifying data for policy with id: a53bc3c8-1789-4b15-8cd5-48dcd20aefab, fqn: ['default-domain', 'ctest-TestBasicPolicy-20443936', 'ctest-policy-allow-all-37094341'] 2025-07-22 10:36:07,984 - INFO - VN ctest-vn-55989050 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-22 10:36:07,984 - DEBUG - Verifying the vn in opserver 2025-07-22 10:36:07,984 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-55989050 virtual network link through opserver 10.0.0.65 2025-07-22 10:36:07,984 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-07-22 10:36:08,289 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-07-22 10:36:08,355 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-55989050', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-55989050?flat'} 2025-07-22 10:36:08,355 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-55989050 is found in opserver 2025-07-22 10:36:08,367 - DEBUG - Do not have enough data to verify VN in agent 2025-07-22 10:36:08,373 - DEBUG - VRF ids for VN ctest-vn-55989050: {} 2025-07-22 10:36:08,374 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-22 10:36:08,381 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2531af00-68c5-4876-972c-73d04943c0bc 2025-07-22 10:36:08,396 - DEBUG - Requesting: http://10.0.0.65:8082/project/ac9d5b94-2b0e-4ed1-9d65-edada0cc82da 2025-07-22 10:36:08,473 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/cc991b5f-1181-408e-85c0-cb75faa54ae0 2025-07-22 10:36:08,486 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/cc991b5f-1181-408e-85c0-cb75faa54ae0 2025-07-22 10:36:08,499 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/7baa1b04-530f-44f3-9b3e-e6bab01d0688 2025-07-22 10:36:08,508 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/7baa1b04-530f-44f3-9b3e-e6bab01d0688 2025-07-22 10:36:08,516 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/27615616-7222-417d-9092-f3a06ae03343 2025-07-22 10:36:08,524 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-22 10:36:08,524 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/cc991b5f-1181-408e-85c0-cb75faa54ae0 2025-07-22 10:36:08,536 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/7baa1b04-530f-44f3-9b3e-e6bab01d0688 2025-07-22 10:36:08,555 - INFO - Verified VN network id 9 for VN cc991b5f-1181-408e-85c0-cb75faa54ae0 2025-07-22 10:36:08,556 - INFO - Verifications in API Server for VN ctest-vn-78544446 passed 2025-07-22 10:36:08,556 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/cc991b5f-1181-408e-85c0-cb75faa54ae0 2025-07-22 10:36:08,578 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/7baa1b04-530f-44f3-9b3e-e6bab01d0688 2025-07-22 10:36:08,592 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/7baa1b04-530f-44f3-9b3e-e6bab01d0688 2025-07-22 10:36:08,601 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/27615616-7222-417d-9092-f3a06ae03343 2025-07-22 10:36:08,616 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-78544446', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20443936', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14742844950303555726', 'uuid-lslong': '9637926910149610208'}, 'enable': 'true', 'created': '2025-07-22T10:36:06', 'last-modified': '2025-07-22T10:36:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.503262'} 2025-07-22 10:36:08,622 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-22 10:36:08,623 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78544446 passed 2025-07-22 10:36:08,623 - DEBUG - ====Verifying policy data for ctest-vn-78544446 in API_Server ====== 2025-07-22 10:36:08,623 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-22 10:36:08,629 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2531af00-68c5-4876-972c-73d04943c0bc 2025-07-22 10:36:08,642 - DEBUG - Requesting: http://10.0.0.65:8082/project/ac9d5b94-2b0e-4ed1-9d65-edada0cc82da 2025-07-22 10:36:08,731 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/cc991b5f-1181-408e-85c0-cb75faa54ae0 2025-07-22 10:36:08,742 - DEBUG - ==>Verifying data for policy with id: a53bc3c8-1789-4b15-8cd5-48dcd20aefab, fqn: ['default-domain', 'ctest-TestBasicPolicy-20443936', 'ctest-policy-allow-all-37094341'] 2025-07-22 10:36:08,742 - INFO - VN ctest-vn-78544446 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-22 10:36:08,742 - DEBUG - Verifying the vn in opserver 2025-07-22 10:36:08,742 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-78544446 virtual network link through opserver 10.0.0.65 2025-07-22 10:36:08,742 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-07-22 10:36:08,754 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-78544446', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-78544446?flat'} 2025-07-22 10:36:08,754 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-78544446 is found in opserver 2025-07-22 10:36:08,767 - DEBUG - Do not have enough data to verify VN in agent 2025-07-22 10:36:08,772 - DEBUG - VRF ids for VN ctest-vn-78544446: {} 2025-07-22 10:36:08,849 - DEBUG - Services list from nova: [, , ] 2025-07-22 10:36:09,899 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3688-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3688-1) 2025-07-22 10:36:11,158 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3688-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3688-1) 2025-07-22 10:36:11,158 - INFO - Waiting for VM ctest-TestBasicPolicy-20443936-74104079 to be up.. 2025-07-22 10:36:11,270 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 10:36:16,364 - DEBUG - VM is in ACTIVE state now 2025-07-22 10:36:16,364 - INFO - VM name : ctest-TestBasicPolicy-20443936-74104079 2025-07-22 10:36:16,440 - DEBUG - VM ctest-TestBasicPolicy-20443936-74104079 ID is 41d15cef-31c9-417f-b3f8-75b8ff028831 2025-07-22 10:36:16,464 - DEBUG - VM ctest-TestBasicPolicy-20443936-74104079 launched on Node cn-jenkins-deploy-platform-ansible-os-3688-1 2025-07-22 10:36:16,541 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/41d15cef-31c9-417f-b3f8-75b8ff028831 2025-07-22 10:36:16,551 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/78ebccac-d8b8-48cf-8605-0f890e68a94a 2025-07-22 10:36:19,826 - 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 1030ms') 2025-07-22 10:36:19,826 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20443936-74104079 failed! 2025-07-22 10:36:19,884 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20443936:ctest-vn-55989050 is 91.248.129.193 and allocation pool is NOT set 2025-07-22 10:36:21,943 - 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=8.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 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.434/4.597/8.760/4.163 ms') 2025-07-22 10:36:21,943 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20443936-74104079 passed 2025-07-22 10:36:22,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 10:36:22,104 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20443936-74104079, IP 91.248.129.195, Port 22 2025-07-22 10:36:22,260 - DEBUG - VM ctest-TestBasicPolicy-20443936-74104079 is ready for SSH connections 2025-07-22 10:36:22,260 - INFO - Waiting for VM ctest-TestBasicPolicy-20443936-22669278 to be up.. 2025-07-22 10:36:22,337 - DEBUG - VM is in ACTIVE state now 2025-07-22 10:36:22,337 - INFO - VM name : ctest-TestBasicPolicy-20443936-22669278 2025-07-22 10:36:22,409 - DEBUG - VM ctest-TestBasicPolicy-20443936-22669278 ID is e8964b61-c32f-4123-872b-78e5ee8ee0f9 2025-07-22 10:36:22,409 - DEBUG - VM ctest-TestBasicPolicy-20443936-22669278 launched on Node cn-jenkins-deploy-platform-ansible-os-3688-1 2025-07-22 10:36:22,487 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/e8964b61-c32f-4123-872b-78e5ee8ee0f9 2025-07-22 10:36:22,496 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/eda366f1-e463-4f60-b3a5-2c39874c1547 2025-07-22 10:36:23,755 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.899 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.899/2.827/4.756/1.928 ms') 2025-07-22 10:36:23,755 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20443936-22669278 passed 2025-07-22 10:36:23,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 10:36:23,908 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20443936-22669278, IP 180.179.224.195, Port 22 2025-07-22 10:36:24,067 - DEBUG - VM ctest-TestBasicPolicy-20443936-22669278 is ready for SSH connections 2025-07-22 10:36:24,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 10:36:24,068 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.179.224.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-22 10:36:24,068 - DEBUG - ping -s 56 -c 3 -W 1 180.179.224.195 2025-07-22 10:36:27,757 - DEBUG - PING 180.179.224.195 (180.179.224.195): 56 data bytes 64 bytes from 180.179.224.195: seq=0 ttl=63 time=4.109 ms 64 bytes from 180.179.224.195: seq=1 ttl=63 time=0.986 ms 64 bytes from 180.179.224.195: seq=2 ttl=63 time=0.793 ms --- 180.179.224.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.793/1.962/4.109 ms 2025-07-22 10:36:27,758 - INFO - Ping to IP 180.179.224.195 from VM ctest-TestBasicPolicy-20443936-74104079 passed 2025-07-22 10:36:27,948 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a53bc3c8-1789-4b15-8cd5-48dcd20aefab", "href": "http://10.0.0.65:8082/network-policy/a53bc3c8-1789-4b15-8cd5-48dcd20aefab"}} 2025-07-22 10:36:27,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 10:36:27,948 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.179.224.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-22 10:36:27,948 - DEBUG - ping -s 56 -c 3 -W 1 180.179.224.195 2025-07-22 10:36:31,170 - DEBUG - PING 180.179.224.195 (180.179.224.195): 56 data bytes 64 bytes from 180.179.224.195: seq=0 ttl=63 time=1.714 ms --- 180.179.224.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.714/1.714/1.714 ms 2025-07-22 10:36:31,170 - WARNING - Ping to IP 180.179.224.195 from VM ctest-TestBasicPolicy-20443936-74104079 failed 2025-07-22 10:36:31,170 - INFO - Deleting VM ctest-TestBasicPolicy-20443936-22669278 2025-07-22 10:36:31,243 - INFO - Deleting VM ctest-TestBasicPolicy-20443936-74104079 2025-07-22 10:36:31,681 - INFO - Deleted policy ctest-policy-allow-all-37094341 2025-07-22 10:36:31,681 - INFO - Deleting VN ctest-vn-78544446 2025-07-22 10:36:31,726 - DEBUG - VN cc991b5f-1181-408e-85c0-cb75faa54ae0 still in use: Unable to complete operation on network cc991b5f-1181-408e-85c0-cb75faa54ae0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e5a8efee-7972-459b-a104-710aefec9dab'] 2025-07-22 10:36:31,726 - WARNING - Deleting VN ctest-vn-78544446 failed..Will retry 2025-07-22 10:36:33,844 - DEBUG - Response for deleting network () 2025-07-22 10:36:33,844 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/7baa1b04-530f-44f3-9b3e-e6bab01d0688 2025-07-22 10:36:33,854 - DEBUG - Response Code: 404 2025-07-22 10:36:33,854 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-22 10:36:33,862 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2531af00-68c5-4876-972c-73d04943c0bc 2025-07-22 10:36:33,918 - DEBUG - Requesting: http://10.0.0.65:8082/project/ac9d5b94-2b0e-4ed1-9d65-edada0cc82da 2025-07-22 10:36:33,995 - INFO - Validated that VN ctest-vn-78544446 is not found in API Server 2025-07-22 10:36:34,016 - DEBUG - VN ctest-vn-78544446 is not present in Agent 10.0.0.65 2025-07-22 10:36:34,016 - INFO - Validated that VN ctest-vn-78544446 is not in any agent 2025-07-22 10:36:34,035 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78544446 info 2025-07-22 10:36:34,035 - INFO - Deleting VN ctest-vn-55989050 2025-07-22 10:36:34,151 - DEBUG - Response for deleting network () 2025-07-22 10:36:34,151 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/c4932c6e-21bf-42be-856e-2144fd6914c4 2025-07-22 10:36:34,164 - DEBUG - Response Code: 404 2025-07-22 10:36:34,164 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-22 10:36:34,171 - DEBUG - Requesting: http://10.0.0.65:8082/domain/2531af00-68c5-4876-972c-73d04943c0bc 2025-07-22 10:36:34,235 - DEBUG - Requesting: http://10.0.0.65:8082/project/ac9d5b94-2b0e-4ed1-9d65-edada0cc82da 2025-07-22 10:36:34,309 - INFO - Validated that VN ctest-vn-55989050 is not found in API Server 2025-07-22 10:36:34,320 - DEBUG - VN ctest-vn-55989050 is not present in Agent 10.0.0.65 2025-07-22 10:36:34,320 - INFO - Validated that VN ctest-vn-55989050 is not in any agent 2025-07-22 10:36:34,337 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55989050 info 2025-07-22 10:36:34,594 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 10:36:34,595 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-22 10:36:34,595 - INFO - -------------------------------------------------------------------------------- 2025-07-22 10:36:35,322 - INFO - Deleted project: ctest-TestBasicPolicy-20443936, ID : ac9d5b94-2b0e-4ed1-9d65-edada0cc82da