2026-10-29 22:19:13,526 - INFO - Domain Default found not creating 2026-10-29 22:19:13,738 - INFO - Project ctest-TestBasicPolicy-83820715 not found, creating it 2026-10-29 22:19:14,254 - INFO - Created Project:ctest-TestBasicPolicy-83820715, ID : d67e4080-4afe-423b-9da2-941bb7a64a52 2026-10-29 22:19:16,225 - INFO - ================================================================================ 2026-10-29 22:19:16,225 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-29 22:19:16,226 - 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-29 22:19:16,497 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.29': '0'}} with 2026-10-29 22:19:16,497 - INFO - Initial checks done. Running the testcase now 2026-10-29 22:19:16,497 - INFO - 2026-10-29 22:19:17,259 - DEBUG - Response for create_network : {'network': {'id': '3583225c-6562-4ac7-87da-8072204cccf8', 'name': 'ctest-vn-85975658', 'tenant_id': 'd67e40804afe423b9da2941bb7a64a52', 'project_id': 'd67e40804afe423b9da2941bb7a64a52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83820715', 'ctest-vn-85975658'], 'port_security_enabled': True, 'description': ''}} 2026-10-29 22:19:17,480 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8f9bf9a-c69a-4cb0-8014-06982e822a7a', 'name': '', 'tenant_id': 'd67e40804afe423b9da2941bb7a64a52', 'network_id': '3583225c-6562-4ac7-87da-8072204cccf8', 'ip_version': 4, 'cidr': '118.62.103.0/26', 'allocation_pools': [{'start': '118.62.103.2', 'end': '118.62.103.62'}], 'gateway_ip': '118.62.103.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.62.103.2', 'tags': [], 'project_id': 'd67e40804afe423b9da2941bb7a64a52'}} 2026-10-29 22:19:17,499 - INFO - Created VN ctest-vn-85975658 2026-10-29 22:19:17,558 - DEBUG - VN ctest-vn-85975658 UUID is 3583225c-6562-4ac7-87da-8072204cccf8 2026-10-29 22:19:17,908 - DEBUG - Response for create_network : {'network': {'id': 'f980b4f2-3716-43e0-9dab-baf552806876', 'name': 'ctest-vn-09795329', 'tenant_id': 'd67e40804afe423b9da2941bb7a64a52', 'project_id': 'd67e40804afe423b9da2941bb7a64a52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83820715', 'ctest-vn-09795329'], 'port_security_enabled': True, 'description': ''}} 2026-10-29 22:19:18,110 - DEBUG - Response for create_subnet : {'subnet': {'id': '1571f7a5-861b-4d20-81a9-3883a16e05b2', 'name': '', 'tenant_id': 'd67e40804afe423b9da2941bb7a64a52', 'network_id': 'f980b4f2-3716-43e0-9dab-baf552806876', 'ip_version': 4, 'cidr': '117.23.123.128/26', 'allocation_pools': [{'start': '117.23.123.130', 'end': '117.23.123.190'}], 'gateway_ip': '117.23.123.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.23.123.130', 'tags': [], 'project_id': 'd67e40804afe423b9da2941bb7a64a52'}} 2026-10-29 22:19:18,131 - INFO - Created VN ctest-vn-09795329 2026-10-29 22:19:18,198 - DEBUG - VN ctest-vn-09795329 UUID is f980b4f2-3716-43e0-9dab-baf552806876 2026-10-29 22:19:18,353 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-85975658, 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-83820715:ctest-vn-09795329, 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-29 22:19:18,707 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3583225c-6562-4ac7-87da-8072204cccf8', 'name': 'ctest-vn-85975658', 'tenant_id': 'd67e40804afe423b9da2941bb7a64a52', 'project_id': 'd67e40804afe423b9da2941bb7a64a52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['d8f9bf9a-c69a-4cb0-8014-06982e822a7a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83820715', 'ctest-vn-85975658'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83820715', 'ctest-policy-allow-all-29302629']], 'subnet_ipam': [{'subnet_cidr': '118.62.103.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-29 22:19:19,002 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f980b4f2-3716-43e0-9dab-baf552806876', 'name': 'ctest-vn-09795329', 'tenant_id': 'd67e40804afe423b9da2941bb7a64a52', 'project_id': 'd67e40804afe423b9da2941bb7a64a52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1571f7a5-861b-4d20-81a9-3883a16e05b2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83820715', 'ctest-vn-09795329'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83820715', 'ctest-policy-allow-all-29302629']], 'subnet_ipam': [{'subnet_cidr': '117.23.123.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-29 22:19:19,194 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-10-29 22:19:19,579 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-10-29 22:19:19,616 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e7701ae3-4f9a-4a48-b88d-70299ab9f79b 2026-10-29 22:19:19,635 - DEBUG - Requesting: http://10.0.0.33:8082/project/d67e4080-4afe-423b-9da2-941bb7a64a52 2026-10-29 22:19:19,718 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3583225c-6562-4ac7-87da-8072204cccf8 2026-10-29 22:19:19,737 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3583225c-6562-4ac7-87da-8072204cccf8 2026-10-29 22:19:19,752 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66eec0fd-62d8-46eb-8a98-3067e2bc0de6 2026-10-29 22:19:19,761 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66eec0fd-62d8-46eb-8a98-3067e2bc0de6 2026-10-29 22:19:19,770 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6bc3e9b1-6061-4f67-84a1-a1d707c1b56c 2026-10-29 22:19:19,779 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-29 22:19:19,779 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3583225c-6562-4ac7-87da-8072204cccf8 2026-10-29 22:19:19,792 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66eec0fd-62d8-46eb-8a98-3067e2bc0de6 2026-10-29 22:19:19,814 - INFO - Verified VN network id 12 for VN 3583225c-6562-4ac7-87da-8072204cccf8 2026-10-29 22:19:19,814 - INFO - Verifications in API Server for VN ctest-vn-85975658 passed 2026-10-29 22:19:19,814 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3583225c-6562-4ac7-87da-8072204cccf8 2026-10-29 22:19:19,828 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66eec0fd-62d8-46eb-8a98-3067e2bc0de6 2026-10-29 22:19:19,839 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66eec0fd-62d8-46eb-8a98-3067e2bc0de6 2026-10-29 22:19:19,850 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6bc3e9b1-6061-4f67-84a1-a1d707c1b56c 2026-10-29 22:19:19,866 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-85975658', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83820715', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3855963486192552647', 'uuid-lslong': '9789277967699725560'}, 'enable': 'true', 'created': '2026-10-29T22:19:17', 'last-modified': '2026-10-29T22:19:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.181650'} 2026-10-29 22:19:19,873 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-29 22:19:19,874 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85975658 passed 2026-10-29 22:19:19,874 - DEBUG - ====Verifying policy data for ctest-vn-85975658 in API_Server ====== 2026-10-29 22:19:19,874 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-10-29 22:19:19,882 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e7701ae3-4f9a-4a48-b88d-70299ab9f79b 2026-10-29 22:19:19,895 - DEBUG - Requesting: http://10.0.0.33:8082/project/d67e4080-4afe-423b-9da2-941bb7a64a52 2026-10-29 22:19:19,974 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3583225c-6562-4ac7-87da-8072204cccf8 2026-10-29 22:19:19,985 - DEBUG - ==>Verifying data for policy with id: 41ae546b-2609-4d80-8a93-86340d369aa4, fqn: ['default-domain', 'ctest-TestBasicPolicy-83820715', 'ctest-policy-allow-all-29302629'] 2026-10-29 22:19:19,985 - INFO - VN ctest-vn-85975658 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-29 22:19:19,985 - DEBUG - Verifying the vn in opserver 2026-10-29 22:19:19,985 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-85975658 virtual network link through opserver 10.0.0.33 2026-10-29 22:19:19,985 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-10-29 22:19:20,375 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-10-29 22:19:20,453 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-85975658', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-85975658?flat'} 2026-10-29 22:19:20,453 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-85975658 is found in opserver 2026-10-29 22:19:20,465 - DEBUG - Do not have enough data to verify VN in agent 2026-10-29 22:19:20,470 - DEBUG - VRF ids for VN ctest-vn-85975658: {} 2026-10-29 22:19:20,470 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-10-29 22:19:20,477 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e7701ae3-4f9a-4a48-b88d-70299ab9f79b 2026-10-29 22:19:20,489 - DEBUG - Requesting: http://10.0.0.33:8082/project/d67e4080-4afe-423b-9da2-941bb7a64a52 2026-10-29 22:19:20,573 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f980b4f2-3716-43e0-9dab-baf552806876 2026-10-29 22:19:20,589 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f980b4f2-3716-43e0-9dab-baf552806876 2026-10-29 22:19:20,601 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bead5f6c-16ee-4594-bfa5-e90bd12e86a7 2026-10-29 22:19:20,614 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bead5f6c-16ee-4594-bfa5-e90bd12e86a7 2026-10-29 22:19:20,625 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/cc6a1421-b4eb-4f17-b950-18d2e8d1a2fb 2026-10-29 22:19:20,635 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-29 22:19:20,635 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f980b4f2-3716-43e0-9dab-baf552806876 2026-10-29 22:19:20,648 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bead5f6c-16ee-4594-bfa5-e90bd12e86a7 2026-10-29 22:19:20,664 - INFO - Verified VN network id 13 for VN f980b4f2-3716-43e0-9dab-baf552806876 2026-10-29 22:19:20,664 - INFO - Verifications in API Server for VN ctest-vn-09795329 passed 2026-10-29 22:19:20,664 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f980b4f2-3716-43e0-9dab-baf552806876 2026-10-29 22:19:20,675 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bead5f6c-16ee-4594-bfa5-e90bd12e86a7 2026-10-29 22:19:20,684 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bead5f6c-16ee-4594-bfa5-e90bd12e86a7 2026-10-29 22:19:20,693 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/cc6a1421-b4eb-4f17-b950-18d2e8d1a2fb 2026-10-29 22:19:20,714 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-09795329', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83820715', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17978568664862311392', 'uuid-lslong': '11361380047786109046'}, 'enable': 'true', 'created': '2026-10-29T22:19:17', 'last-modified': '2026-10-29T22:19:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.742975'} 2026-10-29 22:19:20,726 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-29 22:19:20,727 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09795329 passed 2026-10-29 22:19:20,727 - DEBUG - ====Verifying policy data for ctest-vn-09795329 in API_Server ====== 2026-10-29 22:19:20,727 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-10-29 22:19:20,737 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e7701ae3-4f9a-4a48-b88d-70299ab9f79b 2026-10-29 22:19:20,753 - DEBUG - Requesting: http://10.0.0.33:8082/project/d67e4080-4afe-423b-9da2-941bb7a64a52 2026-10-29 22:19:20,840 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f980b4f2-3716-43e0-9dab-baf552806876 2026-10-29 22:19:20,854 - DEBUG - ==>Verifying data for policy with id: 41ae546b-2609-4d80-8a93-86340d369aa4, fqn: ['default-domain', 'ctest-TestBasicPolicy-83820715', 'ctest-policy-allow-all-29302629'] 2026-10-29 22:19:20,854 - INFO - VN ctest-vn-09795329 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-29 22:19:20,854 - DEBUG - Verifying the vn in opserver 2026-10-29 22:19:20,854 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-09795329 virtual network link through opserver 10.0.0.33 2026-10-29 22:19:20,854 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-10-29 22:19:20,866 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-09795329', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-09795329?flat'} 2026-10-29 22:19:20,866 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-09795329 is found in opserver 2026-10-29 22:19:20,879 - DEBUG - Do not have enough data to verify VN in agent 2026-10-29 22:19:20,885 - DEBUG - VRF ids for VN ctest-vn-09795329: {} 2026-10-29 22:19:20,969 - DEBUG - Services list from nova: [, , ] 2026-10-29 22:19:21,392 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6444-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6444-1) 2026-10-29 22:19:21,877 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6444-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6444-1) 2026-10-29 22:19:21,877 - INFO - Waiting for VM ctest-TestBasicPolicy-83820715-47964708 to be up.. 2026-10-29 22:19:21,923 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 22:19:27,011 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 22:19:32,194 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 22:19:37,289 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 22:19:42,388 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 22:19:47,485 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 22:19:52,608 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 22:19:57,712 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 22:20:02,878 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 22:20:07,983 - DEBUG - VM is in ACTIVE state now 2026-10-29 22:20:07,983 - INFO - VM name : ctest-TestBasicPolicy-83820715-47964708 2026-10-29 22:20:08,079 - DEBUG - VM ctest-TestBasicPolicy-83820715-47964708 ID is 579ce2e7-4c26-4f84-b0ed-381ab6f3a609 2026-10-29 22:20:08,103 - DEBUG - VM ctest-TestBasicPolicy-83820715-47964708 launched on Node cn-jenkins-deploy-platform-ansible-os-6444-1 2026-10-29 22:20:08,202 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/579ce2e7-4c26-4f84-b0ed-381ab6f3a609 2026-10-29 22:20:08,214 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8926b43b-5d06-4ff8-9c45-c1dd41ad26b9 2026-10-29 22:20:11,485 - 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 1004ms') 2026-10-29 22:20:11,485 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83820715-47964708 failed! 2026-10-29 22:20:11,543 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-83820715:ctest-vn-85975658 is 118.62.103.1 and allocation pool is NOT set 2026-10-29 22:20:13,614 - 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=3.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.745 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.745/2.038/3.332/1.293 ms') 2026-10-29 22:20:13,614 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83820715-47964708 passed 2026-10-29 22:20:13,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-29 22:20:13,782 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83820715-47964708, IP 118.62.103.3, Port 22 2026-10-29 22:20:13,960 - DEBUG - VM ctest-TestBasicPolicy-83820715-47964708 is ready for SSH connections 2026-10-29 22:20:13,960 - INFO - Waiting for VM ctest-TestBasicPolicy-83820715-10088548 to be up.. 2026-10-29 22:20:14,062 - DEBUG - VM is in ACTIVE state now 2026-10-29 22:20:14,062 - INFO - VM name : ctest-TestBasicPolicy-83820715-10088548 2026-10-29 22:20:14,168 - DEBUG - VM ctest-TestBasicPolicy-83820715-10088548 ID is b89b74a7-8dc6-4a70-a99b-059cb10816b4 2026-10-29 22:20:14,168 - DEBUG - VM ctest-TestBasicPolicy-83820715-10088548 launched on Node cn-jenkins-deploy-platform-ansible-os-6444-1 2026-10-29 22:20:14,267 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b89b74a7-8dc6-4a70-a99b-059cb10816b4 2026-10-29 22:20:14,277 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/46f5b4fa-6aba-4d37-88ca-c6b690ea7fa2 2026-10-29 22:20:15,539 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.925 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.925/2.522/4.119/1.597 ms') 2026-10-29 22:20:15,539 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-83820715-10088548 passed 2026-10-29 22:20:15,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-29 22:20:15,694 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83820715-10088548, IP 117.23.123.131, Port 22 2026-10-29 22:20:15,860 - DEBUG - VM ctest-TestBasicPolicy-83820715-10088548 is ready for SSH connections 2026-10-29 22:20:15,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-29 22:20:15,861 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.23.123.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-10-29 22:20:15,861 - DEBUG - ping -s 56 -c 3 -W 1 117.23.123.131 2026-10-29 22:20:20,025 - DEBUG - PING 117.23.123.131 (117.23.123.131): 56 data bytes 64 bytes from 117.23.123.131: seq=0 ttl=63 time=6.010 ms 64 bytes from 117.23.123.131: seq=1 ttl=63 time=1.514 ms 64 bytes from 117.23.123.131: seq=2 ttl=63 time=1.361 ms --- 117.23.123.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.361/2.961/6.010 ms 2026-10-29 22:20:20,026 - INFO - Ping to IP 117.23.123.131 from VM ctest-TestBasicPolicy-83820715-47964708 passed 2026-10-29 22:20:20,226 - DEBUG - Policy Update Response {"network-policy": {"uuid": "41ae546b-2609-4d80-8a93-86340d369aa4", "href": "http://10.0.0.33:8082/network-policy/41ae546b-2609-4d80-8a93-86340d369aa4"}} 2026-10-29 22:20:20,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-29 22:20:20,226 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.23.123.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-10-29 22:20:20,227 - DEBUG - ping -s 56 -c 3 -W 1 117.23.123.131 2026-10-29 22:20:23,402 - DEBUG - PING 117.23.123.131 (117.23.123.131): 56 data bytes 64 bytes from 117.23.123.131: seq=0 ttl=63 time=1.864 ms --- 117.23.123.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.864/1.864/1.864 ms 2026-10-29 22:20:23,403 - WARNING - Ping to IP 117.23.123.131 from VM ctest-TestBasicPolicy-83820715-47964708 failed 2026-10-29 22:20:23,403 - INFO - Deleting VM ctest-TestBasicPolicy-83820715-10088548 2026-10-29 22:20:23,526 - INFO - Deleting VM ctest-TestBasicPolicy-83820715-47964708 2026-10-29 22:20:24,049 - INFO - Deleted policy ctest-policy-allow-all-29302629 2026-10-29 22:20:24,049 - INFO - Deleting VN ctest-vn-09795329 2026-10-29 22:20:24,096 - DEBUG - VN f980b4f2-3716-43e0-9dab-baf552806876 still in use: Unable to complete operation on network f980b4f2-3716-43e0-9dab-baf552806876. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-06215041-adf0-4fae-9c24-a3e2e9038a58'] 2026-10-29 22:20:24,096 - WARNING - Deleting VN ctest-vn-09795329 failed..Will retry 2026-10-29 22:20:26,162 - DEBUG - VN f980b4f2-3716-43e0-9dab-baf552806876 still in use: Unable to complete operation on network f980b4f2-3716-43e0-9dab-baf552806876. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8a7b9447-5586-4232-8e21-55c6e663238d'] 2026-10-29 22:20:26,163 - WARNING - Deleting VN ctest-vn-09795329 failed..Will retry 2026-10-29 22:20:28,343 - DEBUG - Response for deleting network () 2026-10-29 22:20:28,343 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bead5f6c-16ee-4594-bfa5-e90bd12e86a7 2026-10-29 22:20:28,357 - DEBUG - Response Code: 404 2026-10-29 22:20:28,357 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-10-29 22:20:28,365 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e7701ae3-4f9a-4a48-b88d-70299ab9f79b 2026-10-29 22:20:28,426 - DEBUG - Requesting: http://10.0.0.33:8082/project/d67e4080-4afe-423b-9da2-941bb7a64a52 2026-10-29 22:20:28,537 - INFO - Validated that VN ctest-vn-09795329 is not found in API Server 2026-10-29 22:20:28,562 - DEBUG - VN ctest-vn-09795329 is not present in Agent 10.0.0.33 2026-10-29 22:20:28,562 - INFO - Validated that VN ctest-vn-09795329 is not in any agent 2026-10-29 22:20:28,592 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09795329 info 2026-10-29 22:20:28,592 - INFO - Deleting VN ctest-vn-85975658 2026-10-29 22:20:28,817 - DEBUG - Response for deleting network () 2026-10-29 22:20:28,817 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66eec0fd-62d8-46eb-8a98-3067e2bc0de6 2026-10-29 22:20:28,836 - DEBUG - Response Code: 404 2026-10-29 22:20:28,836 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-10-29 22:20:28,847 - DEBUG - Requesting: http://10.0.0.33:8082/domain/e7701ae3-4f9a-4a48-b88d-70299ab9f79b 2026-10-29 22:20:28,863 - DEBUG - Requesting: http://10.0.0.33:8082/project/d67e4080-4afe-423b-9da2-941bb7a64a52 2026-10-29 22:20:28,989 - INFO - Validated that VN ctest-vn-85975658 is not found in API Server 2026-10-29 22:20:29,008 - DEBUG - VN ctest-vn-85975658 is not present in Agent 10.0.0.33 2026-10-29 22:20:29,008 - INFO - Validated that VN ctest-vn-85975658 is not in any agent 2026-10-29 22:20:29,042 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85975658 info 2026-10-29 22:20:29,337 - DEBUG - No XMPP flaps were noticed during the test
2026-10-29 22:20:29,338 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:13]
2026-10-29 22:20:29,338 - INFO - -------------------------------------------------------------------------------- 2026-10-29 22:20:30,353 - INFO - Deleted project: ctest-TestBasicPolicy-83820715, ID : d67e4080-4afe-423b-9da2-941bb7a64a52