2025-06-25 15:43:18,955 - INFO - Domain Default found not creating 2025-06-25 15:43:19,121 - INFO - Project ctest-TestBasicPolicy-54281569 not found, creating it 2025-06-25 15:43:19,599 - INFO - Created Project:ctest-TestBasicPolicy-54281569, ID : 8bf82de4-dfb0-475c-a51f-53d3e501d6b7 2025-06-25 15:43:21,268 - INFO - ================================================================================ 2025-06-25 15:43:21,268 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-25 15:43:21,268 - 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-06-25 15:43:21,524 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-06-25 15:43:21,524 - INFO - Initial checks done. Running the testcase now 2025-06-25 15:43:21,524 - INFO - 2025-06-25 15:43:22,115 - DEBUG - Response for create_network : {'network': {'id': '113c18c3-c42e-47fe-8b74-118fd6dabfa9', 'name': 'ctest-vn-69624334', 'tenant_id': '8bf82de4dfb0475ca51f53d3e501d6b7', 'project_id': '8bf82de4dfb0475ca51f53d3e501d6b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54281569', 'ctest-vn-69624334'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 15:43:22,322 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae78aba2-3a1e-4792-b250-90d310513c1a', 'name': '', 'tenant_id': '8bf82de4dfb0475ca51f53d3e501d6b7', 'network_id': '113c18c3-c42e-47fe-8b74-118fd6dabfa9', 'ip_version': 4, 'cidr': '120.106.111.64/26', 'allocation_pools': [{'start': '120.106.111.66', 'end': '120.106.111.126'}], 'gateway_ip': '120.106.111.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.106.111.66', 'tags': [], 'project_id': '8bf82de4dfb0475ca51f53d3e501d6b7'}} 2025-06-25 15:43:22,392 - INFO - Created VN ctest-vn-69624334 2025-06-25 15:43:22,446 - DEBUG - VN ctest-vn-69624334 UUID is 113c18c3-c42e-47fe-8b74-118fd6dabfa9 2025-06-25 15:43:22,751 - DEBUG - Response for create_network : {'network': {'id': '6d57adde-44e9-4d3c-9649-c85e058f2897', 'name': 'ctest-vn-67886573', 'tenant_id': '8bf82de4dfb0475ca51f53d3e501d6b7', 'project_id': '8bf82de4dfb0475ca51f53d3e501d6b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54281569', 'ctest-vn-67886573'], 'port_security_enabled': True, 'description': ''}} 2025-06-25 15:43:22,961 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8df96ff-2e6c-4d38-8fac-e15dc678fb90', 'name': '', 'tenant_id': '8bf82de4dfb0475ca51f53d3e501d6b7', 'network_id': '6d57adde-44e9-4d3c-9649-c85e058f2897', 'ip_version': 4, 'cidr': '148.179.80.192/26', 'allocation_pools': [{'start': '148.179.80.194', 'end': '148.179.80.254'}], 'gateway_ip': '148.179.80.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.179.80.194', 'tags': [], 'project_id': '8bf82de4dfb0475ca51f53d3e501d6b7'}} 2025-06-25 15:43:22,986 - INFO - Created VN ctest-vn-67886573 2025-06-25 15:43:23,042 - DEBUG - VN ctest-vn-67886573 UUID is 6d57adde-44e9-4d3c-9649-c85e058f2897 2025-06-25 15:43:23,159 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54281569:ctest-vn-69624334, 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-54281569:ctest-vn-67886573, 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-06-25 15:43:23,454 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '113c18c3-c42e-47fe-8b74-118fd6dabfa9', 'name': 'ctest-vn-69624334', 'tenant_id': '8bf82de4dfb0475ca51f53d3e501d6b7', 'project_id': '8bf82de4dfb0475ca51f53d3e501d6b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ae78aba2-3a1e-4792-b250-90d310513c1a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54281569', 'ctest-vn-69624334'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54281569', 'ctest-policy-allow-all-91190161']], 'subnet_ipam': [{'subnet_cidr': '120.106.111.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-25 15:43:23,744 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6d57adde-44e9-4d3c-9649-c85e058f2897', 'name': 'ctest-vn-67886573', 'tenant_id': '8bf82de4dfb0475ca51f53d3e501d6b7', 'project_id': '8bf82de4dfb0475ca51f53d3e501d6b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a8df96ff-2e6c-4d38-8fac-e15dc678fb90'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54281569', 'ctest-vn-67886573'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54281569', 'ctest-policy-allow-all-91190161']], 'subnet_ipam': [{'subnet_cidr': '148.179.80.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-25 15:43:23,902 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-25 15:43:24,237 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-25 15:43:24,266 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a8ba9dbd-4ee5-4e01-8335-7ed78317279e 2025-06-25 15:43:24,281 - DEBUG - Requesting: http://10.0.0.254:8082/project/8bf82de4-dfb0-475c-a51f-53d3e501d6b7 2025-06-25 15:43:24,360 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/113c18c3-c42e-47fe-8b74-118fd6dabfa9 2025-06-25 15:43:24,374 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/113c18c3-c42e-47fe-8b74-118fd6dabfa9 2025-06-25 15:43:24,386 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10ad33b7-60f4-49cb-8459-9c9cedded6bd 2025-06-25 15:43:24,396 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10ad33b7-60f4-49cb-8459-9c9cedded6bd 2025-06-25 15:43:24,404 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5f99fbf7-d187-4b9a-bf1a-feae4fa72677 2025-06-25 15:43:24,412 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-25 15:43:24,412 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/113c18c3-c42e-47fe-8b74-118fd6dabfa9 2025-06-25 15:43:24,423 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10ad33b7-60f4-49cb-8459-9c9cedded6bd 2025-06-25 15:43:24,439 - INFO - Verified VN network id 9 for VN 113c18c3-c42e-47fe-8b74-118fd6dabfa9 2025-06-25 15:43:24,439 - INFO - Verifications in API Server for VN ctest-vn-69624334 passed 2025-06-25 15:43:24,439 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/113c18c3-c42e-47fe-8b74-118fd6dabfa9 2025-06-25 15:43:24,450 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10ad33b7-60f4-49cb-8459-9c9cedded6bd 2025-06-25 15:43:24,458 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10ad33b7-60f4-49cb-8459-9c9cedded6bd 2025-06-25 15:43:24,465 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5f99fbf7-d187-4b9a-bf1a-feae4fa72677 2025-06-25 15:43:24,478 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54281569:ctest-vn-69624334', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54281569', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1241894826336471038', 'uuid-lslong': '10048675978053074857'}, 'enable': 'true', 'created': '2025-06-25T15:43:22', 'last-modified': '2025-06-25T15:43:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.039885'} 2025-06-25 15:43:24,485 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-25 15:43:24,486 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69624334 passed 2025-06-25 15:43:24,486 - DEBUG - ====Verifying policy data for ctest-vn-69624334 in API_Server ====== 2025-06-25 15:43:24,486 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-25 15:43:24,494 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a8ba9dbd-4ee5-4e01-8335-7ed78317279e 2025-06-25 15:43:24,510 - DEBUG - Requesting: http://10.0.0.254:8082/project/8bf82de4-dfb0-475c-a51f-53d3e501d6b7 2025-06-25 15:43:24,585 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/113c18c3-c42e-47fe-8b74-118fd6dabfa9 2025-06-25 15:43:24,595 - DEBUG - ==>Verifying data for policy with id: a9926946-ca53-44c7-bd87-973bd05dfb24, fqn: ['default-domain', 'ctest-TestBasicPolicy-54281569', 'ctest-policy-allow-all-91190161'] 2025-06-25 15:43:24,595 - INFO - VN ctest-vn-69624334 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-25 15:43:24,595 - DEBUG - Verifying the vn in opserver 2025-06-25 15:43:24,596 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54281569:ctest-vn-69624334 virtual network link through opserver 10.0.0.254 2025-06-25 15:43:24,596 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-25 15:43:24,927 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-25 15:43:24,987 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54281569:ctest-vn-69624334', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54281569:ctest-vn-69624334?flat'} 2025-06-25 15:43:24,987 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54281569:ctest-vn-69624334 is found in opserver 2025-06-25 15:43:24,999 - DEBUG - Do not have enough data to verify VN in agent 2025-06-25 15:43:25,006 - DEBUG - VRF ids for VN ctest-vn-69624334: {} 2025-06-25 15:43:25,006 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-25 15:43:25,013 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a8ba9dbd-4ee5-4e01-8335-7ed78317279e 2025-06-25 15:43:25,027 - DEBUG - Requesting: http://10.0.0.254:8082/project/8bf82de4-dfb0-475c-a51f-53d3e501d6b7 2025-06-25 15:43:25,103 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6d57adde-44e9-4d3c-9649-c85e058f2897 2025-06-25 15:43:25,115 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6d57adde-44e9-4d3c-9649-c85e058f2897 2025-06-25 15:43:25,128 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f325e07a-17d4-43b7-8b52-c7fb67e29a14 2025-06-25 15:43:25,137 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f325e07a-17d4-43b7-8b52-c7fb67e29a14 2025-06-25 15:43:25,145 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d04eebb2-597d-48ba-829e-9849d5b0bd32 2025-06-25 15:43:25,152 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-25 15:43:25,152 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6d57adde-44e9-4d3c-9649-c85e058f2897 2025-06-25 15:43:25,162 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f325e07a-17d4-43b7-8b52-c7fb67e29a14 2025-06-25 15:43:25,178 - INFO - Verified VN network id 10 for VN 6d57adde-44e9-4d3c-9649-c85e058f2897 2025-06-25 15:43:25,178 - INFO - Verifications in API Server for VN ctest-vn-67886573 passed 2025-06-25 15:43:25,178 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6d57adde-44e9-4d3c-9649-c85e058f2897 2025-06-25 15:43:25,189 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f325e07a-17d4-43b7-8b52-c7fb67e29a14 2025-06-25 15:43:25,197 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f325e07a-17d4-43b7-8b52-c7fb67e29a14 2025-06-25 15:43:25,204 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d04eebb2-597d-48ba-829e-9849d5b0bd32 2025-06-25 15:43:25,218 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54281569:ctest-vn-67886573', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54281569', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7878957243258457404', 'uuid-lslong': '10829407085134817431'}, 'enable': 'true', 'created': '2025-06-25T15:43:22', 'last-modified': '2025-06-25T15:43:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.549781'} 2025-06-25 15:43:25,224 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-25 15:43:25,224 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67886573 passed 2025-06-25 15:43:25,225 - DEBUG - ====Verifying policy data for ctest-vn-67886573 in API_Server ====== 2025-06-25 15:43:25,225 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-25 15:43:25,230 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a8ba9dbd-4ee5-4e01-8335-7ed78317279e 2025-06-25 15:43:25,243 - DEBUG - Requesting: http://10.0.0.254:8082/project/8bf82de4-dfb0-475c-a51f-53d3e501d6b7 2025-06-25 15:43:25,317 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6d57adde-44e9-4d3c-9649-c85e058f2897 2025-06-25 15:43:25,328 - DEBUG - ==>Verifying data for policy with id: a9926946-ca53-44c7-bd87-973bd05dfb24, fqn: ['default-domain', 'ctest-TestBasicPolicy-54281569', 'ctest-policy-allow-all-91190161'] 2025-06-25 15:43:25,328 - INFO - VN ctest-vn-67886573 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-25 15:43:25,328 - DEBUG - Verifying the vn in opserver 2025-06-25 15:43:25,328 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54281569:ctest-vn-67886573 virtual network link through opserver 10.0.0.254 2025-06-25 15:43:25,329 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-25 15:43:25,340 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54281569:ctest-vn-67886573', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54281569:ctest-vn-67886573?flat'} 2025-06-25 15:43:25,340 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54281569:ctest-vn-67886573 is found in opserver 2025-06-25 15:43:25,352 - DEBUG - Do not have enough data to verify VN in agent 2025-06-25 15:43:25,357 - DEBUG - VRF ids for VN ctest-vn-67886573: {} 2025-06-25 15:43:25,414 - DEBUG - Services list from nova: [, , ] 2025-06-25 15:43:26,523 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3550-1) 2025-06-25 15:43:27,828 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3550-1) 2025-06-25 15:43:27,828 - INFO - Waiting for VM ctest-TestBasicPolicy-54281569-44710276 to be up.. 2025-06-25 15:43:27,910 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-25 15:43:32,996 - DEBUG - VM is in ACTIVE state now 2025-06-25 15:43:32,996 - INFO - VM name : ctest-TestBasicPolicy-54281569-44710276 2025-06-25 15:43:33,104 - DEBUG - VM ctest-TestBasicPolicy-54281569-44710276 ID is 501e0e39-3d32-434c-bb7b-20993b7ea5e8 2025-06-25 15:43:33,133 - DEBUG - VM ctest-TestBasicPolicy-54281569-44710276 launched on Node cn-jenkins-deploy-platform-ansible-os-3550-1 2025-06-25 15:43:33,219 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/501e0e39-3d32-434c-bb7b-20993b7ea5e8 2025-06-25 15:43:33,228 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/107226ff-25b7-4534-9dea-ebe84bc8b5b4 2025-06-25 15:43:36,522 - 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 1015ms') 2025-06-25 15:43:36,522 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54281569-44710276 failed! 2025-06-25 15:43:36,578 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54281569:ctest-vn-69624334 is 120.106.111.65 and allocation pool is NOT set 2025-06-25 15:43:38,645 - 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=9.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.60 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 = 2.597/6.270/9.944/3.673 ms') 2025-06-25 15:43:38,645 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54281569-44710276 passed 2025-06-25 15:43:38,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 15:43:38,806 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54281569-44710276, IP 120.106.111.67, Port 22 2025-06-25 15:43:38,965 - DEBUG - VM ctest-TestBasicPolicy-54281569-44710276 is ready for SSH connections 2025-06-25 15:43:38,966 - INFO - Waiting for VM ctest-TestBasicPolicy-54281569-58718668 to be up.. 2025-06-25 15:43:39,063 - DEBUG - VM is in ACTIVE state now 2025-06-25 15:43:39,063 - INFO - VM name : ctest-TestBasicPolicy-54281569-58718668 2025-06-25 15:43:39,138 - DEBUG - VM ctest-TestBasicPolicy-54281569-58718668 ID is 3213025a-0f6b-46b4-9dee-af1ca61c893c 2025-06-25 15:43:39,138 - DEBUG - VM ctest-TestBasicPolicy-54281569-58718668 launched on Node cn-jenkins-deploy-platform-ansible-os-3550-1 2025-06-25 15:43:39,212 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3213025a-0f6b-46b4-9dee-af1ca61c893c 2025-06-25 15:43:39,220 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e46e86fe-994e-4d62-9d15-db7c4df24908 2025-06-25 15:43:40,454 - 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=4.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.962 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.962/2.660/4.358/1.698 ms') 2025-06-25 15:43:40,455 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54281569-58718668 passed 2025-06-25 15:43:40,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 15:43:40,610 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54281569-58718668, IP 148.179.80.195, Port 22 2025-06-25 15:43:40,773 - DEBUG - VM ctest-TestBasicPolicy-54281569-58718668 is ready for SSH connections 2025-06-25 15:43:40,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 15:43:40,773 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.179.80.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-25 15:43:40,773 - DEBUG - ping -s 56 -c 3 -W 1 148.179.80.195 2025-06-25 15:43:44,833 - DEBUG - PING 148.179.80.195 (148.179.80.195): 56 data bytes 64 bytes from 148.179.80.195: seq=0 ttl=63 time=5.845 ms 64 bytes from 148.179.80.195: seq=1 ttl=63 time=0.914 ms 64 bytes from 148.179.80.195: seq=2 ttl=63 time=0.740 ms --- 148.179.80.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.740/2.499/5.845 ms 2025-06-25 15:43:44,834 - INFO - Ping to IP 148.179.80.195 from VM ctest-TestBasicPolicy-54281569-44710276 passed 2025-06-25 15:43:45,026 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a9926946-ca53-44c7-bd87-973bd05dfb24", "href": "http://10.0.0.254:8082/network-policy/a9926946-ca53-44c7-bd87-973bd05dfb24"}} 2025-06-25 15:43:45,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-25 15:43:45,026 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.179.80.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-25 15:43:45,026 - DEBUG - ping -s 56 -c 3 -W 1 148.179.80.195 2025-06-25 15:43:48,250 - DEBUG - PING 148.179.80.195 (148.179.80.195): 56 data bytes 64 bytes from 148.179.80.195: seq=0 ttl=63 time=1.612 ms --- 148.179.80.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.612/1.612/1.612 ms 2025-06-25 15:43:48,251 - WARNING - Ping to IP 148.179.80.195 from VM ctest-TestBasicPolicy-54281569-44710276 failed 2025-06-25 15:43:48,251 - INFO - Deleting VM ctest-TestBasicPolicy-54281569-58718668 2025-06-25 15:43:48,322 - INFO - Deleting VM ctest-TestBasicPolicy-54281569-44710276 2025-06-25 15:43:48,765 - INFO - Deleted policy ctest-policy-allow-all-91190161 2025-06-25 15:43:48,765 - INFO - Deleting VN ctest-vn-67886573 2025-06-25 15:43:48,833 - DEBUG - VN 6d57adde-44e9-4d3c-9649-c85e058f2897 still in use: Unable to complete operation on network 6d57adde-44e9-4d3c-9649-c85e058f2897. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c19b312a-a254-4730-928b-2272cc25a657'] 2025-06-25 15:43:48,834 - WARNING - Deleting VN ctest-vn-67886573 failed..Will retry 2025-06-25 15:43:50,950 - DEBUG - Response for deleting network () 2025-06-25 15:43:50,950 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/f325e07a-17d4-43b7-8b52-c7fb67e29a14 2025-06-25 15:43:50,957 - DEBUG - Response Code: 404 2025-06-25 15:43:50,958 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-25 15:43:50,964 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a8ba9dbd-4ee5-4e01-8335-7ed78317279e 2025-06-25 15:43:51,021 - DEBUG - Requesting: http://10.0.0.254:8082/project/8bf82de4-dfb0-475c-a51f-53d3e501d6b7 2025-06-25 15:43:51,091 - INFO - Validated that VN ctest-vn-67886573 is not found in API Server 2025-06-25 15:43:51,104 - DEBUG - VN ctest-vn-67886573 is not present in Agent 10.0.0.254 2025-06-25 15:43:51,104 - INFO - Validated that VN ctest-vn-67886573 is not in any agent 2025-06-25 15:43:51,120 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67886573 info 2025-06-25 15:43:51,120 - INFO - Deleting VN ctest-vn-69624334 2025-06-25 15:43:51,237 - DEBUG - Response for deleting network () 2025-06-25 15:43:51,237 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/10ad33b7-60f4-49cb-8459-9c9cedded6bd 2025-06-25 15:43:51,246 - DEBUG - Response Code: 404 2025-06-25 15:43:51,247 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-25 15:43:51,253 - DEBUG - Requesting: http://10.0.0.254:8082/domain/a8ba9dbd-4ee5-4e01-8335-7ed78317279e 2025-06-25 15:43:51,309 - DEBUG - Requesting: http://10.0.0.254:8082/project/8bf82de4-dfb0-475c-a51f-53d3e501d6b7 2025-06-25 15:43:51,382 - INFO - Validated that VN ctest-vn-69624334 is not found in API Server 2025-06-25 15:43:51,393 - DEBUG - VN ctest-vn-69624334 is not present in Agent 10.0.0.254 2025-06-25 15:43:51,393 - INFO - Validated that VN ctest-vn-69624334 is not in any agent 2025-06-25 15:43:51,409 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69624334 info 2025-06-25 15:43:51,664 - DEBUG - No XMPP flaps were noticed during the test
2025-06-25 15:43:51,664 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-25 15:43:51,664 - INFO - -------------------------------------------------------------------------------- 2025-06-25 15:43:52,375 - INFO - Deleted project: ctest-TestBasicPolicy-54281569, ID : 8bf82de4-dfb0-475c-a51f-53d3e501d6b7