2025-08-14 02:05:12,883 - INFO - Domain Default found not creating 2025-08-14 02:05:13,035 - INFO - Project ctest-TestBasicPolicy-60245747 not found, creating it 2025-08-14 02:05:13,477 - INFO - Created Project:ctest-TestBasicPolicy-60245747, ID : 7b415a21-4433-4933-bf38-50ac3d1dccd2 2025-08-14 02:05:14,953 - INFO - ================================================================================ 2025-08-14 02:05:14,953 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-14 02:05:14,953 - 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-08-14 02:05:15,209 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-08-14 02:05:15,209 - INFO - Initial checks done. Running the testcase now 2025-08-14 02:05:15,210 - INFO - 2025-08-14 02:05:15,745 - DEBUG - Response for create_network : {'network': {'id': 'fdccf5c4-9804-4934-b62c-2db8e1051d87', 'name': 'ctest-vn-12568315', 'tenant_id': '7b415a2144334933bf3850ac3d1dccd2', 'project_id': '7b415a2144334933bf3850ac3d1dccd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60245747', 'ctest-vn-12568315'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:05:15,934 - DEBUG - Response for create_subnet : {'subnet': {'id': '87ba7a37-c83a-4729-88e1-7b8f0a43e133', 'name': '', 'tenant_id': '7b415a2144334933bf3850ac3d1dccd2', 'network_id': 'fdccf5c4-9804-4934-b62c-2db8e1051d87', 'ip_version': 4, 'cidr': '99.72.149.0/26', 'allocation_pools': [{'start': '99.72.149.2', 'end': '99.72.149.62'}], 'gateway_ip': '99.72.149.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.72.149.2', 'tags': [], 'project_id': '7b415a2144334933bf3850ac3d1dccd2'}} 2025-08-14 02:05:15,953 - INFO - Created VN ctest-vn-12568315 2025-08-14 02:05:16,008 - DEBUG - VN ctest-vn-12568315 UUID is fdccf5c4-9804-4934-b62c-2db8e1051d87 2025-08-14 02:05:16,340 - DEBUG - Response for create_network : {'network': {'id': 'e537bce7-0e64-4e07-a7fe-22142d3208cd', 'name': 'ctest-vn-44904535', 'tenant_id': '7b415a2144334933bf3850ac3d1dccd2', 'project_id': '7b415a2144334933bf3850ac3d1dccd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60245747', 'ctest-vn-44904535'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:05:16,540 - DEBUG - Response for create_subnet : {'subnet': {'id': '034942f2-90f1-4a19-8232-366e347e24f4', 'name': '', 'tenant_id': '7b415a2144334933bf3850ac3d1dccd2', 'network_id': 'e537bce7-0e64-4e07-a7fe-22142d3208cd', 'ip_version': 4, 'cidr': '50.151.81.64/26', 'allocation_pools': [{'start': '50.151.81.66', 'end': '50.151.81.126'}], 'gateway_ip': '50.151.81.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.151.81.66', 'tags': [], 'project_id': '7b415a2144334933bf3850ac3d1dccd2'}} 2025-08-14 02:05:16,558 - INFO - Created VN ctest-vn-44904535 2025-08-14 02:05:16,612 - DEBUG - VN ctest-vn-44904535 UUID is e537bce7-0e64-4e07-a7fe-22142d3208cd 2025-08-14 02:05:16,723 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60245747:ctest-vn-12568315, 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-60245747:ctest-vn-44904535, 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-08-14 02:05:17,006 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fdccf5c4-9804-4934-b62c-2db8e1051d87', 'name': 'ctest-vn-12568315', 'tenant_id': '7b415a2144334933bf3850ac3d1dccd2', 'project_id': '7b415a2144334933bf3850ac3d1dccd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['87ba7a37-c83a-4729-88e1-7b8f0a43e133'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60245747', 'ctest-vn-12568315'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60245747', 'ctest-policy-allow-all-34798687']], 'subnet_ipam': [{'subnet_cidr': '99.72.149.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:05:17,246 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e537bce7-0e64-4e07-a7fe-22142d3208cd', 'name': 'ctest-vn-44904535', 'tenant_id': '7b415a2144334933bf3850ac3d1dccd2', 'project_id': '7b415a2144334933bf3850ac3d1dccd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['034942f2-90f1-4a19-8232-366e347e24f4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60245747', 'ctest-vn-44904535'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60245747', 'ctest-policy-allow-all-34798687']], 'subnet_ipam': [{'subnet_cidr': '50.151.81.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:05:17,444 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-14 02:05:17,742 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-14 02:05:17,771 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5857e3c6-2d3a-4b17-9399-2a57870ab094 2025-08-14 02:05:17,786 - DEBUG - Requesting: http://10.0.0.50:8082/project/7b415a21-4433-4933-bf38-50ac3d1dccd2 2025-08-14 02:05:17,860 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fdccf5c4-9804-4934-b62c-2db8e1051d87 2025-08-14 02:05:17,871 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fdccf5c4-9804-4934-b62c-2db8e1051d87 2025-08-14 02:05:17,880 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3fcda856-1e86-41e5-bb1a-a5fee9a65fd3 2025-08-14 02:05:17,887 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3fcda856-1e86-41e5-bb1a-a5fee9a65fd3 2025-08-14 02:05:17,894 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4dd55c3a-da43-4cee-873a-e4850a63d199 2025-08-14 02:05:17,901 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-14 02:05:17,901 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fdccf5c4-9804-4934-b62c-2db8e1051d87 2025-08-14 02:05:17,910 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3fcda856-1e86-41e5-bb1a-a5fee9a65fd3 2025-08-14 02:05:17,922 - INFO - Verified VN network id 12 for VN fdccf5c4-9804-4934-b62c-2db8e1051d87 2025-08-14 02:05:17,923 - INFO - Verifications in API Server for VN ctest-vn-12568315 passed 2025-08-14 02:05:17,923 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fdccf5c4-9804-4934-b62c-2db8e1051d87 2025-08-14 02:05:17,932 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3fcda856-1e86-41e5-bb1a-a5fee9a65fd3 2025-08-14 02:05:17,939 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3fcda856-1e86-41e5-bb1a-a5fee9a65fd3 2025-08-14 02:05:17,946 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4dd55c3a-da43-4cee-873a-e4850a63d199 2025-08-14 02:05:17,958 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60245747:ctest-vn-12568315', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60245747', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18288262411557554484', 'uuid-lslong': '13126917285950594439'}, 'enable': 'true', 'created': '2025-08-14T02:05:15', 'last-modified': '2025-08-14T02:05:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968272'} 2025-08-14 02:05:17,964 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-14 02:05:17,964 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12568315 passed 2025-08-14 02:05:17,965 - DEBUG - ====Verifying policy data for ctest-vn-12568315 in API_Server ====== 2025-08-14 02:05:17,965 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-14 02:05:17,970 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5857e3c6-2d3a-4b17-9399-2a57870ab094 2025-08-14 02:05:17,982 - DEBUG - Requesting: http://10.0.0.50:8082/project/7b415a21-4433-4933-bf38-50ac3d1dccd2 2025-08-14 02:05:18,056 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fdccf5c4-9804-4934-b62c-2db8e1051d87 2025-08-14 02:05:18,066 - DEBUG - ==>Verifying data for policy with id: 3d21e3d6-92c0-4cc5-911f-0866377ad57e, fqn: ['default-domain', 'ctest-TestBasicPolicy-60245747', 'ctest-policy-allow-all-34798687'] 2025-08-14 02:05:18,066 - INFO - VN ctest-vn-12568315 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-14 02:05:18,066 - DEBUG - Verifying the vn in opserver 2025-08-14 02:05:18,066 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60245747:ctest-vn-12568315 virtual network link through opserver 10.0.0.50 2025-08-14 02:05:18,066 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-14 02:05:18,355 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-14 02:05:18,406 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60245747:ctest-vn-12568315', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60245747:ctest-vn-12568315?flat'} 2025-08-14 02:05:18,406 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60245747:ctest-vn-12568315 is found in opserver 2025-08-14 02:05:18,416 - DEBUG - Do not have enough data to verify VN in agent 2025-08-14 02:05:18,421 - DEBUG - VRF ids for VN ctest-vn-12568315: {} 2025-08-14 02:05:18,421 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-14 02:05:18,427 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5857e3c6-2d3a-4b17-9399-2a57870ab094 2025-08-14 02:05:18,438 - DEBUG - Requesting: http://10.0.0.50:8082/project/7b415a21-4433-4933-bf38-50ac3d1dccd2 2025-08-14 02:05:18,506 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e537bce7-0e64-4e07-a7fe-22142d3208cd 2025-08-14 02:05:18,518 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e537bce7-0e64-4e07-a7fe-22142d3208cd 2025-08-14 02:05:18,528 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9dc8efc5-7dbe-44b3-b03b-7ec12f7542f4 2025-08-14 02:05:18,537 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9dc8efc5-7dbe-44b3-b03b-7ec12f7542f4 2025-08-14 02:05:18,544 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2b40605a-3534-4db4-970d-8ebac36ccb70 2025-08-14 02:05:18,552 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-14 02:05:18,552 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e537bce7-0e64-4e07-a7fe-22142d3208cd 2025-08-14 02:05:18,562 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9dc8efc5-7dbe-44b3-b03b-7ec12f7542f4 2025-08-14 02:05:18,582 - INFO - Verified VN network id 13 for VN e537bce7-0e64-4e07-a7fe-22142d3208cd 2025-08-14 02:05:18,582 - INFO - Verifications in API Server for VN ctest-vn-44904535 passed 2025-08-14 02:05:18,582 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e537bce7-0e64-4e07-a7fe-22142d3208cd 2025-08-14 02:05:18,592 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9dc8efc5-7dbe-44b3-b03b-7ec12f7542f4 2025-08-14 02:05:18,600 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9dc8efc5-7dbe-44b3-b03b-7ec12f7542f4 2025-08-14 02:05:18,607 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2b40605a-3534-4db4-970d-8ebac36ccb70 2025-08-14 02:05:18,620 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60245747:ctest-vn-44904535', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60245747', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16516877858969505287', 'uuid-lslong': '12105150318471416013'}, 'enable': 'true', 'created': '2025-08-14T02:05:16', 'last-modified': '2025-08-14T02:05:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.399545'} 2025-08-14 02:05:18,626 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-14 02:05:18,626 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44904535 passed 2025-08-14 02:05:18,626 - DEBUG - ====Verifying policy data for ctest-vn-44904535 in API_Server ====== 2025-08-14 02:05:18,626 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-14 02:05:18,632 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5857e3c6-2d3a-4b17-9399-2a57870ab094 2025-08-14 02:05:18,644 - DEBUG - Requesting: http://10.0.0.50:8082/project/7b415a21-4433-4933-bf38-50ac3d1dccd2 2025-08-14 02:05:18,718 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e537bce7-0e64-4e07-a7fe-22142d3208cd 2025-08-14 02:05:18,728 - DEBUG - ==>Verifying data for policy with id: 3d21e3d6-92c0-4cc5-911f-0866377ad57e, fqn: ['default-domain', 'ctest-TestBasicPolicy-60245747', 'ctest-policy-allow-all-34798687'] 2025-08-14 02:05:18,728 - INFO - VN ctest-vn-44904535 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-14 02:05:18,728 - DEBUG - Verifying the vn in opserver 2025-08-14 02:05:18,728 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60245747:ctest-vn-44904535 virtual network link through opserver 10.0.0.50 2025-08-14 02:05:18,728 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-14 02:05:18,739 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60245747:ctest-vn-44904535', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60245747:ctest-vn-44904535?flat'} 2025-08-14 02:05:18,739 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60245747:ctest-vn-44904535 is found in opserver 2025-08-14 02:05:18,750 - DEBUG - Do not have enough data to verify VN in agent 2025-08-14 02:05:18,755 - DEBUG - VRF ids for VN ctest-vn-44904535: {} 2025-08-14 02:05:18,810 - DEBUG - Services list from nova: [, , ] 2025-08-14 02:05:19,789 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3850-1) 2025-08-14 02:05:20,884 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3850-1) 2025-08-14 02:05:20,885 - INFO - Waiting for VM ctest-TestBasicPolicy-60245747-84553038 to be up.. 2025-08-14 02:05:20,965 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 02:05:26,033 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:05:26,033 - INFO - VM name : ctest-TestBasicPolicy-60245747-84553038 2025-08-14 02:05:26,098 - DEBUG - VM ctest-TestBasicPolicy-60245747-84553038 ID is 040d9393-9fd5-4c8f-8e63-55e4ac9cec68 2025-08-14 02:05:26,116 - DEBUG - VM ctest-TestBasicPolicy-60245747-84553038 launched on Node cn-jenkins-deploy-platform-ansible-os-3850-1 2025-08-14 02:05:26,185 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/040d9393-9fd5-4c8f-8e63-55e4ac9cec68 2025-08-14 02:05:26,196 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8bc006a7-55c3-4880-a449-a2b7172118e3 2025-08-14 02:05:29,474 - 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 1032ms') 2025-08-14 02:05:29,474 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60245747-84553038 failed! 2025-08-14 02:05:29,532 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-60245747:ctest-vn-12568315 is 99.72.149.1 and allocation pool is NOT set 2025-08-14 02:05:31,598 - 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=3.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.904 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.904/2.058/3.213/1.154 ms') 2025-08-14 02:05:31,598 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60245747-84553038 passed 2025-08-14 02:05:31,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:05:31,752 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60245747-84553038, IP 99.72.149.3, Port 22 2025-08-14 02:05:31,903 - DEBUG - VM ctest-TestBasicPolicy-60245747-84553038 is ready for SSH connections 2025-08-14 02:05:31,903 - INFO - Waiting for VM ctest-TestBasicPolicy-60245747-98298779 to be up.. 2025-08-14 02:05:31,969 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:05:31,969 - INFO - VM name : ctest-TestBasicPolicy-60245747-98298779 2025-08-14 02:05:32,032 - DEBUG - VM ctest-TestBasicPolicy-60245747-98298779 ID is d9dc423b-3a58-4bf4-8327-87f1144cd838 2025-08-14 02:05:32,032 - DEBUG - VM ctest-TestBasicPolicy-60245747-98298779 launched on Node cn-jenkins-deploy-platform-ansible-os-3850-1 2025-08-14 02:05:32,097 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d9dc423b-3a58-4bf4-8327-87f1144cd838 2025-08-14 02:05:32,105 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9c7cb1f4-255b-4030-95bd-1a9bb19b4a80 2025-08-14 02:05:33,343 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.377 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.377/1.618/2.859/1.241 ms') 2025-08-14 02:05:33,343 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-60245747-98298779 passed 2025-08-14 02:05:33,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:05:33,492 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60245747-98298779, IP 50.151.81.67, Port 22 2025-08-14 02:05:33,647 - DEBUG - VM ctest-TestBasicPolicy-60245747-98298779 is ready for SSH connections 2025-08-14 02:05:33,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:05:33,648 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.151.81.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-14 02:05:33,648 - DEBUG - ping -s 56 -c 3 -W 1 50.151.81.67 2025-08-14 02:05:37,625 - DEBUG - PING 50.151.81.67 (50.151.81.67): 56 data bytes 64 bytes from 50.151.81.67: seq=0 ttl=63 time=6.035 ms 64 bytes from 50.151.81.67: seq=1 ttl=63 time=0.805 ms 64 bytes from 50.151.81.67: seq=2 ttl=63 time=0.701 ms --- 50.151.81.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.701/2.513/6.035 ms 2025-08-14 02:05:37,626 - INFO - Ping to IP 50.151.81.67 from VM ctest-TestBasicPolicy-60245747-84553038 passed 2025-08-14 02:05:37,807 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3d21e3d6-92c0-4cc5-911f-0866377ad57e", "href": "http://10.0.0.50:8082/network-policy/3d21e3d6-92c0-4cc5-911f-0866377ad57e"}} 2025-08-14 02:05:37,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:05:37,808 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.151.81.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-14 02:05:37,808 - DEBUG - ping -s 56 -c 3 -W 1 50.151.81.67 2025-08-14 02:05:41,011 - DEBUG - PING 50.151.81.67 (50.151.81.67): 56 data bytes --- 50.151.81.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 02:05:41,011 - WARNING - Ping to IP 50.151.81.67 from VM ctest-TestBasicPolicy-60245747-84553038 failed 2025-08-14 02:05:41,011 - INFO - Deleting VM ctest-TestBasicPolicy-60245747-98298779 2025-08-14 02:05:41,082 - INFO - Deleting VM ctest-TestBasicPolicy-60245747-84553038 2025-08-14 02:05:41,503 - INFO - Deleted policy ctest-policy-allow-all-34798687 2025-08-14 02:05:41,504 - INFO - Deleting VN ctest-vn-44904535 2025-08-14 02:05:41,552 - DEBUG - VN e537bce7-0e64-4e07-a7fe-22142d3208cd still in use: Unable to complete operation on network e537bce7-0e64-4e07-a7fe-22142d3208cd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ab23fc71-6734-45b5-98e6-f4b9a9b8528f'] 2025-08-14 02:05:41,552 - WARNING - Deleting VN ctest-vn-44904535 failed..Will retry 2025-08-14 02:05:43,668 - DEBUG - Response for deleting network () 2025-08-14 02:05:43,668 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9dc8efc5-7dbe-44b3-b03b-7ec12f7542f4 2025-08-14 02:05:43,675 - DEBUG - Response Code: 404 2025-08-14 02:05:43,676 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-14 02:05:43,681 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5857e3c6-2d3a-4b17-9399-2a57870ab094 2025-08-14 02:05:43,740 - DEBUG - Requesting: http://10.0.0.50:8082/project/7b415a21-4433-4933-bf38-50ac3d1dccd2 2025-08-14 02:05:43,813 - INFO - Validated that VN ctest-vn-44904535 is not found in API Server 2025-08-14 02:05:43,827 - DEBUG - VN ctest-vn-44904535 is not present in Agent 10.0.0.50 2025-08-14 02:05:43,827 - INFO - Validated that VN ctest-vn-44904535 is not in any agent 2025-08-14 02:05:43,844 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44904535 info 2025-08-14 02:05:43,845 - INFO - Deleting VN ctest-vn-12568315 2025-08-14 02:05:43,938 - DEBUG - Response for deleting network () 2025-08-14 02:05:43,939 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3fcda856-1e86-41e5-bb1a-a5fee9a65fd3 2025-08-14 02:05:43,944 - DEBUG - Response Code: 404 2025-08-14 02:05:43,944 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-14 02:05:43,951 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5857e3c6-2d3a-4b17-9399-2a57870ab094 2025-08-14 02:05:44,004 - DEBUG - Requesting: http://10.0.0.50:8082/project/7b415a21-4433-4933-bf38-50ac3d1dccd2 2025-08-14 02:05:44,080 - INFO - Validated that VN ctest-vn-12568315 is not found in API Server 2025-08-14 02:05:44,090 - DEBUG - VN ctest-vn-12568315 is not present in Agent 10.0.0.50 2025-08-14 02:05:44,090 - INFO - Validated that VN ctest-vn-12568315 is not in any agent 2025-08-14 02:05:44,107 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12568315 info 2025-08-14 02:05:44,365 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 02:05:44,365 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-14 02:05:44,365 - INFO - -------------------------------------------------------------------------------- 2025-08-14 02:05:45,050 - INFO - Deleted project: ctest-TestBasicPolicy-60245747, ID : 7b415a21-4433-4933-bf38-50ac3d1dccd2