2025-11-15 20:29:50,976 - INFO - Domain Default found not creating 2025-11-15 20:29:51,133 - INFO - Project ctest-TestBasicPolicy-95549358 not found, creating it 2025-11-15 20:29:51,571 - INFO - Created Project:ctest-TestBasicPolicy-95549358, ID : c7067d3b-5e81-45b0-9add-42fcae0068d6 2025-11-15 20:29:52,974 - INFO - ================================================================================ 2025-11-15 20:29:52,975 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-15 20:29:52,975 - 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-11-15 20:29:53,230 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-15 20:29:53,230 - INFO - Initial checks done. Running the testcase now 2025-11-15 20:29:53,231 - INFO - 2025-11-15 20:29:53,757 - DEBUG - Response for create_network : {'network': {'id': 'c933e741-d67c-433b-a8b1-1873953c5893', 'name': 'ctest-vn-01794178', 'tenant_id': 'c7067d3b5e8145b09add42fcae0068d6', 'project_id': 'c7067d3b5e8145b09add42fcae0068d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95549358', 'ctest-vn-01794178'], 'port_security_enabled': True, 'description': ''}} 2025-11-15 20:29:53,911 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e01db15a-c054-4dff-9db1-185f77730792', 'name': '', 'tenant_id': 'c7067d3b5e8145b09add42fcae0068d6', 'network_id': 'c933e741-d67c-433b-a8b1-1873953c5893', 'ip_version': 4, 'cidr': '77.65.28.0/26', 'allocation_pools': [{'start': '77.65.28.2', 'end': '77.65.28.62'}], 'gateway_ip': '77.65.28.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.65.28.2', 'tags': [], 'project_id': 'c7067d3b5e8145b09add42fcae0068d6'}} 2025-11-15 20:29:53,927 - INFO - Created VN ctest-vn-01794178 2025-11-15 20:29:53,977 - DEBUG - VN ctest-vn-01794178 UUID is c933e741-d67c-433b-a8b1-1873953c5893 2025-11-15 20:29:54,290 - DEBUG - Response for create_network : {'network': {'id': '2f4ea50c-f366-45af-be5e-2a8b57fba3f5', 'name': 'ctest-vn-45688707', 'tenant_id': 'c7067d3b5e8145b09add42fcae0068d6', 'project_id': 'c7067d3b5e8145b09add42fcae0068d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95549358', 'ctest-vn-45688707'], 'port_security_enabled': True, 'description': ''}} 2025-11-15 20:29:54,463 - DEBUG - Response for create_subnet : {'subnet': {'id': '31147577-2d79-49b9-8186-cafcbaa7375b', 'name': '', 'tenant_id': 'c7067d3b5e8145b09add42fcae0068d6', 'network_id': '2f4ea50c-f366-45af-be5e-2a8b57fba3f5', 'ip_version': 4, 'cidr': '80.116.25.0/26', 'allocation_pools': [{'start': '80.116.25.2', 'end': '80.116.25.62'}], 'gateway_ip': '80.116.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.116.25.2', 'tags': [], 'project_id': 'c7067d3b5e8145b09add42fcae0068d6'}} 2025-11-15 20:29:54,478 - INFO - Created VN ctest-vn-45688707 2025-11-15 20:29:54,529 - DEBUG - VN ctest-vn-45688707 UUID is 2f4ea50c-f366-45af-be5e-2a8b57fba3f5 2025-11-15 20:29:54,673 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95549358:ctest-vn-01794178, 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-95549358:ctest-vn-45688707, 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-11-15 20:29:54,953 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c933e741-d67c-433b-a8b1-1873953c5893', 'name': 'ctest-vn-01794178', 'tenant_id': 'c7067d3b5e8145b09add42fcae0068d6', 'project_id': 'c7067d3b5e8145b09add42fcae0068d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e01db15a-c054-4dff-9db1-185f77730792'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95549358', 'ctest-vn-01794178'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95549358', 'ctest-policy-allow-all-05437242']], 'subnet_ipam': [{'subnet_cidr': '77.65.28.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-15 20:29:55,213 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2f4ea50c-f366-45af-be5e-2a8b57fba3f5', 'name': 'ctest-vn-45688707', 'tenant_id': 'c7067d3b5e8145b09add42fcae0068d6', 'project_id': 'c7067d3b5e8145b09add42fcae0068d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['31147577-2d79-49b9-8186-cafcbaa7375b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95549358', 'ctest-vn-45688707'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95549358', 'ctest-policy-allow-all-05437242']], 'subnet_ipam': [{'subnet_cidr': '80.116.25.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-15 20:29:55,365 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-15 20:29:55,655 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-15 20:29:55,682 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c41869b6-8444-4061-a790-0bb702330aad 2025-11-15 20:29:55,693 - DEBUG - Requesting: http://10.0.0.33:8082/project/c7067d3b-5e81-45b0-9add-42fcae0068d6 2025-11-15 20:29:55,762 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c933e741-d67c-433b-a8b1-1873953c5893 2025-11-15 20:29:55,771 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c933e741-d67c-433b-a8b1-1873953c5893 2025-11-15 20:29:55,779 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e271216-9399-405a-a3e8-9de9ab330663 2025-11-15 20:29:55,784 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e271216-9399-405a-a3e8-9de9ab330663 2025-11-15 20:29:55,789 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/90712499-7239-460e-93b6-9dfb4409fb68 2025-11-15 20:29:55,794 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-15 20:29:55,794 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c933e741-d67c-433b-a8b1-1873953c5893 2025-11-15 20:29:55,801 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e271216-9399-405a-a3e8-9de9ab330663 2025-11-15 20:29:55,813 - INFO - Verified VN network id 12 for VN c933e741-d67c-433b-a8b1-1873953c5893 2025-11-15 20:29:55,813 - INFO - Verifications in API Server for VN ctest-vn-01794178 passed 2025-11-15 20:29:55,813 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c933e741-d67c-433b-a8b1-1873953c5893 2025-11-15 20:29:55,820 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e271216-9399-405a-a3e8-9de9ab330663 2025-11-15 20:29:55,825 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e271216-9399-405a-a3e8-9de9ab330663 2025-11-15 20:29:55,833 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/90712499-7239-460e-93b6-9dfb4409fb68 2025-11-15 20:29:55,842 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95549358:ctest-vn-01794178', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95549358', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14498185895393116987', 'uuid-lslong': '12155523753953745043'}, 'enable': 'true', 'created': '2025-11-15T20:29:53', 'last-modified': '2025-11-15T20:29:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.908130'} 2025-11-15 20:29:55,847 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-15 20:29:55,847 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01794178 passed 2025-11-15 20:29:55,847 - DEBUG - ====Verifying policy data for ctest-vn-01794178 in API_Server ====== 2025-11-15 20:29:55,847 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-15 20:29:55,851 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c41869b6-8444-4061-a790-0bb702330aad 2025-11-15 20:29:55,860 - DEBUG - Requesting: http://10.0.0.33:8082/project/c7067d3b-5e81-45b0-9add-42fcae0068d6 2025-11-15 20:29:55,933 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c933e741-d67c-433b-a8b1-1873953c5893 2025-11-15 20:29:55,941 - DEBUG - ==>Verifying data for policy with id: bb69fe45-4007-43a4-a3ad-b4ca5ac8d1f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-95549358', 'ctest-policy-allow-all-05437242'] 2025-11-15 20:29:55,941 - INFO - VN ctest-vn-01794178 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-15 20:29:55,941 - DEBUG - Verifying the vn in opserver 2025-11-15 20:29:55,941 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95549358:ctest-vn-01794178 virtual network link through opserver 10.0.0.33 2025-11-15 20:29:55,941 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-15 20:29:56,232 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-15 20:29:56,296 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95549358:ctest-vn-01794178', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95549358:ctest-vn-01794178?flat'} 2025-11-15 20:29:56,296 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95549358:ctest-vn-01794178 is found in opserver 2025-11-15 20:29:56,305 - DEBUG - Do not have enough data to verify VN in agent 2025-11-15 20:29:56,309 - DEBUG - VRF ids for VN ctest-vn-01794178: {} 2025-11-15 20:29:56,309 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-15 20:29:56,313 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c41869b6-8444-4061-a790-0bb702330aad 2025-11-15 20:29:56,322 - DEBUG - Requesting: http://10.0.0.33:8082/project/c7067d3b-5e81-45b0-9add-42fcae0068d6 2025-11-15 20:29:56,435 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2f4ea50c-f366-45af-be5e-2a8b57fba3f5 2025-11-15 20:29:56,470 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2f4ea50c-f366-45af-be5e-2a8b57fba3f5 2025-11-15 20:29:56,489 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/02f2ec82-ce12-4d38-a764-c30ccea45fcd 2025-11-15 20:29:56,499 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/02f2ec82-ce12-4d38-a764-c30ccea45fcd 2025-11-15 20:29:56,516 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a5f35586-633f-4f36-ab44-8027a657ee44 2025-11-15 20:29:56,527 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-15 20:29:56,527 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2f4ea50c-f366-45af-be5e-2a8b57fba3f5 2025-11-15 20:29:56,547 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/02f2ec82-ce12-4d38-a764-c30ccea45fcd 2025-11-15 20:29:56,560 - INFO - Verified VN network id 13 for VN 2f4ea50c-f366-45af-be5e-2a8b57fba3f5 2025-11-15 20:29:56,560 - INFO - Verifications in API Server for VN ctest-vn-45688707 passed 2025-11-15 20:29:56,560 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2f4ea50c-f366-45af-be5e-2a8b57fba3f5 2025-11-15 20:29:56,567 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/02f2ec82-ce12-4d38-a764-c30ccea45fcd 2025-11-15 20:29:56,575 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/02f2ec82-ce12-4d38-a764-c30ccea45fcd 2025-11-15 20:29:56,581 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a5f35586-633f-4f36-ab44-8027a657ee44 2025-11-15 20:29:56,600 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95549358:ctest-vn-45688707', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95549358', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3408843443007800751', 'uuid-lslong': '13717448292982039541'}, 'enable': 'true', 'created': '2025-11-15T20:29:54', 'last-modified': '2025-11-15T20:29:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.452687'} 2025-11-15 20:29:56,605 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-15 20:29:56,605 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45688707 passed 2025-11-15 20:29:56,606 - DEBUG - ====Verifying policy data for ctest-vn-45688707 in API_Server ====== 2025-11-15 20:29:56,606 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-15 20:29:56,612 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c41869b6-8444-4061-a790-0bb702330aad 2025-11-15 20:29:56,624 - DEBUG - Requesting: http://10.0.0.33:8082/project/c7067d3b-5e81-45b0-9add-42fcae0068d6 2025-11-15 20:29:56,732 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/2f4ea50c-f366-45af-be5e-2a8b57fba3f5 2025-11-15 20:29:56,747 - DEBUG - ==>Verifying data for policy with id: bb69fe45-4007-43a4-a3ad-b4ca5ac8d1f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-95549358', 'ctest-policy-allow-all-05437242'] 2025-11-15 20:29:56,747 - INFO - VN ctest-vn-45688707 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-15 20:29:56,747 - DEBUG - Verifying the vn in opserver 2025-11-15 20:29:56,747 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95549358:ctest-vn-45688707 virtual network link through opserver 10.0.0.33 2025-11-15 20:29:56,747 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-15 20:29:56,756 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95549358:ctest-vn-45688707', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95549358:ctest-vn-45688707?flat'} 2025-11-15 20:29:56,756 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95549358:ctest-vn-45688707 is found in opserver 2025-11-15 20:29:56,766 - DEBUG - Do not have enough data to verify VN in agent 2025-11-15 20:29:56,770 - DEBUG - VRF ids for VN ctest-vn-45688707: {} 2025-11-15 20:29:56,842 - DEBUG - Services list from nova: [, , ] 2025-11-15 20:29:57,863 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4735-1) 2025-11-15 20:29:58,944 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4735-1) 2025-11-15 20:29:58,944 - INFO - Waiting for VM ctest-TestBasicPolicy-95549358-07249224 to be up.. 2025-11-15 20:29:59,016 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-15 20:30:04,085 - DEBUG - VM is in ACTIVE state now 2025-11-15 20:30:04,085 - INFO - VM name : ctest-TestBasicPolicy-95549358-07249224 2025-11-15 20:30:04,159 - DEBUG - VM ctest-TestBasicPolicy-95549358-07249224 ID is b359baa8-f173-4257-b6a8-a456b5b665e1 2025-11-15 20:30:04,184 - DEBUG - VM ctest-TestBasicPolicy-95549358-07249224 launched on Node cn-jenkins-deploy-platform-ansible-os-4735-1 2025-11-15 20:30:04,258 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b359baa8-f173-4257-b6a8-a456b5b665e1 2025-11-15 20:30:04,266 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9d74e7c9-cc95-4e5f-b123-a6fc30af0ead 2025-11-15 20:30:07,532 - 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 1031ms') 2025-11-15 20:30:07,532 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95549358-07249224 failed! 2025-11-15 20:30:07,589 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95549358:ctest-vn-01794178 is 77.65.28.1 and allocation pool is NOT set 2025-11-15 20:30:09,653 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.757 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.757/5.419/10.082/4.662 ms') 2025-11-15 20:30:09,653 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95549358-07249224 passed 2025-11-15 20:30:09,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 20:30:09,801 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95549358-07249224, IP 77.65.28.3, Port 22 2025-11-15 20:30:09,957 - DEBUG - VM ctest-TestBasicPolicy-95549358-07249224 is ready for SSH connections 2025-11-15 20:30:09,957 - INFO - Waiting for VM ctest-TestBasicPolicy-95549358-24112883 to be up.. 2025-11-15 20:30:10,025 - DEBUG - VM is in ACTIVE state now 2025-11-15 20:30:10,025 - INFO - VM name : ctest-TestBasicPolicy-95549358-24112883 2025-11-15 20:30:10,095 - DEBUG - VM ctest-TestBasicPolicy-95549358-24112883 ID is c9b8aa11-3919-46b8-9f17-8cf3f3bf2106 2025-11-15 20:30:10,095 - DEBUG - VM ctest-TestBasicPolicy-95549358-24112883 launched on Node cn-jenkins-deploy-platform-ansible-os-4735-1 2025-11-15 20:30:10,167 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c9b8aa11-3919-46b8-9f17-8cf3f3bf2106 2025-11-15 20:30:10,174 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/50aac623-8d3b-45bd-b52c-f3c2e83bc3f4 2025-11-15 20:30:11,410 - 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=3.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.911 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.911/2.233/3.556/1.322 ms') 2025-11-15 20:30:11,410 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95549358-24112883 passed 2025-11-15 20:30:11,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 20:30:11,557 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95549358-24112883, IP 80.116.25.3, Port 22 2025-11-15 20:30:11,726 - DEBUG - VM ctest-TestBasicPolicy-95549358-24112883 is ready for SSH connections 2025-11-15 20:30:11,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 20:30:11,726 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.116.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-15 20:30:11,726 - DEBUG - ping -s 56 -c 3 -W 1 80.116.25.3 2025-11-15 20:30:15,408 - DEBUG - PING 80.116.25.3 (80.116.25.3): 56 data bytes 64 bytes from 80.116.25.3: seq=0 ttl=63 time=3.412 ms 64 bytes from 80.116.25.3: seq=1 ttl=63 time=0.764 ms 64 bytes from 80.116.25.3: seq=2 ttl=63 time=0.768 ms --- 80.116.25.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.764/1.648/3.412 ms 2025-11-15 20:30:15,408 - INFO - Ping to IP 80.116.25.3 from VM ctest-TestBasicPolicy-95549358-07249224 passed 2025-11-15 20:30:15,577 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bb69fe45-4007-43a4-a3ad-b4ca5ac8d1f9", "href": "http://10.0.0.33:8082/network-policy/bb69fe45-4007-43a4-a3ad-b4ca5ac8d1f9"}} 2025-11-15 20:30:15,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 20:30:15,577 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.116.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-15 20:30:15,577 - DEBUG - ping -s 56 -c 3 -W 1 80.116.25.3 2025-11-15 20:30:18,776 - DEBUG - PING 80.116.25.3 (80.116.25.3): 56 data bytes --- 80.116.25.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-15 20:30:18,776 - WARNING - Ping to IP 80.116.25.3 from VM ctest-TestBasicPolicy-95549358-07249224 failed 2025-11-15 20:30:18,776 - INFO - Deleting VM ctest-TestBasicPolicy-95549358-24112883 2025-11-15 20:30:18,837 - INFO - Deleting VM ctest-TestBasicPolicy-95549358-07249224 2025-11-15 20:30:19,200 - INFO - Deleted policy ctest-policy-allow-all-05437242 2025-11-15 20:30:19,200 - INFO - Deleting VN ctest-vn-45688707 2025-11-15 20:30:19,237 - DEBUG - VN 2f4ea50c-f366-45af-be5e-2a8b57fba3f5 still in use: Unable to complete operation on network 2f4ea50c-f366-45af-be5e-2a8b57fba3f5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-19f5927b-0496-4a62-9a13-37ef2f972375'] 2025-11-15 20:30:19,237 - WARNING - Deleting VN ctest-vn-45688707 failed..Will retry 2025-11-15 20:30:21,339 - DEBUG - Response for deleting network () 2025-11-15 20:30:21,339 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/02f2ec82-ce12-4d38-a764-c30ccea45fcd 2025-11-15 20:30:21,346 - DEBUG - Response Code: 404 2025-11-15 20:30:21,346 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-15 20:30:21,353 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c41869b6-8444-4061-a790-0bb702330aad 2025-11-15 20:30:21,407 - DEBUG - Requesting: http://10.0.0.33:8082/project/c7067d3b-5e81-45b0-9add-42fcae0068d6 2025-11-15 20:30:21,478 - INFO - Validated that VN ctest-vn-45688707 is not found in API Server 2025-11-15 20:30:21,488 - DEBUG - VN ctest-vn-45688707 is not present in Agent 10.0.0.33 2025-11-15 20:30:21,488 - INFO - Validated that VN ctest-vn-45688707 is not in any agent 2025-11-15 20:30:21,501 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45688707 info 2025-11-15 20:30:21,501 - INFO - Deleting VN ctest-vn-01794178 2025-11-15 20:30:21,587 - DEBUG - Response for deleting network () 2025-11-15 20:30:21,587 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4e271216-9399-405a-a3e8-9de9ab330663 2025-11-15 20:30:21,592 - DEBUG - Response Code: 404 2025-11-15 20:30:21,592 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-15 20:30:21,597 - DEBUG - Requesting: http://10.0.0.33:8082/domain/c41869b6-8444-4061-a790-0bb702330aad 2025-11-15 20:30:21,653 - DEBUG - Requesting: http://10.0.0.33:8082/project/c7067d3b-5e81-45b0-9add-42fcae0068d6 2025-11-15 20:30:21,723 - INFO - Validated that VN ctest-vn-01794178 is not found in API Server 2025-11-15 20:30:21,732 - DEBUG - VN ctest-vn-01794178 is not present in Agent 10.0.0.33 2025-11-15 20:30:21,732 - INFO - Validated that VN ctest-vn-01794178 is not in any agent 2025-11-15 20:30:21,743 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01794178 info 2025-11-15 20:30:21,997 - DEBUG - No XMPP flaps were noticed during the test 2025-11-15 20:30:21,997 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-15 20:30:21,997 - INFO - -------------------------------------------------------------------------------- 2025-11-15 20:30:22,679 - INFO - Deleted project: ctest-TestBasicPolicy-95549358, ID : c7067d3b-5e81-45b0-9add-42fcae0068d6