2025-12-19 17:08:43,326 - INFO - Domain Default found not creating 2025-12-19 17:08:43,491 - INFO - Project ctest-TestBasicPolicy-45872845 not found, creating it 2025-12-19 17:08:43,971 - INFO - Created Project:ctest-TestBasicPolicy-45872845, ID : 2581fb84-5404-4ea2-8a0f-922954890bb6 2025-12-19 17:08:46,410 - INFO - ================================================================================ 2025-12-19 17:08:46,410 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-19 17:08:46,410 - 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-12-19 17:08:46,665 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-12-19 17:08:46,665 - INFO - Initial checks done. Running the testcase now 2025-12-19 17:08:46,665 - INFO - 2025-12-19 17:08:47,378 - DEBUG - Response for create_network : {'network': {'id': '59207dc3-17cf-49c7-b180-ad102502ae2a', 'name': 'ctest-vn-67020100', 'tenant_id': '2581fb8454044ea28a0f922954890bb6', 'project_id': '2581fb8454044ea28a0f922954890bb6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45872845', 'ctest-vn-67020100'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:08:47,549 - DEBUG - Response for create_subnet : {'subnet': {'id': '7fefc507-4ac7-4254-97b7-c1c624e3f38c', 'name': '', 'tenant_id': '2581fb8454044ea28a0f922954890bb6', 'network_id': '59207dc3-17cf-49c7-b180-ad102502ae2a', 'ip_version': 4, 'cidr': '181.60.38.192/26', 'allocation_pools': [{'start': '181.60.38.194', 'end': '181.60.38.254'}], 'gateway_ip': '181.60.38.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.60.38.194', 'tags': [], 'project_id': '2581fb8454044ea28a0f922954890bb6'}} 2025-12-19 17:08:47,570 - INFO - Created VN ctest-vn-67020100 2025-12-19 17:08:47,623 - DEBUG - VN ctest-vn-67020100 UUID is 59207dc3-17cf-49c7-b180-ad102502ae2a 2025-12-19 17:08:47,952 - DEBUG - Response for create_network : {'network': {'id': '90dd962d-5283-4a6c-9360-7ba024c2051e', 'name': 'ctest-vn-46974451', 'tenant_id': '2581fb8454044ea28a0f922954890bb6', 'project_id': '2581fb8454044ea28a0f922954890bb6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45872845', 'ctest-vn-46974451'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:08:48,172 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7f5f9e2-9d3f-46e6-8957-0e6d459588db', 'name': '', 'tenant_id': '2581fb8454044ea28a0f922954890bb6', 'network_id': '90dd962d-5283-4a6c-9360-7ba024c2051e', 'ip_version': 4, 'cidr': '193.125.184.64/26', 'allocation_pools': [{'start': '193.125.184.66', 'end': '193.125.184.126'}], 'gateway_ip': '193.125.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.125.184.66', 'tags': [], 'project_id': '2581fb8454044ea28a0f922954890bb6'}} 2025-12-19 17:08:48,192 - INFO - Created VN ctest-vn-46974451 2025-12-19 17:08:48,247 - DEBUG - VN ctest-vn-46974451 UUID is 90dd962d-5283-4a6c-9360-7ba024c2051e 2025-12-19 17:08:48,371 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45872845:ctest-vn-67020100, 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-45872845:ctest-vn-46974451, 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-12-19 17:08:48,666 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '59207dc3-17cf-49c7-b180-ad102502ae2a', 'name': 'ctest-vn-67020100', 'tenant_id': '2581fb8454044ea28a0f922954890bb6', 'project_id': '2581fb8454044ea28a0f922954890bb6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7fefc507-4ac7-4254-97b7-c1c624e3f38c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45872845', 'ctest-vn-67020100'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45872845', 'ctest-policy-allow-all-77130161']], 'subnet_ipam': [{'subnet_cidr': '181.60.38.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:08:48,909 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '90dd962d-5283-4a6c-9360-7ba024c2051e', 'name': 'ctest-vn-46974451', 'tenant_id': '2581fb8454044ea28a0f922954890bb6', 'project_id': '2581fb8454044ea28a0f922954890bb6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7f5f9e2-9d3f-46e6-8957-0e6d459588db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45872845', 'ctest-vn-46974451'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45872845', 'ctest-policy-allow-all-77130161']], 'subnet_ipam': [{'subnet_cidr': '193.125.184.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:08:49,083 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-19 17:08:49,421 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-19 17:08:49,460 - DEBUG - Requesting: http://10.0.0.50:8082/domain/75491ec1-01ec-4e56-8228-e24220e66f45 2025-12-19 17:08:49,477 - DEBUG - Requesting: http://10.0.0.50:8082/project/2581fb84-5404-4ea2-8a0f-922954890bb6 2025-12-19 17:08:49,554 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/59207dc3-17cf-49c7-b180-ad102502ae2a 2025-12-19 17:08:49,566 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/59207dc3-17cf-49c7-b180-ad102502ae2a 2025-12-19 17:08:49,576 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/686cf2f3-feec-4cbe-810e-b7452efecde8 2025-12-19 17:08:49,583 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/686cf2f3-feec-4cbe-810e-b7452efecde8 2025-12-19 17:08:49,590 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fca7d121-7389-45d4-bfb6-518f7c75c079 2025-12-19 17:08:49,596 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-19 17:08:49,596 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/59207dc3-17cf-49c7-b180-ad102502ae2a 2025-12-19 17:08:49,605 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/686cf2f3-feec-4cbe-810e-b7452efecde8 2025-12-19 17:08:49,620 - INFO - Verified VN network id 12 for VN 59207dc3-17cf-49c7-b180-ad102502ae2a 2025-12-19 17:08:49,621 - INFO - Verifications in API Server for VN ctest-vn-67020100 passed 2025-12-19 17:08:49,621 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/59207dc3-17cf-49c7-b180-ad102502ae2a 2025-12-19 17:08:49,632 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/686cf2f3-feec-4cbe-810e-b7452efecde8 2025-12-19 17:08:49,640 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/686cf2f3-feec-4cbe-810e-b7452efecde8 2025-12-19 17:08:49,649 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fca7d121-7389-45d4-bfb6-518f7c75c079 2025-12-19 17:08:49,665 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45872845:ctest-vn-67020100', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45872845', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6422271345501882823', 'uuid-lslong': '12790413226584223274'}, 'enable': 'true', 'created': '2025-12-19T17:08:47', 'last-modified': '2025-12-19T17:08:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.022111'} 2025-12-19 17:08:49,673 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-19 17:08:49,674 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67020100 passed 2025-12-19 17:08:49,674 - DEBUG - ====Verifying policy data for ctest-vn-67020100 in API_Server ====== 2025-12-19 17:08:49,674 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-19 17:08:49,680 - DEBUG - Requesting: http://10.0.0.50:8082/domain/75491ec1-01ec-4e56-8228-e24220e66f45 2025-12-19 17:08:49,692 - DEBUG - Requesting: http://10.0.0.50:8082/project/2581fb84-5404-4ea2-8a0f-922954890bb6 2025-12-19 17:08:49,762 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/59207dc3-17cf-49c7-b180-ad102502ae2a 2025-12-19 17:08:49,774 - DEBUG - ==>Verifying data for policy with id: e17d5ca5-cbbc-468e-b6f0-7992cdc6bcf9, fqn: ['default-domain', 'ctest-TestBasicPolicy-45872845', 'ctest-policy-allow-all-77130161'] 2025-12-19 17:08:49,774 - INFO - VN ctest-vn-67020100 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-19 17:08:49,774 - DEBUG - Verifying the vn in opserver 2025-12-19 17:08:49,774 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45872845:ctest-vn-67020100 virtual network link through opserver 10.0.0.50 2025-12-19 17:08:49,774 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-19 17:08:50,118 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-19 17:08:50,184 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45872845:ctest-vn-67020100', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45872845:ctest-vn-67020100?flat'} 2025-12-19 17:08:50,184 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45872845:ctest-vn-67020100 is found in opserver 2025-12-19 17:08:50,197 - DEBUG - Do not have enough data to verify VN in agent 2025-12-19 17:08:50,202 - DEBUG - VRF ids for VN ctest-vn-67020100: {} 2025-12-19 17:08:50,202 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-19 17:08:50,208 - DEBUG - Requesting: http://10.0.0.50:8082/domain/75491ec1-01ec-4e56-8228-e24220e66f45 2025-12-19 17:08:50,221 - DEBUG - Requesting: http://10.0.0.50:8082/project/2581fb84-5404-4ea2-8a0f-922954890bb6 2025-12-19 17:08:50,294 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/90dd962d-5283-4a6c-9360-7ba024c2051e 2025-12-19 17:08:50,308 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/90dd962d-5283-4a6c-9360-7ba024c2051e 2025-12-19 17:08:50,320 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d1c17193-e8de-4145-81b7-797c83bf4a52 2025-12-19 17:08:50,329 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d1c17193-e8de-4145-81b7-797c83bf4a52 2025-12-19 17:08:50,337 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/10083cfc-b728-495f-8b0c-784bd6f78c33 2025-12-19 17:08:50,345 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-19 17:08:50,345 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/90dd962d-5283-4a6c-9360-7ba024c2051e 2025-12-19 17:08:50,357 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d1c17193-e8de-4145-81b7-797c83bf4a52 2025-12-19 17:08:50,374 - INFO - Verified VN network id 13 for VN 90dd962d-5283-4a6c-9360-7ba024c2051e 2025-12-19 17:08:50,374 - INFO - Verifications in API Server for VN ctest-vn-46974451 passed 2025-12-19 17:08:50,374 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/90dd962d-5283-4a6c-9360-7ba024c2051e 2025-12-19 17:08:50,386 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d1c17193-e8de-4145-81b7-797c83bf4a52 2025-12-19 17:08:50,396 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d1c17193-e8de-4145-81b7-797c83bf4a52 2025-12-19 17:08:50,405 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/10083cfc-b728-495f-8b0c-784bd6f78c33 2025-12-19 17:08:50,418 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45872845:ctest-vn-46974451', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45872845', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10438664632716708460', 'uuid-lslong': '10619623849081308446'}, 'enable': 'true', 'created': '2025-12-19T17:08:47', 'last-modified': '2025-12-19T17:08:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.528355'} 2025-12-19 17:08:50,426 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-19 17:08:50,426 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46974451 passed 2025-12-19 17:08:50,426 - DEBUG - ====Verifying policy data for ctest-vn-46974451 in API_Server ====== 2025-12-19 17:08:50,426 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-19 17:08:50,433 - DEBUG - Requesting: http://10.0.0.50:8082/domain/75491ec1-01ec-4e56-8228-e24220e66f45 2025-12-19 17:08:50,445 - DEBUG - Requesting: http://10.0.0.50:8082/project/2581fb84-5404-4ea2-8a0f-922954890bb6 2025-12-19 17:08:50,524 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/90dd962d-5283-4a6c-9360-7ba024c2051e 2025-12-19 17:08:50,536 - DEBUG - ==>Verifying data for policy with id: e17d5ca5-cbbc-468e-b6f0-7992cdc6bcf9, fqn: ['default-domain', 'ctest-TestBasicPolicy-45872845', 'ctest-policy-allow-all-77130161'] 2025-12-19 17:08:50,536 - INFO - VN ctest-vn-46974451 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-19 17:08:50,536 - DEBUG - Verifying the vn in opserver 2025-12-19 17:08:50,536 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45872845:ctest-vn-46974451 virtual network link through opserver 10.0.0.50 2025-12-19 17:08:50,536 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-12-19 17:08:50,547 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45872845:ctest-vn-46974451', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45872845:ctest-vn-46974451?flat'} 2025-12-19 17:08:50,547 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45872845:ctest-vn-46974451 is found in opserver 2025-12-19 17:08:50,559 - DEBUG - Do not have enough data to verify VN in agent 2025-12-19 17:08:50,565 - DEBUG - VRF ids for VN ctest-vn-46974451: {} 2025-12-19 17:08:50,627 - DEBUG - Services list from nova: [, , ] 2025-12-19 17:08:51,781 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4911-1) 2025-12-19 17:08:53,100 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4911-1) 2025-12-19 17:08:53,100 - INFO - Waiting for VM ctest-TestBasicPolicy-45872845-02481445 to be up.. 2025-12-19 17:08:53,204 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-19 17:08:58,283 - DEBUG - VM is in ACTIVE state now 2025-12-19 17:08:58,283 - INFO - VM name : ctest-TestBasicPolicy-45872845-02481445 2025-12-19 17:08:58,360 - DEBUG - VM ctest-TestBasicPolicy-45872845-02481445 ID is e2996161-2c0e-4334-9ed2-08268cc92828 2025-12-19 17:08:58,382 - DEBUG - VM ctest-TestBasicPolicy-45872845-02481445 launched on Node cn-jenkins-deploy-platform-ansible-os-4911-1 2025-12-19 17:08:58,457 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e2996161-2c0e-4334-9ed2-08268cc92828 2025-12-19 17:08:58,465 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2dfeb9a7-0780-4614-8d05-8c308633759d 2025-12-19 17:09:01,722 - 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 1022ms') 2025-12-19 17:09:01,722 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45872845-02481445 failed! 2025-12-19 17:09:01,779 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45872845:ctest-vn-67020100 is 181.60.38.193 and allocation pool is NOT set 2025-12-19 17:09:03,844 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.854 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.854/4.304/7.755/3.450 ms') 2025-12-19 17:09:03,844 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45872845-02481445 passed 2025-12-19 17:09:04,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:09:04,003 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45872845-02481445, IP 181.60.38.195, Port 22 2025-12-19 17:09:04,162 - DEBUG - VM ctest-TestBasicPolicy-45872845-02481445 is ready for SSH connections 2025-12-19 17:09:04,163 - INFO - Waiting for VM ctest-TestBasicPolicy-45872845-43270017 to be up.. 2025-12-19 17:09:04,247 - DEBUG - VM is in ACTIVE state now 2025-12-19 17:09:04,247 - INFO - VM name : ctest-TestBasicPolicy-45872845-43270017 2025-12-19 17:09:04,329 - DEBUG - VM ctest-TestBasicPolicy-45872845-43270017 ID is c70946a7-746c-42d2-b86b-87ca9bf0e4dc 2025-12-19 17:09:04,329 - DEBUG - VM ctest-TestBasicPolicy-45872845-43270017 launched on Node cn-jenkins-deploy-platform-ansible-os-4911-1 2025-12-19 17:09:04,408 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c70946a7-746c-42d2-b86b-87ca9bf0e4dc 2025-12-19 17:09:04,418 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/06c0702c-5b52-4d09-a7a9-b60a4dc5a7e8 2025-12-19 17:09:05,657 - 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=5.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.698 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.698/3.141/5.584/2.443 ms') 2025-12-19 17:09:05,657 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45872845-43270017 passed 2025-12-19 17:09:05,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:09:05,807 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45872845-43270017, IP 193.125.184.67, Port 22 2025-12-19 17:09:05,967 - DEBUG - VM ctest-TestBasicPolicy-45872845-43270017 is ready for SSH connections 2025-12-19 17:09:05,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:09:05,967 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.125.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-19 17:09:05,967 - DEBUG - ping -s 56 -c 3 -W 1 193.125.184.67 2025-12-19 17:09:10,132 - DEBUG - PING 193.125.184.67 (193.125.184.67): 56 data bytes 64 bytes from 193.125.184.67: seq=0 ttl=63 time=4.264 ms 64 bytes from 193.125.184.67: seq=1 ttl=63 time=0.958 ms 64 bytes from 193.125.184.67: seq=2 ttl=63 time=0.948 ms --- 193.125.184.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/2.056/4.264 ms 2025-12-19 17:09:10,132 - INFO - Ping to IP 193.125.184.67 from VM ctest-TestBasicPolicy-45872845-02481445 passed 2025-12-19 17:09:10,319 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e17d5ca5-cbbc-468e-b6f0-7992cdc6bcf9", "href": "http://10.0.0.50:8082/network-policy/e17d5ca5-cbbc-468e-b6f0-7992cdc6bcf9"}} 2025-12-19 17:09:10,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:09:10,319 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.125.184.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-19 17:09:10,319 - DEBUG - ping -s 56 -c 3 -W 1 193.125.184.67 2025-12-19 17:09:13,587 - DEBUG - PING 193.125.184.67 (193.125.184.67): 56 data bytes --- 193.125.184.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-19 17:09:13,587 - WARNING - Ping to IP 193.125.184.67 from VM ctest-TestBasicPolicy-45872845-02481445 failed 2025-12-19 17:09:13,587 - INFO - Deleting VM ctest-TestBasicPolicy-45872845-43270017 2025-12-19 17:09:13,661 - INFO - Deleting VM ctest-TestBasicPolicy-45872845-02481445 2025-12-19 17:09:14,045 - INFO - Deleted policy ctest-policy-allow-all-77130161 2025-12-19 17:09:14,046 - INFO - Deleting VN ctest-vn-46974451 2025-12-19 17:09:14,089 - DEBUG - VN 90dd962d-5283-4a6c-9360-7ba024c2051e still in use: Unable to complete operation on network 90dd962d-5283-4a6c-9360-7ba024c2051e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-81a42633-cadf-4ba5-b2e1-d8605ecf53b0'] 2025-12-19 17:09:14,089 - WARNING - Deleting VN ctest-vn-46974451 failed..Will retry 2025-12-19 17:09:16,208 - DEBUG - Response for deleting network () 2025-12-19 17:09:16,209 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d1c17193-e8de-4145-81b7-797c83bf4a52 2025-12-19 17:09:16,216 - DEBUG - Response Code: 404 2025-12-19 17:09:16,216 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-19 17:09:16,223 - DEBUG - Requesting: http://10.0.0.50:8082/domain/75491ec1-01ec-4e56-8228-e24220e66f45 2025-12-19 17:09:16,280 - DEBUG - Requesting: http://10.0.0.50:8082/project/2581fb84-5404-4ea2-8a0f-922954890bb6 2025-12-19 17:09:16,359 - INFO - Validated that VN ctest-vn-46974451 is not found in API Server 2025-12-19 17:09:16,368 - DEBUG - VN ctest-vn-46974451 is not present in Agent 10.0.0.50 2025-12-19 17:09:16,368 - INFO - Validated that VN ctest-vn-46974451 is not in any agent 2025-12-19 17:09:16,384 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46974451 info 2025-12-19 17:09:16,384 - INFO - Deleting VN ctest-vn-67020100 2025-12-19 17:09:16,497 - DEBUG - Response for deleting network () 2025-12-19 17:09:16,497 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/686cf2f3-feec-4cbe-810e-b7452efecde8 2025-12-19 17:09:16,507 - DEBUG - Response Code: 404 2025-12-19 17:09:16,507 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-12-19 17:09:16,513 - DEBUG - Requesting: http://10.0.0.50:8082/domain/75491ec1-01ec-4e56-8228-e24220e66f45 2025-12-19 17:09:16,569 - DEBUG - Requesting: http://10.0.0.50:8082/project/2581fb84-5404-4ea2-8a0f-922954890bb6 2025-12-19 17:09:16,648 - INFO - Validated that VN ctest-vn-67020100 is not found in API Server 2025-12-19 17:09:16,658 - DEBUG - VN ctest-vn-67020100 is not present in Agent 10.0.0.50 2025-12-19 17:09:16,658 - INFO - Validated that VN ctest-vn-67020100 is not in any agent 2025-12-19 17:09:16,673 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67020100 info 2025-12-19 17:09:16,933 - DEBUG - No XMPP flaps were noticed during the test 2025-12-19 17:09:16,933 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-12-19 17:09:16,933 - INFO - -------------------------------------------------------------------------------- 2025-12-19 17:09:17,663 - INFO - Deleted project: ctest-TestBasicPolicy-45872845, ID : 2581fb84-5404-4ea2-8a0f-922954890bb6