2025-11-13 02:07:52,673 - INFO - Domain Default found not creating 2025-11-13 02:07:52,827 - INFO - Project ctest-TestBasicPolicy-20898141 not found, creating it 2025-11-13 02:07:53,267 - INFO - Created Project:ctest-TestBasicPolicy-20898141, ID : b430c13b-1566-43c6-9d1a-44107ba316ba 2025-11-13 02:07:54,702 - INFO - ================================================================================ 2025-11-13 02:07:54,703 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-13 02:07:54,703 - 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-11-13 02:07:54,960 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.14': '0'}} with 2025-11-13 02:07:54,960 - INFO - Initial checks done. Running the testcase now 2025-11-13 02:07:54,960 - INFO - 2025-11-13 02:07:56,047 - DEBUG - Response for create_network : {'network': {'id': '89f6c616-cb6c-4000-8c2f-8a3bac812a9f', 'name': 'ctest-vn-04098516', 'tenant_id': 'b430c13b156643c69d1a44107ba316ba', 'project_id': 'b430c13b156643c69d1a44107ba316ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20898141', 'ctest-vn-04098516'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:07:56,218 - DEBUG - Response for create_subnet : {'subnet': {'id': '19895dc7-d32e-4522-84b1-6fc29dcf36c1', 'name': '', 'tenant_id': 'b430c13b156643c69d1a44107ba316ba', 'network_id': '89f6c616-cb6c-4000-8c2f-8a3bac812a9f', 'ip_version': 4, 'cidr': '156.240.39.0/26', 'allocation_pools': [{'start': '156.240.39.2', 'end': '156.240.39.62'}], 'gateway_ip': '156.240.39.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.240.39.2', 'tags': [], 'project_id': 'b430c13b156643c69d1a44107ba316ba'}} 2025-11-13 02:07:56,235 - INFO - Created VN ctest-vn-04098516 2025-11-13 02:07:56,288 - DEBUG - VN ctest-vn-04098516 UUID is 89f6c616-cb6c-4000-8c2f-8a3bac812a9f 2025-11-13 02:07:56,597 - DEBUG - Response for create_network : {'network': {'id': 'fb1b59ca-922e-4be8-bfdf-f6d7bf059f99', 'name': 'ctest-vn-53885751', 'tenant_id': 'b430c13b156643c69d1a44107ba316ba', 'project_id': 'b430c13b156643c69d1a44107ba316ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20898141', 'ctest-vn-53885751'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:07:56,768 - DEBUG - Response for create_subnet : {'subnet': {'id': '47b11316-38be-4c88-b5ed-78e959f6f182', 'name': '', 'tenant_id': 'b430c13b156643c69d1a44107ba316ba', 'network_id': 'fb1b59ca-922e-4be8-bfdf-f6d7bf059f99', 'ip_version': 4, 'cidr': '6.143.173.64/26', 'allocation_pools': [{'start': '6.143.173.66', 'end': '6.143.173.126'}], 'gateway_ip': '6.143.173.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.143.173.66', 'tags': [], 'project_id': 'b430c13b156643c69d1a44107ba316ba'}} 2025-11-13 02:07:56,786 - INFO - Created VN ctest-vn-53885751 2025-11-13 02:07:56,840 - DEBUG - VN ctest-vn-53885751 UUID is fb1b59ca-922e-4be8-bfdf-f6d7bf059f99 2025-11-13 02:07:56,953 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20898141:ctest-vn-04098516, 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-20898141:ctest-vn-53885751, 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-11-13 02:07:57,235 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '89f6c616-cb6c-4000-8c2f-8a3bac812a9f', 'name': 'ctest-vn-04098516', 'tenant_id': 'b430c13b156643c69d1a44107ba316ba', 'project_id': 'b430c13b156643c69d1a44107ba316ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['19895dc7-d32e-4522-84b1-6fc29dcf36c1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20898141', 'ctest-vn-04098516'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20898141', 'ctest-policy-allow-all-98105299']], 'subnet_ipam': [{'subnet_cidr': '156.240.39.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:07:57,472 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fb1b59ca-922e-4be8-bfdf-f6d7bf059f99', 'name': 'ctest-vn-53885751', 'tenant_id': 'b430c13b156643c69d1a44107ba316ba', 'project_id': 'b430c13b156643c69d1a44107ba316ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['47b11316-38be-4c88-b5ed-78e959f6f182'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20898141', 'ctest-vn-53885751'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20898141', 'ctest-policy-allow-all-98105299']], 'subnet_ipam': [{'subnet_cidr': '6.143.173.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 02:07:57,624 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-13 02:07:57,916 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-13 02:07:57,941 - DEBUG - Requesting: http://10.0.0.57:8082/domain/b172cfcc-e4a5-4d16-bb39-9787ac9c341e 2025-11-13 02:07:57,952 - DEBUG - Requesting: http://10.0.0.57:8082/project/b430c13b-1566-43c6-9d1a-44107ba316ba 2025-11-13 02:07:58,022 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/89f6c616-cb6c-4000-8c2f-8a3bac812a9f 2025-11-13 02:07:58,032 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/89f6c616-cb6c-4000-8c2f-8a3bac812a9f 2025-11-13 02:07:58,040 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e049376d-123c-4194-b39a-dc8133e30e7a 2025-11-13 02:07:58,046 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e049376d-123c-4194-b39a-dc8133e30e7a 2025-11-13 02:07:58,053 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/8bcb5916-8b6c-407c-89cc-3d8847c36697 2025-11-13 02:07:58,060 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 02:07:58,060 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/89f6c616-cb6c-4000-8c2f-8a3bac812a9f 2025-11-13 02:07:58,068 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e049376d-123c-4194-b39a-dc8133e30e7a 2025-11-13 02:07:58,081 - INFO - Verified VN network id 10 for VN 89f6c616-cb6c-4000-8c2f-8a3bac812a9f 2025-11-13 02:07:58,081 - INFO - Verifications in API Server for VN ctest-vn-04098516 passed 2025-11-13 02:07:58,081 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/89f6c616-cb6c-4000-8c2f-8a3bac812a9f 2025-11-13 02:07:58,090 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e049376d-123c-4194-b39a-dc8133e30e7a 2025-11-13 02:07:58,096 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e049376d-123c-4194-b39a-dc8133e30e7a 2025-11-13 02:07:58,101 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/8bcb5916-8b6c-407c-89cc-3d8847c36697 2025-11-13 02:07:58,112 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20898141:ctest-vn-04098516', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20898141', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9941351028671397888', 'uuid-lslong': '10101444478117161631'}, 'enable': 'true', 'created': '2025-11-13T02:07:56', 'last-modified': '2025-11-13T02:07:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893218'} 2025-11-13 02:07:58,118 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 02:07:58,119 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04098516 passed 2025-11-13 02:07:58,119 - DEBUG - ====Verifying policy data for ctest-vn-04098516 in API_Server ====== 2025-11-13 02:07:58,119 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-13 02:07:58,124 - DEBUG - Requesting: http://10.0.0.57:8082/domain/b172cfcc-e4a5-4d16-bb39-9787ac9c341e 2025-11-13 02:07:58,134 - DEBUG - Requesting: http://10.0.0.57:8082/project/b430c13b-1566-43c6-9d1a-44107ba316ba 2025-11-13 02:07:58,209 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/89f6c616-cb6c-4000-8c2f-8a3bac812a9f 2025-11-13 02:07:58,219 - DEBUG - ==>Verifying data for policy with id: d0bc2359-c104-4b8d-b344-74668563a4cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-20898141', 'ctest-policy-allow-all-98105299'] 2025-11-13 02:07:58,219 - INFO - VN ctest-vn-04098516 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 02:07:58,219 - DEBUG - Verifying the vn in opserver 2025-11-13 02:07:58,219 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20898141:ctest-vn-04098516 virtual network link through opserver 10.0.0.57 2025-11-13 02:07:58,219 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-11-13 02:07:58,510 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-11-13 02:07:58,561 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20898141:ctest-vn-04098516', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20898141:ctest-vn-04098516?flat'} 2025-11-13 02:07:58,561 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20898141:ctest-vn-04098516 is found in opserver 2025-11-13 02:07:58,572 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 02:07:58,577 - DEBUG - VRF ids for VN ctest-vn-04098516: {} 2025-11-13 02:07:58,577 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-13 02:07:58,583 - DEBUG - Requesting: http://10.0.0.57:8082/domain/b172cfcc-e4a5-4d16-bb39-9787ac9c341e 2025-11-13 02:07:58,593 - DEBUG - Requesting: http://10.0.0.57:8082/project/b430c13b-1566-43c6-9d1a-44107ba316ba 2025-11-13 02:07:58,673 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/fb1b59ca-922e-4be8-bfdf-f6d7bf059f99 2025-11-13 02:07:58,684 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/fb1b59ca-922e-4be8-bfdf-f6d7bf059f99 2025-11-13 02:07:58,693 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/64c3a9cc-3d99-4bbb-8691-1aa39ab2c58a 2025-11-13 02:07:58,700 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/64c3a9cc-3d99-4bbb-8691-1aa39ab2c58a 2025-11-13 02:07:58,708 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/fdf02354-1e7b-4fe7-ab2c-1e93e371cdfd 2025-11-13 02:07:58,716 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 02:07:58,716 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/fb1b59ca-922e-4be8-bfdf-f6d7bf059f99 2025-11-13 02:07:58,728 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/64c3a9cc-3d99-4bbb-8691-1aa39ab2c58a 2025-11-13 02:07:58,743 - INFO - Verified VN network id 11 for VN fb1b59ca-922e-4be8-bfdf-f6d7bf059f99 2025-11-13 02:07:58,743 - INFO - Verifications in API Server for VN ctest-vn-53885751 passed 2025-11-13 02:07:58,743 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/fb1b59ca-922e-4be8-bfdf-f6d7bf059f99 2025-11-13 02:07:58,752 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/64c3a9cc-3d99-4bbb-8691-1aa39ab2c58a 2025-11-13 02:07:58,758 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/64c3a9cc-3d99-4bbb-8691-1aa39ab2c58a 2025-11-13 02:07:58,765 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/fdf02354-1e7b-4fe7-ab2c-1e93e371cdfd 2025-11-13 02:07:58,780 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20898141:ctest-vn-53885751', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20898141', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18094154654461873128', 'uuid-lslong': '13826040787533930393'}, 'enable': 'true', 'created': '2025-11-13T02:07:56', 'last-modified': '2025-11-13T02:07:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.330428'} 2025-11-13 02:07:58,786 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 02:07:58,786 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53885751 passed 2025-11-13 02:07:58,786 - DEBUG - ====Verifying policy data for ctest-vn-53885751 in API_Server ====== 2025-11-13 02:07:58,786 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-13 02:07:58,792 - DEBUG - Requesting: http://10.0.0.57:8082/domain/b172cfcc-e4a5-4d16-bb39-9787ac9c341e 2025-11-13 02:07:58,802 - DEBUG - Requesting: http://10.0.0.57:8082/project/b430c13b-1566-43c6-9d1a-44107ba316ba 2025-11-13 02:07:58,878 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/fb1b59ca-922e-4be8-bfdf-f6d7bf059f99 2025-11-13 02:07:58,886 - DEBUG - ==>Verifying data for policy with id: d0bc2359-c104-4b8d-b344-74668563a4cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-20898141', 'ctest-policy-allow-all-98105299'] 2025-11-13 02:07:58,886 - INFO - VN ctest-vn-53885751 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 02:07:58,886 - DEBUG - Verifying the vn in opserver 2025-11-13 02:07:58,886 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20898141:ctest-vn-53885751 virtual network link through opserver 10.0.0.57 2025-11-13 02:07:58,886 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-11-13 02:07:58,895 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20898141:ctest-vn-53885751', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20898141:ctest-vn-53885751?flat'} 2025-11-13 02:07:58,895 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20898141:ctest-vn-53885751 is found in opserver 2025-11-13 02:07:58,904 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 02:07:58,908 - DEBUG - VRF ids for VN ctest-vn-53885751: {} 2025-11-13 02:07:58,969 - DEBUG - Services list from nova: [, , ] 2025-11-13 02:07:59,993 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4715-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4715-1) 2025-11-13 02:08:01,185 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4715-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4715-1) 2025-11-13 02:08:01,186 - INFO - Waiting for VM ctest-TestBasicPolicy-20898141-52109023 to be up.. 2025-11-13 02:08:01,282 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 02:08:06,362 - DEBUG - VM is in ACTIVE state now 2025-11-13 02:08:06,362 - INFO - VM name : ctest-TestBasicPolicy-20898141-52109023 2025-11-13 02:08:06,445 - DEBUG - VM ctest-TestBasicPolicy-20898141-52109023 ID is 0c0c777a-6ff5-4f7c-b97d-8f04be34183f 2025-11-13 02:08:06,464 - DEBUG - VM ctest-TestBasicPolicy-20898141-52109023 launched on Node cn-jenkins-deploy-platform-ansible-os-4715-1 2025-11-13 02:08:06,537 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/0c0c777a-6ff5-4f7c-b97d-8f04be34183f 2025-11-13 02:08:06,545 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/fe9a7879-2b9e-49af-9b81-2dba8386e040 2025-11-13 02:08:09,789 - 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 1014ms') 2025-11-13 02:08:09,789 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20898141-52109023 failed! 2025-11-13 02:08:09,851 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20898141:ctest-vn-04098516 is 156.240.39.1 and allocation pool is NOT set 2025-11-13 02:08:11,919 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.895 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.895/5.183/9.471/4.288 ms') 2025-11-13 02:08:11,919 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20898141-52109023 passed 2025-11-13 02:08:12,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:08:12,068 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20898141-52109023, IP 156.240.39.3, Port 22 2025-11-13 02:08:12,227 - DEBUG - VM ctest-TestBasicPolicy-20898141-52109023 is ready for SSH connections 2025-11-13 02:08:12,227 - INFO - Waiting for VM ctest-TestBasicPolicy-20898141-93422753 to be up.. 2025-11-13 02:08:12,309 - DEBUG - VM is in ACTIVE state now 2025-11-13 02:08:12,309 - INFO - VM name : ctest-TestBasicPolicy-20898141-93422753 2025-11-13 02:08:12,378 - DEBUG - VM ctest-TestBasicPolicy-20898141-93422753 ID is 3835515c-46ff-4c7b-8b86-b55f4eee870e 2025-11-13 02:08:12,378 - DEBUG - VM ctest-TestBasicPolicy-20898141-93422753 launched on Node cn-jenkins-deploy-platform-ansible-os-4715-1 2025-11-13 02:08:12,452 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/3835515c-46ff-4c7b-8b86-b55f4eee870e 2025-11-13 02:08:12,461 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/ea46254c-6484-4c03-b8dc-b8c8492107a1 2025-11-13 02:08:13,705 - 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=5.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.857 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.857/2.953/5.050/2.096 ms') 2025-11-13 02:08:13,705 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20898141-93422753 passed 2025-11-13 02:08:13,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:08:13,856 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20898141-93422753, IP 6.143.173.67, Port 22 2025-11-13 02:08:14,021 - DEBUG - VM ctest-TestBasicPolicy-20898141-93422753 is ready for SSH connections 2025-11-13 02:08:14,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:08:14,022 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.143.173.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-13 02:08:14,022 - DEBUG - ping -s 56 -c 3 -W 1 6.143.173.67 2025-11-13 02:08:18,035 - DEBUG - PING 6.143.173.67 (6.143.173.67): 56 data bytes 64 bytes from 6.143.173.67: seq=0 ttl=63 time=3.278 ms 64 bytes from 6.143.173.67: seq=1 ttl=63 time=0.840 ms 64 bytes from 6.143.173.67: seq=2 ttl=63 time=0.929 ms --- 6.143.173.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.840/1.682/3.278 ms 2025-11-13 02:08:18,036 - INFO - Ping to IP 6.143.173.67 from VM ctest-TestBasicPolicy-20898141-52109023 passed 2025-11-13 02:08:18,211 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d0bc2359-c104-4b8d-b344-74668563a4cf", "href": "http://10.0.0.57:8082/network-policy/d0bc2359-c104-4b8d-b344-74668563a4cf"}} 2025-11-13 02:08:18,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 02:08:18,212 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.143.173.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-11-13 02:08:18,212 - DEBUG - ping -s 56 -c 3 -W 1 6.143.173.67 2025-11-13 02:08:21,430 - DEBUG - PING 6.143.173.67 (6.143.173.67): 56 data bytes --- 6.143.173.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 02:08:21,430 - WARNING - Ping to IP 6.143.173.67 from VM ctest-TestBasicPolicy-20898141-52109023 failed 2025-11-13 02:08:21,430 - INFO - Deleting VM ctest-TestBasicPolicy-20898141-93422753 2025-11-13 02:08:21,500 - INFO - Deleting VM ctest-TestBasicPolicy-20898141-52109023 2025-11-13 02:08:21,863 - INFO - Deleted policy ctest-policy-allow-all-98105299 2025-11-13 02:08:21,863 - INFO - Deleting VN ctest-vn-53885751 2025-11-13 02:08:21,895 - DEBUG - VN fb1b59ca-922e-4be8-bfdf-f6d7bf059f99 still in use: Unable to complete operation on network fb1b59ca-922e-4be8-bfdf-f6d7bf059f99. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-89a45fd6-2da5-4ce3-84de-eb7085e12648'] 2025-11-13 02:08:21,895 - WARNING - Deleting VN ctest-vn-53885751 failed..Will retry 2025-11-13 02:08:23,996 - DEBUG - Response for deleting network () 2025-11-13 02:08:23,996 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/64c3a9cc-3d99-4bbb-8691-1aa39ab2c58a 2025-11-13 02:08:24,002 - DEBUG - Response Code: 404 2025-11-13 02:08:24,002 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-13 02:08:24,007 - DEBUG - Requesting: http://10.0.0.57:8082/domain/b172cfcc-e4a5-4d16-bb39-9787ac9c341e 2025-11-13 02:08:24,060 - DEBUG - Requesting: http://10.0.0.57:8082/project/b430c13b-1566-43c6-9d1a-44107ba316ba 2025-11-13 02:08:24,128 - INFO - Validated that VN ctest-vn-53885751 is not found in API Server 2025-11-13 02:08:24,138 - DEBUG - VN ctest-vn-53885751 is not present in Agent 10.0.0.57 2025-11-13 02:08:24,138 - INFO - Validated that VN ctest-vn-53885751 is not in any agent 2025-11-13 02:08:24,153 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53885751 info 2025-11-13 02:08:24,153 - INFO - Deleting VN ctest-vn-04098516 2025-11-13 02:08:24,253 - DEBUG - Response for deleting network () 2025-11-13 02:08:24,253 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/e049376d-123c-4194-b39a-dc8133e30e7a 2025-11-13 02:08:24,259 - DEBUG - Response Code: 404 2025-11-13 02:08:24,260 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-11-13 02:08:24,265 - DEBUG - Requesting: http://10.0.0.57:8082/domain/b172cfcc-e4a5-4d16-bb39-9787ac9c341e 2025-11-13 02:08:24,316 - DEBUG - Requesting: http://10.0.0.57:8082/project/b430c13b-1566-43c6-9d1a-44107ba316ba 2025-11-13 02:08:24,387 - INFO - Validated that VN ctest-vn-04098516 is not found in API Server 2025-11-13 02:08:24,396 - DEBUG - VN ctest-vn-04098516 is not present in Agent 10.0.0.57 2025-11-13 02:08:24,396 - INFO - Validated that VN ctest-vn-04098516 is not in any agent 2025-11-13 02:08:24,409 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04098516 info 2025-11-13 02:08:24,660 - DEBUG - No XMPP flaps were noticed during the test 2025-11-13 02:08:24,660 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-11-13 02:08:24,661 - INFO - -------------------------------------------------------------------------------- 2025-11-13 02:08:25,379 - INFO - Deleted project: ctest-TestBasicPolicy-20898141, ID : b430c13b-1566-43c6-9d1a-44107ba316ba