2026-05-25 02:08:24,152 - INFO - Domain Default found not creating 2026-05-25 02:08:24,346 - INFO - Project ctest-TestBasicPolicy-25496803 not found, creating it 2026-05-25 02:08:24,816 - INFO - Created Project:ctest-TestBasicPolicy-25496803, ID : b991bbd3-358b-4937-bd33-b25bfe449ff9 2026-05-25 02:08:26,360 - INFO - ================================================================================ 2026-05-25 02:08:26,360 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-25 02:08:26,360 - 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-05-25 02:08:26,617 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.14': '0'}} with 2026-05-25 02:08:26,617 - INFO - Initial checks done. Running the testcase now 2026-05-25 02:08:26,617 - INFO - 2026-05-25 02:08:27,204 - DEBUG - Response for create_network : {'network': {'id': 'ec6ddc7c-c306-43c1-9be0-1f0975dbdc1d', 'name': 'ctest-vn-52334607', 'tenant_id': 'b991bbd3358b4937bd33b25bfe449ff9', 'project_id': 'b991bbd3358b4937bd33b25bfe449ff9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25496803', 'ctest-vn-52334607'], 'port_security_enabled': True, 'description': ''}} 2026-05-25 02:08:27,388 - DEBUG - Response for create_subnet : {'subnet': {'id': '5567a8ed-bec1-4277-8d4a-c833d68122d7', 'name': '', 'tenant_id': 'b991bbd3358b4937bd33b25bfe449ff9', 'network_id': 'ec6ddc7c-c306-43c1-9be0-1f0975dbdc1d', 'ip_version': 4, 'cidr': '2.234.65.0/26', 'allocation_pools': [{'start': '2.234.65.2', 'end': '2.234.65.62'}], 'gateway_ip': '2.234.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.234.65.2', 'tags': [], 'project_id': 'b991bbd3358b4937bd33b25bfe449ff9'}} 2026-05-25 02:08:27,407 - INFO - Created VN ctest-vn-52334607 2026-05-25 02:08:27,461 - DEBUG - VN ctest-vn-52334607 UUID is ec6ddc7c-c306-43c1-9be0-1f0975dbdc1d 2026-05-25 02:08:27,758 - DEBUG - Response for create_network : {'network': {'id': '056480da-c2b0-4833-8e58-e2187311379f', 'name': 'ctest-vn-70531418', 'tenant_id': 'b991bbd3358b4937bd33b25bfe449ff9', 'project_id': 'b991bbd3358b4937bd33b25bfe449ff9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25496803', 'ctest-vn-70531418'], 'port_security_enabled': True, 'description': ''}} 2026-05-25 02:08:27,947 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7a198f5-eead-489d-98cc-2dfce69dc17b', 'name': '', 'tenant_id': 'b991bbd3358b4937bd33b25bfe449ff9', 'network_id': '056480da-c2b0-4833-8e58-e2187311379f', 'ip_version': 4, 'cidr': '124.9.74.192/26', 'allocation_pools': [{'start': '124.9.74.194', 'end': '124.9.74.254'}], 'gateway_ip': '124.9.74.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.9.74.194', 'tags': [], 'project_id': 'b991bbd3358b4937bd33b25bfe449ff9'}} 2026-05-25 02:08:27,965 - INFO - Created VN ctest-vn-70531418 2026-05-25 02:08:28,017 - DEBUG - VN ctest-vn-70531418 UUID is 056480da-c2b0-4833-8e58-e2187311379f 2026-05-25 02:08:28,131 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25496803:ctest-vn-52334607, 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-25496803:ctest-vn-70531418, 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-05-25 02:08:28,439 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec6ddc7c-c306-43c1-9be0-1f0975dbdc1d', 'name': 'ctest-vn-52334607', 'tenant_id': 'b991bbd3358b4937bd33b25bfe449ff9', 'project_id': 'b991bbd3358b4937bd33b25bfe449ff9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5567a8ed-bec1-4277-8d4a-c833d68122d7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25496803', 'ctest-vn-52334607'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25496803', 'ctest-policy-allow-all-23246221']], 'subnet_ipam': [{'subnet_cidr': '2.234.65.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-25 02:08:28,682 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '056480da-c2b0-4833-8e58-e2187311379f', 'name': 'ctest-vn-70531418', 'tenant_id': 'b991bbd3358b4937bd33b25bfe449ff9', 'project_id': 'b991bbd3358b4937bd33b25bfe449ff9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7a198f5-eead-489d-98cc-2dfce69dc17b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25496803', 'ctest-vn-70531418'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25496803', 'ctest-policy-allow-all-23246221']], 'subnet_ipam': [{'subnet_cidr': '124.9.74.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-25 02:08:28,857 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-25 02:08:29,152 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-25 02:08:29,185 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f0123549-2e3a-42ce-9070-21413de15b92 2026-05-25 02:08:29,197 - DEBUG - Requesting: http://10.0.0.41:8082/project/b991bbd3-358b-4937-bd33-b25bfe449ff9 2026-05-25 02:08:29,271 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/ec6ddc7c-c306-43c1-9be0-1f0975dbdc1d 2026-05-25 02:08:29,284 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/ec6ddc7c-c306-43c1-9be0-1f0975dbdc1d 2026-05-25 02:08:29,295 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/89c117a6-de6e-4993-a2aa-e97c6d7b2e84 2026-05-25 02:08:29,303 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/89c117a6-de6e-4993-a2aa-e97c6d7b2e84 2026-05-25 02:08:29,310 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/7156cbc4-76eb-45b7-9376-e243f5fc146f 2026-05-25 02:08:29,318 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-25 02:08:29,318 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/ec6ddc7c-c306-43c1-9be0-1f0975dbdc1d 2026-05-25 02:08:29,327 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/89c117a6-de6e-4993-a2aa-e97c6d7b2e84 2026-05-25 02:08:29,342 - INFO - Verified VN network id 11 for VN ec6ddc7c-c306-43c1-9be0-1f0975dbdc1d 2026-05-25 02:08:29,343 - INFO - Verifications in API Server for VN ctest-vn-52334607 passed 2026-05-25 02:08:29,343 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/ec6ddc7c-c306-43c1-9be0-1f0975dbdc1d 2026-05-25 02:08:29,352 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/89c117a6-de6e-4993-a2aa-e97c6d7b2e84 2026-05-25 02:08:29,360 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/89c117a6-de6e-4993-a2aa-e97c6d7b2e84 2026-05-25 02:08:29,368 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/7156cbc4-76eb-45b7-9376-e243f5fc146f 2026-05-25 02:08:29,381 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25496803:ctest-vn-52334607', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25496803', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17036515393818477505', 'uuid-lslong': '11232011596154526749'}, 'enable': 'true', 'created': '2026-05-25T02:08:27', 'last-modified': '2026-05-25T02:08:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964721'} 2026-05-25 02:08:29,387 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-25 02:08:29,388 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52334607 passed 2026-05-25 02:08:29,388 - DEBUG - ====Verifying policy data for ctest-vn-52334607 in API_Server ====== 2026-05-25 02:08:29,388 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-25 02:08:29,393 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f0123549-2e3a-42ce-9070-21413de15b92 2026-05-25 02:08:29,411 - DEBUG - Requesting: http://10.0.0.41:8082/project/b991bbd3-358b-4937-bd33-b25bfe449ff9 2026-05-25 02:08:29,483 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/ec6ddc7c-c306-43c1-9be0-1f0975dbdc1d 2026-05-25 02:08:29,492 - DEBUG - ==>Verifying data for policy with id: f22d85e6-08ec-4304-a50f-da0dfe770f70, fqn: ['default-domain', 'ctest-TestBasicPolicy-25496803', 'ctest-policy-allow-all-23246221'] 2026-05-25 02:08:29,492 - INFO - VN ctest-vn-52334607 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-25 02:08:29,492 - DEBUG - Verifying the vn in opserver 2026-05-25 02:08:29,492 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25496803:ctest-vn-52334607 virtual network link through opserver 10.0.0.41 2026-05-25 02:08:29,492 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-05-25 02:08:29,791 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-05-25 02:08:29,858 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25496803:ctest-vn-52334607', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25496803:ctest-vn-52334607?flat'} 2026-05-25 02:08:29,858 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25496803:ctest-vn-52334607 is found in opserver 2026-05-25 02:08:29,867 - DEBUG - Do not have enough data to verify VN in agent 2026-05-25 02:08:29,872 - DEBUG - VRF ids for VN ctest-vn-52334607: {} 2026-05-25 02:08:29,872 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-25 02:08:29,879 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f0123549-2e3a-42ce-9070-21413de15b92 2026-05-25 02:08:29,890 - DEBUG - Requesting: http://10.0.0.41:8082/project/b991bbd3-358b-4937-bd33-b25bfe449ff9 2026-05-25 02:08:29,965 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/056480da-c2b0-4833-8e58-e2187311379f 2026-05-25 02:08:29,977 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/056480da-c2b0-4833-8e58-e2187311379f 2026-05-25 02:08:29,986 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/e03020f7-8e61-4dc2-858c-9598bee48494 2026-05-25 02:08:29,995 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/e03020f7-8e61-4dc2-858c-9598bee48494 2026-05-25 02:08:30,003 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/eefba586-3d75-4bbf-9d44-d9cf72db3805 2026-05-25 02:08:30,012 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-25 02:08:30,012 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/056480da-c2b0-4833-8e58-e2187311379f 2026-05-25 02:08:30,024 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/e03020f7-8e61-4dc2-858c-9598bee48494 2026-05-25 02:08:30,042 - INFO - Verified VN network id 12 for VN 056480da-c2b0-4833-8e58-e2187311379f 2026-05-25 02:08:30,042 - INFO - Verifications in API Server for VN ctest-vn-70531418 passed 2026-05-25 02:08:30,042 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/056480da-c2b0-4833-8e58-e2187311379f 2026-05-25 02:08:30,052 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/e03020f7-8e61-4dc2-858c-9598bee48494 2026-05-25 02:08:30,060 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/e03020f7-8e61-4dc2-858c-9598bee48494 2026-05-25 02:08:30,067 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/eefba586-3d75-4bbf-9d44-d9cf72db3805 2026-05-25 02:08:30,081 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25496803:ctest-vn-70531418', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25496803', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '388577144918263859', 'uuid-lslong': '10257196745973905311'}, 'enable': 'true', 'created': '2026-05-25T02:08:27', 'last-modified': '2026-05-25T02:08:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.419405'} 2026-05-25 02:08:30,087 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-25 02:08:30,087 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70531418 passed 2026-05-25 02:08:30,088 - DEBUG - ====Verifying policy data for ctest-vn-70531418 in API_Server ====== 2026-05-25 02:08:30,088 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-25 02:08:30,094 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f0123549-2e3a-42ce-9070-21413de15b92 2026-05-25 02:08:30,107 - DEBUG - Requesting: http://10.0.0.41:8082/project/b991bbd3-358b-4937-bd33-b25bfe449ff9 2026-05-25 02:08:30,180 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/056480da-c2b0-4833-8e58-e2187311379f 2026-05-25 02:08:30,191 - DEBUG - ==>Verifying data for policy with id: f22d85e6-08ec-4304-a50f-da0dfe770f70, fqn: ['default-domain', 'ctest-TestBasicPolicy-25496803', 'ctest-policy-allow-all-23246221'] 2026-05-25 02:08:30,191 - INFO - VN ctest-vn-70531418 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-25 02:08:30,191 - DEBUG - Verifying the vn in opserver 2026-05-25 02:08:30,191 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25496803:ctest-vn-70531418 virtual network link through opserver 10.0.0.41 2026-05-25 02:08:30,191 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-05-25 02:08:30,202 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25496803:ctest-vn-70531418', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25496803:ctest-vn-70531418?flat'} 2026-05-25 02:08:30,202 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25496803:ctest-vn-70531418 is found in opserver 2026-05-25 02:08:30,213 - DEBUG - Do not have enough data to verify VN in agent 2026-05-25 02:08:30,219 - DEBUG - VRF ids for VN ctest-vn-70531418: {} 2026-05-25 02:08:30,283 - DEBUG - Services list from nova: [, , ] 2026-05-25 02:08:31,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5818-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5818-1) 2026-05-25 02:08:32,572 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5818-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5818-1) 2026-05-25 02:08:32,573 - INFO - Waiting for VM ctest-TestBasicPolicy-25496803-49268674 to be up.. 2026-05-25 02:08:32,648 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-25 02:08:37,749 - DEBUG - VM is in ACTIVE state now 2026-05-25 02:08:37,749 - INFO - VM name : ctest-TestBasicPolicy-25496803-49268674 2026-05-25 02:08:37,838 - DEBUG - VM ctest-TestBasicPolicy-25496803-49268674 ID is 11676d1d-99f3-468a-96fa-6951517b3cd4 2026-05-25 02:08:37,866 - DEBUG - VM ctest-TestBasicPolicy-25496803-49268674 launched on Node cn-jenkins-deploy-platform-ansible-os-5818-1 2026-05-25 02:08:37,968 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/11676d1d-99f3-468a-96fa-6951517b3cd4 2026-05-25 02:08:37,978 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b3eb44cd-bf35-440e-9c07-3006229516d3 2026-05-25 02:08:41,212 - 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 1030ms') 2026-05-25 02:08:41,212 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25496803-49268674 failed! 2026-05-25 02:08:41,273 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25496803:ctest-vn-52334607 is 2.234.65.1 and allocation pool is NOT set 2026-05-25 02:08:43,334 - 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=9.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.16 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 = 3.162/6.559/9.956/3.397 ms') 2026-05-25 02:08:43,334 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25496803-49268674 passed 2026-05-25 02:08:43,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:08:43,489 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25496803-49268674, IP 2.234.65.3, Port 22 2026-05-25 02:08:43,545 - 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-05-25 02:08:43,627 - DEBUG - VM ctest-TestBasicPolicy-25496803-49268674 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-25 02:08:48,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:08:48,628 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25496803-49268674, IP 2.234.65.3, Port 22 2026-05-25 02:08:48,795 - DEBUG - VM ctest-TestBasicPolicy-25496803-49268674 is ready for SSH connections 2026-05-25 02:08:48,795 - INFO - Waiting for VM ctest-TestBasicPolicy-25496803-66517196 to be up.. 2026-05-25 02:08:48,878 - DEBUG - VM is in ACTIVE state now 2026-05-25 02:08:48,878 - INFO - VM name : ctest-TestBasicPolicy-25496803-66517196 2026-05-25 02:08:48,962 - DEBUG - VM ctest-TestBasicPolicy-25496803-66517196 ID is 8444efd0-df18-40dc-bcb5-5cbb892457a9 2026-05-25 02:08:48,962 - DEBUG - VM ctest-TestBasicPolicy-25496803-66517196 launched on Node cn-jenkins-deploy-platform-ansible-os-5818-1 2026-05-25 02:08:49,048 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/8444efd0-df18-40dc-bcb5-5cbb892457a9 2026-05-25 02:08:49,059 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/24cf48a3-58df-4d99-ad89-1fc63b044dac 2026-05-25 02:08:50,319 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.656 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.656/1.705/2.754/1.049 ms') 2026-05-25 02:08:50,319 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-25496803-66517196 passed 2026-05-25 02:08:50,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:08:50,477 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25496803-66517196, IP 124.9.74.195, Port 22 2026-05-25 02:08:50,646 - DEBUG - VM ctest-TestBasicPolicy-25496803-66517196 is ready for SSH connections 2026-05-25 02:08:50,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:08:50,647 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.9.74.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-25 02:08:50,647 - DEBUG - ping -s 56 -c 3 -W 1 124.9.74.195 2026-05-25 02:08:54,706 - DEBUG - PING 124.9.74.195 (124.9.74.195): 56 data bytes 64 bytes from 124.9.74.195: seq=0 ttl=63 time=4.191 ms 64 bytes from 124.9.74.195: seq=1 ttl=63 time=1.299 ms 64 bytes from 124.9.74.195: seq=2 ttl=63 time=1.010 ms --- 124.9.74.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.010/2.166/4.191 ms 2026-05-25 02:08:54,706 - INFO - Ping to IP 124.9.74.195 from VM ctest-TestBasicPolicy-25496803-49268674 passed 2026-05-25 02:08:54,892 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f22d85e6-08ec-4304-a50f-da0dfe770f70", "href": "http://10.0.0.41:8082/network-policy/f22d85e6-08ec-4304-a50f-da0dfe770f70"}} 2026-05-25 02:08:54,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-25 02:08:54,893 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.9.74.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-25 02:08:54,893 - DEBUG - ping -s 56 -c 3 -W 1 124.9.74.195 2026-05-25 02:08:58,111 - DEBUG - PING 124.9.74.195 (124.9.74.195): 56 data bytes --- 124.9.74.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-25 02:08:58,111 - WARNING - Ping to IP 124.9.74.195 from VM ctest-TestBasicPolicy-25496803-49268674 failed 2026-05-25 02:08:58,111 - INFO - Deleting VM ctest-TestBasicPolicy-25496803-66517196 2026-05-25 02:08:58,192 - INFO - Deleting VM ctest-TestBasicPolicy-25496803-49268674 2026-05-25 02:08:58,609 - INFO - Deleted policy ctest-policy-allow-all-23246221 2026-05-25 02:08:58,610 - INFO - Deleting VN ctest-vn-70531418 2026-05-25 02:08:58,649 - DEBUG - VN 056480da-c2b0-4833-8e58-e2187311379f still in use: Unable to complete operation on network 056480da-c2b0-4833-8e58-e2187311379f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a9899761-61dc-4d05-b1d0-24b61204ece6'] 2026-05-25 02:08:58,649 - WARNING - Deleting VN ctest-vn-70531418 failed..Will retry 2026-05-25 02:09:00,773 - DEBUG - Response for deleting network () 2026-05-25 02:09:00,773 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/e03020f7-8e61-4dc2-858c-9598bee48494 2026-05-25 02:09:00,779 - DEBUG - Response Code: 404 2026-05-25 02:09:00,779 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-25 02:09:00,786 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f0123549-2e3a-42ce-9070-21413de15b92 2026-05-25 02:09:00,844 - DEBUG - Requesting: http://10.0.0.41:8082/project/b991bbd3-358b-4937-bd33-b25bfe449ff9 2026-05-25 02:09:00,918 - INFO - Validated that VN ctest-vn-70531418 is not found in API Server 2026-05-25 02:09:00,930 - DEBUG - VN ctest-vn-70531418 is not present in Agent 10.0.0.41 2026-05-25 02:09:00,930 - INFO - Validated that VN ctest-vn-70531418 is not in any agent 2026-05-25 02:09:00,945 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70531418 info 2026-05-25 02:09:00,945 - INFO - Deleting VN ctest-vn-52334607 2026-05-25 02:09:01,080 - DEBUG - Response for deleting network () 2026-05-25 02:09:01,080 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/89c117a6-de6e-4993-a2aa-e97c6d7b2e84 2026-05-25 02:09:01,086 - DEBUG - Response Code: 404 2026-05-25 02:09:01,086 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-05-25 02:09:01,092 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f0123549-2e3a-42ce-9070-21413de15b92 2026-05-25 02:09:01,148 - DEBUG - Requesting: http://10.0.0.41:8082/project/b991bbd3-358b-4937-bd33-b25bfe449ff9 2026-05-25 02:09:01,221 - INFO - Validated that VN ctest-vn-52334607 is not found in API Server 2026-05-25 02:09:01,235 - DEBUG - VN ctest-vn-52334607 is not present in Agent 10.0.0.41 2026-05-25 02:09:01,235 - INFO - Validated that VN ctest-vn-52334607 is not in any agent 2026-05-25 02:09:01,251 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52334607 info 2026-05-25 02:09:01,508 - DEBUG - No XMPP flaps were noticed during the test
2026-05-25 02:09:01,508 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-05-25 02:09:01,508 - INFO - -------------------------------------------------------------------------------- 2026-05-25 02:09:02,244 - INFO - Deleted project: ctest-TestBasicPolicy-25496803, ID : b991bbd3-358b-4937-bd33-b25bfe449ff9