2025-11-17 22:51:17,920 - INFO - Domain Default found not creating 2025-11-17 22:51:18,055 - INFO - Project ctest-TestBasicPolicy-66962038 not found, creating it 2025-11-17 22:51:18,510 - INFO - Created Project:ctest-TestBasicPolicy-66962038, ID : 66555add-325b-4725-aaaf-20a65b819591 2025-11-17 22:51:19,855 - INFO - ================================================================================ 2025-11-17 22:51:19,855 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-17 22:51:19,855 - 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-17 22:51:20,107 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-11-17 22:51:20,107 - INFO - Initial checks done. Running the testcase now 2025-11-17 22:51:20,108 - INFO - 2025-11-17 22:51:20,620 - DEBUG - Response for create_network : {'network': {'id': '6daa00dc-557f-4530-92f5-687026cbb87b', 'name': 'ctest-vn-52812271', 'tenant_id': '66555add325b4725aaaf20a65b819591', 'project_id': '66555add325b4725aaaf20a65b819591', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66962038', 'ctest-vn-52812271'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 22:51:20,785 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e76a798-9080-48f5-a31c-76a16eed5b88', 'name': '', 'tenant_id': '66555add325b4725aaaf20a65b819591', 'network_id': '6daa00dc-557f-4530-92f5-687026cbb87b', 'ip_version': 4, 'cidr': '38.107.113.192/26', 'allocation_pools': [{'start': '38.107.113.194', 'end': '38.107.113.254'}], 'gateway_ip': '38.107.113.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.107.113.194', 'tags': [], 'project_id': '66555add325b4725aaaf20a65b819591'}} 2025-11-17 22:51:20,801 - INFO - Created VN ctest-vn-52812271 2025-11-17 22:51:20,851 - DEBUG - VN ctest-vn-52812271 UUID is 6daa00dc-557f-4530-92f5-687026cbb87b 2025-11-17 22:51:21,140 - DEBUG - Response for create_network : {'network': {'id': '57c89397-9f47-4386-98d4-43de4bd0a5c4', 'name': 'ctest-vn-78416681', 'tenant_id': '66555add325b4725aaaf20a65b819591', 'project_id': '66555add325b4725aaaf20a65b819591', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66962038', 'ctest-vn-78416681'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 22:51:21,323 - DEBUG - Response for create_subnet : {'subnet': {'id': '56993c09-c812-4131-986f-b0bc8024cf66', 'name': '', 'tenant_id': '66555add325b4725aaaf20a65b819591', 'network_id': '57c89397-9f47-4386-98d4-43de4bd0a5c4', 'ip_version': 4, 'cidr': '151.7.57.64/26', 'allocation_pools': [{'start': '151.7.57.66', 'end': '151.7.57.126'}], 'gateway_ip': '151.7.57.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.7.57.66', 'tags': [], 'project_id': '66555add325b4725aaaf20a65b819591'}} 2025-11-17 22:51:21,337 - INFO - Created VN ctest-vn-78416681 2025-11-17 22:51:21,387 - DEBUG - VN ctest-vn-78416681 UUID is 57c89397-9f47-4386-98d4-43de4bd0a5c4 2025-11-17 22:51:21,527 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66962038:ctest-vn-52812271, 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-66962038:ctest-vn-78416681, 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-17 22:51:21,793 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6daa00dc-557f-4530-92f5-687026cbb87b', 'name': 'ctest-vn-52812271', 'tenant_id': '66555add325b4725aaaf20a65b819591', 'project_id': '66555add325b4725aaaf20a65b819591', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6e76a798-9080-48f5-a31c-76a16eed5b88'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66962038', 'ctest-vn-52812271'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66962038', 'ctest-policy-allow-all-08519863']], 'subnet_ipam': [{'subnet_cidr': '38.107.113.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 22:51:22,009 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '57c89397-9f47-4386-98d4-43de4bd0a5c4', 'name': 'ctest-vn-78416681', 'tenant_id': '66555add325b4725aaaf20a65b819591', 'project_id': '66555add325b4725aaaf20a65b819591', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['56993c09-c812-4131-986f-b0bc8024cf66'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66962038', 'ctest-vn-78416681'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66962038', 'ctest-policy-allow-all-08519863']], 'subnet_ipam': [{'subnet_cidr': '151.7.57.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 22:51:22,199 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 22:51:22,489 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 22:51:22,515 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a50f1eb8-b8ca-4482-80f5-20493ef9b91c 2025-11-17 22:51:22,526 - DEBUG - Requesting: http://10.0.0.33:8082/project/66555add-325b-4725-aaaf-20a65b819591 2025-11-17 22:51:22,592 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6daa00dc-557f-4530-92f5-687026cbb87b 2025-11-17 22:51:22,603 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6daa00dc-557f-4530-92f5-687026cbb87b 2025-11-17 22:51:22,611 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/97a430a7-1bf8-48da-bff3-e5d268ea1c1d 2025-11-17 22:51:22,617 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/97a430a7-1bf8-48da-bff3-e5d268ea1c1d 2025-11-17 22:51:22,623 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f7bcf8f8-a613-4510-827e-498c1c5c9652 2025-11-17 22:51:22,628 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 22:51:22,628 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6daa00dc-557f-4530-92f5-687026cbb87b 2025-11-17 22:51:22,635 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/97a430a7-1bf8-48da-bff3-e5d268ea1c1d 2025-11-17 22:51:22,645 - INFO - Verified VN network id 12 for VN 6daa00dc-557f-4530-92f5-687026cbb87b 2025-11-17 22:51:22,646 - INFO - Verifications in API Server for VN ctest-vn-52812271 passed 2025-11-17 22:51:22,646 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6daa00dc-557f-4530-92f5-687026cbb87b 2025-11-17 22:51:22,652 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/97a430a7-1bf8-48da-bff3-e5d268ea1c1d 2025-11-17 22:51:22,657 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/97a430a7-1bf8-48da-bff3-e5d268ea1c1d 2025-11-17 22:51:22,662 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f7bcf8f8-a613-4510-827e-498c1c5c9652 2025-11-17 22:51:22,670 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66962038:ctest-vn-52812271', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66962038', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7902129442502165808', 'uuid-lslong': '10589484929728100475'}, 'enable': 'true', 'created': '2025-11-17T22:51:20', 'last-modified': '2025-11-17T22:51:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.897327'} 2025-11-17 22:51:22,674 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 22:51:22,674 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52812271 passed 2025-11-17 22:51:22,675 - DEBUG - ====Verifying policy data for ctest-vn-52812271 in API_Server ====== 2025-11-17 22:51:22,675 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 22:51:22,678 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a50f1eb8-b8ca-4482-80f5-20493ef9b91c 2025-11-17 22:51:22,686 - DEBUG - Requesting: http://10.0.0.33:8082/project/66555add-325b-4725-aaaf-20a65b819591 2025-11-17 22:51:22,754 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6daa00dc-557f-4530-92f5-687026cbb87b 2025-11-17 22:51:22,761 - DEBUG - ==>Verifying data for policy with id: 45758429-207c-456a-a8ca-e9e5bd9b8d67, fqn: ['default-domain', 'ctest-TestBasicPolicy-66962038', 'ctest-policy-allow-all-08519863'] 2025-11-17 22:51:22,761 - INFO - VN ctest-vn-52812271 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 22:51:22,761 - DEBUG - Verifying the vn in opserver 2025-11-17 22:51:22,761 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66962038:ctest-vn-52812271 virtual network link through opserver 10.0.0.33 2025-11-17 22:51:22,761 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-17 22:51:23,055 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-17 22:51:23,104 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66962038:ctest-vn-52812271', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66962038:ctest-vn-52812271?flat'} 2025-11-17 22:51:23,104 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66962038:ctest-vn-52812271 is found in opserver 2025-11-17 22:51:23,114 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 22:51:23,117 - DEBUG - VRF ids for VN ctest-vn-52812271: {} 2025-11-17 22:51:23,117 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 22:51:23,122 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a50f1eb8-b8ca-4482-80f5-20493ef9b91c 2025-11-17 22:51:23,132 - DEBUG - Requesting: http://10.0.0.33:8082/project/66555add-325b-4725-aaaf-20a65b819591 2025-11-17 22:51:23,202 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/57c89397-9f47-4386-98d4-43de4bd0a5c4 2025-11-17 22:51:23,213 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/57c89397-9f47-4386-98d4-43de4bd0a5c4 2025-11-17 22:51:23,221 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e942af93-b59b-4d9e-bf81-2e3e1734104d 2025-11-17 22:51:23,227 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e942af93-b59b-4d9e-bf81-2e3e1734104d 2025-11-17 22:51:23,232 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8d590f01-bdfc-497f-b8c7-9a554333dd26 2025-11-17 22:51:23,237 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 22:51:23,237 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/57c89397-9f47-4386-98d4-43de4bd0a5c4 2025-11-17 22:51:23,245 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e942af93-b59b-4d9e-bf81-2e3e1734104d 2025-11-17 22:51:23,256 - INFO - Verified VN network id 13 for VN 57c89397-9f47-4386-98d4-43de4bd0a5c4 2025-11-17 22:51:23,256 - INFO - Verifications in API Server for VN ctest-vn-78416681 passed 2025-11-17 22:51:23,256 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/57c89397-9f47-4386-98d4-43de4bd0a5c4 2025-11-17 22:51:23,262 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e942af93-b59b-4d9e-bf81-2e3e1734104d 2025-11-17 22:51:23,267 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e942af93-b59b-4d9e-bf81-2e3e1734104d 2025-11-17 22:51:23,272 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8d590f01-bdfc-497f-b8c7-9a554333dd26 2025-11-17 22:51:23,281 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66962038:ctest-vn-78416681', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66962038', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6325467956063454086', 'uuid-lslong': '11012501610861471172'}, 'enable': 'true', 'created': '2025-11-17T22:51:21', 'last-modified': '2025-11-17T22:51:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.289740'} 2025-11-17 22:51:23,285 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 22:51:23,285 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78416681 passed 2025-11-17 22:51:23,285 - DEBUG - ====Verifying policy data for ctest-vn-78416681 in API_Server ====== 2025-11-17 22:51:23,286 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 22:51:23,289 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a50f1eb8-b8ca-4482-80f5-20493ef9b91c 2025-11-17 22:51:23,298 - DEBUG - Requesting: http://10.0.0.33:8082/project/66555add-325b-4725-aaaf-20a65b819591 2025-11-17 22:51:23,363 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/57c89397-9f47-4386-98d4-43de4bd0a5c4 2025-11-17 22:51:23,372 - DEBUG - ==>Verifying data for policy with id: 45758429-207c-456a-a8ca-e9e5bd9b8d67, fqn: ['default-domain', 'ctest-TestBasicPolicy-66962038', 'ctest-policy-allow-all-08519863'] 2025-11-17 22:51:23,372 - INFO - VN ctest-vn-78416681 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 22:51:23,372 - DEBUG - Verifying the vn in opserver 2025-11-17 22:51:23,372 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66962038:ctest-vn-78416681 virtual network link through opserver 10.0.0.33 2025-11-17 22:51:23,372 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-17 22:51:23,381 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66962038:ctest-vn-78416681', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66962038:ctest-vn-78416681?flat'} 2025-11-17 22:51:23,381 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66962038:ctest-vn-78416681 is found in opserver 2025-11-17 22:51:23,390 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 22:51:23,395 - DEBUG - VRF ids for VN ctest-vn-78416681: {} 2025-11-17 22:51:23,448 - DEBUG - Services list from nova: [, , ] 2025-11-17 22:51:24,396 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4749-1) 2025-11-17 22:51:25,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4749-1) 2025-11-17 22:51:25,434 - INFO - Waiting for VM ctest-TestBasicPolicy-66962038-48481254 to be up.. 2025-11-17 22:51:25,498 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 22:51:30,562 - DEBUG - VM is in ACTIVE state now 2025-11-17 22:51:30,562 - INFO - VM name : ctest-TestBasicPolicy-66962038-48481254 2025-11-17 22:51:30,636 - DEBUG - VM ctest-TestBasicPolicy-66962038-48481254 ID is 0890eab5-7eeb-4a84-a4df-32eceb728dff 2025-11-17 22:51:30,654 - DEBUG - VM ctest-TestBasicPolicy-66962038-48481254 launched on Node cn-jenkins-deploy-platform-ansible-os-4749-1 2025-11-17 22:51:30,713 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0890eab5-7eeb-4a84-a4df-32eceb728dff 2025-11-17 22:51:30,720 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/abb8c363-7890-404f-ab44-10f1b3aec747 2025-11-17 22:51:33,952 - 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 1004ms') 2025-11-17 22:51:33,952 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66962038-48481254 failed! 2025-11-17 22:51:34,003 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66962038:ctest-vn-52812271 is 38.107.113.193 and allocation pool is NOT set 2025-11-17 22:51:36,063 - 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=4.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.758 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.758/2.548/4.338/1.790 ms') 2025-11-17 22:51:36,063 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66962038-48481254 passed 2025-11-17 22:51:36,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:51:36,215 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66962038-48481254, IP 38.107.113.195, Port 22 2025-11-17 22:51:36,366 - DEBUG - VM ctest-TestBasicPolicy-66962038-48481254 is ready for SSH connections 2025-11-17 22:51:36,366 - INFO - Waiting for VM ctest-TestBasicPolicy-66962038-31385962 to be up.. 2025-11-17 22:51:36,428 - DEBUG - VM is in ACTIVE state now 2025-11-17 22:51:36,428 - INFO - VM name : ctest-TestBasicPolicy-66962038-31385962 2025-11-17 22:51:36,494 - DEBUG - VM ctest-TestBasicPolicy-66962038-31385962 ID is de78e0f9-21fa-4585-b391-35a3f8f8d595 2025-11-17 22:51:36,494 - DEBUG - VM ctest-TestBasicPolicy-66962038-31385962 launched on Node cn-jenkins-deploy-platform-ansible-os-4749-1 2025-11-17 22:51:36,556 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/de78e0f9-21fa-4585-b391-35a3f8f8d595 2025-11-17 22:51:36,563 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/28f12dfd-5759-4802-9d8b-44d7564a7b71 2025-11-17 22:51:37,788 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.304 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.304/1.503/2.702/1.199 ms') 2025-11-17 22:51:37,788 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66962038-31385962 passed 2025-11-17 22:51:37,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:51:37,943 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66962038-31385962, IP 151.7.57.67, Port 22 2025-11-17 22:51:38,099 - DEBUG - VM ctest-TestBasicPolicy-66962038-31385962 is ready for SSH connections 2025-11-17 22:51:38,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:51:38,099 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.7.57.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 22:51:38,099 - DEBUG - ping -s 56 -c 3 -W 1 151.7.57.67 2025-11-17 22:51:42,071 - DEBUG - PING 151.7.57.67 (151.7.57.67): 56 data bytes 64 bytes from 151.7.57.67: seq=0 ttl=63 time=3.536 ms 64 bytes from 151.7.57.67: seq=1 ttl=63 time=1.001 ms 64 bytes from 151.7.57.67: seq=2 ttl=63 time=0.659 ms --- 151.7.57.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.659/1.732/3.536 ms 2025-11-17 22:51:42,071 - INFO - Ping to IP 151.7.57.67 from VM ctest-TestBasicPolicy-66962038-48481254 passed 2025-11-17 22:51:42,243 - DEBUG - Policy Update Response {"network-policy": {"uuid": "45758429-207c-456a-a8ca-e9e5bd9b8d67", "href": "http://10.0.0.33:8082/network-policy/45758429-207c-456a-a8ca-e9e5bd9b8d67"}} 2025-11-17 22:51:42,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:51:42,243 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.7.57.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 22:51:42,243 - DEBUG - ping -s 56 -c 3 -W 1 151.7.57.67 2025-11-17 22:51:45,436 - DEBUG - PING 151.7.57.67 (151.7.57.67): 56 data bytes 64 bytes from 151.7.57.67: seq=0 ttl=63 time=1.285 ms --- 151.7.57.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.285/1.285/1.285 ms 2025-11-17 22:51:45,436 - WARNING - Ping to IP 151.7.57.67 from VM ctest-TestBasicPolicy-66962038-48481254 failed 2025-11-17 22:51:45,436 - INFO - Deleting VM ctest-TestBasicPolicy-66962038-31385962 2025-11-17 22:51:45,497 - INFO - Deleting VM ctest-TestBasicPolicy-66962038-48481254 2025-11-17 22:51:45,827 - INFO - Deleted policy ctest-policy-allow-all-08519863 2025-11-17 22:51:45,827 - INFO - Deleting VN ctest-vn-78416681 2025-11-17 22:51:45,855 - DEBUG - VN 57c89397-9f47-4386-98d4-43de4bd0a5c4 still in use: Unable to complete operation on network 57c89397-9f47-4386-98d4-43de4bd0a5c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dacbb587-7b3a-4765-9d65-af360e663dc6'] 2025-11-17 22:51:45,855 - WARNING - Deleting VN ctest-vn-78416681 failed..Will retry 2025-11-17 22:51:47,937 - DEBUG - Response for deleting network () 2025-11-17 22:51:47,937 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e942af93-b59b-4d9e-bf81-2e3e1734104d 2025-11-17 22:51:47,943 - DEBUG - Response Code: 404 2025-11-17 22:51:47,944 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 22:51:47,948 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a50f1eb8-b8ca-4482-80f5-20493ef9b91c 2025-11-17 22:51:48,000 - DEBUG - Requesting: http://10.0.0.33:8082/project/66555add-325b-4725-aaaf-20a65b819591 2025-11-17 22:51:48,065 - INFO - Validated that VN ctest-vn-78416681 is not found in API Server 2025-11-17 22:51:48,074 - DEBUG - VN ctest-vn-78416681 is not present in Agent 10.0.0.33 2025-11-17 22:51:48,074 - INFO - Validated that VN ctest-vn-78416681 is not in any agent 2025-11-17 22:51:48,087 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78416681 info 2025-11-17 22:51:48,087 - INFO - Deleting VN ctest-vn-52812271 2025-11-17 22:51:48,165 - DEBUG - Response for deleting network () 2025-11-17 22:51:48,165 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/97a430a7-1bf8-48da-bff3-e5d268ea1c1d 2025-11-17 22:51:48,172 - DEBUG - Response Code: 404 2025-11-17 22:51:48,172 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 22:51:48,177 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a50f1eb8-b8ca-4482-80f5-20493ef9b91c 2025-11-17 22:51:48,227 - DEBUG - Requesting: http://10.0.0.33:8082/project/66555add-325b-4725-aaaf-20a65b819591 2025-11-17 22:51:48,293 - INFO - Validated that VN ctest-vn-52812271 is not found in API Server 2025-11-17 22:51:48,302 - DEBUG - VN ctest-vn-52812271 is not present in Agent 10.0.0.33 2025-11-17 22:51:48,302 - INFO - Validated that VN ctest-vn-52812271 is not in any agent 2025-11-17 22:51:48,313 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52812271 info 2025-11-17 22:51:48,571 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 22:51:48,571 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-17 22:51:48,571 - INFO - -------------------------------------------------------------------------------- 2025-11-17 22:51:49,197 - INFO - Deleted project: ctest-TestBasicPolicy-66962038, ID : 66555add-325b-4725-aaaf-20a65b819591