2026-02-04 12:26:22,003 - INFO - Domain Default found not creating 2026-02-04 12:26:22,188 - INFO - Project ctest-TestBasicPolicy-68671973 not found, creating it 2026-02-04 12:26:22,655 - INFO - Created Project:ctest-TestBasicPolicy-68671973, ID : 24cfe65e-bb1c-428d-90a0-79c55a81fecf 2026-02-04 12:26:24,221 - INFO - ================================================================================ 2026-02-04 12:26:24,222 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-04 12:26:24,222 - 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-02-04 12:26:24,475 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-02-04 12:26:24,475 - INFO - Initial checks done. Running the testcase now 2026-02-04 12:26:24,475 - INFO - 2026-02-04 12:26:25,035 - DEBUG - Response for create_network : {'network': {'id': '5b7b923b-6eb8-4e33-ba68-36edaf10b38e', 'name': 'ctest-vn-94084653', 'tenant_id': '24cfe65ebb1c428d90a079c55a81fecf', 'project_id': '24cfe65ebb1c428d90a079c55a81fecf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68671973', 'ctest-vn-94084653'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 12:26:25,231 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7b1f7d9-e40a-4f93-9ef4-83b1139955b1', 'name': '', 'tenant_id': '24cfe65ebb1c428d90a079c55a81fecf', 'network_id': '5b7b923b-6eb8-4e33-ba68-36edaf10b38e', 'ip_version': 4, 'cidr': '188.176.45.192/26', 'allocation_pools': [{'start': '188.176.45.194', 'end': '188.176.45.254'}], 'gateway_ip': '188.176.45.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.176.45.194', 'tags': [], 'project_id': '24cfe65ebb1c428d90a079c55a81fecf'}} 2026-02-04 12:26:25,249 - INFO - Created VN ctest-vn-94084653 2026-02-04 12:26:25,302 - DEBUG - VN ctest-vn-94084653 UUID is 5b7b923b-6eb8-4e33-ba68-36edaf10b38e 2026-02-04 12:26:25,586 - DEBUG - Response for create_network : {'network': {'id': '7aac3975-f5e1-4a8b-9f3a-c809900f9f51', 'name': 'ctest-vn-11882858', 'tenant_id': '24cfe65ebb1c428d90a079c55a81fecf', 'project_id': '24cfe65ebb1c428d90a079c55a81fecf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68671973', 'ctest-vn-11882858'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 12:26:25,736 - DEBUG - Response for create_subnet : {'subnet': {'id': '0536d028-25fd-4277-8c3a-dd5576d10806', 'name': '', 'tenant_id': '24cfe65ebb1c428d90a079c55a81fecf', 'network_id': '7aac3975-f5e1-4a8b-9f3a-c809900f9f51', 'ip_version': 4, 'cidr': '103.56.146.192/26', 'allocation_pools': [{'start': '103.56.146.194', 'end': '103.56.146.254'}], 'gateway_ip': '103.56.146.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.56.146.194', 'tags': [], 'project_id': '24cfe65ebb1c428d90a079c55a81fecf'}} 2026-02-04 12:26:25,753 - INFO - Created VN ctest-vn-11882858 2026-02-04 12:26:25,806 - DEBUG - VN ctest-vn-11882858 UUID is 7aac3975-f5e1-4a8b-9f3a-c809900f9f51 2026-02-04 12:26:25,922 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-94084653, 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-68671973:ctest-vn-11882858, 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-02-04 12:26:26,209 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b7b923b-6eb8-4e33-ba68-36edaf10b38e', 'name': 'ctest-vn-94084653', 'tenant_id': '24cfe65ebb1c428d90a079c55a81fecf', 'project_id': '24cfe65ebb1c428d90a079c55a81fecf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c7b1f7d9-e40a-4f93-9ef4-83b1139955b1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68671973', 'ctest-vn-94084653'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68671973', 'ctest-policy-allow-all-70238604']], 'subnet_ipam': [{'subnet_cidr': '188.176.45.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 12:26:26,443 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7aac3975-f5e1-4a8b-9f3a-c809900f9f51', 'name': 'ctest-vn-11882858', 'tenant_id': '24cfe65ebb1c428d90a079c55a81fecf', 'project_id': '24cfe65ebb1c428d90a079c55a81fecf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0536d028-25fd-4277-8c3a-dd5576d10806'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68671973', 'ctest-vn-11882858'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68671973', 'ctest-policy-allow-all-70238604']], 'subnet_ipam': [{'subnet_cidr': '103.56.146.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 12:26:26,622 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-04 12:26:26,918 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-04 12:26:26,950 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ca164b36-13e7-4168-b12c-78af24e3d5bb 2026-02-04 12:26:26,963 - DEBUG - Requesting: http://10.0.0.50:8082/project/24cfe65e-bb1c-428d-90a0-79c55a81fecf 2026-02-04 12:26:27,039 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7b923b-6eb8-4e33-ba68-36edaf10b38e 2026-02-04 12:26:27,051 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7b923b-6eb8-4e33-ba68-36edaf10b38e 2026-02-04 12:26:27,060 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a27fa7f0-6b6b-48b9-9984-1e5a5d370919 2026-02-04 12:26:27,067 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a27fa7f0-6b6b-48b9-9984-1e5a5d370919 2026-02-04 12:26:27,074 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/28144879-ad00-4b47-9e0f-3115f9f5b1c9 2026-02-04 12:26:27,080 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 12:26:27,080 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7b923b-6eb8-4e33-ba68-36edaf10b38e 2026-02-04 12:26:27,089 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a27fa7f0-6b6b-48b9-9984-1e5a5d370919 2026-02-04 12:26:27,104 - INFO - Verified VN network id 11 for VN 5b7b923b-6eb8-4e33-ba68-36edaf10b38e 2026-02-04 12:26:27,104 - INFO - Verifications in API Server for VN ctest-vn-94084653 passed 2026-02-04 12:26:27,104 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7b923b-6eb8-4e33-ba68-36edaf10b38e 2026-02-04 12:26:27,115 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a27fa7f0-6b6b-48b9-9984-1e5a5d370919 2026-02-04 12:26:27,123 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a27fa7f0-6b6b-48b9-9984-1e5a5d370919 2026-02-04 12:26:27,130 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/28144879-ad00-4b47-9e0f-3115f9f5b1c9 2026-02-04 12:26:27,143 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-94084653', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68671973', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6592023263545151027', 'uuid-lslong': '13432046283104760718'}, 'enable': 'true', 'created': '2026-02-04T12:26:25', 'last-modified': '2026-02-04T12:26:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.958120'} 2026-02-04 12:26:27,149 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 12:26:27,149 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94084653 passed 2026-02-04 12:26:27,149 - DEBUG - ====Verifying policy data for ctest-vn-94084653 in API_Server ====== 2026-02-04 12:26:27,149 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-04 12:26:27,155 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ca164b36-13e7-4168-b12c-78af24e3d5bb 2026-02-04 12:26:27,166 - DEBUG - Requesting: http://10.0.0.50:8082/project/24cfe65e-bb1c-428d-90a0-79c55a81fecf 2026-02-04 12:26:27,235 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7b923b-6eb8-4e33-ba68-36edaf10b38e 2026-02-04 12:26:27,244 - DEBUG - ==>Verifying data for policy with id: 9d13dd36-fe26-48d1-8415-1a3806c11c30, fqn: ['default-domain', 'ctest-TestBasicPolicy-68671973', 'ctest-policy-allow-all-70238604'] 2026-02-04 12:26:27,244 - INFO - VN ctest-vn-94084653 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 12:26:27,244 - DEBUG - Verifying the vn in opserver 2026-02-04 12:26:27,244 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-94084653 virtual network link through opserver 10.0.0.50 2026-02-04 12:26:27,244 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-04 12:26:27,541 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-04 12:26:27,623 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-94084653', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-94084653?flat'} 2026-02-04 12:26:27,623 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-94084653 is found in opserver 2026-02-04 12:26:27,633 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 12:26:27,638 - DEBUG - VRF ids for VN ctest-vn-94084653: {} 2026-02-04 12:26:27,638 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-04 12:26:27,648 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ca164b36-13e7-4168-b12c-78af24e3d5bb 2026-02-04 12:26:27,659 - DEBUG - Requesting: http://10.0.0.50:8082/project/24cfe65e-bb1c-428d-90a0-79c55a81fecf 2026-02-04 12:26:27,726 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7aac3975-f5e1-4a8b-9f3a-c809900f9f51 2026-02-04 12:26:27,738 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7aac3975-f5e1-4a8b-9f3a-c809900f9f51 2026-02-04 12:26:27,748 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/59b9812f-fa78-475f-a911-38ee6123cea0 2026-02-04 12:26:27,755 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/59b9812f-fa78-475f-a911-38ee6123cea0 2026-02-04 12:26:27,763 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/be7eb4ff-0ed2-4b2e-8baf-dbf697a606c6 2026-02-04 12:26:27,770 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 12:26:27,770 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7aac3975-f5e1-4a8b-9f3a-c809900f9f51 2026-02-04 12:26:27,780 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/59b9812f-fa78-475f-a911-38ee6123cea0 2026-02-04 12:26:27,797 - INFO - Verified VN network id 12 for VN 7aac3975-f5e1-4a8b-9f3a-c809900f9f51 2026-02-04 12:26:27,797 - INFO - Verifications in API Server for VN ctest-vn-11882858 passed 2026-02-04 12:26:27,797 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7aac3975-f5e1-4a8b-9f3a-c809900f9f51 2026-02-04 12:26:27,807 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/59b9812f-fa78-475f-a911-38ee6123cea0 2026-02-04 12:26:27,814 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/59b9812f-fa78-475f-a911-38ee6123cea0 2026-02-04 12:26:27,821 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/be7eb4ff-0ed2-4b2e-8baf-dbf697a606c6 2026-02-04 12:26:27,834 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-11882858', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68671973', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8839503347420580491', 'uuid-lslong': '11473702944076963665'}, 'enable': 'true', 'created': '2026-02-04T12:26:25', 'last-modified': '2026-02-04T12:26:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.409702'} 2026-02-04 12:26:27,839 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 12:26:27,839 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11882858 passed 2026-02-04 12:26:27,840 - DEBUG - ====Verifying policy data for ctest-vn-11882858 in API_Server ====== 2026-02-04 12:26:27,840 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-04 12:26:27,845 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ca164b36-13e7-4168-b12c-78af24e3d5bb 2026-02-04 12:26:27,856 - DEBUG - Requesting: http://10.0.0.50:8082/project/24cfe65e-bb1c-428d-90a0-79c55a81fecf 2026-02-04 12:26:27,920 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7aac3975-f5e1-4a8b-9f3a-c809900f9f51 2026-02-04 12:26:27,928 - DEBUG - ==>Verifying data for policy with id: 9d13dd36-fe26-48d1-8415-1a3806c11c30, fqn: ['default-domain', 'ctest-TestBasicPolicy-68671973', 'ctest-policy-allow-all-70238604'] 2026-02-04 12:26:27,928 - INFO - VN ctest-vn-11882858 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 12:26:27,928 - DEBUG - Verifying the vn in opserver 2026-02-04 12:26:27,928 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-11882858 virtual network link through opserver 10.0.0.50 2026-02-04 12:26:27,928 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-04 12:26:27,937 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-11882858', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-11882858?flat'} 2026-02-04 12:26:27,937 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-11882858 is found in opserver 2026-02-04 12:26:27,947 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 12:26:27,952 - DEBUG - VRF ids for VN ctest-vn-11882858: {} 2026-02-04 12:26:28,010 - DEBUG - Services list from nova: [, , ] 2026-02-04 12:26:29,029 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5205-1) 2026-02-04 12:26:30,251 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5205-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5205-1) 2026-02-04 12:26:30,251 - INFO - Waiting for VM ctest-TestBasicPolicy-68671973-94549365 to be up.. 2026-02-04 12:26:30,344 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-04 12:26:35,427 - DEBUG - VM is in ACTIVE state now 2026-02-04 12:26:35,427 - INFO - VM name : ctest-TestBasicPolicy-68671973-94549365 2026-02-04 12:26:35,525 - DEBUG - VM ctest-TestBasicPolicy-68671973-94549365 ID is 9d2589ae-ac11-4673-a7b2-4078d6798d75 2026-02-04 12:26:35,547 - DEBUG - VM ctest-TestBasicPolicy-68671973-94549365 launched on Node cn-jenkins-deploy-platform-ansible-os-5205-1 2026-02-04 12:26:35,634 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9d2589ae-ac11-4673-a7b2-4078d6798d75 2026-02-04 12:26:35,643 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1f34d911-f60a-48ee-bca3-4a5ce7b413f5 2026-02-04 12:26:38,920 - 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 1027ms') 2026-02-04 12:26:38,921 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68671973-94549365 failed! 2026-02-04 12:26:38,973 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68671973:ctest-vn-94084653 is 188.176.45.193 and allocation pool is NOT set 2026-02-04 12:26:41,038 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.784 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.784/4.328/7.873/3.544 ms') 2026-02-04 12:26:41,038 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68671973-94549365 passed 2026-02-04 12:26:41,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 12:26:41,190 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68671973-94549365, IP 188.176.45.195, Port 22 2026-02-04 12:26:41,256 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-04 12:26:41,334 - DEBUG - VM ctest-TestBasicPolicy-68671973-94549365 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-04 12:26:46,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 12:26:46,335 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68671973-94549365, IP 188.176.45.195, Port 22 2026-02-04 12:26:46,503 - DEBUG - VM ctest-TestBasicPolicy-68671973-94549365 is ready for SSH connections 2026-02-04 12:26:46,505 - INFO - Waiting for VM ctest-TestBasicPolicy-68671973-09281026 to be up.. 2026-02-04 12:26:46,582 - DEBUG - VM is in ACTIVE state now 2026-02-04 12:26:46,582 - INFO - VM name : ctest-TestBasicPolicy-68671973-09281026 2026-02-04 12:26:46,668 - DEBUG - VM ctest-TestBasicPolicy-68671973-09281026 ID is c1fb6ee1-af66-4f35-b082-ce0a214985eb 2026-02-04 12:26:46,668 - DEBUG - VM ctest-TestBasicPolicy-68671973-09281026 launched on Node cn-jenkins-deploy-platform-ansible-os-5205-1 2026-02-04 12:26:46,750 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c1fb6ee1-af66-4f35-b082-ce0a214985eb 2026-02-04 12:26:46,759 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8486385d-76f7-44d7-a16a-cd63ed4a2474 2026-02-04 12:26:47,995 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.603/2.772/1.169 ms') 2026-02-04 12:26:47,996 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68671973-09281026 passed 2026-02-04 12:26:48,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 12:26:48,146 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68671973-09281026, IP 103.56.146.195, Port 22 2026-02-04 12:26:48,301 - DEBUG - VM ctest-TestBasicPolicy-68671973-09281026 is ready for SSH connections 2026-02-04 12:26:48,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 12:26:48,302 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.56.146.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-04 12:26:48,302 - DEBUG - ping -s 56 -c 3 -W 1 103.56.146.195 2026-02-04 12:26:52,371 - DEBUG - PING 103.56.146.195 (103.56.146.195): 56 data bytes 64 bytes from 103.56.146.195: seq=0 ttl=63 time=4.415 ms 64 bytes from 103.56.146.195: seq=1 ttl=63 time=1.240 ms 64 bytes from 103.56.146.195: seq=2 ttl=63 time=0.940 ms --- 103.56.146.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.940/2.198/4.415 ms 2026-02-04 12:26:52,371 - INFO - Ping to IP 103.56.146.195 from VM ctest-TestBasicPolicy-68671973-94549365 passed 2026-02-04 12:26:52,553 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9d13dd36-fe26-48d1-8415-1a3806c11c30", "href": "http://10.0.0.50:8082/network-policy/9d13dd36-fe26-48d1-8415-1a3806c11c30"}} 2026-02-04 12:26:52,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 12:26:52,554 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.56.146.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-04 12:26:52,554 - DEBUG - ping -s 56 -c 3 -W 1 103.56.146.195 2026-02-04 12:26:55,772 - DEBUG - PING 103.56.146.195 (103.56.146.195): 56 data bytes --- 103.56.146.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-04 12:26:55,772 - WARNING - Ping to IP 103.56.146.195 from VM ctest-TestBasicPolicy-68671973-94549365 failed 2026-02-04 12:26:55,773 - INFO - Deleting VM ctest-TestBasicPolicy-68671973-09281026 2026-02-04 12:26:55,851 - INFO - Deleting VM ctest-TestBasicPolicy-68671973-94549365 2026-02-04 12:26:56,249 - INFO - Deleted policy ctest-policy-allow-all-70238604 2026-02-04 12:26:56,249 - INFO - Deleting VN ctest-vn-11882858 2026-02-04 12:26:56,294 - DEBUG - VN 7aac3975-f5e1-4a8b-9f3a-c809900f9f51 still in use: Unable to complete operation on network 7aac3975-f5e1-4a8b-9f3a-c809900f9f51. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fba6d5a8-6ce5-444b-9278-a58da0258ad5'] 2026-02-04 12:26:56,294 - WARNING - Deleting VN ctest-vn-11882858 failed..Will retry 2026-02-04 12:26:58,412 - DEBUG - Response for deleting network () 2026-02-04 12:26:58,413 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/59b9812f-fa78-475f-a911-38ee6123cea0 2026-02-04 12:26:58,418 - DEBUG - Response Code: 404 2026-02-04 12:26:58,418 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-04 12:26:58,423 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ca164b36-13e7-4168-b12c-78af24e3d5bb 2026-02-04 12:26:58,479 - DEBUG - Requesting: http://10.0.0.50:8082/project/24cfe65e-bb1c-428d-90a0-79c55a81fecf 2026-02-04 12:26:58,551 - INFO - Validated that VN ctest-vn-11882858 is not found in API Server 2026-02-04 12:26:58,561 - DEBUG - VN ctest-vn-11882858 is not present in Agent 10.0.0.50 2026-02-04 12:26:58,561 - INFO - Validated that VN ctest-vn-11882858 is not in any agent 2026-02-04 12:26:58,575 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11882858 info 2026-02-04 12:26:58,575 - INFO - Deleting VN ctest-vn-94084653 2026-02-04 12:26:58,687 - DEBUG - Response for deleting network () 2026-02-04 12:26:58,687 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a27fa7f0-6b6b-48b9-9984-1e5a5d370919 2026-02-04 12:26:58,692 - DEBUG - Response Code: 404 2026-02-04 12:26:58,692 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-04 12:26:58,698 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ca164b36-13e7-4168-b12c-78af24e3d5bb 2026-02-04 12:26:58,751 - DEBUG - Requesting: http://10.0.0.50:8082/project/24cfe65e-bb1c-428d-90a0-79c55a81fecf 2026-02-04 12:26:58,826 - INFO - Validated that VN ctest-vn-94084653 is not found in API Server 2026-02-04 12:26:58,835 - DEBUG - VN ctest-vn-94084653 is not present in Agent 10.0.0.50 2026-02-04 12:26:58,835 - INFO - Validated that VN ctest-vn-94084653 is not in any agent 2026-02-04 12:26:58,851 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94084653 info 2026-02-04 12:26:59,107 - DEBUG - No XMPP flaps were noticed during the test
2026-02-04 12:26:59,107 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-02-04 12:26:59,107 - INFO - -------------------------------------------------------------------------------- 2026-02-04 12:26:59,785 - INFO - Deleted project: ctest-TestBasicPolicy-68671973, ID : 24cfe65e-bb1c-428d-90a0-79c55a81fecf