2026-11-04 10:12:13,319 - INFO - Domain Default found not creating 2026-11-04 10:12:13,461 - INFO - Project ctest-TestBasicPolicy-38003054 not found, creating it 2026-11-04 10:12:13,897 - INFO - Created Project:ctest-TestBasicPolicy-38003054, ID : 547f4691-8a13-4ab0-8610-ba12db9f62f5 2026-11-04 10:12:15,331 - INFO - ================================================================================ 2026-11-04 10:12:15,332 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-04 10:12:15,332 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-11-04 10:12:15,585 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with 2026-11-04 10:12:15,585 - INFO - Initial checks done. Running the testcase now 2026-11-04 10:12:15,585 - INFO - 2026-11-04 10:12:16,120 - DEBUG - Response for create_network : {'network': {'id': 'b5cee07e-4356-45c1-b866-f5d303ce8a1f', 'name': 'ctest-vn-91394274', 'tenant_id': '547f46918a134ab08610ba12db9f62f5', 'project_id': '547f46918a134ab08610ba12db9f62f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38003054', 'ctest-vn-91394274'], 'port_security_enabled': True, 'description': ''}} 2026-11-04 10:12:16,323 - DEBUG - Response for create_subnet : {'subnet': {'id': '621396d8-74fa-4014-b6ba-e0e3f802f3eb', 'name': '', 'tenant_id': '547f46918a134ab08610ba12db9f62f5', 'network_id': 'b5cee07e-4356-45c1-b866-f5d303ce8a1f', 'ip_version': 4, 'cidr': '85.193.221.128/26', 'allocation_pools': [{'start': '85.193.221.130', 'end': '85.193.221.190'}], 'gateway_ip': '85.193.221.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.193.221.130', 'tags': [], 'project_id': '547f46918a134ab08610ba12db9f62f5'}} 2026-11-04 10:12:16,335 - INFO - Created VN ctest-vn-91394274 2026-11-04 10:12:16,388 - DEBUG - VN ctest-vn-91394274 UUID is b5cee07e-4356-45c1-b866-f5d303ce8a1f 2026-11-04 10:12:16,685 - DEBUG - Response for create_network : {'network': {'id': '88b5ce3e-1fed-4079-a159-dde55293a645', 'name': 'ctest-vn-50092688', 'tenant_id': '547f46918a134ab08610ba12db9f62f5', 'project_id': '547f46918a134ab08610ba12db9f62f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38003054', 'ctest-vn-50092688'], 'port_security_enabled': True, 'description': ''}} 2026-11-04 10:12:16,859 - DEBUG - Response for create_subnet : {'subnet': {'id': '008890df-4b1a-438a-86b9-0dade8e74216', 'name': '', 'tenant_id': '547f46918a134ab08610ba12db9f62f5', 'network_id': '88b5ce3e-1fed-4079-a159-dde55293a645', 'ip_version': 4, 'cidr': '112.18.200.64/26', 'allocation_pools': [{'start': '112.18.200.66', 'end': '112.18.200.126'}], 'gateway_ip': '112.18.200.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.18.200.66', 'tags': [], 'project_id': '547f46918a134ab08610ba12db9f62f5'}} 2026-11-04 10:12:16,871 - INFO - Created VN ctest-vn-50092688 2026-11-04 10:12:16,920 - DEBUG - VN ctest-vn-50092688 UUID is 88b5ce3e-1fed-4079-a159-dde55293a645 2026-11-04 10:12:17,056 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-91394274, 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-38003054:ctest-vn-50092688, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-11-04 10:12:17,346 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b5cee07e-4356-45c1-b866-f5d303ce8a1f', 'name': 'ctest-vn-91394274', 'tenant_id': '547f46918a134ab08610ba12db9f62f5', 'project_id': '547f46918a134ab08610ba12db9f62f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['621396d8-74fa-4014-b6ba-e0e3f802f3eb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38003054', 'ctest-vn-91394274'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38003054', 'ctest-policy-allow-all-22919590']], 'subnet_ipam': [{'subnet_cidr': '85.193.221.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-04 10:12:17,564 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '88b5ce3e-1fed-4079-a159-dde55293a645', 'name': 'ctest-vn-50092688', 'tenant_id': '547f46918a134ab08610ba12db9f62f5', 'project_id': '547f46918a134ab08610ba12db9f62f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['008890df-4b1a-438a-86b9-0dade8e74216'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38003054', 'ctest-vn-50092688'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38003054', 'ctest-policy-allow-all-22919590']], 'subnet_ipam': [{'subnet_cidr': '112.18.200.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-04 10:12:17,732 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-04 10:12:18,049 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-04 10:12:18,072 - DEBUG - Requesting: http://10.0.0.185:8082/domain/5972d707-fe83-49e7-9281-6c5874d144db 2026-11-04 10:12:18,082 - DEBUG - Requesting: http://10.0.0.185:8082/project/547f4691-8a13-4ab0-8610-ba12db9f62f5 2026-11-04 10:12:18,149 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b5cee07e-4356-45c1-b866-f5d303ce8a1f 2026-11-04 10:12:18,159 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b5cee07e-4356-45c1-b866-f5d303ce8a1f 2026-11-04 10:12:18,166 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/e349f051-0802-44ee-8b0a-e7350f627024 2026-11-04 10:12:18,172 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/e349f051-0802-44ee-8b0a-e7350f627024 2026-11-04 10:12:18,177 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/11eadd12-8849-46cb-afa3-2bbaaac99606 2026-11-04 10:12:18,182 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-04 10:12:18,182 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b5cee07e-4356-45c1-b866-f5d303ce8a1f 2026-11-04 10:12:18,189 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/e349f051-0802-44ee-8b0a-e7350f627024 2026-11-04 10:12:18,200 - INFO - Verified VN network id 10 for VN b5cee07e-4356-45c1-b866-f5d303ce8a1f 2026-11-04 10:12:18,200 - INFO - Verifications in API Server for VN ctest-vn-91394274 passed 2026-11-04 10:12:18,200 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b5cee07e-4356-45c1-b866-f5d303ce8a1f 2026-11-04 10:12:18,206 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/e349f051-0802-44ee-8b0a-e7350f627024 2026-11-04 10:12:18,211 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/e349f051-0802-44ee-8b0a-e7350f627024 2026-11-04 10:12:18,224 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/11eadd12-8849-46cb-afa3-2bbaaac99606 2026-11-04 10:12:18,233 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-91394274', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38003054', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13100655198967580097', 'uuid-lslong': '13287578037253999135'}, 'enable': 'true', 'created': '2026-11-04T10:12:16', 'last-modified': '2026-11-04T10:12:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.918336'} 2026-11-04 10:12:18,239 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-04 10:12:18,239 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91394274 passed 2026-11-04 10:12:18,239 - DEBUG - ====Verifying policy data for ctest-vn-91394274 in API_Server ====== 2026-11-04 10:12:18,239 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-04 10:12:18,243 - DEBUG - Requesting: http://10.0.0.185:8082/domain/5972d707-fe83-49e7-9281-6c5874d144db 2026-11-04 10:12:18,251 - DEBUG - Requesting: http://10.0.0.185:8082/project/547f4691-8a13-4ab0-8610-ba12db9f62f5 2026-11-04 10:12:18,319 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b5cee07e-4356-45c1-b866-f5d303ce8a1f 2026-11-04 10:12:18,327 - DEBUG - ==>Verifying data for policy with id: 2edc1389-0bc3-4322-a317-e53745be0384, fqn: ['default-domain', 'ctest-TestBasicPolicy-38003054', 'ctest-policy-allow-all-22919590'] 2026-11-04 10:12:18,327 - INFO - VN ctest-vn-91394274 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-04 10:12:18,327 - DEBUG - Verifying the vn in opserver 2026-11-04 10:12:18,327 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-91394274 virtual network link through opserver 10.0.0.185 2026-11-04 10:12:18,327 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-11-04 10:12:18,641 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-11-04 10:12:18,685 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-91394274', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-91394274?flat'} 2026-11-04 10:12:18,685 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-91394274 is found in opserver 2026-11-04 10:12:18,693 - DEBUG - Do not have enough data to verify VN in agent 2026-11-04 10:12:18,697 - DEBUG - VRF ids for VN ctest-vn-91394274: {} 2026-11-04 10:12:18,697 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-04 10:12:18,701 - DEBUG - Requesting: http://10.0.0.185:8082/domain/5972d707-fe83-49e7-9281-6c5874d144db 2026-11-04 10:12:18,713 - DEBUG - Requesting: http://10.0.0.185:8082/project/547f4691-8a13-4ab0-8610-ba12db9f62f5 2026-11-04 10:12:18,780 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/88b5ce3e-1fed-4079-a159-dde55293a645 2026-11-04 10:12:18,790 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/88b5ce3e-1fed-4079-a159-dde55293a645 2026-11-04 10:12:18,798 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/ce463146-42cf-439a-8326-2921f715df24 2026-11-04 10:12:18,804 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/ce463146-42cf-439a-8326-2921f715df24 2026-11-04 10:12:18,809 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/8cc6606b-cca8-4403-bd01-03beced08b91 2026-11-04 10:12:18,814 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-04 10:12:18,814 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/88b5ce3e-1fed-4079-a159-dde55293a645 2026-11-04 10:12:18,821 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/ce463146-42cf-439a-8326-2921f715df24 2026-11-04 10:12:18,830 - INFO - Verified VN network id 11 for VN 88b5ce3e-1fed-4079-a159-dde55293a645 2026-11-04 10:12:18,830 - INFO - Verifications in API Server for VN ctest-vn-50092688 passed 2026-11-04 10:12:18,830 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/88b5ce3e-1fed-4079-a159-dde55293a645 2026-11-04 10:12:18,838 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/ce463146-42cf-439a-8326-2921f715df24 2026-11-04 10:12:18,842 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/ce463146-42cf-439a-8326-2921f715df24 2026-11-04 10:12:18,848 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/8cc6606b-cca8-4403-bd01-03beced08b91 2026-11-04 10:12:18,858 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-50092688', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38003054', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9851006526161764473', 'uuid-lslong': '11626567890036303429'}, 'enable': 'true', 'created': '2026-11-04T10:12:16', 'last-modified': '2026-11-04T10:12:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.315712'} 2026-11-04 10:12:18,863 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-04 10:12:18,863 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50092688 passed 2026-11-04 10:12:18,864 - DEBUG - ====Verifying policy data for ctest-vn-50092688 in API_Server ====== 2026-11-04 10:12:18,864 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-04 10:12:18,868 - DEBUG - Requesting: http://10.0.0.185:8082/domain/5972d707-fe83-49e7-9281-6c5874d144db 2026-11-04 10:12:18,877 - DEBUG - Requesting: http://10.0.0.185:8082/project/547f4691-8a13-4ab0-8610-ba12db9f62f5 2026-11-04 10:12:18,951 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/88b5ce3e-1fed-4079-a159-dde55293a645 2026-11-04 10:12:18,959 - DEBUG - ==>Verifying data for policy with id: 2edc1389-0bc3-4322-a317-e53745be0384, fqn: ['default-domain', 'ctest-TestBasicPolicy-38003054', 'ctest-policy-allow-all-22919590'] 2026-11-04 10:12:18,959 - INFO - VN ctest-vn-50092688 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-04 10:12:18,959 - DEBUG - Verifying the vn in opserver 2026-11-04 10:12:18,959 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-50092688 virtual network link through opserver 10.0.0.185 2026-11-04 10:12:18,959 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-11-04 10:12:18,968 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-50092688', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-50092688?flat'} 2026-11-04 10:12:18,968 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-50092688 is found in opserver 2026-11-04 10:12:18,977 - DEBUG - Do not have enough data to verify VN in agent 2026-11-04 10:12:18,981 - DEBUG - VRF ids for VN ctest-vn-50092688: {} 2026-11-04 10:12:19,028 - DEBUG - Services list from nova: [, , ] 2026-11-04 10:12:19,383 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6479-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6479-1) 2026-11-04 10:12:19,715 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6479-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6479-1) 2026-11-04 10:12:19,716 - INFO - Waiting for VM ctest-TestBasicPolicy-38003054-76558455 to be up.. 2026-11-04 10:12:19,749 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:12:24,807 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:12:29,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:12:34,937 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:12:40,009 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:12:45,074 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:12:50,139 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:12:55,201 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 10:13:00,263 - DEBUG - VM is in ACTIVE state now 2026-11-04 10:13:00,263 - INFO - VM name : ctest-TestBasicPolicy-38003054-76558455 2026-11-04 10:13:00,330 - DEBUG - VM ctest-TestBasicPolicy-38003054-76558455 ID is 25ec737f-19b1-4016-81e4-5dcf3a8d67f1 2026-11-04 10:13:00,348 - DEBUG - VM ctest-TestBasicPolicy-38003054-76558455 launched on Node cn-jenkins-deploy-platform-ansible-os-6479-1 2026-11-04 10:13:00,408 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/25ec737f-19b1-4016-81e4-5dcf3a8d67f1 2026-11-04 10:13:00,416 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/35ec46a7-ec46-4c62-8dc1-bfc1abc0ed6a 2026-11-04 10:13:03,653 - 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 1006ms') 2026-11-04 10:13:03,654 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38003054-76558455 failed! 2026-11-04 10:13:03,712 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-91394274 is 85.193.221.129 and allocation pool is NOT set 2026-11-04 10:13:05,770 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.386 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.386/1.799/3.212/1.413 ms') 2026-11-04 10:13:05,770 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38003054-76558455 passed 2026-11-04 10:13:05,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:13:05,920 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38003054-76558455, IP 85.193.221.131, Port 22 2026-11-04 10:13:06,089 - DEBUG - VM ctest-TestBasicPolicy-38003054-76558455 is ready for SSH connections 2026-11-04 10:13:06,089 - INFO - Waiting for VM ctest-TestBasicPolicy-38003054-26382387 to be up.. 2026-11-04 10:13:06,169 - DEBUG - VM is in ACTIVE state now 2026-11-04 10:13:06,169 - INFO - VM name : ctest-TestBasicPolicy-38003054-26382387 2026-11-04 10:13:06,229 - DEBUG - VM ctest-TestBasicPolicy-38003054-26382387 ID is 526f02a5-e4f8-44f6-a2e7-31e110208f08 2026-11-04 10:13:06,229 - DEBUG - VM ctest-TestBasicPolicy-38003054-26382387 launched on Node cn-jenkins-deploy-platform-ansible-os-6479-1 2026-11-04 10:13:06,286 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/526f02a5-e4f8-44f6-a2e7-31e110208f08 2026-11-04 10:13:06,292 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/b17fa13a-06cc-4bc7-9abf-a77c6c5e7fb1 2026-11-04 10:13:07,518 - 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=2.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/1.310/2.198/0.888 ms') 2026-11-04 10:13:07,518 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38003054-26382387 passed 2026-11-04 10:13:07,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:13:07,664 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38003054-26382387, IP 112.18.200.67, Port 22 2026-11-04 10:13:07,815 - DEBUG - VM ctest-TestBasicPolicy-38003054-26382387 is ready for SSH connections 2026-11-04 10:13:07,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:13:07,815 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.18.200.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-11-04 10:13:07,815 - DEBUG - ping -s 56 -c 3 -W 1 112.18.200.67 2026-11-04 10:13:11,650 - DEBUG - PING 112.18.200.67 (112.18.200.67): 56 data bytes 64 bytes from 112.18.200.67: seq=0 ttl=63 time=5.238 ms 64 bytes from 112.18.200.67: seq=1 ttl=63 time=0.982 ms 64 bytes from 112.18.200.67: seq=2 ttl=63 time=0.813 ms --- 112.18.200.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/2.344/5.238 ms 2026-11-04 10:13:11,650 - INFO - Ping to IP 112.18.200.67 from VM ctest-TestBasicPolicy-38003054-76558455 passed 2026-11-04 10:13:11,823 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2edc1389-0bc3-4322-a317-e53745be0384", "href": "http://10.0.0.185:8082/network-policy/2edc1389-0bc3-4322-a317-e53745be0384"}} 2026-11-04 10:13:11,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 10:13:11,824 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.18.200.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-11-04 10:13:11,824 - DEBUG - ping -s 56 -c 3 -W 1 112.18.200.67 2026-11-04 10:13:14,945 - DEBUG - PING 112.18.200.67 (112.18.200.67): 56 data bytes 64 bytes from 112.18.200.67: seq=0 ttl=63 time=1.288 ms --- 112.18.200.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.288/1.288/1.288 ms 2026-11-04 10:13:14,945 - WARNING - Ping to IP 112.18.200.67 from VM ctest-TestBasicPolicy-38003054-76558455 failed 2026-11-04 10:13:14,945 - INFO - Deleting VM ctest-TestBasicPolicy-38003054-26382387 2026-11-04 10:13:15,004 - INFO - Deleting VM ctest-TestBasicPolicy-38003054-76558455 2026-11-04 10:13:15,299 - INFO - Deleted policy ctest-policy-allow-all-22919590 2026-11-04 10:13:15,299 - INFO - Deleting VN ctest-vn-50092688 2026-11-04 10:13:15,325 - DEBUG - VN 88b5ce3e-1fed-4079-a159-dde55293a645 still in use: Unable to complete operation on network 88b5ce3e-1fed-4079-a159-dde55293a645. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a4198010-0486-4c22-b64a-56d2713dbe22'] 2026-11-04 10:13:15,325 - WARNING - Deleting VN ctest-vn-50092688 failed..Will retry 2026-11-04 10:13:17,353 - DEBUG - VN 88b5ce3e-1fed-4079-a159-dde55293a645 still in use: Unable to complete operation on network 88b5ce3e-1fed-4079-a159-dde55293a645. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6cab8306-bd42-4913-98fc-f33bc5cd27dc'] 2026-11-04 10:13:17,353 - WARNING - Deleting VN ctest-vn-50092688 failed..Will retry 2026-11-04 10:13:19,443 - DEBUG - Response for deleting network () 2026-11-04 10:13:19,443 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/ce463146-42cf-439a-8326-2921f715df24 2026-11-04 10:13:19,447 - DEBUG - Response Code: 404 2026-11-04 10:13:19,447 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-04 10:13:19,451 - DEBUG - Requesting: http://10.0.0.185:8082/domain/5972d707-fe83-49e7-9281-6c5874d144db 2026-11-04 10:13:19,501 - DEBUG - Requesting: http://10.0.0.185:8082/project/547f4691-8a13-4ab0-8610-ba12db9f62f5 2026-11-04 10:13:19,569 - INFO - Validated that VN ctest-vn-50092688 is not found in API Server 2026-11-04 10:13:19,577 - DEBUG - VN ctest-vn-50092688 is not present in Agent 10.0.0.185 2026-11-04 10:13:19,577 - INFO - Validated that VN ctest-vn-50092688 is not in any agent 2026-11-04 10:13:19,590 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50092688 info 2026-11-04 10:13:19,591 - INFO - Deleting VN ctest-vn-91394274 2026-11-04 10:13:19,685 - DEBUG - Response for deleting network () 2026-11-04 10:13:19,686 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/e349f051-0802-44ee-8b0a-e7350f627024 2026-11-04 10:13:19,690 - DEBUG - Response Code: 404 2026-11-04 10:13:19,690 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-04 10:13:19,693 - DEBUG - Requesting: http://10.0.0.185:8082/domain/5972d707-fe83-49e7-9281-6c5874d144db 2026-11-04 10:13:19,745 - DEBUG - Requesting: http://10.0.0.185:8082/project/547f4691-8a13-4ab0-8610-ba12db9f62f5 2026-11-04 10:13:19,814 - INFO - Validated that VN ctest-vn-91394274 is not found in API Server 2026-11-04 10:13:19,822 - DEBUG - VN ctest-vn-91394274 is not present in Agent 10.0.0.185 2026-11-04 10:13:19,823 - INFO - Validated that VN ctest-vn-91394274 is not in any agent 2026-11-04 10:13:19,836 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91394274 info 2026-11-04 10:13:20,088 - DEBUG - No XMPP flaps were noticed during the test
2026-11-04 10:13:20,088 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05]
2026-11-04 10:13:20,088 - INFO - -------------------------------------------------------------------------------- 2026-11-04 10:13:20,784 - INFO - Deleted project: ctest-TestBasicPolicy-38003054, ID : 547f4691-8a13-4ab0-8610-ba12db9f62f5