2025-09-19 01:57:23,851 - INFO - Domain Default found not creating 2025-09-19 01:57:23,981 - INFO - Project ctest-TestBasicPolicy-69254537 not found, creating it 2025-09-19 01:57:24,460 - INFO - Created Project:ctest-TestBasicPolicy-69254537, ID : 18ffa7e0-e90f-4a95-8486-690a8e04e1af 2025-09-19 01:57:25,819 - INFO - ================================================================================ 2025-09-19 01:57:25,819 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-19 01:57:25,819 - 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-19 01:57:26,074 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-09-19 01:57:26,074 - INFO - Initial checks done. Running the testcase now 2025-09-19 01:57:26,074 - INFO - 2025-09-19 01:57:26,592 - DEBUG - Response for create_network : {'network': {'id': 'b3a9c31a-06da-43cd-80a1-358dc2e1aebe', 'name': 'ctest-vn-45416023', 'tenant_id': '18ffa7e0e90f4a958486690a8e04e1af', 'project_id': '18ffa7e0e90f4a958486690a8e04e1af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69254537', 'ctest-vn-45416023'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 01:57:26,786 - DEBUG - Response for create_subnet : {'subnet': {'id': '99a58cdc-3c0a-4b1a-99fb-9dfb97d1aa4b', 'name': '', 'tenant_id': '18ffa7e0e90f4a958486690a8e04e1af', 'network_id': 'b3a9c31a-06da-43cd-80a1-358dc2e1aebe', 'ip_version': 4, 'cidr': '140.149.15.192/26', 'allocation_pools': [{'start': '140.149.15.194', 'end': '140.149.15.254'}], 'gateway_ip': '140.149.15.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.149.15.194', 'tags': [], 'project_id': '18ffa7e0e90f4a958486690a8e04e1af'}} 2025-09-19 01:57:26,802 - INFO - Created VN ctest-vn-45416023 2025-09-19 01:57:26,853 - DEBUG - VN ctest-vn-45416023 UUID is b3a9c31a-06da-43cd-80a1-358dc2e1aebe 2025-09-19 01:57:27,148 - DEBUG - Response for create_network : {'network': {'id': 'b1224525-1661-4d25-ba6d-14ad760d94a1', 'name': 'ctest-vn-19208075', 'tenant_id': '18ffa7e0e90f4a958486690a8e04e1af', 'project_id': '18ffa7e0e90f4a958486690a8e04e1af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69254537', 'ctest-vn-19208075'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 01:57:27,339 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fcd20b7-362b-4b91-b0c1-f4c5769f4a94', 'name': '', 'tenant_id': '18ffa7e0e90f4a958486690a8e04e1af', 'network_id': 'b1224525-1661-4d25-ba6d-14ad760d94a1', 'ip_version': 4, 'cidr': '125.10.55.0/26', 'allocation_pools': [{'start': '125.10.55.2', 'end': '125.10.55.62'}], 'gateway_ip': '125.10.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.10.55.2', 'tags': [], 'project_id': '18ffa7e0e90f4a958486690a8e04e1af'}} 2025-09-19 01:57:27,355 - INFO - Created VN ctest-vn-19208075 2025-09-19 01:57:27,405 - DEBUG - VN ctest-vn-19208075 UUID is b1224525-1661-4d25-ba6d-14ad760d94a1 2025-09-19 01:57:27,513 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69254537:ctest-vn-45416023, 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-69254537:ctest-vn-19208075, 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-19 01:57:27,788 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b3a9c31a-06da-43cd-80a1-358dc2e1aebe', 'name': 'ctest-vn-45416023', 'tenant_id': '18ffa7e0e90f4a958486690a8e04e1af', 'project_id': '18ffa7e0e90f4a958486690a8e04e1af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['99a58cdc-3c0a-4b1a-99fb-9dfb97d1aa4b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69254537', 'ctest-vn-45416023'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69254537', 'ctest-policy-allow-all-14001932']], 'subnet_ipam': [{'subnet_cidr': '140.149.15.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-19 01:57:28,073 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b1224525-1661-4d25-ba6d-14ad760d94a1', 'name': 'ctest-vn-19208075', 'tenant_id': '18ffa7e0e90f4a958486690a8e04e1af', 'project_id': '18ffa7e0e90f4a958486690a8e04e1af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1fcd20b7-362b-4b91-b0c1-f4c5769f4a94'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69254537', 'ctest-vn-19208075'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69254537', 'ctest-policy-allow-all-14001932']], 'subnet_ipam': [{'subnet_cidr': '125.10.55.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-19 01:57:28,221 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-19 01:57:28,511 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-19 01:57:28,536 - DEBUG - Requesting: http://10.0.0.65:8082/domain/9c2d5c5e-40ee-45b2-ab09-97603bfe1094 2025-09-19 01:57:28,547 - DEBUG - Requesting: http://10.0.0.65:8082/project/18ffa7e0-e90f-4a95-8486-690a8e04e1af 2025-09-19 01:57:28,615 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b3a9c31a-06da-43cd-80a1-358dc2e1aebe 2025-09-19 01:57:28,626 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b3a9c31a-06da-43cd-80a1-358dc2e1aebe 2025-09-19 01:57:28,635 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/73e90a86-8af0-4620-a63d-497332a08664 2025-09-19 01:57:28,641 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/73e90a86-8af0-4620-a63d-497332a08664 2025-09-19 01:57:28,648 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/2946fc01-5b2e-43f3-b5e0-8406d496fdbc 2025-09-19 01:57:28,653 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-19 01:57:28,653 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b3a9c31a-06da-43cd-80a1-358dc2e1aebe 2025-09-19 01:57:28,661 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/73e90a86-8af0-4620-a63d-497332a08664 2025-09-19 01:57:28,673 - INFO - Verified VN network id 12 for VN b3a9c31a-06da-43cd-80a1-358dc2e1aebe 2025-09-19 01:57:28,673 - INFO - Verifications in API Server for VN ctest-vn-45416023 passed 2025-09-19 01:57:28,673 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b3a9c31a-06da-43cd-80a1-358dc2e1aebe 2025-09-19 01:57:28,681 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/73e90a86-8af0-4620-a63d-497332a08664 2025-09-19 01:57:28,688 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/73e90a86-8af0-4620-a63d-497332a08664 2025-09-19 01:57:28,694 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/2946fc01-5b2e-43f3-b5e0-8406d496fdbc 2025-09-19 01:57:28,706 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69254537:ctest-vn-45416023', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69254537', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12946093120404734925', 'uuid-lslong': '9268748391081422526'}, 'enable': 'true', 'created': '2025-09-19T01:57:26', 'last-modified': '2025-09-19T01:57:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.939032'} 2025-09-19 01:57:28,711 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-19 01:57:28,711 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45416023 passed 2025-09-19 01:57:28,711 - DEBUG - ====Verifying policy data for ctest-vn-45416023 in API_Server ====== 2025-09-19 01:57:28,711 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-19 01:57:28,717 - DEBUG - Requesting: http://10.0.0.65:8082/domain/9c2d5c5e-40ee-45b2-ab09-97603bfe1094 2025-09-19 01:57:28,727 - DEBUG - Requesting: http://10.0.0.65:8082/project/18ffa7e0-e90f-4a95-8486-690a8e04e1af 2025-09-19 01:57:28,793 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b3a9c31a-06da-43cd-80a1-358dc2e1aebe 2025-09-19 01:57:28,801 - DEBUG - ==>Verifying data for policy with id: 99e25258-3549-4b22-9670-1e8435bb174b, fqn: ['default-domain', 'ctest-TestBasicPolicy-69254537', 'ctest-policy-allow-all-14001932'] 2025-09-19 01:57:28,801 - INFO - VN ctest-vn-45416023 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-19 01:57:28,801 - DEBUG - Verifying the vn in opserver 2025-09-19 01:57:28,801 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69254537:ctest-vn-45416023 virtual network link through opserver 10.0.0.65 2025-09-19 01:57:28,801 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-09-19 01:57:29,089 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-09-19 01:57:29,138 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69254537:ctest-vn-45416023', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69254537:ctest-vn-45416023?flat'} 2025-09-19 01:57:29,138 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69254537:ctest-vn-45416023 is found in opserver 2025-09-19 01:57:29,149 - DEBUG - Do not have enough data to verify VN in agent 2025-09-19 01:57:29,153 - DEBUG - VRF ids for VN ctest-vn-45416023: {} 2025-09-19 01:57:29,153 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-19 01:57:29,157 - DEBUG - Requesting: http://10.0.0.65:8082/domain/9c2d5c5e-40ee-45b2-ab09-97603bfe1094 2025-09-19 01:57:29,167 - DEBUG - Requesting: http://10.0.0.65:8082/project/18ffa7e0-e90f-4a95-8486-690a8e04e1af 2025-09-19 01:57:29,234 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b1224525-1661-4d25-ba6d-14ad760d94a1 2025-09-19 01:57:29,243 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b1224525-1661-4d25-ba6d-14ad760d94a1 2025-09-19 01:57:29,252 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/fbce57e7-bf87-4811-a214-83b41744b8ec 2025-09-19 01:57:29,258 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/fbce57e7-bf87-4811-a214-83b41744b8ec 2025-09-19 01:57:29,264 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/a2e7e8e1-e95c-46e4-a7f5-9a53403100fc 2025-09-19 01:57:29,269 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-19 01:57:29,269 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b1224525-1661-4d25-ba6d-14ad760d94a1 2025-09-19 01:57:29,277 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/fbce57e7-bf87-4811-a214-83b41744b8ec 2025-09-19 01:57:29,289 - INFO - Verified VN network id 13 for VN b1224525-1661-4d25-ba6d-14ad760d94a1 2025-09-19 01:57:29,289 - INFO - Verifications in API Server for VN ctest-vn-19208075 passed 2025-09-19 01:57:29,290 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b1224525-1661-4d25-ba6d-14ad760d94a1 2025-09-19 01:57:29,298 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/fbce57e7-bf87-4811-a214-83b41744b8ec 2025-09-19 01:57:29,304 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/fbce57e7-bf87-4811-a214-83b41744b8ec 2025-09-19 01:57:29,310 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/a2e7e8e1-e95c-46e4-a7f5-9a53403100fc 2025-09-19 01:57:29,319 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69254537:ctest-vn-19208075', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69254537', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12763840319512988965', 'uuid-lslong': '13433415998758556833'}, 'enable': 'true', 'created': '2025-09-19T01:57:27', 'last-modified': '2025-09-19T01:57:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.321208'} 2025-09-19 01:57:29,324 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-19 01:57:29,324 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19208075 passed 2025-09-19 01:57:29,324 - DEBUG - ====Verifying policy data for ctest-vn-19208075 in API_Server ====== 2025-09-19 01:57:29,324 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-19 01:57:29,329 - DEBUG - Requesting: http://10.0.0.65:8082/domain/9c2d5c5e-40ee-45b2-ab09-97603bfe1094 2025-09-19 01:57:29,340 - DEBUG - Requesting: http://10.0.0.65:8082/project/18ffa7e0-e90f-4a95-8486-690a8e04e1af 2025-09-19 01:57:29,409 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/b1224525-1661-4d25-ba6d-14ad760d94a1 2025-09-19 01:57:29,419 - DEBUG - ==>Verifying data for policy with id: 99e25258-3549-4b22-9670-1e8435bb174b, fqn: ['default-domain', 'ctest-TestBasicPolicy-69254537', 'ctest-policy-allow-all-14001932'] 2025-09-19 01:57:29,419 - INFO - VN ctest-vn-19208075 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-19 01:57:29,419 - DEBUG - Verifying the vn in opserver 2025-09-19 01:57:29,419 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69254537:ctest-vn-19208075 virtual network link through opserver 10.0.0.65 2025-09-19 01:57:29,419 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-09-19 01:57:29,429 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69254537:ctest-vn-19208075', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69254537:ctest-vn-19208075?flat'} 2025-09-19 01:57:29,429 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69254537:ctest-vn-19208075 is found in opserver 2025-09-19 01:57:29,440 - DEBUG - Do not have enough data to verify VN in agent 2025-09-19 01:57:29,445 - DEBUG - VRF ids for VN ctest-vn-19208075: {} 2025-09-19 01:57:29,516 - DEBUG - Services list from nova: [, , ] 2025-09-19 01:57:30,493 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4144-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4144-1) 2025-09-19 01:57:31,627 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4144-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4144-1) 2025-09-19 01:57:31,628 - INFO - Waiting for VM ctest-TestBasicPolicy-69254537-06562353 to be up.. 2025-09-19 01:57:31,714 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 01:57:36,783 - DEBUG - VM is in ACTIVE state now 2025-09-19 01:57:36,783 - INFO - VM name : ctest-TestBasicPolicy-69254537-06562353 2025-09-19 01:57:36,849 - DEBUG - VM ctest-TestBasicPolicy-69254537-06562353 ID is 1b5b7ac3-18fe-4111-94fc-fe63c211710f 2025-09-19 01:57:36,868 - DEBUG - VM ctest-TestBasicPolicy-69254537-06562353 launched on Node cn-jenkins-deploy-platform-ansible-os-4144-1 2025-09-19 01:57:36,935 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/1b5b7ac3-18fe-4111-94fc-fe63c211710f 2025-09-19 01:57:36,945 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/95f3c6a2-e83b-4ab7-8ec0-3c5b122aa217 2025-09-19 01:57:40,192 - 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 1008ms') 2025-09-19 01:57:40,192 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69254537-06562353 failed! 2025-09-19 01:57:40,245 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69254537:ctest-vn-45416023 is 140.149.15.193 and allocation pool is NOT set 2025-09-19 01:57:42,301 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.389 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.389/1.534/2.680/1.145 ms') 2025-09-19 01:57:42,301 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69254537-06562353 passed 2025-09-19 01:57:42,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:57:42,449 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69254537-06562353, IP 140.149.15.195, Port 22 2025-09-19 01:57:42,601 - DEBUG - VM ctest-TestBasicPolicy-69254537-06562353 is ready for SSH connections 2025-09-19 01:57:42,601 - INFO - Waiting for VM ctest-TestBasicPolicy-69254537-28250306 to be up.. 2025-09-19 01:57:42,670 - DEBUG - VM is in ACTIVE state now 2025-09-19 01:57:42,671 - INFO - VM name : ctest-TestBasicPolicy-69254537-28250306 2025-09-19 01:57:42,736 - DEBUG - VM ctest-TestBasicPolicy-69254537-28250306 ID is 672ad0af-da62-4f37-ba9f-96d6080ccc43 2025-09-19 01:57:42,736 - DEBUG - VM ctest-TestBasicPolicy-69254537-28250306 launched on Node cn-jenkins-deploy-platform-ansible-os-4144-1 2025-09-19 01:57:42,803 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/672ad0af-da62-4f37-ba9f-96d6080ccc43 2025-09-19 01:57:42,812 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/85b63ff0-eb69-4c3e-b7bc-49ce807419c2 2025-09-19 01:57:44,036 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.427 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.427/1.565/2.704/1.138 ms') 2025-09-19 01:57:44,037 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69254537-28250306 passed 2025-09-19 01:57:44,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:57:44,193 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69254537-28250306, IP 125.10.55.3, Port 22 2025-09-19 01:57:44,349 - DEBUG - VM ctest-TestBasicPolicy-69254537-28250306 is ready for SSH connections 2025-09-19 01:57:44,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:57:44,349 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.10.55.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 01:57:44,349 - DEBUG - ping -s 56 -c 3 -W 1 125.10.55.3 2025-09-19 01:57:48,334 - DEBUG - PING 125.10.55.3 (125.10.55.3): 56 data bytes 64 bytes from 125.10.55.3: seq=0 ttl=63 time=3.715 ms 64 bytes from 125.10.55.3: seq=1 ttl=63 time=0.911 ms 64 bytes from 125.10.55.3: seq=2 ttl=63 time=0.850 ms --- 125.10.55.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.850/1.825/3.715 ms 2025-09-19 01:57:48,335 - INFO - Ping to IP 125.10.55.3 from VM ctest-TestBasicPolicy-69254537-06562353 passed 2025-09-19 01:57:48,501 - DEBUG - Policy Update Response {"network-policy": {"uuid": "99e25258-3549-4b22-9670-1e8435bb174b", "href": "http://10.0.0.65:8082/network-policy/99e25258-3549-4b22-9670-1e8435bb174b"}} 2025-09-19 01:57:48,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:57:48,501 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.10.55.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 01:57:48,501 - DEBUG - ping -s 56 -c 3 -W 1 125.10.55.3 2025-09-19 01:57:51,708 - DEBUG - PING 125.10.55.3 (125.10.55.3): 56 data bytes --- 125.10.55.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-19 01:57:51,708 - WARNING - Ping to IP 125.10.55.3 from VM ctest-TestBasicPolicy-69254537-06562353 failed 2025-09-19 01:57:51,708 - INFO - Deleting VM ctest-TestBasicPolicy-69254537-28250306 2025-09-19 01:57:51,770 - INFO - Deleting VM ctest-TestBasicPolicy-69254537-06562353 2025-09-19 01:57:52,118 - INFO - Deleted policy ctest-policy-allow-all-14001932 2025-09-19 01:57:52,118 - INFO - Deleting VN ctest-vn-19208075 2025-09-19 01:57:52,150 - DEBUG - VN b1224525-1661-4d25-ba6d-14ad760d94a1 still in use: Unable to complete operation on network b1224525-1661-4d25-ba6d-14ad760d94a1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ae91918a-bfa1-4a8a-838f-2f4c5b10593d'] 2025-09-19 01:57:52,150 - WARNING - Deleting VN ctest-vn-19208075 failed..Will retry 2025-09-19 01:57:54,271 - DEBUG - Response for deleting network () 2025-09-19 01:57:54,271 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/fbce57e7-bf87-4811-a214-83b41744b8ec 2025-09-19 01:57:54,280 - DEBUG - Response Code: 404 2025-09-19 01:57:54,280 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-19 01:57:54,288 - DEBUG - Requesting: http://10.0.0.65:8082/domain/9c2d5c5e-40ee-45b2-ab09-97603bfe1094 2025-09-19 01:57:54,350 - DEBUG - Requesting: http://10.0.0.65:8082/project/18ffa7e0-e90f-4a95-8486-690a8e04e1af 2025-09-19 01:57:54,428 - INFO - Validated that VN ctest-vn-19208075 is not found in API Server 2025-09-19 01:57:54,438 - DEBUG - VN ctest-vn-19208075 is not present in Agent 10.0.0.65 2025-09-19 01:57:54,438 - INFO - Validated that VN ctest-vn-19208075 is not in any agent 2025-09-19 01:57:54,452 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19208075 info 2025-09-19 01:57:54,452 - INFO - Deleting VN ctest-vn-45416023 2025-09-19 01:57:54,568 - DEBUG - Response for deleting network () 2025-09-19 01:57:54,568 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/73e90a86-8af0-4620-a63d-497332a08664 2025-09-19 01:57:54,575 - DEBUG - Response Code: 404 2025-09-19 01:57:54,575 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-09-19 01:57:54,585 - DEBUG - Requesting: http://10.0.0.65:8082/domain/9c2d5c5e-40ee-45b2-ab09-97603bfe1094 2025-09-19 01:57:54,639 - DEBUG - Requesting: http://10.0.0.65:8082/project/18ffa7e0-e90f-4a95-8486-690a8e04e1af 2025-09-19 01:57:54,721 - INFO - Validated that VN ctest-vn-45416023 is not found in API Server 2025-09-19 01:57:54,732 - DEBUG - VN ctest-vn-45416023 is not present in Agent 10.0.0.65 2025-09-19 01:57:54,732 - INFO - Validated that VN ctest-vn-45416023 is not in any agent 2025-09-19 01:57:54,749 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45416023 info 2025-09-19 01:57:55,002 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 01:57:55,002 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-09-19 01:57:55,002 - INFO - -------------------------------------------------------------------------------- 2025-09-19 01:57:55,657 - INFO - Deleted project: ctest-TestBasicPolicy-69254537, ID : 18ffa7e0-e90f-4a95-8486-690a8e04e1af