2026-07-08 19:34:01,897 - INFO - Domain Default found not creating 2026-07-08 19:34:02,111 - INFO - Project ctest-TestBasicPolicy-64978411 not found, creating it 2026-07-08 19:34:02,616 - INFO - Created Project:ctest-TestBasicPolicy-64978411, ID : 9e7df154-22ba-4185-9097-18d9ffc5039d 2026-07-08 19:34:04,601 - INFO - ================================================================================ 2026-07-08 19:34:04,601 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-08 19:34:04,602 - 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-07-08 19:34:04,877 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-07-08 19:34:04,877 - INFO - Initial checks done. Running the testcase now 2026-07-08 19:34:04,878 - INFO - 2026-07-08 19:34:05,629 - DEBUG - Response for create_network : {'network': {'id': 'fa1872b1-25df-4689-b88a-d7592e762560', 'name': 'ctest-vn-23066914', 'tenant_id': '9e7df15422ba4185909718d9ffc5039d', 'project_id': '9e7df15422ba4185909718d9ffc5039d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64978411', 'ctest-vn-23066914'], 'port_security_enabled': True, 'description': ''}} 2026-07-08 19:34:05,856 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e677134-4112-49bf-b4e6-f8c07b748562', 'name': '', 'tenant_id': '9e7df15422ba4185909718d9ffc5039d', 'network_id': 'fa1872b1-25df-4689-b88a-d7592e762560', 'ip_version': 4, 'cidr': '116.252.120.0/26', 'allocation_pools': [{'start': '116.252.120.2', 'end': '116.252.120.62'}], 'gateway_ip': '116.252.120.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.252.120.2', 'tags': [], 'project_id': '9e7df15422ba4185909718d9ffc5039d'}} 2026-07-08 19:34:05,876 - INFO - Created VN ctest-vn-23066914 2026-07-08 19:34:05,931 - DEBUG - VN ctest-vn-23066914 UUID is fa1872b1-25df-4689-b88a-d7592e762560 2026-07-08 19:34:06,299 - DEBUG - Response for create_network : {'network': {'id': 'fc4eb19a-81ec-426a-b83a-96d2c06857bc', 'name': 'ctest-vn-34391467', 'tenant_id': '9e7df15422ba4185909718d9ffc5039d', 'project_id': '9e7df15422ba4185909718d9ffc5039d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64978411', 'ctest-vn-34391467'], 'port_security_enabled': True, 'description': ''}} 2026-07-08 19:34:06,522 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f92399a0-d651-473d-ad9e-7a780186b2ec', 'name': '', 'tenant_id': '9e7df15422ba4185909718d9ffc5039d', 'network_id': 'fc4eb19a-81ec-426a-b83a-96d2c06857bc', 'ip_version': 4, 'cidr': '108.140.96.64/26', 'allocation_pools': [{'start': '108.140.96.66', 'end': '108.140.96.126'}], 'gateway_ip': '108.140.96.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.140.96.66', 'tags': [], 'project_id': '9e7df15422ba4185909718d9ffc5039d'}} 2026-07-08 19:34:06,544 - INFO - Created VN ctest-vn-34391467 2026-07-08 19:34:06,603 - DEBUG - VN ctest-vn-34391467 UUID is fc4eb19a-81ec-426a-b83a-96d2c06857bc 2026-07-08 19:34:06,736 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64978411:ctest-vn-23066914, 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-64978411:ctest-vn-34391467, 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-07-08 19:34:07,081 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fa1872b1-25df-4689-b88a-d7592e762560', 'name': 'ctest-vn-23066914', 'tenant_id': '9e7df15422ba4185909718d9ffc5039d', 'project_id': '9e7df15422ba4185909718d9ffc5039d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2e677134-4112-49bf-b4e6-f8c07b748562'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64978411', 'ctest-vn-23066914'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64978411', 'ctest-policy-allow-all-72694412']], 'subnet_ipam': [{'subnet_cidr': '116.252.120.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-08 19:34:07,323 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fc4eb19a-81ec-426a-b83a-96d2c06857bc', 'name': 'ctest-vn-34391467', 'tenant_id': '9e7df15422ba4185909718d9ffc5039d', 'project_id': '9e7df15422ba4185909718d9ffc5039d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f92399a0-d651-473d-ad9e-7a780186b2ec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64978411', 'ctest-vn-34391467'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64978411', 'ctest-policy-allow-all-72694412']], 'subnet_ipam': [{'subnet_cidr': '108.140.96.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-08 19:34:07,495 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-08 19:34:07,903 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-08 19:34:07,938 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6e4ca09f-e3c3-4299-a425-4f25de16d556 2026-07-08 19:34:07,956 - DEBUG - Requesting: http://10.0.0.38:8082/project/9e7df154-22ba-4185-9097-18d9ffc5039d 2026-07-08 19:34:08,040 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fa1872b1-25df-4689-b88a-d7592e762560 2026-07-08 19:34:08,057 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fa1872b1-25df-4689-b88a-d7592e762560 2026-07-08 19:34:08,070 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b38d9b9a-5ac5-4d45-8e42-841280a006f3 2026-07-08 19:34:08,080 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b38d9b9a-5ac5-4d45-8e42-841280a006f3 2026-07-08 19:34:08,090 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cbc4d2df-6154-4444-b3d7-787b40ef0cc7 2026-07-08 19:34:08,100 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-08 19:34:08,100 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fa1872b1-25df-4689-b88a-d7592e762560 2026-07-08 19:34:08,114 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b38d9b9a-5ac5-4d45-8e42-841280a006f3 2026-07-08 19:34:08,132 - INFO - Verified VN network id 11 for VN fa1872b1-25df-4689-b88a-d7592e762560 2026-07-08 19:34:08,133 - INFO - Verifications in API Server for VN ctest-vn-23066914 passed 2026-07-08 19:34:08,133 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fa1872b1-25df-4689-b88a-d7592e762560 2026-07-08 19:34:08,145 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b38d9b9a-5ac5-4d45-8e42-841280a006f3 2026-07-08 19:34:08,154 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b38d9b9a-5ac5-4d45-8e42-841280a006f3 2026-07-08 19:34:08,165 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cbc4d2df-6154-4444-b3d7-787b40ef0cc7 2026-07-08 19:34:08,183 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64978411:ctest-vn-23066914', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64978411', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18021280014093207177', 'uuid-lslong': '13297677627796366688'}, 'enable': 'true', 'created': '2026-07-08T19:34:05', 'last-modified': '2026-07-08T19:34:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.139097'} 2026-07-08 19:34:08,192 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-08 19:34:08,192 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23066914 passed 2026-07-08 19:34:08,192 - DEBUG - ====Verifying policy data for ctest-vn-23066914 in API_Server ====== 2026-07-08 19:34:08,192 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-08 19:34:08,201 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6e4ca09f-e3c3-4299-a425-4f25de16d556 2026-07-08 19:34:08,216 - DEBUG - Requesting: http://10.0.0.38:8082/project/9e7df154-22ba-4185-9097-18d9ffc5039d 2026-07-08 19:34:08,303 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fa1872b1-25df-4689-b88a-d7592e762560 2026-07-08 19:34:08,318 - DEBUG - ==>Verifying data for policy with id: c6c79513-4af0-4eac-84a7-408639556d9b, fqn: ['default-domain', 'ctest-TestBasicPolicy-64978411', 'ctest-policy-allow-all-72694412'] 2026-07-08 19:34:08,318 - INFO - VN ctest-vn-23066914 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-08 19:34:08,318 - DEBUG - Verifying the vn in opserver 2026-07-08 19:34:08,318 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64978411:ctest-vn-23066914 virtual network link through opserver 10.0.0.38 2026-07-08 19:34:08,318 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-08 19:34:08,711 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-08 19:34:08,780 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64978411:ctest-vn-23066914', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64978411:ctest-vn-23066914?flat'} 2026-07-08 19:34:08,780 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64978411:ctest-vn-23066914 is found in opserver 2026-07-08 19:34:08,792 - DEBUG - Do not have enough data to verify VN in agent 2026-07-08 19:34:08,797 - DEBUG - VRF ids for VN ctest-vn-23066914: {} 2026-07-08 19:34:08,797 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-08 19:34:08,807 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6e4ca09f-e3c3-4299-a425-4f25de16d556 2026-07-08 19:34:08,820 - DEBUG - Requesting: http://10.0.0.38:8082/project/9e7df154-22ba-4185-9097-18d9ffc5039d 2026-07-08 19:34:08,908 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fc4eb19a-81ec-426a-b83a-96d2c06857bc 2026-07-08 19:34:08,932 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fc4eb19a-81ec-426a-b83a-96d2c06857bc 2026-07-08 19:34:08,945 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/176610b2-ffc7-4d50-9a6e-3a8a9c90ae8e 2026-07-08 19:34:08,955 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/176610b2-ffc7-4d50-9a6e-3a8a9c90ae8e 2026-07-08 19:34:08,965 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/697661a7-34ac-418b-a1f8-4ac61a02f311 2026-07-08 19:34:08,974 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-08 19:34:08,974 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fc4eb19a-81ec-426a-b83a-96d2c06857bc 2026-07-08 19:34:08,986 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/176610b2-ffc7-4d50-9a6e-3a8a9c90ae8e 2026-07-08 19:34:09,011 - INFO - Verified VN network id 12 for VN fc4eb19a-81ec-426a-b83a-96d2c06857bc 2026-07-08 19:34:09,011 - INFO - Verifications in API Server for VN ctest-vn-34391467 passed 2026-07-08 19:34:09,012 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fc4eb19a-81ec-426a-b83a-96d2c06857bc 2026-07-08 19:34:09,026 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/176610b2-ffc7-4d50-9a6e-3a8a9c90ae8e 2026-07-08 19:34:09,036 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/176610b2-ffc7-4d50-9a6e-3a8a9c90ae8e 2026-07-08 19:34:09,044 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/697661a7-34ac-418b-a1f8-4ac61a02f311 2026-07-08 19:34:09,058 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64978411:ctest-vn-34391467', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64978411', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18180664022904095338', 'uuid-lslong': '13275088683543320508'}, 'enable': 'true', 'created': '2026-07-08T19:34:06', 'last-modified': '2026-07-08T19:34:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.767521'} 2026-07-08 19:34:09,065 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-08 19:34:09,065 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34391467 passed 2026-07-08 19:34:09,065 - DEBUG - ====Verifying policy data for ctest-vn-34391467 in API_Server ====== 2026-07-08 19:34:09,065 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-08 19:34:09,072 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6e4ca09f-e3c3-4299-a425-4f25de16d556 2026-07-08 19:34:09,087 - DEBUG - Requesting: http://10.0.0.38:8082/project/9e7df154-22ba-4185-9097-18d9ffc5039d 2026-07-08 19:34:09,167 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fc4eb19a-81ec-426a-b83a-96d2c06857bc 2026-07-08 19:34:09,178 - DEBUG - ==>Verifying data for policy with id: c6c79513-4af0-4eac-84a7-408639556d9b, fqn: ['default-domain', 'ctest-TestBasicPolicy-64978411', 'ctest-policy-allow-all-72694412'] 2026-07-08 19:34:09,178 - INFO - VN ctest-vn-34391467 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-08 19:34:09,179 - DEBUG - Verifying the vn in opserver 2026-07-08 19:34:09,179 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64978411:ctest-vn-34391467 virtual network link through opserver 10.0.0.38 2026-07-08 19:34:09,179 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-08 19:34:09,191 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64978411:ctest-vn-34391467', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64978411:ctest-vn-34391467?flat'} 2026-07-08 19:34:09,191 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64978411:ctest-vn-34391467 is found in opserver 2026-07-08 19:34:09,202 - DEBUG - Do not have enough data to verify VN in agent 2026-07-08 19:34:09,207 - DEBUG - VRF ids for VN ctest-vn-34391467: {} 2026-07-08 19:34:09,280 - DEBUG - Services list from nova: [, , ] 2026-07-08 19:34:09,718 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6087-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6087-1) 2026-07-08 19:34:10,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6087-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6087-1) 2026-07-08 19:34:10,475 - INFO - Waiting for VM ctest-TestBasicPolicy-64978411-62822253 to be up.. 2026-07-08 19:34:10,551 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-08 19:34:15,645 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-08 19:34:20,750 - DEBUG - VM is in ACTIVE state now 2026-07-08 19:34:20,750 - INFO - VM name : ctest-TestBasicPolicy-64978411-62822253 2026-07-08 19:34:20,875 - DEBUG - VM ctest-TestBasicPolicy-64978411-62822253 ID is 54865289-a74c-41a3-87c3-151e97ea163a 2026-07-08 19:34:20,915 - DEBUG - VM ctest-TestBasicPolicy-64978411-62822253 launched on Node cn-jenkins-deploy-platform-ansible-os-6087-1 2026-07-08 19:34:21,028 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/54865289-a74c-41a3-87c3-151e97ea163a 2026-07-08 19:34:21,043 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2d6efd3e-7aa1-43d4-bddd-5c93b605d2eb 2026-07-08 19:34:24,369 - 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-07-08 19:34:24,369 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64978411-62822253 failed! 2026-07-08 19:34:24,434 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64978411:ctest-vn-23066914 is 116.252.120.1 and allocation pool is NOT set 2026-07-08 19:34:28,530 - 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 1026ms') 2026-07-08 19:34:28,531 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64978411-62822253 failed! 2026-07-08 19:34:28,607 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64978411:ctest-vn-23066914 is 116.252.120.1 and allocation pool is NOT set 2026-07-08 19:34:30,687 - 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=10.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.53 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.531/6.695/10.860/4.164 ms') 2026-07-08 19:34:30,687 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64978411-62822253 passed 2026-07-08 19:34:30,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-08 19:34:30,859 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64978411-62822253, IP 116.252.120.3, Port 22 2026-07-08 19:34:30,929 - 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-07-08 19:34:31,052 - DEBUG - VM ctest-TestBasicPolicy-64978411-62822253 is NOT ready for SSH connections, VM status: ACTIVE 2026-07-08 19:34:36,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-08 19:34:36,053 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64978411-62822253, IP 116.252.120.3, Port 22 2026-07-08 19:34:36,233 - DEBUG - VM ctest-TestBasicPolicy-64978411-62822253 is ready for SSH connections 2026-07-08 19:34:36,233 - INFO - Waiting for VM ctest-TestBasicPolicy-64978411-57788625 to be up.. 2026-07-08 19:34:36,351 - DEBUG - VM is in ACTIVE state now 2026-07-08 19:34:36,351 - INFO - VM name : ctest-TestBasicPolicy-64978411-57788625 2026-07-08 19:34:36,458 - DEBUG - VM ctest-TestBasicPolicy-64978411-57788625 ID is 4ef78301-813a-4266-8ef3-b90fc508bb0d 2026-07-08 19:34:36,458 - DEBUG - VM ctest-TestBasicPolicy-64978411-57788625 launched on Node cn-jenkins-deploy-platform-ansible-os-6087-1 2026-07-08 19:34:36,582 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4ef78301-813a-4266-8ef3-b90fc508bb0d 2026-07-08 19:34:36,595 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/05676b9d-1bc0-4035-ac9e-98ed63e4748b 2026-07-08 19:34:37,868 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.561 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.561/2.406/4.252/1.845 ms') 2026-07-08 19:34:37,869 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64978411-57788625 passed 2026-07-08 19:34:38,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-08 19:34:38,023 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64978411-57788625, IP 108.140.96.67, Port 22 2026-07-08 19:34:38,193 - DEBUG - VM ctest-TestBasicPolicy-64978411-57788625 is ready for SSH connections 2026-07-08 19:34:38,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-08 19:34:38,194 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.140.96.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-08 19:34:38,194 - DEBUG - ping -s 56 -c 3 -W 1 108.140.96.67 2026-07-08 19:34:42,414 - DEBUG - PING 108.140.96.67 (108.140.96.67): 56 data bytes 64 bytes from 108.140.96.67: seq=0 ttl=63 time=8.094 ms 64 bytes from 108.140.96.67: seq=1 ttl=63 time=1.160 ms 64 bytes from 108.140.96.67: seq=2 ttl=63 time=1.867 ms --- 108.140.96.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.160/3.707/8.094 ms 2026-07-08 19:34:42,415 - INFO - Ping to IP 108.140.96.67 from VM ctest-TestBasicPolicy-64978411-62822253 passed 2026-07-08 19:34:42,615 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c6c79513-4af0-4eac-84a7-408639556d9b", "href": "http://10.0.0.38:8082/network-policy/c6c79513-4af0-4eac-84a7-408639556d9b"}} 2026-07-08 19:34:42,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-08 19:34:42,616 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.140.96.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-08 19:34:42,616 - DEBUG - ping -s 56 -c 3 -W 1 108.140.96.67 2026-07-08 19:34:45,776 - DEBUG - PING 108.140.96.67 (108.140.96.67): 56 data bytes --- 108.140.96.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-07-08 19:34:45,777 - WARNING - Ping to IP 108.140.96.67 from VM ctest-TestBasicPolicy-64978411-62822253 failed 2026-07-08 19:34:45,777 - INFO - Deleting VM ctest-TestBasicPolicy-64978411-57788625 2026-07-08 19:34:45,877 - INFO - Deleting VM ctest-TestBasicPolicy-64978411-62822253 2026-07-08 19:34:46,357 - INFO - Deleted policy ctest-policy-allow-all-72694412 2026-07-08 19:34:46,358 - INFO - Deleting VN ctest-vn-34391467 2026-07-08 19:34:46,416 - DEBUG - VN fc4eb19a-81ec-426a-b83a-96d2c06857bc still in use: Unable to complete operation on network fc4eb19a-81ec-426a-b83a-96d2c06857bc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0d56bd72-69e1-4f32-8efb-2a78b2d00cfd'] 2026-07-08 19:34:46,416 - WARNING - Deleting VN ctest-vn-34391467 failed..Will retry 2026-07-08 19:34:48,557 - DEBUG - Response for deleting network () 2026-07-08 19:34:48,557 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/176610b2-ffc7-4d50-9a6e-3a8a9c90ae8e 2026-07-08 19:34:48,566 - DEBUG - Response Code: 404 2026-07-08 19:34:48,567 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-08 19:34:48,574 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6e4ca09f-e3c3-4299-a425-4f25de16d556 2026-07-08 19:34:48,634 - DEBUG - Requesting: http://10.0.0.38:8082/project/9e7df154-22ba-4185-9097-18d9ffc5039d 2026-07-08 19:34:48,714 - INFO - Validated that VN ctest-vn-34391467 is not found in API Server 2026-07-08 19:34:48,727 - DEBUG - VN ctest-vn-34391467 is not present in Agent 10.0.0.38 2026-07-08 19:34:48,727 - INFO - Validated that VN ctest-vn-34391467 is not in any agent 2026-07-08 19:34:48,750 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34391467 info 2026-07-08 19:34:48,750 - INFO - Deleting VN ctest-vn-23066914 2026-07-08 19:34:48,924 - DEBUG - Response for deleting network () 2026-07-08 19:34:48,924 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b38d9b9a-5ac5-4d45-8e42-841280a006f3 2026-07-08 19:34:48,935 - DEBUG - Response Code: 404 2026-07-08 19:34:48,935 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-08 19:34:48,941 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6e4ca09f-e3c3-4299-a425-4f25de16d556 2026-07-08 19:34:49,000 - DEBUG - Requesting: http://10.0.0.38:8082/project/9e7df154-22ba-4185-9097-18d9ffc5039d 2026-07-08 19:34:49,131 - INFO - Validated that VN ctest-vn-23066914 is not found in API Server 2026-07-08 19:34:49,151 - DEBUG - VN ctest-vn-23066914 is not present in Agent 10.0.0.38 2026-07-08 19:34:49,152 - INFO - Validated that VN ctest-vn-23066914 is not in any agent 2026-07-08 19:34:49,177 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23066914 info 2026-07-08 19:34:49,454 - DEBUG - No XMPP flaps were noticed during the test
2026-07-08 19:34:49,454 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:45]
2026-07-08 19:34:49,454 - INFO - -------------------------------------------------------------------------------- 2026-07-08 19:34:50,315 - INFO - Deleted project: ctest-TestBasicPolicy-64978411, ID : 9e7df154-22ba-4185-9097-18d9ffc5039d