2025-04-21 02:15:09,150 - INFO - Domain Default found not creating 2025-04-21 02:15:09,320 - INFO - Project ctest-TestBasicPolicy-32025424 not found, creating it 2025-04-21 02:15:09,820 - INFO - Created Project:ctest-TestBasicPolicy-32025424, ID : ce99a8e0-c7a7-4e8c-ad75-9c41d0b47c1e 2025-04-21 02:15:11,459 - INFO - ================================================================================ 2025-04-21 02:15:11,459 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-21 02:15:11,459 - 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-04-21 02:15:11,718 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2025-04-21 02:15:11,718 - INFO - Initial checks done. Running the testcase now 2025-04-21 02:15:11,718 - INFO - 2025-04-21 02:15:12,311 - DEBUG - Response for create_network : {'network': {'id': 'adb5ee8a-e9fe-4d46-8312-98890180ffc4', 'name': 'ctest-vn-26991027', 'tenant_id': 'ce99a8e0c7a74e8cad759c41d0b47c1e', 'project_id': 'ce99a8e0c7a74e8cad759c41d0b47c1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32025424', 'ctest-vn-26991027'], 'port_security_enabled': True, 'description': ''}} 2025-04-21 02:15:12,528 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1e7bd98-0864-48f4-9a40-89c275d7831f', 'name': '', 'tenant_id': 'ce99a8e0c7a74e8cad759c41d0b47c1e', 'network_id': 'adb5ee8a-e9fe-4d46-8312-98890180ffc4', 'ip_version': 4, 'cidr': '21.211.47.192/26', 'allocation_pools': [{'start': '21.211.47.194', 'end': '21.211.47.254'}], 'gateway_ip': '21.211.47.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.211.47.194', 'tags': [], 'project_id': 'ce99a8e0c7a74e8cad759c41d0b47c1e'}} 2025-04-21 02:15:12,548 - INFO - Created VN ctest-vn-26991027 2025-04-21 02:15:12,603 - DEBUG - VN ctest-vn-26991027 UUID is adb5ee8a-e9fe-4d46-8312-98890180ffc4 2025-04-21 02:15:12,939 - DEBUG - Response for create_network : {'network': {'id': '922e2df0-c6eb-44b7-869e-726a5fe5fc18', 'name': 'ctest-vn-41625431', 'tenant_id': 'ce99a8e0c7a74e8cad759c41d0b47c1e', 'project_id': 'ce99a8e0c7a74e8cad759c41d0b47c1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32025424', 'ctest-vn-41625431'], 'port_security_enabled': True, 'description': ''}} 2025-04-21 02:15:13,170 - DEBUG - Response for create_subnet : {'subnet': {'id': '904d8eec-acb0-473f-8784-548a2e55d04e', 'name': '', 'tenant_id': 'ce99a8e0c7a74e8cad759c41d0b47c1e', 'network_id': '922e2df0-c6eb-44b7-869e-726a5fe5fc18', 'ip_version': 4, 'cidr': '101.93.161.192/26', 'allocation_pools': [{'start': '101.93.161.194', 'end': '101.93.161.254'}], 'gateway_ip': '101.93.161.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.93.161.194', 'tags': [], 'project_id': 'ce99a8e0c7a74e8cad759c41d0b47c1e'}} 2025-04-21 02:15:13,191 - INFO - Created VN ctest-vn-41625431 2025-04-21 02:15:13,247 - DEBUG - VN ctest-vn-41625431 UUID is 922e2df0-c6eb-44b7-869e-726a5fe5fc18 2025-04-21 02:15:13,369 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32025424:ctest-vn-26991027, 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-32025424:ctest-vn-41625431, 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-04-21 02:15:13,689 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'adb5ee8a-e9fe-4d46-8312-98890180ffc4', 'name': 'ctest-vn-26991027', 'tenant_id': 'ce99a8e0c7a74e8cad759c41d0b47c1e', 'project_id': 'ce99a8e0c7a74e8cad759c41d0b47c1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f1e7bd98-0864-48f4-9a40-89c275d7831f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32025424', 'ctest-vn-26991027'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32025424', 'ctest-policy-allow-all-98979502']], 'subnet_ipam': [{'subnet_cidr': '21.211.47.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-21 02:15:13,955 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '922e2df0-c6eb-44b7-869e-726a5fe5fc18', 'name': 'ctest-vn-41625431', 'tenant_id': 'ce99a8e0c7a74e8cad759c41d0b47c1e', 'project_id': 'ce99a8e0c7a74e8cad759c41d0b47c1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['904d8eec-acb0-473f-8784-548a2e55d04e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32025424', 'ctest-vn-41625431'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32025424', 'ctest-policy-allow-all-98979502']], 'subnet_ipam': [{'subnet_cidr': '101.93.161.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-21 02:15:14,103 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-21 02:15:14,403 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-21 02:15:14,435 - DEBUG - Requesting: http://10.0.0.19:8082/domain/39c0a871-4d00-49c7-8aab-e077259d232e 2025-04-21 02:15:14,450 - DEBUG - Requesting: http://10.0.0.19:8082/project/ce99a8e0-c7a7-4e8c-ad75-9c41d0b47c1e 2025-04-21 02:15:14,527 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/adb5ee8a-e9fe-4d46-8312-98890180ffc4 2025-04-21 02:15:14,541 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/adb5ee8a-e9fe-4d46-8312-98890180ffc4 2025-04-21 02:15:14,554 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/76dfaf86-08ac-49c8-a954-56e1765d6b25 2025-04-21 02:15:14,563 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/76dfaf86-08ac-49c8-a954-56e1765d6b25 2025-04-21 02:15:14,571 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3c50f589-36a5-4676-afa2-669d5533f3dc 2025-04-21 02:15:14,578 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-21 02:15:14,579 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/adb5ee8a-e9fe-4d46-8312-98890180ffc4 2025-04-21 02:15:14,589 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/76dfaf86-08ac-49c8-a954-56e1765d6b25 2025-04-21 02:15:14,609 - INFO - Verified VN network id 9 for VN adb5ee8a-e9fe-4d46-8312-98890180ffc4 2025-04-21 02:15:14,609 - INFO - Verifications in API Server for VN ctest-vn-26991027 passed 2025-04-21 02:15:14,609 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/adb5ee8a-e9fe-4d46-8312-98890180ffc4 2025-04-21 02:15:14,623 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/76dfaf86-08ac-49c8-a954-56e1765d6b25 2025-04-21 02:15:14,633 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/76dfaf86-08ac-49c8-a954-56e1765d6b25 2025-04-21 02:15:14,643 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3c50f589-36a5-4676-afa2-669d5533f3dc 2025-04-21 02:15:14,656 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32025424:ctest-vn-26991027', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32025424', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12517173019744816454', 'uuid-lslong': '9444779082752524228'}, 'enable': 'true', 'created': '2025-04-21T02:15:12', 'last-modified': '2025-04-21T02:15:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.994461'} 2025-04-21 02:15:14,663 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-21 02:15:14,663 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26991027 passed 2025-04-21 02:15:14,663 - DEBUG - ====Verifying policy data for ctest-vn-26991027 in API_Server ====== 2025-04-21 02:15:14,664 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-21 02:15:14,670 - DEBUG - Requesting: http://10.0.0.19:8082/domain/39c0a871-4d00-49c7-8aab-e077259d232e 2025-04-21 02:15:14,683 - DEBUG - Requesting: http://10.0.0.19:8082/project/ce99a8e0-c7a7-4e8c-ad75-9c41d0b47c1e 2025-04-21 02:15:14,760 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/adb5ee8a-e9fe-4d46-8312-98890180ffc4 2025-04-21 02:15:14,772 - DEBUG - ==>Verifying data for policy with id: e7780004-f801-439a-84be-a5ebf021fc20, fqn: ['default-domain', 'ctest-TestBasicPolicy-32025424', 'ctest-policy-allow-all-98979502'] 2025-04-21 02:15:14,772 - INFO - VN ctest-vn-26991027 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-21 02:15:14,772 - DEBUG - Verifying the vn in opserver 2025-04-21 02:15:14,772 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32025424:ctest-vn-26991027 virtual network link through opserver 10.0.0.19 2025-04-21 02:15:14,772 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-04-21 02:15:15,067 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-04-21 02:15:15,423 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32025424:ctest-vn-26991027', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32025424:ctest-vn-26991027?flat'} 2025-04-21 02:15:15,423 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32025424:ctest-vn-26991027 is found in opserver 2025-04-21 02:15:15,436 - DEBUG - Do not have enough data to verify VN in agent 2025-04-21 02:15:15,441 - DEBUG - VRF ids for VN ctest-vn-26991027: {} 2025-04-21 02:15:15,441 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-21 02:15:15,448 - DEBUG - Requesting: http://10.0.0.19:8082/domain/39c0a871-4d00-49c7-8aab-e077259d232e 2025-04-21 02:15:15,462 - DEBUG - Requesting: http://10.0.0.19:8082/project/ce99a8e0-c7a7-4e8c-ad75-9c41d0b47c1e 2025-04-21 02:15:15,554 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/922e2df0-c6eb-44b7-869e-726a5fe5fc18 2025-04-21 02:15:15,569 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/922e2df0-c6eb-44b7-869e-726a5fe5fc18 2025-04-21 02:15:15,580 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ff3e27d9-5e20-4196-abca-796ec0a03d55 2025-04-21 02:15:15,588 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ff3e27d9-5e20-4196-abca-796ec0a03d55 2025-04-21 02:15:15,595 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f05b02d7-fd98-4ca1-ba4f-134e5bcfa6c3 2025-04-21 02:15:15,604 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-21 02:15:15,604 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/922e2df0-c6eb-44b7-869e-726a5fe5fc18 2025-04-21 02:15:15,615 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ff3e27d9-5e20-4196-abca-796ec0a03d55 2025-04-21 02:15:15,629 - INFO - Verified VN network id 10 for VN 922e2df0-c6eb-44b7-869e-726a5fe5fc18 2025-04-21 02:15:15,629 - INFO - Verifications in API Server for VN ctest-vn-41625431 passed 2025-04-21 02:15:15,629 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/922e2df0-c6eb-44b7-869e-726a5fe5fc18 2025-04-21 02:15:15,638 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ff3e27d9-5e20-4196-abca-796ec0a03d55 2025-04-21 02:15:15,644 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ff3e27d9-5e20-4196-abca-796ec0a03d55 2025-04-21 02:15:15,653 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f05b02d7-fd98-4ca1-ba4f-134e5bcfa6c3 2025-04-21 02:15:15,665 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32025424:ctest-vn-41625431', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32025424', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10533407090618877111', 'uuid-lslong': '9700316448603634712'}, 'enable': 'true', 'created': '2025-04-21T02:15:12', 'last-modified': '2025-04-21T02:15:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.739461'} 2025-04-21 02:15:15,671 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-21 02:15:15,671 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41625431 passed 2025-04-21 02:15:15,672 - DEBUG - ====Verifying policy data for ctest-vn-41625431 in API_Server ====== 2025-04-21 02:15:15,672 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-21 02:15:15,678 - DEBUG - Requesting: http://10.0.0.19:8082/domain/39c0a871-4d00-49c7-8aab-e077259d232e 2025-04-21 02:15:15,689 - DEBUG - Requesting: http://10.0.0.19:8082/project/ce99a8e0-c7a7-4e8c-ad75-9c41d0b47c1e 2025-04-21 02:15:15,772 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/922e2df0-c6eb-44b7-869e-726a5fe5fc18 2025-04-21 02:15:15,784 - DEBUG - ==>Verifying data for policy with id: e7780004-f801-439a-84be-a5ebf021fc20, fqn: ['default-domain', 'ctest-TestBasicPolicy-32025424', 'ctest-policy-allow-all-98979502'] 2025-04-21 02:15:15,784 - INFO - VN ctest-vn-41625431 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-21 02:15:15,784 - DEBUG - Verifying the vn in opserver 2025-04-21 02:15:15,784 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32025424:ctest-vn-41625431 virtual network link through opserver 10.0.0.19 2025-04-21 02:15:15,785 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-04-21 02:15:15,796 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32025424:ctest-vn-41625431', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32025424:ctest-vn-41625431?flat'} 2025-04-21 02:15:15,797 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32025424:ctest-vn-41625431 is found in opserver 2025-04-21 02:15:15,807 - DEBUG - Do not have enough data to verify VN in agent 2025-04-21 02:15:15,812 - DEBUG - VRF ids for VN ctest-vn-41625431: {} 2025-04-21 02:15:15,878 - DEBUG - Services list from nova: [, , ] 2025-04-21 02:15:16,961 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3145-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3145-1) 2025-04-21 02:15:18,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3145-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3145-1) 2025-04-21 02:15:18,258 - INFO - Waiting for VM ctest-TestBasicPolicy-32025424-69608565 to be up.. 2025-04-21 02:15:18,366 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-21 02:15:23,449 - DEBUG - VM is in ACTIVE state now 2025-04-21 02:15:23,449 - INFO - VM name : ctest-TestBasicPolicy-32025424-69608565 2025-04-21 02:15:23,536 - DEBUG - VM ctest-TestBasicPolicy-32025424-69608565 ID is 9aee1030-a202-46d2-8490-858902efa609 2025-04-21 02:15:23,557 - DEBUG - VM ctest-TestBasicPolicy-32025424-69608565 launched on Node cn-jenkins-deploy-platform-ansible-os-3145-1 2025-04-21 02:15:23,653 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/9aee1030-a202-46d2-8490-858902efa609 2025-04-21 02:15:23,663 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/b26a968f-0603-4c77-b236-385eb5c0e4d8 2025-04-21 02:15:26,941 - 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 1013ms') 2025-04-21 02:15:26,941 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32025424-69608565 failed! 2025-04-21 02:15:26,999 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32025424:ctest-vn-26991027 is 21.211.47.193 and allocation pool is NOT set 2025-04-21 02:15:29,058 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.937 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 = 0.937/4.967/8.997/4.030 ms') 2025-04-21 02:15:29,059 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32025424-69608565 passed 2025-04-21 02:15:29,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 02:15:29,215 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32025424-69608565, IP 21.211.47.195, Port 22 2025-04-21 02:15:29,375 - DEBUG - VM ctest-TestBasicPolicy-32025424-69608565 is ready for SSH connections 2025-04-21 02:15:29,375 - INFO - Waiting for VM ctest-TestBasicPolicy-32025424-60946258 to be up.. 2025-04-21 02:15:29,469 - DEBUG - VM is in ACTIVE state now 2025-04-21 02:15:29,469 - INFO - VM name : ctest-TestBasicPolicy-32025424-60946258 2025-04-21 02:15:29,551 - DEBUG - VM ctest-TestBasicPolicy-32025424-60946258 ID is edac5cc3-646f-4700-a320-d25e7278d294 2025-04-21 02:15:29,551 - DEBUG - VM ctest-TestBasicPolicy-32025424-60946258 launched on Node cn-jenkins-deploy-platform-ansible-os-3145-1 2025-04-21 02:15:29,638 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/edac5cc3-646f-4700-a320-d25e7278d294 2025-04-21 02:15:29,650 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/b4039041-bd53-4e77-8175-a476dc6644cd 2025-04-21 02:15:30,889 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.609 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.609/2.208/3.808/1.599 ms') 2025-04-21 02:15:30,889 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-32025424-60946258 passed 2025-04-21 02:15:31,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 02:15:31,059 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32025424-60946258, IP 101.93.161.195, Port 22 2025-04-21 02:15:31,226 - DEBUG - VM ctest-TestBasicPolicy-32025424-60946258 is ready for SSH connections 2025-04-21 02:15:31,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 02:15:31,226 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.93.161.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-04-21 02:15:31,226 - DEBUG - ping -s 56 -c 3 -W 1 101.93.161.195 2025-04-21 02:15:34,908 - DEBUG - PING 101.93.161.195 (101.93.161.195): 56 data bytes 64 bytes from 101.93.161.195: seq=0 ttl=63 time=4.676 ms 64 bytes from 101.93.161.195: seq=1 ttl=63 time=1.052 ms 64 bytes from 101.93.161.195: seq=2 ttl=63 time=1.581 ms --- 101.93.161.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.052/2.436/4.676 ms 2025-04-21 02:15:34,908 - INFO - Ping to IP 101.93.161.195 from VM ctest-TestBasicPolicy-32025424-69608565 passed 2025-04-21 02:15:35,095 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e7780004-f801-439a-84be-a5ebf021fc20", "href": "http://10.0.0.19:8082/network-policy/e7780004-f801-439a-84be-a5ebf021fc20"}} 2025-04-21 02:15:35,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 02:15:35,095 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.93.161.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-04-21 02:15:35,095 - DEBUG - ping -s 56 -c 3 -W 1 101.93.161.195 2025-04-21 02:15:38,296 - DEBUG - PING 101.93.161.195 (101.93.161.195): 56 data bytes 64 bytes from 101.93.161.195: seq=0 ttl=63 time=1.411 ms --- 101.93.161.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.411/1.411/1.411 ms 2025-04-21 02:15:38,297 - WARNING - Ping to IP 101.93.161.195 from VM ctest-TestBasicPolicy-32025424-69608565 failed 2025-04-21 02:15:38,297 - INFO - Deleting VM ctest-TestBasicPolicy-32025424-60946258 2025-04-21 02:15:38,359 - INFO - Deleting VM ctest-TestBasicPolicy-32025424-69608565 2025-04-21 02:15:38,794 - INFO - Deleted policy ctest-policy-allow-all-98979502 2025-04-21 02:15:38,794 - INFO - Deleting VN ctest-vn-41625431 2025-04-21 02:15:38,832 - DEBUG - VN 922e2df0-c6eb-44b7-869e-726a5fe5fc18 still in use: Unable to complete operation on network 922e2df0-c6eb-44b7-869e-726a5fe5fc18. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6cfceb7f-0571-4893-a8ad-d16293d6d2c0'] 2025-04-21 02:15:38,832 - WARNING - Deleting VN ctest-vn-41625431 failed..Will retry 2025-04-21 02:15:40,945 - DEBUG - Response for deleting network () 2025-04-21 02:15:40,945 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ff3e27d9-5e20-4196-abca-796ec0a03d55 2025-04-21 02:15:40,953 - DEBUG - Response Code: 404 2025-04-21 02:15:40,953 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-21 02:15:40,963 - DEBUG - Requesting: http://10.0.0.19:8082/domain/39c0a871-4d00-49c7-8aab-e077259d232e 2025-04-21 02:15:41,017 - DEBUG - Requesting: http://10.0.0.19:8082/project/ce99a8e0-c7a7-4e8c-ad75-9c41d0b47c1e 2025-04-21 02:15:41,094 - INFO - Validated that VN ctest-vn-41625431 is not found in API Server 2025-04-21 02:15:41,108 - DEBUG - VN ctest-vn-41625431 is not present in Agent 10.0.0.19 2025-04-21 02:15:41,108 - INFO - Validated that VN ctest-vn-41625431 is not in any agent 2025-04-21 02:15:41,125 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41625431 info 2025-04-21 02:15:41,126 - INFO - Deleting VN ctest-vn-26991027 2025-04-21 02:15:41,254 - DEBUG - Response for deleting network () 2025-04-21 02:15:41,254 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/76dfaf86-08ac-49c8-a954-56e1765d6b25 2025-04-21 02:15:41,265 - DEBUG - Response Code: 404 2025-04-21 02:15:41,265 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-21 02:15:41,271 - DEBUG - Requesting: http://10.0.0.19:8082/domain/39c0a871-4d00-49c7-8aab-e077259d232e 2025-04-21 02:15:41,325 - DEBUG - Requesting: http://10.0.0.19:8082/project/ce99a8e0-c7a7-4e8c-ad75-9c41d0b47c1e 2025-04-21 02:15:41,400 - INFO - Validated that VN ctest-vn-26991027 is not found in API Server 2025-04-21 02:15:41,416 - DEBUG - VN ctest-vn-26991027 is not present in Agent 10.0.0.19 2025-04-21 02:15:41,416 - INFO - Validated that VN ctest-vn-26991027 is not in any agent 2025-04-21 02:15:41,436 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26991027 info 2025-04-21 02:15:41,698 - DEBUG - No XMPP flaps were noticed during the test 2025-04-21 02:15:41,698 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-04-21 02:15:41,698 - INFO - -------------------------------------------------------------------------------- 2025-04-21 02:15:42,421 - INFO - Deleted project: ctest-TestBasicPolicy-32025424, ID : ce99a8e0-c7a7-4e8c-ad75-9c41d0b47c1e