2026-10-22 11:08:30,197 - INFO - Domain Default found not creating 2026-10-22 11:08:30,384 - INFO - Project ctest-TestBasicPolicy-38143998 not found, creating it 2026-10-22 11:08:30,870 - INFO - Created Project:ctest-TestBasicPolicy-38143998, ID : e49be736-c1d9-4d44-a9f1-f28494e19fd8 2026-10-22 11:08:32,595 - INFO - ================================================================================ 2026-10-22 11:08:32,595 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-22 11:08:32,595 - 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-10-22 11:08:32,859 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-10-22 11:08:32,859 - INFO - Initial checks done. Running the testcase now 2026-10-22 11:08:32,859 - INFO - 2026-10-22 11:08:33,479 - DEBUG - Response for create_network : {'network': {'id': 'fdf3d3c0-6d18-46df-bdee-0ef26a0511f2', 'name': 'ctest-vn-71377864', 'tenant_id': 'e49be736c1d94d44a9f1f28494e19fd8', 'project_id': 'e49be736c1d94d44a9f1f28494e19fd8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38143998', 'ctest-vn-71377864'], 'port_security_enabled': True, 'description': ''}} 2026-10-22 11:08:33,662 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8cb1ac4-f85b-44ba-9983-bfdb9831d706', 'name': '', 'tenant_id': 'e49be736c1d94d44a9f1f28494e19fd8', 'network_id': 'fdf3d3c0-6d18-46df-bdee-0ef26a0511f2', 'ip_version': 4, 'cidr': '129.143.142.64/26', 'allocation_pools': [{'start': '129.143.142.66', 'end': '129.143.142.126'}], 'gateway_ip': '129.143.142.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.143.142.66', 'tags': [], 'project_id': 'e49be736c1d94d44a9f1f28494e19fd8'}} 2026-10-22 11:08:33,678 - INFO - Created VN ctest-vn-71377864 2026-10-22 11:08:33,728 - DEBUG - VN ctest-vn-71377864 UUID is fdf3d3c0-6d18-46df-bdee-0ef26a0511f2 2026-10-22 11:08:34,052 - DEBUG - Response for create_network : {'network': {'id': '7381c83a-b10f-410b-aebc-13d9aa949a96', 'name': 'ctest-vn-31328099', 'tenant_id': 'e49be736c1d94d44a9f1f28494e19fd8', 'project_id': 'e49be736c1d94d44a9f1f28494e19fd8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38143998', 'ctest-vn-31328099'], 'port_security_enabled': True, 'description': ''}} 2026-10-22 11:08:34,250 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a64d78f-8929-4336-b579-388ba793d80a', 'name': '', 'tenant_id': 'e49be736c1d94d44a9f1f28494e19fd8', 'network_id': '7381c83a-b10f-410b-aebc-13d9aa949a96', 'ip_version': 4, 'cidr': '165.41.213.192/26', 'allocation_pools': [{'start': '165.41.213.194', 'end': '165.41.213.254'}], 'gateway_ip': '165.41.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.41.213.194', 'tags': [], 'project_id': 'e49be736c1d94d44a9f1f28494e19fd8'}} 2026-10-22 11:08:34,266 - INFO - Created VN ctest-vn-31328099 2026-10-22 11:08:34,316 - DEBUG - VN ctest-vn-31328099 UUID is 7381c83a-b10f-410b-aebc-13d9aa949a96 2026-10-22 11:08:34,468 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38143998:ctest-vn-71377864, 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-38143998:ctest-vn-31328099, 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-10-22 11:08:34,757 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fdf3d3c0-6d18-46df-bdee-0ef26a0511f2', 'name': 'ctest-vn-71377864', 'tenant_id': 'e49be736c1d94d44a9f1f28494e19fd8', 'project_id': 'e49be736c1d94d44a9f1f28494e19fd8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e8cb1ac4-f85b-44ba-9983-bfdb9831d706'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38143998', 'ctest-vn-71377864'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38143998', 'ctest-policy-allow-all-35041772']], 'subnet_ipam': [{'subnet_cidr': '129.143.142.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-22 11:08:35,003 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7381c83a-b10f-410b-aebc-13d9aa949a96', 'name': 'ctest-vn-31328099', 'tenant_id': 'e49be736c1d94d44a9f1f28494e19fd8', 'project_id': 'e49be736c1d94d44a9f1f28494e19fd8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['4a64d78f-8929-4336-b579-388ba793d80a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38143998', 'ctest-vn-31328099'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38143998', 'ctest-policy-allow-all-35041772']], 'subnet_ipam': [{'subnet_cidr': '165.41.213.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-22 11:08:35,169 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-22 11:08:35,533 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-22 11:08:35,559 - DEBUG - Requesting: http://10.0.0.50:8082/domain/409e4379-f588-4ff7-920d-6ed27f22b0e9 2026-10-22 11:08:35,570 - DEBUG - Requesting: http://10.0.0.50:8082/project/e49be736-c1d9-4d44-a9f1-f28494e19fd8 2026-10-22 11:08:35,645 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fdf3d3c0-6d18-46df-bdee-0ef26a0511f2 2026-10-22 11:08:35,657 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fdf3d3c0-6d18-46df-bdee-0ef26a0511f2 2026-10-22 11:08:35,666 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/35758518-bb8e-4af6-9ae2-f88ff5edc232 2026-10-22 11:08:35,673 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/35758518-bb8e-4af6-9ae2-f88ff5edc232 2026-10-22 11:08:35,680 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0bf48004-7299-4c84-90ee-c03bb291d70d 2026-10-22 11:08:35,686 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-22 11:08:35,686 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fdf3d3c0-6d18-46df-bdee-0ef26a0511f2 2026-10-22 11:08:35,696 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/35758518-bb8e-4af6-9ae2-f88ff5edc232 2026-10-22 11:08:35,710 - INFO - Verified VN network id 12 for VN fdf3d3c0-6d18-46df-bdee-0ef26a0511f2 2026-10-22 11:08:35,710 - INFO - Verifications in API Server for VN ctest-vn-71377864 passed 2026-10-22 11:08:35,710 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fdf3d3c0-6d18-46df-bdee-0ef26a0511f2 2026-10-22 11:08:35,719 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/35758518-bb8e-4af6-9ae2-f88ff5edc232 2026-10-22 11:08:35,726 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/35758518-bb8e-4af6-9ae2-f88ff5edc232 2026-10-22 11:08:35,733 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0bf48004-7299-4c84-90ee-c03bb291d70d 2026-10-22 11:08:35,746 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38143998:ctest-vn-71377864', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38143998', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18299202534353946335', 'uuid-lslong': '13685892751949107698'}, 'enable': 'true', 'created': '2026-10-22T11:08:33', 'last-modified': '2026-10-22T11:08:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.000028'} 2026-10-22 11:08:35,754 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-22 11:08:35,754 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71377864 passed 2026-10-22 11:08:35,754 - DEBUG - ====Verifying policy data for ctest-vn-71377864 in API_Server ====== 2026-10-22 11:08:35,755 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-22 11:08:35,760 - DEBUG - Requesting: http://10.0.0.50:8082/domain/409e4379-f588-4ff7-920d-6ed27f22b0e9 2026-10-22 11:08:35,770 - DEBUG - Requesting: http://10.0.0.50:8082/project/e49be736-c1d9-4d44-a9f1-f28494e19fd8 2026-10-22 11:08:35,848 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fdf3d3c0-6d18-46df-bdee-0ef26a0511f2 2026-10-22 11:08:35,860 - DEBUG - ==>Verifying data for policy with id: 9de3bd20-0b14-4303-afcc-43e17d5449c0, fqn: ['default-domain', 'ctest-TestBasicPolicy-38143998', 'ctest-policy-allow-all-35041772'] 2026-10-22 11:08:35,860 - INFO - VN ctest-vn-71377864 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-22 11:08:35,860 - DEBUG - Verifying the vn in opserver 2026-10-22 11:08:35,860 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38143998:ctest-vn-71377864 virtual network link through opserver 10.0.0.50 2026-10-22 11:08:35,860 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-22 11:08:36,229 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-22 11:08:36,288 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38143998:ctest-vn-71377864', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38143998:ctest-vn-71377864?flat'} 2026-10-22 11:08:36,288 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38143998:ctest-vn-71377864 is found in opserver 2026-10-22 11:08:36,298 - DEBUG - Do not have enough data to verify VN in agent 2026-10-22 11:08:36,303 - DEBUG - VRF ids for VN ctest-vn-71377864: {} 2026-10-22 11:08:36,303 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-22 11:08:36,309 - DEBUG - Requesting: http://10.0.0.50:8082/domain/409e4379-f588-4ff7-920d-6ed27f22b0e9 2026-10-22 11:08:36,322 - DEBUG - Requesting: http://10.0.0.50:8082/project/e49be736-c1d9-4d44-a9f1-f28494e19fd8 2026-10-22 11:08:36,403 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7381c83a-b10f-410b-aebc-13d9aa949a96 2026-10-22 11:08:36,417 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7381c83a-b10f-410b-aebc-13d9aa949a96 2026-10-22 11:08:36,428 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ffe401df-bf6f-47a0-b2ca-0904be340946 2026-10-22 11:08:36,436 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ffe401df-bf6f-47a0-b2ca-0904be340946 2026-10-22 11:08:36,444 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6ee7378b-5756-4f69-82fa-e66d4041cc24 2026-10-22 11:08:36,451 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-22 11:08:36,451 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7381c83a-b10f-410b-aebc-13d9aa949a96 2026-10-22 11:08:36,461 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ffe401df-bf6f-47a0-b2ca-0904be340946 2026-10-22 11:08:36,480 - INFO - Verified VN network id 13 for VN 7381c83a-b10f-410b-aebc-13d9aa949a96 2026-10-22 11:08:36,480 - INFO - Verifications in API Server for VN ctest-vn-31328099 passed 2026-10-22 11:08:36,480 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7381c83a-b10f-410b-aebc-13d9aa949a96 2026-10-22 11:08:36,492 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ffe401df-bf6f-47a0-b2ca-0904be340946 2026-10-22 11:08:36,500 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ffe401df-bf6f-47a0-b2ca-0904be340946 2026-10-22 11:08:36,508 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6ee7378b-5756-4f69-82fa-e66d4041cc24 2026-10-22 11:08:36,521 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38143998:ctest-vn-31328099', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38143998', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8323153740761612555', 'uuid-lslong': '12590960483811760790'}, 'enable': 'true', 'created': '2026-10-22T11:08:34', 'last-modified': '2026-10-22T11:08:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.547377'} 2026-10-22 11:08:36,528 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-22 11:08:36,528 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31328099 passed 2026-10-22 11:08:36,528 - DEBUG - ====Verifying policy data for ctest-vn-31328099 in API_Server ====== 2026-10-22 11:08:36,528 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-22 11:08:36,533 - DEBUG - Requesting: http://10.0.0.50:8082/domain/409e4379-f588-4ff7-920d-6ed27f22b0e9 2026-10-22 11:08:36,544 - DEBUG - Requesting: http://10.0.0.50:8082/project/e49be736-c1d9-4d44-a9f1-f28494e19fd8 2026-10-22 11:08:36,615 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7381c83a-b10f-410b-aebc-13d9aa949a96 2026-10-22 11:08:36,625 - DEBUG - ==>Verifying data for policy with id: 9de3bd20-0b14-4303-afcc-43e17d5449c0, fqn: ['default-domain', 'ctest-TestBasicPolicy-38143998', 'ctest-policy-allow-all-35041772'] 2026-10-22 11:08:36,625 - INFO - VN ctest-vn-31328099 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-22 11:08:36,625 - DEBUG - Verifying the vn in opserver 2026-10-22 11:08:36,625 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38143998:ctest-vn-31328099 virtual network link through opserver 10.0.0.50 2026-10-22 11:08:36,625 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-22 11:08:36,636 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38143998:ctest-vn-31328099', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38143998:ctest-vn-31328099?flat'} 2026-10-22 11:08:36,637 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38143998:ctest-vn-31328099 is found in opserver 2026-10-22 11:08:36,647 - DEBUG - Do not have enough data to verify VN in agent 2026-10-22 11:08:36,653 - DEBUG - VRF ids for VN ctest-vn-31328099: {} 2026-10-22 11:08:36,711 - DEBUG - Services list from nova: [, , ] 2026-10-22 11:08:37,050 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6385-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6385-1) 2026-10-22 11:08:37,428 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6385-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6385-1) 2026-10-22 11:08:37,428 - INFO - Waiting for VM ctest-TestBasicPolicy-38143998-50286831 to be up.. 2026-10-22 11:08:37,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 11:08:42,543 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 11:08:47,624 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 11:08:52,704 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 11:08:57,784 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 11:09:02,860 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 11:09:07,936 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 11:09:13,008 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-22 11:09:18,086 - DEBUG - VM is in ACTIVE state now 2026-10-22 11:09:18,086 - INFO - VM name : ctest-TestBasicPolicy-38143998-50286831 2026-10-22 11:09:18,159 - DEBUG - VM ctest-TestBasicPolicy-38143998-50286831 ID is 1bde60ee-8019-49ca-a658-940c0a17b7f1 2026-10-22 11:09:18,180 - DEBUG - VM ctest-TestBasicPolicy-38143998-50286831 launched on Node cn-jenkins-deploy-platform-ansible-os-6385-1 2026-10-22 11:09:18,258 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1bde60ee-8019-49ca-a658-940c0a17b7f1 2026-10-22 11:09:18,266 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/00162c91-e910-46e8-871b-a125c22ae79b 2026-10-22 11:09:21,531 - 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 1017ms') 2026-10-22 11:09:21,531 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38143998-50286831 failed! 2026-10-22 11:09:21,589 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38143998:ctest-vn-71377864 is 129.143.142.65 and allocation pool is NOT set 2026-10-22 11:09:25,666 - 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=2 ttl=63 time=12.6 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 12.603/12.603/12.603/0.000 ms') 2026-10-22 11:09:25,666 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38143998-50286831 passed 2026-10-22 11:09:25,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 11:09:25,817 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38143998-50286831, IP 129.143.142.67, Port 22 2026-10-22 11:09:25,987 - DEBUG - VM ctest-TestBasicPolicy-38143998-50286831 is ready for SSH connections 2026-10-22 11:09:25,987 - INFO - Waiting for VM ctest-TestBasicPolicy-38143998-20022805 to be up.. 2026-10-22 11:09:26,062 - DEBUG - VM is in ACTIVE state now 2026-10-22 11:09:26,062 - INFO - VM name : ctest-TestBasicPolicy-38143998-20022805 2026-10-22 11:09:26,135 - DEBUG - VM ctest-TestBasicPolicy-38143998-20022805 ID is aec1b621-6ba4-4a7f-be46-251ce5178247 2026-10-22 11:09:26,135 - DEBUG - VM ctest-TestBasicPolicy-38143998-20022805 launched on Node cn-jenkins-deploy-platform-ansible-os-6385-1 2026-10-22 11:09:26,212 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/aec1b621-6ba4-4a7f-be46-251ce5178247 2026-10-22 11:09:26,220 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5a859f0d-c6b6-4706-866d-5a9ee300de38 2026-10-22 11:09:27,465 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.455 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.455/2.207/3.959/1.752 ms') 2026-10-22 11:09:27,465 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38143998-20022805 passed 2026-10-22 11:09:27,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 11:09:27,617 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38143998-20022805, IP 165.41.213.195, Port 22 2026-10-22 11:09:27,792 - DEBUG - VM ctest-TestBasicPolicy-38143998-20022805 is ready for SSH connections 2026-10-22 11:09:27,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 11:09:27,792 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.41.213.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-10-22 11:09:27,792 - DEBUG - ping -s 56 -c 3 -W 1 165.41.213.195 2026-10-22 11:09:31,801 - DEBUG - PING 165.41.213.195 (165.41.213.195): 56 data bytes 64 bytes from 165.41.213.195: seq=0 ttl=63 time=4.165 ms 64 bytes from 165.41.213.195: seq=1 ttl=63 time=0.992 ms 64 bytes from 165.41.213.195: seq=2 ttl=63 time=1.014 ms --- 165.41.213.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.992/2.057/4.165 ms 2026-10-22 11:09:31,801 - INFO - Ping to IP 165.41.213.195 from VM ctest-TestBasicPolicy-38143998-50286831 passed 2026-10-22 11:09:31,984 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9de3bd20-0b14-4303-afcc-43e17d5449c0", "href": "http://10.0.0.50:8082/network-policy/9de3bd20-0b14-4303-afcc-43e17d5449c0"}} 2026-10-22 11:09:31,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-22 11:09:31,985 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.41.213.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-10-22 11:09:31,985 - DEBUG - ping -s 56 -c 3 -W 1 165.41.213.195 2026-10-22 11:09:35,145 - DEBUG - PING 165.41.213.195 (165.41.213.195): 56 data bytes 64 bytes from 165.41.213.195: seq=0 ttl=63 time=2.124 ms --- 165.41.213.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.124/2.124/2.124 ms 2026-10-22 11:09:35,146 - WARNING - Ping to IP 165.41.213.195 from VM ctest-TestBasicPolicy-38143998-50286831 failed 2026-10-22 11:09:35,146 - INFO - Deleting VM ctest-TestBasicPolicy-38143998-20022805 2026-10-22 11:09:35,253 - INFO - Deleting VM ctest-TestBasicPolicy-38143998-50286831 2026-10-22 11:09:35,646 - INFO - Deleted policy ctest-policy-allow-all-35041772 2026-10-22 11:09:35,646 - INFO - Deleting VN ctest-vn-31328099 2026-10-22 11:09:35,682 - DEBUG - VN 7381c83a-b10f-410b-aebc-13d9aa949a96 still in use: Unable to complete operation on network 7381c83a-b10f-410b-aebc-13d9aa949a96. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2a71314e-e188-4423-97da-2c7f091d583d'] 2026-10-22 11:09:35,683 - WARNING - Deleting VN ctest-vn-31328099 failed..Will retry 2026-10-22 11:09:37,725 - DEBUG - VN 7381c83a-b10f-410b-aebc-13d9aa949a96 still in use: Unable to complete operation on network 7381c83a-b10f-410b-aebc-13d9aa949a96. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1013a705-96de-49b9-a752-7081c4884609'] 2026-10-22 11:09:37,725 - WARNING - Deleting VN ctest-vn-31328099 failed..Will retry 2026-10-22 11:09:39,849 - DEBUG - Response for deleting network () 2026-10-22 11:09:39,850 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ffe401df-bf6f-47a0-b2ca-0904be340946 2026-10-22 11:09:39,858 - DEBUG - Response Code: 404 2026-10-22 11:09:39,859 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-22 11:09:39,866 - DEBUG - Requesting: http://10.0.0.50:8082/domain/409e4379-f588-4ff7-920d-6ed27f22b0e9 2026-10-22 11:09:39,925 - DEBUG - Requesting: http://10.0.0.50:8082/project/e49be736-c1d9-4d44-a9f1-f28494e19fd8 2026-10-22 11:09:39,998 - INFO - Validated that VN ctest-vn-31328099 is not found in API Server 2026-10-22 11:09:40,016 - DEBUG - VN ctest-vn-31328099 is not present in Agent 10.0.0.50 2026-10-22 11:09:40,016 - INFO - Validated that VN ctest-vn-31328099 is not in any agent 2026-10-22 11:09:40,032 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31328099 info 2026-10-22 11:09:40,032 - INFO - Deleting VN ctest-vn-71377864 2026-10-22 11:09:40,148 - DEBUG - Response for deleting network () 2026-10-22 11:09:40,148 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/35758518-bb8e-4af6-9ae2-f88ff5edc232 2026-10-22 11:09:40,158 - DEBUG - Response Code: 404 2026-10-22 11:09:40,158 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-10-22 11:09:40,165 - DEBUG - Requesting: http://10.0.0.50:8082/domain/409e4379-f588-4ff7-920d-6ed27f22b0e9 2026-10-22 11:09:40,221 - DEBUG - Requesting: http://10.0.0.50:8082/project/e49be736-c1d9-4d44-a9f1-f28494e19fd8 2026-10-22 11:09:40,301 - INFO - Validated that VN ctest-vn-71377864 is not found in API Server 2026-10-22 11:09:40,314 - DEBUG - VN ctest-vn-71377864 is not present in Agent 10.0.0.50 2026-10-22 11:09:40,314 - INFO - Validated that VN ctest-vn-71377864 is not in any agent 2026-10-22 11:09:40,335 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71377864 info 2026-10-22 11:09:40,599 - DEBUG - No XMPP flaps were noticed during the test 2026-10-22 11:09:40,599 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:08] 2026-10-22 11:09:40,600 - INFO - -------------------------------------------------------------------------------- 2026-10-22 11:09:41,361 - INFO - Deleted project: ctest-TestBasicPolicy-38143998, ID : e49be736-c1d9-4d44-a9f1-f28494e19fd8