2026-12-03 17:11:21,894 - INFO - Domain Default found not creating 2026-12-03 17:11:22,076 - INFO - Project ctest-TestBasicPolicy-07379541 not found, creating it 2026-12-03 17:11:22,753 - INFO - Created Project:ctest-TestBasicPolicy-07379541, ID : 86922fbc-6d72-470a-8c51-281c274104a5 2026-12-03 17:11:24,692 - INFO - ================================================================================ 2026-12-03 17:11:24,692 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-12-03 17:11:24,692 - 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-12-03 17:11:24,971 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.17': '0'}} with 2026-12-03 17:11:24,971 - INFO - Initial checks done. Running the testcase now 2026-12-03 17:11:24,971 - INFO - 2026-12-03 17:11:25,640 - DEBUG - Response for create_network : {'network': {'id': '0ace3048-ea66-47d9-be89-f8132dc8b2dc', 'name': 'ctest-vn-38805165', 'tenant_id': '86922fbc6d72470a8c51281c274104a5', 'project_id': '86922fbc6d72470a8c51281c274104a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07379541', 'ctest-vn-38805165'], 'port_security_enabled': True, 'description': ''}} 2026-12-03 17:11:25,892 - DEBUG - Response for create_subnet : {'subnet': {'id': '49a7425d-ba5b-4f3e-a0f9-095389b5e9f9', 'name': '', 'tenant_id': '86922fbc6d72470a8c51281c274104a5', 'network_id': '0ace3048-ea66-47d9-be89-f8132dc8b2dc', 'ip_version': 4, 'cidr': '70.200.76.0/26', 'allocation_pools': [{'start': '70.200.76.2', 'end': '70.200.76.62'}], 'gateway_ip': '70.200.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.200.76.2', 'tags': [], 'project_id': '86922fbc6d72470a8c51281c274104a5'}} 2026-12-03 17:11:25,907 - INFO - Created VN ctest-vn-38805165 2026-12-03 17:11:25,960 - DEBUG - VN ctest-vn-38805165 UUID is 0ace3048-ea66-47d9-be89-f8132dc8b2dc 2026-12-03 17:11:26,318 - DEBUG - Response for create_network : {'network': {'id': '8148d8be-87f1-4ebb-9410-f2ccd9d519e7', 'name': 'ctest-vn-24067809', 'tenant_id': '86922fbc6d72470a8c51281c274104a5', 'project_id': '86922fbc6d72470a8c51281c274104a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07379541', 'ctest-vn-24067809'], 'port_security_enabled': True, 'description': ''}} 2026-12-03 17:11:26,562 - DEBUG - Response for create_subnet : {'subnet': {'id': '88434192-8eab-4609-a52c-700ae533ce38', 'name': '', 'tenant_id': '86922fbc6d72470a8c51281c274104a5', 'network_id': '8148d8be-87f1-4ebb-9410-f2ccd9d519e7', 'ip_version': 4, 'cidr': '159.54.194.64/26', 'allocation_pools': [{'start': '159.54.194.66', 'end': '159.54.194.126'}], 'gateway_ip': '159.54.194.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.54.194.66', 'tags': [], 'project_id': '86922fbc6d72470a8c51281c274104a5'}} 2026-12-03 17:11:26,576 - INFO - Created VN ctest-vn-24067809 2026-12-03 17:11:26,628 - DEBUG - VN ctest-vn-24067809 UUID is 8148d8be-87f1-4ebb-9410-f2ccd9d519e7 2026-12-03 17:11:26,744 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-38805165, 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-07379541:ctest-vn-24067809, 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-12-03 17:11:27,041 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ace3048-ea66-47d9-be89-f8132dc8b2dc', 'name': 'ctest-vn-38805165', 'tenant_id': '86922fbc6d72470a8c51281c274104a5', 'project_id': '86922fbc6d72470a8c51281c274104a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['49a7425d-ba5b-4f3e-a0f9-095389b5e9f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07379541', 'ctest-vn-38805165'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07379541', 'ctest-policy-allow-all-87687699']], 'subnet_ipam': [{'subnet_cidr': '70.200.76.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-12-03 17:11:27,282 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8148d8be-87f1-4ebb-9410-f2ccd9d519e7', 'name': 'ctest-vn-24067809', 'tenant_id': '86922fbc6d72470a8c51281c274104a5', 'project_id': '86922fbc6d72470a8c51281c274104a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['88434192-8eab-4609-a52c-700ae533ce38'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07379541', 'ctest-vn-24067809'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07379541', 'ctest-policy-allow-all-87687699']], 'subnet_ipam': [{'subnet_cidr': '159.54.194.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-12-03 17:11:27,448 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-12-03 17:11:27,812 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-12-03 17:11:27,843 - DEBUG - Requesting: http://10.0.0.163:8082/domain/c3be18ef-682b-4c87-97dd-11bd6913b2b0 2026-12-03 17:11:27,857 - DEBUG - Requesting: http://10.0.0.163:8082/project/86922fbc-6d72-470a-8c51-281c274104a5 2026-12-03 17:11:27,932 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/0ace3048-ea66-47d9-be89-f8132dc8b2dc 2026-12-03 17:11:27,946 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/0ace3048-ea66-47d9-be89-f8132dc8b2dc 2026-12-03 17:11:27,957 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/d8a7c224-9f08-4faf-879c-09a85a95726f 2026-12-03 17:11:27,965 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/d8a7c224-9f08-4faf-879c-09a85a95726f 2026-12-03 17:11:27,971 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/55ee27cf-2585-4ddf-9de2-e75844d38932 2026-12-03 17:11:27,977 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-12-03 17:11:27,977 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/0ace3048-ea66-47d9-be89-f8132dc8b2dc 2026-12-03 17:11:27,985 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/d8a7c224-9f08-4faf-879c-09a85a95726f 2026-12-03 17:11:27,998 - INFO - Verified VN network id 12 for VN 0ace3048-ea66-47d9-be89-f8132dc8b2dc 2026-12-03 17:11:27,998 - INFO - Verifications in API Server for VN ctest-vn-38805165 passed 2026-12-03 17:11:27,998 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/0ace3048-ea66-47d9-be89-f8132dc8b2dc 2026-12-03 17:11:28,006 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/d8a7c224-9f08-4faf-879c-09a85a95726f 2026-12-03 17:11:28,012 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/d8a7c224-9f08-4faf-879c-09a85a95726f 2026-12-03 17:11:28,020 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/55ee27cf-2585-4ddf-9de2-e75844d38932 2026-12-03 17:11:28,037 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-38805165', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07379541', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '778612875310024665', 'uuid-lslong': '13729777700271862492'}, 'enable': 'true', 'created': '2026-12-03T17:11:25', 'last-modified': '2026-12-03T17:11:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.018966'} 2026-12-03 17:11:28,045 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-12-03 17:11:28,045 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38805165 passed 2026-12-03 17:11:28,045 - DEBUG - ====Verifying policy data for ctest-vn-38805165 in API_Server ====== 2026-12-03 17:11:28,045 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-12-03 17:11:28,051 - DEBUG - Requesting: http://10.0.0.163:8082/domain/c3be18ef-682b-4c87-97dd-11bd6913b2b0 2026-12-03 17:11:28,062 - DEBUG - Requesting: http://10.0.0.163:8082/project/86922fbc-6d72-470a-8c51-281c274104a5 2026-12-03 17:11:28,135 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/0ace3048-ea66-47d9-be89-f8132dc8b2dc 2026-12-03 17:11:28,146 - DEBUG - ==>Verifying data for policy with id: 9b5d5c84-d333-4cf4-8f2e-235be1ce203c, fqn: ['default-domain', 'ctest-TestBasicPolicy-07379541', 'ctest-policy-allow-all-87687699'] 2026-12-03 17:11:28,146 - INFO - VN ctest-vn-38805165 Policy verification: verify_vn_policy_in_api_server, status: True 2026-12-03 17:11:28,146 - DEBUG - Verifying the vn in opserver 2026-12-03 17:11:28,146 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-38805165 virtual network link through opserver 10.0.0.163 2026-12-03 17:11:28,147 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-12-03 17:11:28,508 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-12-03 17:11:28,562 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-38805165', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-38805165?flat'} 2026-12-03 17:11:28,562 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-38805165 is found in opserver 2026-12-03 17:11:28,572 - DEBUG - Do not have enough data to verify VN in agent 2026-12-03 17:11:28,576 - DEBUG - VRF ids for VN ctest-vn-38805165: {} 2026-12-03 17:11:28,576 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-12-03 17:11:28,581 - DEBUG - Requesting: http://10.0.0.163:8082/domain/c3be18ef-682b-4c87-97dd-11bd6913b2b0 2026-12-03 17:11:28,591 - DEBUG - Requesting: http://10.0.0.163:8082/project/86922fbc-6d72-470a-8c51-281c274104a5 2026-12-03 17:11:28,664 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/8148d8be-87f1-4ebb-9410-f2ccd9d519e7 2026-12-03 17:11:28,675 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/8148d8be-87f1-4ebb-9410-f2ccd9d519e7 2026-12-03 17:11:28,683 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/e464759c-1fa9-467b-a5a9-a834e7332ac3 2026-12-03 17:11:28,689 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/e464759c-1fa9-467b-a5a9-a834e7332ac3 2026-12-03 17:11:28,694 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/c565d141-29d1-4e4f-956e-f4eb92c42779 2026-12-03 17:11:28,699 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-12-03 17:11:28,699 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/8148d8be-87f1-4ebb-9410-f2ccd9d519e7 2026-12-03 17:11:28,707 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/e464759c-1fa9-467b-a5a9-a834e7332ac3 2026-12-03 17:11:28,720 - INFO - Verified VN network id 13 for VN 8148d8be-87f1-4ebb-9410-f2ccd9d519e7 2026-12-03 17:11:28,720 - INFO - Verifications in API Server for VN ctest-vn-24067809 passed 2026-12-03 17:11:28,720 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/8148d8be-87f1-4ebb-9410-f2ccd9d519e7 2026-12-03 17:11:28,733 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/e464759c-1fa9-467b-a5a9-a834e7332ac3 2026-12-03 17:11:28,742 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/e464759c-1fa9-467b-a5a9-a834e7332ac3 2026-12-03 17:11:28,750 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/c565d141-29d1-4e4f-956e-f4eb92c42779 2026-12-03 17:11:28,762 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-24067809', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07379541', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9315934142051995323', 'uuid-lslong': '10669294478882576871'}, 'enable': 'true', 'created': '2026-12-03T17:11:26', 'last-modified': '2026-12-03T17:11:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.501107'} 2026-12-03 17:11:28,769 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-12-03 17:11:28,769 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24067809 passed 2026-12-03 17:11:28,769 - DEBUG - ====Verifying policy data for ctest-vn-24067809 in API_Server ====== 2026-12-03 17:11:28,769 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-12-03 17:11:28,774 - DEBUG - Requesting: http://10.0.0.163:8082/domain/c3be18ef-682b-4c87-97dd-11bd6913b2b0 2026-12-03 17:11:28,784 - DEBUG - Requesting: http://10.0.0.163:8082/project/86922fbc-6d72-470a-8c51-281c274104a5 2026-12-03 17:11:28,860 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/8148d8be-87f1-4ebb-9410-f2ccd9d519e7 2026-12-03 17:11:28,871 - DEBUG - ==>Verifying data for policy with id: 9b5d5c84-d333-4cf4-8f2e-235be1ce203c, fqn: ['default-domain', 'ctest-TestBasicPolicy-07379541', 'ctest-policy-allow-all-87687699'] 2026-12-03 17:11:28,871 - INFO - VN ctest-vn-24067809 Policy verification: verify_vn_policy_in_api_server, status: True 2026-12-03 17:11:28,871 - DEBUG - Verifying the vn in opserver 2026-12-03 17:11:28,871 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-24067809 virtual network link through opserver 10.0.0.163 2026-12-03 17:11:28,871 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-12-03 17:11:28,882 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-24067809', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-24067809?flat'} 2026-12-03 17:11:28,882 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-24067809 is found in opserver 2026-12-03 17:11:28,891 - DEBUG - Do not have enough data to verify VN in agent 2026-12-03 17:11:28,896 - DEBUG - VRF ids for VN ctest-vn-24067809: {} 2026-12-03 17:11:28,961 - DEBUG - Services list from nova: [, , ] 2026-12-03 17:11:29,408 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6530-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6530-1) 2026-12-03 17:11:29,803 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6530-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6530-1) 2026-12-03 17:11:29,804 - INFO - Waiting for VM ctest-TestBasicPolicy-07379541-96222368 to be up.. 2026-12-03 17:11:29,852 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 17:11:34,917 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 17:11:39,988 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 17:11:45,061 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 17:11:50,134 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 17:11:55,218 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 17:12:00,289 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 17:12:05,358 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-12-03 17:12:10,442 - DEBUG - VM is in ACTIVE state now 2026-12-03 17:12:10,442 - INFO - VM name : ctest-TestBasicPolicy-07379541-96222368 2026-12-03 17:12:10,519 - DEBUG - VM ctest-TestBasicPolicy-07379541-96222368 ID is c8b56212-6f41-49d1-9dd0-b955a20ddd8e 2026-12-03 17:12:10,542 - DEBUG - VM ctest-TestBasicPolicy-07379541-96222368 launched on Node cn-jenkins-deploy-platform-ansible-os-6530-1 2026-12-03 17:12:10,628 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/c8b56212-6f41-49d1-9dd0-b955a20ddd8e 2026-12-03 17:12:10,642 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/b1cea9c0-364d-4b03-9e87-31445840ff31 2026-12-03 17:12:13,897 - 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 1002ms') 2026-12-03 17:12:13,897 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07379541-96222368 failed! 2026-12-03 17:12:13,952 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07379541:ctest-vn-38805165 is 70.200.76.1 and allocation pool is NOT set 2026-12-03 17:12:18,020 - 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=3.35 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 3.354/3.354/3.354/0.000 ms') 2026-12-03 17:12:18,020 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07379541-96222368 passed 2026-12-03 17:12:18,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-03 17:12:18,176 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07379541-96222368, IP 70.200.76.3, Port 22 2026-12-03 17:12:18,242 - 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-12-03 17:12:18,312 - DEBUG - VM ctest-TestBasicPolicy-07379541-96222368 is NOT ready for SSH connections, VM status: ACTIVE 2026-12-03 17:12:23,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-03 17:12:23,313 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07379541-96222368, IP 70.200.76.3, Port 22 2026-12-03 17:12:23,480 - DEBUG - VM ctest-TestBasicPolicy-07379541-96222368 is ready for SSH connections 2026-12-03 17:12:23,480 - INFO - Waiting for VM ctest-TestBasicPolicy-07379541-60212162 to be up.. 2026-12-03 17:12:23,567 - DEBUG - VM is in ACTIVE state now 2026-12-03 17:12:23,567 - INFO - VM name : ctest-TestBasicPolicy-07379541-60212162 2026-12-03 17:12:23,651 - DEBUG - VM ctest-TestBasicPolicy-07379541-60212162 ID is b793d302-e22b-441e-ba6d-e3795b4d6043 2026-12-03 17:12:23,651 - DEBUG - VM ctest-TestBasicPolicy-07379541-60212162 launched on Node cn-jenkins-deploy-platform-ansible-os-6530-1 2026-12-03 17:12:23,727 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/b793d302-e22b-441e-ba6d-e3795b4d6043 2026-12-03 17:12:23,739 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/8b816cdc-eeed-47c4-94cb-737920f7ce93 2026-12-03 17:12:24,991 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.994/3.544/1.550 ms') 2026-12-03 17:12:24,991 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07379541-60212162 passed 2026-12-03 17:12:25,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-03 17:12:25,144 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07379541-60212162, IP 159.54.194.67, Port 22 2026-12-03 17:12:25,315 - DEBUG - VM ctest-TestBasicPolicy-07379541-60212162 is ready for SSH connections 2026-12-03 17:12:25,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-03 17:12:25,315 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.54.194.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-12-03 17:12:25,316 - DEBUG - ping -s 56 -c 3 -W 1 159.54.194.67 2026-12-03 17:12:29,612 - DEBUG - PING 159.54.194.67 (159.54.194.67): 56 data bytes 64 bytes from 159.54.194.67: seq=0 ttl=63 time=4.021 ms 64 bytes from 159.54.194.67: seq=1 ttl=63 time=0.834 ms 64 bytes from 159.54.194.67: seq=2 ttl=63 time=0.728 ms --- 159.54.194.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.728/1.861/4.021 ms 2026-12-03 17:12:29,612 - INFO - Ping to IP 159.54.194.67 from VM ctest-TestBasicPolicy-07379541-96222368 passed 2026-12-03 17:12:29,799 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9b5d5c84-d333-4cf4-8f2e-235be1ce203c", "href": "http://10.0.0.163:8082/network-policy/9b5d5c84-d333-4cf4-8f2e-235be1ce203c"}} 2026-12-03 17:12:29,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-12-03 17:12:29,800 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.54.194.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-12-03 17:12:29,800 - DEBUG - ping -s 56 -c 3 -W 1 159.54.194.67 2026-12-03 17:12:33,134 - DEBUG - PING 159.54.194.67 (159.54.194.67): 56 data bytes 64 bytes from 159.54.194.67: seq=0 ttl=63 time=3.376 ms --- 159.54.194.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 3.376/3.376/3.376 ms 2026-12-03 17:12:33,134 - WARNING - Ping to IP 159.54.194.67 from VM ctest-TestBasicPolicy-07379541-96222368 failed 2026-12-03 17:12:33,134 - INFO - Deleting VM ctest-TestBasicPolicy-07379541-60212162 2026-12-03 17:12:33,204 - INFO - Deleting VM ctest-TestBasicPolicy-07379541-96222368 2026-12-03 17:12:33,576 - INFO - Deleted policy ctest-policy-allow-all-87687699 2026-12-03 17:12:33,576 - INFO - Deleting VN ctest-vn-24067809 2026-12-03 17:12:33,603 - DEBUG - VN 8148d8be-87f1-4ebb-9410-f2ccd9d519e7 still in use: Unable to complete operation on network 8148d8be-87f1-4ebb-9410-f2ccd9d519e7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-830ac316-4698-4dc0-82ad-7c243e29afb8'] 2026-12-03 17:12:33,603 - WARNING - Deleting VN ctest-vn-24067809 failed..Will retry 2026-12-03 17:12:35,644 - DEBUG - VN 8148d8be-87f1-4ebb-9410-f2ccd9d519e7 still in use: Unable to complete operation on network 8148d8be-87f1-4ebb-9410-f2ccd9d519e7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5990c4d4-9e17-4a22-8b58-30a1f8038e69'] 2026-12-03 17:12:35,644 - WARNING - Deleting VN ctest-vn-24067809 failed..Will retry 2026-12-03 17:12:37,761 - DEBUG - Response for deleting network () 2026-12-03 17:12:37,761 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/e464759c-1fa9-467b-a5a9-a834e7332ac3 2026-12-03 17:12:37,767 - DEBUG - Response Code: 404 2026-12-03 17:12:37,767 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-12-03 17:12:37,772 - DEBUG - Requesting: http://10.0.0.163:8082/domain/c3be18ef-682b-4c87-97dd-11bd6913b2b0 2026-12-03 17:12:37,828 - DEBUG - Requesting: http://10.0.0.163:8082/project/86922fbc-6d72-470a-8c51-281c274104a5 2026-12-03 17:12:37,902 - INFO - Validated that VN ctest-vn-24067809 is not found in API Server 2026-12-03 17:12:37,914 - DEBUG - VN ctest-vn-24067809 is not present in Agent 10.0.0.163 2026-12-03 17:12:37,914 - INFO - Validated that VN ctest-vn-24067809 is not in any agent 2026-12-03 17:12:37,939 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24067809 info 2026-12-03 17:12:37,939 - INFO - Deleting VN ctest-vn-38805165 2026-12-03 17:12:38,058 - DEBUG - Response for deleting network () 2026-12-03 17:12:38,058 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/d8a7c224-9f08-4faf-879c-09a85a95726f 2026-12-03 17:12:38,063 - DEBUG - Response Code: 404 2026-12-03 17:12:38,063 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-12-03 17:12:38,067 - DEBUG - Requesting: http://10.0.0.163:8082/domain/c3be18ef-682b-4c87-97dd-11bd6913b2b0 2026-12-03 17:12:38,121 - DEBUG - Requesting: http://10.0.0.163:8082/project/86922fbc-6d72-470a-8c51-281c274104a5 2026-12-03 17:12:38,192 - INFO - Validated that VN ctest-vn-38805165 is not found in API Server 2026-12-03 17:12:38,201 - DEBUG - VN ctest-vn-38805165 is not present in Agent 10.0.0.163 2026-12-03 17:12:38,201 - INFO - Validated that VN ctest-vn-38805165 is not in any agent 2026-12-03 17:12:38,214 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38805165 info 2026-12-03 17:12:38,470 - DEBUG - No XMPP flaps were noticed during the test 2026-12-03 17:12:38,470 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:14] 2026-12-03 17:12:38,470 - INFO - -------------------------------------------------------------------------------- 2026-12-03 17:12:39,227 - INFO - Deleted project: ctest-TestBasicPolicy-07379541, ID : 86922fbc-6d72-470a-8c51-281c274104a5