2025-08-13 17:03:15,711 - INFO - Domain Default found not creating 2025-08-13 17:03:15,834 - INFO - Project ctest-TestBasicPolicy-47936457 not found, creating it 2025-08-13 17:03:16,258 - INFO - Created Project:ctest-TestBasicPolicy-47936457, ID : 8dfc31fc-54f5-402e-982f-95732f31f11a 2025-08-13 17:03:17,858 - INFO - ================================================================================ 2025-08-13 17:03:17,858 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-13 17:03:17,859 - 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-13 17:03:18,124 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-13 17:03:18,124 - INFO - Initial checks done. Running the testcase now 2025-08-13 17:03:18,124 - INFO - 2025-08-13 17:03:18,631 - DEBUG - Response for create_network : {'network': {'id': '642844c1-9ab2-40fe-8680-1fdfee264634', 'name': 'ctest-vn-50657536', 'tenant_id': '8dfc31fc54f5402e982f95732f31f11a', 'project_id': '8dfc31fc54f5402e982f95732f31f11a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47936457', 'ctest-vn-50657536'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 17:03:18,795 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd288ede1-b695-4f15-a2a9-7cb301b60fd7', 'name': '', 'tenant_id': '8dfc31fc54f5402e982f95732f31f11a', 'network_id': '642844c1-9ab2-40fe-8680-1fdfee264634', 'ip_version': 4, 'cidr': '32.76.138.0/26', 'allocation_pools': [{'start': '32.76.138.2', 'end': '32.76.138.62'}], 'gateway_ip': '32.76.138.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.76.138.2', 'tags': [], 'project_id': '8dfc31fc54f5402e982f95732f31f11a'}} 2025-08-13 17:03:18,814 - INFO - Created VN ctest-vn-50657536 2025-08-13 17:03:18,868 - DEBUG - VN ctest-vn-50657536 UUID is 642844c1-9ab2-40fe-8680-1fdfee264634 2025-08-13 17:03:19,154 - DEBUG - Response for create_network : {'network': {'id': 'd109e5d1-db45-4630-ab85-4bad893caf61', 'name': 'ctest-vn-04674674', 'tenant_id': '8dfc31fc54f5402e982f95732f31f11a', 'project_id': '8dfc31fc54f5402e982f95732f31f11a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47936457', 'ctest-vn-04674674'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 17:03:19,391 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3637783-e432-4846-86c9-82db171863b0', 'name': '', 'tenant_id': '8dfc31fc54f5402e982f95732f31f11a', 'network_id': 'd109e5d1-db45-4630-ab85-4bad893caf61', 'ip_version': 4, 'cidr': '119.210.11.192/26', 'allocation_pools': [{'start': '119.210.11.194', 'end': '119.210.11.254'}], 'gateway_ip': '119.210.11.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.210.11.194', 'tags': [], 'project_id': '8dfc31fc54f5402e982f95732f31f11a'}} 2025-08-13 17:03:19,409 - INFO - Created VN ctest-vn-04674674 2025-08-13 17:03:19,464 - DEBUG - VN ctest-vn-04674674 UUID is d109e5d1-db45-4630-ab85-4bad893caf61 2025-08-13 17:03:19,611 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47936457:ctest-vn-50657536, 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-47936457:ctest-vn-04674674, 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-13 17:03:19,946 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '642844c1-9ab2-40fe-8680-1fdfee264634', 'name': 'ctest-vn-50657536', 'tenant_id': '8dfc31fc54f5402e982f95732f31f11a', 'project_id': '8dfc31fc54f5402e982f95732f31f11a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d288ede1-b695-4f15-a2a9-7cb301b60fd7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47936457', 'ctest-vn-50657536'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47936457', 'ctest-policy-allow-all-19969000']], 'subnet_ipam': [{'subnet_cidr': '32.76.138.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-13 17:03:20,187 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd109e5d1-db45-4630-ab85-4bad893caf61', 'name': 'ctest-vn-04674674', 'tenant_id': '8dfc31fc54f5402e982f95732f31f11a', 'project_id': '8dfc31fc54f5402e982f95732f31f11a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b3637783-e432-4846-86c9-82db171863b0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47936457', 'ctest-vn-04674674'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47936457', 'ctest-policy-allow-all-19969000']], 'subnet_ipam': [{'subnet_cidr': '119.210.11.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-13 17:03:20,336 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-13 17:03:20,630 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-13 17:03:20,661 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7924a9f0-fc1e-4053-b166-d1cb1c326ffd 2025-08-13 17:03:20,673 - DEBUG - Requesting: http://10.0.0.254:8082/project/8dfc31fc-54f5-402e-982f-95732f31f11a 2025-08-13 17:03:20,747 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/642844c1-9ab2-40fe-8680-1fdfee264634 2025-08-13 17:03:20,760 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/642844c1-9ab2-40fe-8680-1fdfee264634 2025-08-13 17:03:20,768 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/148b0cc1-50f9-46f3-b228-42191be55897 2025-08-13 17:03:20,775 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/148b0cc1-50f9-46f3-b228-42191be55897 2025-08-13 17:03:20,782 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/889fc189-2242-4e09-a51d-fb4060c482a5 2025-08-13 17:03:20,788 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-13 17:03:20,788 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/642844c1-9ab2-40fe-8680-1fdfee264634 2025-08-13 17:03:20,797 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/148b0cc1-50f9-46f3-b228-42191be55897 2025-08-13 17:03:20,810 - INFO - Verified VN network id 11 for VN 642844c1-9ab2-40fe-8680-1fdfee264634 2025-08-13 17:03:20,810 - INFO - Verifications in API Server for VN ctest-vn-50657536 passed 2025-08-13 17:03:20,810 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/642844c1-9ab2-40fe-8680-1fdfee264634 2025-08-13 17:03:20,821 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/148b0cc1-50f9-46f3-b228-42191be55897 2025-08-13 17:03:20,828 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/148b0cc1-50f9-46f3-b228-42191be55897 2025-08-13 17:03:20,835 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/889fc189-2242-4e09-a51d-fb4060c482a5 2025-08-13 17:03:20,846 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47936457:ctest-vn-50657536', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47936457', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7217094001175970046', 'uuid-lslong': '9691781444734961204'}, 'enable': 'true', 'created': '2025-08-13T17:03:18', 'last-modified': '2025-08-13T17:03:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947620'} 2025-08-13 17:03:20,851 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-13 17:03:20,851 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50657536 passed 2025-08-13 17:03:20,851 - DEBUG - ====Verifying policy data for ctest-vn-50657536 in API_Server ====== 2025-08-13 17:03:20,851 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-13 17:03:20,859 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7924a9f0-fc1e-4053-b166-d1cb1c326ffd 2025-08-13 17:03:20,871 - DEBUG - Requesting: http://10.0.0.254:8082/project/8dfc31fc-54f5-402e-982f-95732f31f11a 2025-08-13 17:03:20,952 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/642844c1-9ab2-40fe-8680-1fdfee264634 2025-08-13 17:03:20,962 - DEBUG - ==>Verifying data for policy with id: e1dbd551-c624-445e-9056-13e66b7cb7e4, fqn: ['default-domain', 'ctest-TestBasicPolicy-47936457', 'ctest-policy-allow-all-19969000'] 2025-08-13 17:03:20,962 - INFO - VN ctest-vn-50657536 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-13 17:03:20,962 - DEBUG - Verifying the vn in opserver 2025-08-13 17:03:20,962 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47936457:ctest-vn-50657536 virtual network link through opserver 10.0.0.254 2025-08-13 17:03:20,962 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-13 17:03:21,254 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-13 17:03:21,303 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47936457:ctest-vn-50657536', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47936457:ctest-vn-50657536?flat'} 2025-08-13 17:03:21,303 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47936457:ctest-vn-50657536 is found in opserver 2025-08-13 17:03:21,315 - DEBUG - Do not have enough data to verify VN in agent 2025-08-13 17:03:21,322 - DEBUG - VRF ids for VN ctest-vn-50657536: {} 2025-08-13 17:03:21,322 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-13 17:03:21,327 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7924a9f0-fc1e-4053-b166-d1cb1c326ffd 2025-08-13 17:03:21,337 - DEBUG - Requesting: http://10.0.0.254:8082/project/8dfc31fc-54f5-402e-982f-95732f31f11a 2025-08-13 17:03:21,410 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d109e5d1-db45-4630-ab85-4bad893caf61 2025-08-13 17:03:21,425 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d109e5d1-db45-4630-ab85-4bad893caf61 2025-08-13 17:03:21,436 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2df4379c-25b4-4643-9202-0b68ef234d45 2025-08-13 17:03:21,443 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2df4379c-25b4-4643-9202-0b68ef234d45 2025-08-13 17:03:21,450 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e6c982da-ed93-4296-af59-f251932c3684 2025-08-13 17:03:21,457 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-13 17:03:21,457 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d109e5d1-db45-4630-ab85-4bad893caf61 2025-08-13 17:03:21,468 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2df4379c-25b4-4643-9202-0b68ef234d45 2025-08-13 17:03:21,483 - INFO - Verified VN network id 12 for VN d109e5d1-db45-4630-ab85-4bad893caf61 2025-08-13 17:03:21,483 - INFO - Verifications in API Server for VN ctest-vn-04674674 passed 2025-08-13 17:03:21,483 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d109e5d1-db45-4630-ab85-4bad893caf61 2025-08-13 17:03:21,494 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2df4379c-25b4-4643-9202-0b68ef234d45 2025-08-13 17:03:21,501 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2df4379c-25b4-4643-9202-0b68ef234d45 2025-08-13 17:03:21,508 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e6c982da-ed93-4296-af59-f251932c3684 2025-08-13 17:03:21,520 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47936457:ctest-vn-04674674', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47936457', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15062823118207010352', 'uuid-lslong': '12359367961092075361'}, 'enable': 'true', 'created': '2025-08-13T17:03:19', 'last-modified': '2025-08-13T17:03:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.356221'} 2025-08-13 17:03:21,526 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-13 17:03:21,526 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04674674 passed 2025-08-13 17:03:21,526 - DEBUG - ====Verifying policy data for ctest-vn-04674674 in API_Server ====== 2025-08-13 17:03:21,526 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-13 17:03:21,532 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7924a9f0-fc1e-4053-b166-d1cb1c326ffd 2025-08-13 17:03:21,546 - DEBUG - Requesting: http://10.0.0.254:8082/project/8dfc31fc-54f5-402e-982f-95732f31f11a 2025-08-13 17:03:21,625 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d109e5d1-db45-4630-ab85-4bad893caf61 2025-08-13 17:03:21,638 - DEBUG - ==>Verifying data for policy with id: e1dbd551-c624-445e-9056-13e66b7cb7e4, fqn: ['default-domain', 'ctest-TestBasicPolicy-47936457', 'ctest-policy-allow-all-19969000'] 2025-08-13 17:03:21,638 - INFO - VN ctest-vn-04674674 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-13 17:03:21,639 - DEBUG - Verifying the vn in opserver 2025-08-13 17:03:21,639 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47936457:ctest-vn-04674674 virtual network link through opserver 10.0.0.254 2025-08-13 17:03:21,639 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-13 17:03:21,648 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47936457:ctest-vn-04674674', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47936457:ctest-vn-04674674?flat'} 2025-08-13 17:03:21,648 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47936457:ctest-vn-04674674 is found in opserver 2025-08-13 17:03:21,657 - DEBUG - Do not have enough data to verify VN in agent 2025-08-13 17:03:21,663 - DEBUG - VRF ids for VN ctest-vn-04674674: {} 2025-08-13 17:03:21,719 - DEBUG - Services list from nova: [, , ] 2025-08-13 17:03:22,674 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3844-1) 2025-08-13 17:03:23,841 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3844-1) 2025-08-13 17:03:23,841 - INFO - Waiting for VM ctest-TestBasicPolicy-47936457-76081894 to be up.. 2025-08-13 17:03:23,937 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 17:03:29,022 - DEBUG - VM is in ACTIVE state now 2025-08-13 17:03:29,022 - INFO - VM name : ctest-TestBasicPolicy-47936457-76081894 2025-08-13 17:03:29,099 - DEBUG - VM ctest-TestBasicPolicy-47936457-76081894 ID is d9ee653a-ee3e-4c4c-899c-ddff922835f7 2025-08-13 17:03:29,116 - DEBUG - VM ctest-TestBasicPolicy-47936457-76081894 launched on Node cn-jenkins-deploy-platform-ansible-os-3844-1 2025-08-13 17:03:29,200 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d9ee653a-ee3e-4c4c-899c-ddff922835f7 2025-08-13 17:03:29,217 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d542a474-c776-45cd-b59b-468a3ad42fa8 2025-08-13 17:03:32,506 - 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-13 17:03:32,506 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47936457-76081894 failed! 2025-08-13 17:03:32,564 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47936457:ctest-vn-50657536 is 32.76.138.1 and allocation pool is NOT set 2025-08-13 17:03:34,627 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.975 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.975/2.301/3.628/1.326 ms') 2025-08-13 17:03:34,627 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47936457-76081894 passed 2025-08-13 17:03:34,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 17:03:34,792 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47936457-76081894, IP 32.76.138.3, Port 22 2025-08-13 17:03:34,951 - DEBUG - VM ctest-TestBasicPolicy-47936457-76081894 is ready for SSH connections 2025-08-13 17:03:34,951 - INFO - Waiting for VM ctest-TestBasicPolicy-47936457-43245985 to be up.. 2025-08-13 17:03:35,026 - DEBUG - VM is in ACTIVE state now 2025-08-13 17:03:35,026 - INFO - VM name : ctest-TestBasicPolicy-47936457-43245985 2025-08-13 17:03:35,097 - DEBUG - VM ctest-TestBasicPolicy-47936457-43245985 ID is 2e3cfae5-c694-4c6d-9ef2-5fc76412e921 2025-08-13 17:03:35,097 - DEBUG - VM ctest-TestBasicPolicy-47936457-43245985 launched on Node cn-jenkins-deploy-platform-ansible-os-3844-1 2025-08-13 17:03:35,188 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2e3cfae5-c694-4c6d-9ef2-5fc76412e921 2025-08-13 17:03:35,196 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/154fc3a3-646f-4509-ab66-f167cb449b47 2025-08-13 17:03:36,430 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.933 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.933/1.708/2.483/0.775 ms') 2025-08-13 17:03:36,430 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-47936457-43245985 passed 2025-08-13 17:03:36,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 17:03:36,620 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47936457-43245985, IP 119.210.11.195, Port 22 2025-08-13 17:03:36,775 - DEBUG - VM ctest-TestBasicPolicy-47936457-43245985 is ready for SSH connections 2025-08-13 17:03:36,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 17:03:36,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.210.11.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-13 17:03:36,775 - DEBUG - ping -s 56 -c 3 -W 1 119.210.11.195 2025-08-13 17:03:40,703 - DEBUG - PING 119.210.11.195 (119.210.11.195): 56 data bytes 64 bytes from 119.210.11.195: seq=0 ttl=63 time=3.399 ms 64 bytes from 119.210.11.195: seq=1 ttl=63 time=0.698 ms 64 bytes from 119.210.11.195: seq=2 ttl=63 time=0.691 ms --- 119.210.11.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.691/1.596/3.399 ms 2025-08-13 17:03:40,703 - INFO - Ping to IP 119.210.11.195 from VM ctest-TestBasicPolicy-47936457-76081894 passed 2025-08-13 17:03:40,883 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e1dbd551-c624-445e-9056-13e66b7cb7e4", "href": "http://10.0.0.254:8082/network-policy/e1dbd551-c624-445e-9056-13e66b7cb7e4"}} 2025-08-13 17:03:40,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 17:03:40,884 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.210.11.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-13 17:03:40,884 - DEBUG - ping -s 56 -c 3 -W 1 119.210.11.195 2025-08-13 17:03:44,082 - DEBUG - PING 119.210.11.195 (119.210.11.195): 56 data bytes --- 119.210.11.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-13 17:03:44,082 - WARNING - Ping to IP 119.210.11.195 from VM ctest-TestBasicPolicy-47936457-76081894 failed 2025-08-13 17:03:44,082 - INFO - Deleting VM ctest-TestBasicPolicy-47936457-43245985 2025-08-13 17:03:44,150 - INFO - Deleting VM ctest-TestBasicPolicy-47936457-76081894 2025-08-13 17:03:44,524 - INFO - Deleted policy ctest-policy-allow-all-19969000 2025-08-13 17:03:44,524 - INFO - Deleting VN ctest-vn-04674674 2025-08-13 17:03:44,556 - DEBUG - VN d109e5d1-db45-4630-ab85-4bad893caf61 still in use: Unable to complete operation on network d109e5d1-db45-4630-ab85-4bad893caf61. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6ae7d21e-2263-4c7e-a1d9-ce89ef15a024'] 2025-08-13 17:03:44,557 - WARNING - Deleting VN ctest-vn-04674674 failed..Will retry 2025-08-13 17:03:46,663 - DEBUG - Response for deleting network () 2025-08-13 17:03:46,664 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/2df4379c-25b4-4643-9202-0b68ef234d45 2025-08-13 17:03:46,669 - DEBUG - Response Code: 404 2025-08-13 17:03:46,670 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-13 17:03:46,678 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7924a9f0-fc1e-4053-b166-d1cb1c326ffd 2025-08-13 17:03:46,733 - DEBUG - Requesting: http://10.0.0.254:8082/project/8dfc31fc-54f5-402e-982f-95732f31f11a 2025-08-13 17:03:46,808 - INFO - Validated that VN ctest-vn-04674674 is not found in API Server 2025-08-13 17:03:46,819 - DEBUG - VN ctest-vn-04674674 is not present in Agent 10.0.0.254 2025-08-13 17:03:46,819 - INFO - Validated that VN ctest-vn-04674674 is not in any agent 2025-08-13 17:03:46,832 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04674674 info 2025-08-13 17:03:46,832 - INFO - Deleting VN ctest-vn-50657536 2025-08-13 17:03:46,965 - DEBUG - Response for deleting network () 2025-08-13 17:03:46,966 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/148b0cc1-50f9-46f3-b228-42191be55897 2025-08-13 17:03:46,978 - DEBUG - Response Code: 404 2025-08-13 17:03:46,978 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-13 17:03:46,984 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7924a9f0-fc1e-4053-b166-d1cb1c326ffd 2025-08-13 17:03:47,037 - DEBUG - Requesting: http://10.0.0.254:8082/project/8dfc31fc-54f5-402e-982f-95732f31f11a 2025-08-13 17:03:47,108 - INFO - Validated that VN ctest-vn-50657536 is not found in API Server 2025-08-13 17:03:47,118 - DEBUG - VN ctest-vn-50657536 is not present in Agent 10.0.0.254 2025-08-13 17:03:47,118 - INFO - Validated that VN ctest-vn-50657536 is not in any agent 2025-08-13 17:03:47,131 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50657536 info 2025-08-13 17:03:47,388 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 17:03:47,388 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-13 17:03:47,388 - INFO - -------------------------------------------------------------------------------- 2025-08-13 17:03:48,060 - INFO - Deleted project: ctest-TestBasicPolicy-47936457, ID : 8dfc31fc-54f5-402e-982f-95732f31f11a