2025-10-30 18:20:42,880 - INFO - Domain Default found not creating 2025-10-30 18:20:43,009 - INFO - Project ctest-TestBasicPolicy-20129261 not found, creating it 2025-10-30 18:20:43,457 - INFO - Created Project:ctest-TestBasicPolicy-20129261, ID : 0cc4a63a-9f09-4272-a152-45314bf86601 2025-10-30 18:20:44,808 - INFO - ================================================================================ 2025-10-30 18:20:44,808 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 18:20:44,808 - 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-10-30 18:20:45,071 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-30 18:20:45,071 - INFO - Initial checks done. Running the testcase now 2025-10-30 18:20:45,071 - INFO - 2025-10-30 18:20:45,583 - DEBUG - Response for create_network : {'network': {'id': '6a320329-aec9-498a-9155-cf61929f533d', 'name': 'ctest-vn-75407868', 'tenant_id': '0cc4a63a9f094272a15245314bf86601', 'project_id': '0cc4a63a9f094272a15245314bf86601', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20129261', 'ctest-vn-75407868'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:20:45,780 - DEBUG - Response for create_subnet : {'subnet': {'id': '96738363-1926-40a9-9548-899d3e6d6759', 'name': '', 'tenant_id': '0cc4a63a9f094272a15245314bf86601', 'network_id': '6a320329-aec9-498a-9155-cf61929f533d', 'ip_version': 4, 'cidr': '202.244.71.64/26', 'allocation_pools': [{'start': '202.244.71.66', 'end': '202.244.71.126'}], 'gateway_ip': '202.244.71.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.244.71.66', 'tags': [], 'project_id': '0cc4a63a9f094272a15245314bf86601'}} 2025-10-30 18:20:45,797 - INFO - Created VN ctest-vn-75407868 2025-10-30 18:20:45,850 - DEBUG - VN ctest-vn-75407868 UUID is 6a320329-aec9-498a-9155-cf61929f533d 2025-10-30 18:20:46,162 - DEBUG - Response for create_network : {'network': {'id': '6445635c-9f8a-4029-acaa-531190fe869e', 'name': 'ctest-vn-58261090', 'tenant_id': '0cc4a63a9f094272a15245314bf86601', 'project_id': '0cc4a63a9f094272a15245314bf86601', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20129261', 'ctest-vn-58261090'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:20:46,336 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5e13e82-dae2-4d62-b586-296920cdd308', 'name': '', 'tenant_id': '0cc4a63a9f094272a15245314bf86601', 'network_id': '6445635c-9f8a-4029-acaa-531190fe869e', 'ip_version': 4, 'cidr': '118.89.248.128/26', 'allocation_pools': [{'start': '118.89.248.130', 'end': '118.89.248.190'}], 'gateway_ip': '118.89.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.89.248.130', 'tags': [], 'project_id': '0cc4a63a9f094272a15245314bf86601'}} 2025-10-30 18:20:46,353 - INFO - Created VN ctest-vn-58261090 2025-10-30 18:20:46,406 - DEBUG - VN ctest-vn-58261090 UUID is 6445635c-9f8a-4029-acaa-531190fe869e 2025-10-30 18:20:46,554 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-75407868, 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-20129261:ctest-vn-58261090, 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-10-30 18:20:46,827 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a320329-aec9-498a-9155-cf61929f533d', 'name': 'ctest-vn-75407868', 'tenant_id': '0cc4a63a9f094272a15245314bf86601', 'project_id': '0cc4a63a9f094272a15245314bf86601', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['96738363-1926-40a9-9548-899d3e6d6759'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20129261', 'ctest-vn-75407868'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20129261', 'ctest-policy-allow-all-77650937']], 'subnet_ipam': [{'subnet_cidr': '202.244.71.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:20:47,046 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6445635c-9f8a-4029-acaa-531190fe869e', 'name': 'ctest-vn-58261090', 'tenant_id': '0cc4a63a9f094272a15245314bf86601', 'project_id': '0cc4a63a9f094272a15245314bf86601', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a5e13e82-dae2-4d62-b586-296920cdd308'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20129261', 'ctest-vn-58261090'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20129261', 'ctest-policy-allow-all-77650937']], 'subnet_ipam': [{'subnet_cidr': '118.89.248.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:20:47,210 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 18:20:47,499 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 18:20:47,524 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4fe1609f-3bd1-4c50-a134-0955a7894b24 2025-10-30 18:20:47,535 - DEBUG - Requesting: http://10.0.0.254:8082/project/0cc4a63a-9f09-4272-a152-45314bf86601 2025-10-30 18:20:47,604 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a320329-aec9-498a-9155-cf61929f533d 2025-10-30 18:20:47,613 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a320329-aec9-498a-9155-cf61929f533d 2025-10-30 18:20:47,621 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/36159ac7-d81d-495b-92f8-674e7f7e5cc5 2025-10-30 18:20:47,627 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/36159ac7-d81d-495b-92f8-674e7f7e5cc5 2025-10-30 18:20:47,632 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7b369e8e-e9cb-4213-a666-563130ee9391 2025-10-30 18:20:47,638 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 18:20:47,638 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a320329-aec9-498a-9155-cf61929f533d 2025-10-30 18:20:47,645 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/36159ac7-d81d-495b-92f8-674e7f7e5cc5 2025-10-30 18:20:47,656 - INFO - Verified VN network id 12 for VN 6a320329-aec9-498a-9155-cf61929f533d 2025-10-30 18:20:47,656 - INFO - Verifications in API Server for VN ctest-vn-75407868 passed 2025-10-30 18:20:47,656 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a320329-aec9-498a-9155-cf61929f533d 2025-10-30 18:20:47,664 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/36159ac7-d81d-495b-92f8-674e7f7e5cc5 2025-10-30 18:20:47,670 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/36159ac7-d81d-495b-92f8-674e7f7e5cc5 2025-10-30 18:20:47,676 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7b369e8e-e9cb-4213-a666-563130ee9391 2025-10-30 18:20:47,687 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-75407868', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20129261', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7652182194416863626', 'uuid-lslong': '10472504526498648893'}, 'enable': 'true', 'created': '2025-10-30T18:20:45', 'last-modified': '2025-10-30T18:20:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.877182'} 2025-10-30 18:20:47,692 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 18:20:47,692 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75407868 passed 2025-10-30 18:20:47,693 - DEBUG - ====Verifying policy data for ctest-vn-75407868 in API_Server ====== 2025-10-30 18:20:47,693 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 18:20:47,700 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4fe1609f-3bd1-4c50-a134-0955a7894b24 2025-10-30 18:20:47,709 - DEBUG - Requesting: http://10.0.0.254:8082/project/0cc4a63a-9f09-4272-a152-45314bf86601 2025-10-30 18:20:47,792 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6a320329-aec9-498a-9155-cf61929f533d 2025-10-30 18:20:47,801 - DEBUG - ==>Verifying data for policy with id: 5bc685c7-f384-4b48-81c4-a0469e8187d0, fqn: ['default-domain', 'ctest-TestBasicPolicy-20129261', 'ctest-policy-allow-all-77650937'] 2025-10-30 18:20:47,801 - INFO - VN ctest-vn-75407868 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 18:20:47,801 - DEBUG - Verifying the vn in opserver 2025-10-30 18:20:47,801 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-75407868 virtual network link through opserver 10.0.0.254 2025-10-30 18:20:47,801 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-30 18:20:48,091 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-30 18:20:48,142 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-75407868', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-75407868?flat'} 2025-10-30 18:20:48,142 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-75407868 is found in opserver 2025-10-30 18:20:48,151 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 18:20:48,157 - DEBUG - VRF ids for VN ctest-vn-75407868: {} 2025-10-30 18:20:48,157 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 18:20:48,163 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4fe1609f-3bd1-4c50-a134-0955a7894b24 2025-10-30 18:20:48,174 - DEBUG - Requesting: http://10.0.0.254:8082/project/0cc4a63a-9f09-4272-a152-45314bf86601 2025-10-30 18:20:48,238 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6445635c-9f8a-4029-acaa-531190fe869e 2025-10-30 18:20:48,249 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6445635c-9f8a-4029-acaa-531190fe869e 2025-10-30 18:20:48,259 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c9e795d1-f70d-4071-bdf1-46f1c951b864 2025-10-30 18:20:48,267 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c9e795d1-f70d-4071-bdf1-46f1c951b864 2025-10-30 18:20:48,274 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/50ef98a2-367f-4d70-aeb2-085ef399d08c 2025-10-30 18:20:48,280 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 18:20:48,280 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6445635c-9f8a-4029-acaa-531190fe869e 2025-10-30 18:20:48,290 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c9e795d1-f70d-4071-bdf1-46f1c951b864 2025-10-30 18:20:48,304 - INFO - Verified VN network id 13 for VN 6445635c-9f8a-4029-acaa-531190fe869e 2025-10-30 18:20:48,305 - INFO - Verifications in API Server for VN ctest-vn-58261090 passed 2025-10-30 18:20:48,305 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6445635c-9f8a-4029-acaa-531190fe869e 2025-10-30 18:20:48,315 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c9e795d1-f70d-4071-bdf1-46f1c951b864 2025-10-30 18:20:48,322 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c9e795d1-f70d-4071-bdf1-46f1c951b864 2025-10-30 18:20:48,329 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/50ef98a2-367f-4d70-aeb2-085ef399d08c 2025-10-30 18:20:48,341 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-58261090', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20129261', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7225290426650607657', 'uuid-lslong': '12441848255476565662'}, 'enable': 'true', 'created': '2025-10-30T18:20:46', 'last-modified': '2025-10-30T18:20:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.312649'} 2025-10-30 18:20:48,347 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 18:20:48,347 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58261090 passed 2025-10-30 18:20:48,347 - DEBUG - ====Verifying policy data for ctest-vn-58261090 in API_Server ====== 2025-10-30 18:20:48,347 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 18:20:48,352 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4fe1609f-3bd1-4c50-a134-0955a7894b24 2025-10-30 18:20:48,361 - DEBUG - Requesting: http://10.0.0.254:8082/project/0cc4a63a-9f09-4272-a152-45314bf86601 2025-10-30 18:20:48,432 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6445635c-9f8a-4029-acaa-531190fe869e 2025-10-30 18:20:48,442 - DEBUG - ==>Verifying data for policy with id: 5bc685c7-f384-4b48-81c4-a0469e8187d0, fqn: ['default-domain', 'ctest-TestBasicPolicy-20129261', 'ctest-policy-allow-all-77650937'] 2025-10-30 18:20:48,442 - INFO - VN ctest-vn-58261090 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 18:20:48,442 - DEBUG - Verifying the vn in opserver 2025-10-30 18:20:48,442 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-58261090 virtual network link through opserver 10.0.0.254 2025-10-30 18:20:48,442 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-30 18:20:48,452 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-58261090', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-58261090?flat'} 2025-10-30 18:20:48,452 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-58261090 is found in opserver 2025-10-30 18:20:48,460 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 18:20:48,464 - DEBUG - VRF ids for VN ctest-vn-58261090: {} 2025-10-30 18:20:48,513 - DEBUG - Services list from nova: [, , ] 2025-10-30 18:20:49,472 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4550-1) 2025-10-30 18:20:50,581 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4550-1) 2025-10-30 18:20:50,581 - INFO - Waiting for VM ctest-TestBasicPolicy-20129261-32443819 to be up.. 2025-10-30 18:20:50,658 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 18:20:55,726 - DEBUG - VM is in ACTIVE state now 2025-10-30 18:20:55,726 - INFO - VM name : ctest-TestBasicPolicy-20129261-32443819 2025-10-30 18:20:55,792 - DEBUG - VM ctest-TestBasicPolicy-20129261-32443819 ID is 0f36216d-0c50-4513-b1bf-b09d6ef8663c 2025-10-30 18:20:55,810 - DEBUG - VM ctest-TestBasicPolicy-20129261-32443819 launched on Node cn-jenkins-deploy-platform-ansible-os-4550-1 2025-10-30 18:20:55,873 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0f36216d-0c50-4513-b1bf-b09d6ef8663c 2025-10-30 18:20:55,879 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/85d7dadc-c944-4f6d-92c9-6605af3bdad6 2025-10-30 18:20:59,171 - 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 1028ms') 2025-10-30 18:20:59,171 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20129261-32443819 failed! 2025-10-30 18:20:59,226 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20129261:ctest-vn-75407868 is 202.244.71.65 and allocation pool is NOT set 2025-10-30 18:21:01,285 - 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=2.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.449 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 = 0.449/1.644/2.839/1.195 ms') 2025-10-30 18:21:01,285 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20129261-32443819 passed 2025-10-30 18:21:01,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:21:01,434 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20129261-32443819, IP 202.244.71.67, Port 22 2025-10-30 18:21:01,589 - DEBUG - VM ctest-TestBasicPolicy-20129261-32443819 is ready for SSH connections 2025-10-30 18:21:01,589 - INFO - Waiting for VM ctest-TestBasicPolicy-20129261-11062253 to be up.. 2025-10-30 18:21:01,659 - DEBUG - VM is in ACTIVE state now 2025-10-30 18:21:01,659 - INFO - VM name : ctest-TestBasicPolicy-20129261-11062253 2025-10-30 18:21:01,745 - DEBUG - VM ctest-TestBasicPolicy-20129261-11062253 ID is 0e5faa8b-66e5-4762-80d6-f39fc7fdc2ce 2025-10-30 18:21:01,745 - DEBUG - VM ctest-TestBasicPolicy-20129261-11062253 launched on Node cn-jenkins-deploy-platform-ansible-os-4550-1 2025-10-30 18:21:01,821 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0e5faa8b-66e5-4762-80d6-f39fc7fdc2ce 2025-10-30 18:21:01,831 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8345b230-638b-47fa-895a-7ea5a0f9111d 2025-10-30 18:21:03,061 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 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.392/1.764/3.136/1.372 ms') 2025-10-30 18:21:03,061 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20129261-11062253 passed 2025-10-30 18:21:03,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:21:03,210 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20129261-11062253, IP 118.89.248.131, Port 22 2025-10-30 18:21:03,365 - DEBUG - VM ctest-TestBasicPolicy-20129261-11062253 is ready for SSH connections 2025-10-30 18:21:03,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:21:03,365 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.89.248.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 18:21:03,365 - DEBUG - ping -s 56 -c 3 -W 1 118.89.248.131 2025-10-30 18:21:07,349 - DEBUG - PING 118.89.248.131 (118.89.248.131): 56 data bytes 64 bytes from 118.89.248.131: seq=0 ttl=63 time=3.098 ms 64 bytes from 118.89.248.131: seq=1 ttl=63 time=0.957 ms 64 bytes from 118.89.248.131: seq=2 ttl=63 time=0.763 ms --- 118.89.248.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.763/1.606/3.098 ms 2025-10-30 18:21:07,349 - INFO - Ping to IP 118.89.248.131 from VM ctest-TestBasicPolicy-20129261-32443819 passed 2025-10-30 18:21:07,530 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5bc685c7-f384-4b48-81c4-a0469e8187d0", "href": "http://10.0.0.254:8082/network-policy/5bc685c7-f384-4b48-81c4-a0469e8187d0"}} 2025-10-30 18:21:07,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:21:07,530 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.89.248.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 18:21:07,530 - DEBUG - ping -s 56 -c 3 -W 1 118.89.248.131 2025-10-30 18:21:10,734 - DEBUG - PING 118.89.248.131 (118.89.248.131): 56 data bytes --- 118.89.248.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 18:21:10,735 - WARNING - Ping to IP 118.89.248.131 from VM ctest-TestBasicPolicy-20129261-32443819 failed 2025-10-30 18:21:10,735 - INFO - Deleting VM ctest-TestBasicPolicy-20129261-11062253 2025-10-30 18:21:10,800 - INFO - Deleting VM ctest-TestBasicPolicy-20129261-32443819 2025-10-30 18:21:11,150 - INFO - Deleted policy ctest-policy-allow-all-77650937 2025-10-30 18:21:11,150 - INFO - Deleting VN ctest-vn-58261090 2025-10-30 18:21:11,188 - DEBUG - VN 6445635c-9f8a-4029-acaa-531190fe869e still in use: Unable to complete operation on network 6445635c-9f8a-4029-acaa-531190fe869e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1f5647c2-1f62-4cda-a175-f95f6631668b'] 2025-10-30 18:21:11,188 - WARNING - Deleting VN ctest-vn-58261090 failed..Will retry 2025-10-30 18:21:13,300 - DEBUG - Response for deleting network () 2025-10-30 18:21:13,300 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c9e795d1-f70d-4071-bdf1-46f1c951b864 2025-10-30 18:21:13,305 - DEBUG - Response Code: 404 2025-10-30 18:21:13,305 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 18:21:13,312 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4fe1609f-3bd1-4c50-a134-0955a7894b24 2025-10-30 18:21:13,363 - DEBUG - Requesting: http://10.0.0.254:8082/project/0cc4a63a-9f09-4272-a152-45314bf86601 2025-10-30 18:21:13,433 - INFO - Validated that VN ctest-vn-58261090 is not found in API Server 2025-10-30 18:21:13,442 - DEBUG - VN ctest-vn-58261090 is not present in Agent 10.0.0.254 2025-10-30 18:21:13,442 - INFO - Validated that VN ctest-vn-58261090 is not in any agent 2025-10-30 18:21:13,453 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58261090 info 2025-10-30 18:21:13,453 - INFO - Deleting VN ctest-vn-75407868 2025-10-30 18:21:13,547 - DEBUG - Response for deleting network () 2025-10-30 18:21:13,547 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/36159ac7-d81d-495b-92f8-674e7f7e5cc5 2025-10-30 18:21:13,553 - DEBUG - Response Code: 404 2025-10-30 18:21:13,553 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-30 18:21:13,558 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4fe1609f-3bd1-4c50-a134-0955a7894b24 2025-10-30 18:21:13,610 - DEBUG - Requesting: http://10.0.0.254:8082/project/0cc4a63a-9f09-4272-a152-45314bf86601 2025-10-30 18:21:13,680 - INFO - Validated that VN ctest-vn-75407868 is not found in API Server 2025-10-30 18:21:13,689 - DEBUG - VN ctest-vn-75407868 is not present in Agent 10.0.0.254 2025-10-30 18:21:13,690 - INFO - Validated that VN ctest-vn-75407868 is not in any agent 2025-10-30 18:21:13,706 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75407868 info 2025-10-30 18:21:13,959 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 18:21:13,959 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-30 18:21:13,959 - INFO - -------------------------------------------------------------------------------- 2025-10-30 18:21:14,648 - INFO - Deleted project: ctest-TestBasicPolicy-20129261, ID : 0cc4a63a-9f09-4272-a152-45314bf86601