2026-08-25 23:27:04,716 - INFO - Domain Default found not creating 2026-08-25 23:27:04,881 - INFO - Project ctest-TestBasicPolicy-88807424 not found, creating it 2026-08-25 23:27:05,384 - INFO - Created Project:ctest-TestBasicPolicy-88807424, ID : 9201b5f6-5627-4ada-8b33-ff765d8e7f6c 2026-08-25 23:27:07,039 - INFO - ================================================================================ 2026-08-25 23:27:07,039 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-25 23:27:07,039 - 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-25 23:27:07,324 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with 2026-08-25 23:27:07,324 - INFO - Initial checks done. Running the testcase now 2026-08-25 23:27:07,324 - INFO - 2026-08-25 23:27:07,948 - DEBUG - Response for create_network : {'network': {'id': '97857def-599e-4412-b0f1-eb0f9b02d785', 'name': 'ctest-vn-06991537', 'tenant_id': '9201b5f656274ada8b33ff765d8e7f6c', 'project_id': '9201b5f656274ada8b33ff765d8e7f6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88807424', 'ctest-vn-06991537'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 23:27:08,152 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4141c4b-9916-46e6-95b2-bad623c70e5e', 'name': '', 'tenant_id': '9201b5f656274ada8b33ff765d8e7f6c', 'network_id': '97857def-599e-4412-b0f1-eb0f9b02d785', 'ip_version': 4, 'cidr': '168.80.49.128/26', 'allocation_pools': [{'start': '168.80.49.130', 'end': '168.80.49.190'}], 'gateway_ip': '168.80.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.80.49.130', 'tags': [], 'project_id': '9201b5f656274ada8b33ff765d8e7f6c'}} 2026-08-25 23:27:08,172 - INFO - Created VN ctest-vn-06991537 2026-08-25 23:27:08,225 - DEBUG - VN ctest-vn-06991537 UUID is 97857def-599e-4412-b0f1-eb0f9b02d785 2026-08-25 23:27:08,567 - DEBUG - Response for create_network : {'network': {'id': '5833c9b4-045d-46e4-bdaf-3f0595557c96', 'name': 'ctest-vn-22613139', 'tenant_id': '9201b5f656274ada8b33ff765d8e7f6c', 'project_id': '9201b5f656274ada8b33ff765d8e7f6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88807424', 'ctest-vn-22613139'], 'port_security_enabled': True, 'description': ''}} 2026-08-25 23:27:08,808 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b64953c-f833-4fa7-9346-41843be05eb1', 'name': '', 'tenant_id': '9201b5f656274ada8b33ff765d8e7f6c', 'network_id': '5833c9b4-045d-46e4-bdaf-3f0595557c96', 'ip_version': 4, 'cidr': '92.189.62.192/26', 'allocation_pools': [{'start': '92.189.62.194', 'end': '92.189.62.254'}], 'gateway_ip': '92.189.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.189.62.194', 'tags': [], 'project_id': '9201b5f656274ada8b33ff765d8e7f6c'}} 2026-08-25 23:27:08,827 - INFO - Created VN ctest-vn-22613139 2026-08-25 23:27:08,881 - DEBUG - VN ctest-vn-22613139 UUID is 5833c9b4-045d-46e4-bdaf-3f0595557c96 2026-08-25 23:27:09,006 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-06991537, 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-88807424:ctest-vn-22613139, 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-25 23:27:09,341 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97857def-599e-4412-b0f1-eb0f9b02d785', 'name': 'ctest-vn-06991537', 'tenant_id': '9201b5f656274ada8b33ff765d8e7f6c', 'project_id': '9201b5f656274ada8b33ff765d8e7f6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c4141c4b-9916-46e6-95b2-bad623c70e5e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88807424', 'ctest-vn-06991537'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88807424', 'ctest-policy-allow-all-70325666']], 'subnet_ipam': [{'subnet_cidr': '168.80.49.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 23:27:09,595 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5833c9b4-045d-46e4-bdaf-3f0595557c96', 'name': 'ctest-vn-22613139', 'tenant_id': '9201b5f656274ada8b33ff765d8e7f6c', 'project_id': '9201b5f656274ada8b33ff765d8e7f6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2b64953c-f833-4fa7-9346-41843be05eb1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88807424', 'ctest-vn-22613139'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88807424', 'ctest-policy-allow-all-70325666']], 'subnet_ipam': [{'subnet_cidr': '92.189.62.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-25 23:27:09,765 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-25 23:27:10,100 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-25 23:27:10,136 - DEBUG - Requesting: http://10.0.0.189:8082/domain/91e51faf-2991-4b58-94f1-05e8a4498d06 2026-08-25 23:27:10,152 - DEBUG - Requesting: http://10.0.0.189:8082/project/9201b5f6-5627-4ada-8b33-ff765d8e7f6c 2026-08-25 23:27:10,236 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97857def-599e-4412-b0f1-eb0f9b02d785 2026-08-25 23:27:10,251 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97857def-599e-4412-b0f1-eb0f9b02d785 2026-08-25 23:27:10,268 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/db57a41a-ae5e-4289-bb9f-aedecd812601 2026-08-25 23:27:10,278 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/db57a41a-ae5e-4289-bb9f-aedecd812601 2026-08-25 23:27:10,287 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/3fe80732-0ad7-4681-816c-513f7307433d 2026-08-25 23:27:10,296 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-25 23:27:10,297 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97857def-599e-4412-b0f1-eb0f9b02d785 2026-08-25 23:27:10,310 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/db57a41a-ae5e-4289-bb9f-aedecd812601 2026-08-25 23:27:10,330 - INFO - Verified VN network id 11 for VN 97857def-599e-4412-b0f1-eb0f9b02d785 2026-08-25 23:27:10,330 - INFO - Verifications in API Server for VN ctest-vn-06991537 passed 2026-08-25 23:27:10,330 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97857def-599e-4412-b0f1-eb0f9b02d785 2026-08-25 23:27:10,343 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/db57a41a-ae5e-4289-bb9f-aedecd812601 2026-08-25 23:27:10,353 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/db57a41a-ae5e-4289-bb9f-aedecd812601 2026-08-25 23:27:10,366 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/3fe80732-0ad7-4681-816c-513f7307433d 2026-08-25 23:27:10,384 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-06991537', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88807424', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10918271338583835666', 'uuid-lslong': '12750230472320276357'}, 'enable': 'true', 'created': '2026-08-25T23:27:07', 'last-modified': '2026-08-25T23:27:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.069166'} 2026-08-25 23:27:10,392 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-25 23:27:10,392 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06991537 passed 2026-08-25 23:27:10,392 - DEBUG - ====Verifying policy data for ctest-vn-06991537 in API_Server ====== 2026-08-25 23:27:10,392 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-25 23:27:10,400 - DEBUG - Requesting: http://10.0.0.189:8082/domain/91e51faf-2991-4b58-94f1-05e8a4498d06 2026-08-25 23:27:10,412 - DEBUG - Requesting: http://10.0.0.189:8082/project/9201b5f6-5627-4ada-8b33-ff765d8e7f6c 2026-08-25 23:27:10,492 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/97857def-599e-4412-b0f1-eb0f9b02d785 2026-08-25 23:27:10,503 - DEBUG - ==>Verifying data for policy with id: 3d483f93-cb06-4d30-8661-0fa8d1fb805b, fqn: ['default-domain', 'ctest-TestBasicPolicy-88807424', 'ctest-policy-allow-all-70325666'] 2026-08-25 23:27:10,503 - INFO - VN ctest-vn-06991537 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 23:27:10,503 - DEBUG - Verifying the vn in opserver 2026-08-25 23:27:10,503 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-06991537 virtual network link through opserver 10.0.0.189 2026-08-25 23:27:10,503 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-08-25 23:27:10,837 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-08-25 23:27:10,895 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-06991537', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-06991537?flat'} 2026-08-25 23:27:10,895 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-06991537 is found in opserver 2026-08-25 23:27:10,908 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 23:27:10,914 - DEBUG - VRF ids for VN ctest-vn-06991537: {} 2026-08-25 23:27:10,914 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-25 23:27:10,920 - DEBUG - Requesting: http://10.0.0.189:8082/domain/91e51faf-2991-4b58-94f1-05e8a4498d06 2026-08-25 23:27:10,931 - DEBUG - Requesting: http://10.0.0.189:8082/project/9201b5f6-5627-4ada-8b33-ff765d8e7f6c 2026-08-25 23:27:11,010 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5833c9b4-045d-46e4-bdaf-3f0595557c96 2026-08-25 23:27:11,027 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5833c9b4-045d-46e4-bdaf-3f0595557c96 2026-08-25 23:27:11,039 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/324b9a8b-57a0-4b99-a07d-65f97bb3768f 2026-08-25 23:27:11,048 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/324b9a8b-57a0-4b99-a07d-65f97bb3768f 2026-08-25 23:27:11,056 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/978c7069-153b-4f72-87fb-b61f5b81ef60 2026-08-25 23:27:11,064 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 23:27:11,064 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5833c9b4-045d-46e4-bdaf-3f0595557c96 2026-08-25 23:27:11,075 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/324b9a8b-57a0-4b99-a07d-65f97bb3768f 2026-08-25 23:27:11,092 - INFO - Verified VN network id 12 for VN 5833c9b4-045d-46e4-bdaf-3f0595557c96 2026-08-25 23:27:11,092 - INFO - Verifications in API Server for VN ctest-vn-22613139 passed 2026-08-25 23:27:11,092 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5833c9b4-045d-46e4-bdaf-3f0595557c96 2026-08-25 23:27:11,103 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/324b9a8b-57a0-4b99-a07d-65f97bb3768f 2026-08-25 23:27:11,114 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/324b9a8b-57a0-4b99-a07d-65f97bb3768f 2026-08-25 23:27:11,122 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/978c7069-153b-4f72-87fb-b61f5b81ef60 2026-08-25 23:27:11,136 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-22613139', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88807424', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6355645274154419940', 'uuid-lslong': '13668212687305538710'}, 'enable': 'true', 'created': '2026-08-25T23:27:08', 'last-modified': '2026-08-25T23:27:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.567294'} 2026-08-25 23:27:11,143 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-25 23:27:11,143 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22613139 passed 2026-08-25 23:27:11,143 - DEBUG - ====Verifying policy data for ctest-vn-22613139 in API_Server ====== 2026-08-25 23:27:11,143 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-25 23:27:11,150 - DEBUG - Requesting: http://10.0.0.189:8082/domain/91e51faf-2991-4b58-94f1-05e8a4498d06 2026-08-25 23:27:11,162 - DEBUG - Requesting: http://10.0.0.189:8082/project/9201b5f6-5627-4ada-8b33-ff765d8e7f6c 2026-08-25 23:27:11,238 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5833c9b4-045d-46e4-bdaf-3f0595557c96 2026-08-25 23:27:11,248 - DEBUG - ==>Verifying data for policy with id: 3d483f93-cb06-4d30-8661-0fa8d1fb805b, fqn: ['default-domain', 'ctest-TestBasicPolicy-88807424', 'ctest-policy-allow-all-70325666'] 2026-08-25 23:27:11,248 - INFO - VN ctest-vn-22613139 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-25 23:27:11,248 - DEBUG - Verifying the vn in opserver 2026-08-25 23:27:11,249 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-22613139 virtual network link through opserver 10.0.0.189 2026-08-25 23:27:11,249 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-08-25 23:27:11,259 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-22613139', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-22613139?flat'} 2026-08-25 23:27:11,259 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-22613139 is found in opserver 2026-08-25 23:27:11,271 - DEBUG - Do not have enough data to verify VN in agent 2026-08-25 23:27:11,277 - DEBUG - VRF ids for VN ctest-vn-22613139: {} 2026-08-25 23:27:11,343 - DEBUG - Services list from nova: [, , ] 2026-08-25 23:27:11,784 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6229-1) 2026-08-25 23:27:12,215 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6229-1) 2026-08-25 23:27:12,215 - INFO - Waiting for VM ctest-TestBasicPolicy-88807424-71524217 to be up.. 2026-08-25 23:27:12,256 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:27:17,348 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:27:22,440 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:27:27,520 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:27:32,610 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:27:37,691 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:27:42,783 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:27:47,874 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-25 23:27:52,958 - DEBUG - VM is in ACTIVE state now 2026-08-25 23:27:52,959 - INFO - VM name : ctest-TestBasicPolicy-88807424-71524217 2026-08-25 23:27:53,048 - DEBUG - VM ctest-TestBasicPolicy-88807424-71524217 ID is 6c0290b6-9c9a-4333-92a2-f5e58ab3c88f 2026-08-25 23:27:53,070 - DEBUG - VM ctest-TestBasicPolicy-88807424-71524217 launched on Node cn-jenkins-deploy-platform-ansible-os-6229-1 2026-08-25 23:27:53,166 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/6c0290b6-9c9a-4333-92a2-f5e58ab3c88f 2026-08-25 23:27:53,176 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/a5695cb0-0914-4cac-827d-3f23b53457a8 2026-08-25 23:27:56,438 - 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=4.38 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 4.376/4.376/4.376/0.000 ms') 2026-08-25 23:27:56,438 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88807424-71524217 passed 2026-08-25 23:27:56,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 23:27:56,590 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88807424-71524217, IP 168.80.49.131, Port 22 2026-08-25 23:27:56,756 - DEBUG - VM ctest-TestBasicPolicy-88807424-71524217 is ready for SSH connections 2026-08-25 23:27:56,756 - INFO - Waiting for VM ctest-TestBasicPolicy-88807424-76112254 to be up.. 2026-08-25 23:27:56,842 - DEBUG - VM is in ACTIVE state now 2026-08-25 23:27:56,842 - INFO - VM name : ctest-TestBasicPolicy-88807424-76112254 2026-08-25 23:27:56,923 - DEBUG - VM ctest-TestBasicPolicy-88807424-76112254 ID is 051dee76-e2ac-41d0-aeaf-0e8270edd073 2026-08-25 23:27:56,923 - DEBUG - VM ctest-TestBasicPolicy-88807424-76112254 launched on Node cn-jenkins-deploy-platform-ansible-os-6229-1 2026-08-25 23:27:57,008 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/051dee76-e2ac-41d0-aeaf-0e8270edd073 2026-08-25 23:27:57,019 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/b2309a83-1997-4181-a26f-a7ba88129ede 2026-08-25 23:28:00,282 - 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 1010ms') 2026-08-25 23:28:00,282 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88807424-76112254 failed! 2026-08-25 23:28:00,337 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88807424:ctest-vn-22613139 is 92.189.62.193 and allocation pool is NOT set 2026-08-25 23:28:02,400 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.526 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.526/1.991/3.457/1.465 ms') 2026-08-25 23:28:02,400 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88807424-76112254 passed 2026-08-25 23:28:02,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 23:28:02,554 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88807424-76112254, IP 92.189.62.195, Port 22 2026-08-25 23:28:02,709 - DEBUG - VM ctest-TestBasicPolicy-88807424-76112254 is ready for SSH connections 2026-08-25 23:28:02,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 23:28:02,710 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.189.62.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-08-25 23:28:02,710 - DEBUG - ping -s 56 -c 3 -W 1 92.189.62.195 2026-08-25 23:28:06,751 - DEBUG - PING 92.189.62.195 (92.189.62.195): 56 data bytes 64 bytes from 92.189.62.195: seq=0 ttl=63 time=4.659 ms 64 bytes from 92.189.62.195: seq=1 ttl=63 time=1.350 ms 64 bytes from 92.189.62.195: seq=2 ttl=63 time=1.271 ms --- 92.189.62.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.271/2.426/4.659 ms 2026-08-25 23:28:06,751 - INFO - Ping to IP 92.189.62.195 from VM ctest-TestBasicPolicy-88807424-71524217 passed 2026-08-25 23:28:06,953 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3d483f93-cb06-4d30-8661-0fa8d1fb805b", "href": "http://10.0.0.189:8082/network-policy/3d483f93-cb06-4d30-8661-0fa8d1fb805b"}} 2026-08-25 23:28:06,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-25 23:28:06,953 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.189.62.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-08-25 23:28:06,953 - DEBUG - ping -s 56 -c 3 -W 1 92.189.62.195 2026-08-25 23:28:10,193 - DEBUG - PING 92.189.62.195 (92.189.62.195): 56 data bytes 64 bytes from 92.189.62.195: seq=0 ttl=63 time=2.252 ms --- 92.189.62.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.252/2.252/2.252 ms 2026-08-25 23:28:10,193 - WARNING - Ping to IP 92.189.62.195 from VM ctest-TestBasicPolicy-88807424-71524217 failed 2026-08-25 23:28:10,193 - INFO - Deleting VM ctest-TestBasicPolicy-88807424-76112254 2026-08-25 23:28:10,286 - INFO - Deleting VM ctest-TestBasicPolicy-88807424-71524217 2026-08-25 23:28:10,721 - INFO - Deleted policy ctest-policy-allow-all-70325666 2026-08-25 23:28:10,722 - INFO - Deleting VN ctest-vn-22613139 2026-08-25 23:28:10,755 - DEBUG - VN 5833c9b4-045d-46e4-bdaf-3f0595557c96 still in use: Unable to complete operation on network 5833c9b4-045d-46e4-bdaf-3f0595557c96. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4960e258-c7eb-4d7f-8927-ec73d4c0ce35'] 2026-08-25 23:28:10,755 - WARNING - Deleting VN ctest-vn-22613139 failed..Will retry 2026-08-25 23:28:12,873 - DEBUG - Response for deleting network () 2026-08-25 23:28:12,873 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/324b9a8b-57a0-4b99-a07d-65f97bb3768f 2026-08-25 23:28:12,881 - DEBUG - Response Code: 404 2026-08-25 23:28:12,881 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-25 23:28:12,887 - DEBUG - Requesting: http://10.0.0.189:8082/domain/91e51faf-2991-4b58-94f1-05e8a4498d06 2026-08-25 23:28:12,944 - DEBUG - Requesting: http://10.0.0.189:8082/project/9201b5f6-5627-4ada-8b33-ff765d8e7f6c 2026-08-25 23:28:13,026 - INFO - Validated that VN ctest-vn-22613139 is not found in API Server 2026-08-25 23:28:13,038 - DEBUG - VN ctest-vn-22613139 is not present in Agent 10.0.0.189 2026-08-25 23:28:13,038 - INFO - Validated that VN ctest-vn-22613139 is not in any agent 2026-08-25 23:28:13,059 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22613139 info 2026-08-25 23:28:13,060 - INFO - Deleting VN ctest-vn-06991537 2026-08-25 23:28:13,186 - DEBUG - Response for deleting network () 2026-08-25 23:28:13,186 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/db57a41a-ae5e-4289-bb9f-aedecd812601 2026-08-25 23:28:13,192 - DEBUG - Response Code: 404 2026-08-25 23:28:13,192 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-25 23:28:13,198 - DEBUG - Requesting: http://10.0.0.189:8082/domain/91e51faf-2991-4b58-94f1-05e8a4498d06 2026-08-25 23:28:13,251 - DEBUG - Requesting: http://10.0.0.189:8082/project/9201b5f6-5627-4ada-8b33-ff765d8e7f6c 2026-08-25 23:28:13,325 - INFO - Validated that VN ctest-vn-06991537 is not found in API Server 2026-08-25 23:28:13,335 - DEBUG - VN ctest-vn-06991537 is not present in Agent 10.0.0.189 2026-08-25 23:28:13,335 - INFO - Validated that VN ctest-vn-06991537 is not in any agent 2026-08-25 23:28:13,353 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06991537 info 2026-08-25 23:28:13,618 - DEBUG - No XMPP flaps were noticed during the test
2026-08-25 23:28:13,618 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:06]
2026-08-25 23:28:13,618 - INFO - -------------------------------------------------------------------------------- 2026-08-25 23:28:14,379 - INFO - Deleted project: ctest-TestBasicPolicy-88807424, ID : 9201b5f6-5627-4ada-8b33-ff765d8e7f6c