2025-10-09 21:05:53,405 - INFO - Domain Default found not creating 2025-10-09 21:05:53,572 - INFO - Project ctest-TestBasicPolicy-53005256 not found, creating it 2025-10-09 21:05:54,043 - INFO - Created Project:ctest-TestBasicPolicy-53005256, ID : 8ada7d6d-a59e-477e-9bc0-e4bd4f95bfc1 2025-10-09 21:05:55,646 - INFO - ================================================================================ 2025-10-09 21:05:55,647 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 21:05:55,647 - 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-09 21:05:55,908 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.209': '0'}} with 2025-10-09 21:05:55,908 - INFO - Initial checks done. Running the testcase now 2025-10-09 21:05:55,908 - INFO - 2025-10-09 21:05:56,513 - DEBUG - Response for create_network : {'network': {'id': '6e482739-7b23-43d8-a56b-bebc362522ed', 'name': 'ctest-vn-29130249', 'tenant_id': '8ada7d6da59e477e9bc0e4bd4f95bfc1', 'project_id': '8ada7d6da59e477e9bc0e4bd4f95bfc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53005256', 'ctest-vn-29130249'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 21:05:56,684 - DEBUG - Response for create_subnet : {'subnet': {'id': '11afe982-63c3-453a-b73b-55a3b5f2e37b', 'name': '', 'tenant_id': '8ada7d6da59e477e9bc0e4bd4f95bfc1', 'network_id': '6e482739-7b23-43d8-a56b-bebc362522ed', 'ip_version': 4, 'cidr': '174.152.195.64/26', 'allocation_pools': [{'start': '174.152.195.66', 'end': '174.152.195.126'}], 'gateway_ip': '174.152.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.152.195.66', 'tags': [], 'project_id': '8ada7d6da59e477e9bc0e4bd4f95bfc1'}} 2025-10-09 21:05:56,705 - INFO - Created VN ctest-vn-29130249 2025-10-09 21:05:56,757 - DEBUG - VN ctest-vn-29130249 UUID is 6e482739-7b23-43d8-a56b-bebc362522ed 2025-10-09 21:05:57,062 - DEBUG - Response for create_network : {'network': {'id': 'ace3a055-21e9-4968-ada2-7f8438200b23', 'name': 'ctest-vn-89940293', 'tenant_id': '8ada7d6da59e477e9bc0e4bd4f95bfc1', 'project_id': '8ada7d6da59e477e9bc0e4bd4f95bfc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53005256', 'ctest-vn-89940293'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 21:05:57,231 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5a3d9ed-8089-4ad9-8e0c-f9020350df0c', 'name': '', 'tenant_id': '8ada7d6da59e477e9bc0e4bd4f95bfc1', 'network_id': 'ace3a055-21e9-4968-ada2-7f8438200b23', 'ip_version': 4, 'cidr': '107.19.65.0/26', 'allocation_pools': [{'start': '107.19.65.2', 'end': '107.19.65.62'}], 'gateway_ip': '107.19.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.19.65.2', 'tags': [], 'project_id': '8ada7d6da59e477e9bc0e4bd4f95bfc1'}} 2025-10-09 21:05:57,249 - INFO - Created VN ctest-vn-89940293 2025-10-09 21:05:57,301 - DEBUG - VN ctest-vn-89940293 UUID is ace3a055-21e9-4968-ada2-7f8438200b23 2025-10-09 21:05:57,418 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53005256:ctest-vn-29130249, 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-53005256:ctest-vn-89940293, 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-09 21:05:57,719 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6e482739-7b23-43d8-a56b-bebc362522ed', 'name': 'ctest-vn-29130249', 'tenant_id': '8ada7d6da59e477e9bc0e4bd4f95bfc1', 'project_id': '8ada7d6da59e477e9bc0e4bd4f95bfc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['11afe982-63c3-453a-b73b-55a3b5f2e37b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53005256', 'ctest-vn-29130249'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53005256', 'ctest-policy-allow-all-51654156']], 'subnet_ipam': [{'subnet_cidr': '174.152.195.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 21:05:57,987 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ace3a055-21e9-4968-ada2-7f8438200b23', 'name': 'ctest-vn-89940293', 'tenant_id': '8ada7d6da59e477e9bc0e4bd4f95bfc1', 'project_id': '8ada7d6da59e477e9bc0e4bd4f95bfc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d5a3d9ed-8089-4ad9-8e0c-f9020350df0c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53005256', 'ctest-vn-89940293'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53005256', 'ctest-policy-allow-all-51654156']], 'subnet_ipam': [{'subnet_cidr': '107.19.65.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 21:05:58,137 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 21:05:58,482 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 21:05:58,512 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0952912c-19c0-4d73-b6ef-89bdd231f150 2025-10-09 21:05:58,524 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ada7d6d-a59e-477e-9bc0-e4bd4f95bfc1 2025-10-09 21:05:58,596 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6e482739-7b23-43d8-a56b-bebc362522ed 2025-10-09 21:05:58,606 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6e482739-7b23-43d8-a56b-bebc362522ed 2025-10-09 21:05:58,615 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3d0593ad-6e4e-4425-bc00-255f6f6dcec8 2025-10-09 21:05:58,621 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3d0593ad-6e4e-4425-bc00-255f6f6dcec8 2025-10-09 21:05:58,627 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/94b0ae27-df26-4b7d-9eb8-c3ac9750e6af 2025-10-09 21:05:58,633 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 21:05:58,633 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6e482739-7b23-43d8-a56b-bebc362522ed 2025-10-09 21:05:58,641 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3d0593ad-6e4e-4425-bc00-255f6f6dcec8 2025-10-09 21:05:58,654 - INFO - Verified VN network id 11 for VN 6e482739-7b23-43d8-a56b-bebc362522ed 2025-10-09 21:05:58,654 - INFO - Verifications in API Server for VN ctest-vn-29130249 passed 2025-10-09 21:05:58,654 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6e482739-7b23-43d8-a56b-bebc362522ed 2025-10-09 21:05:58,662 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3d0593ad-6e4e-4425-bc00-255f6f6dcec8 2025-10-09 21:05:58,668 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3d0593ad-6e4e-4425-bc00-255f6f6dcec8 2025-10-09 21:05:58,673 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/94b0ae27-df26-4b7d-9eb8-c3ac9750e6af 2025-10-09 21:05:58,683 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53005256:ctest-vn-29130249', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53005256', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7946644670327768024', 'uuid-lslong': '11919830554337682157'}, 'enable': 'true', 'created': '2025-10-09T21:05:56', 'last-modified': '2025-10-09T21:05:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987597'} 2025-10-09 21:05:58,688 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 21:05:58,688 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29130249 passed 2025-10-09 21:05:58,688 - DEBUG - ====Verifying policy data for ctest-vn-29130249 in API_Server ====== 2025-10-09 21:05:58,689 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 21:05:58,693 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0952912c-19c0-4d73-b6ef-89bdd231f150 2025-10-09 21:05:58,704 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ada7d6d-a59e-477e-9bc0-e4bd4f95bfc1 2025-10-09 21:05:58,777 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6e482739-7b23-43d8-a56b-bebc362522ed 2025-10-09 21:05:58,786 - DEBUG - ==>Verifying data for policy with id: 278b6597-abb6-4a09-9f72-22f8c479b223, fqn: ['default-domain', 'ctest-TestBasicPolicy-53005256', 'ctest-policy-allow-all-51654156'] 2025-10-09 21:05:58,786 - INFO - VN ctest-vn-29130249 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 21:05:58,786 - DEBUG - Verifying the vn in opserver 2025-10-09 21:05:58,786 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53005256:ctest-vn-29130249 virtual network link through opserver 10.0.0.33 2025-10-09 21:05:58,787 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-09 21:05:59,120 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-09 21:05:59,179 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53005256:ctest-vn-29130249', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53005256:ctest-vn-29130249?flat'} 2025-10-09 21:05:59,179 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53005256:ctest-vn-29130249 is found in opserver 2025-10-09 21:05:59,189 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 21:05:59,193 - DEBUG - VRF ids for VN ctest-vn-29130249: {} 2025-10-09 21:05:59,193 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 21:05:59,198 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0952912c-19c0-4d73-b6ef-89bdd231f150 2025-10-09 21:05:59,210 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ada7d6d-a59e-477e-9bc0-e4bd4f95bfc1 2025-10-09 21:05:59,280 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ace3a055-21e9-4968-ada2-7f8438200b23 2025-10-09 21:05:59,292 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ace3a055-21e9-4968-ada2-7f8438200b23 2025-10-09 21:05:59,301 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77d4e5c8-de76-454e-8643-2de7e1e4f271 2025-10-09 21:05:59,309 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77d4e5c8-de76-454e-8643-2de7e1e4f271 2025-10-09 21:05:59,316 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1eb60ef6-ea94-4e19-8c03-3d1fa2584a09 2025-10-09 21:05:59,323 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 21:05:59,323 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ace3a055-21e9-4968-ada2-7f8438200b23 2025-10-09 21:05:59,332 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77d4e5c8-de76-454e-8643-2de7e1e4f271 2025-10-09 21:05:59,347 - INFO - Verified VN network id 12 for VN ace3a055-21e9-4968-ada2-7f8438200b23 2025-10-09 21:05:59,347 - INFO - Verifications in API Server for VN ctest-vn-89940293 passed 2025-10-09 21:05:59,347 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ace3a055-21e9-4968-ada2-7f8438200b23 2025-10-09 21:05:59,357 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77d4e5c8-de76-454e-8643-2de7e1e4f271 2025-10-09 21:05:59,365 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77d4e5c8-de76-454e-8643-2de7e1e4f271 2025-10-09 21:05:59,372 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1eb60ef6-ea94-4e19-8c03-3d1fa2584a09 2025-10-09 21:05:59,386 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53005256:ctest-vn-89940293', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53005256', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12457977281738525032', 'uuid-lslong': '12511702920642693923'}, 'enable': 'true', 'created': '2025-10-09T21:05:57', 'last-modified': '2025-10-09T21:05:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.462224'} 2025-10-09 21:05:59,392 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 21:05:59,392 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89940293 passed 2025-10-09 21:05:59,392 - DEBUG - ====Verifying policy data for ctest-vn-89940293 in API_Server ====== 2025-10-09 21:05:59,392 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 21:05:59,398 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0952912c-19c0-4d73-b6ef-89bdd231f150 2025-10-09 21:05:59,409 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ada7d6d-a59e-477e-9bc0-e4bd4f95bfc1 2025-10-09 21:05:59,479 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ace3a055-21e9-4968-ada2-7f8438200b23 2025-10-09 21:05:59,488 - DEBUG - ==>Verifying data for policy with id: 278b6597-abb6-4a09-9f72-22f8c479b223, fqn: ['default-domain', 'ctest-TestBasicPolicy-53005256', 'ctest-policy-allow-all-51654156'] 2025-10-09 21:05:59,488 - INFO - VN ctest-vn-89940293 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 21:05:59,488 - DEBUG - Verifying the vn in opserver 2025-10-09 21:05:59,488 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53005256:ctest-vn-89940293 virtual network link through opserver 10.0.0.33 2025-10-09 21:05:59,488 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-09 21:05:59,498 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53005256:ctest-vn-89940293', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53005256:ctest-vn-89940293?flat'} 2025-10-09 21:05:59,498 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53005256:ctest-vn-89940293 is found in opserver 2025-10-09 21:05:59,508 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 21:05:59,512 - DEBUG - VRF ids for VN ctest-vn-89940293: {} 2025-10-09 21:05:59,570 - DEBUG - Services list from nova: [, , ] 2025-10-09 21:06:00,694 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4279-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4279-1) 2025-10-09 21:06:01,945 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4279-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4279-1) 2025-10-09 21:06:01,945 - INFO - Waiting for VM ctest-TestBasicPolicy-53005256-06112458 to be up.. 2025-10-09 21:06:02,059 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 21:06:07,147 - DEBUG - VM is in ACTIVE state now 2025-10-09 21:06:07,147 - INFO - VM name : ctest-TestBasicPolicy-53005256-06112458 2025-10-09 21:06:07,227 - DEBUG - VM ctest-TestBasicPolicy-53005256-06112458 ID is cfb49ddb-6b41-4b3e-b91f-cabd8c4cbf6a 2025-10-09 21:06:07,250 - DEBUG - VM ctest-TestBasicPolicy-53005256-06112458 launched on Node cn-jenkins-deploy-platform-ansible-os-4279-1 2025-10-09 21:06:07,333 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cfb49ddb-6b41-4b3e-b91f-cabd8c4cbf6a 2025-10-09 21:06:07,342 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b07079e8-f0a6-4191-872d-1c1d2f4e8afb 2025-10-09 21:06:10,613 - 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 1030ms') 2025-10-09 21:06:10,613 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53005256-06112458 failed! 2025-10-09 21:06:10,673 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53005256:ctest-vn-29130249 is 174.152.195.65 and allocation pool is NOT set 2025-10-09 21:06:12,738 - 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=10.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.391 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.391/5.652/10.913/5.261 ms') 2025-10-09 21:06:12,738 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53005256-06112458 passed 2025-10-09 21:06:12,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:06:12,885 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53005256-06112458, IP 174.152.195.67, Port 22 2025-10-09 21:06:13,041 - DEBUG - VM ctest-TestBasicPolicy-53005256-06112458 is ready for SSH connections 2025-10-09 21:06:13,042 - INFO - Waiting for VM ctest-TestBasicPolicy-53005256-01785039 to be up.. 2025-10-09 21:06:13,125 - DEBUG - VM is in ACTIVE state now 2025-10-09 21:06:13,125 - INFO - VM name : ctest-TestBasicPolicy-53005256-01785039 2025-10-09 21:06:13,205 - DEBUG - VM ctest-TestBasicPolicy-53005256-01785039 ID is cb9fa8b4-7637-4c5c-a7e8-e7e9abef23df 2025-10-09 21:06:13,206 - DEBUG - VM ctest-TestBasicPolicy-53005256-01785039 launched on Node cn-jenkins-deploy-platform-ansible-os-4279-1 2025-10-09 21:06:13,282 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cb9fa8b4-7637-4c5c-a7e8-e7e9abef23df 2025-10-09 21:06:13,291 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f158896f-2504-438c-81bb-df911d4a16f1 2025-10-09 21:06:14,535 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.31 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 = 3.214/3.260/3.306/0.046 ms') 2025-10-09 21:06:14,538 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53005256-01785039 passed 2025-10-09 21:06:14,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:06:14,689 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53005256-01785039, IP 107.19.65.3, Port 22 2025-10-09 21:06:14,849 - DEBUG - VM ctest-TestBasicPolicy-53005256-01785039 is ready for SSH connections 2025-10-09 21:06:14,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:06:14,850 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.19.65.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 21:06:14,850 - DEBUG - ping -s 56 -c 3 -W 1 107.19.65.3 2025-10-09 21:06:18,986 - DEBUG - PING 107.19.65.3 (107.19.65.3): 56 data bytes 64 bytes from 107.19.65.3: seq=0 ttl=63 time=4.721 ms 64 bytes from 107.19.65.3: seq=1 ttl=63 time=1.165 ms 64 bytes from 107.19.65.3: seq=2 ttl=63 time=1.016 ms --- 107.19.65.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.016/2.300/4.721 ms 2025-10-09 21:06:18,986 - INFO - Ping to IP 107.19.65.3 from VM ctest-TestBasicPolicy-53005256-06112458 passed 2025-10-09 21:06:19,169 - DEBUG - Policy Update Response {"network-policy": {"uuid": "278b6597-abb6-4a09-9f72-22f8c479b223", "href": "http://10.0.0.33:8082/network-policy/278b6597-abb6-4a09-9f72-22f8c479b223"}} 2025-10-09 21:06:19,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 21:06:19,169 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.19.65.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 21:06:19,169 - DEBUG - ping -s 56 -c 3 -W 1 107.19.65.3 2025-10-09 21:06:22,408 - DEBUG - PING 107.19.65.3 (107.19.65.3): 56 data bytes --- 107.19.65.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 21:06:22,408 - WARNING - Ping to IP 107.19.65.3 from VM ctest-TestBasicPolicy-53005256-06112458 failed 2025-10-09 21:06:22,408 - INFO - Deleting VM ctest-TestBasicPolicy-53005256-01785039 2025-10-09 21:06:22,482 - INFO - Deleting VM ctest-TestBasicPolicy-53005256-06112458 2025-10-09 21:06:22,867 - INFO - Deleted policy ctest-policy-allow-all-51654156 2025-10-09 21:06:22,867 - INFO - Deleting VN ctest-vn-89940293 2025-10-09 21:06:22,905 - DEBUG - VN ace3a055-21e9-4968-ada2-7f8438200b23 still in use: Unable to complete operation on network ace3a055-21e9-4968-ada2-7f8438200b23. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-725c890b-5233-4d65-8cf4-612a721ed9c6'] 2025-10-09 21:06:22,905 - WARNING - Deleting VN ctest-vn-89940293 failed..Will retry 2025-10-09 21:06:25,009 - DEBUG - Response for deleting network () 2025-10-09 21:06:25,009 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/77d4e5c8-de76-454e-8643-2de7e1e4f271 2025-10-09 21:06:25,018 - DEBUG - Response Code: 404 2025-10-09 21:06:25,018 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 21:06:25,023 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0952912c-19c0-4d73-b6ef-89bdd231f150 2025-10-09 21:06:25,075 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ada7d6d-a59e-477e-9bc0-e4bd4f95bfc1 2025-10-09 21:06:25,148 - INFO - Validated that VN ctest-vn-89940293 is not found in API Server 2025-10-09 21:06:25,159 - DEBUG - VN ctest-vn-89940293 is not present in Agent 10.0.0.33 2025-10-09 21:06:25,159 - INFO - Validated that VN ctest-vn-89940293 is not in any agent 2025-10-09 21:06:25,175 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89940293 info 2025-10-09 21:06:25,175 - INFO - Deleting VN ctest-vn-29130249 2025-10-09 21:06:25,274 - DEBUG - Response for deleting network () 2025-10-09 21:06:25,274 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/3d0593ad-6e4e-4425-bc00-255f6f6dcec8 2025-10-09 21:06:25,282 - DEBUG - Response Code: 404 2025-10-09 21:06:25,282 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 21:06:25,288 - DEBUG - Requesting: http://10.0.0.33:8082/domain/0952912c-19c0-4d73-b6ef-89bdd231f150 2025-10-09 21:06:25,343 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ada7d6d-a59e-477e-9bc0-e4bd4f95bfc1 2025-10-09 21:06:25,418 - INFO - Validated that VN ctest-vn-29130249 is not found in API Server 2025-10-09 21:06:25,432 - DEBUG - VN ctest-vn-29130249 is not present in Agent 10.0.0.33 2025-10-09 21:06:25,432 - INFO - Validated that VN ctest-vn-29130249 is not in any agent 2025-10-09 21:06:25,444 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29130249 info 2025-10-09 21:06:25,703 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 21:06:25,704 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-09 21:06:25,704 - INFO - -------------------------------------------------------------------------------- 2025-10-09 21:06:26,434 - INFO - Deleted project: ctest-TestBasicPolicy-53005256, ID : 8ada7d6d-a59e-477e-9bc0-e4bd4f95bfc1