2026-04-25 02:33:15,907 - INFO - Domain Default found not creating 2026-04-25 02:33:16,093 - INFO - Project ctest-TestBasicPolicy-56481663 not found, creating it 2026-04-25 02:33:16,613 - INFO - Created Project:ctest-TestBasicPolicy-56481663, ID : 1a41cd81-d23e-42e9-b19f-e91c13b0f923 2026-04-25 02:33:18,129 - INFO - ================================================================================ 2026-04-25 02:33:18,129 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-25 02:33:18,129 - 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-04-25 02:33:18,389 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-25 02:33:18,389 - INFO - Initial checks done. Running the testcase now 2026-04-25 02:33:18,389 - INFO - 2026-04-25 02:33:18,979 - DEBUG - Response for create_network : {'network': {'id': 'f92ffaba-6597-4652-9a9c-eb72c0d8d5cb', 'name': 'ctest-vn-77093075', 'tenant_id': '1a41cd81d23e42e9b19fe91c13b0f923', 'project_id': '1a41cd81d23e42e9b19fe91c13b0f923', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56481663', 'ctest-vn-77093075'], 'port_security_enabled': True, 'description': ''}} 2026-04-25 02:33:19,154 - DEBUG - Response for create_subnet : {'subnet': {'id': '57f4afcf-40aa-4615-8100-420c35d061a8', 'name': '', 'tenant_id': '1a41cd81d23e42e9b19fe91c13b0f923', 'network_id': 'f92ffaba-6597-4652-9a9c-eb72c0d8d5cb', 'ip_version': 4, 'cidr': '55.138.5.128/26', 'allocation_pools': [{'start': '55.138.5.130', 'end': '55.138.5.190'}], 'gateway_ip': '55.138.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.138.5.130', 'tags': [], 'project_id': '1a41cd81d23e42e9b19fe91c13b0f923'}} 2026-04-25 02:33:19,176 - INFO - Created VN ctest-vn-77093075 2026-04-25 02:33:19,232 - DEBUG - VN ctest-vn-77093075 UUID is f92ffaba-6597-4652-9a9c-eb72c0d8d5cb 2026-04-25 02:33:19,540 - DEBUG - Response for create_network : {'network': {'id': '6013efeb-e038-4103-9472-5c13570a13e7', 'name': 'ctest-vn-67232188', 'tenant_id': '1a41cd81d23e42e9b19fe91c13b0f923', 'project_id': '1a41cd81d23e42e9b19fe91c13b0f923', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56481663', 'ctest-vn-67232188'], 'port_security_enabled': True, 'description': ''}} 2026-04-25 02:33:19,753 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c8d3034-6b07-4ff3-bac6-f84bfc86f01f', 'name': '', 'tenant_id': '1a41cd81d23e42e9b19fe91c13b0f923', 'network_id': '6013efeb-e038-4103-9472-5c13570a13e7', 'ip_version': 4, 'cidr': '60.20.168.64/26', 'allocation_pools': [{'start': '60.20.168.66', 'end': '60.20.168.126'}], 'gateway_ip': '60.20.168.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.20.168.66', 'tags': [], 'project_id': '1a41cd81d23e42e9b19fe91c13b0f923'}} 2026-04-25 02:33:19,775 - INFO - Created VN ctest-vn-67232188 2026-04-25 02:33:19,828 - DEBUG - VN ctest-vn-67232188 UUID is 6013efeb-e038-4103-9472-5c13570a13e7 2026-04-25 02:33:19,941 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56481663:ctest-vn-77093075, 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-56481663:ctest-vn-67232188, 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-04-25 02:33:20,264 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f92ffaba-6597-4652-9a9c-eb72c0d8d5cb', 'name': 'ctest-vn-77093075', 'tenant_id': '1a41cd81d23e42e9b19fe91c13b0f923', 'project_id': '1a41cd81d23e42e9b19fe91c13b0f923', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57f4afcf-40aa-4615-8100-420c35d061a8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56481663', 'ctest-vn-77093075'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56481663', 'ctest-policy-allow-all-67019970']], 'subnet_ipam': [{'subnet_cidr': '55.138.5.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-25 02:33:20,500 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6013efeb-e038-4103-9472-5c13570a13e7', 'name': 'ctest-vn-67232188', 'tenant_id': '1a41cd81d23e42e9b19fe91c13b0f923', 'project_id': '1a41cd81d23e42e9b19fe91c13b0f923', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1c8d3034-6b07-4ff3-bac6-f84bfc86f01f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56481663', 'ctest-vn-67232188'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56481663', 'ctest-policy-allow-all-67019970']], 'subnet_ipam': [{'subnet_cidr': '60.20.168.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-25 02:33:20,668 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-25 02:33:20,962 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-25 02:33:20,992 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ab743141-afcb-418c-b12a-f6b984c1e7d7 2026-04-25 02:33:21,004 - DEBUG - Requesting: http://10.0.0.50:8082/project/1a41cd81-d23e-42e9-b19f-e91c13b0f923 2026-04-25 02:33:21,073 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f92ffaba-6597-4652-9a9c-eb72c0d8d5cb 2026-04-25 02:33:21,085 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f92ffaba-6597-4652-9a9c-eb72c0d8d5cb 2026-04-25 02:33:21,093 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7d345ad4-b992-4624-ab1d-370819cd1129 2026-04-25 02:33:21,100 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7d345ad4-b992-4624-ab1d-370819cd1129 2026-04-25 02:33:21,106 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/943d6a2b-575d-4f47-97c3-a94c401c0c17 2026-04-25 02:33:21,112 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-25 02:33:21,112 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f92ffaba-6597-4652-9a9c-eb72c0d8d5cb 2026-04-25 02:33:21,121 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7d345ad4-b992-4624-ab1d-370819cd1129 2026-04-25 02:33:21,134 - INFO - Verified VN network id 11 for VN f92ffaba-6597-4652-9a9c-eb72c0d8d5cb 2026-04-25 02:33:21,134 - INFO - Verifications in API Server for VN ctest-vn-77093075 passed 2026-04-25 02:33:21,134 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f92ffaba-6597-4652-9a9c-eb72c0d8d5cb 2026-04-25 02:33:21,143 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7d345ad4-b992-4624-ab1d-370819cd1129 2026-04-25 02:33:21,151 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7d345ad4-b992-4624-ab1d-370819cd1129 2026-04-25 02:33:21,158 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/943d6a2b-575d-4f47-97c3-a94c401c0c17 2026-04-25 02:33:21,171 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56481663:ctest-vn-77093075', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56481663', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17955845917824730706', 'uuid-lslong': '11141038456301999563'}, 'enable': 'true', 'created': '2026-04-25T02:33:18', 'last-modified': '2026-04-25T02:33:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.934643'} 2026-04-25 02:33:21,179 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-25 02:33:21,179 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77093075 passed 2026-04-25 02:33:21,180 - DEBUG - ====Verifying policy data for ctest-vn-77093075 in API_Server ====== 2026-04-25 02:33:21,180 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-25 02:33:21,186 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ab743141-afcb-418c-b12a-f6b984c1e7d7 2026-04-25 02:33:21,197 - DEBUG - Requesting: http://10.0.0.50:8082/project/1a41cd81-d23e-42e9-b19f-e91c13b0f923 2026-04-25 02:33:21,268 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f92ffaba-6597-4652-9a9c-eb72c0d8d5cb 2026-04-25 02:33:21,277 - DEBUG - ==>Verifying data for policy with id: b5828982-2f32-4677-b9f9-a8d19416f057, fqn: ['default-domain', 'ctest-TestBasicPolicy-56481663', 'ctest-policy-allow-all-67019970'] 2026-04-25 02:33:21,277 - INFO - VN ctest-vn-77093075 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-25 02:33:21,278 - DEBUG - Verifying the vn in opserver 2026-04-25 02:33:21,278 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56481663:ctest-vn-77093075 virtual network link through opserver 10.0.0.50 2026-04-25 02:33:21,278 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-25 02:33:21,569 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-25 02:33:21,629 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56481663:ctest-vn-77093075', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56481663:ctest-vn-77093075?flat'} 2026-04-25 02:33:21,629 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56481663:ctest-vn-77093075 is found in opserver 2026-04-25 02:33:21,639 - DEBUG - Do not have enough data to verify VN in agent 2026-04-25 02:33:21,643 - DEBUG - VRF ids for VN ctest-vn-77093075: {} 2026-04-25 02:33:21,643 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-25 02:33:21,648 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ab743141-afcb-418c-b12a-f6b984c1e7d7 2026-04-25 02:33:21,660 - DEBUG - Requesting: http://10.0.0.50:8082/project/1a41cd81-d23e-42e9-b19f-e91c13b0f923 2026-04-25 02:33:21,728 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6013efeb-e038-4103-9472-5c13570a13e7 2026-04-25 02:33:21,739 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6013efeb-e038-4103-9472-5c13570a13e7 2026-04-25 02:33:21,748 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/98349fac-8f05-47bc-91ea-af7eae62c605 2026-04-25 02:33:21,755 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/98349fac-8f05-47bc-91ea-af7eae62c605 2026-04-25 02:33:21,761 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/924628dd-daaa-438c-b6fa-347286d4dd34 2026-04-25 02:33:21,768 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-04-25 02:33:21,769 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6013efeb-e038-4103-9472-5c13570a13e7 2026-04-25 02:33:21,778 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/98349fac-8f05-47bc-91ea-af7eae62c605 2026-04-25 02:33:21,793 - INFO - Verified VN network id 13 for VN 6013efeb-e038-4103-9472-5c13570a13e7 2026-04-25 02:33:21,793 - INFO - Verifications in API Server for VN ctest-vn-67232188 passed 2026-04-25 02:33:21,793 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6013efeb-e038-4103-9472-5c13570a13e7 2026-04-25 02:33:21,803 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/98349fac-8f05-47bc-91ea-af7eae62c605 2026-04-25 02:33:21,811 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/98349fac-8f05-47bc-91ea-af7eae62c605 2026-04-25 02:33:21,818 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/924628dd-daaa-438c-b6fa-347286d4dd34 2026-04-25 02:33:21,832 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56481663:ctest-vn-67232188', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56481663', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6923140848556720387', 'uuid-lslong': '10696713303092761575'}, 'enable': 'true', 'created': '2026-04-25T02:33:19', 'last-modified': '2026-04-25T02:33:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.360163'} 2026-04-25 02:33:21,839 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-04-25 02:33:21,839 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67232188 passed 2026-04-25 02:33:21,839 - DEBUG - ====Verifying policy data for ctest-vn-67232188 in API_Server ====== 2026-04-25 02:33:21,839 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-25 02:33:21,846 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ab743141-afcb-418c-b12a-f6b984c1e7d7 2026-04-25 02:33:21,857 - DEBUG - Requesting: http://10.0.0.50:8082/project/1a41cd81-d23e-42e9-b19f-e91c13b0f923 2026-04-25 02:33:21,927 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6013efeb-e038-4103-9472-5c13570a13e7 2026-04-25 02:33:21,937 - DEBUG - ==>Verifying data for policy with id: b5828982-2f32-4677-b9f9-a8d19416f057, fqn: ['default-domain', 'ctest-TestBasicPolicy-56481663', 'ctest-policy-allow-all-67019970'] 2026-04-25 02:33:21,937 - INFO - VN ctest-vn-67232188 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-25 02:33:21,938 - DEBUG - Verifying the vn in opserver 2026-04-25 02:33:21,938 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56481663:ctest-vn-67232188 virtual network link through opserver 10.0.0.50 2026-04-25 02:33:21,938 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-25 02:33:21,948 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56481663:ctest-vn-67232188', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56481663:ctest-vn-67232188?flat'} 2026-04-25 02:33:21,948 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56481663:ctest-vn-67232188 is found in opserver 2026-04-25 02:33:21,957 - DEBUG - Do not have enough data to verify VN in agent 2026-04-25 02:33:21,962 - DEBUG - VRF ids for VN ctest-vn-67232188: {} 2026-04-25 02:33:22,023 - DEBUG - Services list from nova: [, , ] 2026-04-25 02:33:23,162 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5685-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5685-1) 2026-04-25 02:33:24,318 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5685-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5685-1) 2026-04-25 02:33:24,318 - INFO - Waiting for VM ctest-TestBasicPolicy-56481663-43921681 to be up.. 2026-04-25 02:33:24,402 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-25 02:33:29,479 - DEBUG - VM is in ACTIVE state now 2026-04-25 02:33:29,479 - INFO - VM name : ctest-TestBasicPolicy-56481663-43921681 2026-04-25 02:33:29,551 - DEBUG - VM ctest-TestBasicPolicy-56481663-43921681 ID is d57d6334-9e57-4d2f-af0b-915e26c3193c 2026-04-25 02:33:29,575 - DEBUG - VM ctest-TestBasicPolicy-56481663-43921681 launched on Node cn-jenkins-deploy-platform-ansible-os-5685-1 2026-04-25 02:33:29,662 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d57d6334-9e57-4d2f-af0b-915e26c3193c 2026-04-25 02:33:29,671 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ca55dde2-d059-4100-9911-3d5e8b62dbdb 2026-04-25 02:33:32,934 - 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-04-25 02:33:32,934 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56481663-43921681 failed! 2026-04-25 02:33:32,992 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56481663:ctest-vn-77093075 is 55.138.5.129 and allocation pool is NOT set 2026-04-25 02:33:35,051 - 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=8.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.47 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 = 1.473/4.763/8.054/3.290 ms') 2026-04-25 02:33:35,051 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56481663-43921681 passed 2026-04-25 02:33:35,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-25 02:33:35,200 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56481663-43921681, IP 55.138.5.131, Port 22 2026-04-25 02:33:35,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-04-25 02:33:35,345 - DEBUG - VM ctest-TestBasicPolicy-56481663-43921681 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-25 02:33:40,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-25 02:33:40,346 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56481663-43921681, IP 55.138.5.131, Port 22 2026-04-25 02:33:40,503 - DEBUG - VM ctest-TestBasicPolicy-56481663-43921681 is ready for SSH connections 2026-04-25 02:33:40,503 - INFO - Waiting for VM ctest-TestBasicPolicy-56481663-73889686 to be up.. 2026-04-25 02:33:40,574 - DEBUG - VM is in ACTIVE state now 2026-04-25 02:33:40,574 - INFO - VM name : ctest-TestBasicPolicy-56481663-73889686 2026-04-25 02:33:40,658 - DEBUG - VM ctest-TestBasicPolicy-56481663-73889686 ID is 2a4a6435-4628-44d7-a0f6-7ed6bebb2a44 2026-04-25 02:33:40,658 - DEBUG - VM ctest-TestBasicPolicy-56481663-73889686 launched on Node cn-jenkins-deploy-platform-ansible-os-5685-1 2026-04-25 02:33:40,734 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2a4a6435-4628-44d7-a0f6-7ed6bebb2a44 2026-04-25 02:33:40,742 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5a8a738d-3d13-4faa-a69a-36c8ca7bf0fa 2026-04-25 02:33:41,981 - 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.428 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.428/1.589/2.750/1.161 ms') 2026-04-25 02:33:41,981 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56481663-73889686 passed 2026-04-25 02:33:42,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-25 02:33:42,132 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56481663-73889686, IP 60.20.168.67, Port 22 2026-04-25 02:33:42,288 - DEBUG - VM ctest-TestBasicPolicy-56481663-73889686 is ready for SSH connections 2026-04-25 02:33:42,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-25 02:33:42,288 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.20.168.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-25 02:33:42,288 - DEBUG - ping -s 56 -c 3 -W 1 60.20.168.67 2026-04-25 02:33:46,351 - DEBUG - PING 60.20.168.67 (60.20.168.67): 56 data bytes 64 bytes from 60.20.168.67: seq=0 ttl=63 time=3.232 ms 64 bytes from 60.20.168.67: seq=1 ttl=63 time=0.944 ms 64 bytes from 60.20.168.67: seq=2 ttl=63 time=1.015 ms --- 60.20.168.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.944/1.730/3.232 ms 2026-04-25 02:33:46,351 - INFO - Ping to IP 60.20.168.67 from VM ctest-TestBasicPolicy-56481663-43921681 passed 2026-04-25 02:33:46,524 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b5828982-2f32-4677-b9f9-a8d19416f057", "href": "http://10.0.0.50:8082/network-policy/b5828982-2f32-4677-b9f9-a8d19416f057"}} 2026-04-25 02:33:46,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-25 02:33:46,524 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.20.168.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-25 02:33:46,524 - DEBUG - ping -s 56 -c 3 -W 1 60.20.168.67 2026-04-25 02:33:49,738 - DEBUG - PING 60.20.168.67 (60.20.168.67): 56 data bytes --- 60.20.168.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-25 02:33:49,738 - WARNING - Ping to IP 60.20.168.67 from VM ctest-TestBasicPolicy-56481663-43921681 failed 2026-04-25 02:33:49,738 - INFO - Deleting VM ctest-TestBasicPolicy-56481663-73889686 2026-04-25 02:33:49,815 - INFO - Deleting VM ctest-TestBasicPolicy-56481663-43921681 2026-04-25 02:33:50,196 - INFO - Deleted policy ctest-policy-allow-all-67019970 2026-04-25 02:33:50,197 - INFO - Deleting VN ctest-vn-67232188 2026-04-25 02:33:50,244 - DEBUG - VN 6013efeb-e038-4103-9472-5c13570a13e7 still in use: Unable to complete operation on network 6013efeb-e038-4103-9472-5c13570a13e7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5784024a-35b4-4b6b-a98e-7409deaaac77'] 2026-04-25 02:33:50,244 - WARNING - Deleting VN ctest-vn-67232188 failed..Will retry 2026-04-25 02:33:52,356 - DEBUG - Response for deleting network () 2026-04-25 02:33:52,356 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/98349fac-8f05-47bc-91ea-af7eae62c605 2026-04-25 02:33:52,363 - DEBUG - Response Code: 404 2026-04-25 02:33:52,363 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-25 02:33:52,370 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ab743141-afcb-418c-b12a-f6b984c1e7d7 2026-04-25 02:33:52,424 - DEBUG - Requesting: http://10.0.0.50:8082/project/1a41cd81-d23e-42e9-b19f-e91c13b0f923 2026-04-25 02:33:52,496 - INFO - Validated that VN ctest-vn-67232188 is not found in API Server 2026-04-25 02:33:52,505 - DEBUG - VN ctest-vn-67232188 is not present in Agent 10.0.0.50 2026-04-25 02:33:52,505 - INFO - Validated that VN ctest-vn-67232188 is not in any agent 2026-04-25 02:33:52,520 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67232188 info 2026-04-25 02:33:52,520 - INFO - Deleting VN ctest-vn-77093075 2026-04-25 02:33:52,625 - DEBUG - Response for deleting network () 2026-04-25 02:33:52,625 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7d345ad4-b992-4624-ab1d-370819cd1129 2026-04-25 02:33:52,632 - DEBUG - Response Code: 404 2026-04-25 02:33:52,632 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-25 02:33:52,637 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ab743141-afcb-418c-b12a-f6b984c1e7d7 2026-04-25 02:33:52,689 - DEBUG - Requesting: http://10.0.0.50:8082/project/1a41cd81-d23e-42e9-b19f-e91c13b0f923 2026-04-25 02:33:52,757 - INFO - Validated that VN ctest-vn-77093075 is not found in API Server 2026-04-25 02:33:52,767 - DEBUG - VN ctest-vn-77093075 is not present in Agent 10.0.0.50 2026-04-25 02:33:52,767 - INFO - Validated that VN ctest-vn-77093075 is not in any agent 2026-04-25 02:33:52,782 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77093075 info 2026-04-25 02:33:53,047 - DEBUG - No XMPP flaps were noticed during the test
2026-04-25 02:33:53,047 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-04-25 02:33:53,047 - INFO - -------------------------------------------------------------------------------- 2026-04-25 02:33:53,751 - INFO - Deleted project: ctest-TestBasicPolicy-56481663, ID : 1a41cd81-d23e-42e9-b19f-e91c13b0f923