2025-11-12 18:12:20,362 - INFO - Domain Default found not creating 2025-11-12 18:12:20,521 - INFO - Project ctest-TestBasicPolicy-35222768 not found, creating it 2025-11-12 18:12:20,988 - INFO - Created Project:ctest-TestBasicPolicy-35222768, ID : 7b7e579f-9145-4c0e-87e6-516783082a31 2025-11-12 18:12:22,535 - INFO - ================================================================================ 2025-11-12 18:12:22,535 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-12 18:12:22,535 - 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 2025-11-12 18:12:22,796 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-11-12 18:12:22,796 - INFO - Initial checks done. Running the testcase now 2025-11-12 18:12:22,796 - INFO - 2025-11-12 18:12:23,384 - DEBUG - Response for create_network : {'network': {'id': 'edbb7207-9d29-42b8-b6cd-4b8b9b98aae6', 'name': 'ctest-vn-32636125', 'tenant_id': '7b7e579f91454c0e87e6516783082a31', 'project_id': '7b7e579f91454c0e87e6516783082a31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35222768', 'ctest-vn-32636125'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 18:12:23,583 - DEBUG - Response for create_subnet : {'subnet': {'id': '54f5b1cf-fb29-4666-bae0-3acf10607490', 'name': '', 'tenant_id': '7b7e579f91454c0e87e6516783082a31', 'network_id': 'edbb7207-9d29-42b8-b6cd-4b8b9b98aae6', 'ip_version': 4, 'cidr': '177.104.139.192/26', 'allocation_pools': [{'start': '177.104.139.194', 'end': '177.104.139.254'}], 'gateway_ip': '177.104.139.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.104.139.194', 'tags': [], 'project_id': '7b7e579f91454c0e87e6516783082a31'}} 2025-11-12 18:12:23,597 - INFO - Created VN ctest-vn-32636125 2025-11-12 18:12:23,650 - DEBUG - VN ctest-vn-32636125 UUID is edbb7207-9d29-42b8-b6cd-4b8b9b98aae6 2025-11-12 18:12:23,971 - DEBUG - Response for create_network : {'network': {'id': '5deab3a3-a40c-471c-ab69-565d91e58f50', 'name': 'ctest-vn-52910956', 'tenant_id': '7b7e579f91454c0e87e6516783082a31', 'project_id': '7b7e579f91454c0e87e6516783082a31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35222768', 'ctest-vn-52910956'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 18:12:24,175 - DEBUG - Response for create_subnet : {'subnet': {'id': '270b3d3a-f815-4a52-a940-2b5d6d4c9782', 'name': '', 'tenant_id': '7b7e579f91454c0e87e6516783082a31', 'network_id': '5deab3a3-a40c-471c-ab69-565d91e58f50', 'ip_version': 4, 'cidr': '203.5.45.0/26', 'allocation_pools': [{'start': '203.5.45.2', 'end': '203.5.45.62'}], 'gateway_ip': '203.5.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.5.45.2', 'tags': [], 'project_id': '7b7e579f91454c0e87e6516783082a31'}} 2025-11-12 18:12:24,189 - INFO - Created VN ctest-vn-52910956 2025-11-12 18:12:24,238 - DEBUG - VN ctest-vn-52910956 UUID is 5deab3a3-a40c-471c-ab69-565d91e58f50 2025-11-12 18:12:24,386 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35222768:ctest-vn-32636125, 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-35222768:ctest-vn-52910956, 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] 2025-11-12 18:12:24,669 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'edbb7207-9d29-42b8-b6cd-4b8b9b98aae6', 'name': 'ctest-vn-32636125', 'tenant_id': '7b7e579f91454c0e87e6516783082a31', 'project_id': '7b7e579f91454c0e87e6516783082a31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['54f5b1cf-fb29-4666-bae0-3acf10607490'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35222768', 'ctest-vn-32636125'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35222768', 'ctest-policy-allow-all-00830766']], 'subnet_ipam': [{'subnet_cidr': '177.104.139.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 18:12:24,883 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5deab3a3-a40c-471c-ab69-565d91e58f50', 'name': 'ctest-vn-52910956', 'tenant_id': '7b7e579f91454c0e87e6516783082a31', 'project_id': '7b7e579f91454c0e87e6516783082a31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['270b3d3a-f815-4a52-a940-2b5d6d4c9782'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35222768', 'ctest-vn-52910956'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35222768', 'ctest-policy-allow-all-00830766']], 'subnet_ipam': [{'subnet_cidr': '203.5.45.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 18:12:25,042 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-12 18:12:25,363 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-12 18:12:25,393 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f6779ccb-67a0-43a3-8c33-9f87de91637b 2025-11-12 18:12:25,405 - DEBUG - Requesting: http://10.0.0.33:8082/project/7b7e579f-9145-4c0e-87e6-516783082a31 2025-11-12 18:12:25,478 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/edbb7207-9d29-42b8-b6cd-4b8b9b98aae6 2025-11-12 18:12:25,490 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/edbb7207-9d29-42b8-b6cd-4b8b9b98aae6 2025-11-12 18:12:25,500 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b4ab49d8-7223-4dbb-8b9e-72c50406c319 2025-11-12 18:12:25,507 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b4ab49d8-7223-4dbb-8b9e-72c50406c319 2025-11-12 18:12:25,516 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/52933082-aba6-4fb7-9374-d0ac1eba0297 2025-11-12 18:12:25,523 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 18:12:25,523 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/edbb7207-9d29-42b8-b6cd-4b8b9b98aae6 2025-11-12 18:12:25,533 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b4ab49d8-7223-4dbb-8b9e-72c50406c319 2025-11-12 18:12:25,548 - INFO - Verified VN network id 11 for VN edbb7207-9d29-42b8-b6cd-4b8b9b98aae6 2025-11-12 18:12:25,548 - INFO - Verifications in API Server for VN ctest-vn-32636125 passed 2025-11-12 18:12:25,548 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/edbb7207-9d29-42b8-b6cd-4b8b9b98aae6 2025-11-12 18:12:25,557 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b4ab49d8-7223-4dbb-8b9e-72c50406c319 2025-11-12 18:12:25,564 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b4ab49d8-7223-4dbb-8b9e-72c50406c319 2025-11-12 18:12:25,570 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/52933082-aba6-4fb7-9374-d0ac1eba0297 2025-11-12 18:12:25,581 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35222768:ctest-vn-32636125', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35222768', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17130410984660878008', 'uuid-lslong': '13172267548111579878'}, 'enable': 'true', 'created': '2025-11-12T18:12:23', 'last-modified': '2025-11-12T18:12:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927790'} 2025-11-12 18:12:25,588 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 18:12:25,588 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32636125 passed 2025-11-12 18:12:25,588 - DEBUG - ====Verifying policy data for ctest-vn-32636125 in API_Server ====== 2025-11-12 18:12:25,588 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-12 18:12:25,593 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f6779ccb-67a0-43a3-8c33-9f87de91637b 2025-11-12 18:12:25,606 - DEBUG - Requesting: http://10.0.0.33:8082/project/7b7e579f-9145-4c0e-87e6-516783082a31 2025-11-12 18:12:25,679 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/edbb7207-9d29-42b8-b6cd-4b8b9b98aae6 2025-11-12 18:12:25,688 - DEBUG - ==>Verifying data for policy with id: c4206350-c27e-4523-a5fb-af4c92d1cdeb, fqn: ['default-domain', 'ctest-TestBasicPolicy-35222768', 'ctest-policy-allow-all-00830766'] 2025-11-12 18:12:25,688 - INFO - VN ctest-vn-32636125 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 18:12:25,689 - DEBUG - Verifying the vn in opserver 2025-11-12 18:12:25,689 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35222768:ctest-vn-32636125 virtual network link through opserver 10.0.0.33 2025-11-12 18:12:25,689 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-12 18:12:26,010 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-12 18:12:26,069 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35222768:ctest-vn-32636125', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35222768:ctest-vn-32636125?flat'} 2025-11-12 18:12:26,069 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35222768:ctest-vn-32636125 is found in opserver 2025-11-12 18:12:26,079 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 18:12:26,083 - DEBUG - VRF ids for VN ctest-vn-32636125: {} 2025-11-12 18:12:26,084 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-12 18:12:26,089 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f6779ccb-67a0-43a3-8c33-9f87de91637b 2025-11-12 18:12:26,099 - DEBUG - Requesting: http://10.0.0.33:8082/project/7b7e579f-9145-4c0e-87e6-516783082a31 2025-11-12 18:12:26,170 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5deab3a3-a40c-471c-ab69-565d91e58f50 2025-11-12 18:12:26,180 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5deab3a3-a40c-471c-ab69-565d91e58f50 2025-11-12 18:12:26,188 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/83c50d6d-768c-45de-a079-c3b1ef860b1b 2025-11-12 18:12:26,194 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/83c50d6d-768c-45de-a079-c3b1ef860b1b 2025-11-12 18:12:26,200 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2ef81f5f-eab4-43ff-968f-36db2ea5ef41 2025-11-12 18:12:26,206 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 18:12:26,206 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5deab3a3-a40c-471c-ab69-565d91e58f50 2025-11-12 18:12:26,215 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/83c50d6d-768c-45de-a079-c3b1ef860b1b 2025-11-12 18:12:26,227 - INFO - Verified VN network id 12 for VN 5deab3a3-a40c-471c-ab69-565d91e58f50 2025-11-12 18:12:26,227 - INFO - Verifications in API Server for VN ctest-vn-52910956 passed 2025-11-12 18:12:26,227 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5deab3a3-a40c-471c-ab69-565d91e58f50 2025-11-12 18:12:26,236 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/83c50d6d-768c-45de-a079-c3b1ef860b1b 2025-11-12 18:12:26,242 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/83c50d6d-768c-45de-a079-c3b1ef860b1b 2025-11-12 18:12:26,248 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2ef81f5f-eab4-43ff-968f-36db2ea5ef41 2025-11-12 18:12:26,258 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35222768:ctest-vn-52910956', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35222768', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6767418905490900764', 'uuid-lslong': '12351498412919983952'}, 'enable': 'true', 'created': '2025-11-12T18:12:23', 'last-modified': '2025-11-12T18:12:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.394973'} 2025-11-12 18:12:26,263 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 18:12:26,263 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52910956 passed 2025-11-12 18:12:26,263 - DEBUG - ====Verifying policy data for ctest-vn-52910956 in API_Server ====== 2025-11-12 18:12:26,264 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-12 18:12:26,269 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f6779ccb-67a0-43a3-8c33-9f87de91637b 2025-11-12 18:12:26,279 - DEBUG - Requesting: http://10.0.0.33:8082/project/7b7e579f-9145-4c0e-87e6-516783082a31 2025-11-12 18:12:26,359 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5deab3a3-a40c-471c-ab69-565d91e58f50 2025-11-12 18:12:26,368 - DEBUG - ==>Verifying data for policy with id: c4206350-c27e-4523-a5fb-af4c92d1cdeb, fqn: ['default-domain', 'ctest-TestBasicPolicy-35222768', 'ctest-policy-allow-all-00830766'] 2025-11-12 18:12:26,368 - INFO - VN ctest-vn-52910956 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 18:12:26,368 - DEBUG - Verifying the vn in opserver 2025-11-12 18:12:26,368 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35222768:ctest-vn-52910956 virtual network link through opserver 10.0.0.33 2025-11-12 18:12:26,368 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-12 18:12:26,377 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35222768:ctest-vn-52910956', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35222768:ctest-vn-52910956?flat'} 2025-11-12 18:12:26,377 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35222768:ctest-vn-52910956 is found in opserver 2025-11-12 18:12:26,386 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 18:12:26,390 - DEBUG - VRF ids for VN ctest-vn-52910956: {} 2025-11-12 18:12:26,443 - DEBUG - Services list from nova: [, , ] 2025-11-12 18:12:27,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4707-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4707-1) 2025-11-12 18:12:28,610 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4707-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4707-1) 2025-11-12 18:12:28,610 - INFO - Waiting for VM ctest-TestBasicPolicy-35222768-03946782 to be up.. 2025-11-12 18:12:28,681 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 18:12:33,752 - DEBUG - VM is in ACTIVE state now 2025-11-12 18:12:33,753 - INFO - VM name : ctest-TestBasicPolicy-35222768-03946782 2025-11-12 18:12:33,829 - DEBUG - VM ctest-TestBasicPolicy-35222768-03946782 ID is 0e09c98b-f320-4166-ab66-3e09601302f4 2025-11-12 18:12:33,846 - DEBUG - VM ctest-TestBasicPolicy-35222768-03946782 launched on Node cn-jenkins-deploy-platform-ansible-os-4707-1 2025-11-12 18:12:33,915 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0e09c98b-f320-4166-ab66-3e09601302f4 2025-11-12 18:12:33,923 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/90acbaaa-8577-4058-a4c7-a291bc45e085 2025-11-12 18:12:37,188 - 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=8.88 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 8.884/8.884/8.884/0.000 ms') 2025-11-12 18:12:37,188 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35222768-03946782 passed 2025-11-12 18:12:37,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:12:37,342 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35222768-03946782, IP 177.104.139.195, Port 22 2025-11-12 18:12:37,512 - DEBUG - VM ctest-TestBasicPolicy-35222768-03946782 is ready for SSH connections 2025-11-12 18:12:37,513 - INFO - Waiting for VM ctest-TestBasicPolicy-35222768-87119335 to be up.. 2025-11-12 18:12:37,584 - DEBUG - VM is in ACTIVE state now 2025-11-12 18:12:37,584 - INFO - VM name : ctest-TestBasicPolicy-35222768-87119335 2025-11-12 18:12:37,649 - DEBUG - VM ctest-TestBasicPolicy-35222768-87119335 ID is fdad637c-f2f7-45d0-b2fc-5a6dafbca2df 2025-11-12 18:12:37,649 - DEBUG - VM ctest-TestBasicPolicy-35222768-87119335 launched on Node cn-jenkins-deploy-platform-ansible-os-4707-1 2025-11-12 18:12:37,718 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fdad637c-f2f7-45d0-b2fc-5a6dafbca2df 2025-11-12 18:12:37,727 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/94235e32-ce34-42df-baf8-afa76f201812 2025-11-12 18:12:38,988 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.495 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.495/1.967/3.440/1.472 ms') 2025-11-12 18:12:38,989 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35222768-87119335 passed 2025-11-12 18:12:39,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:12:39,138 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35222768-87119335, IP 203.5.45.3, Port 22 2025-11-12 18:12:39,313 - DEBUG - VM ctest-TestBasicPolicy-35222768-87119335 is ready for SSH connections 2025-11-12 18:12:39,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:12:39,314 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.5.45.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-12 18:12:39,314 - DEBUG - ping -s 56 -c 3 -W 1 203.5.45.3 2025-11-12 18:12:43,265 - DEBUG - PING 203.5.45.3 (203.5.45.3): 56 data bytes 64 bytes from 203.5.45.3: seq=0 ttl=63 time=3.327 ms 64 bytes from 203.5.45.3: seq=1 ttl=63 time=1.016 ms 64 bytes from 203.5.45.3: seq=2 ttl=63 time=1.026 ms --- 203.5.45.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.016/1.789/3.327 ms 2025-11-12 18:12:43,265 - INFO - Ping to IP 203.5.45.3 from VM ctest-TestBasicPolicy-35222768-03946782 passed 2025-11-12 18:12:43,434 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c4206350-c27e-4523-a5fb-af4c92d1cdeb", "href": "http://10.0.0.33:8082/network-policy/c4206350-c27e-4523-a5fb-af4c92d1cdeb"}} 2025-11-12 18:12:43,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:12:43,434 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.5.45.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-12 18:12:43,434 - DEBUG - ping -s 56 -c 3 -W 1 203.5.45.3 2025-11-12 18:12:46,565 - DEBUG - PING 203.5.45.3 (203.5.45.3): 56 data bytes 64 bytes from 203.5.45.3: seq=0 ttl=63 time=1.213 ms --- 203.5.45.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.213/1.213/1.213 ms 2025-11-12 18:12:46,565 - WARNING - Ping to IP 203.5.45.3 from VM ctest-TestBasicPolicy-35222768-03946782 failed 2025-11-12 18:12:46,565 - INFO - Deleting VM ctest-TestBasicPolicy-35222768-87119335 2025-11-12 18:12:46,626 - INFO - Deleting VM ctest-TestBasicPolicy-35222768-03946782 2025-11-12 18:12:47,001 - INFO - Deleted policy ctest-policy-allow-all-00830766 2025-11-12 18:12:47,001 - INFO - Deleting VN ctest-vn-52910956 2025-11-12 18:12:47,037 - DEBUG - VN 5deab3a3-a40c-471c-ab69-565d91e58f50 still in use: Unable to complete operation on network 5deab3a3-a40c-471c-ab69-565d91e58f50. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fcb4221a-26ff-47df-a0a7-bc918919d815'] 2025-11-12 18:12:47,037 - WARNING - Deleting VN ctest-vn-52910956 failed..Will retry 2025-11-12 18:12:49,124 - DEBUG - Response for deleting network () 2025-11-12 18:12:49,124 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/83c50d6d-768c-45de-a079-c3b1ef860b1b 2025-11-12 18:12:49,128 - DEBUG - Response Code: 404 2025-11-12 18:12:49,129 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-12 18:12:49,134 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f6779ccb-67a0-43a3-8c33-9f87de91637b 2025-11-12 18:12:49,187 - DEBUG - Requesting: http://10.0.0.33:8082/project/7b7e579f-9145-4c0e-87e6-516783082a31 2025-11-12 18:12:49,254 - INFO - Validated that VN ctest-vn-52910956 is not found in API Server 2025-11-12 18:12:49,262 - DEBUG - VN ctest-vn-52910956 is not present in Agent 10.0.0.33 2025-11-12 18:12:49,262 - INFO - Validated that VN ctest-vn-52910956 is not in any agent 2025-11-12 18:12:49,274 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52910956 info 2025-11-12 18:12:49,274 - INFO - Deleting VN ctest-vn-32636125 2025-11-12 18:12:49,367 - DEBUG - Response for deleting network () 2025-11-12 18:12:49,367 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b4ab49d8-7223-4dbb-8b9e-72c50406c319 2025-11-12 18:12:49,372 - DEBUG - Response Code: 404 2025-11-12 18:12:49,372 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-12 18:12:49,377 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f6779ccb-67a0-43a3-8c33-9f87de91637b 2025-11-12 18:12:49,428 - DEBUG - Requesting: http://10.0.0.33:8082/project/7b7e579f-9145-4c0e-87e6-516783082a31 2025-11-12 18:12:49,503 - INFO - Validated that VN ctest-vn-32636125 is not found in API Server 2025-11-12 18:12:49,513 - DEBUG - VN ctest-vn-32636125 is not present in Agent 10.0.0.33 2025-11-12 18:12:49,513 - INFO - Validated that VN ctest-vn-32636125 is not in any agent 2025-11-12 18:12:49,527 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32636125 info 2025-11-12 18:12:49,785 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 18:12:49,785 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:27]
2025-11-12 18:12:49,785 - INFO - -------------------------------------------------------------------------------- 2025-11-12 18:12:50,491 - INFO - Deleted project: ctest-TestBasicPolicy-35222768, ID : 7b7e579f-9145-4c0e-87e6-516783082a31