2026-01-30 07:56:44,652 - INFO - Domain Default found not creating 2026-01-30 07:56:44,820 - INFO - Project ctest-TestBasicPolicy-65198597 not found, creating it 2026-01-30 07:56:45,287 - INFO - Created Project:ctest-TestBasicPolicy-65198597, ID : 2d0bb675-3e85-4d07-b3d2-423d182b339c 2026-01-30 07:56:46,803 - INFO - ================================================================================ 2026-01-30 07:56:46,803 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-30 07:56:46,803 - 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 2026-01-30 07:56:47,060 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.17': '0'}} with 2026-01-30 07:56:47,060 - INFO - Initial checks done. Running the testcase now 2026-01-30 07:56:47,060 - INFO - 2026-01-30 07:56:47,627 - DEBUG - Response for create_network : {'network': {'id': '15c26600-0609-4044-ac74-318d5d3eb578', 'name': 'ctest-vn-62536762', 'tenant_id': '2d0bb6753e854d07b3d2423d182b339c', 'project_id': '2d0bb6753e854d07b3d2423d182b339c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65198597', 'ctest-vn-62536762'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 07:56:47,815 - DEBUG - Response for create_subnet : {'subnet': {'id': '727165fb-f28b-467c-b2fe-bc39252b4d61', 'name': '', 'tenant_id': '2d0bb6753e854d07b3d2423d182b339c', 'network_id': '15c26600-0609-4044-ac74-318d5d3eb578', 'ip_version': 4, 'cidr': '25.30.180.0/26', 'allocation_pools': [{'start': '25.30.180.2', 'end': '25.30.180.62'}], 'gateway_ip': '25.30.180.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.30.180.2', 'tags': [], 'project_id': '2d0bb6753e854d07b3d2423d182b339c'}} 2026-01-30 07:56:47,831 - INFO - Created VN ctest-vn-62536762 2026-01-30 07:56:47,884 - DEBUG - VN ctest-vn-62536762 UUID is 15c26600-0609-4044-ac74-318d5d3eb578 2026-01-30 07:56:48,204 - DEBUG - Response for create_network : {'network': {'id': '3b4aece9-8c56-44db-b801-b9718e901ffc', 'name': 'ctest-vn-67251571', 'tenant_id': '2d0bb6753e854d07b3d2423d182b339c', 'project_id': '2d0bb6753e854d07b3d2423d182b339c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65198597', 'ctest-vn-67251571'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 07:56:48,411 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1785b18-3ebc-4409-9ff9-d9f043fdacbc', 'name': '', 'tenant_id': '2d0bb6753e854d07b3d2423d182b339c', 'network_id': '3b4aece9-8c56-44db-b801-b9718e901ffc', 'ip_version': 4, 'cidr': '80.41.36.192/26', 'allocation_pools': [{'start': '80.41.36.194', 'end': '80.41.36.254'}], 'gateway_ip': '80.41.36.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.41.36.194', 'tags': [], 'project_id': '2d0bb6753e854d07b3d2423d182b339c'}} 2026-01-30 07:56:48,429 - INFO - Created VN ctest-vn-67251571 2026-01-30 07:56:48,484 - DEBUG - VN ctest-vn-67251571 UUID is 3b4aece9-8c56-44db-b801-b9718e901ffc 2026-01-30 07:56:48,636 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-62536762, 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-65198597:ctest-vn-67251571, 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] 2026-01-30 07:56:48,919 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '15c26600-0609-4044-ac74-318d5d3eb578', 'name': 'ctest-vn-62536762', 'tenant_id': '2d0bb6753e854d07b3d2423d182b339c', 'project_id': '2d0bb6753e854d07b3d2423d182b339c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['727165fb-f28b-467c-b2fe-bc39252b4d61'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65198597', 'ctest-vn-62536762'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65198597', 'ctest-policy-allow-all-05015566']], 'subnet_ipam': [{'subnet_cidr': '25.30.180.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-30 07:56:49,128 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3b4aece9-8c56-44db-b801-b9718e901ffc', 'name': 'ctest-vn-67251571', 'tenant_id': '2d0bb6753e854d07b3d2423d182b339c', 'project_id': '2d0bb6753e854d07b3d2423d182b339c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a1785b18-3ebc-4409-9ff9-d9f043fdacbc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65198597', 'ctest-vn-67251571'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65198597', 'ctest-policy-allow-all-05015566']], 'subnet_ipam': [{'subnet_cidr': '80.41.36.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-30 07:56:49,300 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2026-01-30 07:56:49,596 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2026-01-30 07:56:49,624 - DEBUG - Requesting: http://10.0.0.42:8082/domain/f578d64e-2590-4f7b-83b2-7494bdcc7ade 2026-01-30 07:56:49,636 - DEBUG - Requesting: http://10.0.0.42:8082/project/2d0bb675-3e85-4d07-b3d2-423d182b339c 2026-01-30 07:56:49,704 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/15c26600-0609-4044-ac74-318d5d3eb578 2026-01-30 07:56:49,718 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/15c26600-0609-4044-ac74-318d5d3eb578 2026-01-30 07:56:49,730 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/429e98bd-e6d1-4cdb-ae38-c94423b52385 2026-01-30 07:56:49,736 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/429e98bd-e6d1-4cdb-ae38-c94423b52385 2026-01-30 07:56:49,743 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/819134fd-371d-4056-a3c4-2f16d2414081 2026-01-30 07:56:49,749 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-30 07:56:49,749 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/15c26600-0609-4044-ac74-318d5d3eb578 2026-01-30 07:56:49,757 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/429e98bd-e6d1-4cdb-ae38-c94423b52385 2026-01-30 07:56:49,771 - INFO - Verified VN network id 11 for VN 15c26600-0609-4044-ac74-318d5d3eb578 2026-01-30 07:56:49,771 - INFO - Verifications in API Server for VN ctest-vn-62536762 passed 2026-01-30 07:56:49,771 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/15c26600-0609-4044-ac74-318d5d3eb578 2026-01-30 07:56:49,780 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/429e98bd-e6d1-4cdb-ae38-c94423b52385 2026-01-30 07:56:49,787 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/429e98bd-e6d1-4cdb-ae38-c94423b52385 2026-01-30 07:56:49,793 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/819134fd-371d-4056-a3c4-2f16d2414081 2026-01-30 07:56:49,805 - DEBUG - Control-node 10.0.0.42 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-62536762', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65198597', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1567927770565656644', 'uuid-lslong': '12426611755046581624'}, 'enable': 'true', 'created': '2026-01-30T07:56:47', 'last-modified': '2026-01-30T07:56:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.906739'} 2026-01-30 07:56:49,810 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-30 07:56:49,810 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62536762 passed 2026-01-30 07:56:49,810 - DEBUG - ====Verifying policy data for ctest-vn-62536762 in API_Server ====== 2026-01-30 07:56:49,810 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2026-01-30 07:56:49,816 - DEBUG - Requesting: http://10.0.0.42:8082/domain/f578d64e-2590-4f7b-83b2-7494bdcc7ade 2026-01-30 07:56:49,824 - DEBUG - Requesting: http://10.0.0.42:8082/project/2d0bb675-3e85-4d07-b3d2-423d182b339c 2026-01-30 07:56:49,901 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/15c26600-0609-4044-ac74-318d5d3eb578 2026-01-30 07:56:49,909 - DEBUG - ==>Verifying data for policy with id: 17b4006c-e701-47ac-9df3-72fd143ae641, fqn: ['default-domain', 'ctest-TestBasicPolicy-65198597', 'ctest-policy-allow-all-05015566'] 2026-01-30 07:56:49,909 - INFO - VN ctest-vn-62536762 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-30 07:56:49,909 - DEBUG - Verifying the vn in opserver 2026-01-30 07:56:49,909 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-62536762 virtual network link through opserver 10.0.0.42 2026-01-30 07:56:49,909 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2026-01-30 07:56:50,204 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2026-01-30 07:56:50,262 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-62536762', 'href': 'http://10.0.0.42:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-62536762?flat'} 2026-01-30 07:56:50,262 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-62536762 is found in opserver 2026-01-30 07:56:50,271 - DEBUG - Do not have enough data to verify VN in agent 2026-01-30 07:56:50,275 - DEBUG - VRF ids for VN ctest-vn-62536762: {} 2026-01-30 07:56:50,275 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2026-01-30 07:56:50,280 - DEBUG - Requesting: http://10.0.0.42:8082/domain/f578d64e-2590-4f7b-83b2-7494bdcc7ade 2026-01-30 07:56:50,289 - DEBUG - Requesting: http://10.0.0.42:8082/project/2d0bb675-3e85-4d07-b3d2-423d182b339c 2026-01-30 07:56:50,357 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/3b4aece9-8c56-44db-b801-b9718e901ffc 2026-01-30 07:56:50,367 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/3b4aece9-8c56-44db-b801-b9718e901ffc 2026-01-30 07:56:50,374 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/47524031-4e7a-444f-a245-e17aec3f8713 2026-01-30 07:56:50,381 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/47524031-4e7a-444f-a245-e17aec3f8713 2026-01-30 07:56:50,387 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/7d9af9b3-fd68-41a2-8068-07c04ed05137 2026-01-30 07:56:50,392 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-30 07:56:50,392 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/3b4aece9-8c56-44db-b801-b9718e901ffc 2026-01-30 07:56:50,399 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/47524031-4e7a-444f-a245-e17aec3f8713 2026-01-30 07:56:50,410 - INFO - Verified VN network id 12 for VN 3b4aece9-8c56-44db-b801-b9718e901ffc 2026-01-30 07:56:50,410 - INFO - Verifications in API Server for VN ctest-vn-67251571 passed 2026-01-30 07:56:50,410 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/3b4aece9-8c56-44db-b801-b9718e901ffc 2026-01-30 07:56:50,418 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/47524031-4e7a-444f-a245-e17aec3f8713 2026-01-30 07:56:50,424 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/47524031-4e7a-444f-a245-e17aec3f8713 2026-01-30 07:56:50,429 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/7d9af9b3-fd68-41a2-8068-07c04ed05137 2026-01-30 07:56:50,438 - DEBUG - Control-node 10.0.0.42 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-67251571', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65198597', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4272487684340335835', 'uuid-lslong': '13259082675329703932'}, 'enable': 'true', 'created': '2026-01-30T07:56:48', 'last-modified': '2026-01-30T07:56:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.329024'} 2026-01-30 07:56:50,444 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-30 07:56:50,444 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67251571 passed 2026-01-30 07:56:50,444 - DEBUG - ====Verifying policy data for ctest-vn-67251571 in API_Server ====== 2026-01-30 07:56:50,444 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2026-01-30 07:56:50,448 - DEBUG - Requesting: http://10.0.0.42:8082/domain/f578d64e-2590-4f7b-83b2-7494bdcc7ade 2026-01-30 07:56:50,459 - DEBUG - Requesting: http://10.0.0.42:8082/project/2d0bb675-3e85-4d07-b3d2-423d182b339c 2026-01-30 07:56:50,525 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/3b4aece9-8c56-44db-b801-b9718e901ffc 2026-01-30 07:56:50,533 - DEBUG - ==>Verifying data for policy with id: 17b4006c-e701-47ac-9df3-72fd143ae641, fqn: ['default-domain', 'ctest-TestBasicPolicy-65198597', 'ctest-policy-allow-all-05015566'] 2026-01-30 07:56:50,533 - INFO - VN ctest-vn-67251571 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-30 07:56:50,533 - DEBUG - Verifying the vn in opserver 2026-01-30 07:56:50,533 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-67251571 virtual network link through opserver 10.0.0.42 2026-01-30 07:56:50,533 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2026-01-30 07:56:50,541 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-67251571', 'href': 'http://10.0.0.42:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-67251571?flat'} 2026-01-30 07:56:50,541 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-67251571 is found in opserver 2026-01-30 07:56:50,551 - DEBUG - Do not have enough data to verify VN in agent 2026-01-30 07:56:50,555 - DEBUG - VRF ids for VN ctest-vn-67251571: {} 2026-01-30 07:56:50,604 - DEBUG - Services list from nova: [, , ] 2026-01-30 07:56:51,596 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5141-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5141-1) 2026-01-30 07:56:52,722 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5141-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5141-1) 2026-01-30 07:56:52,722 - INFO - Waiting for VM ctest-TestBasicPolicy-65198597-16936718 to be up.. 2026-01-30 07:56:52,797 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-30 07:56:57,872 - DEBUG - VM is in ACTIVE state now 2026-01-30 07:56:57,872 - INFO - VM name : ctest-TestBasicPolicy-65198597-16936718 2026-01-30 07:56:57,939 - DEBUG - VM ctest-TestBasicPolicy-65198597-16936718 ID is 2d837c91-abc5-4003-b306-537b8aef9ea2 2026-01-30 07:56:57,959 - DEBUG - VM ctest-TestBasicPolicy-65198597-16936718 launched on Node cn-jenkins-deploy-platform-ansible-os-5141-1 2026-01-30 07:56:58,036 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/2d837c91-abc5-4003-b306-537b8aef9ea2 2026-01-30 07:56:58,043 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/299719a6-5bc7-4d2e-9933-1b312c4f28b1 2026-01-30 07:57:01,286 - 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 1015ms') 2026-01-30 07:57:01,287 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65198597-16936718 failed! 2026-01-30 07:57:01,340 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65198597:ctest-vn-62536762 is 25.30.180.1 and allocation pool is NOT set 2026-01-30 07:57:03,401 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.459 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.459/3.749/7.040/3.290 ms') 2026-01-30 07:57:03,401 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65198597-16936718 passed 2026-01-30 07:57:03,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 07:57:03,548 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65198597-16936718, IP 25.30.180.3, Port 22 2026-01-30 07:57:03,703 - DEBUG - VM ctest-TestBasicPolicy-65198597-16936718 is ready for SSH connections 2026-01-30 07:57:03,703 - INFO - Waiting for VM ctest-TestBasicPolicy-65198597-44329515 to be up.. 2026-01-30 07:57:03,776 - DEBUG - VM is in ACTIVE state now 2026-01-30 07:57:03,776 - INFO - VM name : ctest-TestBasicPolicy-65198597-44329515 2026-01-30 07:57:03,850 - DEBUG - VM ctest-TestBasicPolicy-65198597-44329515 ID is da4a7240-0fda-437c-b3ed-d8f19a526900 2026-01-30 07:57:03,850 - DEBUG - VM ctest-TestBasicPolicy-65198597-44329515 launched on Node cn-jenkins-deploy-platform-ansible-os-5141-1 2026-01-30 07:57:03,915 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/da4a7240-0fda-437c-b3ed-d8f19a526900 2026-01-30 07:57:03,922 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/03e488f8-1c72-4ba0-8e5a-f48d26e2cf8f 2026-01-30 07:57:05,161 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.514 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.514/1.675/2.836/1.161 ms') 2026-01-30 07:57:05,161 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65198597-44329515 passed 2026-01-30 07:57:05,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 07:57:05,316 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65198597-44329515, IP 80.41.36.195, Port 22 2026-01-30 07:57:05,476 - DEBUG - VM ctest-TestBasicPolicy-65198597-44329515 is ready for SSH connections 2026-01-30 07:57:05,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 07:57:05,476 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.41.36.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2026-01-30 07:57:05,476 - DEBUG - ping -s 56 -c 3 -W 1 80.41.36.195 2026-01-30 07:57:09,516 - DEBUG - PING 80.41.36.195 (80.41.36.195): 56 data bytes 64 bytes from 80.41.36.195: seq=0 ttl=63 time=3.634 ms 64 bytes from 80.41.36.195: seq=1 ttl=63 time=0.996 ms 64 bytes from 80.41.36.195: seq=2 ttl=63 time=1.042 ms --- 80.41.36.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.996/1.890/3.634 ms 2026-01-30 07:57:09,516 - INFO - Ping to IP 80.41.36.195 from VM ctest-TestBasicPolicy-65198597-16936718 passed 2026-01-30 07:57:09,684 - DEBUG - Policy Update Response {"network-policy": {"uuid": "17b4006c-e701-47ac-9df3-72fd143ae641", "href": "http://10.0.0.42:8082/network-policy/17b4006c-e701-47ac-9df3-72fd143ae641"}} 2026-01-30 07:57:09,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 07:57:09,684 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.41.36.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2026-01-30 07:57:09,684 - DEBUG - ping -s 56 -c 3 -W 1 80.41.36.195 2026-01-30 07:57:12,933 - DEBUG - PING 80.41.36.195 (80.41.36.195): 56 data bytes --- 80.41.36.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-30 07:57:12,933 - WARNING - Ping to IP 80.41.36.195 from VM ctest-TestBasicPolicy-65198597-16936718 failed 2026-01-30 07:57:12,934 - INFO - Deleting VM ctest-TestBasicPolicy-65198597-44329515 2026-01-30 07:57:13,004 - INFO - Deleting VM ctest-TestBasicPolicy-65198597-16936718 2026-01-30 07:57:13,370 - INFO - Deleted policy ctest-policy-allow-all-05015566 2026-01-30 07:57:13,370 - INFO - Deleting VN ctest-vn-67251571 2026-01-30 07:57:13,403 - DEBUG - VN 3b4aece9-8c56-44db-b801-b9718e901ffc still in use: Unable to complete operation on network 3b4aece9-8c56-44db-b801-b9718e901ffc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c85ab342-d1c2-4142-bb84-bf63725722be'] 2026-01-30 07:57:13,403 - WARNING - Deleting VN ctest-vn-67251571 failed..Will retry 2026-01-30 07:57:15,495 - DEBUG - Response for deleting network () 2026-01-30 07:57:15,495 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/47524031-4e7a-444f-a245-e17aec3f8713 2026-01-30 07:57:15,502 - DEBUG - Response Code: 404 2026-01-30 07:57:15,502 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2026-01-30 07:57:15,507 - DEBUG - Requesting: http://10.0.0.42:8082/domain/f578d64e-2590-4f7b-83b2-7494bdcc7ade 2026-01-30 07:57:15,556 - DEBUG - Requesting: http://10.0.0.42:8082/project/2d0bb675-3e85-4d07-b3d2-423d182b339c 2026-01-30 07:57:15,625 - INFO - Validated that VN ctest-vn-67251571 is not found in API Server 2026-01-30 07:57:15,633 - DEBUG - VN ctest-vn-67251571 is not present in Agent 10.0.0.42 2026-01-30 07:57:15,634 - INFO - Validated that VN ctest-vn-67251571 is not in any agent 2026-01-30 07:57:15,645 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67251571 info 2026-01-30 07:57:15,646 - INFO - Deleting VN ctest-vn-62536762 2026-01-30 07:57:15,738 - DEBUG - Response for deleting network () 2026-01-30 07:57:15,738 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/429e98bd-e6d1-4cdb-ae38-c94423b52385 2026-01-30 07:57:15,745 - DEBUG - Response Code: 404 2026-01-30 07:57:15,745 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2026-01-30 07:57:15,750 - DEBUG - Requesting: http://10.0.0.42:8082/domain/f578d64e-2590-4f7b-83b2-7494bdcc7ade 2026-01-30 07:57:15,800 - DEBUG - Requesting: http://10.0.0.42:8082/project/2d0bb675-3e85-4d07-b3d2-423d182b339c 2026-01-30 07:57:15,869 - INFO - Validated that VN ctest-vn-62536762 is not found in API Server 2026-01-30 07:57:15,878 - DEBUG - VN ctest-vn-62536762 is not present in Agent 10.0.0.42 2026-01-30 07:57:15,878 - INFO - Validated that VN ctest-vn-62536762 is not in any agent 2026-01-30 07:57:15,890 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62536762 info 2026-01-30 07:57:16,145 - DEBUG - No XMPP flaps were noticed during the test
2026-01-30 07:57:16,145 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-01-30 07:57:16,145 - INFO - -------------------------------------------------------------------------------- 2026-01-30 07:57:16,852 - INFO - Deleted project: ctest-TestBasicPolicy-65198597, ID : 2d0bb675-3e85-4d07-b3d2-423d182b339c