2025-11-20 17:09:33,832 - INFO - Domain Default found not creating 2025-11-20 17:09:34,034 - INFO - Project ctest-TestBasicPolicy-48408476 not found, creating it 2025-11-20 17:09:34,521 - INFO - Created Project:ctest-TestBasicPolicy-48408476, ID : 43baa910-00ad-4c86-bc2b-a4d0b7c00e11 2025-11-20 17:09:36,105 - INFO - ================================================================================ 2025-11-20 17:09:36,105 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-20 17:09:36,105 - 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-11-20 17:09:36,364 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.5': '0'}} with 2025-11-20 17:09:36,364 - INFO - Initial checks done. Running the testcase now 2025-11-20 17:09:36,364 - INFO - 2025-11-20 17:09:36,931 - DEBUG - Response for create_network : {'network': {'id': '2a9016ed-e712-4cba-ba87-87aa03a5b24e', 'name': 'ctest-vn-97430663', 'tenant_id': '43baa91000ad4c86bc2ba4d0b7c00e11', 'project_id': '43baa91000ad4c86bc2ba4d0b7c00e11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48408476', 'ctest-vn-97430663'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:09:37,138 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db82b7a3-90c9-43c1-bd6e-3188853e1440', 'name': '', 'tenant_id': '43baa91000ad4c86bc2ba4d0b7c00e11', 'network_id': '2a9016ed-e712-4cba-ba87-87aa03a5b24e', 'ip_version': 4, 'cidr': '31.230.36.0/26', 'allocation_pools': [{'start': '31.230.36.2', 'end': '31.230.36.62'}], 'gateway_ip': '31.230.36.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.230.36.2', 'tags': [], 'project_id': '43baa91000ad4c86bc2ba4d0b7c00e11'}} 2025-11-20 17:09:37,158 - INFO - Created VN ctest-vn-97430663 2025-11-20 17:09:37,211 - DEBUG - VN ctest-vn-97430663 UUID is 2a9016ed-e712-4cba-ba87-87aa03a5b24e 2025-11-20 17:09:37,507 - DEBUG - Response for create_network : {'network': {'id': '0c6a7e38-be9d-4c45-b9bc-1ea9db8929c7', 'name': 'ctest-vn-38672840', 'tenant_id': '43baa91000ad4c86bc2ba4d0b7c00e11', 'project_id': '43baa91000ad4c86bc2ba4d0b7c00e11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48408476', 'ctest-vn-38672840'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:09:37,675 - DEBUG - Response for create_subnet : {'subnet': {'id': '2bbcf4f9-e795-46d4-afdd-3d37b4817a64', 'name': '', 'tenant_id': '43baa91000ad4c86bc2ba4d0b7c00e11', 'network_id': '0c6a7e38-be9d-4c45-b9bc-1ea9db8929c7', 'ip_version': 4, 'cidr': '40.11.178.64/26', 'allocation_pools': [{'start': '40.11.178.66', 'end': '40.11.178.126'}], 'gateway_ip': '40.11.178.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.11.178.66', 'tags': [], 'project_id': '43baa91000ad4c86bc2ba4d0b7c00e11'}} 2025-11-20 17:09:37,692 - INFO - Created VN ctest-vn-38672840 2025-11-20 17:09:37,743 - DEBUG - VN ctest-vn-38672840 UUID is 0c6a7e38-be9d-4c45-b9bc-1ea9db8929c7 2025-11-20 17:09:37,855 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48408476:ctest-vn-97430663, 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-48408476:ctest-vn-38672840, 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-11-20 17:09:38,161 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2a9016ed-e712-4cba-ba87-87aa03a5b24e', 'name': 'ctest-vn-97430663', 'tenant_id': '43baa91000ad4c86bc2ba4d0b7c00e11', 'project_id': '43baa91000ad4c86bc2ba4d0b7c00e11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['db82b7a3-90c9-43c1-bd6e-3188853e1440'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48408476', 'ctest-vn-97430663'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48408476', 'ctest-policy-allow-all-50959932']], 'subnet_ipam': [{'subnet_cidr': '31.230.36.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:09:38,384 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0c6a7e38-be9d-4c45-b9bc-1ea9db8929c7', 'name': 'ctest-vn-38672840', 'tenant_id': '43baa91000ad4c86bc2ba4d0b7c00e11', 'project_id': '43baa91000ad4c86bc2ba4d0b7c00e11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2bbcf4f9-e795-46d4-afdd-3d37b4817a64'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48408476', 'ctest-vn-38672840'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48408476', 'ctest-policy-allow-all-50959932']], 'subnet_ipam': [{'subnet_cidr': '40.11.178.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:09:38,547 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-20 17:09:38,851 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-20 17:09:38,891 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6cf19a68-2ce4-49c1-9e7a-613d55b318f1 2025-11-20 17:09:38,903 - DEBUG - Requesting: http://10.0.0.141:8082/project/43baa910-00ad-4c86-bc2b-a4d0b7c00e11 2025-11-20 17:09:38,981 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2a9016ed-e712-4cba-ba87-87aa03a5b24e 2025-11-20 17:09:38,992 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2a9016ed-e712-4cba-ba87-87aa03a5b24e 2025-11-20 17:09:39,002 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2b84db0c-3e32-4979-8e65-52ee75ae047c 2025-11-20 17:09:39,010 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2b84db0c-3e32-4979-8e65-52ee75ae047c 2025-11-20 17:09:39,017 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/10657edb-826e-401a-aae5-ecd7aa8130b5 2025-11-20 17:09:39,023 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-20 17:09:39,023 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2a9016ed-e712-4cba-ba87-87aa03a5b24e 2025-11-20 17:09:39,033 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2b84db0c-3e32-4979-8e65-52ee75ae047c 2025-11-20 17:09:39,048 - INFO - Verified VN network id 11 for VN 2a9016ed-e712-4cba-ba87-87aa03a5b24e 2025-11-20 17:09:39,048 - INFO - Verifications in API Server for VN ctest-vn-97430663 passed 2025-11-20 17:09:39,048 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2a9016ed-e712-4cba-ba87-87aa03a5b24e 2025-11-20 17:09:39,057 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2b84db0c-3e32-4979-8e65-52ee75ae047c 2025-11-20 17:09:39,064 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2b84db0c-3e32-4979-8e65-52ee75ae047c 2025-11-20 17:09:39,072 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/10657edb-826e-401a-aae5-ecd7aa8130b5 2025-11-20 17:09:39,084 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48408476:ctest-vn-97430663', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48408476', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3066976557279104186', 'uuid-lslong': '13440860777185915470'}, 'enable': 'true', 'created': '2025-11-20T17:09:36', 'last-modified': '2025-11-20T17:09:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.948407'} 2025-11-20 17:09:39,090 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-20 17:09:39,090 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97430663 passed 2025-11-20 17:09:39,090 - DEBUG - ====Verifying policy data for ctest-vn-97430663 in API_Server ====== 2025-11-20 17:09:39,090 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-20 17:09:39,096 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6cf19a68-2ce4-49c1-9e7a-613d55b318f1 2025-11-20 17:09:39,108 - DEBUG - Requesting: http://10.0.0.141:8082/project/43baa910-00ad-4c86-bc2b-a4d0b7c00e11 2025-11-20 17:09:39,176 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2a9016ed-e712-4cba-ba87-87aa03a5b24e 2025-11-20 17:09:39,185 - DEBUG - ==>Verifying data for policy with id: b00b0760-e9fb-4a41-bc03-e914adb4e87e, fqn: ['default-domain', 'ctest-TestBasicPolicy-48408476', 'ctest-policy-allow-all-50959932'] 2025-11-20 17:09:39,185 - INFO - VN ctest-vn-97430663 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-20 17:09:39,185 - DEBUG - Verifying the vn in opserver 2025-11-20 17:09:39,186 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48408476:ctest-vn-97430663 virtual network link through opserver 10.0.0.141 2025-11-20 17:09:39,186 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-20 17:09:39,480 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-20 17:09:39,553 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48408476:ctest-vn-97430663', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48408476:ctest-vn-97430663?flat'} 2025-11-20 17:09:39,553 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48408476:ctest-vn-97430663 is found in opserver 2025-11-20 17:09:39,568 - DEBUG - Do not have enough data to verify VN in agent 2025-11-20 17:09:39,573 - DEBUG - VRF ids for VN ctest-vn-97430663: {} 2025-11-20 17:09:39,573 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-20 17:09:39,580 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6cf19a68-2ce4-49c1-9e7a-613d55b318f1 2025-11-20 17:09:39,592 - DEBUG - Requesting: http://10.0.0.141:8082/project/43baa910-00ad-4c86-bc2b-a4d0b7c00e11 2025-11-20 17:09:39,661 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0c6a7e38-be9d-4c45-b9bc-1ea9db8929c7 2025-11-20 17:09:39,673 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0c6a7e38-be9d-4c45-b9bc-1ea9db8929c7 2025-11-20 17:09:39,683 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e475548c-ba4a-4229-bfa7-835a769ce9c8 2025-11-20 17:09:39,691 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e475548c-ba4a-4229-bfa7-835a769ce9c8 2025-11-20 17:09:39,698 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/1bb68db0-f86f-40b1-acf6-666c67743760 2025-11-20 17:09:39,706 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-20 17:09:39,706 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0c6a7e38-be9d-4c45-b9bc-1ea9db8929c7 2025-11-20 17:09:39,715 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e475548c-ba4a-4229-bfa7-835a769ce9c8 2025-11-20 17:09:39,730 - INFO - Verified VN network id 12 for VN 0c6a7e38-be9d-4c45-b9bc-1ea9db8929c7 2025-11-20 17:09:39,730 - INFO - Verifications in API Server for VN ctest-vn-38672840 passed 2025-11-20 17:09:39,730 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0c6a7e38-be9d-4c45-b9bc-1ea9db8929c7 2025-11-20 17:09:39,742 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e475548c-ba4a-4229-bfa7-835a769ce9c8 2025-11-20 17:09:39,750 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e475548c-ba4a-4229-bfa7-835a769ce9c8 2025-11-20 17:09:39,758 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/1bb68db0-f86f-40b1-acf6-666c67743760 2025-11-20 17:09:39,772 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48408476:ctest-vn-38672840', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48408476', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '894666258167712837', 'uuid-lslong': '13383605907519777223'}, 'enable': 'true', 'created': '2025-11-20T17:09:37', 'last-modified': '2025-11-20T17:09:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.409055'} 2025-11-20 17:09:39,779 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-20 17:09:39,779 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38672840 passed 2025-11-20 17:09:39,779 - DEBUG - ====Verifying policy data for ctest-vn-38672840 in API_Server ====== 2025-11-20 17:09:39,779 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-20 17:09:39,788 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6cf19a68-2ce4-49c1-9e7a-613d55b318f1 2025-11-20 17:09:39,800 - DEBUG - Requesting: http://10.0.0.141:8082/project/43baa910-00ad-4c86-bc2b-a4d0b7c00e11 2025-11-20 17:09:39,874 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/0c6a7e38-be9d-4c45-b9bc-1ea9db8929c7 2025-11-20 17:09:39,884 - DEBUG - ==>Verifying data for policy with id: b00b0760-e9fb-4a41-bc03-e914adb4e87e, fqn: ['default-domain', 'ctest-TestBasicPolicy-48408476', 'ctest-policy-allow-all-50959932'] 2025-11-20 17:09:39,884 - INFO - VN ctest-vn-38672840 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-20 17:09:39,884 - DEBUG - Verifying the vn in opserver 2025-11-20 17:09:39,884 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48408476:ctest-vn-38672840 virtual network link through opserver 10.0.0.141 2025-11-20 17:09:39,884 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-20 17:09:39,896 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48408476:ctest-vn-38672840', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48408476:ctest-vn-38672840?flat'} 2025-11-20 17:09:39,896 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48408476:ctest-vn-38672840 is found in opserver 2025-11-20 17:09:39,906 - DEBUG - Do not have enough data to verify VN in agent 2025-11-20 17:09:39,911 - DEBUG - VRF ids for VN ctest-vn-38672840: {} 2025-11-20 17:09:39,974 - DEBUG - Services list from nova: [, , ] 2025-11-20 17:09:41,049 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4781-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4781-1) 2025-11-20 17:09:42,253 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4781-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4781-1) 2025-11-20 17:09:42,254 - INFO - Waiting for VM ctest-TestBasicPolicy-48408476-83418520 to be up.. 2025-11-20 17:09:42,342 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 17:09:47,426 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:09:47,426 - INFO - VM name : ctest-TestBasicPolicy-48408476-83418520 2025-11-20 17:09:47,507 - DEBUG - VM ctest-TestBasicPolicy-48408476-83418520 ID is 7a189179-6e17-4239-8b63-cc857260d7e3 2025-11-20 17:09:47,530 - DEBUG - VM ctest-TestBasicPolicy-48408476-83418520 launched on Node cn-jenkins-deploy-platform-ansible-os-4781-1 2025-11-20 17:09:47,613 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/7a189179-6e17-4239-8b63-cc857260d7e3 2025-11-20 17:09:47,624 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/2f277a13-95fd-4ccc-ac5b-4e7e2e80066d 2025-11-20 17:09:50,886 - 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 1009ms') 2025-11-20 17:09:50,886 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48408476-83418520 failed! 2025-11-20 17:09:50,943 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48408476:ctest-vn-97430663 is 31.230.36.1 and allocation pool is NOT set 2025-11-20 17:09:53,008 - 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=7.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.485 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.485/4.136/7.787/3.651 ms') 2025-11-20 17:09:53,008 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48408476-83418520 passed 2025-11-20 17:09:53,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:09:53,159 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48408476-83418520, IP 31.230.36.3, Port 22 2025-11-20 17:09:53,329 - DEBUG - VM ctest-TestBasicPolicy-48408476-83418520 is ready for SSH connections 2025-11-20 17:09:53,330 - INFO - Waiting for VM ctest-TestBasicPolicy-48408476-00729800 to be up.. 2025-11-20 17:09:53,407 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:09:53,407 - INFO - VM name : ctest-TestBasicPolicy-48408476-00729800 2025-11-20 17:09:53,486 - DEBUG - VM ctest-TestBasicPolicy-48408476-00729800 ID is 81b6344b-2b6a-4285-8fb5-3d4378e05267 2025-11-20 17:09:53,486 - DEBUG - VM ctest-TestBasicPolicy-48408476-00729800 launched on Node cn-jenkins-deploy-platform-ansible-os-4781-1 2025-11-20 17:09:53,561 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/81b6344b-2b6a-4285-8fb5-3d4378e05267 2025-11-20 17:09:53,570 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/c3bf5f79-a97c-4a33-88bd-7b8770057571 2025-11-20 17:09:54,809 - 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=5.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.34 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 = 2.339/3.983/5.628/1.644 ms') 2025-11-20 17:09:54,809 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48408476-00729800 passed 2025-11-20 17:09:54,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:09:54,964 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48408476-00729800, IP 40.11.178.67, Port 22 2025-11-20 17:09:55,133 - DEBUG - VM ctest-TestBasicPolicy-48408476-00729800 is ready for SSH connections 2025-11-20 17:09:55,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:09:55,133 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.11.178.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-20 17:09:55,133 - DEBUG - ping -s 56 -c 3 -W 1 40.11.178.67 2025-11-20 17:09:59,172 - DEBUG - PING 40.11.178.67 (40.11.178.67): 56 data bytes 64 bytes from 40.11.178.67: seq=0 ttl=63 time=3.934 ms 64 bytes from 40.11.178.67: seq=1 ttl=63 time=1.027 ms 64 bytes from 40.11.178.67: seq=2 ttl=63 time=1.200 ms --- 40.11.178.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.027/2.053/3.934 ms 2025-11-20 17:09:59,173 - INFO - Ping to IP 40.11.178.67 from VM ctest-TestBasicPolicy-48408476-83418520 passed 2025-11-20 17:09:59,427 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b00b0760-e9fb-4a41-bc03-e914adb4e87e", "href": "http://10.0.0.141:8082/network-policy/b00b0760-e9fb-4a41-bc03-e914adb4e87e"}} 2025-11-20 17:09:59,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:09:59,427 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.11.178.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-20 17:09:59,427 - DEBUG - ping -s 56 -c 3 -W 1 40.11.178.67 2025-11-20 17:10:02,641 - DEBUG - PING 40.11.178.67 (40.11.178.67): 56 data bytes 64 bytes from 40.11.178.67: seq=0 ttl=63 time=1.417 ms --- 40.11.178.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.417/1.417/1.417 ms 2025-11-20 17:10:02,641 - WARNING - Ping to IP 40.11.178.67 from VM ctest-TestBasicPolicy-48408476-83418520 failed 2025-11-20 17:10:02,642 - INFO - Deleting VM ctest-TestBasicPolicy-48408476-00729800 2025-11-20 17:10:02,720 - INFO - Deleting VM ctest-TestBasicPolicy-48408476-83418520 2025-11-20 17:10:03,136 - INFO - Deleted policy ctest-policy-allow-all-50959932 2025-11-20 17:10:03,136 - INFO - Deleting VN ctest-vn-38672840 2025-11-20 17:10:03,182 - DEBUG - VN 0c6a7e38-be9d-4c45-b9bc-1ea9db8929c7 still in use: Unable to complete operation on network 0c6a7e38-be9d-4c45-b9bc-1ea9db8929c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d6202719-978d-4ac0-91ec-e41f60f4fbc1'] 2025-11-20 17:10:03,182 - WARNING - Deleting VN ctest-vn-38672840 failed..Will retry 2025-11-20 17:10:05,303 - DEBUG - Response for deleting network () 2025-11-20 17:10:05,303 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e475548c-ba4a-4229-bfa7-835a769ce9c8 2025-11-20 17:10:05,309 - DEBUG - Response Code: 404 2025-11-20 17:10:05,309 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-20 17:10:05,314 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6cf19a68-2ce4-49c1-9e7a-613d55b318f1 2025-11-20 17:10:05,372 - DEBUG - Requesting: http://10.0.0.141:8082/project/43baa910-00ad-4c86-bc2b-a4d0b7c00e11 2025-11-20 17:10:05,446 - INFO - Validated that VN ctest-vn-38672840 is not found in API Server 2025-11-20 17:10:05,455 - DEBUG - VN ctest-vn-38672840 is not present in Agent 10.0.0.141 2025-11-20 17:10:05,455 - INFO - Validated that VN ctest-vn-38672840 is not in any agent 2025-11-20 17:10:05,472 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38672840 info 2025-11-20 17:10:05,472 - INFO - Deleting VN ctest-vn-97430663 2025-11-20 17:10:05,600 - DEBUG - Response for deleting network () 2025-11-20 17:10:05,600 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2b84db0c-3e32-4979-8e65-52ee75ae047c 2025-11-20 17:10:05,609 - DEBUG - Response Code: 404 2025-11-20 17:10:05,609 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-20 17:10:05,617 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6cf19a68-2ce4-49c1-9e7a-613d55b318f1 2025-11-20 17:10:05,672 - DEBUG - Requesting: http://10.0.0.141:8082/project/43baa910-00ad-4c86-bc2b-a4d0b7c00e11 2025-11-20 17:10:05,751 - INFO - Validated that VN ctest-vn-97430663 is not found in API Server 2025-11-20 17:10:05,762 - DEBUG - VN ctest-vn-97430663 is not present in Agent 10.0.0.141 2025-11-20 17:10:05,762 - INFO - Validated that VN ctest-vn-97430663 is not in any agent 2025-11-20 17:10:05,781 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97430663 info 2025-11-20 17:10:06,056 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 17:10:06,056 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-11-20 17:10:06,057 - INFO - -------------------------------------------------------------------------------- 2025-11-20 17:10:06,794 - INFO - Deleted project: ctest-TestBasicPolicy-48408476, ID : 43baa910-00ad-4c86-bc2b-a4d0b7c00e11