2026-04-03 17:13:00,861 - INFO - Domain Default found not creating 2026-04-03 17:13:01,045 - INFO - Project ctest-TestBasicPolicy-41257395 not found, creating it 2026-04-03 17:13:01,520 - INFO - Created Project:ctest-TestBasicPolicy-41257395, ID : 4f7bbf3b-882d-474e-9b24-c02eac049ccc 2026-04-03 17:13:03,100 - INFO - ================================================================================ 2026-04-03 17:13:03,100 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-03 17:13:03,100 - 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-03 17:13:03,353 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with 2026-04-03 17:13:03,353 - INFO - Initial checks done. Running the testcase now 2026-04-03 17:13:03,353 - INFO - 2026-04-03 17:13:03,936 - DEBUG - Response for create_network : {'network': {'id': '99315ebb-dae4-441e-bb09-ac2dfc173bfa', 'name': 'ctest-vn-77016445', 'tenant_id': '4f7bbf3b882d474e9b24c02eac049ccc', 'project_id': '4f7bbf3b882d474e9b24c02eac049ccc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41257395', 'ctest-vn-77016445'], 'port_security_enabled': True, 'description': ''}} 2026-04-03 17:13:04,181 - DEBUG - Response for create_subnet : {'subnet': {'id': '04a79ba7-6d72-46d9-a3e4-b9f0dfb717f9', 'name': '', 'tenant_id': '4f7bbf3b882d474e9b24c02eac049ccc', 'network_id': '99315ebb-dae4-441e-bb09-ac2dfc173bfa', 'ip_version': 4, 'cidr': '85.67.19.192/26', 'allocation_pools': [{'start': '85.67.19.194', 'end': '85.67.19.254'}], 'gateway_ip': '85.67.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.67.19.194', 'tags': [], 'project_id': '4f7bbf3b882d474e9b24c02eac049ccc'}} 2026-04-03 17:13:04,206 - INFO - Created VN ctest-vn-77016445 2026-04-03 17:13:04,260 - DEBUG - VN ctest-vn-77016445 UUID is 99315ebb-dae4-441e-bb09-ac2dfc173bfa 2026-04-03 17:13:04,578 - DEBUG - Response for create_network : {'network': {'id': '6dedd9a8-f65c-47b3-b45a-74f128138645', 'name': 'ctest-vn-42534429', 'tenant_id': '4f7bbf3b882d474e9b24c02eac049ccc', 'project_id': '4f7bbf3b882d474e9b24c02eac049ccc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41257395', 'ctest-vn-42534429'], 'port_security_enabled': True, 'description': ''}} 2026-04-03 17:13:04,746 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1bc3704-124d-430c-b614-fd0b883194da', 'name': '', 'tenant_id': '4f7bbf3b882d474e9b24c02eac049ccc', 'network_id': '6dedd9a8-f65c-47b3-b45a-74f128138645', 'ip_version': 4, 'cidr': '2.56.228.64/26', 'allocation_pools': [{'start': '2.56.228.66', 'end': '2.56.228.126'}], 'gateway_ip': '2.56.228.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.56.228.66', 'tags': [], 'project_id': '4f7bbf3b882d474e9b24c02eac049ccc'}} 2026-04-03 17:13:04,763 - INFO - Created VN ctest-vn-42534429 2026-04-03 17:13:04,816 - DEBUG - VN ctest-vn-42534429 UUID is 6dedd9a8-f65c-47b3-b45a-74f128138645 2026-04-03 17:13:04,968 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41257395:ctest-vn-77016445, 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-41257395:ctest-vn-42534429, 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-03 17:13:05,252 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '99315ebb-dae4-441e-bb09-ac2dfc173bfa', 'name': 'ctest-vn-77016445', 'tenant_id': '4f7bbf3b882d474e9b24c02eac049ccc', 'project_id': '4f7bbf3b882d474e9b24c02eac049ccc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['04a79ba7-6d72-46d9-a3e4-b9f0dfb717f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41257395', 'ctest-vn-77016445'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41257395', 'ctest-policy-allow-all-63588931']], 'subnet_ipam': [{'subnet_cidr': '85.67.19.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-03 17:13:05,473 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6dedd9a8-f65c-47b3-b45a-74f128138645', 'name': 'ctest-vn-42534429', 'tenant_id': '4f7bbf3b882d474e9b24c02eac049ccc', 'project_id': '4f7bbf3b882d474e9b24c02eac049ccc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e1bc3704-124d-430c-b614-fd0b883194da'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41257395', 'ctest-vn-42534429'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41257395', 'ctest-policy-allow-all-63588931']], 'subnet_ipam': [{'subnet_cidr': '2.56.228.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-03 17:13:05,652 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-03 17:13:05,950 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-03 17:13:05,984 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7fd2cff5-124e-49c4-9ab7-4d2772ecb25d 2026-04-03 17:13:05,999 - DEBUG - Requesting: http://10.0.0.50:8082/project/4f7bbf3b-882d-474e-9b24-c02eac049ccc 2026-04-03 17:13:06,073 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/99315ebb-dae4-441e-bb09-ac2dfc173bfa 2026-04-03 17:13:06,084 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/99315ebb-dae4-441e-bb09-ac2dfc173bfa 2026-04-03 17:13:06,093 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/82c28b31-0ce2-4bb1-a749-32e7e2ec3ab6 2026-04-03 17:13:06,100 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/82c28b31-0ce2-4bb1-a749-32e7e2ec3ab6 2026-04-03 17:13:06,108 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/46cea8d7-24b8-4f96-ba4c-030cc3fd0f18 2026-04-03 17:13:06,114 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-03 17:13:06,114 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/99315ebb-dae4-441e-bb09-ac2dfc173bfa 2026-04-03 17:13:06,125 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/82c28b31-0ce2-4bb1-a749-32e7e2ec3ab6 2026-04-03 17:13:06,139 - INFO - Verified VN network id 11 for VN 99315ebb-dae4-441e-bb09-ac2dfc173bfa 2026-04-03 17:13:06,139 - INFO - Verifications in API Server for VN ctest-vn-77016445 passed 2026-04-03 17:13:06,139 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/99315ebb-dae4-441e-bb09-ac2dfc173bfa 2026-04-03 17:13:06,148 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/82c28b31-0ce2-4bb1-a749-32e7e2ec3ab6 2026-04-03 17:13:06,155 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/82c28b31-0ce2-4bb1-a749-32e7e2ec3ab6 2026-04-03 17:13:06,161 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/46cea8d7-24b8-4f96-ba4c-030cc3fd0f18 2026-04-03 17:13:06,174 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41257395:ctest-vn-77016445', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41257395', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11038708322586084382', 'uuid-lslong': '13477492673385806842'}, 'enable': 'true', 'created': '2026-04-03T17:13:03', 'last-modified': '2026-04-03T17:13:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945404'} 2026-04-03 17:13:06,180 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-03 17:13:06,180 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77016445 passed 2026-04-03 17:13:06,181 - DEBUG - ====Verifying policy data for ctest-vn-77016445 in API_Server ====== 2026-04-03 17:13:06,181 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-03 17:13:06,186 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7fd2cff5-124e-49c4-9ab7-4d2772ecb25d 2026-04-03 17:13:06,197 - DEBUG - Requesting: http://10.0.0.50:8082/project/4f7bbf3b-882d-474e-9b24-c02eac049ccc 2026-04-03 17:13:06,273 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/99315ebb-dae4-441e-bb09-ac2dfc173bfa 2026-04-03 17:13:06,284 - DEBUG - ==>Verifying data for policy with id: 94983a0a-8cf9-40e2-80e1-93751d041665, fqn: ['default-domain', 'ctest-TestBasicPolicy-41257395', 'ctest-policy-allow-all-63588931'] 2026-04-03 17:13:06,284 - INFO - VN ctest-vn-77016445 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-03 17:13:06,284 - DEBUG - Verifying the vn in opserver 2026-04-03 17:13:06,285 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41257395:ctest-vn-77016445 virtual network link through opserver 10.0.0.50 2026-04-03 17:13:06,285 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-03 17:13:06,581 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-03 17:13:06,652 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41257395:ctest-vn-77016445', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41257395:ctest-vn-77016445?flat'} 2026-04-03 17:13:06,652 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41257395:ctest-vn-77016445 is found in opserver 2026-04-03 17:13:06,660 - DEBUG - Do not have enough data to verify VN in agent 2026-04-03 17:13:06,664 - DEBUG - VRF ids for VN ctest-vn-77016445: {} 2026-04-03 17:13:06,664 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-03 17:13:06,669 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7fd2cff5-124e-49c4-9ab7-4d2772ecb25d 2026-04-03 17:13:06,679 - DEBUG - Requesting: http://10.0.0.50:8082/project/4f7bbf3b-882d-474e-9b24-c02eac049ccc 2026-04-03 17:13:06,760 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6dedd9a8-f65c-47b3-b45a-74f128138645 2026-04-03 17:13:06,773 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6dedd9a8-f65c-47b3-b45a-74f128138645 2026-04-03 17:13:06,781 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b046b3fa-c1cf-4804-95f4-0a5906f304b1 2026-04-03 17:13:06,788 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b046b3fa-c1cf-4804-95f4-0a5906f304b1 2026-04-03 17:13:06,794 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/29b4a067-abda-4056-a9f9-8a5be13c708a 2026-04-03 17:13:06,800 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-03 17:13:06,801 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6dedd9a8-f65c-47b3-b45a-74f128138645 2026-04-03 17:13:06,810 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b046b3fa-c1cf-4804-95f4-0a5906f304b1 2026-04-03 17:13:06,828 - INFO - Verified VN network id 12 for VN 6dedd9a8-f65c-47b3-b45a-74f128138645 2026-04-03 17:13:06,828 - INFO - Verifications in API Server for VN ctest-vn-42534429 passed 2026-04-03 17:13:06,828 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6dedd9a8-f65c-47b3-b45a-74f128138645 2026-04-03 17:13:06,838 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b046b3fa-c1cf-4804-95f4-0a5906f304b1 2026-04-03 17:13:06,845 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b046b3fa-c1cf-4804-95f4-0a5906f304b1 2026-04-03 17:13:06,851 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/29b4a067-abda-4056-a9f9-8a5be13c708a 2026-04-03 17:13:06,863 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41257395:ctest-vn-42534429', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41257395', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7921226639325546419', 'uuid-lslong': '12995828253839296069'}, 'enable': 'true', 'created': '2026-04-03T17:13:04', 'last-modified': '2026-04-03T17:13:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.412049'} 2026-04-03 17:13:06,869 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-03 17:13:06,869 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42534429 passed 2026-04-03 17:13:06,869 - DEBUG - ====Verifying policy data for ctest-vn-42534429 in API_Server ====== 2026-04-03 17:13:06,869 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-03 17:13:06,875 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7fd2cff5-124e-49c4-9ab7-4d2772ecb25d 2026-04-03 17:13:06,884 - DEBUG - Requesting: http://10.0.0.50:8082/project/4f7bbf3b-882d-474e-9b24-c02eac049ccc 2026-04-03 17:13:06,956 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6dedd9a8-f65c-47b3-b45a-74f128138645 2026-04-03 17:13:06,966 - DEBUG - ==>Verifying data for policy with id: 94983a0a-8cf9-40e2-80e1-93751d041665, fqn: ['default-domain', 'ctest-TestBasicPolicy-41257395', 'ctest-policy-allow-all-63588931'] 2026-04-03 17:13:06,966 - INFO - VN ctest-vn-42534429 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-03 17:13:06,966 - DEBUG - Verifying the vn in opserver 2026-04-03 17:13:06,966 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41257395:ctest-vn-42534429 virtual network link through opserver 10.0.0.50 2026-04-03 17:13:06,966 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-03 17:13:06,976 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41257395:ctest-vn-42534429', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41257395:ctest-vn-42534429?flat'} 2026-04-03 17:13:06,976 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41257395:ctest-vn-42534429 is found in opserver 2026-04-03 17:13:06,986 - DEBUG - Do not have enough data to verify VN in agent 2026-04-03 17:13:06,990 - DEBUG - VRF ids for VN ctest-vn-42534429: {} 2026-04-03 17:13:07,050 - DEBUG - Services list from nova: [, , ] 2026-04-03 17:13:08,134 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5590-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5590-1) 2026-04-03 17:13:09,312 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5590-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5590-1) 2026-04-03 17:13:09,312 - INFO - Waiting for VM ctest-TestBasicPolicy-41257395-82674792 to be up.. 2026-04-03 17:13:09,394 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-03 17:13:14,474 - DEBUG - VM is in ACTIVE state now 2026-04-03 17:13:14,474 - INFO - VM name : ctest-TestBasicPolicy-41257395-82674792 2026-04-03 17:13:14,559 - DEBUG - VM ctest-TestBasicPolicy-41257395-82674792 ID is e5ab657e-5b81-4c76-94b2-23b9c8d7c0e1 2026-04-03 17:13:14,579 - DEBUG - VM ctest-TestBasicPolicy-41257395-82674792 launched on Node cn-jenkins-deploy-platform-ansible-os-5590-1 2026-04-03 17:13:14,656 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e5ab657e-5b81-4c76-94b2-23b9c8d7c0e1 2026-04-03 17:13:14,665 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6c92b206-9d0f-43cc-8c48-c088133a47bc 2026-04-03 17:13:17,936 - 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-03 17:13:17,936 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41257395-82674792 failed! 2026-04-03 17:13:17,992 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41257395:ctest-vn-77016445 is 85.67.19.193 and allocation pool is NOT set 2026-04-03 17:13:20,059 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.417 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 = 0.417/4.375/8.334/3.958 ms') 2026-04-03 17:13:20,059 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41257395-82674792 passed 2026-04-03 17:13:20,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 17:13:20,212 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41257395-82674792, IP 85.67.19.195, Port 22 2026-04-03 17:13:20,379 - DEBUG - VM ctest-TestBasicPolicy-41257395-82674792 is ready for SSH connections 2026-04-03 17:13:20,379 - INFO - Waiting for VM ctest-TestBasicPolicy-41257395-17437912 to be up.. 2026-04-03 17:13:20,461 - DEBUG - VM is in ACTIVE state now 2026-04-03 17:13:20,461 - INFO - VM name : ctest-TestBasicPolicy-41257395-17437912 2026-04-03 17:13:20,542 - DEBUG - VM ctest-TestBasicPolicy-41257395-17437912 ID is a6557929-a565-43a7-8e54-6857a235af02 2026-04-03 17:13:20,542 - DEBUG - VM ctest-TestBasicPolicy-41257395-17437912 launched on Node cn-jenkins-deploy-platform-ansible-os-5590-1 2026-04-03 17:13:20,622 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a6557929-a565-43a7-8e54-6857a235af02 2026-04-03 17:13:20,631 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a58557a9-ed95-444a-8594-3c6a20d70319 2026-04-03 17:13:21,872 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.716 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.716/2.370/4.025/1.654 ms') 2026-04-03 17:13:21,872 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41257395-17437912 passed 2026-04-03 17:13:22,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 17:13:22,020 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41257395-17437912, IP 2.56.228.67, Port 22 2026-04-03 17:13:22,176 - DEBUG - VM ctest-TestBasicPolicy-41257395-17437912 is ready for SSH connections 2026-04-03 17:13:22,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 17:13:22,177 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.56.228.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-03 17:13:22,177 - DEBUG - ping -s 56 -c 3 -W 1 2.56.228.67 2026-04-03 17:13:26,200 - DEBUG - PING 2.56.228.67 (2.56.228.67): 56 data bytes 64 bytes from 2.56.228.67: seq=0 ttl=63 time=6.067 ms 64 bytes from 2.56.228.67: seq=1 ttl=63 time=1.418 ms 64 bytes from 2.56.228.67: seq=2 ttl=63 time=1.032 ms --- 2.56.228.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.032/2.839/6.067 ms 2026-04-03 17:13:26,200 - INFO - Ping to IP 2.56.228.67 from VM ctest-TestBasicPolicy-41257395-82674792 passed 2026-04-03 17:13:26,376 - DEBUG - Policy Update Response {"network-policy": {"uuid": "94983a0a-8cf9-40e2-80e1-93751d041665", "href": "http://10.0.0.50:8082/network-policy/94983a0a-8cf9-40e2-80e1-93751d041665"}} 2026-04-03 17:13:26,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 17:13:26,376 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.56.228.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-03 17:13:26,376 - DEBUG - ping -s 56 -c 3 -W 1 2.56.228.67 2026-04-03 17:13:29,588 - DEBUG - PING 2.56.228.67 (2.56.228.67): 56 data bytes --- 2.56.228.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-03 17:13:29,588 - WARNING - Ping to IP 2.56.228.67 from VM ctest-TestBasicPolicy-41257395-82674792 failed 2026-04-03 17:13:29,588 - INFO - Deleting VM ctest-TestBasicPolicy-41257395-17437912 2026-04-03 17:13:29,657 - INFO - Deleting VM ctest-TestBasicPolicy-41257395-82674792 2026-04-03 17:13:30,019 - INFO - Deleted policy ctest-policy-allow-all-63588931 2026-04-03 17:13:30,019 - INFO - Deleting VN ctest-vn-42534429 2026-04-03 17:13:30,056 - DEBUG - VN 6dedd9a8-f65c-47b3-b45a-74f128138645 still in use: Unable to complete operation on network 6dedd9a8-f65c-47b3-b45a-74f128138645. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-260c4c62-a604-4103-9dbf-e309fc9950e0'] 2026-04-03 17:13:30,056 - WARNING - Deleting VN ctest-vn-42534429 failed..Will retry 2026-04-03 17:13:32,149 - DEBUG - Response for deleting network () 2026-04-03 17:13:32,149 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b046b3fa-c1cf-4804-95f4-0a5906f304b1 2026-04-03 17:13:32,155 - DEBUG - Response Code: 404 2026-04-03 17:13:32,155 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-03 17:13:32,161 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7fd2cff5-124e-49c4-9ab7-4d2772ecb25d 2026-04-03 17:13:32,213 - DEBUG - Requesting: http://10.0.0.50:8082/project/4f7bbf3b-882d-474e-9b24-c02eac049ccc 2026-04-03 17:13:32,279 - INFO - Validated that VN ctest-vn-42534429 is not found in API Server 2026-04-03 17:13:32,289 - DEBUG - VN ctest-vn-42534429 is not present in Agent 10.0.0.50 2026-04-03 17:13:32,289 - INFO - Validated that VN ctest-vn-42534429 is not in any agent 2026-04-03 17:13:32,301 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42534429 info 2026-04-03 17:13:32,301 - INFO - Deleting VN ctest-vn-77016445 2026-04-03 17:13:32,412 - DEBUG - Response for deleting network () 2026-04-03 17:13:32,412 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/82c28b31-0ce2-4bb1-a749-32e7e2ec3ab6 2026-04-03 17:13:32,416 - DEBUG - Response Code: 404 2026-04-03 17:13:32,417 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-03 17:13:32,421 - DEBUG - Requesting: http://10.0.0.50:8082/domain/7fd2cff5-124e-49c4-9ab7-4d2772ecb25d 2026-04-03 17:13:32,477 - DEBUG - Requesting: http://10.0.0.50:8082/project/4f7bbf3b-882d-474e-9b24-c02eac049ccc 2026-04-03 17:13:32,561 - INFO - Validated that VN ctest-vn-77016445 is not found in API Server 2026-04-03 17:13:32,571 - DEBUG - VN ctest-vn-77016445 is not present in Agent 10.0.0.50 2026-04-03 17:13:32,571 - INFO - Validated that VN ctest-vn-77016445 is not in any agent 2026-04-03 17:13:32,586 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77016445 info 2026-04-03 17:13:32,841 - DEBUG - No XMPP flaps were noticed during the test
2026-04-03 17:13:32,841 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-04-03 17:13:32,841 - INFO - -------------------------------------------------------------------------------- 2026-04-03 17:13:33,562 - INFO - Deleted project: ctest-TestBasicPolicy-41257395, ID : 4f7bbf3b-882d-474e-9b24-c02eac049ccc