2025-10-22 10:44:25,256 - INFO - Domain Default found not creating 2025-10-22 10:44:25,390 - INFO - Project ctest-TestBasicPolicy-53243509 not found, creating it 2025-10-22 10:44:25,820 - INFO - Created Project:ctest-TestBasicPolicy-53243509, ID : 4d76ce30-768b-4926-b727-4d8b91e0ac1b 2025-10-22 10:44:27,155 - INFO - ================================================================================ 2025-10-22 10:44:27,155 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 10:44:27,155 - 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-10-22 10:44:27,416 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-22 10:44:27,416 - INFO - Initial checks done. Running the testcase now 2025-10-22 10:44:27,416 - INFO - 2025-10-22 10:44:27,928 - DEBUG - Response for create_network : {'network': {'id': '6c9fdbe7-d96b-4205-878d-012a8d14cc21', 'name': 'ctest-vn-66567698', 'tenant_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'project_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53243509', 'ctest-vn-66567698'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:44:28,154 - DEBUG - Response for create_subnet : {'subnet': {'id': '70bd93a0-8c75-4f8d-9b3f-e876f927cb14', 'name': '', 'tenant_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'network_id': '6c9fdbe7-d96b-4205-878d-012a8d14cc21', 'ip_version': 4, 'cidr': '78.81.93.64/26', 'allocation_pools': [{'start': '78.81.93.66', 'end': '78.81.93.126'}], 'gateway_ip': '78.81.93.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.81.93.66', 'tags': [], 'project_id': '4d76ce30768b4926b7274d8b91e0ac1b'}} 2025-10-22 10:44:28,170 - INFO - Created VN ctest-vn-66567698 2025-10-22 10:44:28,220 - DEBUG - VN ctest-vn-66567698 UUID is 6c9fdbe7-d96b-4205-878d-012a8d14cc21 2025-10-22 10:44:28,532 - DEBUG - Response for create_network : {'network': {'id': '62a6c5fd-e751-4b4c-abcb-d0636c38e8a3', 'name': 'ctest-vn-96532546', 'tenant_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'project_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53243509', 'ctest-vn-96532546'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:44:28,696 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8c7ab5e-5043-44b0-8989-c149ad0b6b62', 'name': '', 'tenant_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'network_id': '62a6c5fd-e751-4b4c-abcb-d0636c38e8a3', 'ip_version': 4, 'cidr': '216.109.222.192/26', 'allocation_pools': [{'start': '216.109.222.194', 'end': '216.109.222.254'}], 'gateway_ip': '216.109.222.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.109.222.194', 'tags': [], 'project_id': '4d76ce30768b4926b7274d8b91e0ac1b'}} 2025-10-22 10:44:28,711 - INFO - Created VN ctest-vn-96532546 2025-10-22 10:44:28,760 - DEBUG - VN ctest-vn-96532546 UUID is 62a6c5fd-e751-4b4c-abcb-d0636c38e8a3 2025-10-22 10:44:28,900 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-66567698, 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-53243509:ctest-vn-96532546, 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-10-22 10:44:29,183 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6c9fdbe7-d96b-4205-878d-012a8d14cc21', 'name': 'ctest-vn-66567698', 'tenant_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'project_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['70bd93a0-8c75-4f8d-9b3f-e876f927cb14'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53243509', 'ctest-vn-66567698'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53243509', 'ctest-policy-allow-all-75135769']], 'subnet_ipam': [{'subnet_cidr': '78.81.93.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:44:29,390 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '62a6c5fd-e751-4b4c-abcb-d0636c38e8a3', 'name': 'ctest-vn-96532546', 'tenant_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'project_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d8c7ab5e-5043-44b0-8989-c149ad0b6b62'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53243509', 'ctest-vn-96532546'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53243509', 'ctest-policy-allow-all-75135769']], 'subnet_ipam': [{'subnet_cidr': '216.109.222.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:44:29,552 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-22 10:44:29,843 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-22 10:44:29,869 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d53002f-df08-4be7-88b9-ca8518b9dbda 2025-10-22 10:44:29,881 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d76ce30-768b-4926-b727-4d8b91e0ac1b 2025-10-22 10:44:29,955 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6c9fdbe7-d96b-4205-878d-012a8d14cc21 2025-10-22 10:44:29,968 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6c9fdbe7-d96b-4205-878d-012a8d14cc21 2025-10-22 10:44:29,978 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ac8a03cd-0fba-40c5-8e90-f2c092d0c528 2025-10-22 10:44:29,986 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ac8a03cd-0fba-40c5-8e90-f2c092d0c528 2025-10-22 10:44:29,993 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/70378d7d-2080-4059-9a8d-b1c44c72891b 2025-10-22 10:44:29,999 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 10:44:29,999 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6c9fdbe7-d96b-4205-878d-012a8d14cc21 2025-10-22 10:44:30,009 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ac8a03cd-0fba-40c5-8e90-f2c092d0c528 2025-10-22 10:44:30,026 - INFO - Verified VN network id 12 for VN 6c9fdbe7-d96b-4205-878d-012a8d14cc21 2025-10-22 10:44:30,026 - INFO - Verifications in API Server for VN ctest-vn-66567698 passed 2025-10-22 10:44:30,026 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6c9fdbe7-d96b-4205-878d-012a8d14cc21 2025-10-22 10:44:30,035 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ac8a03cd-0fba-40c5-8e90-f2c092d0c528 2025-10-22 10:44:30,042 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ac8a03cd-0fba-40c5-8e90-f2c092d0c528 2025-10-22 10:44:30,049 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/70378d7d-2080-4059-9a8d-b1c44c72891b 2025-10-22 10:44:30,060 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-66567698', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53243509', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7827216466224824837', 'uuid-lslong': '9767464449103678497'}, 'enable': 'true', 'created': '2025-10-22T10:44:27', 'last-modified': '2025-10-22T10:44:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.899453'} 2025-10-22 10:44:30,066 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 10:44:30,066 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66567698 passed 2025-10-22 10:44:30,066 - DEBUG - ====Verifying policy data for ctest-vn-66567698 in API_Server ====== 2025-10-22 10:44:30,066 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-22 10:44:30,071 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d53002f-df08-4be7-88b9-ca8518b9dbda 2025-10-22 10:44:30,081 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d76ce30-768b-4926-b727-4d8b91e0ac1b 2025-10-22 10:44:30,146 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6c9fdbe7-d96b-4205-878d-012a8d14cc21 2025-10-22 10:44:30,154 - DEBUG - ==>Verifying data for policy with id: 995ceacb-a118-4aad-8f8b-761c1b0fe414, fqn: ['default-domain', 'ctest-TestBasicPolicy-53243509', 'ctest-policy-allow-all-75135769'] 2025-10-22 10:44:30,154 - INFO - VN ctest-vn-66567698 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 10:44:30,154 - DEBUG - Verifying the vn in opserver 2025-10-22 10:44:30,154 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-66567698 virtual network link through opserver 10.0.0.242 2025-10-22 10:44:30,155 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-22 10:44:30,453 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-22 10:44:30,513 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-66567698', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-66567698?flat'} 2025-10-22 10:44:30,513 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-66567698 is found in opserver 2025-10-22 10:44:30,523 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 10:44:30,527 - DEBUG - VRF ids for VN ctest-vn-66567698: {} 2025-10-22 10:44:30,527 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-22 10:44:30,531 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d53002f-df08-4be7-88b9-ca8518b9dbda 2025-10-22 10:44:30,540 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d76ce30-768b-4926-b727-4d8b91e0ac1b 2025-10-22 10:44:30,605 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/62a6c5fd-e751-4b4c-abcb-d0636c38e8a3 2025-10-22 10:44:30,614 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/62a6c5fd-e751-4b4c-abcb-d0636c38e8a3 2025-10-22 10:44:30,621 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/94802edf-7c63-43b6-a2bd-2e48c10cf890 2025-10-22 10:44:30,626 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/94802edf-7c63-43b6-a2bd-2e48c10cf890 2025-10-22 10:44:30,631 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/13618d59-b311-4b4d-b6fb-2b7b3e79bec2 2025-10-22 10:44:30,636 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 10:44:30,636 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/62a6c5fd-e751-4b4c-abcb-d0636c38e8a3 2025-10-22 10:44:30,643 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/94802edf-7c63-43b6-a2bd-2e48c10cf890 2025-10-22 10:44:30,653 - INFO - Verified VN network id 13 for VN 62a6c5fd-e751-4b4c-abcb-d0636c38e8a3 2025-10-22 10:44:30,653 - INFO - Verifications in API Server for VN ctest-vn-96532546 passed 2025-10-22 10:44:30,654 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/62a6c5fd-e751-4b4c-abcb-d0636c38e8a3 2025-10-22 10:44:30,660 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/94802edf-7c63-43b6-a2bd-2e48c10cf890 2025-10-22 10:44:30,665 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/94802edf-7c63-43b6-a2bd-2e48c10cf890 2025-10-22 10:44:30,670 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/13618d59-b311-4b4d-b6fb-2b7b3e79bec2 2025-10-22 10:44:30,679 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-96532546', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53243509', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7108586756149168972', 'uuid-lslong': '12379217126193948835'}, 'enable': 'true', 'created': '2025-10-22T10:44:28', 'last-modified': '2025-10-22T10:44:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.304487'} 2025-10-22 10:44:30,683 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 10:44:30,683 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96532546 passed 2025-10-22 10:44:30,684 - DEBUG - ====Verifying policy data for ctest-vn-96532546 in API_Server ====== 2025-10-22 10:44:30,684 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-22 10:44:30,688 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d53002f-df08-4be7-88b9-ca8518b9dbda 2025-10-22 10:44:30,697 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d76ce30-768b-4926-b727-4d8b91e0ac1b 2025-10-22 10:44:30,763 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/62a6c5fd-e751-4b4c-abcb-d0636c38e8a3 2025-10-22 10:44:30,771 - DEBUG - ==>Verifying data for policy with id: 995ceacb-a118-4aad-8f8b-761c1b0fe414, fqn: ['default-domain', 'ctest-TestBasicPolicy-53243509', 'ctest-policy-allow-all-75135769'] 2025-10-22 10:44:30,771 - INFO - VN ctest-vn-96532546 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 10:44:30,771 - DEBUG - Verifying the vn in opserver 2025-10-22 10:44:30,771 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-96532546 virtual network link through opserver 10.0.0.242 2025-10-22 10:44:30,771 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-22 10:44:30,778 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-96532546', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-96532546?flat'} 2025-10-22 10:44:30,778 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-96532546 is found in opserver 2025-10-22 10:44:30,785 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 10:44:30,789 - DEBUG - VRF ids for VN ctest-vn-96532546: {} 2025-10-22 10:44:30,836 - DEBUG - Services list from nova: [, , ] 2025-10-22 10:44:31,785 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4420-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4420-1) 2025-10-22 10:44:32,873 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4420-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4420-1) 2025-10-22 10:44:32,873 - INFO - Waiting for VM ctest-TestBasicPolicy-53243509-28830151 to be up.. 2025-10-22 10:44:32,958 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 10:44:38,025 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:44:38,025 - INFO - VM name : ctest-TestBasicPolicy-53243509-28830151 2025-10-22 10:44:38,088 - DEBUG - VM ctest-TestBasicPolicy-53243509-28830151 ID is 2f170849-991f-48ff-840e-bccc78783f09 2025-10-22 10:44:38,106 - DEBUG - VM ctest-TestBasicPolicy-53243509-28830151 launched on Node cn-jenkins-deploy-platform-ansible-os-4420-1 2025-10-22 10:44:38,168 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/2f170849-991f-48ff-840e-bccc78783f09 2025-10-22 10:44:38,175 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/ea3c4cf9-5fd0-47bf-af83-7578378941b5 2025-10-22 10:44:41,429 - 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 1023ms') 2025-10-22 10:44:41,429 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53243509-28830151 failed! 2025-10-22 10:44:41,484 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-66567698 is 78.81.93.65 and allocation pool is NOT set 2025-10-22 10:44:43,549 - 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=4.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.706 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.706/2.609/4.513/1.903 ms') 2025-10-22 10:44:43,549 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53243509-28830151 passed 2025-10-22 10:44:43,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:44:43,696 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53243509-28830151, IP 78.81.93.67, Port 22 2025-10-22 10:44:43,847 - DEBUG - VM ctest-TestBasicPolicy-53243509-28830151 is ready for SSH connections 2025-10-22 10:44:43,847 - INFO - Waiting for VM ctest-TestBasicPolicy-53243509-98679977 to be up.. 2025-10-22 10:44:43,908 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:44:43,908 - INFO - VM name : ctest-TestBasicPolicy-53243509-98679977 2025-10-22 10:44:43,966 - DEBUG - VM ctest-TestBasicPolicy-53243509-98679977 ID is 70dd689a-90a7-4f0e-86eb-2a9ca6caabaf 2025-10-22 10:44:43,966 - DEBUG - VM ctest-TestBasicPolicy-53243509-98679977 launched on Node cn-jenkins-deploy-platform-ansible-os-4420-1 2025-10-22 10:44:44,027 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/70dd689a-90a7-4f0e-86eb-2a9ca6caabaf 2025-10-22 10:44:44,034 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/fcfccf26-954a-4027-8ff3-ba9323926b83 2025-10-22 10:44:45,268 - 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=2.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.387 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.387/1.548/2.709/1.161 ms') 2025-10-22 10:44:45,268 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53243509-98679977 passed 2025-10-22 10:44:45,416 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:44:45,416 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53243509-98679977, IP 216.109.222.195, Port 22 2025-10-22 10:44:45,568 - DEBUG - VM ctest-TestBasicPolicy-53243509-98679977 is ready for SSH connections 2025-10-22 10:44:45,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:44:45,568 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.109.222.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-22 10:44:45,568 - DEBUG - ping -s 56 -c 3 -W 1 216.109.222.195 2025-10-22 10:44:49,535 - DEBUG - PING 216.109.222.195 (216.109.222.195): 56 data bytes 64 bytes from 216.109.222.195: seq=0 ttl=63 time=3.237 ms 64 bytes from 216.109.222.195: seq=1 ttl=63 time=0.856 ms 64 bytes from 216.109.222.195: seq=2 ttl=63 time=0.946 ms --- 216.109.222.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.856/1.679/3.237 ms 2025-10-22 10:44:49,535 - INFO - Ping to IP 216.109.222.195 from VM ctest-TestBasicPolicy-53243509-28830151 passed 2025-10-22 10:44:49,724 - DEBUG - Policy Update Response {"network-policy": {"uuid": "995ceacb-a118-4aad-8f8b-761c1b0fe414", "href": "http://10.0.0.242:8082/network-policy/995ceacb-a118-4aad-8f8b-761c1b0fe414"}} 2025-10-22 10:44:49,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:44:49,726 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.109.222.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-22 10:44:49,726 - DEBUG - ping -s 56 -c 3 -W 1 216.109.222.195 2025-10-22 10:44:52,923 - DEBUG - PING 216.109.222.195 (216.109.222.195): 56 data bytes --- 216.109.222.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 10:44:52,923 - WARNING - Ping to IP 216.109.222.195 from VM ctest-TestBasicPolicy-53243509-28830151 failed 2025-10-22 10:44:52,923 - INFO - Deleting VM ctest-TestBasicPolicy-53243509-98679977 2025-10-22 10:44:52,982 - INFO - Deleting VM ctest-TestBasicPolicy-53243509-28830151 2025-10-22 10:44:53,354 - INFO - Deleted policy ctest-policy-allow-all-75135769 2025-10-22 10:44:53,354 - INFO - Deleting VN ctest-vn-96532546 2025-10-22 10:44:53,394 - DEBUG - VN 62a6c5fd-e751-4b4c-abcb-d0636c38e8a3 still in use: Unable to complete operation on network 62a6c5fd-e751-4b4c-abcb-d0636c38e8a3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1d437d41-f398-45dc-b6fe-a423924772e3'] 2025-10-22 10:44:53,394 - WARNING - Deleting VN ctest-vn-96532546 failed..Will retry 2025-10-22 10:44:55,490 - DEBUG - Response for deleting network () 2025-10-22 10:44:55,490 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/94802edf-7c63-43b6-a2bd-2e48c10cf890 2025-10-22 10:44:55,495 - DEBUG - Response Code: 404 2025-10-22 10:44:55,495 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-22 10:44:55,499 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d53002f-df08-4be7-88b9-ca8518b9dbda 2025-10-22 10:44:55,554 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d76ce30-768b-4926-b727-4d8b91e0ac1b 2025-10-22 10:44:55,618 - INFO - Validated that VN ctest-vn-96532546 is not found in API Server 2025-10-22 10:44:55,626 - DEBUG - VN ctest-vn-96532546 is not present in Agent 10.0.0.242 2025-10-22 10:44:55,626 - INFO - Validated that VN ctest-vn-96532546 is not in any agent 2025-10-22 10:44:55,638 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96532546 info 2025-10-22 10:44:55,638 - INFO - Deleting VN ctest-vn-66567698 2025-10-22 10:44:55,717 - DEBUG - Response for deleting network () 2025-10-22 10:44:55,717 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ac8a03cd-0fba-40c5-8e90-f2c092d0c528 2025-10-22 10:44:55,723 - DEBUG - Response Code: 404 2025-10-22 10:44:55,723 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-22 10:44:55,727 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d53002f-df08-4be7-88b9-ca8518b9dbda 2025-10-22 10:44:55,780 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d76ce30-768b-4926-b727-4d8b91e0ac1b 2025-10-22 10:44:55,848 - INFO - Validated that VN ctest-vn-66567698 is not found in API Server 2025-10-22 10:44:55,855 - DEBUG - VN ctest-vn-66567698 is not present in Agent 10.0.0.242 2025-10-22 10:44:55,855 - INFO - Validated that VN ctest-vn-66567698 is not in any agent 2025-10-22 10:44:55,867 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66567698 info 2025-10-22 10:44:56,120 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 10:44:56,120 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-22 10:44:56,120 - INFO - -------------------------------------------------------------------------------- 2025-10-22 10:44:56,764 - INFO - Deleted project: ctest-TestBasicPolicy-53243509, ID : 4d76ce30-768b-4926-b727-4d8b91e0ac1b