2025-10-10 03:52:20,110 - INFO - Domain Default found not creating 2025-10-10 03:52:20,246 - INFO - Project ctest-TestBasicPolicy-56190284 not found, creating it 2025-10-10 03:52:20,683 - INFO - Created Project:ctest-TestBasicPolicy-56190284, ID : b5f7915f-3fde-43ca-8925-98a6db0438e9 2025-10-10 03:52:22,093 - INFO - ================================================================================ 2025-10-10 03:52:22,093 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-10 03:52:22,093 - 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-10 03:52:22,357 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-10 03:52:22,357 - INFO - Initial checks done. Running the testcase now 2025-10-10 03:52:22,357 - INFO - 2025-10-10 03:52:22,938 - DEBUG - Response for create_network : {'network': {'id': '9481296b-b2f0-4833-a02e-71ba95c1e4b0', 'name': 'ctest-vn-23303157', 'tenant_id': 'b5f7915f3fde43ca892598a6db0438e9', 'project_id': 'b5f7915f3fde43ca892598a6db0438e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56190284', 'ctest-vn-23303157'], 'port_security_enabled': True, 'description': ''}} 2025-10-10 03:52:23,145 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b614ba6-d3f2-461a-a8f5-4304ebbc2d7d', 'name': '', 'tenant_id': 'b5f7915f3fde43ca892598a6db0438e9', 'network_id': '9481296b-b2f0-4833-a02e-71ba95c1e4b0', 'ip_version': 4, 'cidr': '31.239.24.0/26', 'allocation_pools': [{'start': '31.239.24.2', 'end': '31.239.24.62'}], 'gateway_ip': '31.239.24.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.239.24.2', 'tags': [], 'project_id': 'b5f7915f3fde43ca892598a6db0438e9'}} 2025-10-10 03:52:23,161 - INFO - Created VN ctest-vn-23303157 2025-10-10 03:52:23,212 - DEBUG - VN ctest-vn-23303157 UUID is 9481296b-b2f0-4833-a02e-71ba95c1e4b0 2025-10-10 03:52:23,535 - DEBUG - Response for create_network : {'network': {'id': 'ff97d146-81d7-401c-a26a-c0e9d3cc481b', 'name': 'ctest-vn-19060454', 'tenant_id': 'b5f7915f3fde43ca892598a6db0438e9', 'project_id': 'b5f7915f3fde43ca892598a6db0438e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56190284', 'ctest-vn-19060454'], 'port_security_enabled': True, 'description': ''}} 2025-10-10 03:52:23,717 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5a94967-10aa-4bf3-9da6-44672636ec9d', 'name': '', 'tenant_id': 'b5f7915f3fde43ca892598a6db0438e9', 'network_id': 'ff97d146-81d7-401c-a26a-c0e9d3cc481b', 'ip_version': 4, 'cidr': '28.79.44.128/26', 'allocation_pools': [{'start': '28.79.44.130', 'end': '28.79.44.190'}], 'gateway_ip': '28.79.44.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.79.44.130', 'tags': [], 'project_id': 'b5f7915f3fde43ca892598a6db0438e9'}} 2025-10-10 03:52:23,733 - INFO - Created VN ctest-vn-19060454 2025-10-10 03:52:23,784 - DEBUG - VN ctest-vn-19060454 UUID is ff97d146-81d7-401c-a26a-c0e9d3cc481b 2025-10-10 03:52:23,932 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56190284:ctest-vn-23303157, 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-56190284:ctest-vn-19060454, 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-10 03:52:24,229 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9481296b-b2f0-4833-a02e-71ba95c1e4b0', 'name': 'ctest-vn-23303157', 'tenant_id': 'b5f7915f3fde43ca892598a6db0438e9', 'project_id': 'b5f7915f3fde43ca892598a6db0438e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8b614ba6-d3f2-461a-a8f5-4304ebbc2d7d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56190284', 'ctest-vn-23303157'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56190284', 'ctest-policy-allow-all-73613161']], 'subnet_ipam': [{'subnet_cidr': '31.239.24.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-10 03:52:24,452 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ff97d146-81d7-401c-a26a-c0e9d3cc481b', 'name': 'ctest-vn-19060454', 'tenant_id': 'b5f7915f3fde43ca892598a6db0438e9', 'project_id': 'b5f7915f3fde43ca892598a6db0438e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c5a94967-10aa-4bf3-9da6-44672636ec9d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56190284', 'ctest-vn-19060454'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56190284', 'ctest-policy-allow-all-73613161']], 'subnet_ipam': [{'subnet_cidr': '28.79.44.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-10 03:52:24,604 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-10 03:52:24,905 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-10 03:52:24,938 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4a1ce052-c65e-46fc-8ab3-1ac107dd9180 2025-10-10 03:52:24,949 - DEBUG - Requesting: http://10.0.0.33:8082/project/b5f7915f-3fde-43ca-8925-98a6db0438e9 2025-10-10 03:52:25,024 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9481296b-b2f0-4833-a02e-71ba95c1e4b0 2025-10-10 03:52:25,034 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9481296b-b2f0-4833-a02e-71ba95c1e4b0 2025-10-10 03:52:25,042 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1d7b7033-3953-44eb-893b-9b8289497efa 2025-10-10 03:52:25,048 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1d7b7033-3953-44eb-893b-9b8289497efa 2025-10-10 03:52:25,055 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b6569db7-ecbe-4af0-b84e-6e4500f28d42 2025-10-10 03:52:25,061 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-10 03:52:25,061 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9481296b-b2f0-4833-a02e-71ba95c1e4b0 2025-10-10 03:52:25,069 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1d7b7033-3953-44eb-893b-9b8289497efa 2025-10-10 03:52:25,083 - INFO - Verified VN network id 11 for VN 9481296b-b2f0-4833-a02e-71ba95c1e4b0 2025-10-10 03:52:25,083 - INFO - Verifications in API Server for VN ctest-vn-23303157 passed 2025-10-10 03:52:25,083 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9481296b-b2f0-4833-a02e-71ba95c1e4b0 2025-10-10 03:52:25,092 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1d7b7033-3953-44eb-893b-9b8289497efa 2025-10-10 03:52:25,099 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1d7b7033-3953-44eb-893b-9b8289497efa 2025-10-10 03:52:25,105 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b6569db7-ecbe-4af0-b84e-6e4500f28d42 2025-10-10 03:52:25,116 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56190284:ctest-vn-23303157', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56190284', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10700879732149340211', 'uuid-lslong': '11542287941187527856'}, 'enable': 'true', 'created': '2025-10-10T03:52:22', 'last-modified': '2025-10-10T03:52:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914997'} 2025-10-10 03:52:25,124 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-10 03:52:25,124 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23303157 passed 2025-10-10 03:52:25,124 - DEBUG - ====Verifying policy data for ctest-vn-23303157 in API_Server ====== 2025-10-10 03:52:25,124 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-10 03:52:25,129 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4a1ce052-c65e-46fc-8ab3-1ac107dd9180 2025-10-10 03:52:25,139 - DEBUG - Requesting: http://10.0.0.33:8082/project/b5f7915f-3fde-43ca-8925-98a6db0438e9 2025-10-10 03:52:25,211 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9481296b-b2f0-4833-a02e-71ba95c1e4b0 2025-10-10 03:52:25,223 - DEBUG - ==>Verifying data for policy with id: ce0dd3f7-d272-43df-bfa3-fa4afe4a84d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-56190284', 'ctest-policy-allow-all-73613161'] 2025-10-10 03:52:25,223 - INFO - VN ctest-vn-23303157 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-10 03:52:25,223 - DEBUG - Verifying the vn in opserver 2025-10-10 03:52:25,223 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56190284:ctest-vn-23303157 virtual network link through opserver 10.0.0.33 2025-10-10 03:52:25,224 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-10 03:52:25,516 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-10 03:52:25,577 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56190284:ctest-vn-23303157', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56190284:ctest-vn-23303157?flat'} 2025-10-10 03:52:25,577 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56190284:ctest-vn-23303157 is found in opserver 2025-10-10 03:52:25,585 - DEBUG - Do not have enough data to verify VN in agent 2025-10-10 03:52:25,589 - DEBUG - VRF ids for VN ctest-vn-23303157: {} 2025-10-10 03:52:25,589 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-10 03:52:25,594 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4a1ce052-c65e-46fc-8ab3-1ac107dd9180 2025-10-10 03:52:25,604 - DEBUG - Requesting: http://10.0.0.33:8082/project/b5f7915f-3fde-43ca-8925-98a6db0438e9 2025-10-10 03:52:25,676 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ff97d146-81d7-401c-a26a-c0e9d3cc481b 2025-10-10 03:52:25,688 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ff97d146-81d7-401c-a26a-c0e9d3cc481b 2025-10-10 03:52:25,696 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/849da87c-6a27-42d4-824c-b3138ecb42e2 2025-10-10 03:52:25,701 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/849da87c-6a27-42d4-824c-b3138ecb42e2 2025-10-10 03:52:25,706 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ca6519f1-36e3-4558-9f2a-755bbb889c98 2025-10-10 03:52:25,711 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-10 03:52:25,711 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ff97d146-81d7-401c-a26a-c0e9d3cc481b 2025-10-10 03:52:25,719 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/849da87c-6a27-42d4-824c-b3138ecb42e2 2025-10-10 03:52:25,729 - INFO - Verified VN network id 12 for VN ff97d146-81d7-401c-a26a-c0e9d3cc481b 2025-10-10 03:52:25,729 - INFO - Verifications in API Server for VN ctest-vn-19060454 passed 2025-10-10 03:52:25,729 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ff97d146-81d7-401c-a26a-c0e9d3cc481b 2025-10-10 03:52:25,737 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/849da87c-6a27-42d4-824c-b3138ecb42e2 2025-10-10 03:52:25,743 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/849da87c-6a27-42d4-824c-b3138ecb42e2 2025-10-10 03:52:25,748 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ca6519f1-36e3-4558-9f2a-755bbb889c98 2025-10-10 03:52:25,758 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56190284:ctest-vn-19060454', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56190284', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18417419301911216156', 'uuid-lslong': '11703378692188948507'}, 'enable': 'true', 'created': '2025-10-10T03:52:23', 'last-modified': '2025-10-10T03:52:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.323399'} 2025-10-10 03:52:25,762 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-10 03:52:25,762 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19060454 passed 2025-10-10 03:52:25,762 - DEBUG - ====Verifying policy data for ctest-vn-19060454 in API_Server ====== 2025-10-10 03:52:25,762 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-10 03:52:25,767 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4a1ce052-c65e-46fc-8ab3-1ac107dd9180 2025-10-10 03:52:25,777 - DEBUG - Requesting: http://10.0.0.33:8082/project/b5f7915f-3fde-43ca-8925-98a6db0438e9 2025-10-10 03:52:25,845 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ff97d146-81d7-401c-a26a-c0e9d3cc481b 2025-10-10 03:52:25,854 - DEBUG - ==>Verifying data for policy with id: ce0dd3f7-d272-43df-bfa3-fa4afe4a84d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-56190284', 'ctest-policy-allow-all-73613161'] 2025-10-10 03:52:25,854 - INFO - VN ctest-vn-19060454 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-10 03:52:25,854 - DEBUG - Verifying the vn in opserver 2025-10-10 03:52:25,854 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56190284:ctest-vn-19060454 virtual network link through opserver 10.0.0.33 2025-10-10 03:52:25,854 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-10 03:52:25,867 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56190284:ctest-vn-19060454', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56190284:ctest-vn-19060454?flat'} 2025-10-10 03:52:25,867 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56190284:ctest-vn-19060454 is found in opserver 2025-10-10 03:52:25,876 - DEBUG - Do not have enough data to verify VN in agent 2025-10-10 03:52:25,880 - DEBUG - VRF ids for VN ctest-vn-19060454: {} 2025-10-10 03:52:25,943 - DEBUG - Services list from nova: [, , ] 2025-10-10 03:52:26,950 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4283-1) 2025-10-10 03:52:28,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4283-1) 2025-10-10 03:52:28,115 - INFO - Waiting for VM ctest-TestBasicPolicy-56190284-12484161 to be up.. 2025-10-10 03:52:28,192 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-10 03:52:33,276 - DEBUG - VM is in ACTIVE state now 2025-10-10 03:52:33,276 - INFO - VM name : ctest-TestBasicPolicy-56190284-12484161 2025-10-10 03:52:33,352 - DEBUG - VM ctest-TestBasicPolicy-56190284-12484161 ID is d44dbc40-093e-4299-b93a-1d73586d50a6 2025-10-10 03:52:33,369 - DEBUG - VM ctest-TestBasicPolicy-56190284-12484161 launched on Node cn-jenkins-deploy-platform-ansible-os-4283-1 2025-10-10 03:52:33,440 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d44dbc40-093e-4299-b93a-1d73586d50a6 2025-10-10 03:52:33,448 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7bc490cb-27d5-4543-84f0-f93bf35e51c7 2025-10-10 03:52:36,694 - 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-10-10 03:52:36,695 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56190284-12484161 failed! 2025-10-10 03:52:36,752 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56190284:ctest-vn-23303157 is 31.239.24.1 and allocation pool is NOT set 2025-10-10 03:52:38,813 - 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=4.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.14 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 = 1.142/2.621/4.101/1.479 ms') 2025-10-10 03:52:38,814 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56190284-12484161 passed 2025-10-10 03:52:38,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:52:38,964 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56190284-12484161, IP 31.239.24.3, Port 22 2025-10-10 03:52:39,124 - DEBUG - VM ctest-TestBasicPolicy-56190284-12484161 is ready for SSH connections 2025-10-10 03:52:39,124 - INFO - Waiting for VM ctest-TestBasicPolicy-56190284-12312824 to be up.. 2025-10-10 03:52:39,199 - DEBUG - VM is in ACTIVE state now 2025-10-10 03:52:39,199 - INFO - VM name : ctest-TestBasicPolicy-56190284-12312824 2025-10-10 03:52:39,291 - DEBUG - VM ctest-TestBasicPolicy-56190284-12312824 ID is dd03eae5-0b45-438b-a54a-0343b72690f2 2025-10-10 03:52:39,291 - DEBUG - VM ctest-TestBasicPolicy-56190284-12312824 launched on Node cn-jenkins-deploy-platform-ansible-os-4283-1 2025-10-10 03:52:39,365 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dd03eae5-0b45-438b-a54a-0343b72690f2 2025-10-10 03:52:39,374 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/52c555c5-3b76-4b0f-b144-c595f47b6558 2025-10-10 03:52:40,631 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.895 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.895/2.522/4.149/1.627 ms') 2025-10-10 03:52:40,631 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56190284-12312824 passed 2025-10-10 03:52:40,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:52:40,780 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56190284-12312824, IP 28.79.44.131, Port 22 2025-10-10 03:52:40,935 - DEBUG - VM ctest-TestBasicPolicy-56190284-12312824 is ready for SSH connections 2025-10-10 03:52:40,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:52:40,936 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.79.44.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-10 03:52:40,936 - DEBUG - ping -s 56 -c 3 -W 1 28.79.44.131 2025-10-10 03:52:44,941 - DEBUG - PING 28.79.44.131 (28.79.44.131): 56 data bytes 64 bytes from 28.79.44.131: seq=0 ttl=63 time=4.456 ms 64 bytes from 28.79.44.131: seq=1 ttl=63 time=0.836 ms 64 bytes from 28.79.44.131: seq=2 ttl=63 time=0.922 ms --- 28.79.44.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.836/2.071/4.456 ms 2025-10-10 03:52:44,942 - INFO - Ping to IP 28.79.44.131 from VM ctest-TestBasicPolicy-56190284-12484161 passed 2025-10-10 03:52:45,120 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ce0dd3f7-d272-43df-bfa3-fa4afe4a84d3", "href": "http://10.0.0.33:8082/network-policy/ce0dd3f7-d272-43df-bfa3-fa4afe4a84d3"}} 2025-10-10 03:52:45,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:52:45,120 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.79.44.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-10 03:52:45,120 - DEBUG - ping -s 56 -c 3 -W 1 28.79.44.131 2025-10-10 03:52:48,330 - DEBUG - PING 28.79.44.131 (28.79.44.131): 56 data bytes --- 28.79.44.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-10 03:52:48,331 - WARNING - Ping to IP 28.79.44.131 from VM ctest-TestBasicPolicy-56190284-12484161 failed 2025-10-10 03:52:48,331 - INFO - Deleting VM ctest-TestBasicPolicy-56190284-12312824 2025-10-10 03:52:48,405 - INFO - Deleting VM ctest-TestBasicPolicy-56190284-12484161 2025-10-10 03:52:48,756 - INFO - Deleted policy ctest-policy-allow-all-73613161 2025-10-10 03:52:48,756 - INFO - Deleting VN ctest-vn-19060454 2025-10-10 03:52:48,789 - DEBUG - VN ff97d146-81d7-401c-a26a-c0e9d3cc481b still in use: Unable to complete operation on network ff97d146-81d7-401c-a26a-c0e9d3cc481b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b522eb89-01f7-4ece-9f2a-51724abe530b'] 2025-10-10 03:52:48,789 - WARNING - Deleting VN ctest-vn-19060454 failed..Will retry 2025-10-10 03:52:50,883 - DEBUG - Response for deleting network () 2025-10-10 03:52:50,883 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/849da87c-6a27-42d4-824c-b3138ecb42e2 2025-10-10 03:52:50,891 - DEBUG - Response Code: 404 2025-10-10 03:52:50,891 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-10 03:52:50,895 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4a1ce052-c65e-46fc-8ab3-1ac107dd9180 2025-10-10 03:52:50,948 - DEBUG - Requesting: http://10.0.0.33:8082/project/b5f7915f-3fde-43ca-8925-98a6db0438e9 2025-10-10 03:52:51,015 - INFO - Validated that VN ctest-vn-19060454 is not found in API Server 2025-10-10 03:52:51,025 - DEBUG - VN ctest-vn-19060454 is not present in Agent 10.0.0.33 2025-10-10 03:52:51,025 - INFO - Validated that VN ctest-vn-19060454 is not in any agent 2025-10-10 03:52:51,037 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19060454 info 2025-10-10 03:52:51,037 - INFO - Deleting VN ctest-vn-23303157 2025-10-10 03:52:51,125 - DEBUG - Response for deleting network () 2025-10-10 03:52:51,125 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1d7b7033-3953-44eb-893b-9b8289497efa 2025-10-10 03:52:51,130 - DEBUG - Response Code: 404 2025-10-10 03:52:51,130 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-10 03:52:51,135 - DEBUG - Requesting: http://10.0.0.33:8082/domain/4a1ce052-c65e-46fc-8ab3-1ac107dd9180 2025-10-10 03:52:51,188 - DEBUG - Requesting: http://10.0.0.33:8082/project/b5f7915f-3fde-43ca-8925-98a6db0438e9 2025-10-10 03:52:51,258 - INFO - Validated that VN ctest-vn-23303157 is not found in API Server 2025-10-10 03:52:51,267 - DEBUG - VN ctest-vn-23303157 is not present in Agent 10.0.0.33 2025-10-10 03:52:51,267 - INFO - Validated that VN ctest-vn-23303157 is not in any agent 2025-10-10 03:52:51,278 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23303157 info 2025-10-10 03:52:51,532 - DEBUG - No XMPP flaps were noticed during the test 2025-10-10 03:52:51,532 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-10 03:52:51,532 - INFO - -------------------------------------------------------------------------------- 2025-10-10 03:52:52,195 - INFO - Deleted project: ctest-TestBasicPolicy-56190284, ID : b5f7915f-3fde-43ca-8925-98a6db0438e9