2026-03-13 14:31:10,920 - INFO - Domain Default found not creating 2026-03-13 14:31:11,185 - INFO - Project ctest-TestBasicPolicy-29110069 not found, creating it 2026-03-13 14:31:11,716 - INFO - Created Project:ctest-TestBasicPolicy-29110069, ID : a364a4e7-250a-49a1-88fc-b14a8a467383 2026-03-13 14:31:13,755 - INFO - ================================================================================ 2026-03-13 14:31:13,755 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-13 14:31:13,755 - 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-03-13 14:31:14,063 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-03-13 14:31:14,063 - INFO - Initial checks done. Running the testcase now 2026-03-13 14:31:14,063 - INFO - 2026-03-13 14:31:14,793 - DEBUG - Response for create_network : {'network': {'id': 'a63a163c-3f39-4065-b44e-69d60ac69dc8', 'name': 'ctest-vn-68939110', 'tenant_id': 'a364a4e7250a49a188fcb14a8a467383', 'project_id': 'a364a4e7250a49a188fcb14a8a467383', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29110069', 'ctest-vn-68939110'], 'port_security_enabled': True, 'description': ''}} 2026-03-13 14:31:15,065 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b1a69e3-704f-4c66-ba36-174d6fc40aee', 'name': '', 'tenant_id': 'a364a4e7250a49a188fcb14a8a467383', 'network_id': 'a63a163c-3f39-4065-b44e-69d60ac69dc8', 'ip_version': 4, 'cidr': '180.6.152.192/26', 'allocation_pools': [{'start': '180.6.152.194', 'end': '180.6.152.254'}], 'gateway_ip': '180.6.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.6.152.194', 'tags': [], 'project_id': 'a364a4e7250a49a188fcb14a8a467383'}} 2026-03-13 14:31:15,095 - INFO - Created VN ctest-vn-68939110 2026-03-13 14:31:15,156 - DEBUG - VN ctest-vn-68939110 UUID is a63a163c-3f39-4065-b44e-69d60ac69dc8 2026-03-13 14:31:15,525 - DEBUG - Response for create_network : {'network': {'id': '8be3bbf6-e0f5-4870-aaf0-cfbabf7873fc', 'name': 'ctest-vn-81112558', 'tenant_id': 'a364a4e7250a49a188fcb14a8a467383', 'project_id': 'a364a4e7250a49a188fcb14a8a467383', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29110069', 'ctest-vn-81112558'], 'port_security_enabled': True, 'description': ''}} 2026-03-13 14:31:15,743 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab261933-e901-4ee3-9295-b93c2e9c3abf', 'name': '', 'tenant_id': 'a364a4e7250a49a188fcb14a8a467383', 'network_id': '8be3bbf6-e0f5-4870-aaf0-cfbabf7873fc', 'ip_version': 4, 'cidr': '26.105.100.128/26', 'allocation_pools': [{'start': '26.105.100.130', 'end': '26.105.100.190'}], 'gateway_ip': '26.105.100.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.105.100.130', 'tags': [], 'project_id': 'a364a4e7250a49a188fcb14a8a467383'}} 2026-03-13 14:31:15,763 - INFO - Created VN ctest-vn-81112558 2026-03-13 14:31:15,819 - DEBUG - VN ctest-vn-81112558 UUID is 8be3bbf6-e0f5-4870-aaf0-cfbabf7873fc 2026-03-13 14:31:15,952 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29110069:ctest-vn-68939110, 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-29110069:ctest-vn-81112558, 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-03-13 14:31:16,357 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a63a163c-3f39-4065-b44e-69d60ac69dc8', 'name': 'ctest-vn-68939110', 'tenant_id': 'a364a4e7250a49a188fcb14a8a467383', 'project_id': 'a364a4e7250a49a188fcb14a8a467383', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2b1a69e3-704f-4c66-ba36-174d6fc40aee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29110069', 'ctest-vn-68939110'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29110069', 'ctest-policy-allow-all-63640202']], 'subnet_ipam': [{'subnet_cidr': '180.6.152.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-13 14:31:16,664 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8be3bbf6-e0f5-4870-aaf0-cfbabf7873fc', 'name': 'ctest-vn-81112558', 'tenant_id': 'a364a4e7250a49a188fcb14a8a467383', 'project_id': 'a364a4e7250a49a188fcb14a8a467383', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ab261933-e901-4ee3-9295-b93c2e9c3abf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29110069', 'ctest-vn-81112558'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29110069', 'ctest-policy-allow-all-63640202']], 'subnet_ipam': [{'subnet_cidr': '26.105.100.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-13 14:31:16,867 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-13 14:31:17,183 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-13 14:31:17,228 - DEBUG - Requesting: http://10.0.0.50:8082/domain/85891250-e8e0-4e7a-8c49-f9b0e72fd2db 2026-03-13 14:31:17,252 - DEBUG - Requesting: http://10.0.0.50:8082/project/a364a4e7-250a-49a1-88fc-b14a8a467383 2026-03-13 14:31:17,337 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a63a163c-3f39-4065-b44e-69d60ac69dc8 2026-03-13 14:31:17,354 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a63a163c-3f39-4065-b44e-69d60ac69dc8 2026-03-13 14:31:17,366 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3b00b999-9416-4e68-bb54-2fa3a90adb9c 2026-03-13 14:31:17,376 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3b00b999-9416-4e68-bb54-2fa3a90adb9c 2026-03-13 14:31:17,388 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1cd5ba34-4214-43a6-9da8-0bf0825f7b3f 2026-03-13 14:31:17,400 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-13 14:31:17,400 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a63a163c-3f39-4065-b44e-69d60ac69dc8 2026-03-13 14:31:17,416 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3b00b999-9416-4e68-bb54-2fa3a90adb9c 2026-03-13 14:31:17,435 - INFO - Verified VN network id 11 for VN a63a163c-3f39-4065-b44e-69d60ac69dc8 2026-03-13 14:31:17,435 - INFO - Verifications in API Server for VN ctest-vn-68939110 passed 2026-03-13 14:31:17,435 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a63a163c-3f39-4065-b44e-69d60ac69dc8 2026-03-13 14:31:17,447 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3b00b999-9416-4e68-bb54-2fa3a90adb9c 2026-03-13 14:31:17,458 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3b00b999-9416-4e68-bb54-2fa3a90adb9c 2026-03-13 14:31:17,466 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1cd5ba34-4214-43a6-9da8-0bf0825f7b3f 2026-03-13 14:31:17,483 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29110069:ctest-vn-68939110', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29110069', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11977910606959820901', 'uuid-lslong': '12992438343035166152'}, 'enable': 'true', 'created': '2026-03-13T14:31:14', 'last-modified': '2026-03-13T14:31:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.160821'} 2026-03-13 14:31:17,490 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-13 14:31:17,490 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68939110 passed 2026-03-13 14:31:17,491 - DEBUG - ====Verifying policy data for ctest-vn-68939110 in API_Server ====== 2026-03-13 14:31:17,491 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-13 14:31:17,498 - DEBUG - Requesting: http://10.0.0.50:8082/domain/85891250-e8e0-4e7a-8c49-f9b0e72fd2db 2026-03-13 14:31:17,517 - DEBUG - Requesting: http://10.0.0.50:8082/project/a364a4e7-250a-49a1-88fc-b14a8a467383 2026-03-13 14:31:17,602 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a63a163c-3f39-4065-b44e-69d60ac69dc8 2026-03-13 14:31:17,616 - DEBUG - ==>Verifying data for policy with id: dec5de0d-c3dc-4357-802b-1ca2b464efb0, fqn: ['default-domain', 'ctest-TestBasicPolicy-29110069', 'ctest-policy-allow-all-63640202'] 2026-03-13 14:31:17,616 - INFO - VN ctest-vn-68939110 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-13 14:31:17,616 - DEBUG - Verifying the vn in opserver 2026-03-13 14:31:17,617 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29110069:ctest-vn-68939110 virtual network link through opserver 10.0.0.50 2026-03-13 14:31:17,617 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-13 14:31:17,935 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-13 14:31:18,060 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29110069:ctest-vn-68939110', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29110069:ctest-vn-68939110?flat'} 2026-03-13 14:31:18,060 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29110069:ctest-vn-68939110 is found in opserver 2026-03-13 14:31:18,083 - DEBUG - Do not have enough data to verify VN in agent 2026-03-13 14:31:18,092 - DEBUG - VRF ids for VN ctest-vn-68939110: {} 2026-03-13 14:31:18,092 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-13 14:31:18,101 - DEBUG - Requesting: http://10.0.0.50:8082/domain/85891250-e8e0-4e7a-8c49-f9b0e72fd2db 2026-03-13 14:31:18,125 - DEBUG - Requesting: http://10.0.0.50:8082/project/a364a4e7-250a-49a1-88fc-b14a8a467383 2026-03-13 14:31:18,243 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8be3bbf6-e0f5-4870-aaf0-cfbabf7873fc 2026-03-13 14:31:18,273 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8be3bbf6-e0f5-4870-aaf0-cfbabf7873fc 2026-03-13 14:31:18,292 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d161edf2-99c8-4a27-8241-2f0a028f96b1 2026-03-13 14:31:18,306 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d161edf2-99c8-4a27-8241-2f0a028f96b1 2026-03-13 14:31:18,319 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5cb99721-6aa9-4b34-9fdd-afe5f980e4c8 2026-03-13 14:31:18,332 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-13 14:31:18,332 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8be3bbf6-e0f5-4870-aaf0-cfbabf7873fc 2026-03-13 14:31:18,352 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d161edf2-99c8-4a27-8241-2f0a028f96b1 2026-03-13 14:31:18,382 - INFO - Verified VN network id 12 for VN 8be3bbf6-e0f5-4870-aaf0-cfbabf7873fc 2026-03-13 14:31:18,382 - INFO - Verifications in API Server for VN ctest-vn-81112558 passed 2026-03-13 14:31:18,382 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8be3bbf6-e0f5-4870-aaf0-cfbabf7873fc 2026-03-13 14:31:18,400 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d161edf2-99c8-4a27-8241-2f0a028f96b1 2026-03-13 14:31:18,418 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d161edf2-99c8-4a27-8241-2f0a028f96b1 2026-03-13 14:31:18,432 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/5cb99721-6aa9-4b34-9fdd-afe5f980e4c8 2026-03-13 14:31:18,456 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29110069:ctest-vn-81112558', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29110069', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10080107059995822192', 'uuid-lslong': '12317573381841515516'}, 'enable': 'true', 'created': '2026-03-13T14:31:15', 'last-modified': '2026-03-13T14:31:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.841967'} 2026-03-13 14:31:18,471 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-13 14:31:18,471 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81112558 passed 2026-03-13 14:31:18,472 - DEBUG - ====Verifying policy data for ctest-vn-81112558 in API_Server ====== 2026-03-13 14:31:18,472 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-13 14:31:18,484 - DEBUG - Requesting: http://10.0.0.50:8082/domain/85891250-e8e0-4e7a-8c49-f9b0e72fd2db 2026-03-13 14:31:18,508 - DEBUG - Requesting: http://10.0.0.50:8082/project/a364a4e7-250a-49a1-88fc-b14a8a467383 2026-03-13 14:31:18,628 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8be3bbf6-e0f5-4870-aaf0-cfbabf7873fc 2026-03-13 14:31:18,647 - DEBUG - ==>Verifying data for policy with id: dec5de0d-c3dc-4357-802b-1ca2b464efb0, fqn: ['default-domain', 'ctest-TestBasicPolicy-29110069', 'ctest-policy-allow-all-63640202'] 2026-03-13 14:31:18,647 - INFO - VN ctest-vn-81112558 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-13 14:31:18,647 - DEBUG - Verifying the vn in opserver 2026-03-13 14:31:18,647 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29110069:ctest-vn-81112558 virtual network link through opserver 10.0.0.50 2026-03-13 14:31:18,647 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-13 14:31:18,672 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29110069:ctest-vn-81112558', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29110069:ctest-vn-81112558?flat'} 2026-03-13 14:31:18,672 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29110069:ctest-vn-81112558 is found in opserver 2026-03-13 14:31:18,692 - DEBUG - Do not have enough data to verify VN in agent 2026-03-13 14:31:18,703 - DEBUG - VRF ids for VN ctest-vn-81112558: {} 2026-03-13 14:31:18,806 - DEBUG - Services list from nova: [, , ] 2026-03-13 14:31:20,093 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5465-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5465-1) 2026-03-13 14:31:21,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5465-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5465-1) 2026-03-13 14:31:21,434 - INFO - Waiting for VM ctest-TestBasicPolicy-29110069-32988023 to be up.. 2026-03-13 14:31:21,518 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-13 14:31:26,619 - DEBUG - VM is in ACTIVE state now 2026-03-13 14:31:26,619 - INFO - VM name : ctest-TestBasicPolicy-29110069-32988023 2026-03-13 14:31:26,762 - DEBUG - VM ctest-TestBasicPolicy-29110069-32988023 ID is fc8bc8f1-55e6-4547-a974-a609ff7a3050 2026-03-13 14:31:26,800 - DEBUG - VM ctest-TestBasicPolicy-29110069-32988023 launched on Node cn-jenkins-deploy-platform-ansible-os-5465-1 2026-03-13 14:31:26,945 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fc8bc8f1-55e6-4547-a974-a609ff7a3050 2026-03-13 14:31:26,963 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e1e3b2e0-bd4a-4ae3-a358-9fbf10cf35cd 2026-03-13 14:31:30,261 - 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 1024ms') 2026-03-13 14:31:30,261 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29110069-32988023 failed! 2026-03-13 14:31:30,319 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29110069:ctest-vn-68939110 is 180.6.152.193 and allocation pool is NOT set 2026-03-13 14:31:32,387 - 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.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.68 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 = 2.678/6.035/9.392/3.357 ms') 2026-03-13 14:31:32,388 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29110069-32988023 passed 2026-03-13 14:31:32,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 14:31:32,567 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29110069-32988023, IP 180.6.152.195, Port 22 2026-03-13 14:31:32,637 - 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-03-13 14:31:32,749 - DEBUG - VM ctest-TestBasicPolicy-29110069-32988023 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-13 14:31:37,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 14:31:37,750 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29110069-32988023, IP 180.6.152.195, Port 22 2026-03-13 14:31:37,917 - DEBUG - VM ctest-TestBasicPolicy-29110069-32988023 is ready for SSH connections 2026-03-13 14:31:37,917 - INFO - Waiting for VM ctest-TestBasicPolicy-29110069-46153169 to be up.. 2026-03-13 14:31:38,030 - DEBUG - VM is in ACTIVE state now 2026-03-13 14:31:38,030 - INFO - VM name : ctest-TestBasicPolicy-29110069-46153169 2026-03-13 14:31:38,138 - DEBUG - VM ctest-TestBasicPolicy-29110069-46153169 ID is 5c5ea438-0ba5-4075-94ed-6d6c1edbc7c1 2026-03-13 14:31:38,138 - DEBUG - VM ctest-TestBasicPolicy-29110069-46153169 launched on Node cn-jenkins-deploy-platform-ansible-os-5465-1 2026-03-13 14:31:38,251 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5c5ea438-0ba5-4075-94ed-6d6c1edbc7c1 2026-03-13 14:31:38,264 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9376cf09-6083-44bd-9fd6-2c6e0c2e633d 2026-03-13 14:31:39,544 - 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=4.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.640 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.640/2.407/4.175/1.767 ms') 2026-03-13 14:31:39,545 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29110069-46153169 passed 2026-03-13 14:31:39,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 14:31:39,711 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29110069-46153169, IP 26.105.100.131, Port 22 2026-03-13 14:31:39,908 - DEBUG - VM ctest-TestBasicPolicy-29110069-46153169 is ready for SSH connections 2026-03-13 14:31:39,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 14:31:39,909 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.105.100.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-13 14:31:39,909 - DEBUG - ping -s 56 -c 3 -W 1 26.105.100.131 2026-03-13 14:31:44,298 - DEBUG - PING 26.105.100.131 (26.105.100.131): 56 data bytes 64 bytes from 26.105.100.131: seq=0 ttl=63 time=4.492 ms 64 bytes from 26.105.100.131: seq=1 ttl=63 time=2.123 ms 64 bytes from 26.105.100.131: seq=2 ttl=63 time=1.447 ms --- 26.105.100.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.447/2.687/4.492 ms 2026-03-13 14:31:44,298 - INFO - Ping to IP 26.105.100.131 from VM ctest-TestBasicPolicy-29110069-32988023 passed 2026-03-13 14:31:44,519 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dec5de0d-c3dc-4357-802b-1ca2b464efb0", "href": "http://10.0.0.50:8082/network-policy/dec5de0d-c3dc-4357-802b-1ca2b464efb0"}} 2026-03-13 14:31:44,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-13 14:31:44,519 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.105.100.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-13 14:31:44,519 - DEBUG - ping -s 56 -c 3 -W 1 26.105.100.131 2026-03-13 14:31:47,770 - DEBUG - PING 26.105.100.131 (26.105.100.131): 56 data bytes --- 26.105.100.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-13 14:31:47,770 - WARNING - Ping to IP 26.105.100.131 from VM ctest-TestBasicPolicy-29110069-32988023 failed 2026-03-13 14:31:47,770 - INFO - Deleting VM ctest-TestBasicPolicy-29110069-46153169 2026-03-13 14:31:47,894 - INFO - Deleting VM ctest-TestBasicPolicy-29110069-32988023 2026-03-13 14:31:48,430 - INFO - Deleted policy ctest-policy-allow-all-63640202 2026-03-13 14:31:48,430 - INFO - Deleting VN ctest-vn-81112558 2026-03-13 14:31:48,479 - DEBUG - VN 8be3bbf6-e0f5-4870-aaf0-cfbabf7873fc still in use: Unable to complete operation on network 8be3bbf6-e0f5-4870-aaf0-cfbabf7873fc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c399bd43-4bfa-44f7-b72f-6e501809b370'] 2026-03-13 14:31:48,479 - WARNING - Deleting VN ctest-vn-81112558 failed..Will retry 2026-03-13 14:31:50,715 - DEBUG - Response for deleting network () 2026-03-13 14:31:50,715 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d161edf2-99c8-4a27-8241-2f0a028f96b1 2026-03-13 14:31:50,728 - DEBUG - Response Code: 404 2026-03-13 14:31:50,729 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-13 14:31:50,736 - DEBUG - Requesting: http://10.0.0.50:8082/domain/85891250-e8e0-4e7a-8c49-f9b0e72fd2db 2026-03-13 14:31:50,796 - DEBUG - Requesting: http://10.0.0.50:8082/project/a364a4e7-250a-49a1-88fc-b14a8a467383 2026-03-13 14:31:50,894 - INFO - Validated that VN ctest-vn-81112558 is not found in API Server 2026-03-13 14:31:50,914 - DEBUG - VN ctest-vn-81112558 is not present in Agent 10.0.0.50 2026-03-13 14:31:50,914 - INFO - Validated that VN ctest-vn-81112558 is not in any agent 2026-03-13 14:31:50,944 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81112558 info 2026-03-13 14:31:50,945 - INFO - Deleting VN ctest-vn-68939110 2026-03-13 14:31:51,129 - DEBUG - Response for deleting network () 2026-03-13 14:31:51,130 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3b00b999-9416-4e68-bb54-2fa3a90adb9c 2026-03-13 14:31:51,136 - DEBUG - Response Code: 404 2026-03-13 14:31:51,137 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-13 14:31:51,149 - DEBUG - Requesting: http://10.0.0.50:8082/domain/85891250-e8e0-4e7a-8c49-f9b0e72fd2db 2026-03-13 14:31:51,210 - DEBUG - Requesting: http://10.0.0.50:8082/project/a364a4e7-250a-49a1-88fc-b14a8a467383 2026-03-13 14:31:51,306 - INFO - Validated that VN ctest-vn-68939110 is not found in API Server 2026-03-13 14:31:51,323 - DEBUG - VN ctest-vn-68939110 is not present in Agent 10.0.0.50 2026-03-13 14:31:51,323 - INFO - Validated that VN ctest-vn-68939110 is not in any agent 2026-03-13 14:31:51,354 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68939110 info 2026-03-13 14:31:51,632 - DEBUG - No XMPP flaps were noticed during the test 2026-03-13 14:31:51,632 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:38] 2026-03-13 14:31:51,632 - INFO - -------------------------------------------------------------------------------- 2026-03-13 14:31:52,489 - INFO - Deleted project: ctest-TestBasicPolicy-29110069, ID : a364a4e7-250a-49a1-88fc-b14a8a467383