2025-12-01 13:22:03,272 - INFO - Domain Default found not creating 2025-12-01 13:22:03,461 - INFO - Project ctest-TestBasicPolicy-79498083 not found, creating it 2025-12-01 13:22:03,955 - INFO - Created Project:ctest-TestBasicPolicy-79498083, ID : 68424bc5-29a3-4bfe-8b64-dc723a7b0f21 2025-12-01 13:22:05,545 - INFO - ================================================================================ 2025-12-01 13:22:05,545 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-01 13:22:05,545 - 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-12-01 13:22:05,804 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-12-01 13:22:05,804 - INFO - Initial checks done. Running the testcase now 2025-12-01 13:22:05,804 - INFO - 2025-12-01 13:22:06,357 - DEBUG - Response for create_network : {'network': {'id': 'd34eed04-c4cf-4de9-8426-4b28a24d779c', 'name': 'ctest-vn-00443884', 'tenant_id': '68424bc529a34bfe8b64dc723a7b0f21', 'project_id': '68424bc529a34bfe8b64dc723a7b0f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79498083', 'ctest-vn-00443884'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 13:22:06,560 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3a31300-eb89-4f18-a190-3dcb9daceaef', 'name': '', 'tenant_id': '68424bc529a34bfe8b64dc723a7b0f21', 'network_id': 'd34eed04-c4cf-4de9-8426-4b28a24d779c', 'ip_version': 4, 'cidr': '105.128.124.128/26', 'allocation_pools': [{'start': '105.128.124.130', 'end': '105.128.124.190'}], 'gateway_ip': '105.128.124.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.128.124.130', 'tags': [], 'project_id': '68424bc529a34bfe8b64dc723a7b0f21'}} 2025-12-01 13:22:06,579 - INFO - Created VN ctest-vn-00443884 2025-12-01 13:22:06,634 - DEBUG - VN ctest-vn-00443884 UUID is d34eed04-c4cf-4de9-8426-4b28a24d779c 2025-12-01 13:22:06,948 - DEBUG - Response for create_network : {'network': {'id': '897176b3-557d-4d4a-b301-f10b1a25ab75', 'name': 'ctest-vn-17303124', 'tenant_id': '68424bc529a34bfe8b64dc723a7b0f21', 'project_id': '68424bc529a34bfe8b64dc723a7b0f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79498083', 'ctest-vn-17303124'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 13:22:07,178 - DEBUG - Response for create_subnet : {'subnet': {'id': '59e16b7e-f663-485c-b48c-976ff233653a', 'name': '', 'tenant_id': '68424bc529a34bfe8b64dc723a7b0f21', 'network_id': '897176b3-557d-4d4a-b301-f10b1a25ab75', 'ip_version': 4, 'cidr': '27.86.119.64/26', 'allocation_pools': [{'start': '27.86.119.66', 'end': '27.86.119.126'}], 'gateway_ip': '27.86.119.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.86.119.66', 'tags': [], 'project_id': '68424bc529a34bfe8b64dc723a7b0f21'}} 2025-12-01 13:22:07,196 - INFO - Created VN ctest-vn-17303124 2025-12-01 13:22:07,250 - DEBUG - VN ctest-vn-17303124 UUID is 897176b3-557d-4d4a-b301-f10b1a25ab75 2025-12-01 13:22:07,365 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-00443884, 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-79498083:ctest-vn-17303124, 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-12-01 13:22:07,695 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd34eed04-c4cf-4de9-8426-4b28a24d779c', 'name': 'ctest-vn-00443884', 'tenant_id': '68424bc529a34bfe8b64dc723a7b0f21', 'project_id': '68424bc529a34bfe8b64dc723a7b0f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c3a31300-eb89-4f18-a190-3dcb9daceaef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79498083', 'ctest-vn-00443884'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79498083', 'ctest-policy-allow-all-49817460']], 'subnet_ipam': [{'subnet_cidr': '105.128.124.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-01 13:22:07,930 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '897176b3-557d-4d4a-b301-f10b1a25ab75', 'name': 'ctest-vn-17303124', 'tenant_id': '68424bc529a34bfe8b64dc723a7b0f21', 'project_id': '68424bc529a34bfe8b64dc723a7b0f21', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59e16b7e-f663-485c-b48c-976ff233653a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79498083', 'ctest-vn-17303124'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79498083', 'ctest-policy-allow-all-49817460']], 'subnet_ipam': [{'subnet_cidr': '27.86.119.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-01 13:22:08,094 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-01 13:22:08,395 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-01 13:22:08,426 - DEBUG - Requesting: http://10.0.0.50:8082/domain/becf8fcd-ffe7-4871-97bb-0085eabd7b09 2025-12-01 13:22:08,440 - DEBUG - Requesting: http://10.0.0.50:8082/project/68424bc5-29a3-4bfe-8b64-dc723a7b0f21 2025-12-01 13:22:08,515 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d34eed04-c4cf-4de9-8426-4b28a24d779c 2025-12-01 13:22:08,525 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d34eed04-c4cf-4de9-8426-4b28a24d779c 2025-12-01 13:22:08,535 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cfa3fbc9-b91f-416d-a701-5156597b941e 2025-12-01 13:22:08,542 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cfa3fbc9-b91f-416d-a701-5156597b941e 2025-12-01 13:22:08,549 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/25699195-ce96-4356-891b-532c56cd3c10 2025-12-01 13:22:08,555 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-01 13:22:08,555 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d34eed04-c4cf-4de9-8426-4b28a24d779c 2025-12-01 13:22:08,564 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cfa3fbc9-b91f-416d-a701-5156597b941e 2025-12-01 13:22:08,579 - INFO - Verified VN network id 11 for VN d34eed04-c4cf-4de9-8426-4b28a24d779c 2025-12-01 13:22:08,579 - INFO - Verifications in API Server for VN ctest-vn-00443884 passed 2025-12-01 13:22:08,579 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d34eed04-c4cf-4de9-8426-4b28a24d779c 2025-12-01 13:22:08,590 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cfa3fbc9-b91f-416d-a701-5156597b941e 2025-12-01 13:22:08,598 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cfa3fbc9-b91f-416d-a701-5156597b941e 2025-12-01 13:22:08,606 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/25699195-ce96-4356-891b-532c56cd3c10 2025-12-01 13:22:08,621 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-00443884', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79498083', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15226367994923797993', 'uuid-lslong': '9522381100015253404'}, 'enable': 'true', 'created': '2025-12-01T13:22:06', 'last-modified': '2025-12-01T13:22:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947000'} 2025-12-01 13:22:08,628 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-01 13:22:08,628 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00443884 passed 2025-12-01 13:22:08,628 - DEBUG - ====Verifying policy data for ctest-vn-00443884 in API_Server ====== 2025-12-01 13:22:08,629 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-01 13:22:08,635 - DEBUG - Requesting: http://10.0.0.50:8082/domain/becf8fcd-ffe7-4871-97bb-0085eabd7b09 2025-12-01 13:22:08,646 - DEBUG - Requesting: http://10.0.0.50:8082/project/68424bc5-29a3-4bfe-8b64-dc723a7b0f21 2025-12-01 13:22:08,714 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d34eed04-c4cf-4de9-8426-4b28a24d779c 2025-12-01 13:22:08,724 - DEBUG - ==>Verifying data for policy with id: 63f905ff-9010-4792-847b-353a563b2f13, fqn: ['default-domain', 'ctest-TestBasicPolicy-79498083', 'ctest-policy-allow-all-49817460'] 2025-12-01 13:22:08,724 - INFO - VN ctest-vn-00443884 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-01 13:22:08,724 - DEBUG - Verifying the vn in opserver 2025-12-01 13:22:08,724 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-00443884 virtual network link through opserver 10.0.0.50 2025-12-01 13:22:08,724 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-01 13:22:09,019 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-01 13:22:09,087 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-00443884', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-00443884?flat'} 2025-12-01 13:22:09,087 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-00443884 is found in opserver 2025-12-01 13:22:09,096 - DEBUG - Do not have enough data to verify VN in agent 2025-12-01 13:22:09,101 - DEBUG - VRF ids for VN ctest-vn-00443884: {} 2025-12-01 13:22:09,101 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-01 13:22:09,106 - DEBUG - Requesting: http://10.0.0.50:8082/domain/becf8fcd-ffe7-4871-97bb-0085eabd7b09 2025-12-01 13:22:09,117 - DEBUG - Requesting: http://10.0.0.50:8082/project/68424bc5-29a3-4bfe-8b64-dc723a7b0f21 2025-12-01 13:22:09,185 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/897176b3-557d-4d4a-b301-f10b1a25ab75 2025-12-01 13:22:09,198 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/897176b3-557d-4d4a-b301-f10b1a25ab75 2025-12-01 13:22:09,208 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8e0adb6d-2e3b-4e75-88bb-8b3652d2f865 2025-12-01 13:22:09,215 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8e0adb6d-2e3b-4e75-88bb-8b3652d2f865 2025-12-01 13:22:09,221 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3bca1c33-277a-4dde-a84e-7e3c23b952e6 2025-12-01 13:22:09,228 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-01 13:22:09,228 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/897176b3-557d-4d4a-b301-f10b1a25ab75 2025-12-01 13:22:09,236 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8e0adb6d-2e3b-4e75-88bb-8b3652d2f865 2025-12-01 13:22:09,250 - INFO - Verified VN network id 12 for VN 897176b3-557d-4d4a-b301-f10b1a25ab75 2025-12-01 13:22:09,250 - INFO - Verifications in API Server for VN ctest-vn-17303124 passed 2025-12-01 13:22:09,251 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/897176b3-557d-4d4a-b301-f10b1a25ab75 2025-12-01 13:22:09,259 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8e0adb6d-2e3b-4e75-88bb-8b3652d2f865 2025-12-01 13:22:09,267 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8e0adb6d-2e3b-4e75-88bb-8b3652d2f865 2025-12-01 13:22:09,274 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3bca1c33-277a-4dde-a84e-7e3c23b952e6 2025-12-01 13:22:09,286 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-17303124', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79498083', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9903827568169930058', 'uuid-lslong': '12898855837751421813'}, 'enable': 'true', 'created': '2025-12-01T13:22:06', 'last-modified': '2025-12-01T13:22:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.378428'} 2025-12-01 13:22:09,292 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-01 13:22:09,293 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17303124 passed 2025-12-01 13:22:09,293 - DEBUG - ====Verifying policy data for ctest-vn-17303124 in API_Server ====== 2025-12-01 13:22:09,293 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-01 13:22:09,299 - DEBUG - Requesting: http://10.0.0.50:8082/domain/becf8fcd-ffe7-4871-97bb-0085eabd7b09 2025-12-01 13:22:09,309 - DEBUG - Requesting: http://10.0.0.50:8082/project/68424bc5-29a3-4bfe-8b64-dc723a7b0f21 2025-12-01 13:22:09,380 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/897176b3-557d-4d4a-b301-f10b1a25ab75 2025-12-01 13:22:09,389 - DEBUG - ==>Verifying data for policy with id: 63f905ff-9010-4792-847b-353a563b2f13, fqn: ['default-domain', 'ctest-TestBasicPolicy-79498083', 'ctest-policy-allow-all-49817460'] 2025-12-01 13:22:09,389 - INFO - VN ctest-vn-17303124 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-01 13:22:09,389 - DEBUG - Verifying the vn in opserver 2025-12-01 13:22:09,389 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-17303124 virtual network link through opserver 10.0.0.50 2025-12-01 13:22:09,389 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-01 13:22:09,399 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-17303124', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-17303124?flat'} 2025-12-01 13:22:09,399 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-17303124 is found in opserver 2025-12-01 13:22:09,409 - DEBUG - Do not have enough data to verify VN in agent 2025-12-01 13:22:09,414 - DEBUG - VRF ids for VN ctest-vn-17303124: {} 2025-12-01 13:22:09,472 - DEBUG - Services list from nova: [, , ] 2025-12-01 13:22:10,530 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4830-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4830-1) 2025-12-01 13:22:11,681 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4830-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4830-1) 2025-12-01 13:22:11,681 - INFO - Waiting for VM ctest-TestBasicPolicy-79498083-98621168 to be up.. 2025-12-01 13:22:11,762 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-01 13:22:16,838 - DEBUG - VM is in ACTIVE state now 2025-12-01 13:22:16,838 - INFO - VM name : ctest-TestBasicPolicy-79498083-98621168 2025-12-01 13:22:16,920 - DEBUG - VM ctest-TestBasicPolicy-79498083-98621168 ID is 2f2032fe-c508-4aab-8cb0-599423d77cc3 2025-12-01 13:22:16,945 - DEBUG - VM ctest-TestBasicPolicy-79498083-98621168 launched on Node cn-jenkins-deploy-platform-ansible-os-4830-1 2025-12-01 13:22:17,038 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2f2032fe-c508-4aab-8cb0-599423d77cc3 2025-12-01 13:22:17,046 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/33a0e2e1-99f9-4f3f-b83f-1fbe7d2e9f0b 2025-12-01 13:22:20,315 - 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 1026ms') 2025-12-01 13:22:20,315 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79498083-98621168 failed! 2025-12-01 13:22:20,374 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-79498083:ctest-vn-00443884 is 105.128.124.129 and allocation pool is NOT set 2025-12-01 13:22:22,441 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.603 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.603/4.187/7.771/3.584 ms') 2025-12-01 13:22:22,441 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79498083-98621168 passed 2025-12-01 13:22:22,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 13:22:22,590 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79498083-98621168, IP 105.128.124.131, Port 22 2025-12-01 13:22:22,757 - DEBUG - VM ctest-TestBasicPolicy-79498083-98621168 is ready for SSH connections 2025-12-01 13:22:22,758 - INFO - Waiting for VM ctest-TestBasicPolicy-79498083-93089855 to be up.. 2025-12-01 13:22:22,840 - DEBUG - VM is in ACTIVE state now 2025-12-01 13:22:22,840 - INFO - VM name : ctest-TestBasicPolicy-79498083-93089855 2025-12-01 13:22:22,914 - DEBUG - VM ctest-TestBasicPolicy-79498083-93089855 ID is 58d25075-835b-4ca0-9f19-6aab20ec6913 2025-12-01 13:22:22,914 - DEBUG - VM ctest-TestBasicPolicy-79498083-93089855 launched on Node cn-jenkins-deploy-platform-ansible-os-4830-1 2025-12-01 13:22:22,988 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/58d25075-835b-4ca0-9f19-6aab20ec6913 2025-12-01 13:22:22,997 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/10b6cbc2-81bd-425f-ac38-789ea3909f36 2025-12-01 13:22:24,242 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.786 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.786/2.044/3.302/1.258 ms') 2025-12-01 13:22:24,242 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-79498083-93089855 passed 2025-12-01 13:22:24,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 13:22:24,398 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79498083-93089855, IP 27.86.119.67, Port 22 2025-12-01 13:22:24,564 - DEBUG - VM ctest-TestBasicPolicy-79498083-93089855 is ready for SSH connections 2025-12-01 13:22:24,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 13:22:24,564 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.86.119.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-01 13:22:24,564 - DEBUG - ping -s 56 -c 3 -W 1 27.86.119.67 2025-12-01 13:22:28,635 - DEBUG - PING 27.86.119.67 (27.86.119.67): 56 data bytes 64 bytes from 27.86.119.67: seq=0 ttl=63 time=4.251 ms 64 bytes from 27.86.119.67: seq=1 ttl=63 time=1.126 ms 64 bytes from 27.86.119.67: seq=2 ttl=63 time=1.078 ms --- 27.86.119.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.078/2.151/4.251 ms 2025-12-01 13:22:28,635 - INFO - Ping to IP 27.86.119.67 from VM ctest-TestBasicPolicy-79498083-98621168 passed 2025-12-01 13:22:28,826 - DEBUG - Policy Update Response {"network-policy": {"uuid": "63f905ff-9010-4792-847b-353a563b2f13", "href": "http://10.0.0.50:8082/network-policy/63f905ff-9010-4792-847b-353a563b2f13"}} 2025-12-01 13:22:28,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 13:22:28,826 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.86.119.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-01 13:22:28,826 - DEBUG - ping -s 56 -c 3 -W 1 27.86.119.67 2025-12-01 13:22:32,047 - DEBUG - PING 27.86.119.67 (27.86.119.67): 56 data bytes --- 27.86.119.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-01 13:22:32,047 - WARNING - Ping to IP 27.86.119.67 from VM ctest-TestBasicPolicy-79498083-98621168 failed 2025-12-01 13:22:32,047 - INFO - Deleting VM ctest-TestBasicPolicy-79498083-93089855 2025-12-01 13:22:32,120 - INFO - Deleting VM ctest-TestBasicPolicy-79498083-98621168 2025-12-01 13:22:32,491 - INFO - Deleted policy ctest-policy-allow-all-49817460 2025-12-01 13:22:32,491 - INFO - Deleting VN ctest-vn-17303124 2025-12-01 13:22:32,525 - DEBUG - VN 897176b3-557d-4d4a-b301-f10b1a25ab75 still in use: Unable to complete operation on network 897176b3-557d-4d4a-b301-f10b1a25ab75. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-646e0ce0-ab89-434a-857b-b518136fdcb8'] 2025-12-01 13:22:32,525 - WARNING - Deleting VN ctest-vn-17303124 failed..Will retry 2025-12-01 13:22:34,653 - DEBUG - Response for deleting network () 2025-12-01 13:22:34,653 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8e0adb6d-2e3b-4e75-88bb-8b3652d2f865 2025-12-01 13:22:34,660 - DEBUG - Response Code: 404 2025-12-01 13:22:34,660 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-01 13:22:34,665 - DEBUG - Requesting: http://10.0.0.50:8082/domain/becf8fcd-ffe7-4871-97bb-0085eabd7b09 2025-12-01 13:22:34,720 - DEBUG - Requesting: http://10.0.0.50:8082/project/68424bc5-29a3-4bfe-8b64-dc723a7b0f21 2025-12-01 13:22:34,798 - INFO - Validated that VN ctest-vn-17303124 is not found in API Server 2025-12-01 13:22:34,808 - DEBUG - VN ctest-vn-17303124 is not present in Agent 10.0.0.50 2025-12-01 13:22:34,808 - INFO - Validated that VN ctest-vn-17303124 is not in any agent 2025-12-01 13:22:34,824 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17303124 info 2025-12-01 13:22:34,825 - INFO - Deleting VN ctest-vn-00443884 2025-12-01 13:22:34,944 - DEBUG - Response for deleting network () 2025-12-01 13:22:34,944 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cfa3fbc9-b91f-416d-a701-5156597b941e 2025-12-01 13:22:34,950 - DEBUG - Response Code: 404 2025-12-01 13:22:34,950 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-01 13:22:34,956 - DEBUG - Requesting: http://10.0.0.50:8082/domain/becf8fcd-ffe7-4871-97bb-0085eabd7b09 2025-12-01 13:22:35,011 - DEBUG - Requesting: http://10.0.0.50:8082/project/68424bc5-29a3-4bfe-8b64-dc723a7b0f21 2025-12-01 13:22:35,093 - INFO - Validated that VN ctest-vn-00443884 is not found in API Server 2025-12-01 13:22:35,103 - DEBUG - VN ctest-vn-00443884 is not present in Agent 10.0.0.50 2025-12-01 13:22:35,103 - INFO - Validated that VN ctest-vn-00443884 is not in any agent 2025-12-01 13:22:35,119 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00443884 info 2025-12-01 13:22:35,375 - DEBUG - No XMPP flaps were noticed during the test
2025-12-01 13:22:35,375 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-12-01 13:22:35,375 - INFO - -------------------------------------------------------------------------------- 2025-12-01 13:22:36,068 - INFO - Deleted project: ctest-TestBasicPolicy-79498083, ID : 68424bc5-29a3-4bfe-8b64-dc723a7b0f21