2026-11-30 02:15:17,992 - INFO - Domain Default found not creating 2026-11-30 02:15:18,161 - INFO - Project ctest-TestBasicPolicy-74749750 not found, creating it 2026-11-30 02:15:18,685 - INFO - Created Project:ctest-TestBasicPolicy-74749750, ID : ef70962b-b83c-439d-be54-ac698c1897af 2026-11-30 02:15:20,283 - INFO - ================================================================================ 2026-11-30 02:15:20,283 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-30 02:15:20,283 - 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-11-30 02:15:20,538 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-11-30 02:15:20,539 - INFO - Initial checks done. Running the testcase now 2026-11-30 02:15:20,539 - INFO - 2026-11-30 02:15:21,106 - DEBUG - Response for create_network : {'network': {'id': 'e6851870-0c59-466e-b1ff-c7ad1483980f', 'name': 'ctest-vn-85785355', 'tenant_id': 'ef70962bb83c439dbe54ac698c1897af', 'project_id': 'ef70962bb83c439dbe54ac698c1897af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74749750', 'ctest-vn-85785355'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-11-30 02:15:21,265 - DEBUG - Response for create_subnet : {'subnet': {'id': '53731b52-5f0a-42ed-9014-a3d2d7866d8b', 'name': '', 'tenant_id': 'ef70962bb83c439dbe54ac698c1897af', 'network_id': 'e6851870-0c59-466e-b1ff-c7ad1483980f', 'ip_version': 4, 'cidr': '11.36.170.128/26', 'allocation_pools': [{'start': '11.36.170.130', 'end': '11.36.170.190'}], 'gateway_ip': '11.36.170.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-11-30T02:15:21.219307', 'updated_at': '2026-11-30T02:15:21.219307', 'dns_server_address': '11.36.170.130', 'tags': [], 'project_id': 'ef70962bb83c439dbe54ac698c1897af'}} 2026-11-30 02:15:21,279 - INFO - Created VN ctest-vn-85785355 2026-11-30 02:15:21,329 - DEBUG - VN ctest-vn-85785355 UUID is e6851870-0c59-466e-b1ff-c7ad1483980f 2026-11-30 02:15:21,625 - DEBUG - Response for create_network : {'network': {'id': '5336c43c-142d-4ce9-87e5-48419749ef7f', 'name': 'ctest-vn-88389329', 'tenant_id': 'ef70962bb83c439dbe54ac698c1897af', 'project_id': 'ef70962bb83c439dbe54ac698c1897af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74749750', 'ctest-vn-88389329'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-11-30 02:15:21,793 - DEBUG - Response for create_subnet : {'subnet': {'id': '30fcccdf-9b6d-4d08-af0b-84a3979e8f2f', 'name': '', 'tenant_id': 'ef70962bb83c439dbe54ac698c1897af', 'network_id': '5336c43c-142d-4ce9-87e5-48419749ef7f', 'ip_version': 4, 'cidr': '100.201.20.192/26', 'allocation_pools': [{'start': '100.201.20.194', 'end': '100.201.20.254'}], 'gateway_ip': '100.201.20.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-11-30T02:15:21.748311', 'updated_at': '2026-11-30T02:15:21.748311', 'dns_server_address': '100.201.20.194', 'tags': [], 'project_id': 'ef70962bb83c439dbe54ac698c1897af'}} 2026-11-30 02:15:21,806 - INFO - Created VN ctest-vn-88389329 2026-11-30 02:15:21,857 - DEBUG - VN ctest-vn-88389329 UUID is 5336c43c-142d-4ce9-87e5-48419749ef7f 2026-11-30 02:15:21,997 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-85785355, 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-74749750:ctest-vn-88389329, 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-11-30 02:15:22,289 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e6851870-0c59-466e-b1ff-c7ad1483980f', 'name': 'ctest-vn-85785355', 'tenant_id': 'ef70962bb83c439dbe54ac698c1897af', 'project_id': 'ef70962bb83c439dbe54ac698c1897af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['53731b52-5f0a-42ed-9014-a3d2d7866d8b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74749750', 'ctest-vn-85785355'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74749750', 'ctest-policy-allow-all-61776397']], 'subnet_ipam': [{'subnet_cidr': '11.36.170.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-11-30T02:15:21.080097', 'updated_at': '2026-11-30T02:15:21.231022'}} 2026-11-30 02:15:22,519 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5336c43c-142d-4ce9-87e5-48419749ef7f', 'name': 'ctest-vn-88389329', 'tenant_id': 'ef70962bb83c439dbe54ac698c1897af', 'project_id': 'ef70962bb83c439dbe54ac698c1897af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['30fcccdf-9b6d-4d08-af0b-84a3979e8f2f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74749750', 'ctest-vn-88389329'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74749750', 'ctest-policy-allow-all-61776397']], 'subnet_ipam': [{'subnet_cidr': '100.201.20.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-11-30T02:15:21.598506', 'updated_at': '2026-11-30T02:15:21.759167'}} 2026-11-30 02:15:22,682 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-30 02:15:23,040 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-30 02:15:23,064 - DEBUG - Requesting: http://10.0.0.38:8082/domain/01082674-5fad-48a5-8432-ca4134ebc2c2 2026-11-30 02:15:23,074 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef70962b-b83c-439d-be54-ac698c1897af 2026-11-30 02:15:23,144 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e6851870-0c59-466e-b1ff-c7ad1483980f 2026-11-30 02:15:23,154 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e6851870-0c59-466e-b1ff-c7ad1483980f 2026-11-30 02:15:23,162 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db669e38-b395-44ef-ac34-b1a770f6928e 2026-11-30 02:15:23,167 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db669e38-b395-44ef-ac34-b1a770f6928e 2026-11-30 02:15:23,172 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d80fa52f-a59a-40e0-aa63-9acd35bfc3a4 2026-11-30 02:15:23,177 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-30 02:15:23,177 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e6851870-0c59-466e-b1ff-c7ad1483980f 2026-11-30 02:15:23,184 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db669e38-b395-44ef-ac34-b1a770f6928e 2026-11-30 02:15:23,195 - INFO - Verified VN network id 12 for VN e6851870-0c59-466e-b1ff-c7ad1483980f 2026-11-30 02:15:23,195 - INFO - Verifications in API Server for VN ctest-vn-85785355 passed 2026-11-30 02:15:23,195 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e6851870-0c59-466e-b1ff-c7ad1483980f 2026-11-30 02:15:23,203 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db669e38-b395-44ef-ac34-b1a770f6928e 2026-11-30 02:15:23,208 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db669e38-b395-44ef-ac34-b1a770f6928e 2026-11-30 02:15:23,213 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d80fa52f-a59a-40e0-aa63-9acd35bfc3a4 2026-11-30 02:15:23,223 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-85785355', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74749750', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16610709670148523630', 'uuid-lslong': '12826189809961900047'}, 'enable': 'true', 'created': '2026-11-30T02:15:21', 'last-modified': '2026-11-30T02:15:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.961296'} 2026-11-30 02:15:23,229 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-30 02:15:23,229 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85785355 passed 2026-11-30 02:15:23,229 - DEBUG - ====Verifying policy data for ctest-vn-85785355 in API_Server ====== 2026-11-30 02:15:23,229 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-30 02:15:23,233 - DEBUG - Requesting: http://10.0.0.38:8082/domain/01082674-5fad-48a5-8432-ca4134ebc2c2 2026-11-30 02:15:23,242 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef70962b-b83c-439d-be54-ac698c1897af 2026-11-30 02:15:23,309 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e6851870-0c59-466e-b1ff-c7ad1483980f 2026-11-30 02:15:23,317 - DEBUG - ==>Verifying data for policy with id: beb1c30e-d20d-46c3-a099-9010367407ec, fqn: ['default-domain', 'ctest-TestBasicPolicy-74749750', 'ctest-policy-allow-all-61776397'] 2026-11-30 02:15:23,317 - INFO - VN ctest-vn-85785355 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-30 02:15:23,317 - DEBUG - Verifying the vn in opserver 2026-11-30 02:15:23,317 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-85785355 virtual network link through opserver 10.0.0.38 2026-11-30 02:15:23,317 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-30 02:15:23,675 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-30 02:15:23,723 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-85785355', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-85785355?flat'} 2026-11-30 02:15:23,723 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-85785355 is found in opserver 2026-11-30 02:15:23,732 - DEBUG - Do not have enough data to verify VN in agent 2026-11-30 02:15:23,736 - DEBUG - VRF ids for VN ctest-vn-85785355: {} 2026-11-30 02:15:23,736 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-30 02:15:23,741 - DEBUG - Requesting: http://10.0.0.38:8082/domain/01082674-5fad-48a5-8432-ca4134ebc2c2 2026-11-30 02:15:23,751 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef70962b-b83c-439d-be54-ac698c1897af 2026-11-30 02:15:23,823 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5336c43c-142d-4ce9-87e5-48419749ef7f 2026-11-30 02:15:23,833 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5336c43c-142d-4ce9-87e5-48419749ef7f 2026-11-30 02:15:23,841 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7ec7fb67-f36f-433a-9df6-5855e09bfe04 2026-11-30 02:15:23,847 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7ec7fb67-f36f-433a-9df6-5855e09bfe04 2026-11-30 02:15:23,852 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/08d8dac9-bbfe-4f01-8d29-ee601d14a471 2026-11-30 02:15:23,857 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-30 02:15:23,857 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5336c43c-142d-4ce9-87e5-48419749ef7f 2026-11-30 02:15:23,864 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7ec7fb67-f36f-433a-9df6-5855e09bfe04 2026-11-30 02:15:23,875 - INFO - Verified VN network id 13 for VN 5336c43c-142d-4ce9-87e5-48419749ef7f 2026-11-30 02:15:23,875 - INFO - Verifications in API Server for VN ctest-vn-88389329 passed 2026-11-30 02:15:23,875 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5336c43c-142d-4ce9-87e5-48419749ef7f 2026-11-30 02:15:23,883 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7ec7fb67-f36f-433a-9df6-5855e09bfe04 2026-11-30 02:15:23,888 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7ec7fb67-f36f-433a-9df6-5855e09bfe04 2026-11-30 02:15:23,893 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/08d8dac9-bbfe-4f01-8d29-ee601d14a471 2026-11-30 02:15:23,903 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-88389329', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74749750', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5996195716205989097', 'uuid-lslong': '9792312411335290751'}, 'enable': 'true', 'created': '2026-11-30T02:15:21', 'last-modified': '2026-11-30T02:15:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.399726'} 2026-11-30 02:15:23,909 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-30 02:15:23,909 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88389329 passed 2026-11-30 02:15:23,909 - DEBUG - ====Verifying policy data for ctest-vn-88389329 in API_Server ====== 2026-11-30 02:15:23,909 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-30 02:15:23,913 - DEBUG - Requesting: http://10.0.0.38:8082/domain/01082674-5fad-48a5-8432-ca4134ebc2c2 2026-11-30 02:15:23,921 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef70962b-b83c-439d-be54-ac698c1897af 2026-11-30 02:15:23,999 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5336c43c-142d-4ce9-87e5-48419749ef7f 2026-11-30 02:15:24,009 - DEBUG - ==>Verifying data for policy with id: beb1c30e-d20d-46c3-a099-9010367407ec, fqn: ['default-domain', 'ctest-TestBasicPolicy-74749750', 'ctest-policy-allow-all-61776397'] 2026-11-30 02:15:24,009 - INFO - VN ctest-vn-88389329 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-30 02:15:24,009 - DEBUG - Verifying the vn in opserver 2026-11-30 02:15:24,009 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-88389329 virtual network link through opserver 10.0.0.38 2026-11-30 02:15:24,009 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-30 02:15:24,017 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-88389329', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-88389329?flat'} 2026-11-30 02:15:24,017 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74749750:ctest-vn-88389329 is found in opserver 2026-11-30 02:15:24,025 - DEBUG - Do not have enough data to verify VN in agent 2026-11-30 02:15:24,029 - DEBUG - VRF ids for VN ctest-vn-88389329: {} 2026-11-30 02:15:24,081 - DEBUG - Services list from nova: [, , ] 2026-11-30 02:15:24,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6521-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6521-1) 2026-11-30 02:15:24,802 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6521-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6521-1) 2026-11-30 02:15:24,802 - INFO - Waiting for VM ctest-TestBasicPolicy-74749750-04111080 to be up.. 2026-11-30 02:15:24,833 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:15:29,900 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:15:34,975 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:15:40,040 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:15:45,116 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:15:50,178 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:15:55,246 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:16:00,312 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 02:16:05,381 - DEBUG - VM is in ACTIVE state now 2026-11-30 02:16:05,381 - INFO - VM name : ctest-TestBasicPolicy-74749750-04111080 2026-11-30 02:16:05,453 - DEBUG - VM ctest-TestBasicPolicy-74749750-04111080 ID is 502f53b1-6820-4985-983e-622955b0f8c2 2026-11-30 02:16:05,474 - DEBUG - VM ctest-TestBasicPolicy-74749750-04111080 launched on Node cn-jenkins-deploy-platform-ansible-os-6521-1 2026-11-30 02:16:05,544 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/502f53b1-6820-4985-983e-622955b0f8c2 2026-11-30 02:16:05,552 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2041be73-d3d3-420c-a0ff-6785e7367742 2026-11-30 02:16:06,793 - 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=5.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.14 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 = 2.136/4.020/5.905/1.884 ms') 2026-11-30 02:16:06,793 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74749750-04111080 passed 2026-11-30 02:16:06,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 02:16:06,946 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74749750-04111080, IP 11.36.170.131, Port 22 2026-11-30 02:16:07,011 - 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-11-30 02:16:07,085 - DEBUG - VM ctest-TestBasicPolicy-74749750-04111080 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-30 02:16:12,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 02:16:12,086 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74749750-04111080, IP 11.36.170.131, Port 22 2026-11-30 02:16:12,244 - DEBUG - VM ctest-TestBasicPolicy-74749750-04111080 is ready for SSH connections 2026-11-30 02:16:12,244 - INFO - Waiting for VM ctest-TestBasicPolicy-74749750-40397991 to be up.. 2026-11-30 02:16:12,307 - DEBUG - VM is in ACTIVE state now 2026-11-30 02:16:12,307 - INFO - VM name : ctest-TestBasicPolicy-74749750-40397991 2026-11-30 02:16:12,366 - DEBUG - VM ctest-TestBasicPolicy-74749750-40397991 ID is 14109f72-e395-4c4f-acb2-174f261bb705 2026-11-30 02:16:12,367 - DEBUG - VM ctest-TestBasicPolicy-74749750-40397991 launched on Node cn-jenkins-deploy-platform-ansible-os-6521-1 2026-11-30 02:16:12,427 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/14109f72-e395-4c4f-acb2-174f261bb705 2026-11-30 02:16:12,433 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5076bf0b-0ce6-4654-9115-7586ff759fa0 2026-11-30 02:16:13,658 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.318 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.318/1.864/3.411/1.546 ms') 2026-11-30 02:16:13,658 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74749750-40397991 passed 2026-11-30 02:16:13,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 02:16:13,806 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74749750-40397991, IP 100.201.20.195, Port 22 2026-11-30 02:16:13,965 - DEBUG - VM ctest-TestBasicPolicy-74749750-40397991 is ready for SSH connections 2026-11-30 02:16:13,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 02:16:13,966 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.201.20.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-30 02:16:13,966 - DEBUG - ping -s 56 -c 3 -W 1 100.201.20.195 2026-11-30 02:16:17,969 - DEBUG - PING 100.201.20.195 (100.201.20.195): 56 data bytes 64 bytes from 100.201.20.195: seq=0 ttl=63 time=4.621 ms 64 bytes from 100.201.20.195: seq=1 ttl=63 time=0.889 ms 64 bytes from 100.201.20.195: seq=2 ttl=63 time=0.888 ms --- 100.201.20.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.888/2.132/4.621 ms 2026-11-30 02:16:17,969 - INFO - Ping to IP 100.201.20.195 from VM ctest-TestBasicPolicy-74749750-04111080 passed 2026-11-30 02:16:18,145 - DEBUG - Policy Update Response {"network-policy": {"uuid": "beb1c30e-d20d-46c3-a099-9010367407ec", "href": "http://10.0.0.38:8082/network-policy/beb1c30e-d20d-46c3-a099-9010367407ec"}} 2026-11-30 02:16:18,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 02:16:18,145 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.201.20.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-30 02:16:18,145 - DEBUG - ping -s 56 -c 3 -W 1 100.201.20.195 2026-11-30 02:16:21,271 - DEBUG - PING 100.201.20.195 (100.201.20.195): 56 data bytes 64 bytes from 100.201.20.195: seq=0 ttl=63 time=1.420 ms --- 100.201.20.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.420/1.420/1.420 ms 2026-11-30 02:16:21,271 - WARNING - Ping to IP 100.201.20.195 from VM ctest-TestBasicPolicy-74749750-04111080 failed 2026-11-30 02:16:21,271 - INFO - Deleting VM ctest-TestBasicPolicy-74749750-40397991 2026-11-30 02:16:21,339 - INFO - Deleting VM ctest-TestBasicPolicy-74749750-04111080 2026-11-30 02:16:21,631 - INFO - Deleted policy ctest-policy-allow-all-61776397 2026-11-30 02:16:21,631 - INFO - Deleting VN ctest-vn-88389329 2026-11-30 02:16:21,657 - DEBUG - VN 5336c43c-142d-4ce9-87e5-48419749ef7f still in use: Unable to complete operation on network 5336c43c-142d-4ce9-87e5-48419749ef7f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-794365d1-83f6-4f47-8253-cf02324033b4'] 2026-11-30 02:16:21,657 - WARNING - Deleting VN ctest-vn-88389329 failed..Will retry 2026-11-30 02:16:23,688 - DEBUG - VN 5336c43c-142d-4ce9-87e5-48419749ef7f still in use: Unable to complete operation on network 5336c43c-142d-4ce9-87e5-48419749ef7f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-07764e0c-8b3c-4ac1-bd5b-80254395c97a'] 2026-11-30 02:16:23,688 - WARNING - Deleting VN ctest-vn-88389329 failed..Will retry 2026-11-30 02:16:25,798 - DEBUG - Response for deleting network () 2026-11-30 02:16:25,798 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7ec7fb67-f36f-433a-9df6-5855e09bfe04 2026-11-30 02:16:25,805 - DEBUG - Response Code: 404 2026-11-30 02:16:25,806 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-30 02:16:25,811 - DEBUG - Requesting: http://10.0.0.38:8082/domain/01082674-5fad-48a5-8432-ca4134ebc2c2 2026-11-30 02:16:25,863 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef70962b-b83c-439d-be54-ac698c1897af 2026-11-30 02:16:25,929 - INFO - Validated that VN ctest-vn-88389329 is not found in API Server 2026-11-30 02:16:25,938 - DEBUG - VN ctest-vn-88389329 is not present in Agent 10.0.0.38 2026-11-30 02:16:25,938 - INFO - Validated that VN ctest-vn-88389329 is not in any agent 2026-11-30 02:16:25,952 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88389329 info 2026-11-30 02:16:25,952 - INFO - Deleting VN ctest-vn-85785355 2026-11-30 02:16:26,048 - DEBUG - Response for deleting network () 2026-11-30 02:16:26,048 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db669e38-b395-44ef-ac34-b1a770f6928e 2026-11-30 02:16:26,055 - DEBUG - Response Code: 404 2026-11-30 02:16:26,056 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-30 02:16:26,060 - DEBUG - Requesting: http://10.0.0.38:8082/domain/01082674-5fad-48a5-8432-ca4134ebc2c2 2026-11-30 02:16:26,114 - DEBUG - Requesting: http://10.0.0.38:8082/project/ef70962b-b83c-439d-be54-ac698c1897af 2026-11-30 02:16:26,180 - INFO - Validated that VN ctest-vn-85785355 is not found in API Server 2026-11-30 02:16:26,190 - DEBUG - VN ctest-vn-85785355 is not present in Agent 10.0.0.38 2026-11-30 02:16:26,190 - INFO - Validated that VN ctest-vn-85785355 is not in any agent 2026-11-30 02:16:26,206 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85785355 info 2026-11-30 02:16:26,462 - DEBUG - No XMPP flaps were noticed during the test
2026-11-30 02:16:26,462 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:06]
2026-11-30 02:16:26,462 - INFO - -------------------------------------------------------------------------------- 2026-11-30 02:16:27,183 - INFO - Deleted project: ctest-TestBasicPolicy-74749750, ID : ef70962b-b83c-439d-be54-ac698c1897af