2026-02-02 11:05:10,324 - INFO - Domain Default found not creating 2026-02-02 11:05:10,522 - INFO - Project ctest-TestBasicPolicy-83682059 not found, creating it 2026-02-02 11:05:11,005 - INFO - Created Project:ctest-TestBasicPolicy-83682059, ID : e1ee2a84-2361-4c9a-9d2d-0c808788ee78 2026-02-02 11:05:12,484 - INFO - ================================================================================ 2026-02-02 11:05:12,484 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-02 11:05:12,484 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-02-02 11:05:12,741 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-02 11:05:12,742 - INFO - Initial checks done. Running the testcase now 2026-02-02 11:05:12,742 - INFO - 2026-02-02 11:05:13,299 - DEBUG - Response for create_network : {'network': {'id': '4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa', 'name': 'ctest-vn-54703836', 'tenant_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'project_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83682059', 'ctest-vn-54703836'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 11:05:13,446 - DEBUG - Response for create_subnet : {'subnet': {'id': '44e01d08-8155-4069-ba42-b4cf797c4faf', 'name': '', 'tenant_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'network_id': '4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa', 'ip_version': 4, 'cidr': '76.78.41.128/26', 'allocation_pools': [{'start': '76.78.41.130', 'end': '76.78.41.190'}], 'gateway_ip': '76.78.41.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.78.41.130', 'tags': [], 'project_id': 'e1ee2a8423614c9a9d2d0c808788ee78'}} 2026-02-02 11:05:13,462 - INFO - Created VN ctest-vn-54703836 2026-02-02 11:05:13,511 - DEBUG - VN ctest-vn-54703836 UUID is 4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa 2026-02-02 11:05:13,830 - DEBUG - Response for create_network : {'network': {'id': '54f48c50-35d9-4a21-b964-6a302009c16f', 'name': 'ctest-vn-72691014', 'tenant_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'project_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83682059', 'ctest-vn-72691014'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 11:05:13,970 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e41fedc5-a2c4-493c-8dc0-e15d50aacfeb', 'name': '', 'tenant_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'network_id': '54f48c50-35d9-4a21-b964-6a302009c16f', 'ip_version': 4, 'cidr': '213.158.58.0/26', 'allocation_pools': [{'start': '213.158.58.2', 'end': '213.158.58.62'}], 'gateway_ip': '213.158.58.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.158.58.2', 'tags': [], 'project_id': 'e1ee2a8423614c9a9d2d0c808788ee78'}} 2026-02-02 11:05:13,987 - INFO - Created VN ctest-vn-72691014 2026-02-02 11:05:14,039 - DEBUG - VN ctest-vn-72691014 UUID is 54f48c50-35d9-4a21-b964-6a302009c16f 2026-02-02 11:05:14,151 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-54703836, 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-83682059:ctest-vn-72691014, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-02-02 11:05:14,431 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa', 'name': 'ctest-vn-54703836', 'tenant_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'project_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['44e01d08-8155-4069-ba42-b4cf797c4faf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83682059', 'ctest-vn-54703836'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83682059', 'ctest-policy-allow-all-81495288']], 'subnet_ipam': [{'subnet_cidr': '76.78.41.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 11:05:14,656 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '54f48c50-35d9-4a21-b964-6a302009c16f', 'name': 'ctest-vn-72691014', 'tenant_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'project_id': 'e1ee2a8423614c9a9d2d0c808788ee78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e41fedc5-a2c4-493c-8dc0-e15d50aacfeb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83682059', 'ctest-vn-72691014'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83682059', 'ctest-policy-allow-all-81495288']], 'subnet_ipam': [{'subnet_cidr': '213.158.58.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 11:05:14,803 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-02 11:05:15,098 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-02 11:05:15,131 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c1a77e27-717f-41f0-ba91-a071550ff6bd 2026-02-02 11:05:15,143 - DEBUG - Requesting: http://10.0.0.50:8082/project/e1ee2a84-2361-4c9a-9d2d-0c808788ee78 2026-02-02 11:05:15,213 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa 2026-02-02 11:05:15,224 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa 2026-02-02 11:05:15,234 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/51a3cfd5-1888-4fe9-87bf-36bc8a8fe98c 2026-02-02 11:05:15,241 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/51a3cfd5-1888-4fe9-87bf-36bc8a8fe98c 2026-02-02 11:05:15,247 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8ec26bc2-e70b-43ee-9f83-61162d449348 2026-02-02 11:05:15,254 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 11:05:15,254 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa 2026-02-02 11:05:15,265 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/51a3cfd5-1888-4fe9-87bf-36bc8a8fe98c 2026-02-02 11:05:15,280 - INFO - Verified VN network id 12 for VN 4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa 2026-02-02 11:05:15,280 - INFO - Verifications in API Server for VN ctest-vn-54703836 passed 2026-02-02 11:05:15,280 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa 2026-02-02 11:05:15,289 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/51a3cfd5-1888-4fe9-87bf-36bc8a8fe98c 2026-02-02 11:05:15,295 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/51a3cfd5-1888-4fe9-87bf-36bc8a8fe98c 2026-02-02 11:05:15,302 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8ec26bc2-e70b-43ee-9f83-61162d449348 2026-02-02 11:05:15,315 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-54703836', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83682059', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5376911177651539216', 'uuid-lslong': '11870861530535416826'}, 'enable': 'true', 'created': '2026-02-02T11:05:13', 'last-modified': '2026-02-02T11:05:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.900441'} 2026-02-02 11:05:15,322 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 11:05:15,322 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54703836 passed 2026-02-02 11:05:15,323 - DEBUG - ====Verifying policy data for ctest-vn-54703836 in API_Server ====== 2026-02-02 11:05:15,323 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-02 11:05:15,329 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c1a77e27-717f-41f0-ba91-a071550ff6bd 2026-02-02 11:05:15,341 - DEBUG - Requesting: http://10.0.0.50:8082/project/e1ee2a84-2361-4c9a-9d2d-0c808788ee78 2026-02-02 11:05:15,410 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4a9ea03a-5cbf-4d10-a4bd-c5aae169d3fa 2026-02-02 11:05:15,418 - DEBUG - ==>Verifying data for policy with id: eb4ef562-d017-4a15-9e8d-eae9fa19e6a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-83682059', 'ctest-policy-allow-all-81495288'] 2026-02-02 11:05:15,418 - INFO - VN ctest-vn-54703836 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 11:05:15,418 - DEBUG - Verifying the vn in opserver 2026-02-02 11:05:15,418 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-54703836 virtual network link through opserver 10.0.0.50 2026-02-02 11:05:15,418 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-02 11:05:15,722 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-02 11:05:15,780 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-54703836', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-54703836?flat'} 2026-02-02 11:05:15,780 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-54703836 is found in opserver 2026-02-02 11:05:15,789 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 11:05:15,793 - DEBUG - VRF ids for VN ctest-vn-54703836: {} 2026-02-02 11:05:15,793 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-02 11:05:15,798 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c1a77e27-717f-41f0-ba91-a071550ff6bd 2026-02-02 11:05:15,808 - DEBUG - Requesting: http://10.0.0.50:8082/project/e1ee2a84-2361-4c9a-9d2d-0c808788ee78 2026-02-02 11:05:15,875 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54f48c50-35d9-4a21-b964-6a302009c16f 2026-02-02 11:05:15,886 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54f48c50-35d9-4a21-b964-6a302009c16f 2026-02-02 11:05:15,894 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1b689a85-3eb7-40b9-a3f4-36efc0a72c9e 2026-02-02 11:05:15,900 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1b689a85-3eb7-40b9-a3f4-36efc0a72c9e 2026-02-02 11:05:15,906 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6004cc88-9c2b-4884-9c21-dff9edc3ea13 2026-02-02 11:05:15,912 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 11:05:15,912 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54f48c50-35d9-4a21-b964-6a302009c16f 2026-02-02 11:05:15,921 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1b689a85-3eb7-40b9-a3f4-36efc0a72c9e 2026-02-02 11:05:15,933 - INFO - Verified VN network id 13 for VN 54f48c50-35d9-4a21-b964-6a302009c16f 2026-02-02 11:05:15,934 - INFO - Verifications in API Server for VN ctest-vn-72691014 passed 2026-02-02 11:05:15,934 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54f48c50-35d9-4a21-b964-6a302009c16f 2026-02-02 11:05:15,942 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1b689a85-3eb7-40b9-a3f4-36efc0a72c9e 2026-02-02 11:05:15,948 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1b689a85-3eb7-40b9-a3f4-36efc0a72c9e 2026-02-02 11:05:15,955 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6004cc88-9c2b-4884-9c21-dff9edc3ea13 2026-02-02 11:05:15,965 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-72691014', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83682059', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6121672069632051745', 'uuid-lslong': '13358919149616218479'}, 'enable': 'true', 'created': '2026-02-02T11:05:13', 'last-modified': '2026-02-02T11:05:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.329111'} 2026-02-02 11:05:15,970 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 11:05:15,970 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72691014 passed 2026-02-02 11:05:15,970 - DEBUG - ====Verifying policy data for ctest-vn-72691014 in API_Server ====== 2026-02-02 11:05:15,970 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-02 11:05:15,976 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c1a77e27-717f-41f0-ba91-a071550ff6bd 2026-02-02 11:05:15,986 - DEBUG - Requesting: http://10.0.0.50:8082/project/e1ee2a84-2361-4c9a-9d2d-0c808788ee78 2026-02-02 11:05:16,053 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54f48c50-35d9-4a21-b964-6a302009c16f 2026-02-02 11:05:16,061 - DEBUG - ==>Verifying data for policy with id: eb4ef562-d017-4a15-9e8d-eae9fa19e6a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-83682059', 'ctest-policy-allow-all-81495288'] 2026-02-02 11:05:16,061 - INFO - VN ctest-vn-72691014 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 11:05:16,061 - DEBUG - Verifying the vn in opserver 2026-02-02 11:05:16,061 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-72691014 virtual network link through opserver 10.0.0.50 2026-02-02 11:05:16,061 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-02 11:05:16,070 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-72691014', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-72691014?flat'} 2026-02-02 11:05:16,070 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-72691014 is found in opserver 2026-02-02 11:05:16,081 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 11:05:16,087 - DEBUG - VRF ids for VN ctest-vn-72691014: {} 2026-02-02 11:05:16,149 - DEBUG - Services list from nova: [, , ] 2026-02-02 11:05:17,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5171-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5171-1) 2026-02-02 11:05:18,371 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5171-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5171-1) 2026-02-02 11:05:18,371 - INFO - Waiting for VM ctest-TestBasicPolicy-83682059-93473321 to be up.. 2026-02-02 11:05:18,451 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 11:05:23,536 - DEBUG - VM is in ACTIVE state now 2026-02-02 11:05:23,537 - INFO - VM name : ctest-TestBasicPolicy-83682059-93473321 2026-02-02 11:05:23,619 - DEBUG - VM ctest-TestBasicPolicy-83682059-93473321 ID is 108b5e13-d954-46b1-929a-6c1f176ee98b 2026-02-02 11:05:23,650 - DEBUG - VM ctest-TestBasicPolicy-83682059-93473321 launched on Node cn-jenkins-deploy-platform-ansible-os-5171-1 2026-02-02 11:05:23,748 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/108b5e13-d954-46b1-929a-6c1f176ee98b 2026-02-02 11:05:23,756 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3bccb11e-4132-4056-8b42-c8d2cfefaccb 2026-02-02 11:05:26,951 - 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 1004ms') 2026-02-02 11:05:26,951 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83682059-93473321 failed! 2026-02-02 11:05:27,007 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-83682059:ctest-vn-54703836 is 76.78.41.129 and allocation pool is NOT set 2026-02-02 11:05:29,073 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.501 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 = 0.501/4.641/8.782/4.140 ms') 2026-02-02 11:05:29,074 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83682059-93473321 passed 2026-02-02 11:05:29,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 11:05:29,224 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83682059-93473321, IP 76.78.41.131, Port 22 2026-02-02 11:05:29,379 - DEBUG - VM ctest-TestBasicPolicy-83682059-93473321 is ready for SSH connections 2026-02-02 11:05:29,380 - INFO - Waiting for VM ctest-TestBasicPolicy-83682059-85197012 to be up.. 2026-02-02 11:05:29,451 - DEBUG - VM is in ACTIVE state now 2026-02-02 11:05:29,451 - INFO - VM name : ctest-TestBasicPolicy-83682059-85197012 2026-02-02 11:05:29,527 - DEBUG - VM ctest-TestBasicPolicy-83682059-85197012 ID is ac1d3f58-e6ae-4ccf-b770-40677ff9bba6 2026-02-02 11:05:29,529 - DEBUG - VM ctest-TestBasicPolicy-83682059-85197012 launched on Node cn-jenkins-deploy-platform-ansible-os-5171-1 2026-02-02 11:05:29,602 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ac1d3f58-e6ae-4ccf-b770-40677ff9bba6 2026-02-02 11:05:29,612 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3a3f7257-2abb-4a52-99bd-81d7716788ca 2026-02-02 11:05:30,851 - 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=3.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.882 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.882/2.367/3.852/1.485 ms') 2026-02-02 11:05:30,851 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-83682059-85197012 passed 2026-02-02 11:05:31,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 11:05:31,004 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83682059-85197012, IP 213.158.58.3, Port 22 2026-02-02 11:05:31,175 - DEBUG - VM ctest-TestBasicPolicy-83682059-85197012 is ready for SSH connections 2026-02-02 11:05:31,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 11:05:31,175 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.158.58.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-02 11:05:31,175 - DEBUG - ping -s 56 -c 3 -W 1 213.158.58.3 2026-02-02 11:05:35,343 - DEBUG - PING 213.158.58.3 (213.158.58.3): 56 data bytes 64 bytes from 213.158.58.3: seq=0 ttl=63 time=3.745 ms 64 bytes from 213.158.58.3: seq=1 ttl=63 time=0.952 ms 64 bytes from 213.158.58.3: seq=2 ttl=63 time=1.030 ms --- 213.158.58.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.952/1.909/3.745 ms 2026-02-02 11:05:35,343 - INFO - Ping to IP 213.158.58.3 from VM ctest-TestBasicPolicy-83682059-93473321 passed 2026-02-02 11:05:35,527 - DEBUG - Policy Update Response {"network-policy": {"uuid": "eb4ef562-d017-4a15-9e8d-eae9fa19e6a9", "href": "http://10.0.0.50:8082/network-policy/eb4ef562-d017-4a15-9e8d-eae9fa19e6a9"}} 2026-02-02 11:05:35,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 11:05:35,527 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.158.58.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-02 11:05:35,528 - DEBUG - ping -s 56 -c 3 -W 1 213.158.58.3 2026-02-02 11:05:38,733 - DEBUG - PING 213.158.58.3 (213.158.58.3): 56 data bytes --- 213.158.58.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-02 11:05:38,733 - WARNING - Ping to IP 213.158.58.3 from VM ctest-TestBasicPolicy-83682059-93473321 failed 2026-02-02 11:05:38,733 - INFO - Deleting VM ctest-TestBasicPolicy-83682059-85197012 2026-02-02 11:05:38,808 - INFO - Deleting VM ctest-TestBasicPolicy-83682059-93473321 2026-02-02 11:05:39,169 - INFO - Deleted policy ctest-policy-allow-all-81495288 2026-02-02 11:05:39,169 - INFO - Deleting VN ctest-vn-72691014 2026-02-02 11:05:39,205 - DEBUG - VN 54f48c50-35d9-4a21-b964-6a302009c16f still in use: Unable to complete operation on network 54f48c50-35d9-4a21-b964-6a302009c16f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3351f357-40d4-4da0-8ca7-010a82c190b2'] 2026-02-02 11:05:39,205 - WARNING - Deleting VN ctest-vn-72691014 failed..Will retry 2026-02-02 11:05:41,305 - DEBUG - Response for deleting network () 2026-02-02 11:05:41,305 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1b689a85-3eb7-40b9-a3f4-36efc0a72c9e 2026-02-02 11:05:41,313 - DEBUG - Response Code: 404 2026-02-02 11:05:41,314 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-02 11:05:41,319 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c1a77e27-717f-41f0-ba91-a071550ff6bd 2026-02-02 11:05:41,373 - DEBUG - Requesting: http://10.0.0.50:8082/project/e1ee2a84-2361-4c9a-9d2d-0c808788ee78 2026-02-02 11:05:41,440 - INFO - Validated that VN ctest-vn-72691014 is not found in API Server 2026-02-02 11:05:41,450 - DEBUG - VN ctest-vn-72691014 is not present in Agent 10.0.0.50 2026-02-02 11:05:41,450 - INFO - Validated that VN ctest-vn-72691014 is not in any agent 2026-02-02 11:05:41,463 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72691014 info 2026-02-02 11:05:41,463 - INFO - Deleting VN ctest-vn-54703836 2026-02-02 11:05:41,564 - DEBUG - Response for deleting network () 2026-02-02 11:05:41,564 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/51a3cfd5-1888-4fe9-87bf-36bc8a8fe98c 2026-02-02 11:05:41,570 - DEBUG - Response Code: 404 2026-02-02 11:05:41,570 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-02 11:05:41,576 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c1a77e27-717f-41f0-ba91-a071550ff6bd 2026-02-02 11:05:41,628 - DEBUG - Requesting: http://10.0.0.50:8082/project/e1ee2a84-2361-4c9a-9d2d-0c808788ee78 2026-02-02 11:05:41,697 - INFO - Validated that VN ctest-vn-54703836 is not found in API Server 2026-02-02 11:05:41,706 - DEBUG - VN ctest-vn-54703836 is not present in Agent 10.0.0.50 2026-02-02 11:05:41,706 - INFO - Validated that VN ctest-vn-54703836 is not in any agent 2026-02-02 11:05:41,720 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54703836 info 2026-02-02 11:05:41,976 - DEBUG - No XMPP flaps were noticed during the test 2026-02-02 11:05:41,976 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-02-02 11:05:41,976 - INFO - -------------------------------------------------------------------------------- 2026-02-02 11:05:42,674 - INFO - Deleted project: ctest-TestBasicPolicy-83682059, ID : e1ee2a84-2361-4c9a-9d2d-0c808788ee78