2025-05-15 02:10:30,106 - INFO - Domain Default found not creating 2025-05-15 02:10:30,264 - INFO - Project ctest-TestBasicPolicy-61862760 not found, creating it 2025-05-15 02:10:30,784 - INFO - Created Project:ctest-TestBasicPolicy-61862760, ID : f15d9820-94a7-44d7-9027-007e9b882bcc 2025-05-15 02:10:32,190 - INFO - ================================================================================ 2025-05-15 02:10:32,191 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-15 02:10:32,191 - 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-05-15 02:10:32,447 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.254': '0'}} with 2025-05-15 02:10:32,447 - INFO - Initial checks done. Running the testcase now 2025-05-15 02:10:32,447 - INFO - 2025-05-15 02:10:32,979 - DEBUG - Response for create_network : {'network': {'id': '69b6ab0c-dc5e-458e-bfc5-aa8409713447', 'name': 'ctest-vn-93549286', 'tenant_id': 'f15d982094a744d79027007e9b882bcc', 'project_id': 'f15d982094a744d79027007e9b882bcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61862760', 'ctest-vn-93549286'], 'port_security_enabled': True, 'description': ''}} 2025-05-15 02:10:33,178 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cfc9064-417c-46db-97ba-359d92dd021c', 'name': '', 'tenant_id': 'f15d982094a744d79027007e9b882bcc', 'network_id': '69b6ab0c-dc5e-458e-bfc5-aa8409713447', 'ip_version': 4, 'cidr': '144.88.131.0/26', 'allocation_pools': [{'start': '144.88.131.2', 'end': '144.88.131.62'}], 'gateway_ip': '144.88.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.88.131.2', 'tags': [], 'project_id': 'f15d982094a744d79027007e9b882bcc'}} 2025-05-15 02:10:33,196 - INFO - Created VN ctest-vn-93549286 2025-05-15 02:10:33,248 - DEBUG - VN ctest-vn-93549286 UUID is 69b6ab0c-dc5e-458e-bfc5-aa8409713447 2025-05-15 02:10:33,554 - DEBUG - Response for create_network : {'network': {'id': '088cfdce-3746-4874-9532-6d64400d88b1', 'name': 'ctest-vn-34010837', 'tenant_id': 'f15d982094a744d79027007e9b882bcc', 'project_id': 'f15d982094a744d79027007e9b882bcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61862760', 'ctest-vn-34010837'], 'port_security_enabled': True, 'description': ''}} 2025-05-15 02:10:33,740 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f535614-7416-44e2-a37b-b516c67cfe58', 'name': '', 'tenant_id': 'f15d982094a744d79027007e9b882bcc', 'network_id': '088cfdce-3746-4874-9532-6d64400d88b1', 'ip_version': 4, 'cidr': '91.178.61.64/26', 'allocation_pools': [{'start': '91.178.61.66', 'end': '91.178.61.126'}], 'gateway_ip': '91.178.61.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.178.61.66', 'tags': [], 'project_id': 'f15d982094a744d79027007e9b882bcc'}} 2025-05-15 02:10:33,760 - INFO - Created VN ctest-vn-34010837 2025-05-15 02:10:33,816 - DEBUG - VN ctest-vn-34010837 UUID is 088cfdce-3746-4874-9532-6d64400d88b1 2025-05-15 02:10:33,931 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61862760:ctest-vn-93549286, 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-61862760:ctest-vn-34010837, 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-05-15 02:10:34,231 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '69b6ab0c-dc5e-458e-bfc5-aa8409713447', 'name': 'ctest-vn-93549286', 'tenant_id': 'f15d982094a744d79027007e9b882bcc', 'project_id': 'f15d982094a744d79027007e9b882bcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7cfc9064-417c-46db-97ba-359d92dd021c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61862760', 'ctest-vn-93549286'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61862760', 'ctest-policy-allow-all-49211342']], 'subnet_ipam': [{'subnet_cidr': '144.88.131.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-15 02:10:34,477 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '088cfdce-3746-4874-9532-6d64400d88b1', 'name': 'ctest-vn-34010837', 'tenant_id': 'f15d982094a744d79027007e9b882bcc', 'project_id': 'f15d982094a744d79027007e9b882bcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8f535614-7416-44e2-a37b-b516c67cfe58'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61862760', 'ctest-vn-34010837'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61862760', 'ctest-policy-allow-all-49211342']], 'subnet_ipam': [{'subnet_cidr': '91.178.61.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-15 02:10:34,644 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-15 02:10:34,940 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-15 02:10:34,974 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b1f37d3e-907a-4fa2-80e1-9a265beb35e1 2025-05-15 02:10:34,993 - DEBUG - Requesting: http://10.0.0.130:8082/project/f15d9820-94a7-44d7-9027-007e9b882bcc 2025-05-15 02:10:35,070 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/69b6ab0c-dc5e-458e-bfc5-aa8409713447 2025-05-15 02:10:35,083 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/69b6ab0c-dc5e-458e-bfc5-aa8409713447 2025-05-15 02:10:35,094 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/31bf3fac-75ac-415a-9d2f-a0bd35e57268 2025-05-15 02:10:35,102 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/31bf3fac-75ac-415a-9d2f-a0bd35e57268 2025-05-15 02:10:35,111 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/1caf8859-2e9e-451a-b578-14c8c23f9cf5 2025-05-15 02:10:35,118 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-15 02:10:35,118 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/69b6ab0c-dc5e-458e-bfc5-aa8409713447 2025-05-15 02:10:35,129 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/31bf3fac-75ac-415a-9d2f-a0bd35e57268 2025-05-15 02:10:35,145 - INFO - Verified VN network id 8 for VN 69b6ab0c-dc5e-458e-bfc5-aa8409713447 2025-05-15 02:10:35,145 - INFO - Verifications in API Server for VN ctest-vn-93549286 passed 2025-05-15 02:10:35,145 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/69b6ab0c-dc5e-458e-bfc5-aa8409713447 2025-05-15 02:10:35,157 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/31bf3fac-75ac-415a-9d2f-a0bd35e57268 2025-05-15 02:10:35,167 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/31bf3fac-75ac-415a-9d2f-a0bd35e57268 2025-05-15 02:10:35,176 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/1caf8859-2e9e-451a-b578-14c8c23f9cf5 2025-05-15 02:10:35,192 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61862760:ctest-vn-93549286', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61862760', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7617463891468895630', 'uuid-lslong': '13818638515727053895'}, 'enable': 'true', 'created': '2025-05-15T02:10:32', 'last-modified': '2025-05-15T02:10:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.981619'} 2025-05-15 02:10:35,199 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-15 02:10:35,199 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93549286 passed 2025-05-15 02:10:35,199 - DEBUG - ====Verifying policy data for ctest-vn-93549286 in API_Server ====== 2025-05-15 02:10:35,199 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-15 02:10:35,205 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b1f37d3e-907a-4fa2-80e1-9a265beb35e1 2025-05-15 02:10:35,218 - DEBUG - Requesting: http://10.0.0.130:8082/project/f15d9820-94a7-44d7-9027-007e9b882bcc 2025-05-15 02:10:35,297 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/69b6ab0c-dc5e-458e-bfc5-aa8409713447 2025-05-15 02:10:35,310 - DEBUG - ==>Verifying data for policy with id: 336a0bf1-80b8-4567-906e-543c2f7f10a4, fqn: ['default-domain', 'ctest-TestBasicPolicy-61862760', 'ctest-policy-allow-all-49211342'] 2025-05-15 02:10:35,310 - INFO - VN ctest-vn-93549286 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-15 02:10:35,310 - DEBUG - Verifying the vn in opserver 2025-05-15 02:10:35,310 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61862760:ctest-vn-93549286 virtual network link through opserver 10.0.0.130 2025-05-15 02:10:35,310 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-05-15 02:10:35,603 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-05-15 02:10:35,663 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61862760:ctest-vn-93549286', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61862760:ctest-vn-93549286?flat'} 2025-05-15 02:10:35,664 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61862760:ctest-vn-93549286 is found in opserver 2025-05-15 02:10:35,675 - DEBUG - Do not have enough data to verify VN in agent 2025-05-15 02:10:35,681 - DEBUG - VRF ids for VN ctest-vn-93549286: {} 2025-05-15 02:10:35,681 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-15 02:10:35,687 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b1f37d3e-907a-4fa2-80e1-9a265beb35e1 2025-05-15 02:10:35,701 - DEBUG - Requesting: http://10.0.0.130:8082/project/f15d9820-94a7-44d7-9027-007e9b882bcc 2025-05-15 02:10:35,782 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/088cfdce-3746-4874-9532-6d64400d88b1 2025-05-15 02:10:35,797 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/088cfdce-3746-4874-9532-6d64400d88b1 2025-05-15 02:10:35,809 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f72fd835-122f-4969-8f8c-8f56c8c346ba 2025-05-15 02:10:35,817 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f72fd835-122f-4969-8f8c-8f56c8c346ba 2025-05-15 02:10:35,825 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/8ea3e822-b64d-4850-9f10-3c4ddd63c3e3 2025-05-15 02:10:35,833 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-15 02:10:35,833 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/088cfdce-3746-4874-9532-6d64400d88b1 2025-05-15 02:10:35,847 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f72fd835-122f-4969-8f8c-8f56c8c346ba 2025-05-15 02:10:35,866 - INFO - Verified VN network id 9 for VN 088cfdce-3746-4874-9532-6d64400d88b1 2025-05-15 02:10:35,866 - INFO - Verifications in API Server for VN ctest-vn-34010837 passed 2025-05-15 02:10:35,866 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/088cfdce-3746-4874-9532-6d64400d88b1 2025-05-15 02:10:35,877 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f72fd835-122f-4969-8f8c-8f56c8c346ba 2025-05-15 02:10:35,885 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f72fd835-122f-4969-8f8c-8f56c8c346ba 2025-05-15 02:10:35,892 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/8ea3e822-b64d-4850-9f10-3c4ddd63c3e3 2025-05-15 02:10:35,907 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61862760:ctest-vn-34010837', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61862760', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '616146311175358580', 'uuid-lslong': '10750775537825581233'}, 'enable': 'true', 'created': '2025-05-15T02:10:33', 'last-modified': '2025-05-15T02:10:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.452668'} 2025-05-15 02:10:35,914 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-15 02:10:35,914 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34010837 passed 2025-05-15 02:10:35,914 - DEBUG - ====Verifying policy data for ctest-vn-34010837 in API_Server ====== 2025-05-15 02:10:35,914 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-15 02:10:35,921 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b1f37d3e-907a-4fa2-80e1-9a265beb35e1 2025-05-15 02:10:35,935 - DEBUG - Requesting: http://10.0.0.130:8082/project/f15d9820-94a7-44d7-9027-007e9b882bcc 2025-05-15 02:10:36,012 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/088cfdce-3746-4874-9532-6d64400d88b1 2025-05-15 02:10:36,025 - DEBUG - ==>Verifying data for policy with id: 336a0bf1-80b8-4567-906e-543c2f7f10a4, fqn: ['default-domain', 'ctest-TestBasicPolicy-61862760', 'ctest-policy-allow-all-49211342'] 2025-05-15 02:10:36,025 - INFO - VN ctest-vn-34010837 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-15 02:10:36,025 - DEBUG - Verifying the vn in opserver 2025-05-15 02:10:36,025 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61862760:ctest-vn-34010837 virtual network link through opserver 10.0.0.130 2025-05-15 02:10:36,025 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-05-15 02:10:36,038 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61862760:ctest-vn-34010837', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61862760:ctest-vn-34010837?flat'} 2025-05-15 02:10:36,038 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61862760:ctest-vn-34010837 is found in opserver 2025-05-15 02:10:36,050 - DEBUG - Do not have enough data to verify VN in agent 2025-05-15 02:10:36,056 - DEBUG - VRF ids for VN ctest-vn-34010837: {} 2025-05-15 02:10:36,118 - DEBUG - Services list from nova: [, , ] 2025-05-15 02:10:37,144 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3314-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3314-1) 2025-05-15 02:10:38,456 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3314-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3314-1) 2025-05-15 02:10:38,456 - INFO - Waiting for VM ctest-TestBasicPolicy-61862760-20743314 to be up.. 2025-05-15 02:10:38,546 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-15 02:10:43,635 - DEBUG - VM is in ACTIVE state now 2025-05-15 02:10:43,635 - INFO - VM name : ctest-TestBasicPolicy-61862760-20743314 2025-05-15 02:10:43,726 - DEBUG - VM ctest-TestBasicPolicy-61862760-20743314 ID is 58cc8639-e763-412a-b784-d55cebe6bd13 2025-05-15 02:10:43,754 - DEBUG - VM ctest-TestBasicPolicy-61862760-20743314 launched on Node cn-jenkins-deploy-platform-ansible-os-3314-1 2025-05-15 02:10:43,851 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/58cc8639-e763-412a-b784-d55cebe6bd13 2025-05-15 02:10:43,864 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/04d3e13a-a85a-4f2a-a1e3-cfff73a14fd9 2025-05-15 02:10:47,155 - 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 1017ms') 2025-05-15 02:10:47,155 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61862760-20743314 failed! 2025-05-15 02:10:47,212 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61862760:ctest-vn-93549286 is 144.88.131.1 and allocation pool is NOT set 2025-05-15 02:10:49,278 - 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=14.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.480 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.480/7.402/14.325/6.922 ms') 2025-05-15 02:10:49,278 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61862760-20743314 passed 2025-05-15 02:10:49,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 02:10:49,428 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61862760-20743314, IP 144.88.131.3, Port 22 2025-05-15 02:10:49,584 - DEBUG - VM ctest-TestBasicPolicy-61862760-20743314 is ready for SSH connections 2025-05-15 02:10:49,584 - INFO - Waiting for VM ctest-TestBasicPolicy-61862760-03749091 to be up.. 2025-05-15 02:10:49,665 - DEBUG - VM is in ACTIVE state now 2025-05-15 02:10:49,665 - INFO - VM name : ctest-TestBasicPolicy-61862760-03749091 2025-05-15 02:10:49,749 - DEBUG - VM ctest-TestBasicPolicy-61862760-03749091 ID is d155fe35-4c43-48ce-a9ec-dceb1c6d7fbc 2025-05-15 02:10:49,749 - DEBUG - VM ctest-TestBasicPolicy-61862760-03749091 launched on Node cn-jenkins-deploy-platform-ansible-os-3314-1 2025-05-15 02:10:49,826 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/d155fe35-4c43-48ce-a9ec-dceb1c6d7fbc 2025-05-15 02:10:49,836 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/a0e63b7e-4ed3-40bb-bf66-7f1d0240977e 2025-05-15 02:10:51,085 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.447 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.447/1.852/3.258/1.405 ms') 2025-05-15 02:10:51,086 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61862760-03749091 passed 2025-05-15 02:10:51,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 02:10:51,244 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61862760-03749091, IP 91.178.61.67, Port 22 2025-05-15 02:10:51,399 - DEBUG - VM ctest-TestBasicPolicy-61862760-03749091 is ready for SSH connections 2025-05-15 02:10:51,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 02:10:51,400 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.178.61.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-05-15 02:10:51,400 - DEBUG - ping -s 56 -c 3 -W 1 91.178.61.67 2025-05-15 02:10:55,077 - DEBUG - PING 91.178.61.67 (91.178.61.67): 56 data bytes 64 bytes from 91.178.61.67: seq=0 ttl=63 time=3.270 ms 64 bytes from 91.178.61.67: seq=1 ttl=63 time=0.954 ms 64 bytes from 91.178.61.67: seq=2 ttl=63 time=0.946 ms --- 91.178.61.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.946/1.723/3.270 ms 2025-05-15 02:10:55,077 - INFO - Ping to IP 91.178.61.67 from VM ctest-TestBasicPolicy-61862760-20743314 passed 2025-05-15 02:10:55,268 - DEBUG - Policy Update Response {"network-policy": {"uuid": "336a0bf1-80b8-4567-906e-543c2f7f10a4", "href": "http://10.0.0.130:8082/network-policy/336a0bf1-80b8-4567-906e-543c2f7f10a4"}} 2025-05-15 02:10:55,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 02:10:55,268 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.178.61.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-05-15 02:10:55,268 - DEBUG - ping -s 56 -c 3 -W 1 91.178.61.67 2025-05-15 02:10:58,475 - DEBUG - PING 91.178.61.67 (91.178.61.67): 56 data bytes 64 bytes from 91.178.61.67: seq=0 ttl=63 time=1.523 ms --- 91.178.61.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.523/1.523/1.523 ms 2025-05-15 02:10:58,475 - WARNING - Ping to IP 91.178.61.67 from VM ctest-TestBasicPolicy-61862760-20743314 failed 2025-05-15 02:10:58,475 - INFO - Deleting VM ctest-TestBasicPolicy-61862760-03749091 2025-05-15 02:10:58,554 - INFO - Deleting VM ctest-TestBasicPolicy-61862760-20743314 2025-05-15 02:10:58,972 - INFO - Deleted policy ctest-policy-allow-all-49211342 2025-05-15 02:10:58,972 - INFO - Deleting VN ctest-vn-34010837 2025-05-15 02:10:59,014 - DEBUG - VN 088cfdce-3746-4874-9532-6d64400d88b1 still in use: Unable to complete operation on network 088cfdce-3746-4874-9532-6d64400d88b1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dcb41874-4ce0-4451-b718-94a4fcd9f1eb'] 2025-05-15 02:10:59,014 - WARNING - Deleting VN ctest-vn-34010837 failed..Will retry 2025-05-15 02:11:01,120 - DEBUG - Response for deleting network () 2025-05-15 02:11:01,120 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/f72fd835-122f-4969-8f8c-8f56c8c346ba 2025-05-15 02:11:01,126 - DEBUG - Response Code: 404 2025-05-15 02:11:01,126 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-15 02:11:01,132 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b1f37d3e-907a-4fa2-80e1-9a265beb35e1 2025-05-15 02:11:01,187 - DEBUG - Requesting: http://10.0.0.130:8082/project/f15d9820-94a7-44d7-9027-007e9b882bcc 2025-05-15 02:11:01,271 - INFO - Validated that VN ctest-vn-34010837 is not found in API Server 2025-05-15 02:11:01,282 - DEBUG - VN ctest-vn-34010837 is not present in Agent 10.0.0.130 2025-05-15 02:11:01,282 - INFO - Validated that VN ctest-vn-34010837 is not in any agent 2025-05-15 02:11:01,299 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34010837 info 2025-05-15 02:11:01,299 - INFO - Deleting VN ctest-vn-93549286 2025-05-15 02:11:01,412 - DEBUG - Response for deleting network () 2025-05-15 02:11:01,412 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/31bf3fac-75ac-415a-9d2f-a0bd35e57268 2025-05-15 02:11:01,420 - DEBUG - Response Code: 404 2025-05-15 02:11:01,420 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-15 02:11:01,428 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b1f37d3e-907a-4fa2-80e1-9a265beb35e1 2025-05-15 02:11:01,482 - DEBUG - Requesting: http://10.0.0.130:8082/project/f15d9820-94a7-44d7-9027-007e9b882bcc 2025-05-15 02:11:01,554 - INFO - Validated that VN ctest-vn-93549286 is not found in API Server 2025-05-15 02:11:01,565 - DEBUG - VN ctest-vn-93549286 is not present in Agent 10.0.0.130 2025-05-15 02:11:01,565 - INFO - Validated that VN ctest-vn-93549286 is not in any agent 2025-05-15 02:11:01,581 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93549286 info 2025-05-15 02:11:01,835 - DEBUG - No XMPP flaps were noticed during the test
2025-05-15 02:11:01,835 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-05-15 02:11:01,835 - INFO - -------------------------------------------------------------------------------- 2025-05-15 02:11:02,515 - INFO - Deleted project: ctest-TestBasicPolicy-61862760, ID : f15d9820-94a7-44d7-9027-007e9b882bcc