2025-04-17 11:48:51,702 - INFO - Domain Default found not creating 2025-04-17 11:48:51,988 - INFO - Project ctest-TestBasicPolicy-25434007 not found, creating it 2025-04-17 11:48:52,597 - INFO - Created Project:ctest-TestBasicPolicy-25434007, ID : 753a785f-630e-4c27-bcab-fe7adb40931a 2025-04-17 11:48:54,456 - INFO - ================================================================================ 2025-04-17 11:48:54,456 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-17 11:48:54,457 - 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-04-17 11:48:54,752 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-17 11:48:54,753 - INFO - Initial checks done. Running the testcase now 2025-04-17 11:48:54,753 - INFO - 2025-04-17 11:48:55,588 - DEBUG - Response for create_network : {'network': {'id': '61ca12d9-19aa-403f-98d3-c6011c030e48', 'name': 'ctest-vn-07732872', 'tenant_id': '753a785f630e4c27bcabfe7adb40931a', 'project_id': '753a785f630e4c27bcabfe7adb40931a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25434007', 'ctest-vn-07732872'], 'port_security_enabled': True, 'description': ''}} 2025-04-17 11:48:55,823 - DEBUG - Response for create_subnet : {'subnet': {'id': '74df4141-5ca8-4b25-b63d-edf89b293a57', 'name': '', 'tenant_id': '753a785f630e4c27bcabfe7adb40931a', 'network_id': '61ca12d9-19aa-403f-98d3-c6011c030e48', 'ip_version': 4, 'cidr': '61.174.207.128/26', 'allocation_pools': [{'start': '61.174.207.130', 'end': '61.174.207.190'}], 'gateway_ip': '61.174.207.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.174.207.130', 'tags': [], 'project_id': '753a785f630e4c27bcabfe7adb40931a'}} 2025-04-17 11:48:55,853 - INFO - Created VN ctest-vn-07732872 2025-04-17 11:48:55,913 - DEBUG - VN ctest-vn-07732872 UUID is 61ca12d9-19aa-403f-98d3-c6011c030e48 2025-04-17 11:48:56,335 - DEBUG - Response for create_network : {'network': {'id': '01b4fdf2-2f1d-4c17-a39c-69cef28efbb0', 'name': 'ctest-vn-68279823', 'tenant_id': '753a785f630e4c27bcabfe7adb40931a', 'project_id': '753a785f630e4c27bcabfe7adb40931a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25434007', 'ctest-vn-68279823'], 'port_security_enabled': True, 'description': ''}} 2025-04-17 11:48:56,524 - DEBUG - Response for create_subnet : {'subnet': {'id': '68f04668-4a1a-4207-ab7d-0b0b8ee80231', 'name': '', 'tenant_id': '753a785f630e4c27bcabfe7adb40931a', 'network_id': '01b4fdf2-2f1d-4c17-a39c-69cef28efbb0', 'ip_version': 4, 'cidr': '211.74.233.64/26', 'allocation_pools': [{'start': '211.74.233.66', 'end': '211.74.233.126'}], 'gateway_ip': '211.74.233.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.74.233.66', 'tags': [], 'project_id': '753a785f630e4c27bcabfe7adb40931a'}} 2025-04-17 11:48:56,544 - INFO - Created VN ctest-vn-68279823 2025-04-17 11:48:56,596 - DEBUG - VN ctest-vn-68279823 UUID is 01b4fdf2-2f1d-4c17-a39c-69cef28efbb0 2025-04-17 11:48:56,753 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25434007:ctest-vn-07732872, 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-25434007:ctest-vn-68279823, 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-04-17 11:48:57,145 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '61ca12d9-19aa-403f-98d3-c6011c030e48', 'name': 'ctest-vn-07732872', 'tenant_id': '753a785f630e4c27bcabfe7adb40931a', 'project_id': '753a785f630e4c27bcabfe7adb40931a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['74df4141-5ca8-4b25-b63d-edf89b293a57'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25434007', 'ctest-vn-07732872'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25434007', 'ctest-policy-allow-all-91239691']], 'subnet_ipam': [{'subnet_cidr': '61.174.207.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-17 11:48:57,540 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '01b4fdf2-2f1d-4c17-a39c-69cef28efbb0', 'name': 'ctest-vn-68279823', 'tenant_id': '753a785f630e4c27bcabfe7adb40931a', 'project_id': '753a785f630e4c27bcabfe7adb40931a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['68f04668-4a1a-4207-ab7d-0b0b8ee80231'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25434007', 'ctest-vn-68279823'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25434007', 'ctest-policy-allow-all-91239691']], 'subnet_ipam': [{'subnet_cidr': '211.74.233.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-17 11:48:57,697 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-17 11:48:58,021 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-17 11:48:58,076 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e3cff35b-ca08-401a-b5e9-8d24c9fd45a2 2025-04-17 11:48:58,096 - DEBUG - Requesting: http://10.0.0.254:8082/project/753a785f-630e-4c27-bcab-fe7adb40931a 2025-04-17 11:48:58,184 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/61ca12d9-19aa-403f-98d3-c6011c030e48 2025-04-17 11:48:58,201 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/61ca12d9-19aa-403f-98d3-c6011c030e48 2025-04-17 11:48:58,213 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb867956-ad34-4db6-b779-c9ce8132461f 2025-04-17 11:48:58,222 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb867956-ad34-4db6-b779-c9ce8132461f 2025-04-17 11:48:58,233 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/780d6b91-c253-4e24-846f-40483f04c746 2025-04-17 11:48:58,244 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-17 11:48:58,244 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/61ca12d9-19aa-403f-98d3-c6011c030e48 2025-04-17 11:48:58,257 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb867956-ad34-4db6-b779-c9ce8132461f 2025-04-17 11:48:58,275 - INFO - Verified VN network id 8 for VN 61ca12d9-19aa-403f-98d3-c6011c030e48 2025-04-17 11:48:58,275 - INFO - Verifications in API Server for VN ctest-vn-07732872 passed 2025-04-17 11:48:58,275 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/61ca12d9-19aa-403f-98d3-c6011c030e48 2025-04-17 11:48:58,293 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb867956-ad34-4db6-b779-c9ce8132461f 2025-04-17 11:48:58,306 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb867956-ad34-4db6-b779-c9ce8132461f 2025-04-17 11:48:58,315 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/780d6b91-c253-4e24-846f-40483f04c746 2025-04-17 11:48:58,332 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25434007:ctest-vn-07732872', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25434007', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7046465290622353471', 'uuid-lslong': '11012363221918223944'}, 'enable': 'true', 'created': '2025-04-17T11:48:55', 'last-modified': '2025-04-17T11:48:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.220788'} 2025-04-17 11:48:58,342 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-17 11:48:58,342 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07732872 passed 2025-04-17 11:48:58,343 - DEBUG - ====Verifying policy data for ctest-vn-07732872 in API_Server ====== 2025-04-17 11:48:58,343 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-17 11:48:58,351 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e3cff35b-ca08-401a-b5e9-8d24c9fd45a2 2025-04-17 11:48:58,370 - DEBUG - Requesting: http://10.0.0.254:8082/project/753a785f-630e-4c27-bcab-fe7adb40931a 2025-04-17 11:48:58,456 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/61ca12d9-19aa-403f-98d3-c6011c030e48 2025-04-17 11:48:58,473 - DEBUG - ==>Verifying data for policy with id: d26c8b8f-4d38-45b6-a36e-0f7d07fd23b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-25434007', 'ctest-policy-allow-all-91239691'] 2025-04-17 11:48:58,474 - INFO - VN ctest-vn-07732872 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-17 11:48:58,474 - DEBUG - Verifying the vn in opserver 2025-04-17 11:48:58,474 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25434007:ctest-vn-07732872 virtual network link through opserver 10.0.0.254 2025-04-17 11:48:58,474 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-17 11:48:58,865 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-17 11:48:58,955 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25434007:ctest-vn-07732872', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25434007:ctest-vn-07732872?flat'} 2025-04-17 11:48:58,956 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25434007:ctest-vn-07732872 is found in opserver 2025-04-17 11:48:58,976 - DEBUG - Do not have enough data to verify VN in agent 2025-04-17 11:48:58,986 - DEBUG - VRF ids for VN ctest-vn-07732872: {} 2025-04-17 11:48:58,986 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-17 11:48:59,002 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e3cff35b-ca08-401a-b5e9-8d24c9fd45a2 2025-04-17 11:48:59,075 - DEBUG - Requesting: http://10.0.0.254:8082/project/753a785f-630e-4c27-bcab-fe7adb40931a 2025-04-17 11:48:59,186 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/01b4fdf2-2f1d-4c17-a39c-69cef28efbb0 2025-04-17 11:48:59,211 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/01b4fdf2-2f1d-4c17-a39c-69cef28efbb0 2025-04-17 11:48:59,230 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/54c472e2-ad6b-4719-9d7a-edaad3bedee4 2025-04-17 11:48:59,241 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/54c472e2-ad6b-4719-9d7a-edaad3bedee4 2025-04-17 11:48:59,258 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/640e5433-76e0-467f-aacd-54c74fe95c27 2025-04-17 11:48:59,269 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-17 11:48:59,269 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/01b4fdf2-2f1d-4c17-a39c-69cef28efbb0 2025-04-17 11:48:59,286 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/54c472e2-ad6b-4719-9d7a-edaad3bedee4 2025-04-17 11:48:59,308 - INFO - Verified VN network id 9 for VN 01b4fdf2-2f1d-4c17-a39c-69cef28efbb0 2025-04-17 11:48:59,309 - INFO - Verifications in API Server for VN ctest-vn-68279823 passed 2025-04-17 11:48:59,309 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/01b4fdf2-2f1d-4c17-a39c-69cef28efbb0 2025-04-17 11:48:59,322 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/54c472e2-ad6b-4719-9d7a-edaad3bedee4 2025-04-17 11:48:59,335 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/54c472e2-ad6b-4719-9d7a-edaad3bedee4 2025-04-17 11:48:59,346 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/640e5433-76e0-467f-aacd-54c74fe95c27 2025-04-17 11:48:59,364 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25434007:ctest-vn-68279823', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25434007', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '123002306460208151', 'uuid-lslong': '11789414262102752176'}, 'enable': 'true', 'created': '2025-04-17T11:48:56', 'last-modified': '2025-04-17T11:48:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.924141'} 2025-04-17 11:48:59,373 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-17 11:48:59,374 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68279823 passed 2025-04-17 11:48:59,374 - DEBUG - ====Verifying policy data for ctest-vn-68279823 in API_Server ====== 2025-04-17 11:48:59,374 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-17 11:48:59,381 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e3cff35b-ca08-401a-b5e9-8d24c9fd45a2 2025-04-17 11:48:59,401 - DEBUG - Requesting: http://10.0.0.254:8082/project/753a785f-630e-4c27-bcab-fe7adb40931a 2025-04-17 11:48:59,498 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/01b4fdf2-2f1d-4c17-a39c-69cef28efbb0 2025-04-17 11:48:59,519 - DEBUG - ==>Verifying data for policy with id: d26c8b8f-4d38-45b6-a36e-0f7d07fd23b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-25434007', 'ctest-policy-allow-all-91239691'] 2025-04-17 11:48:59,519 - INFO - VN ctest-vn-68279823 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-17 11:48:59,520 - DEBUG - Verifying the vn in opserver 2025-04-17 11:48:59,520 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25434007:ctest-vn-68279823 virtual network link through opserver 10.0.0.254 2025-04-17 11:48:59,520 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-17 11:48:59,539 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25434007:ctest-vn-68279823', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25434007:ctest-vn-68279823?flat'} 2025-04-17 11:48:59,539 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25434007:ctest-vn-68279823 is found in opserver 2025-04-17 11:48:59,555 - DEBUG - Do not have enough data to verify VN in agent 2025-04-17 11:48:59,563 - DEBUG - VRF ids for VN ctest-vn-68279823: {} 2025-04-17 11:48:59,653 - DEBUG - Services list from nova: [, , ] 2025-04-17 11:49:00,904 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3136-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3136-1) 2025-04-17 11:49:02,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3136-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3136-1) 2025-04-17 11:49:02,326 - INFO - Waiting for VM ctest-TestBasicPolicy-25434007-11449395 to be up.. 2025-04-17 11:49:02,430 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-17 11:49:07,535 - DEBUG - VM is in ACTIVE state now 2025-04-17 11:49:07,535 - INFO - VM name : ctest-TestBasicPolicy-25434007-11449395 2025-04-17 11:49:07,642 - DEBUG - VM ctest-TestBasicPolicy-25434007-11449395 ID is f60323cd-7466-4c17-9440-d5b871224ea6 2025-04-17 11:49:07,677 - DEBUG - VM ctest-TestBasicPolicy-25434007-11449395 launched on Node cn-jenkins-deploy-platform-ansible-os-3136-1 2025-04-17 11:49:07,791 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f60323cd-7466-4c17-9440-d5b871224ea6 2025-04-17 11:49:07,802 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/427a1db4-b064-44ec-a95c-59060fed7943 2025-04-17 11:49:11,079 - 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 1009ms') 2025-04-17 11:49:11,079 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25434007-11449395 failed! 2025-04-17 11:49:11,144 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25434007:ctest-vn-07732872 is 61.174.207.129 and allocation pool is NOT set 2025-04-17 11:49:13,218 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 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.040/5.982/9.924/3.942 ms') 2025-04-17 11:49:13,218 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25434007-11449395 passed 2025-04-17 11:49:13,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 11:49:13,381 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25434007-11449395, IP 61.174.207.131, Port 22 2025-04-17 11:49:13,558 - DEBUG - VM ctest-TestBasicPolicy-25434007-11449395 is ready for SSH connections 2025-04-17 11:49:13,559 - INFO - Waiting for VM ctest-TestBasicPolicy-25434007-89857168 to be up.. 2025-04-17 11:49:13,666 - DEBUG - VM is in ACTIVE state now 2025-04-17 11:49:13,666 - INFO - VM name : ctest-TestBasicPolicy-25434007-89857168 2025-04-17 11:49:13,790 - DEBUG - VM ctest-TestBasicPolicy-25434007-89857168 ID is cee45771-ea25-416a-a1a1-552fda94f204 2025-04-17 11:49:13,790 - DEBUG - VM ctest-TestBasicPolicy-25434007-89857168 launched on Node cn-jenkins-deploy-platform-ansible-os-3136-1 2025-04-17 11:49:13,879 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cee45771-ea25-416a-a1a1-552fda94f204 2025-04-17 11:49:13,890 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/408a2419-f811-4536-9e1b-ee68070f9dae 2025-04-17 11:49:15,160 - 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=3.68 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 = 2.858/3.267/3.676/0.409 ms') 2025-04-17 11:49:15,160 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-25434007-89857168 passed 2025-04-17 11:49:15,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 11:49:15,345 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25434007-89857168, IP 211.74.233.67, Port 22 2025-04-17 11:49:15,523 - DEBUG - VM ctest-TestBasicPolicy-25434007-89857168 is ready for SSH connections 2025-04-17 11:49:15,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 11:49:15,525 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.74.233.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-17 11:49:15,525 - DEBUG - ping -s 56 -c 3 -W 1 211.74.233.67 2025-04-17 11:49:19,816 - DEBUG - PING 211.74.233.67 (211.74.233.67): 56 data bytes 64 bytes from 211.74.233.67: seq=0 ttl=63 time=5.340 ms 64 bytes from 211.74.233.67: seq=1 ttl=63 time=1.065 ms 64 bytes from 211.74.233.67: seq=2 ttl=63 time=1.495 ms --- 211.74.233.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.065/2.633/5.340 ms 2025-04-17 11:49:19,816 - INFO - Ping to IP 211.74.233.67 from VM ctest-TestBasicPolicy-25434007-11449395 passed 2025-04-17 11:49:20,040 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d26c8b8f-4d38-45b6-a36e-0f7d07fd23b6", "href": "http://10.0.0.254:8082/network-policy/d26c8b8f-4d38-45b6-a36e-0f7d07fd23b6"}} 2025-04-17 11:49:20,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-17 11:49:20,041 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.74.233.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-17 11:49:20,041 - DEBUG - ping -s 56 -c 3 -W 1 211.74.233.67 2025-04-17 11:49:23,317 - DEBUG - PING 211.74.233.67 (211.74.233.67): 56 data bytes --- 211.74.233.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-17 11:49:23,318 - WARNING - Ping to IP 211.74.233.67 from VM ctest-TestBasicPolicy-25434007-11449395 failed 2025-04-17 11:49:23,318 - INFO - Deleting VM ctest-TestBasicPolicy-25434007-89857168 2025-04-17 11:49:23,446 - INFO - Deleting VM ctest-TestBasicPolicy-25434007-11449395 2025-04-17 11:49:23,901 - INFO - Deleted policy ctest-policy-allow-all-91239691 2025-04-17 11:49:23,902 - INFO - Deleting VN ctest-vn-68279823 2025-04-17 11:49:23,943 - DEBUG - VN 01b4fdf2-2f1d-4c17-a39c-69cef28efbb0 still in use: Unable to complete operation on network 01b4fdf2-2f1d-4c17-a39c-69cef28efbb0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dbb2474e-e5aa-47de-a9e6-32ea4a9b5c65'] 2025-04-17 11:49:23,943 - WARNING - Deleting VN ctest-vn-68279823 failed..Will retry 2025-04-17 11:49:26,115 - DEBUG - Response for deleting network () 2025-04-17 11:49:26,115 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/54c472e2-ad6b-4719-9d7a-edaad3bedee4 2025-04-17 11:49:26,123 - DEBUG - Response Code: 404 2025-04-17 11:49:26,123 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-17 11:49:26,133 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e3cff35b-ca08-401a-b5e9-8d24c9fd45a2 2025-04-17 11:49:26,192 - DEBUG - Requesting: http://10.0.0.254:8082/project/753a785f-630e-4c27-bcab-fe7adb40931a 2025-04-17 11:49:26,280 - INFO - Validated that VN ctest-vn-68279823 is not found in API Server 2025-04-17 11:49:26,305 - DEBUG - VN ctest-vn-68279823 is not present in Agent 10.0.0.254 2025-04-17 11:49:26,305 - INFO - Validated that VN ctest-vn-68279823 is not in any agent 2025-04-17 11:49:26,332 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68279823 info 2025-04-17 11:49:26,333 - INFO - Deleting VN ctest-vn-07732872 2025-04-17 11:49:26,502 - DEBUG - Response for deleting network () 2025-04-17 11:49:26,502 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb867956-ad34-4db6-b779-c9ce8132461f 2025-04-17 11:49:26,514 - DEBUG - Response Code: 404 2025-04-17 11:49:26,514 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-17 11:49:26,522 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e3cff35b-ca08-401a-b5e9-8d24c9fd45a2 2025-04-17 11:49:26,579 - DEBUG - Requesting: http://10.0.0.254:8082/project/753a785f-630e-4c27-bcab-fe7adb40931a 2025-04-17 11:49:26,664 - INFO - Validated that VN ctest-vn-07732872 is not found in API Server 2025-04-17 11:49:26,681 - DEBUG - VN ctest-vn-07732872 is not present in Agent 10.0.0.254 2025-04-17 11:49:26,681 - INFO - Validated that VN ctest-vn-07732872 is not in any agent 2025-04-17 11:49:26,704 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07732872 info 2025-04-17 11:49:27,011 - DEBUG - No XMPP flaps were noticed during the test 2025-04-17 11:49:27,011 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2025-04-17 11:49:27,011 - INFO - -------------------------------------------------------------------------------- 2025-04-17 11:49:27,876 - INFO - Deleted project: ctest-TestBasicPolicy-25434007, ID : 753a785f-630e-4c27-bcab-fe7adb40931a