2025-09-18 12:43:20,810 - INFO - Domain Default found not creating 2025-09-18 12:43:20,951 - INFO - Project ctest-TestBasicPolicy-60865284 not found, creating it 2025-09-18 12:43:21,420 - INFO - Created Project:ctest-TestBasicPolicy-60865284, ID : d5b521de-3966-4d1d-b183-946f45f49ded 2025-09-18 12:43:22,764 - INFO - ================================================================================ 2025-09-18 12:43:22,764 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-18 12:43:22,764 - 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-09-18 12:43:23,022 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-18 12:43:23,022 - INFO - Initial checks done. Running the testcase now 2025-09-18 12:43:23,022 - INFO - 2025-09-18 12:43:23,546 - DEBUG - Response for create_network : {'network': {'id': 'f80f8b78-1d75-4d65-b667-b8142747cb43', 'name': 'ctest-vn-28191151', 'tenant_id': 'd5b521de39664d1db183946f45f49ded', 'project_id': 'd5b521de39664d1db183946f45f49ded', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60865284', 'ctest-vn-28191151'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:43:23,744 - DEBUG - Response for create_subnet : {'subnet': {'id': '828f7b1d-1f1c-488f-bfc5-3dfeb283b834', 'name': '', 'tenant_id': 'd5b521de39664d1db183946f45f49ded', 'network_id': 'f80f8b78-1d75-4d65-b667-b8142747cb43', 'ip_version': 4, 'cidr': '148.205.80.128/26', 'allocation_pools': [{'start': '148.205.80.130', 'end': '148.205.80.190'}], 'gateway_ip': '148.205.80.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.205.80.130', 'tags': [], 'project_id': 'd5b521de39664d1db183946f45f49ded'}} 2025-09-18 12:43:23,759 - INFO - Created VN ctest-vn-28191151 2025-09-18 12:43:23,810 - DEBUG - VN ctest-vn-28191151 UUID is f80f8b78-1d75-4d65-b667-b8142747cb43 2025-09-18 12:43:24,123 - DEBUG - Response for create_network : {'network': {'id': '041ba727-dfb9-4d92-a71f-265f96e3aaa8', 'name': 'ctest-vn-78611216', 'tenant_id': 'd5b521de39664d1db183946f45f49ded', 'project_id': 'd5b521de39664d1db183946f45f49ded', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60865284', 'ctest-vn-78611216'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:43:24,308 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e50a5194-7fe0-4c46-a758-79dbf2788334', 'name': '', 'tenant_id': 'd5b521de39664d1db183946f45f49ded', 'network_id': '041ba727-dfb9-4d92-a71f-265f96e3aaa8', 'ip_version': 4, 'cidr': '37.206.207.64/26', 'allocation_pools': [{'start': '37.206.207.66', 'end': '37.206.207.126'}], 'gateway_ip': '37.206.207.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.206.207.66', 'tags': [], 'project_id': 'd5b521de39664d1db183946f45f49ded'}} 2025-09-18 12:43:24,325 - INFO - Created VN ctest-vn-78611216 2025-09-18 12:43:24,378 - DEBUG - VN ctest-vn-78611216 UUID is 041ba727-dfb9-4d92-a71f-265f96e3aaa8 2025-09-18 12:43:24,526 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60865284:ctest-vn-28191151, 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-60865284:ctest-vn-78611216, 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-09-18 12:43:24,808 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f80f8b78-1d75-4d65-b667-b8142747cb43', 'name': 'ctest-vn-28191151', 'tenant_id': 'd5b521de39664d1db183946f45f49ded', 'project_id': 'd5b521de39664d1db183946f45f49ded', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['828f7b1d-1f1c-488f-bfc5-3dfeb283b834'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60865284', 'ctest-vn-28191151'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60865284', 'ctest-policy-allow-all-88074792']], 'subnet_ipam': [{'subnet_cidr': '148.205.80.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:43:25,025 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '041ba727-dfb9-4d92-a71f-265f96e3aaa8', 'name': 'ctest-vn-78611216', 'tenant_id': 'd5b521de39664d1db183946f45f49ded', 'project_id': 'd5b521de39664d1db183946f45f49ded', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e50a5194-7fe0-4c46-a758-79dbf2788334'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60865284', 'ctest-vn-78611216'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60865284', 'ctest-policy-allow-all-88074792']], 'subnet_ipam': [{'subnet_cidr': '37.206.207.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:43:25,190 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 12:43:25,481 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 12:43:25,506 - DEBUG - Requesting: http://10.0.0.254:8082/domain/152c17c4-b630-40d8-a714-8de71f26333d 2025-09-18 12:43:25,519 - DEBUG - Requesting: http://10.0.0.254:8082/project/d5b521de-3966-4d1d-b183-946f45f49ded 2025-09-18 12:43:25,584 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f80f8b78-1d75-4d65-b667-b8142747cb43 2025-09-18 12:43:25,593 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f80f8b78-1d75-4d65-b667-b8142747cb43 2025-09-18 12:43:25,601 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/768c4cd3-5e1c-451f-9c5f-8a9c2c879389 2025-09-18 12:43:25,607 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/768c4cd3-5e1c-451f-9c5f-8a9c2c879389 2025-09-18 12:43:25,613 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/70ab8e59-9073-4e6e-b00b-dcb36b2e9cc1 2025-09-18 12:43:25,618 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 12:43:25,618 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f80f8b78-1d75-4d65-b667-b8142747cb43 2025-09-18 12:43:25,626 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/768c4cd3-5e1c-451f-9c5f-8a9c2c879389 2025-09-18 12:43:25,637 - INFO - Verified VN network id 12 for VN f80f8b78-1d75-4d65-b667-b8142747cb43 2025-09-18 12:43:25,637 - INFO - Verifications in API Server for VN ctest-vn-28191151 passed 2025-09-18 12:43:25,637 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f80f8b78-1d75-4d65-b667-b8142747cb43 2025-09-18 12:43:25,646 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/768c4cd3-5e1c-451f-9c5f-8a9c2c879389 2025-09-18 12:43:25,651 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/768c4cd3-5e1c-451f-9c5f-8a9c2c879389 2025-09-18 12:43:25,657 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/70ab8e59-9073-4e6e-b00b-dcb36b2e9cc1 2025-09-18 12:43:25,667 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60865284:ctest-vn-28191151', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60865284', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17874658794063351141', 'uuid-lslong': '13143676434201955139'}, 'enable': 'true', 'created': '2025-09-18T12:43:23', 'last-modified': '2025-09-18T12:43:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.876841'} 2025-09-18 12:43:25,673 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 12:43:25,673 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28191151 passed 2025-09-18 12:43:25,673 - DEBUG - ====Verifying policy data for ctest-vn-28191151 in API_Server ====== 2025-09-18 12:43:25,673 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 12:43:25,678 - DEBUG - Requesting: http://10.0.0.254:8082/domain/152c17c4-b630-40d8-a714-8de71f26333d 2025-09-18 12:43:25,686 - DEBUG - Requesting: http://10.0.0.254:8082/project/d5b521de-3966-4d1d-b183-946f45f49ded 2025-09-18 12:43:25,750 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f80f8b78-1d75-4d65-b667-b8142747cb43 2025-09-18 12:43:25,757 - DEBUG - ==>Verifying data for policy with id: b26647d7-ae58-4c0b-b712-81cf84087bab, fqn: ['default-domain', 'ctest-TestBasicPolicy-60865284', 'ctest-policy-allow-all-88074792'] 2025-09-18 12:43:25,757 - INFO - VN ctest-vn-28191151 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 12:43:25,758 - DEBUG - Verifying the vn in opserver 2025-09-18 12:43:25,758 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60865284:ctest-vn-28191151 virtual network link through opserver 10.0.0.254 2025-09-18 12:43:25,758 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-18 12:43:26,047 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-18 12:43:26,095 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60865284:ctest-vn-28191151', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60865284:ctest-vn-28191151?flat'} 2025-09-18 12:43:26,095 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60865284:ctest-vn-28191151 is found in opserver 2025-09-18 12:43:26,104 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 12:43:26,108 - DEBUG - VRF ids for VN ctest-vn-28191151: {} 2025-09-18 12:43:26,108 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 12:43:26,112 - DEBUG - Requesting: http://10.0.0.254:8082/domain/152c17c4-b630-40d8-a714-8de71f26333d 2025-09-18 12:43:26,122 - DEBUG - Requesting: http://10.0.0.254:8082/project/d5b521de-3966-4d1d-b183-946f45f49ded 2025-09-18 12:43:26,188 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/041ba727-dfb9-4d92-a71f-265f96e3aaa8 2025-09-18 12:43:26,197 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/041ba727-dfb9-4d92-a71f-265f96e3aaa8 2025-09-18 12:43:26,205 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f1ca954e-d0a5-4665-bd6e-703af80ee910 2025-09-18 12:43:26,211 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f1ca954e-d0a5-4665-bd6e-703af80ee910 2025-09-18 12:43:26,217 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a6fdc5ee-caca-4dbe-a196-cbf90de54246 2025-09-18 12:43:26,222 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 12:43:26,222 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/041ba727-dfb9-4d92-a71f-265f96e3aaa8 2025-09-18 12:43:26,230 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f1ca954e-d0a5-4665-bd6e-703af80ee910 2025-09-18 12:43:26,243 - INFO - Verified VN network id 13 for VN 041ba727-dfb9-4d92-a71f-265f96e3aaa8 2025-09-18 12:43:26,243 - INFO - Verifications in API Server for VN ctest-vn-78611216 passed 2025-09-18 12:43:26,243 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/041ba727-dfb9-4d92-a71f-265f96e3aaa8 2025-09-18 12:43:26,251 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f1ca954e-d0a5-4665-bd6e-703af80ee910 2025-09-18 12:43:26,257 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f1ca954e-d0a5-4665-bd6e-703af80ee910 2025-09-18 12:43:26,264 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a6fdc5ee-caca-4dbe-a196-cbf90de54246 2025-09-18 12:43:26,273 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60865284:ctest-vn-78611216', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60865284', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '296013990221925778', 'uuid-lslong': '12042386120607247016'}, 'enable': 'true', 'created': '2025-09-18T12:43:24', 'last-modified': '2025-09-18T12:43:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.266991'} 2025-09-18 12:43:26,278 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 12:43:26,278 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78611216 passed 2025-09-18 12:43:26,279 - DEBUG - ====Verifying policy data for ctest-vn-78611216 in API_Server ====== 2025-09-18 12:43:26,279 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 12:43:26,283 - DEBUG - Requesting: http://10.0.0.254:8082/domain/152c17c4-b630-40d8-a714-8de71f26333d 2025-09-18 12:43:26,292 - DEBUG - Requesting: http://10.0.0.254:8082/project/d5b521de-3966-4d1d-b183-946f45f49ded 2025-09-18 12:43:26,357 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/041ba727-dfb9-4d92-a71f-265f96e3aaa8 2025-09-18 12:43:26,365 - DEBUG - ==>Verifying data for policy with id: b26647d7-ae58-4c0b-b712-81cf84087bab, fqn: ['default-domain', 'ctest-TestBasicPolicy-60865284', 'ctest-policy-allow-all-88074792'] 2025-09-18 12:43:26,365 - INFO - VN ctest-vn-78611216 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 12:43:26,365 - DEBUG - Verifying the vn in opserver 2025-09-18 12:43:26,365 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60865284:ctest-vn-78611216 virtual network link through opserver 10.0.0.254 2025-09-18 12:43:26,365 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-18 12:43:26,373 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60865284:ctest-vn-78611216', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60865284:ctest-vn-78611216?flat'} 2025-09-18 12:43:26,373 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60865284:ctest-vn-78611216 is found in opserver 2025-09-18 12:43:26,381 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 12:43:26,384 - DEBUG - VRF ids for VN ctest-vn-78611216: {} 2025-09-18 12:43:26,435 - DEBUG - Services list from nova: [, , ] 2025-09-18 12:43:27,402 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4138-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4138-1) 2025-09-18 12:43:28,495 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4138-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4138-1) 2025-09-18 12:43:28,496 - INFO - Waiting for VM ctest-TestBasicPolicy-60865284-09911786 to be up.. 2025-09-18 12:43:28,568 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 12:43:33,633 - DEBUG - VM is in ACTIVE state now 2025-09-18 12:43:33,634 - INFO - VM name : ctest-TestBasicPolicy-60865284-09911786 2025-09-18 12:43:33,697 - DEBUG - VM ctest-TestBasicPolicy-60865284-09911786 ID is 1a9174c3-732f-4c45-9577-a41e06052848 2025-09-18 12:43:33,713 - DEBUG - VM ctest-TestBasicPolicy-60865284-09911786 launched on Node cn-jenkins-deploy-platform-ansible-os-4138-1 2025-09-18 12:43:33,778 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1a9174c3-732f-4c45-9577-a41e06052848 2025-09-18 12:43:33,784 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2ab60cc6-9944-4cf8-a225-e0c411367250 2025-09-18 12:43:37,027 - 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 1012ms') 2025-09-18 12:43:37,027 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60865284-09911786 failed! 2025-09-18 12:43:37,082 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-60865284:ctest-vn-28191151 is 148.205.80.129 and allocation pool is NOT set 2025-09-18 12:43:39,150 - 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=2.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.461 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.461/1.617/2.773/1.156 ms') 2025-09-18 12:43:39,150 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60865284-09911786 passed 2025-09-18 12:43:39,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:43:39,302 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60865284-09911786, IP 148.205.80.131, Port 22 2025-09-18 12:43:39,457 - DEBUG - VM ctest-TestBasicPolicy-60865284-09911786 is ready for SSH connections 2025-09-18 12:43:39,457 - INFO - Waiting for VM ctest-TestBasicPolicy-60865284-57061797 to be up.. 2025-09-18 12:43:39,523 - DEBUG - VM is in ACTIVE state now 2025-09-18 12:43:39,524 - INFO - VM name : ctest-TestBasicPolicy-60865284-57061797 2025-09-18 12:43:39,588 - DEBUG - VM ctest-TestBasicPolicy-60865284-57061797 ID is eca181f1-df01-4810-a61a-abea9d6d5024 2025-09-18 12:43:39,588 - DEBUG - VM ctest-TestBasicPolicy-60865284-57061797 launched on Node cn-jenkins-deploy-platform-ansible-os-4138-1 2025-09-18 12:43:39,654 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/eca181f1-df01-4810-a61a-abea9d6d5024 2025-09-18 12:43:39,661 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/86e62c41-91c3-4f3b-a33e-c8af67d0c95b 2025-09-18 12:43:40,898 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.86 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 = 1.860/3.212/4.565/1.352 ms') 2025-09-18 12:43:40,898 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-60865284-57061797 passed 2025-09-18 12:43:41,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:43:41,046 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60865284-57061797, IP 37.206.207.67, Port 22 2025-09-18 12:43:41,197 - DEBUG - VM ctest-TestBasicPolicy-60865284-57061797 is ready for SSH connections 2025-09-18 12:43:41,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:43:41,197 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.206.207.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 12:43:41,197 - DEBUG - ping -s 56 -c 3 -W 1 37.206.207.67 2025-09-18 12:43:44,882 - DEBUG - PING 37.206.207.67 (37.206.207.67): 56 data bytes 64 bytes from 37.206.207.67: seq=0 ttl=63 time=3.609 ms 64 bytes from 37.206.207.67: seq=1 ttl=63 time=0.900 ms 64 bytes from 37.206.207.67: seq=2 ttl=63 time=0.747 ms --- 37.206.207.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.747/1.752/3.609 ms 2025-09-18 12:43:44,882 - INFO - Ping to IP 37.206.207.67 from VM ctest-TestBasicPolicy-60865284-09911786 passed 2025-09-18 12:43:45,049 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b26647d7-ae58-4c0b-b712-81cf84087bab", "href": "http://10.0.0.254:8082/network-policy/b26647d7-ae58-4c0b-b712-81cf84087bab"}} 2025-09-18 12:43:45,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:43:45,050 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.206.207.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 12:43:45,050 - DEBUG - ping -s 56 -c 3 -W 1 37.206.207.67 2025-09-18 12:43:48,268 - DEBUG - PING 37.206.207.67 (37.206.207.67): 56 data bytes --- 37.206.207.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 12:43:48,269 - WARNING - Ping to IP 37.206.207.67 from VM ctest-TestBasicPolicy-60865284-09911786 failed 2025-09-18 12:43:48,269 - INFO - Deleting VM ctest-TestBasicPolicy-60865284-57061797 2025-09-18 12:43:48,332 - INFO - Deleting VM ctest-TestBasicPolicy-60865284-09911786 2025-09-18 12:43:48,688 - INFO - Deleted policy ctest-policy-allow-all-88074792 2025-09-18 12:43:48,688 - INFO - Deleting VN ctest-vn-78611216 2025-09-18 12:43:48,720 - DEBUG - VN 041ba727-dfb9-4d92-a71f-265f96e3aaa8 still in use: Unable to complete operation on network 041ba727-dfb9-4d92-a71f-265f96e3aaa8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-36fe30d1-ce0b-43eb-b8de-d13916aa5720'] 2025-09-18 12:43:48,720 - WARNING - Deleting VN ctest-vn-78611216 failed..Will retry 2025-09-18 12:43:50,813 - DEBUG - Response for deleting network () 2025-09-18 12:43:50,813 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f1ca954e-d0a5-4665-bd6e-703af80ee910 2025-09-18 12:43:50,818 - DEBUG - Response Code: 404 2025-09-18 12:43:50,818 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 12:43:50,822 - DEBUG - Requesting: http://10.0.0.254:8082/domain/152c17c4-b630-40d8-a714-8de71f26333d 2025-09-18 12:43:50,875 - DEBUG - Requesting: http://10.0.0.254:8082/project/d5b521de-3966-4d1d-b183-946f45f49ded 2025-09-18 12:43:50,941 - INFO - Validated that VN ctest-vn-78611216 is not found in API Server 2025-09-18 12:43:50,950 - DEBUG - VN ctest-vn-78611216 is not present in Agent 10.0.0.254 2025-09-18 12:43:50,950 - INFO - Validated that VN ctest-vn-78611216 is not in any agent 2025-09-18 12:43:50,961 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78611216 info 2025-09-18 12:43:50,961 - INFO - Deleting VN ctest-vn-28191151 2025-09-18 12:43:51,055 - DEBUG - Response for deleting network () 2025-09-18 12:43:51,055 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/768c4cd3-5e1c-451f-9c5f-8a9c2c879389 2025-09-18 12:43:51,061 - DEBUG - Response Code: 404 2025-09-18 12:43:51,061 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 12:43:51,066 - DEBUG - Requesting: http://10.0.0.254:8082/domain/152c17c4-b630-40d8-a714-8de71f26333d 2025-09-18 12:43:51,119 - DEBUG - Requesting: http://10.0.0.254:8082/project/d5b521de-3966-4d1d-b183-946f45f49ded 2025-09-18 12:43:51,185 - INFO - Validated that VN ctest-vn-28191151 is not found in API Server 2025-09-18 12:43:51,194 - DEBUG - VN ctest-vn-28191151 is not present in Agent 10.0.0.254 2025-09-18 12:43:51,194 - INFO - Validated that VN ctest-vn-28191151 is not in any agent 2025-09-18 12:43:51,206 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28191151 info 2025-09-18 12:43:51,458 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 12:43:51,458 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-18 12:43:51,458 - INFO - -------------------------------------------------------------------------------- 2025-09-18 12:43:52,110 - INFO - Deleted project: ctest-TestBasicPolicy-60865284, ID : d5b521de-3966-4d1d-b183-946f45f49ded