2025-10-21 16:28:43,352 - INFO - Domain Default found not creating 2025-10-21 16:28:43,679 - INFO - Project ctest-TestBasicPolicy-40301034 not found, creating it 2025-10-21 16:28:44,311 - INFO - Created Project:ctest-TestBasicPolicy-40301034, ID : 8ecdde03-50a6-40fa-9691-d0a50095f62f 2025-10-21 16:28:46,233 - INFO - ================================================================================ 2025-10-21 16:28:46,233 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-21 16:28:46,233 - 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-21 16:28:46,559 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-21 16:28:46,560 - INFO - Initial checks done. Running the testcase now 2025-10-21 16:28:46,560 - INFO - 2025-10-21 16:28:47,308 - DEBUG - Response for create_network : {'network': {'id': '85aeb4e6-b10f-4b5e-a906-1cc9dc5ef1ee', 'name': 'ctest-vn-73191200', 'tenant_id': '8ecdde0350a640fa9691d0a50095f62f', 'project_id': '8ecdde0350a640fa9691d0a50095f62f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40301034', 'ctest-vn-73191200'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:28:47,571 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0d25ae2-f437-4c19-8559-3809d0a20ed0', 'name': '', 'tenant_id': '8ecdde0350a640fa9691d0a50095f62f', 'network_id': '85aeb4e6-b10f-4b5e-a906-1cc9dc5ef1ee', 'ip_version': 4, 'cidr': '104.43.177.0/26', 'allocation_pools': [{'start': '104.43.177.2', 'end': '104.43.177.62'}], 'gateway_ip': '104.43.177.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.43.177.2', 'tags': [], 'project_id': '8ecdde0350a640fa9691d0a50095f62f'}} 2025-10-21 16:28:47,592 - INFO - Created VN ctest-vn-73191200 2025-10-21 16:28:47,647 - DEBUG - VN ctest-vn-73191200 UUID is 85aeb4e6-b10f-4b5e-a906-1cc9dc5ef1ee 2025-10-21 16:28:48,095 - DEBUG - Response for create_network : {'network': {'id': 'bc6b264c-1eaf-4913-929e-b2a8245bca87', 'name': 'ctest-vn-57117078', 'tenant_id': '8ecdde0350a640fa9691d0a50095f62f', 'project_id': '8ecdde0350a640fa9691d0a50095f62f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40301034', 'ctest-vn-57117078'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:28:48,273 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d2bce7c-9919-4a70-a4ce-856362a527e0', 'name': '', 'tenant_id': '8ecdde0350a640fa9691d0a50095f62f', 'network_id': 'bc6b264c-1eaf-4913-929e-b2a8245bca87', 'ip_version': 4, 'cidr': '221.21.53.0/26', 'allocation_pools': [{'start': '221.21.53.2', 'end': '221.21.53.62'}], 'gateway_ip': '221.21.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.21.53.2', 'tags': [], 'project_id': '8ecdde0350a640fa9691d0a50095f62f'}} 2025-10-21 16:28:48,294 - INFO - Created VN ctest-vn-57117078 2025-10-21 16:28:48,347 - DEBUG - VN ctest-vn-57117078 UUID is bc6b264c-1eaf-4913-929e-b2a8245bca87 2025-10-21 16:28:48,484 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40301034:ctest-vn-73191200, 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-40301034:ctest-vn-57117078, 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-21 16:28:48,881 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '85aeb4e6-b10f-4b5e-a906-1cc9dc5ef1ee', 'name': 'ctest-vn-73191200', 'tenant_id': '8ecdde0350a640fa9691d0a50095f62f', 'project_id': '8ecdde0350a640fa9691d0a50095f62f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e0d25ae2-f437-4c19-8559-3809d0a20ed0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40301034', 'ctest-vn-73191200'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40301034', 'ctest-policy-allow-all-72554328']], 'subnet_ipam': [{'subnet_cidr': '104.43.177.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:28:49,155 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bc6b264c-1eaf-4913-929e-b2a8245bca87', 'name': 'ctest-vn-57117078', 'tenant_id': '8ecdde0350a640fa9691d0a50095f62f', 'project_id': '8ecdde0350a640fa9691d0a50095f62f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2d2bce7c-9919-4a70-a4ce-856362a527e0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40301034', 'ctest-vn-57117078'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40301034', 'ctest-policy-allow-all-72554328']], 'subnet_ipam': [{'subnet_cidr': '221.21.53.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:28:49,307 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 16:28:49,611 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 16:28:49,650 - DEBUG - Requesting: http://10.0.0.254:8082/domain/572e6c3c-b47f-408f-a718-2d4ad77686ae 2025-10-21 16:28:49,678 - DEBUG - Requesting: http://10.0.0.254:8082/project/8ecdde03-50a6-40fa-9691-d0a50095f62f 2025-10-21 16:28:49,764 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/85aeb4e6-b10f-4b5e-a906-1cc9dc5ef1ee 2025-10-21 16:28:49,780 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/85aeb4e6-b10f-4b5e-a906-1cc9dc5ef1ee 2025-10-21 16:28:49,793 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/18a54402-e59d-4691-93da-c5e6ff32f4a7 2025-10-21 16:28:49,805 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/18a54402-e59d-4691-93da-c5e6ff32f4a7 2025-10-21 16:28:49,818 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8cb7b7c6-354a-4e13-a9eb-46739c1899ac 2025-10-21 16:28:49,830 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 16:28:49,830 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/85aeb4e6-b10f-4b5e-a906-1cc9dc5ef1ee 2025-10-21 16:28:49,846 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/18a54402-e59d-4691-93da-c5e6ff32f4a7 2025-10-21 16:28:49,869 - INFO - Verified VN network id 11 for VN 85aeb4e6-b10f-4b5e-a906-1cc9dc5ef1ee 2025-10-21 16:28:49,869 - INFO - Verifications in API Server for VN ctest-vn-73191200 passed 2025-10-21 16:28:49,869 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/85aeb4e6-b10f-4b5e-a906-1cc9dc5ef1ee 2025-10-21 16:28:49,885 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/18a54402-e59d-4691-93da-c5e6ff32f4a7 2025-10-21 16:28:49,897 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/18a54402-e59d-4691-93da-c5e6ff32f4a7 2025-10-21 16:28:49,909 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8cb7b7c6-354a-4e13-a9eb-46739c1899ac 2025-10-21 16:28:49,927 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40301034:ctest-vn-73191200', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40301034', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9632835555898116958', 'uuid-lslong': '12179453895581299182'}, 'enable': 'true', 'created': '2025-10-21T16:28:47', 'last-modified': '2025-10-21T16:28:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.082620'} 2025-10-21 16:28:49,933 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 16:28:49,934 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73191200 passed 2025-10-21 16:28:49,934 - DEBUG - ====Verifying policy data for ctest-vn-73191200 in API_Server ====== 2025-10-21 16:28:49,934 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 16:28:49,940 - DEBUG - Requesting: http://10.0.0.254:8082/domain/572e6c3c-b47f-408f-a718-2d4ad77686ae 2025-10-21 16:28:49,952 - DEBUG - Requesting: http://10.0.0.254:8082/project/8ecdde03-50a6-40fa-9691-d0a50095f62f 2025-10-21 16:28:50,032 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/85aeb4e6-b10f-4b5e-a906-1cc9dc5ef1ee 2025-10-21 16:28:50,044 - DEBUG - ==>Verifying data for policy with id: d8d9afd8-0809-47da-beaa-4b930b3b83ab, fqn: ['default-domain', 'ctest-TestBasicPolicy-40301034', 'ctest-policy-allow-all-72554328'] 2025-10-21 16:28:50,044 - INFO - VN ctest-vn-73191200 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 16:28:50,044 - DEBUG - Verifying the vn in opserver 2025-10-21 16:28:50,044 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40301034:ctest-vn-73191200 virtual network link through opserver 10.0.0.254 2025-10-21 16:28:50,044 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-21 16:28:50,351 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-21 16:28:50,464 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40301034:ctest-vn-73191200', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40301034:ctest-vn-73191200?flat'} 2025-10-21 16:28:50,464 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40301034:ctest-vn-73191200 is found in opserver 2025-10-21 16:28:50,487 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 16:28:50,496 - DEBUG - VRF ids for VN ctest-vn-73191200: {} 2025-10-21 16:28:50,496 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 16:28:50,505 - DEBUG - Requesting: http://10.0.0.254:8082/domain/572e6c3c-b47f-408f-a718-2d4ad77686ae 2025-10-21 16:28:50,520 - DEBUG - Requesting: http://10.0.0.254:8082/project/8ecdde03-50a6-40fa-9691-d0a50095f62f 2025-10-21 16:28:50,609 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bc6b264c-1eaf-4913-929e-b2a8245bca87 2025-10-21 16:28:50,625 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bc6b264c-1eaf-4913-929e-b2a8245bca87 2025-10-21 16:28:50,639 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c81fc421-ac38-48ee-ac00-b7ab0641644c 2025-10-21 16:28:50,649 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c81fc421-ac38-48ee-ac00-b7ab0641644c 2025-10-21 16:28:50,658 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/eea93033-7a0e-4705-92aa-35cecd48e242 2025-10-21 16:28:50,667 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 16:28:50,667 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bc6b264c-1eaf-4913-929e-b2a8245bca87 2025-10-21 16:28:50,679 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c81fc421-ac38-48ee-ac00-b7ab0641644c 2025-10-21 16:28:50,697 - INFO - Verified VN network id 12 for VN bc6b264c-1eaf-4913-929e-b2a8245bca87 2025-10-21 16:28:50,697 - INFO - Verifications in API Server for VN ctest-vn-57117078 passed 2025-10-21 16:28:50,697 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bc6b264c-1eaf-4913-929e-b2a8245bca87 2025-10-21 16:28:50,708 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c81fc421-ac38-48ee-ac00-b7ab0641644c 2025-10-21 16:28:50,715 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c81fc421-ac38-48ee-ac00-b7ab0641644c 2025-10-21 16:28:50,725 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/eea93033-7a0e-4705-92aa-35cecd48e242 2025-10-21 16:28:50,744 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40301034:ctest-vn-57117078', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40301034', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13576987610012666131', 'uuid-lslong': '10565078211092007559'}, 'enable': 'true', 'created': '2025-10-21T16:28:48', 'last-modified': '2025-10-21T16:28:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.635433'} 2025-10-21 16:28:50,750 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 16:28:50,750 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57117078 passed 2025-10-21 16:28:50,751 - DEBUG - ====Verifying policy data for ctest-vn-57117078 in API_Server ====== 2025-10-21 16:28:50,751 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 16:28:50,757 - DEBUG - Requesting: http://10.0.0.254:8082/domain/572e6c3c-b47f-408f-a718-2d4ad77686ae 2025-10-21 16:28:50,771 - DEBUG - Requesting: http://10.0.0.254:8082/project/8ecdde03-50a6-40fa-9691-d0a50095f62f 2025-10-21 16:28:50,854 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bc6b264c-1eaf-4913-929e-b2a8245bca87 2025-10-21 16:28:50,867 - DEBUG - ==>Verifying data for policy with id: d8d9afd8-0809-47da-beaa-4b930b3b83ab, fqn: ['default-domain', 'ctest-TestBasicPolicy-40301034', 'ctest-policy-allow-all-72554328'] 2025-10-21 16:28:50,867 - INFO - VN ctest-vn-57117078 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 16:28:50,867 - DEBUG - Verifying the vn in opserver 2025-10-21 16:28:50,867 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40301034:ctest-vn-57117078 virtual network link through opserver 10.0.0.254 2025-10-21 16:28:50,867 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-21 16:28:50,880 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40301034:ctest-vn-57117078', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40301034:ctest-vn-57117078?flat'} 2025-10-21 16:28:50,880 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40301034:ctest-vn-57117078 is found in opserver 2025-10-21 16:28:50,892 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 16:28:50,899 - DEBUG - VRF ids for VN ctest-vn-57117078: {} 2025-10-21 16:28:50,978 - DEBUG - Services list from nova: [, , ] 2025-10-21 16:28:52,253 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4397-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4397-1) 2025-10-21 16:28:53,508 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4397-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4397-1) 2025-10-21 16:28:53,509 - INFO - Waiting for VM ctest-TestBasicPolicy-40301034-98942606 to be up.. 2025-10-21 16:28:53,603 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 16:28:58,770 - DEBUG - VM is in ACTIVE state now 2025-10-21 16:28:58,770 - INFO - VM name : ctest-TestBasicPolicy-40301034-98942606 2025-10-21 16:28:58,908 - DEBUG - VM ctest-TestBasicPolicy-40301034-98942606 ID is 2ea3646e-59d8-4f86-8136-f9901598a2c4 2025-10-21 16:28:58,939 - DEBUG - VM ctest-TestBasicPolicy-40301034-98942606 launched on Node cn-jenkins-deploy-platform-ansible-os-4397-1 2025-10-21 16:28:59,075 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2ea3646e-59d8-4f86-8136-f9901598a2c4 2025-10-21 16:28:59,094 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/79faa930-4e19-4216-805a-ee118273ed4a 2025-10-21 16:29:02,383 - 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 1006ms') 2025-10-21 16:29:02,383 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40301034-98942606 failed! 2025-10-21 16:29:02,455 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40301034:ctest-vn-73191200 is 104.43.177.1 and allocation pool is NOT set 2025-10-21 16:29:04,541 - 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=9.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.30 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 = 1.300/5.399/9.498/4.099 ms') 2025-10-21 16:29:04,541 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40301034-98942606 passed 2025-10-21 16:29:04,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:29:04,728 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40301034-98942606, IP 104.43.177.3, Port 22 2025-10-21 16:29:04,913 - DEBUG - VM ctest-TestBasicPolicy-40301034-98942606 is ready for SSH connections 2025-10-21 16:29:04,913 - INFO - Waiting for VM ctest-TestBasicPolicy-40301034-70044874 to be up.. 2025-10-21 16:29:05,042 - DEBUG - VM is in ACTIVE state now 2025-10-21 16:29:05,042 - INFO - VM name : ctest-TestBasicPolicy-40301034-70044874 2025-10-21 16:29:05,124 - DEBUG - VM ctest-TestBasicPolicy-40301034-70044874 ID is 6ea49889-5c3a-409f-86e2-150f199e2c27 2025-10-21 16:29:05,125 - DEBUG - VM ctest-TestBasicPolicy-40301034-70044874 launched on Node cn-jenkins-deploy-platform-ansible-os-4397-1 2025-10-21 16:29:05,224 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6ea49889-5c3a-409f-86e2-150f199e2c27 2025-10-21 16:29:05,236 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bdf4a6d0-acf7-48b5-91ed-422da9e3c333 2025-10-21 16:29:06,523 - 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=6.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.471 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.471/3.366/6.261/2.895 ms') 2025-10-21 16:29:06,523 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40301034-70044874 passed 2025-10-21 16:29:06,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:29:06,691 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40301034-70044874, IP 221.21.53.3, Port 22 2025-10-21 16:29:06,882 - DEBUG - VM ctest-TestBasicPolicy-40301034-70044874 is ready for SSH connections 2025-10-21 16:29:06,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:29:06,882 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.21.53.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 16:29:06,882 - DEBUG - ping -s 56 -c 3 -W 1 221.21.53.3 2025-10-21 16:29:11,273 - DEBUG - PING 221.21.53.3 (221.21.53.3): 56 data bytes 64 bytes from 221.21.53.3: seq=0 ttl=63 time=11.738 ms 64 bytes from 221.21.53.3: seq=1 ttl=63 time=1.823 ms 64 bytes from 221.21.53.3: seq=2 ttl=63 time=2.084 ms --- 221.21.53.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.823/5.215/11.738 ms 2025-10-21 16:29:11,273 - INFO - Ping to IP 221.21.53.3 from VM ctest-TestBasicPolicy-40301034-98942606 passed 2025-10-21 16:29:11,527 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d8d9afd8-0809-47da-beaa-4b930b3b83ab", "href": "http://10.0.0.254:8082/network-policy/d8d9afd8-0809-47da-beaa-4b930b3b83ab"}} 2025-10-21 16:29:11,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:29:11,527 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.21.53.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 16:29:11,527 - DEBUG - ping -s 56 -c 3 -W 1 221.21.53.3 2025-10-21 16:29:14,807 - DEBUG - PING 221.21.53.3 (221.21.53.3): 56 data bytes --- 221.21.53.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 16:29:14,808 - WARNING - Ping to IP 221.21.53.3 from VM ctest-TestBasicPolicy-40301034-98942606 failed 2025-10-21 16:29:14,808 - INFO - Deleting VM ctest-TestBasicPolicy-40301034-70044874 2025-10-21 16:29:14,985 - INFO - Deleting VM ctest-TestBasicPolicy-40301034-98942606 2025-10-21 16:29:15,534 - INFO - Deleted policy ctest-policy-allow-all-72554328 2025-10-21 16:29:15,534 - INFO - Deleting VN ctest-vn-57117078 2025-10-21 16:29:15,576 - DEBUG - VN bc6b264c-1eaf-4913-929e-b2a8245bca87 still in use: Unable to complete operation on network bc6b264c-1eaf-4913-929e-b2a8245bca87. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-91d7832b-41c5-48d7-895f-d2670cc300eb'] 2025-10-21 16:29:15,577 - WARNING - Deleting VN ctest-vn-57117078 failed..Will retry 2025-10-21 16:29:17,809 - DEBUG - Response for deleting network () 2025-10-21 16:29:17,809 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c81fc421-ac38-48ee-ac00-b7ab0641644c 2025-10-21 16:29:17,815 - DEBUG - Response Code: 404 2025-10-21 16:29:17,815 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 16:29:17,821 - DEBUG - Requesting: http://10.0.0.254:8082/domain/572e6c3c-b47f-408f-a718-2d4ad77686ae 2025-10-21 16:29:17,879 - DEBUG - Requesting: http://10.0.0.254:8082/project/8ecdde03-50a6-40fa-9691-d0a50095f62f 2025-10-21 16:29:17,967 - INFO - Validated that VN ctest-vn-57117078 is not found in API Server 2025-10-21 16:29:17,988 - DEBUG - VN ctest-vn-57117078 is not present in Agent 10.0.0.254 2025-10-21 16:29:17,988 - INFO - Validated that VN ctest-vn-57117078 is not in any agent 2025-10-21 16:29:18,020 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57117078 info 2025-10-21 16:29:18,020 - INFO - Deleting VN ctest-vn-73191200 2025-10-21 16:29:18,217 - DEBUG - Response for deleting network () 2025-10-21 16:29:18,217 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/18a54402-e59d-4691-93da-c5e6ff32f4a7 2025-10-21 16:29:18,225 - DEBUG - Response Code: 404 2025-10-21 16:29:18,225 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 16:29:18,233 - DEBUG - Requesting: http://10.0.0.254:8082/domain/572e6c3c-b47f-408f-a718-2d4ad77686ae 2025-10-21 16:29:18,290 - DEBUG - Requesting: http://10.0.0.254:8082/project/8ecdde03-50a6-40fa-9691-d0a50095f62f 2025-10-21 16:29:18,392 - INFO - Validated that VN ctest-vn-73191200 is not found in API Server 2025-10-21 16:29:18,420 - DEBUG - VN ctest-vn-73191200 is not present in Agent 10.0.0.254 2025-10-21 16:29:18,421 - INFO - Validated that VN ctest-vn-73191200 is not in any agent 2025-10-21 16:29:18,460 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73191200 info 2025-10-21 16:29:18,772 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 16:29:18,772 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2025-10-21 16:29:18,772 - INFO - -------------------------------------------------------------------------------- 2025-10-21 16:29:19,691 - INFO - Deleted project: ctest-TestBasicPolicy-40301034, ID : 8ecdde03-50a6-40fa-9691-d0a50095f62f