2026-01-15 02:09:22,000 - INFO - Domain Default found not creating 2026-01-15 02:09:22,182 - INFO - Project ctest-TestBasicPolicy-48453657 not found, creating it 2026-01-15 02:09:22,638 - INFO - Created Project:ctest-TestBasicPolicy-48453657, ID : 9e764afb-799b-4d11-9acc-f56ad0678aa1 2026-01-15 02:09:24,165 - INFO - ================================================================================ 2026-01-15 02:09:24,165 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-15 02:09:24,165 - 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-15 02:09:24,428 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.252': '0'}} with 2026-01-15 02:09:24,428 - INFO - Initial checks done. Running the testcase now 2026-01-15 02:09:24,428 - INFO - 2026-01-15 02:09:25,014 - DEBUG - Response for create_network : {'network': {'id': '8aaeca29-17ae-4d68-a5a7-ac06cfcc9457', 'name': 'ctest-vn-45925735', 'tenant_id': '9e764afb799b4d119accf56ad0678aa1', 'project_id': '9e764afb799b4d119accf56ad0678aa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48453657', 'ctest-vn-45925735'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 02:09:25,187 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f30569d-37a2-48cd-8ab7-eb3c01f4c891', 'name': '', 'tenant_id': '9e764afb799b4d119accf56ad0678aa1', 'network_id': '8aaeca29-17ae-4d68-a5a7-ac06cfcc9457', 'ip_version': 4, 'cidr': '184.126.71.0/26', 'allocation_pools': [{'start': '184.126.71.2', 'end': '184.126.71.62'}], 'gateway_ip': '184.126.71.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.126.71.2', 'tags': [], 'project_id': '9e764afb799b4d119accf56ad0678aa1'}} 2026-01-15 02:09:25,208 - INFO - Created VN ctest-vn-45925735 2026-01-15 02:09:25,263 - DEBUG - VN ctest-vn-45925735 UUID is 8aaeca29-17ae-4d68-a5a7-ac06cfcc9457 2026-01-15 02:09:25,567 - DEBUG - Response for create_network : {'network': {'id': '7f85cbd9-1a3d-49ee-be3c-95257da1297e', 'name': 'ctest-vn-14246067', 'tenant_id': '9e764afb799b4d119accf56ad0678aa1', 'project_id': '9e764afb799b4d119accf56ad0678aa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48453657', 'ctest-vn-14246067'], 'port_security_enabled': True, 'description': ''}} 2026-01-15 02:09:25,756 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a39f073-2708-495b-ab76-664d22efddd7', 'name': '', 'tenant_id': '9e764afb799b4d119accf56ad0678aa1', 'network_id': '7f85cbd9-1a3d-49ee-be3c-95257da1297e', 'ip_version': 4, 'cidr': '61.220.86.0/26', 'allocation_pools': [{'start': '61.220.86.2', 'end': '61.220.86.62'}], 'gateway_ip': '61.220.86.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.220.86.2', 'tags': [], 'project_id': '9e764afb799b4d119accf56ad0678aa1'}} 2026-01-15 02:09:25,775 - INFO - Created VN ctest-vn-14246067 2026-01-15 02:09:25,827 - DEBUG - VN ctest-vn-14246067 UUID is 7f85cbd9-1a3d-49ee-be3c-95257da1297e 2026-01-15 02:09:25,944 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-45925735, 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-48453657:ctest-vn-14246067, 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-15 02:09:26,234 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8aaeca29-17ae-4d68-a5a7-ac06cfcc9457', 'name': 'ctest-vn-45925735', 'tenant_id': '9e764afb799b4d119accf56ad0678aa1', 'project_id': '9e764afb799b4d119accf56ad0678aa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4f30569d-37a2-48cd-8ab7-eb3c01f4c891'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48453657', 'ctest-vn-45925735'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48453657', 'ctest-policy-allow-all-14760729']], 'subnet_ipam': [{'subnet_cidr': '184.126.71.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-15 02:09:26,469 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f85cbd9-1a3d-49ee-be3c-95257da1297e', 'name': 'ctest-vn-14246067', 'tenant_id': '9e764afb799b4d119accf56ad0678aa1', 'project_id': '9e764afb799b4d119accf56ad0678aa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1a39f073-2708-495b-ab76-664d22efddd7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48453657', 'ctest-vn-14246067'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48453657', 'ctest-policy-allow-all-14760729']], 'subnet_ipam': [{'subnet_cidr': '61.220.86.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-15 02:09:26,627 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-15 02:09:26,936 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-15 02:09:26,969 - DEBUG - Requesting: http://10.0.0.240:8082/domain/2b19168e-0afd-472a-bce0-903310b4dcbf 2026-01-15 02:09:26,981 - DEBUG - Requesting: http://10.0.0.240:8082/project/9e764afb-799b-4d11-9acc-f56ad0678aa1 2026-01-15 02:09:27,055 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8aaeca29-17ae-4d68-a5a7-ac06cfcc9457 2026-01-15 02:09:27,065 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8aaeca29-17ae-4d68-a5a7-ac06cfcc9457 2026-01-15 02:09:27,075 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/521fafa9-29ae-486a-8681-3709879e0578 2026-01-15 02:09:27,084 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/521fafa9-29ae-486a-8681-3709879e0578 2026-01-15 02:09:27,092 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/7d8ebcc5-4c7f-40c6-b376-4e2853906960 2026-01-15 02:09:27,101 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-15 02:09:27,101 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8aaeca29-17ae-4d68-a5a7-ac06cfcc9457 2026-01-15 02:09:27,113 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/521fafa9-29ae-486a-8681-3709879e0578 2026-01-15 02:09:27,131 - INFO - Verified VN network id 11 for VN 8aaeca29-17ae-4d68-a5a7-ac06cfcc9457 2026-01-15 02:09:27,131 - INFO - Verifications in API Server for VN ctest-vn-45925735 passed 2026-01-15 02:09:27,131 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8aaeca29-17ae-4d68-a5a7-ac06cfcc9457 2026-01-15 02:09:27,142 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/521fafa9-29ae-486a-8681-3709879e0578 2026-01-15 02:09:27,150 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/521fafa9-29ae-486a-8681-3709879e0578 2026-01-15 02:09:27,158 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/7d8ebcc5-4c7f-40c6-b376-4e2853906960 2026-01-15 02:09:27,171 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-45925735', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48453657', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9993146901021478248', 'uuid-lslong': '11936698482624861271'}, 'enable': 'true', 'created': '2026-01-15T02:09:24', 'last-modified': '2026-01-15T02:09:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.959146'} 2026-01-15 02:09:27,177 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-15 02:09:27,178 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45925735 passed 2026-01-15 02:09:27,178 - DEBUG - ====Verifying policy data for ctest-vn-45925735 in API_Server ====== 2026-01-15 02:09:27,178 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-15 02:09:27,184 - DEBUG - Requesting: http://10.0.0.240:8082/domain/2b19168e-0afd-472a-bce0-903310b4dcbf 2026-01-15 02:09:27,195 - DEBUG - Requesting: http://10.0.0.240:8082/project/9e764afb-799b-4d11-9acc-f56ad0678aa1 2026-01-15 02:09:27,266 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8aaeca29-17ae-4d68-a5a7-ac06cfcc9457 2026-01-15 02:09:27,277 - DEBUG - ==>Verifying data for policy with id: 434483ef-d953-4aec-8ea0-13863eb6e9ac, fqn: ['default-domain', 'ctest-TestBasicPolicy-48453657', 'ctest-policy-allow-all-14760729'] 2026-01-15 02:09:27,277 - INFO - VN ctest-vn-45925735 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-15 02:09:27,277 - DEBUG - Verifying the vn in opserver 2026-01-15 02:09:27,277 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-45925735 virtual network link through opserver 10.0.0.240 2026-01-15 02:09:27,277 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-01-15 02:09:27,593 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-01-15 02:09:27,658 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-45925735', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-45925735?flat'} 2026-01-15 02:09:27,659 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-45925735 is found in opserver 2026-01-15 02:09:27,668 - DEBUG - Do not have enough data to verify VN in agent 2026-01-15 02:09:27,672 - DEBUG - VRF ids for VN ctest-vn-45925735: {} 2026-01-15 02:09:27,673 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-15 02:09:27,678 - DEBUG - Requesting: http://10.0.0.240:8082/domain/2b19168e-0afd-472a-bce0-903310b4dcbf 2026-01-15 02:09:27,688 - DEBUG - Requesting: http://10.0.0.240:8082/project/9e764afb-799b-4d11-9acc-f56ad0678aa1 2026-01-15 02:09:27,761 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/7f85cbd9-1a3d-49ee-be3c-95257da1297e 2026-01-15 02:09:27,772 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/7f85cbd9-1a3d-49ee-be3c-95257da1297e 2026-01-15 02:09:27,780 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0da91e83-5175-4d29-9cf8-146489966b54 2026-01-15 02:09:27,787 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0da91e83-5175-4d29-9cf8-146489966b54 2026-01-15 02:09:27,795 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/924c333c-46bd-4ffc-b2d0-223682a80cab 2026-01-15 02:09:27,803 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-15 02:09:27,803 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/7f85cbd9-1a3d-49ee-be3c-95257da1297e 2026-01-15 02:09:27,813 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0da91e83-5175-4d29-9cf8-146489966b54 2026-01-15 02:09:27,830 - INFO - Verified VN network id 12 for VN 7f85cbd9-1a3d-49ee-be3c-95257da1297e 2026-01-15 02:09:27,830 - INFO - Verifications in API Server for VN ctest-vn-14246067 passed 2026-01-15 02:09:27,830 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/7f85cbd9-1a3d-49ee-be3c-95257da1297e 2026-01-15 02:09:27,839 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0da91e83-5175-4d29-9cf8-146489966b54 2026-01-15 02:09:27,846 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0da91e83-5175-4d29-9cf8-146489966b54 2026-01-15 02:09:27,858 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/924c333c-46bd-4ffc-b2d0-223682a80cab 2026-01-15 02:09:27,870 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-14246067', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48453657', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9188974748027931118', 'uuid-lslong': '13707995354062989694'}, 'enable': 'true', 'created': '2026-01-15T02:09:25', 'last-modified': '2026-01-15T02:09:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.429982'} 2026-01-15 02:09:27,876 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-15 02:09:27,876 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14246067 passed 2026-01-15 02:09:27,876 - DEBUG - ====Verifying policy data for ctest-vn-14246067 in API_Server ====== 2026-01-15 02:09:27,876 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-15 02:09:27,884 - DEBUG - Requesting: http://10.0.0.240:8082/domain/2b19168e-0afd-472a-bce0-903310b4dcbf 2026-01-15 02:09:27,894 - DEBUG - Requesting: http://10.0.0.240:8082/project/9e764afb-799b-4d11-9acc-f56ad0678aa1 2026-01-15 02:09:27,965 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/7f85cbd9-1a3d-49ee-be3c-95257da1297e 2026-01-15 02:09:27,974 - DEBUG - ==>Verifying data for policy with id: 434483ef-d953-4aec-8ea0-13863eb6e9ac, fqn: ['default-domain', 'ctest-TestBasicPolicy-48453657', 'ctest-policy-allow-all-14760729'] 2026-01-15 02:09:27,974 - INFO - VN ctest-vn-14246067 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-15 02:09:27,974 - DEBUG - Verifying the vn in opserver 2026-01-15 02:09:27,974 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-14246067 virtual network link through opserver 10.0.0.240 2026-01-15 02:09:27,974 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-01-15 02:09:27,983 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-14246067', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-14246067?flat'} 2026-01-15 02:09:27,983 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-14246067 is found in opserver 2026-01-15 02:09:27,992 - DEBUG - Do not have enough data to verify VN in agent 2026-01-15 02:09:27,996 - DEBUG - VRF ids for VN ctest-vn-14246067: {} 2026-01-15 02:09:28,057 - DEBUG - Services list from nova: [, , ] 2026-01-15 02:09:29,142 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5010-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5010-1) 2026-01-15 02:09:30,376 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5010-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5010-1) 2026-01-15 02:09:30,376 - INFO - Waiting for VM ctest-TestBasicPolicy-48453657-75362506 to be up.. 2026-01-15 02:09:30,460 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-15 02:09:35,542 - DEBUG - VM is in ACTIVE state now 2026-01-15 02:09:35,542 - INFO - VM name : ctest-TestBasicPolicy-48453657-75362506 2026-01-15 02:09:35,625 - DEBUG - VM ctest-TestBasicPolicy-48453657-75362506 ID is a200c3ae-aab1-487f-9136-98bd7f0211f4 2026-01-15 02:09:35,663 - DEBUG - VM ctest-TestBasicPolicy-48453657-75362506 launched on Node cn-jenkins-deploy-platform-ansible-os-5010-1 2026-01-15 02:09:35,743 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/a200c3ae-aab1-487f-9136-98bd7f0211f4 2026-01-15 02:09:35,753 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/55352c20-4cbb-411d-b54b-3318492b3f3c 2026-01-15 02:09:39,021 - 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') 2026-01-15 02:09:39,021 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48453657-75362506 failed! 2026-01-15 02:09:39,075 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-45925735 is 184.126.71.1 and allocation pool is NOT set 2026-01-15 02:09:41,139 - 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=6.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.14 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 = 2.143/4.559/6.975/2.416 ms') 2026-01-15 02:09:41,139 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48453657-75362506 passed 2026-01-15 02:09:41,291 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:09:41,291 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48453657-75362506, IP 184.126.71.3, Port 22 2026-01-15 02:09:41,364 - 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-01-15 02:09:41,444 - DEBUG - VM ctest-TestBasicPolicy-48453657-75362506 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-15 02:09:46,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:09:46,446 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48453657-75362506, IP 184.126.71.3, Port 22 2026-01-15 02:09:46,618 - DEBUG - VM ctest-TestBasicPolicy-48453657-75362506 is ready for SSH connections 2026-01-15 02:09:46,618 - INFO - Waiting for VM ctest-TestBasicPolicy-48453657-88438684 to be up.. 2026-01-15 02:09:46,689 - DEBUG - VM is in ACTIVE state now 2026-01-15 02:09:46,689 - INFO - VM name : ctest-TestBasicPolicy-48453657-88438684 2026-01-15 02:09:46,761 - DEBUG - VM ctest-TestBasicPolicy-48453657-88438684 ID is 87f6f46f-be3d-4214-a12a-04402dca34b6 2026-01-15 02:09:46,761 - DEBUG - VM ctest-TestBasicPolicy-48453657-88438684 launched on Node cn-jenkins-deploy-platform-ansible-os-5010-1 2026-01-15 02:09:46,842 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/87f6f46f-be3d-4214-a12a-04402dca34b6 2026-01-15 02:09:46,851 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/36c2106f-6754-436d-b6ba-5b59199760dd 2026-01-15 02:09:48,089 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/1.603/2.775/1.172 ms') 2026-01-15 02:09:48,089 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48453657-88438684 passed 2026-01-15 02:09:48,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:09:48,239 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48453657-88438684, IP 61.220.86.3, Port 22 2026-01-15 02:09:48,394 - DEBUG - VM ctest-TestBasicPolicy-48453657-88438684 is ready for SSH connections 2026-01-15 02:09:48,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:09:48,395 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.220.86.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-01-15 02:09:48,395 - DEBUG - ping -s 56 -c 3 -W 1 61.220.86.3 2026-01-15 02:09:52,486 - DEBUG - PING 61.220.86.3 (61.220.86.3): 56 data bytes 64 bytes from 61.220.86.3: seq=0 ttl=63 time=3.557 ms 64 bytes from 61.220.86.3: seq=1 ttl=63 time=0.910 ms 64 bytes from 61.220.86.3: seq=2 ttl=63 time=1.560 ms --- 61.220.86.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.910/2.009/3.557 ms 2026-01-15 02:09:52,486 - INFO - Ping to IP 61.220.86.3 from VM ctest-TestBasicPolicy-48453657-75362506 passed 2026-01-15 02:09:52,671 - DEBUG - Policy Update Response {"network-policy": {"uuid": "434483ef-d953-4aec-8ea0-13863eb6e9ac", "href": "http://10.0.0.240:8082/network-policy/434483ef-d953-4aec-8ea0-13863eb6e9ac"}} 2026-01-15 02:09:52,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-15 02:09:52,671 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.220.86.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-01-15 02:09:52,671 - DEBUG - ping -s 56 -c 3 -W 1 61.220.86.3 2026-01-15 02:09:55,921 - DEBUG - PING 61.220.86.3 (61.220.86.3): 56 data bytes --- 61.220.86.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-15 02:09:55,922 - WARNING - Ping to IP 61.220.86.3 from VM ctest-TestBasicPolicy-48453657-75362506 failed 2026-01-15 02:09:55,922 - INFO - Deleting VM ctest-TestBasicPolicy-48453657-88438684 2026-01-15 02:09:55,999 - INFO - Deleting VM ctest-TestBasicPolicy-48453657-75362506 2026-01-15 02:09:56,563 - INFO - Deleted policy ctest-policy-allow-all-14760729 2026-01-15 02:09:56,564 - INFO - Deleting VN ctest-vn-14246067 2026-01-15 02:09:56,616 - DEBUG - VN 7f85cbd9-1a3d-49ee-be3c-95257da1297e still in use: Unable to complete operation on network 7f85cbd9-1a3d-49ee-be3c-95257da1297e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-63c32ec9-6ec3-436d-81a6-78cfbc38d744'] 2026-01-15 02:09:56,617 - WARNING - Deleting VN ctest-vn-14246067 failed..Will retry 2026-01-15 02:09:58,714 - DEBUG - Response for deleting network () 2026-01-15 02:09:58,714 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0da91e83-5175-4d29-9cf8-146489966b54 2026-01-15 02:09:58,723 - DEBUG - Response Code: 404 2026-01-15 02:09:58,723 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-15 02:09:58,728 - DEBUG - Requesting: http://10.0.0.240:8082/domain/2b19168e-0afd-472a-bce0-903310b4dcbf 2026-01-15 02:09:58,782 - DEBUG - Requesting: http://10.0.0.240:8082/project/9e764afb-799b-4d11-9acc-f56ad0678aa1 2026-01-15 02:09:58,851 - INFO - Validated that VN ctest-vn-14246067 is not found in API Server 2026-01-15 02:09:58,862 - DEBUG - VN ctest-vn-14246067 is not present in Agent 10.0.0.240 2026-01-15 02:09:58,862 - INFO - Validated that VN ctest-vn-14246067 is not in any agent 2026-01-15 02:09:58,878 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14246067 info 2026-01-15 02:09:58,878 - INFO - Deleting VN ctest-vn-45925735 2026-01-15 02:09:58,987 - DEBUG - Response for deleting network () 2026-01-15 02:09:58,988 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/521fafa9-29ae-486a-8681-3709879e0578 2026-01-15 02:09:58,993 - DEBUG - Response Code: 404 2026-01-15 02:09:58,993 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-15 02:09:58,998 - DEBUG - Requesting: http://10.0.0.240:8082/domain/2b19168e-0afd-472a-bce0-903310b4dcbf 2026-01-15 02:09:59,052 - DEBUG - Requesting: http://10.0.0.240:8082/project/9e764afb-799b-4d11-9acc-f56ad0678aa1 2026-01-15 02:09:59,120 - INFO - Validated that VN ctest-vn-45925735 is not found in API Server 2026-01-15 02:09:59,130 - DEBUG - VN ctest-vn-45925735 is not present in Agent 10.0.0.240 2026-01-15 02:09:59,130 - INFO - Validated that VN ctest-vn-45925735 is not in any agent 2026-01-15 02:09:59,145 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45925735 info 2026-01-15 02:09:59,405 - DEBUG - No XMPP flaps were noticed during the test 2026-01-15 02:09:59,405 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-01-15 02:09:59,405 - INFO - -------------------------------------------------------------------------------- 2026-01-15 02:10:00,095 - INFO - Deleted project: ctest-TestBasicPolicy-48453657, ID : 9e764afb-799b-4d11-9acc-f56ad0678aa1