2025-08-11 02:05:28,570 - INFO - Domain Default found not creating 2025-08-11 02:05:28,711 - INFO - Project ctest-TestBasicPolicy-43880436 not found, creating it 2025-08-11 02:05:29,189 - INFO - Created Project:ctest-TestBasicPolicy-43880436, ID : 451f8a60-403f-4636-a594-93c597b18948 2025-08-11 02:05:31,477 - INFO - ================================================================================ 2025-08-11 02:05:31,477 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 02:05:31,477 - 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-11 02:05:31,739 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-08-11 02:05:31,739 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:05:31,739 - INFO - 2025-08-11 02:05:32,282 - DEBUG - Response for create_network : {'network': {'id': 'e56c987c-0c1b-42a7-b080-a739ef7c3c78', 'name': 'ctest-vn-06471239', 'tenant_id': '451f8a60403f4636a59493c597b18948', 'project_id': '451f8a60403f4636a59493c597b18948', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43880436', 'ctest-vn-06471239'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:05:32,521 - DEBUG - Response for create_subnet : {'subnet': {'id': '960fa1ea-93f7-45e7-a706-e38259706ab5', 'name': '', 'tenant_id': '451f8a60403f4636a59493c597b18948', 'network_id': 'e56c987c-0c1b-42a7-b080-a739ef7c3c78', 'ip_version': 4, 'cidr': '137.78.7.0/26', 'allocation_pools': [{'start': '137.78.7.2', 'end': '137.78.7.62'}], 'gateway_ip': '137.78.7.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.78.7.2', 'tags': [], 'project_id': '451f8a60403f4636a59493c597b18948'}} 2025-08-11 02:05:32,546 - INFO - Created VN ctest-vn-06471239 2025-08-11 02:05:32,604 - DEBUG - VN ctest-vn-06471239 UUID is e56c987c-0c1b-42a7-b080-a739ef7c3c78 2025-08-11 02:05:32,908 - DEBUG - Response for create_network : {'network': {'id': '2abe5165-b042-45e0-9058-81af1c7f9b63', 'name': 'ctest-vn-50895043', 'tenant_id': '451f8a60403f4636a59493c597b18948', 'project_id': '451f8a60403f4636a59493c597b18948', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43880436', 'ctest-vn-50895043'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:05:33,117 - DEBUG - Response for create_subnet : {'subnet': {'id': '87ad8927-84d3-4abc-9fe7-5246d468ebf5', 'name': '', 'tenant_id': '451f8a60403f4636a59493c597b18948', 'network_id': '2abe5165-b042-45e0-9058-81af1c7f9b63', 'ip_version': 4, 'cidr': '63.129.130.0/26', 'allocation_pools': [{'start': '63.129.130.2', 'end': '63.129.130.62'}], 'gateway_ip': '63.129.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.129.130.2', 'tags': [], 'project_id': '451f8a60403f4636a59493c597b18948'}} 2025-08-11 02:05:33,137 - INFO - Created VN ctest-vn-50895043 2025-08-11 02:05:33,192 - DEBUG - VN ctest-vn-50895043 UUID is 2abe5165-b042-45e0-9058-81af1c7f9b63 2025-08-11 02:05:33,324 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43880436:ctest-vn-06471239, 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-43880436:ctest-vn-50895043, 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-11 02:05:33,626 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e56c987c-0c1b-42a7-b080-a739ef7c3c78', 'name': 'ctest-vn-06471239', 'tenant_id': '451f8a60403f4636a59493c597b18948', 'project_id': '451f8a60403f4636a59493c597b18948', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['960fa1ea-93f7-45e7-a706-e38259706ab5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43880436', 'ctest-vn-06471239'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43880436', 'ctest-policy-allow-all-10879737']], 'subnet_ipam': [{'subnet_cidr': '137.78.7.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:05:33,918 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2abe5165-b042-45e0-9058-81af1c7f9b63', 'name': 'ctest-vn-50895043', 'tenant_id': '451f8a60403f4636a59493c597b18948', 'project_id': '451f8a60403f4636a59493c597b18948', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['87ad8927-84d3-4abc-9fe7-5246d468ebf5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43880436', 'ctest-vn-50895043'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43880436', 'ctest-policy-allow-all-10879737']], 'subnet_ipam': [{'subnet_cidr': '63.129.130.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:05:34,064 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-11 02:05:34,377 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-11 02:05:34,410 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ae93f2b5-73fa-40cd-bc91-721b233695b8 2025-08-11 02:05:34,425 - DEBUG - Requesting: http://10.0.0.27:8082/project/451f8a60-403f-4636-a594-93c597b18948 2025-08-11 02:05:34,506 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e56c987c-0c1b-42a7-b080-a739ef7c3c78 2025-08-11 02:05:34,520 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e56c987c-0c1b-42a7-b080-a739ef7c3c78 2025-08-11 02:05:34,532 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/caac95cc-d862-47a1-a48e-bdb880ee114d 2025-08-11 02:05:34,541 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/caac95cc-d862-47a1-a48e-bdb880ee114d 2025-08-11 02:05:34,551 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b82cb07d-e457-44e8-a71e-a2635df64e1e 2025-08-11 02:05:34,560 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 02:05:34,560 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e56c987c-0c1b-42a7-b080-a739ef7c3c78 2025-08-11 02:05:34,572 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/caac95cc-d862-47a1-a48e-bdb880ee114d 2025-08-11 02:05:34,591 - INFO - Verified VN network id 10 for VN e56c987c-0c1b-42a7-b080-a739ef7c3c78 2025-08-11 02:05:34,591 - INFO - Verifications in API Server for VN ctest-vn-06471239 passed 2025-08-11 02:05:34,591 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e56c987c-0c1b-42a7-b080-a739ef7c3c78 2025-08-11 02:05:34,606 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/caac95cc-d862-47a1-a48e-bdb880ee114d 2025-08-11 02:05:34,615 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/caac95cc-d862-47a1-a48e-bdb880ee114d 2025-08-11 02:05:34,623 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b82cb07d-e457-44e8-a71e-a2635df64e1e 2025-08-11 02:05:34,637 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43880436:ctest-vn-06471239', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43880436', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16531755990716727975', 'uuid-lslong': '12718349214967151736'}, 'enable': 'true', 'created': '2025-08-11T02:05:32', 'last-modified': '2025-08-11T02:05:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.032458'} 2025-08-11 02:05:34,644 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 02:05:34,644 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06471239 passed 2025-08-11 02:05:34,644 - DEBUG - ====Verifying policy data for ctest-vn-06471239 in API_Server ====== 2025-08-11 02:05:34,644 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-11 02:05:34,650 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ae93f2b5-73fa-40cd-bc91-721b233695b8 2025-08-11 02:05:34,662 - DEBUG - Requesting: http://10.0.0.27:8082/project/451f8a60-403f-4636-a594-93c597b18948 2025-08-11 02:05:34,736 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e56c987c-0c1b-42a7-b080-a739ef7c3c78 2025-08-11 02:05:34,747 - DEBUG - ==>Verifying data for policy with id: 5acc9e6c-3678-4783-b6db-a81509321027, fqn: ['default-domain', 'ctest-TestBasicPolicy-43880436', 'ctest-policy-allow-all-10879737'] 2025-08-11 02:05:34,747 - INFO - VN ctest-vn-06471239 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 02:05:34,747 - DEBUG - Verifying the vn in opserver 2025-08-11 02:05:34,747 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43880436:ctest-vn-06471239 virtual network link through opserver 10.0.0.27 2025-08-11 02:05:34,747 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-08-11 02:05:35,062 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-08-11 02:05:35,124 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43880436:ctest-vn-06471239', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43880436:ctest-vn-06471239?flat'} 2025-08-11 02:05:35,124 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43880436:ctest-vn-06471239 is found in opserver 2025-08-11 02:05:35,138 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 02:05:35,144 - DEBUG - VRF ids for VN ctest-vn-06471239: {} 2025-08-11 02:05:35,144 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-11 02:05:35,151 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ae93f2b5-73fa-40cd-bc91-721b233695b8 2025-08-11 02:05:35,166 - DEBUG - Requesting: http://10.0.0.27:8082/project/451f8a60-403f-4636-a594-93c597b18948 2025-08-11 02:05:35,241 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2abe5165-b042-45e0-9058-81af1c7f9b63 2025-08-11 02:05:35,258 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2abe5165-b042-45e0-9058-81af1c7f9b63 2025-08-11 02:05:35,270 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2bbd0be7-7c5f-4bc4-b996-574fe2599167 2025-08-11 02:05:35,277 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2bbd0be7-7c5f-4bc4-b996-574fe2599167 2025-08-11 02:05:35,285 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/ed5bf0f6-3dee-4bf2-8e53-93309569454d 2025-08-11 02:05:35,292 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 02:05:35,292 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2abe5165-b042-45e0-9058-81af1c7f9b63 2025-08-11 02:05:35,302 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2bbd0be7-7c5f-4bc4-b996-574fe2599167 2025-08-11 02:05:35,325 - INFO - Verified VN network id 11 for VN 2abe5165-b042-45e0-9058-81af1c7f9b63 2025-08-11 02:05:35,325 - INFO - Verifications in API Server for VN ctest-vn-50895043 passed 2025-08-11 02:05:35,326 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2abe5165-b042-45e0-9058-81af1c7f9b63 2025-08-11 02:05:35,336 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2bbd0be7-7c5f-4bc4-b996-574fe2599167 2025-08-11 02:05:35,346 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2bbd0be7-7c5f-4bc4-b996-574fe2599167 2025-08-11 02:05:35,353 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/ed5bf0f6-3dee-4bf2-8e53-93309569454d 2025-08-11 02:05:35,366 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43880436:ctest-vn-50895043', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43880436', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3079988692358677984', 'uuid-lslong': '10401205928509545315'}, 'enable': 'true', 'created': '2025-08-11T02:05:32', 'last-modified': '2025-08-11T02:05:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.519489'} 2025-08-11 02:05:35,372 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 02:05:35,372 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50895043 passed 2025-08-11 02:05:35,372 - DEBUG - ====Verifying policy data for ctest-vn-50895043 in API_Server ====== 2025-08-11 02:05:35,372 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-11 02:05:35,378 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ae93f2b5-73fa-40cd-bc91-721b233695b8 2025-08-11 02:05:35,390 - DEBUG - Requesting: http://10.0.0.27:8082/project/451f8a60-403f-4636-a594-93c597b18948 2025-08-11 02:05:35,466 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2abe5165-b042-45e0-9058-81af1c7f9b63 2025-08-11 02:05:35,477 - DEBUG - ==>Verifying data for policy with id: 5acc9e6c-3678-4783-b6db-a81509321027, fqn: ['default-domain', 'ctest-TestBasicPolicy-43880436', 'ctest-policy-allow-all-10879737'] 2025-08-11 02:05:35,477 - INFO - VN ctest-vn-50895043 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 02:05:35,477 - DEBUG - Verifying the vn in opserver 2025-08-11 02:05:35,478 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43880436:ctest-vn-50895043 virtual network link through opserver 10.0.0.27 2025-08-11 02:05:35,478 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-08-11 02:05:35,491 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43880436:ctest-vn-50895043', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43880436:ctest-vn-50895043?flat'} 2025-08-11 02:05:35,491 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43880436:ctest-vn-50895043 is found in opserver 2025-08-11 02:05:35,505 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 02:05:35,512 - DEBUG - VRF ids for VN ctest-vn-50895043: {} 2025-08-11 02:05:35,579 - DEBUG - Services list from nova: [, , ] 2025-08-11 02:05:36,633 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3793-1) 2025-08-11 02:05:37,812 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3793-1) 2025-08-11 02:05:37,812 - INFO - Waiting for VM ctest-TestBasicPolicy-43880436-12744202 to be up.. 2025-08-11 02:05:37,904 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 02:05:42,991 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:05:42,992 - INFO - VM name : ctest-TestBasicPolicy-43880436-12744202 2025-08-11 02:05:43,074 - DEBUG - VM ctest-TestBasicPolicy-43880436-12744202 ID is 02082ba1-2268-46b4-ac83-8dbd87c25272 2025-08-11 02:05:43,093 - DEBUG - VM ctest-TestBasicPolicy-43880436-12744202 launched on Node cn-jenkins-deploy-platform-ansible-os-3793-1 2025-08-11 02:05:43,171 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/02082ba1-2268-46b4-ac83-8dbd87c25272 2025-08-11 02:05:43,182 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/bbd5b1c6-e3b4-42aa-b97d-818a8bc9802d 2025-08-11 02:05:46,439 - 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 1010ms') 2025-08-11 02:05:46,439 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43880436-12744202 failed! 2025-08-11 02:05:46,496 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43880436:ctest-vn-06471239 is 137.78.7.1 and allocation pool is NOT set 2025-08-11 02:05:48,558 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.73 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.731/5.071/8.411/3.340 ms') 2025-08-11 02:05:48,558 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43880436-12744202 passed 2025-08-11 02:05:48,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:05:48,712 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43880436-12744202, IP 137.78.7.3, Port 22 2025-08-11 02:05:48,868 - DEBUG - VM ctest-TestBasicPolicy-43880436-12744202 is ready for SSH connections 2025-08-11 02:05:48,868 - INFO - Waiting for VM ctest-TestBasicPolicy-43880436-01609062 to be up.. 2025-08-11 02:05:48,938 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:05:48,938 - INFO - VM name : ctest-TestBasicPolicy-43880436-01609062 2025-08-11 02:05:49,010 - DEBUG - VM ctest-TestBasicPolicy-43880436-01609062 ID is 2f5d4692-d16c-4e32-a1e1-f3d735301f9b 2025-08-11 02:05:49,010 - DEBUG - VM ctest-TestBasicPolicy-43880436-01609062 launched on Node cn-jenkins-deploy-platform-ansible-os-3793-1 2025-08-11 02:05:49,081 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2f5d4692-d16c-4e32-a1e1-f3d735301f9b 2025-08-11 02:05:49,090 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/1327ade8-947e-498b-9c9c-b247049bc6ec 2025-08-11 02:05:50,326 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.469 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.469/1.811/3.154/1.342 ms') 2025-08-11 02:05:50,326 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43880436-01609062 passed 2025-08-11 02:05:50,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:05:50,489 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43880436-01609062, IP 63.129.130.3, Port 22 2025-08-11 02:05:50,643 - DEBUG - VM ctest-TestBasicPolicy-43880436-01609062 is ready for SSH connections 2025-08-11 02:05:50,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:05:50,644 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.129.130.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-11 02:05:50,644 - DEBUG - ping -s 56 -c 3 -W 1 63.129.130.3 2025-08-11 02:05:54,863 - DEBUG - PING 63.129.130.3 (63.129.130.3): 56 data bytes 64 bytes from 63.129.130.3: seq=0 ttl=63 time=4.160 ms 64 bytes from 63.129.130.3: seq=1 ttl=63 time=0.892 ms 64 bytes from 63.129.130.3: seq=2 ttl=63 time=0.884 ms --- 63.129.130.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.884/1.978/4.160 ms 2025-08-11 02:05:54,863 - INFO - Ping to IP 63.129.130.3 from VM ctest-TestBasicPolicy-43880436-12744202 passed 2025-08-11 02:05:55,044 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5acc9e6c-3678-4783-b6db-a81509321027", "href": "http://10.0.0.27:8082/network-policy/5acc9e6c-3678-4783-b6db-a81509321027"}} 2025-08-11 02:05:55,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:05:55,044 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.129.130.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-11 02:05:55,044 - DEBUG - ping -s 56 -c 3 -W 1 63.129.130.3 2025-08-11 02:05:58,261 - DEBUG - PING 63.129.130.3 (63.129.130.3): 56 data bytes --- 63.129.130.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 02:05:58,261 - WARNING - Ping to IP 63.129.130.3 from VM ctest-TestBasicPolicy-43880436-12744202 failed 2025-08-11 02:05:58,261 - INFO - Deleting VM ctest-TestBasicPolicy-43880436-01609062 2025-08-11 02:05:58,358 - INFO - Deleting VM ctest-TestBasicPolicy-43880436-12744202 2025-08-11 02:05:58,830 - INFO - Deleted policy ctest-policy-allow-all-10879737 2025-08-11 02:05:58,830 - INFO - Deleting VN ctest-vn-50895043 2025-08-11 02:05:58,871 - DEBUG - VN 2abe5165-b042-45e0-9058-81af1c7f9b63 still in use: Unable to complete operation on network 2abe5165-b042-45e0-9058-81af1c7f9b63. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9a7ff9e5-8846-4288-b48c-0831ebd9f004'] 2025-08-11 02:05:58,871 - WARNING - Deleting VN ctest-vn-50895043 failed..Will retry 2025-08-11 02:06:00,991 - DEBUG - Response for deleting network () 2025-08-11 02:06:00,991 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/2bbd0be7-7c5f-4bc4-b996-574fe2599167 2025-08-11 02:06:00,998 - DEBUG - Response Code: 404 2025-08-11 02:06:00,998 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-11 02:06:01,005 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ae93f2b5-73fa-40cd-bc91-721b233695b8 2025-08-11 02:06:01,062 - DEBUG - Requesting: http://10.0.0.27:8082/project/451f8a60-403f-4636-a594-93c597b18948 2025-08-11 02:06:01,137 - INFO - Validated that VN ctest-vn-50895043 is not found in API Server 2025-08-11 02:06:01,150 - DEBUG - VN ctest-vn-50895043 is not present in Agent 10.0.0.27 2025-08-11 02:06:01,150 - INFO - Validated that VN ctest-vn-50895043 is not in any agent 2025-08-11 02:06:01,166 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50895043 info 2025-08-11 02:06:01,166 - INFO - Deleting VN ctest-vn-06471239 2025-08-11 02:06:01,278 - DEBUG - Response for deleting network () 2025-08-11 02:06:01,278 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/caac95cc-d862-47a1-a48e-bdb880ee114d 2025-08-11 02:06:01,285 - DEBUG - Response Code: 404 2025-08-11 02:06:01,286 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-11 02:06:01,293 - DEBUG - Requesting: http://10.0.0.27:8082/domain/ae93f2b5-73fa-40cd-bc91-721b233695b8 2025-08-11 02:06:01,350 - DEBUG - Requesting: http://10.0.0.27:8082/project/451f8a60-403f-4636-a594-93c597b18948 2025-08-11 02:06:01,427 - INFO - Validated that VN ctest-vn-06471239 is not found in API Server 2025-08-11 02:06:01,439 - DEBUG - VN ctest-vn-06471239 is not present in Agent 10.0.0.27 2025-08-11 02:06:01,439 - INFO - Validated that VN ctest-vn-06471239 is not in any agent 2025-08-11 02:06:01,454 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06471239 info 2025-08-11 02:06:01,714 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 02:06:01,714 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-11 02:06:01,714 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:06:02,383 - INFO - Deleted project: ctest-TestBasicPolicy-43880436, ID : 451f8a60-403f-4636-a594-93c597b18948