2026-01-09 16:01:21,519 - INFO - Domain Default found not creating 2026-01-09 16:01:21,707 - INFO - Project ctest-TestBasicPolicy-63390348 not found, creating it 2026-01-09 16:01:22,182 - INFO - Created Project:ctest-TestBasicPolicy-63390348, ID : 4f8f77a3-2a00-46c4-8a4f-a671555f5412 2026-01-09 16:01:23,695 - INFO - ================================================================================ 2026-01-09 16:01:23,695 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-09 16:01:23,695 - 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-09 16:01:23,948 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-09 16:01:23,948 - INFO - Initial checks done. Running the testcase now 2026-01-09 16:01:23,948 - INFO - 2026-01-09 16:01:24,520 - DEBUG - Response for create_network : {'network': {'id': '61fd2cc9-865f-42d7-90a2-86cb96f2907b', 'name': 'ctest-vn-59164953', 'tenant_id': '4f8f77a32a0046c48a4fa671555f5412', 'project_id': '4f8f77a32a0046c48a4fa671555f5412', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63390348', 'ctest-vn-59164953'], 'port_security_enabled': True, 'description': ''}} 2026-01-09 16:01:24,708 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f9acba8-c036-428c-a2ea-3cc74d19958b', 'name': '', 'tenant_id': '4f8f77a32a0046c48a4fa671555f5412', 'network_id': '61fd2cc9-865f-42d7-90a2-86cb96f2907b', 'ip_version': 4, 'cidr': '49.87.38.0/26', 'allocation_pools': [{'start': '49.87.38.2', 'end': '49.87.38.62'}], 'gateway_ip': '49.87.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.87.38.2', 'tags': [], 'project_id': '4f8f77a32a0046c48a4fa671555f5412'}} 2026-01-09 16:01:24,725 - INFO - Created VN ctest-vn-59164953 2026-01-09 16:01:24,775 - DEBUG - VN ctest-vn-59164953 UUID is 61fd2cc9-865f-42d7-90a2-86cb96f2907b 2026-01-09 16:01:25,098 - DEBUG - Response for create_network : {'network': {'id': '020e976d-c29e-40bb-ab3a-5b1808aab196', 'name': 'ctest-vn-00579141', 'tenant_id': '4f8f77a32a0046c48a4fa671555f5412', 'project_id': '4f8f77a32a0046c48a4fa671555f5412', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63390348', 'ctest-vn-00579141'], 'port_security_enabled': True, 'description': ''}} 2026-01-09 16:01:25,255 - DEBUG - Response for create_subnet : {'subnet': {'id': '8640b04a-54e2-4327-aed7-cf3027d88369', 'name': '', 'tenant_id': '4f8f77a32a0046c48a4fa671555f5412', 'network_id': '020e976d-c29e-40bb-ab3a-5b1808aab196', 'ip_version': 4, 'cidr': '141.12.225.192/26', 'allocation_pools': [{'start': '141.12.225.194', 'end': '141.12.225.254'}], 'gateway_ip': '141.12.225.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.12.225.194', 'tags': [], 'project_id': '4f8f77a32a0046c48a4fa671555f5412'}} 2026-01-09 16:01:25,278 - INFO - Created VN ctest-vn-00579141 2026-01-09 16:01:25,331 - DEBUG - VN ctest-vn-00579141 UUID is 020e976d-c29e-40bb-ab3a-5b1808aab196 2026-01-09 16:01:25,451 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63390348:ctest-vn-59164953, 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-63390348:ctest-vn-00579141, 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-09 16:01:25,738 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '61fd2cc9-865f-42d7-90a2-86cb96f2907b', 'name': 'ctest-vn-59164953', 'tenant_id': '4f8f77a32a0046c48a4fa671555f5412', 'project_id': '4f8f77a32a0046c48a4fa671555f5412', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2f9acba8-c036-428c-a2ea-3cc74d19958b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63390348', 'ctest-vn-59164953'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63390348', 'ctest-policy-allow-all-80568165']], 'subnet_ipam': [{'subnet_cidr': '49.87.38.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-09 16:01:25,972 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '020e976d-c29e-40bb-ab3a-5b1808aab196', 'name': 'ctest-vn-00579141', 'tenant_id': '4f8f77a32a0046c48a4fa671555f5412', 'project_id': '4f8f77a32a0046c48a4fa671555f5412', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8640b04a-54e2-4327-aed7-cf3027d88369'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63390348', 'ctest-vn-00579141'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63390348', 'ctest-policy-allow-all-80568165']], 'subnet_ipam': [{'subnet_cidr': '141.12.225.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-09 16:01:26,131 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-09 16:01:26,425 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-09 16:01:26,456 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a3ca9cd7-63c0-45e2-a704-54d5ebd478e3 2026-01-09 16:01:26,468 - DEBUG - Requesting: http://10.0.0.38:8082/project/4f8f77a3-2a00-46c4-8a4f-a671555f5412 2026-01-09 16:01:26,547 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61fd2cc9-865f-42d7-90a2-86cb96f2907b 2026-01-09 16:01:26,558 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61fd2cc9-865f-42d7-90a2-86cb96f2907b 2026-01-09 16:01:26,567 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/428e5d03-8024-4245-908c-b77675b91fc7 2026-01-09 16:01:26,574 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/428e5d03-8024-4245-908c-b77675b91fc7 2026-01-09 16:01:26,581 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f88cc998-72bc-4a4c-ac5a-1c2fbf65e2bf 2026-01-09 16:01:26,588 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-09 16:01:26,588 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61fd2cc9-865f-42d7-90a2-86cb96f2907b 2026-01-09 16:01:26,596 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/428e5d03-8024-4245-908c-b77675b91fc7 2026-01-09 16:01:26,608 - INFO - Verified VN network id 11 for VN 61fd2cc9-865f-42d7-90a2-86cb96f2907b 2026-01-09 16:01:26,608 - INFO - Verifications in API Server for VN ctest-vn-59164953 passed 2026-01-09 16:01:26,609 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61fd2cc9-865f-42d7-90a2-86cb96f2907b 2026-01-09 16:01:26,617 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/428e5d03-8024-4245-908c-b77675b91fc7 2026-01-09 16:01:26,624 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/428e5d03-8024-4245-908c-b77675b91fc7 2026-01-09 16:01:26,631 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f88cc998-72bc-4a4c-ac5a-1c2fbf65e2bf 2026-01-09 16:01:26,644 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63390348:ctest-vn-59164953', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63390348', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7060849034841244375', 'uuid-lslong': '10422040696657711227'}, 'enable': 'true', 'created': '2026-01-09T16:01:24', 'last-modified': '2026-01-09T16:01:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924658'} 2026-01-09 16:01:26,651 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-09 16:01:26,651 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59164953 passed 2026-01-09 16:01:26,651 - DEBUG - ====Verifying policy data for ctest-vn-59164953 in API_Server ====== 2026-01-09 16:01:26,651 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-09 16:01:26,656 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a3ca9cd7-63c0-45e2-a704-54d5ebd478e3 2026-01-09 16:01:26,666 - DEBUG - Requesting: http://10.0.0.38:8082/project/4f8f77a3-2a00-46c4-8a4f-a671555f5412 2026-01-09 16:01:26,733 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/61fd2cc9-865f-42d7-90a2-86cb96f2907b 2026-01-09 16:01:26,742 - DEBUG - ==>Verifying data for policy with id: 2b71cb58-855e-43c0-bd8b-26bf941f1ed1, fqn: ['default-domain', 'ctest-TestBasicPolicy-63390348', 'ctest-policy-allow-all-80568165'] 2026-01-09 16:01:26,742 - INFO - VN ctest-vn-59164953 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-09 16:01:26,742 - DEBUG - Verifying the vn in opserver 2026-01-09 16:01:26,742 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63390348:ctest-vn-59164953 virtual network link through opserver 10.0.0.38 2026-01-09 16:01:26,742 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-09 16:01:27,038 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-09 16:01:27,099 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63390348:ctest-vn-59164953', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63390348:ctest-vn-59164953?flat'} 2026-01-09 16:01:27,099 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63390348:ctest-vn-59164953 is found in opserver 2026-01-09 16:01:27,109 - DEBUG - Do not have enough data to verify VN in agent 2026-01-09 16:01:27,113 - DEBUG - VRF ids for VN ctest-vn-59164953: {} 2026-01-09 16:01:27,113 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-09 16:01:27,119 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a3ca9cd7-63c0-45e2-a704-54d5ebd478e3 2026-01-09 16:01:27,131 - DEBUG - Requesting: http://10.0.0.38:8082/project/4f8f77a3-2a00-46c4-8a4f-a671555f5412 2026-01-09 16:01:27,201 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/020e976d-c29e-40bb-ab3a-5b1808aab196 2026-01-09 16:01:27,213 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/020e976d-c29e-40bb-ab3a-5b1808aab196 2026-01-09 16:01:27,222 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c037e827-b9b7-4d65-b1ca-f9d4c3bc009e 2026-01-09 16:01:27,230 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c037e827-b9b7-4d65-b1ca-f9d4c3bc009e 2026-01-09 16:01:27,238 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0e0d8eb8-9344-48ad-8ff0-cc5ebb809051 2026-01-09 16:01:27,244 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-09 16:01:27,244 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/020e976d-c29e-40bb-ab3a-5b1808aab196 2026-01-09 16:01:27,252 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c037e827-b9b7-4d65-b1ca-f9d4c3bc009e 2026-01-09 16:01:27,265 - INFO - Verified VN network id 12 for VN 020e976d-c29e-40bb-ab3a-5b1808aab196 2026-01-09 16:01:27,265 - INFO - Verifications in API Server for VN ctest-vn-00579141 passed 2026-01-09 16:01:27,265 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/020e976d-c29e-40bb-ab3a-5b1808aab196 2026-01-09 16:01:27,273 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c037e827-b9b7-4d65-b1ca-f9d4c3bc009e 2026-01-09 16:01:27,279 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c037e827-b9b7-4d65-b1ca-f9d4c3bc009e 2026-01-09 16:01:27,285 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0e0d8eb8-9344-48ad-8ff0-cc5ebb809051 2026-01-09 16:01:27,296 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63390348:ctest-vn-00579141', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63390348', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '148222335422185659', 'uuid-lslong': '12338274287917642134'}, 'enable': 'true', 'created': '2026-01-09T16:01:25', 'last-modified': '2026-01-09T16:01:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.354462'} 2026-01-09 16:01:27,303 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-09 16:01:27,303 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00579141 passed 2026-01-09 16:01:27,303 - DEBUG - ====Verifying policy data for ctest-vn-00579141 in API_Server ====== 2026-01-09 16:01:27,303 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-09 16:01:27,308 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a3ca9cd7-63c0-45e2-a704-54d5ebd478e3 2026-01-09 16:01:27,318 - DEBUG - Requesting: http://10.0.0.38:8082/project/4f8f77a3-2a00-46c4-8a4f-a671555f5412 2026-01-09 16:01:27,385 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/020e976d-c29e-40bb-ab3a-5b1808aab196 2026-01-09 16:01:27,394 - DEBUG - ==>Verifying data for policy with id: 2b71cb58-855e-43c0-bd8b-26bf941f1ed1, fqn: ['default-domain', 'ctest-TestBasicPolicy-63390348', 'ctest-policy-allow-all-80568165'] 2026-01-09 16:01:27,394 - INFO - VN ctest-vn-00579141 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-09 16:01:27,394 - DEBUG - Verifying the vn in opserver 2026-01-09 16:01:27,394 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63390348:ctest-vn-00579141 virtual network link through opserver 10.0.0.38 2026-01-09 16:01:27,394 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-09 16:01:27,403 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63390348:ctest-vn-00579141', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63390348:ctest-vn-00579141?flat'} 2026-01-09 16:01:27,403 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63390348:ctest-vn-00579141 is found in opserver 2026-01-09 16:01:27,412 - DEBUG - Do not have enough data to verify VN in agent 2026-01-09 16:01:27,417 - DEBUG - VRF ids for VN ctest-vn-00579141: {} 2026-01-09 16:01:27,472 - DEBUG - Services list from nova: [, , ] 2026-01-09 16:01:28,493 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4985-1) 2026-01-09 16:01:29,618 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4985-1) 2026-01-09 16:01:29,618 - INFO - Waiting for VM ctest-TestBasicPolicy-63390348-46539258 to be up.. 2026-01-09 16:01:29,710 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-09 16:01:34,787 - DEBUG - VM is in ACTIVE state now 2026-01-09 16:01:34,787 - INFO - VM name : ctest-TestBasicPolicy-63390348-46539258 2026-01-09 16:01:34,861 - DEBUG - VM ctest-TestBasicPolicy-63390348-46539258 ID is 189132ef-3a9e-4f45-90d3-ce666d9f7aa9 2026-01-09 16:01:34,879 - DEBUG - VM ctest-TestBasicPolicy-63390348-46539258 launched on Node cn-jenkins-deploy-platform-ansible-os-4985-1 2026-01-09 16:01:34,952 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/189132ef-3a9e-4f45-90d3-ce666d9f7aa9 2026-01-09 16:01:34,961 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/36543f7f-a66b-4950-a069-6f4f2aa41891 2026-01-09 16:01:38,173 - 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 1007ms') 2026-01-09 16:01:38,173 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63390348-46539258 failed! 2026-01-09 16:01:38,231 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-63390348:ctest-vn-59164953 is 49.87.38.1 and allocation pool is NOT set 2026-01-09 16:01:40,290 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.413 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.413/3.682/6.952/3.269 ms') 2026-01-09 16:01:40,290 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63390348-46539258 passed 2026-01-09 16:01:40,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-09 16:01:40,439 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63390348-46539258, IP 49.87.38.3, Port 22 2026-01-09 16:01:40,602 - DEBUG - VM ctest-TestBasicPolicy-63390348-46539258 is ready for SSH connections 2026-01-09 16:01:40,602 - INFO - Waiting for VM ctest-TestBasicPolicy-63390348-36538471 to be up.. 2026-01-09 16:01:40,680 - DEBUG - VM is in ACTIVE state now 2026-01-09 16:01:40,680 - INFO - VM name : ctest-TestBasicPolicy-63390348-36538471 2026-01-09 16:01:40,747 - DEBUG - VM ctest-TestBasicPolicy-63390348-36538471 ID is e10ff3ad-65e2-40f0-b57b-667c77362959 2026-01-09 16:01:40,747 - DEBUG - VM ctest-TestBasicPolicy-63390348-36538471 launched on Node cn-jenkins-deploy-platform-ansible-os-4985-1 2026-01-09 16:01:40,818 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e10ff3ad-65e2-40f0-b57b-667c77362959 2026-01-09 16:01:40,827 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cecb79bc-169b-469d-91d1-6bd09a9f7920 2026-01-09 16:01:42,067 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.652 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.652/2.675/4.698/2.023 ms') 2026-01-09 16:01:42,067 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63390348-36538471 passed 2026-01-09 16:01:42,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-09 16:01:42,215 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63390348-36538471, IP 141.12.225.195, Port 22 2026-01-09 16:01:42,371 - DEBUG - VM ctest-TestBasicPolicy-63390348-36538471 is ready for SSH connections 2026-01-09 16:01:42,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-09 16:01:42,371 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.12.225.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-09 16:01:42,371 - DEBUG - ping -s 56 -c 3 -W 1 141.12.225.195 2026-01-09 16:01:46,082 - DEBUG - PING 141.12.225.195 (141.12.225.195): 56 data bytes 64 bytes from 141.12.225.195: seq=0 ttl=63 time=3.971 ms 64 bytes from 141.12.225.195: seq=1 ttl=63 time=1.011 ms 64 bytes from 141.12.225.195: seq=2 ttl=63 time=0.925 ms --- 141.12.225.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.925/1.969/3.971 ms 2026-01-09 16:01:46,082 - INFO - Ping to IP 141.12.225.195 from VM ctest-TestBasicPolicy-63390348-46539258 passed 2026-01-09 16:01:46,263 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2b71cb58-855e-43c0-bd8b-26bf941f1ed1", "href": "http://10.0.0.38:8082/network-policy/2b71cb58-855e-43c0-bd8b-26bf941f1ed1"}} 2026-01-09 16:01:46,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-09 16:01:46,263 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.12.225.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-09 16:01:46,263 - DEBUG - ping -s 56 -c 3 -W 1 141.12.225.195 2026-01-09 16:01:49,477 - DEBUG - PING 141.12.225.195 (141.12.225.195): 56 data bytes --- 141.12.225.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-09 16:01:49,477 - WARNING - Ping to IP 141.12.225.195 from VM ctest-TestBasicPolicy-63390348-46539258 failed 2026-01-09 16:01:49,478 - INFO - Deleting VM ctest-TestBasicPolicy-63390348-36538471 2026-01-09 16:01:49,558 - INFO - Deleting VM ctest-TestBasicPolicy-63390348-46539258 2026-01-09 16:01:49,928 - INFO - Deleted policy ctest-policy-allow-all-80568165 2026-01-09 16:01:49,928 - INFO - Deleting VN ctest-vn-00579141 2026-01-09 16:01:49,977 - DEBUG - VN 020e976d-c29e-40bb-ab3a-5b1808aab196 still in use: Unable to complete operation on network 020e976d-c29e-40bb-ab3a-5b1808aab196. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6496c3d2-600a-4af4-b280-7514549f1517'] 2026-01-09 16:01:49,977 - WARNING - Deleting VN ctest-vn-00579141 failed..Will retry 2026-01-09 16:01:52,078 - DEBUG - Response for deleting network () 2026-01-09 16:01:52,078 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c037e827-b9b7-4d65-b1ca-f9d4c3bc009e 2026-01-09 16:01:52,083 - DEBUG - Response Code: 404 2026-01-09 16:01:52,083 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-09 16:01:52,088 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a3ca9cd7-63c0-45e2-a704-54d5ebd478e3 2026-01-09 16:01:52,144 - DEBUG - Requesting: http://10.0.0.38:8082/project/4f8f77a3-2a00-46c4-8a4f-a671555f5412 2026-01-09 16:01:52,215 - INFO - Validated that VN ctest-vn-00579141 is not found in API Server 2026-01-09 16:01:52,225 - DEBUG - VN ctest-vn-00579141 is not present in Agent 10.0.0.38 2026-01-09 16:01:52,225 - INFO - Validated that VN ctest-vn-00579141 is not in any agent 2026-01-09 16:01:52,240 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00579141 info 2026-01-09 16:01:52,240 - INFO - Deleting VN ctest-vn-59164953 2026-01-09 16:01:52,335 - DEBUG - Response for deleting network () 2026-01-09 16:01:52,335 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/428e5d03-8024-4245-908c-b77675b91fc7 2026-01-09 16:01:52,341 - DEBUG - Response Code: 404 2026-01-09 16:01:52,341 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-09 16:01:52,346 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a3ca9cd7-63c0-45e2-a704-54d5ebd478e3 2026-01-09 16:01:52,400 - DEBUG - Requesting: http://10.0.0.38:8082/project/4f8f77a3-2a00-46c4-8a4f-a671555f5412 2026-01-09 16:01:52,475 - INFO - Validated that VN ctest-vn-59164953 is not found in API Server 2026-01-09 16:01:52,485 - DEBUG - VN ctest-vn-59164953 is not present in Agent 10.0.0.38 2026-01-09 16:01:52,485 - INFO - Validated that VN ctest-vn-59164953 is not in any agent 2026-01-09 16:01:52,500 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59164953 info 2026-01-09 16:01:52,752 - DEBUG - No XMPP flaps were noticed during the test
2026-01-09 16:01:52,753 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-09 16:01:52,753 - INFO - -------------------------------------------------------------------------------- 2026-01-09 16:01:53,451 - INFO - Deleted project: ctest-TestBasicPolicy-63390348, ID : 4f8f77a3-2a00-46c4-8a4f-a671555f5412