2026-08-21 15:16:30,769 - INFO - Domain Default found not creating 2026-08-21 15:16:30,937 - INFO - Project ctest-TestBasicPolicy-86932723 not found, creating it 2026-08-21 15:16:31,435 - INFO - Created Project:ctest-TestBasicPolicy-86932723, ID : 7037643e-8c77-4357-8803-92c8d5bd4996 2026-08-21 15:16:33,158 - INFO - ================================================================================ 2026-08-21 15:16:33,160 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-21 15:16:33,160 - 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-08-21 15:16:33,415 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-08-21 15:16:33,416 - INFO - Initial checks done. Running the testcase now 2026-08-21 15:16:33,416 - INFO - 2026-08-21 15:16:34,072 - DEBUG - Response for create_network : {'network': {'id': '54902a48-ff5e-419f-b1f0-fe92b3ff15eb', 'name': 'ctest-vn-87263499', 'tenant_id': '7037643e8c774357880392c8d5bd4996', 'project_id': '7037643e8c774357880392c8d5bd4996', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86932723', 'ctest-vn-87263499'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 15:16:34,283 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f9e55de-e945-434b-8e37-289ef17f9be7', 'name': '', 'tenant_id': '7037643e8c774357880392c8d5bd4996', 'network_id': '54902a48-ff5e-419f-b1f0-fe92b3ff15eb', 'ip_version': 4, 'cidr': '24.195.220.128/26', 'allocation_pools': [{'start': '24.195.220.130', 'end': '24.195.220.190'}], 'gateway_ip': '24.195.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.195.220.130', 'tags': [], 'project_id': '7037643e8c774357880392c8d5bd4996'}} 2026-08-21 15:16:34,302 - INFO - Created VN ctest-vn-87263499 2026-08-21 15:16:34,356 - DEBUG - VN ctest-vn-87263499 UUID is 54902a48-ff5e-419f-b1f0-fe92b3ff15eb 2026-08-21 15:16:34,693 - DEBUG - Response for create_network : {'network': {'id': 'cd6fb62b-b6ea-40cb-aaed-302cfe77fe45', 'name': 'ctest-vn-15123844', 'tenant_id': '7037643e8c774357880392c8d5bd4996', 'project_id': '7037643e8c774357880392c8d5bd4996', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86932723', 'ctest-vn-15123844'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 15:16:34,872 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f509ce4e-5834-4dd3-978c-c59eba1cfe2e', 'name': '', 'tenant_id': '7037643e8c774357880392c8d5bd4996', 'network_id': 'cd6fb62b-b6ea-40cb-aaed-302cfe77fe45', 'ip_version': 4, 'cidr': '138.198.152.128/26', 'allocation_pools': [{'start': '138.198.152.130', 'end': '138.198.152.190'}], 'gateway_ip': '138.198.152.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.198.152.130', 'tags': [], 'project_id': '7037643e8c774357880392c8d5bd4996'}} 2026-08-21 15:16:34,891 - INFO - Created VN ctest-vn-15123844 2026-08-21 15:16:34,944 - DEBUG - VN ctest-vn-15123844 UUID is cd6fb62b-b6ea-40cb-aaed-302cfe77fe45 2026-08-21 15:16:35,062 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86932723:ctest-vn-87263499, 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-86932723:ctest-vn-15123844, 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-08-21 15:16:35,368 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '54902a48-ff5e-419f-b1f0-fe92b3ff15eb', 'name': 'ctest-vn-87263499', 'tenant_id': '7037643e8c774357880392c8d5bd4996', 'project_id': '7037643e8c774357880392c8d5bd4996', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9f9e55de-e945-434b-8e37-289ef17f9be7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86932723', 'ctest-vn-87263499'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86932723', 'ctest-policy-allow-all-52324633']], 'subnet_ipam': [{'subnet_cidr': '24.195.220.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 15:16:35,620 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cd6fb62b-b6ea-40cb-aaed-302cfe77fe45', 'name': 'ctest-vn-15123844', 'tenant_id': '7037643e8c774357880392c8d5bd4996', 'project_id': '7037643e8c774357880392c8d5bd4996', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f509ce4e-5834-4dd3-978c-c59eba1cfe2e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86932723', 'ctest-vn-15123844'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86932723', 'ctest-policy-allow-all-52324633']], 'subnet_ipam': [{'subnet_cidr': '138.198.152.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 15:16:35,784 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 15:16:36,155 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 15:16:36,183 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea1cb62f-4c37-4e8c-8491-f74419af5219 2026-08-21 15:16:36,197 - DEBUG - Requesting: http://10.0.0.50:8082/project/7037643e-8c77-4357-8803-92c8d5bd4996 2026-08-21 15:16:36,279 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54902a48-ff5e-419f-b1f0-fe92b3ff15eb 2026-08-21 15:16:36,292 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54902a48-ff5e-419f-b1f0-fe92b3ff15eb 2026-08-21 15:16:36,303 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bf7b84b2-98ac-4781-905e-3ddbe58a6f53 2026-08-21 15:16:36,311 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bf7b84b2-98ac-4781-905e-3ddbe58a6f53 2026-08-21 15:16:36,320 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6c039993-5d4c-4b1c-939e-e3c456ddb913 2026-08-21 15:16:36,328 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-21 15:16:36,328 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54902a48-ff5e-419f-b1f0-fe92b3ff15eb 2026-08-21 15:16:36,339 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bf7b84b2-98ac-4781-905e-3ddbe58a6f53 2026-08-21 15:16:36,353 - INFO - Verified VN network id 11 for VN 54902a48-ff5e-419f-b1f0-fe92b3ff15eb 2026-08-21 15:16:36,354 - INFO - Verifications in API Server for VN ctest-vn-87263499 passed 2026-08-21 15:16:36,354 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54902a48-ff5e-419f-b1f0-fe92b3ff15eb 2026-08-21 15:16:36,364 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bf7b84b2-98ac-4781-905e-3ddbe58a6f53 2026-08-21 15:16:36,370 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bf7b84b2-98ac-4781-905e-3ddbe58a6f53 2026-08-21 15:16:36,378 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6c039993-5d4c-4b1c-939e-e3c456ddb913 2026-08-21 15:16:36,391 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86932723:ctest-vn-87263499', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86932723', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6093416788842660255', 'uuid-lslong': '12822028045162321387'}, 'enable': 'true', 'created': '2026-08-21T15:16:34', 'last-modified': '2026-08-21T15:16:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.048326'} 2026-08-21 15:16:36,398 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-21 15:16:36,398 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87263499 passed 2026-08-21 15:16:36,398 - DEBUG - ====Verifying policy data for ctest-vn-87263499 in API_Server ====== 2026-08-21 15:16:36,398 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 15:16:36,404 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea1cb62f-4c37-4e8c-8491-f74419af5219 2026-08-21 15:16:36,416 - DEBUG - Requesting: http://10.0.0.50:8082/project/7037643e-8c77-4357-8803-92c8d5bd4996 2026-08-21 15:16:36,488 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/54902a48-ff5e-419f-b1f0-fe92b3ff15eb 2026-08-21 15:16:36,501 - DEBUG - ==>Verifying data for policy with id: 03751192-93ed-4bdf-bf0c-2565ff8388cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-86932723', 'ctest-policy-allow-all-52324633'] 2026-08-21 15:16:36,501 - INFO - VN ctest-vn-87263499 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 15:16:36,501 - DEBUG - Verifying the vn in opserver 2026-08-21 15:16:36,501 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86932723:ctest-vn-87263499 virtual network link through opserver 10.0.0.50 2026-08-21 15:16:36,501 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-21 15:16:36,874 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-21 15:16:36,937 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86932723:ctest-vn-87263499', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86932723:ctest-vn-87263499?flat'} 2026-08-21 15:16:36,937 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86932723:ctest-vn-87263499 is found in opserver 2026-08-21 15:16:36,948 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 15:16:36,953 - DEBUG - VRF ids for VN ctest-vn-87263499: {} 2026-08-21 15:16:36,953 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 15:16:36,962 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea1cb62f-4c37-4e8c-8491-f74419af5219 2026-08-21 15:16:36,975 - DEBUG - Requesting: http://10.0.0.50:8082/project/7037643e-8c77-4357-8803-92c8d5bd4996 2026-08-21 15:16:37,059 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cd6fb62b-b6ea-40cb-aaed-302cfe77fe45 2026-08-21 15:16:37,073 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cd6fb62b-b6ea-40cb-aaed-302cfe77fe45 2026-08-21 15:16:37,084 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2c46cfd-fc0d-4996-8428-0f300c188298 2026-08-21 15:16:37,093 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2c46cfd-fc0d-4996-8428-0f300c188298 2026-08-21 15:16:37,101 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f3fc09db-4d11-4b7d-8ad4-6c8cd2d7284d 2026-08-21 15:16:37,109 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-21 15:16:37,109 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cd6fb62b-b6ea-40cb-aaed-302cfe77fe45 2026-08-21 15:16:37,119 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2c46cfd-fc0d-4996-8428-0f300c188298 2026-08-21 15:16:37,137 - INFO - Verified VN network id 12 for VN cd6fb62b-b6ea-40cb-aaed-302cfe77fe45 2026-08-21 15:16:37,138 - INFO - Verifications in API Server for VN ctest-vn-15123844 passed 2026-08-21 15:16:37,138 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cd6fb62b-b6ea-40cb-aaed-302cfe77fe45 2026-08-21 15:16:37,149 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2c46cfd-fc0d-4996-8428-0f300c188298 2026-08-21 15:16:37,157 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2c46cfd-fc0d-4996-8428-0f300c188298 2026-08-21 15:16:37,166 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f3fc09db-4d11-4b7d-8ad4-6c8cd2d7284d 2026-08-21 15:16:37,180 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86932723:ctest-vn-15123844', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86932723', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14803250799058763979', 'uuid-lslong': '12316553525734145605'}, 'enable': 'true', 'created': '2026-08-21T15:16:34', 'last-modified': '2026-08-21T15:16:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.597278'} 2026-08-21 15:16:37,186 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-21 15:16:37,186 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15123844 passed 2026-08-21 15:16:37,186 - DEBUG - ====Verifying policy data for ctest-vn-15123844 in API_Server ====== 2026-08-21 15:16:37,186 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 15:16:37,193 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea1cb62f-4c37-4e8c-8491-f74419af5219 2026-08-21 15:16:37,204 - DEBUG - Requesting: http://10.0.0.50:8082/project/7037643e-8c77-4357-8803-92c8d5bd4996 2026-08-21 15:16:37,280 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cd6fb62b-b6ea-40cb-aaed-302cfe77fe45 2026-08-21 15:16:37,294 - DEBUG - ==>Verifying data for policy with id: 03751192-93ed-4bdf-bf0c-2565ff8388cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-86932723', 'ctest-policy-allow-all-52324633'] 2026-08-21 15:16:37,294 - INFO - VN ctest-vn-15123844 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 15:16:37,294 - DEBUG - Verifying the vn in opserver 2026-08-21 15:16:37,294 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86932723:ctest-vn-15123844 virtual network link through opserver 10.0.0.50 2026-08-21 15:16:37,295 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-21 15:16:37,307 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86932723:ctest-vn-15123844', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86932723:ctest-vn-15123844?flat'} 2026-08-21 15:16:37,307 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86932723:ctest-vn-15123844 is found in opserver 2026-08-21 15:16:37,320 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 15:16:37,325 - DEBUG - VRF ids for VN ctest-vn-15123844: {} 2026-08-21 15:16:37,388 - DEBUG - Services list from nova: [, , ] 2026-08-21 15:16:37,846 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6204-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6204-1) 2026-08-21 15:16:38,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6204-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6204-1) 2026-08-21 15:16:38,262 - INFO - Waiting for VM ctest-TestBasicPolicy-86932723-73811505 to be up.. 2026-08-21 15:16:38,309 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 15:16:43,397 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 15:16:48,479 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 15:16:53,560 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 15:16:58,645 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 15:17:03,742 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 15:17:08,832 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 15:17:13,917 - DEBUG - VM is in ACTIVE state now 2026-08-21 15:17:13,917 - INFO - VM name : ctest-TestBasicPolicy-86932723-73811505 2026-08-21 15:17:14,000 - DEBUG - VM ctest-TestBasicPolicy-86932723-73811505 ID is 6a752d8b-8518-4ece-bf0e-46a7326775ce 2026-08-21 15:17:14,024 - DEBUG - VM ctest-TestBasicPolicy-86932723-73811505 launched on Node cn-jenkins-deploy-platform-ansible-os-6204-1 2026-08-21 15:17:14,106 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6a752d8b-8518-4ece-bf0e-46a7326775ce 2026-08-21 15:17:14,116 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/95b78a08-b298-4c3d-b634-5bdcbcfb7df1 2026-08-21 15:17:17,368 - 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 1010ms') 2026-08-21 15:17:17,368 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86932723-73811505 failed! 2026-08-21 15:17:17,424 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86932723:ctest-vn-87263499 is 24.195.220.129 and allocation pool is NOT set 2026-08-21 15:17:19,485 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.05 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.053/3.424/5.796/2.371 ms') 2026-08-21 15:17:19,485 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86932723-73811505 passed 2026-08-21 15:17:19,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 15:17:19,644 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86932723-73811505, IP 24.195.220.131, Port 22 2026-08-21 15:17:19,814 - DEBUG - VM ctest-TestBasicPolicy-86932723-73811505 is ready for SSH connections 2026-08-21 15:17:19,814 - INFO - Waiting for VM ctest-TestBasicPolicy-86932723-00253942 to be up.. 2026-08-21 15:17:19,897 - DEBUG - VM is in ACTIVE state now 2026-08-21 15:17:19,897 - INFO - VM name : ctest-TestBasicPolicy-86932723-00253942 2026-08-21 15:17:19,975 - DEBUG - VM ctest-TestBasicPolicy-86932723-00253942 ID is c8641412-5661-49ab-8d37-0c917a445ec9 2026-08-21 15:17:19,975 - DEBUG - VM ctest-TestBasicPolicy-86932723-00253942 launched on Node cn-jenkins-deploy-platform-ansible-os-6204-1 2026-08-21 15:17:20,058 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c8641412-5661-49ab-8d37-0c917a445ec9 2026-08-21 15:17:20,068 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6e439d4c-0f45-4bad-92a9-5fdb60d652f7 2026-08-21 15:17:23,310 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1005ms') 2026-08-21 15:17:23,310 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86932723-00253942 failed! 2026-08-21 15:17:23,368 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86932723:ctest-vn-15123844 is 138.198.152.129 and allocation pool is NOT set 2026-08-21 15:17:27,443 - 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=2 ttl=63 time=5.37 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 5.365/5.365/5.365/0.000 ms') 2026-08-21 15:17:27,443 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86932723-00253942 passed 2026-08-21 15:17:27,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 15:17:27,596 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86932723-00253942, IP 138.198.152.131, Port 22 2026-08-21 15:17:27,764 - DEBUG - VM ctest-TestBasicPolicy-86932723-00253942 is ready for SSH connections 2026-08-21 15:17:27,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 15:17:27,764 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.198.152.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-21 15:17:27,764 - DEBUG - ping -s 56 -c 3 -W 1 138.198.152.131 2026-08-21 15:17:31,708 - DEBUG - PING 138.198.152.131 (138.198.152.131): 56 data bytes 64 bytes from 138.198.152.131: seq=0 ttl=63 time=4.046 ms 64 bytes from 138.198.152.131: seq=1 ttl=63 time=0.941 ms 64 bytes from 138.198.152.131: seq=2 ttl=63 time=1.002 ms --- 138.198.152.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.941/1.996/4.046 ms 2026-08-21 15:17:31,708 - INFO - Ping to IP 138.198.152.131 from VM ctest-TestBasicPolicy-86932723-73811505 passed 2026-08-21 15:17:31,892 - DEBUG - Policy Update Response {"network-policy": {"uuid": "03751192-93ed-4bdf-bf0c-2565ff8388cb", "href": "http://10.0.0.50:8082/network-policy/03751192-93ed-4bdf-bf0c-2565ff8388cb"}} 2026-08-21 15:17:31,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 15:17:31,892 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.198.152.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-21 15:17:31,892 - DEBUG - ping -s 56 -c 3 -W 1 138.198.152.131 2026-08-21 15:17:35,016 - DEBUG - PING 138.198.152.131 (138.198.152.131): 56 data bytes 64 bytes from 138.198.152.131: seq=0 ttl=63 time=2.294 ms --- 138.198.152.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.294/2.294/2.294 ms 2026-08-21 15:17:35,016 - WARNING - Ping to IP 138.198.152.131 from VM ctest-TestBasicPolicy-86932723-73811505 failed 2026-08-21 15:17:35,016 - INFO - Deleting VM ctest-TestBasicPolicy-86932723-00253942 2026-08-21 15:17:35,111 - INFO - Deleting VM ctest-TestBasicPolicy-86932723-73811505 2026-08-21 15:17:35,489 - INFO - Deleted policy ctest-policy-allow-all-52324633 2026-08-21 15:17:35,489 - INFO - Deleting VN ctest-vn-15123844 2026-08-21 15:17:35,527 - DEBUG - VN cd6fb62b-b6ea-40cb-aaed-302cfe77fe45 still in use: Unable to complete operation on network cd6fb62b-b6ea-40cb-aaed-302cfe77fe45. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bcd005a2-8345-4043-ae71-c4dc6c19f380'] 2026-08-21 15:17:35,527 - WARNING - Deleting VN ctest-vn-15123844 failed..Will retry 2026-08-21 15:17:37,641 - DEBUG - Response for deleting network () 2026-08-21 15:17:37,641 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2c46cfd-fc0d-4996-8428-0f300c188298 2026-08-21 15:17:37,650 - DEBUG - Response Code: 404 2026-08-21 15:17:37,650 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 15:17:37,656 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea1cb62f-4c37-4e8c-8491-f74419af5219 2026-08-21 15:17:37,719 - DEBUG - Requesting: http://10.0.0.50:8082/project/7037643e-8c77-4357-8803-92c8d5bd4996 2026-08-21 15:17:37,794 - INFO - Validated that VN ctest-vn-15123844 is not found in API Server 2026-08-21 15:17:37,806 - DEBUG - VN ctest-vn-15123844 is not present in Agent 10.0.0.50 2026-08-21 15:17:37,806 - INFO - Validated that VN ctest-vn-15123844 is not in any agent 2026-08-21 15:17:37,822 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15123844 info 2026-08-21 15:17:37,822 - INFO - Deleting VN ctest-vn-87263499 2026-08-21 15:17:37,932 - DEBUG - Response for deleting network () 2026-08-21 15:17:37,932 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bf7b84b2-98ac-4781-905e-3ddbe58a6f53 2026-08-21 15:17:37,946 - DEBUG - Response Code: 404 2026-08-21 15:17:37,947 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 15:17:37,953 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ea1cb62f-4c37-4e8c-8491-f74419af5219 2026-08-21 15:17:38,006 - DEBUG - Requesting: http://10.0.0.50:8082/project/7037643e-8c77-4357-8803-92c8d5bd4996 2026-08-21 15:17:38,082 - INFO - Validated that VN ctest-vn-87263499 is not found in API Server 2026-08-21 15:17:38,093 - DEBUG - VN ctest-vn-87263499 is not present in Agent 10.0.0.50 2026-08-21 15:17:38,093 - INFO - Validated that VN ctest-vn-87263499 is not in any agent 2026-08-21 15:17:38,111 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87263499 info 2026-08-21 15:17:38,370 - DEBUG - No XMPP flaps were noticed during the test 2026-08-21 15:17:38,370 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05] 2026-08-21 15:17:38,370 - INFO - -------------------------------------------------------------------------------- 2026-08-21 15:17:39,176 - INFO - Deleted project: ctest-TestBasicPolicy-86932723, ID : 7037643e-8c77-4357-8803-92c8d5bd4996