2025-03-27 15:29:20,213 - INFO - Domain Default found not creating 2025-03-27 15:29:20,440 - INFO - Project ctest-TestBasicPolicy-27849681 not found, creating it 2025-03-27 15:29:20,907 - INFO - Created Project:ctest-TestBasicPolicy-27849681, ID : dcfba59f-0190-4d90-b2a5-113a7b138508 2025-03-27 15:29:22,381 - INFO - ================================================================================ 2025-03-27 15:29:22,381 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-27 15:29:22,381 - 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-03-27 15:29:22,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.11': '0'}} with 2025-03-27 15:29:22,642 - INFO - Initial checks done. Running the testcase now 2025-03-27 15:29:22,642 - INFO - 2025-03-27 15:29:23,206 - DEBUG - Response for create_network : {'network': {'id': '2c1b84b4-e186-4313-a67c-0680f63e6393', 'name': 'ctest-vn-59159279', 'tenant_id': 'dcfba59f01904d90b2a5113a7b138508', 'project_id': 'dcfba59f01904d90b2a5113a7b138508', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27849681', 'ctest-vn-59159279'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 15:29:23,383 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff6ce5a7-1d65-4a05-a839-1a515604a4b3', 'name': '', 'tenant_id': 'dcfba59f01904d90b2a5113a7b138508', 'network_id': '2c1b84b4-e186-4313-a67c-0680f63e6393', 'ip_version': 4, 'cidr': '100.216.38.0/26', 'allocation_pools': [{'start': '100.216.38.2', 'end': '100.216.38.62'}], 'gateway_ip': '100.216.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.216.38.2', 'tags': [], 'project_id': 'dcfba59f01904d90b2a5113a7b138508'}} 2025-03-27 15:29:23,399 - INFO - Created VN ctest-vn-59159279 2025-03-27 15:29:23,452 - DEBUG - VN ctest-vn-59159279 UUID is 2c1b84b4-e186-4313-a67c-0680f63e6393 2025-03-27 15:29:23,745 - DEBUG - Response for create_network : {'network': {'id': '9c126a74-875b-4ca1-b674-c000cd9609dd', 'name': 'ctest-vn-81813549', 'tenant_id': 'dcfba59f01904d90b2a5113a7b138508', 'project_id': 'dcfba59f01904d90b2a5113a7b138508', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27849681', 'ctest-vn-81813549'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 15:29:23,893 - DEBUG - Response for create_subnet : {'subnet': {'id': '3cb98934-a08c-40ea-98e7-d79c6d1497b4', 'name': '', 'tenant_id': 'dcfba59f01904d90b2a5113a7b138508', 'network_id': '9c126a74-875b-4ca1-b674-c000cd9609dd', 'ip_version': 4, 'cidr': '125.38.110.128/26', 'allocation_pools': [{'start': '125.38.110.130', 'end': '125.38.110.190'}], 'gateway_ip': '125.38.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.38.110.130', 'tags': [], 'project_id': 'dcfba59f01904d90b2a5113a7b138508'}} 2025-03-27 15:29:23,909 - INFO - Created VN ctest-vn-81813549 2025-03-27 15:29:23,960 - DEBUG - VN ctest-vn-81813549 UUID is 9c126a74-875b-4ca1-b674-c000cd9609dd 2025-03-27 15:29:24,072 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27849681:ctest-vn-59159279, 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-27849681:ctest-vn-81813549, 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-03-27 15:29:24,397 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2c1b84b4-e186-4313-a67c-0680f63e6393', 'name': 'ctest-vn-59159279', 'tenant_id': 'dcfba59f01904d90b2a5113a7b138508', 'project_id': 'dcfba59f01904d90b2a5113a7b138508', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ff6ce5a7-1d65-4a05-a839-1a515604a4b3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27849681', 'ctest-vn-59159279'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27849681', 'ctest-policy-allow-all-45774139']], 'subnet_ipam': [{'subnet_cidr': '100.216.38.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-27 15:29:24,601 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9c126a74-875b-4ca1-b674-c000cd9609dd', 'name': 'ctest-vn-81813549', 'tenant_id': 'dcfba59f01904d90b2a5113a7b138508', 'project_id': 'dcfba59f01904d90b2a5113a7b138508', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3cb98934-a08c-40ea-98e7-d79c6d1497b4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27849681', 'ctest-vn-81813549'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27849681', 'ctest-policy-allow-all-45774139']], 'subnet_ipam': [{'subnet_cidr': '125.38.110.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-27 15:29:24,768 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-27 15:29:25,068 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-27 15:29:25,095 - DEBUG - Requesting: http://10.0.0.37:8082/domain/7a778c0f-a790-4959-8c02-e2281e34b5ed 2025-03-27 15:29:25,110 - DEBUG - Requesting: http://10.0.0.37:8082/project/dcfba59f-0190-4d90-b2a5-113a7b138508 2025-03-27 15:29:25,183 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/2c1b84b4-e186-4313-a67c-0680f63e6393 2025-03-27 15:29:25,195 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/2c1b84b4-e186-4313-a67c-0680f63e6393 2025-03-27 15:29:25,207 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/66eecfe9-d5d5-45c5-a2a1-761418363f0e 2025-03-27 15:29:25,216 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/66eecfe9-d5d5-45c5-a2a1-761418363f0e 2025-03-27 15:29:25,225 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/9447272a-83b6-498d-ad46-1fbb8018bbde 2025-03-27 15:29:25,233 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-27 15:29:25,233 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/2c1b84b4-e186-4313-a67c-0680f63e6393 2025-03-27 15:29:25,244 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/66eecfe9-d5d5-45c5-a2a1-761418363f0e 2025-03-27 15:29:25,261 - INFO - Verified VN network id 8 for VN 2c1b84b4-e186-4313-a67c-0680f63e6393 2025-03-27 15:29:25,262 - INFO - Verifications in API Server for VN ctest-vn-59159279 passed 2025-03-27 15:29:25,262 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/2c1b84b4-e186-4313-a67c-0680f63e6393 2025-03-27 15:29:25,273 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/66eecfe9-d5d5-45c5-a2a1-761418363f0e 2025-03-27 15:29:25,281 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/66eecfe9-d5d5-45c5-a2a1-761418363f0e 2025-03-27 15:29:25,290 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/9447272a-83b6-498d-ad46-1fbb8018bbde 2025-03-27 15:29:25,304 - DEBUG - Control-node 10.0.0.37 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27849681:ctest-vn-59159279', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27849681', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3178279874452669203', 'uuid-lslong': '11996470658365023123'}, 'enable': 'true', 'created': '2025-03-27T15:29:23', 'last-modified': '2025-03-27T15:29:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930681'} 2025-03-27 15:29:25,312 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-27 15:29:25,312 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59159279 passed 2025-03-27 15:29:25,312 - DEBUG - ====Verifying policy data for ctest-vn-59159279 in API_Server ====== 2025-03-27 15:29:25,312 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-27 15:29:25,319 - DEBUG - Requesting: http://10.0.0.37:8082/domain/7a778c0f-a790-4959-8c02-e2281e34b5ed 2025-03-27 15:29:25,331 - DEBUG - Requesting: http://10.0.0.37:8082/project/dcfba59f-0190-4d90-b2a5-113a7b138508 2025-03-27 15:29:25,409 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/2c1b84b4-e186-4313-a67c-0680f63e6393 2025-03-27 15:29:25,424 - DEBUG - ==>Verifying data for policy with id: 81fdd451-ece7-4186-8ca3-b1010aaf374b, fqn: ['default-domain', 'ctest-TestBasicPolicy-27849681', 'ctest-policy-allow-all-45774139'] 2025-03-27 15:29:25,424 - INFO - VN ctest-vn-59159279 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-27 15:29:25,424 - DEBUG - Verifying the vn in opserver 2025-03-27 15:29:25,424 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27849681:ctest-vn-59159279 virtual network link through opserver 10.0.0.37 2025-03-27 15:29:25,424 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-03-27 15:29:25,723 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-03-27 15:29:25,783 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27849681:ctest-vn-59159279', 'href': 'http://10.0.0.37:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27849681:ctest-vn-59159279?flat'} 2025-03-27 15:29:25,783 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27849681:ctest-vn-59159279 is found in opserver 2025-03-27 15:29:25,795 - DEBUG - Do not have enough data to verify VN in agent 2025-03-27 15:29:25,801 - DEBUG - VRF ids for VN ctest-vn-59159279: {} 2025-03-27 15:29:25,801 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-27 15:29:25,807 - DEBUG - Requesting: http://10.0.0.37:8082/domain/7a778c0f-a790-4959-8c02-e2281e34b5ed 2025-03-27 15:29:25,819 - DEBUG - Requesting: http://10.0.0.37:8082/project/dcfba59f-0190-4d90-b2a5-113a7b138508 2025-03-27 15:29:25,895 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/9c126a74-875b-4ca1-b674-c000cd9609dd 2025-03-27 15:29:25,908 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/9c126a74-875b-4ca1-b674-c000cd9609dd 2025-03-27 15:29:25,918 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/19a9fb7c-449d-44d1-aa03-a4cbf8c5a089 2025-03-27 15:29:25,926 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/19a9fb7c-449d-44d1-aa03-a4cbf8c5a089 2025-03-27 15:29:25,934 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/a2d9b072-454a-485e-ace0-649153564540 2025-03-27 15:29:25,942 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-27 15:29:25,942 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/9c126a74-875b-4ca1-b674-c000cd9609dd 2025-03-27 15:29:25,953 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/19a9fb7c-449d-44d1-aa03-a4cbf8c5a089 2025-03-27 15:29:25,970 - INFO - Verified VN network id 9 for VN 9c126a74-875b-4ca1-b674-c000cd9609dd 2025-03-27 15:29:25,970 - INFO - Verifications in API Server for VN ctest-vn-81813549 passed 2025-03-27 15:29:25,970 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/9c126a74-875b-4ca1-b674-c000cd9609dd 2025-03-27 15:29:25,980 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/19a9fb7c-449d-44d1-aa03-a4cbf8c5a089 2025-03-27 15:29:25,989 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/19a9fb7c-449d-44d1-aa03-a4cbf8c5a089 2025-03-27 15:29:25,999 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/a2d9b072-454a-485e-ace0-649153564540 2025-03-27 15:29:26,012 - DEBUG - Control-node 10.0.0.37 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27849681:ctest-vn-81813549', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27849681', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11246168268217207969', 'uuid-lslong': '13147344321883015645'}, 'enable': 'true', 'created': '2025-03-27T15:29:23', 'last-modified': '2025-03-27T15:29:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.442527'} 2025-03-27 15:29:26,019 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-27 15:29:26,019 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81813549 passed 2025-03-27 15:29:26,019 - DEBUG - ====Verifying policy data for ctest-vn-81813549 in API_Server ====== 2025-03-27 15:29:26,020 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-27 15:29:26,026 - DEBUG - Requesting: http://10.0.0.37:8082/domain/7a778c0f-a790-4959-8c02-e2281e34b5ed 2025-03-27 15:29:26,041 - DEBUG - Requesting: http://10.0.0.37:8082/project/dcfba59f-0190-4d90-b2a5-113a7b138508 2025-03-27 15:29:26,123 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/9c126a74-875b-4ca1-b674-c000cd9609dd 2025-03-27 15:29:26,134 - DEBUG - ==>Verifying data for policy with id: 81fdd451-ece7-4186-8ca3-b1010aaf374b, fqn: ['default-domain', 'ctest-TestBasicPolicy-27849681', 'ctest-policy-allow-all-45774139'] 2025-03-27 15:29:26,134 - INFO - VN ctest-vn-81813549 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-27 15:29:26,134 - DEBUG - Verifying the vn in opserver 2025-03-27 15:29:26,134 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27849681:ctest-vn-81813549 virtual network link through opserver 10.0.0.37 2025-03-27 15:29:26,134 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-03-27 15:29:26,147 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27849681:ctest-vn-81813549', 'href': 'http://10.0.0.37:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27849681:ctest-vn-81813549?flat'} 2025-03-27 15:29:26,147 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27849681:ctest-vn-81813549 is found in opserver 2025-03-27 15:29:26,158 - DEBUG - Do not have enough data to verify VN in agent 2025-03-27 15:29:26,165 - DEBUG - VRF ids for VN ctest-vn-81813549: {} 2025-03-27 15:29:26,222 - DEBUG - Services list from nova: [, , ] 2025-03-27 15:29:27,379 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2975-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2975-1) 2025-03-27 15:29:28,579 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2975-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2975-1) 2025-03-27 15:29:28,579 - INFO - Waiting for VM ctest-TestBasicPolicy-27849681-15023530 to be up.. 2025-03-27 15:29:28,675 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 15:29:33,782 - DEBUG - VM is in ACTIVE state now 2025-03-27 15:29:33,782 - INFO - VM name : ctest-TestBasicPolicy-27849681-15023530 2025-03-27 15:29:33,877 - DEBUG - VM ctest-TestBasicPolicy-27849681-15023530 ID is 40125f24-9f66-4cb4-9421-7ea254295f01 2025-03-27 15:29:33,901 - DEBUG - VM ctest-TestBasicPolicy-27849681-15023530 launched on Node cn-jenkins-deploy-platform-ansible-os-2975-1 2025-03-27 15:29:33,983 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/40125f24-9f66-4cb4-9421-7ea254295f01 2025-03-27 15:29:33,995 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/2ac14e2a-5545-47dd-b019-a13d6ebc41c7 2025-03-27 15:29:37,277 - 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 1010ms') 2025-03-27 15:29:37,277 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27849681-15023530 failed! 2025-03-27 15:29:37,340 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-27849681:ctest-vn-59159279 is 100.216.38.1 and allocation pool is NOT set 2025-03-27 15:29:39,403 - 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=7.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.807 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.807/4.042/7.277/3.235 ms') 2025-03-27 15:29:39,404 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27849681-15023530 passed 2025-03-27 15:29:39,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 15:29:39,556 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27849681-15023530, IP 100.216.38.3, Port 22 2025-03-27 15:29:39,729 - DEBUG - VM ctest-TestBasicPolicy-27849681-15023530 is ready for SSH connections 2025-03-27 15:29:39,729 - INFO - Waiting for VM ctest-TestBasicPolicy-27849681-87354790 to be up.. 2025-03-27 15:29:39,818 - DEBUG - VM is in ACTIVE state now 2025-03-27 15:29:39,819 - INFO - VM name : ctest-TestBasicPolicy-27849681-87354790 2025-03-27 15:29:39,899 - DEBUG - VM ctest-TestBasicPolicy-27849681-87354790 ID is 53e483e2-c7b6-4e90-849f-09a460334aeb 2025-03-27 15:29:39,899 - DEBUG - VM ctest-TestBasicPolicy-27849681-87354790 launched on Node cn-jenkins-deploy-platform-ansible-os-2975-1 2025-03-27 15:29:39,979 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/53e483e2-c7b6-4e90-849f-09a460334aeb 2025-03-27 15:29:39,987 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/a2633c91-fc34-4846-9220-8eb688b5fe76 2025-03-27 15:29:41,228 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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.437/1.664/2.892/1.227 ms') 2025-03-27 15:29:41,228 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-27849681-87354790 passed 2025-03-27 15:29:41,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 15:29:41,376 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27849681-87354790, IP 125.38.110.131, Port 22 2025-03-27 15:29:41,540 - DEBUG - VM ctest-TestBasicPolicy-27849681-87354790 is ready for SSH connections 2025-03-27 15:29:41,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 15:29:41,540 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.38.110.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-03-27 15:29:41,540 - DEBUG - ping -s 56 -c 3 -W 1 125.38.110.131 2025-03-27 15:29:45,219 - DEBUG - PING 125.38.110.131 (125.38.110.131): 56 data bytes 64 bytes from 125.38.110.131: seq=0 ttl=63 time=3.350 ms 64 bytes from 125.38.110.131: seq=1 ttl=63 time=0.853 ms 64 bytes from 125.38.110.131: seq=2 ttl=63 time=1.094 ms --- 125.38.110.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.853/1.765/3.350 ms 2025-03-27 15:29:45,219 - INFO - Ping to IP 125.38.110.131 from VM ctest-TestBasicPolicy-27849681-15023530 passed 2025-03-27 15:29:45,404 - DEBUG - Policy Update Response {"network-policy": {"uuid": "81fdd451-ece7-4186-8ca3-b1010aaf374b", "href": "http://10.0.0.37:8082/network-policy/81fdd451-ece7-4186-8ca3-b1010aaf374b"}} 2025-03-27 15:29:45,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 15:29:45,404 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.38.110.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-03-27 15:29:45,404 - DEBUG - ping -s 56 -c 3 -W 1 125.38.110.131 2025-03-27 15:29:48,608 - DEBUG - PING 125.38.110.131 (125.38.110.131): 56 data bytes --- 125.38.110.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-03-27 15:29:48,609 - WARNING - Ping to IP 125.38.110.131 from VM ctest-TestBasicPolicy-27849681-15023530 failed 2025-03-27 15:29:48,609 - INFO - Deleting VM ctest-TestBasicPolicy-27849681-87354790 2025-03-27 15:29:48,671 - INFO - Deleting VM ctest-TestBasicPolicy-27849681-15023530 2025-03-27 15:29:49,064 - INFO - Deleted policy ctest-policy-allow-all-45774139 2025-03-27 15:29:49,065 - INFO - Deleting VN ctest-vn-81813549 2025-03-27 15:29:49,104 - DEBUG - VN 9c126a74-875b-4ca1-b674-c000cd9609dd still in use: Unable to complete operation on network 9c126a74-875b-4ca1-b674-c000cd9609dd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-76ebe7d2-bd13-4429-b931-7fb0e6b02ca4'] 2025-03-27 15:29:49,104 - WARNING - Deleting VN ctest-vn-81813549 failed..Will retry 2025-03-27 15:29:51,210 - DEBUG - Response for deleting network () 2025-03-27 15:29:51,211 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/19a9fb7c-449d-44d1-aa03-a4cbf8c5a089 2025-03-27 15:29:51,219 - DEBUG - Response Code: 404 2025-03-27 15:29:51,219 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-27 15:29:51,225 - DEBUG - Requesting: http://10.0.0.37:8082/domain/7a778c0f-a790-4959-8c02-e2281e34b5ed 2025-03-27 15:29:51,281 - DEBUG - Requesting: http://10.0.0.37:8082/project/dcfba59f-0190-4d90-b2a5-113a7b138508 2025-03-27 15:29:51,354 - INFO - Validated that VN ctest-vn-81813549 is not found in API Server 2025-03-27 15:29:51,368 - DEBUG - VN ctest-vn-81813549 is not present in Agent 10.0.0.37 2025-03-27 15:29:51,368 - INFO - Validated that VN ctest-vn-81813549 is not in any agent 2025-03-27 15:29:51,385 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81813549 info 2025-03-27 15:29:51,385 - INFO - Deleting VN ctest-vn-59159279 2025-03-27 15:29:51,504 - DEBUG - Response for deleting network () 2025-03-27 15:29:51,504 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/66eecfe9-d5d5-45c5-a2a1-761418363f0e 2025-03-27 15:29:51,511 - DEBUG - Response Code: 404 2025-03-27 15:29:51,512 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-27 15:29:51,521 - DEBUG - Requesting: http://10.0.0.37:8082/domain/7a778c0f-a790-4959-8c02-e2281e34b5ed 2025-03-27 15:29:51,581 - DEBUG - Requesting: http://10.0.0.37:8082/project/dcfba59f-0190-4d90-b2a5-113a7b138508 2025-03-27 15:29:51,658 - INFO - Validated that VN ctest-vn-59159279 is not found in API Server 2025-03-27 15:29:51,671 - DEBUG - VN ctest-vn-59159279 is not present in Agent 10.0.0.37 2025-03-27 15:29:51,671 - INFO - Validated that VN ctest-vn-59159279 is not in any agent 2025-03-27 15:29:51,688 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59159279 info 2025-03-27 15:29:51,943 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 15:29:51,943 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-03-27 15:29:51,944 - INFO - -------------------------------------------------------------------------------- 2025-03-27 15:29:52,623 - INFO - Deleted project: ctest-TestBasicPolicy-27849681, ID : dcfba59f-0190-4d90-b2a5-113a7b138508