2025-11-04 21:51:43,912 - INFO - Domain Default found not creating 2025-11-04 21:51:44,062 - INFO - Project ctest-TestBasicPolicy-14333230 not found, creating it 2025-11-04 21:51:44,511 - INFO - Created Project:ctest-TestBasicPolicy-14333230, ID : a6429c67-970d-40f4-b1b8-8a6db74def16 2025-11-04 21:51:45,943 - INFO - ================================================================================ 2025-11-04 21:51:45,943 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-04 21:51:45,943 - 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-04 21:51:46,195 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-11-04 21:51:46,195 - INFO - Initial checks done. Running the testcase now 2025-11-04 21:51:46,195 - INFO - 2025-11-04 21:51:46,753 - DEBUG - Response for create_network : {'network': {'id': '799dbb9d-8d48-4bd7-8115-0a6072b344e6', 'name': 'ctest-vn-79142326', 'tenant_id': 'a6429c67970d40f4b1b88a6db74def16', 'project_id': 'a6429c67970d40f4b1b88a6db74def16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14333230', 'ctest-vn-79142326'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:51:46,943 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f01277c9-3945-44db-b29c-90b369200d4a', 'name': '', 'tenant_id': 'a6429c67970d40f4b1b88a6db74def16', 'network_id': '799dbb9d-8d48-4bd7-8115-0a6072b344e6', 'ip_version': 4, 'cidr': '197.226.107.0/26', 'allocation_pools': [{'start': '197.226.107.2', 'end': '197.226.107.62'}], 'gateway_ip': '197.226.107.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.226.107.2', 'tags': [], 'project_id': 'a6429c67970d40f4b1b88a6db74def16'}} 2025-11-04 21:51:46,961 - INFO - Created VN ctest-vn-79142326 2025-11-04 21:51:47,014 - DEBUG - VN ctest-vn-79142326 UUID is 799dbb9d-8d48-4bd7-8115-0a6072b344e6 2025-11-04 21:51:47,331 - DEBUG - Response for create_network : {'network': {'id': 'bcf7515d-51e9-4e2d-9b60-a5b365e4da77', 'name': 'ctest-vn-08487400', 'tenant_id': 'a6429c67970d40f4b1b88a6db74def16', 'project_id': 'a6429c67970d40f4b1b88a6db74def16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14333230', 'ctest-vn-08487400'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:51:47,507 - DEBUG - Response for create_subnet : {'subnet': {'id': '6677f68c-2001-41a9-8470-b0784bd7e580', 'name': '', 'tenant_id': 'a6429c67970d40f4b1b88a6db74def16', 'network_id': 'bcf7515d-51e9-4e2d-9b60-a5b365e4da77', 'ip_version': 4, 'cidr': '9.136.254.128/26', 'allocation_pools': [{'start': '9.136.254.130', 'end': '9.136.254.190'}], 'gateway_ip': '9.136.254.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.136.254.130', 'tags': [], 'project_id': 'a6429c67970d40f4b1b88a6db74def16'}} 2025-11-04 21:51:47,526 - INFO - Created VN ctest-vn-08487400 2025-11-04 21:51:47,578 - DEBUG - VN ctest-vn-08487400 UUID is bcf7515d-51e9-4e2d-9b60-a5b365e4da77 2025-11-04 21:51:47,697 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14333230:ctest-vn-79142326, 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-14333230:ctest-vn-08487400, 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-04 21:51:47,984 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '799dbb9d-8d48-4bd7-8115-0a6072b344e6', 'name': 'ctest-vn-79142326', 'tenant_id': 'a6429c67970d40f4b1b88a6db74def16', 'project_id': 'a6429c67970d40f4b1b88a6db74def16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f01277c9-3945-44db-b29c-90b369200d4a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14333230', 'ctest-vn-79142326'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14333230', 'ctest-policy-allow-all-36070536']], 'subnet_ipam': [{'subnet_cidr': '197.226.107.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:51:48,205 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bcf7515d-51e9-4e2d-9b60-a5b365e4da77', 'name': 'ctest-vn-08487400', 'tenant_id': 'a6429c67970d40f4b1b88a6db74def16', 'project_id': 'a6429c67970d40f4b1b88a6db74def16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6677f68c-2001-41a9-8470-b0784bd7e580'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14333230', 'ctest-vn-08487400'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14333230', 'ctest-policy-allow-all-36070536']], 'subnet_ipam': [{'subnet_cidr': '9.136.254.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:51:48,374 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-04 21:51:48,674 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-04 21:51:48,706 - DEBUG - Requesting: http://10.0.0.27:8082/domain/12455651-6c94-4d55-86f1-219ed9e1f1c8 2025-11-04 21:51:48,718 - DEBUG - Requesting: http://10.0.0.27:8082/project/a6429c67-970d-40f4-b1b8-8a6db74def16 2025-11-04 21:51:48,794 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/799dbb9d-8d48-4bd7-8115-0a6072b344e6 2025-11-04 21:51:48,805 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/799dbb9d-8d48-4bd7-8115-0a6072b344e6 2025-11-04 21:51:48,815 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/fc1d14f0-6824-4911-8009-76598fba7b99 2025-11-04 21:51:48,823 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/fc1d14f0-6824-4911-8009-76598fba7b99 2025-11-04 21:51:48,830 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/0afc87c4-ed52-46b0-b4e6-16e4a43816d8 2025-11-04 21:51:48,836 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 21:51:48,836 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/799dbb9d-8d48-4bd7-8115-0a6072b344e6 2025-11-04 21:51:48,844 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/fc1d14f0-6824-4911-8009-76598fba7b99 2025-11-04 21:51:48,858 - INFO - Verified VN network id 11 for VN 799dbb9d-8d48-4bd7-8115-0a6072b344e6 2025-11-04 21:51:48,858 - INFO - Verifications in API Server for VN ctest-vn-79142326 passed 2025-11-04 21:51:48,858 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/799dbb9d-8d48-4bd7-8115-0a6072b344e6 2025-11-04 21:51:48,867 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/fc1d14f0-6824-4911-8009-76598fba7b99 2025-11-04 21:51:48,873 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/fc1d14f0-6824-4911-8009-76598fba7b99 2025-11-04 21:51:48,880 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/0afc87c4-ed52-46b0-b4e6-16e4a43816d8 2025-11-04 21:51:48,891 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14333230:ctest-vn-79142326', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14333230', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8763366735287438295', 'uuid-lslong': '9301352014761116902'}, 'enable': 'true', 'created': '2025-11-04T21:51:46', 'last-modified': '2025-11-04T21:51:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930546'} 2025-11-04 21:51:48,898 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 21:51:48,898 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79142326 passed 2025-11-04 21:51:48,899 - DEBUG - ====Verifying policy data for ctest-vn-79142326 in API_Server ====== 2025-11-04 21:51:48,899 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-04 21:51:48,904 - DEBUG - Requesting: http://10.0.0.27:8082/domain/12455651-6c94-4d55-86f1-219ed9e1f1c8 2025-11-04 21:51:48,915 - DEBUG - Requesting: http://10.0.0.27:8082/project/a6429c67-970d-40f4-b1b8-8a6db74def16 2025-11-04 21:51:48,985 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/799dbb9d-8d48-4bd7-8115-0a6072b344e6 2025-11-04 21:51:48,994 - DEBUG - ==>Verifying data for policy with id: b1a74488-674a-4188-8aa0-791e85560bba, fqn: ['default-domain', 'ctest-TestBasicPolicy-14333230', 'ctest-policy-allow-all-36070536'] 2025-11-04 21:51:48,994 - INFO - VN ctest-vn-79142326 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 21:51:48,994 - DEBUG - Verifying the vn in opserver 2025-11-04 21:51:48,994 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14333230:ctest-vn-79142326 virtual network link through opserver 10.0.0.27 2025-11-04 21:51:48,994 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-11-04 21:51:49,288 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-11-04 21:51:49,345 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14333230:ctest-vn-79142326', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14333230:ctest-vn-79142326?flat'} 2025-11-04 21:51:49,346 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14333230:ctest-vn-79142326 is found in opserver 2025-11-04 21:51:49,354 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 21:51:49,358 - DEBUG - VRF ids for VN ctest-vn-79142326: {} 2025-11-04 21:51:49,358 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-04 21:51:49,364 - DEBUG - Requesting: http://10.0.0.27:8082/domain/12455651-6c94-4d55-86f1-219ed9e1f1c8 2025-11-04 21:51:49,374 - DEBUG - Requesting: http://10.0.0.27:8082/project/a6429c67-970d-40f4-b1b8-8a6db74def16 2025-11-04 21:51:49,444 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bcf7515d-51e9-4e2d-9b60-a5b365e4da77 2025-11-04 21:51:49,454 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bcf7515d-51e9-4e2d-9b60-a5b365e4da77 2025-11-04 21:51:49,462 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/66af6498-b00f-4390-84e5-14666570d244 2025-11-04 21:51:49,468 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/66af6498-b00f-4390-84e5-14666570d244 2025-11-04 21:51:49,474 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/768b23c3-80a1-4ff7-a8e2-f3a18dc3e019 2025-11-04 21:51:49,480 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 21:51:49,480 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bcf7515d-51e9-4e2d-9b60-a5b365e4da77 2025-11-04 21:51:49,489 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/66af6498-b00f-4390-84e5-14666570d244 2025-11-04 21:51:49,502 - INFO - Verified VN network id 12 for VN bcf7515d-51e9-4e2d-9b60-a5b365e4da77 2025-11-04 21:51:49,502 - INFO - Verifications in API Server for VN ctest-vn-08487400 passed 2025-11-04 21:51:49,502 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bcf7515d-51e9-4e2d-9b60-a5b365e4da77 2025-11-04 21:51:49,510 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/66af6498-b00f-4390-84e5-14666570d244 2025-11-04 21:51:49,517 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/66af6498-b00f-4390-84e5-14666570d244 2025-11-04 21:51:49,523 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/768b23c3-80a1-4ff7-a8e2-f3a18dc3e019 2025-11-04 21:51:49,535 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14333230:ctest-vn-08487400', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14333230', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13616441459626036781', 'uuid-lslong': '11196130863570279031'}, 'enable': 'true', 'created': '2025-11-04T21:51:47', 'last-modified': '2025-11-04T21:51:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.342765'} 2025-11-04 21:51:49,540 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 21:51:49,541 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08487400 passed 2025-11-04 21:51:49,541 - DEBUG - ====Verifying policy data for ctest-vn-08487400 in API_Server ====== 2025-11-04 21:51:49,541 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-04 21:51:49,546 - DEBUG - Requesting: http://10.0.0.27:8082/domain/12455651-6c94-4d55-86f1-219ed9e1f1c8 2025-11-04 21:51:49,556 - DEBUG - Requesting: http://10.0.0.27:8082/project/a6429c67-970d-40f4-b1b8-8a6db74def16 2025-11-04 21:51:49,623 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bcf7515d-51e9-4e2d-9b60-a5b365e4da77 2025-11-04 21:51:49,632 - DEBUG - ==>Verifying data for policy with id: b1a74488-674a-4188-8aa0-791e85560bba, fqn: ['default-domain', 'ctest-TestBasicPolicy-14333230', 'ctest-policy-allow-all-36070536'] 2025-11-04 21:51:49,632 - INFO - VN ctest-vn-08487400 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 21:51:49,632 - DEBUG - Verifying the vn in opserver 2025-11-04 21:51:49,632 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14333230:ctest-vn-08487400 virtual network link through opserver 10.0.0.27 2025-11-04 21:51:49,632 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-11-04 21:51:49,641 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14333230:ctest-vn-08487400', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14333230:ctest-vn-08487400?flat'} 2025-11-04 21:51:49,641 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14333230:ctest-vn-08487400 is found in opserver 2025-11-04 21:51:49,649 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 21:51:49,654 - DEBUG - VRF ids for VN ctest-vn-08487400: {} 2025-11-04 21:51:49,706 - DEBUG - Services list from nova: [, , ] 2025-11-04 21:51:50,742 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4624-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4624-1) 2025-11-04 21:51:51,838 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4624-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4624-1) 2025-11-04 21:51:51,839 - INFO - Waiting for VM ctest-TestBasicPolicy-14333230-19118583 to be up.. 2025-11-04 21:51:51,921 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 21:51:57,003 - DEBUG - VM is in ACTIVE state now 2025-11-04 21:51:57,003 - INFO - VM name : ctest-TestBasicPolicy-14333230-19118583 2025-11-04 21:51:57,086 - DEBUG - VM ctest-TestBasicPolicy-14333230-19118583 ID is 6419c3fd-ec27-4766-b4de-403c9fa67fc3 2025-11-04 21:51:57,105 - DEBUG - VM ctest-TestBasicPolicy-14333230-19118583 launched on Node cn-jenkins-deploy-platform-ansible-os-4624-1 2025-11-04 21:51:57,175 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6419c3fd-ec27-4766-b4de-403c9fa67fc3 2025-11-04 21:51:57,182 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/413aa110-43aa-4434-ab82-10f1bebf52c6 2025-11-04 21:52:00,440 - 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 1026ms') 2025-11-04 21:52:00,440 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14333230-19118583 failed! 2025-11-04 21:52:00,498 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-14333230:ctest-vn-79142326 is 197.226.107.1 and allocation pool is NOT set 2025-11-04 21:52:02,558 - 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=9.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.99 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 = 1.986/5.853/9.720/3.867 ms') 2025-11-04 21:52:02,558 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14333230-19118583 passed 2025-11-04 21:52:02,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:52:02,706 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14333230-19118583, IP 197.226.107.3, Port 22 2025-11-04 21:52:02,878 - DEBUG - VM ctest-TestBasicPolicy-14333230-19118583 is ready for SSH connections 2025-11-04 21:52:02,878 - INFO - Waiting for VM ctest-TestBasicPolicy-14333230-36377173 to be up.. 2025-11-04 21:52:02,952 - DEBUG - VM is in ACTIVE state now 2025-11-04 21:52:02,953 - INFO - VM name : ctest-TestBasicPolicy-14333230-36377173 2025-11-04 21:52:03,030 - DEBUG - VM ctest-TestBasicPolicy-14333230-36377173 ID is 203bb835-d16f-4e29-98a7-6441f053a09e 2025-11-04 21:52:03,030 - DEBUG - VM ctest-TestBasicPolicy-14333230-36377173 launched on Node cn-jenkins-deploy-platform-ansible-os-4624-1 2025-11-04 21:52:03,109 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/203bb835-d16f-4e29-98a7-6441f053a09e 2025-11-04 21:52:03,120 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/98ed19f6-b4bf-48de-9792-6533cc7f4827 2025-11-04 21:52:04,364 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.523 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.523/2.078/3.633/1.555 ms') 2025-11-04 21:52:04,364 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-14333230-36377173 passed 2025-11-04 21:52:04,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:52:04,510 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14333230-36377173, IP 9.136.254.131, Port 22 2025-11-04 21:52:04,666 - DEBUG - VM ctest-TestBasicPolicy-14333230-36377173 is ready for SSH connections 2025-11-04 21:52:04,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:52:04,666 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.136.254.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-04 21:52:04,666 - DEBUG - ping -s 56 -c 3 -W 1 9.136.254.131 2025-11-04 21:52:08,685 - DEBUG - PING 9.136.254.131 (9.136.254.131): 56 data bytes 64 bytes from 9.136.254.131: seq=0 ttl=63 time=3.963 ms 64 bytes from 9.136.254.131: seq=1 ttl=63 time=1.390 ms 64 bytes from 9.136.254.131: seq=2 ttl=63 time=1.045 ms --- 9.136.254.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.045/2.132/3.963 ms 2025-11-04 21:52:08,685 - INFO - Ping to IP 9.136.254.131 from VM ctest-TestBasicPolicy-14333230-19118583 passed 2025-11-04 21:52:08,854 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b1a74488-674a-4188-8aa0-791e85560bba", "href": "http://10.0.0.27:8082/network-policy/b1a74488-674a-4188-8aa0-791e85560bba"}} 2025-11-04 21:52:08,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:52:08,854 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.136.254.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-04 21:52:08,854 - DEBUG - ping -s 56 -c 3 -W 1 9.136.254.131 2025-11-04 21:52:12,070 - DEBUG - PING 9.136.254.131 (9.136.254.131): 56 data bytes --- 9.136.254.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 21:52:12,070 - WARNING - Ping to IP 9.136.254.131 from VM ctest-TestBasicPolicy-14333230-19118583 failed 2025-11-04 21:52:12,070 - INFO - Deleting VM ctest-TestBasicPolicy-14333230-36377173 2025-11-04 21:52:12,137 - INFO - Deleting VM ctest-TestBasicPolicy-14333230-19118583 2025-11-04 21:52:12,491 - INFO - Deleted policy ctest-policy-allow-all-36070536 2025-11-04 21:52:12,491 - INFO - Deleting VN ctest-vn-08487400 2025-11-04 21:52:12,529 - DEBUG - VN bcf7515d-51e9-4e2d-9b60-a5b365e4da77 still in use: Unable to complete operation on network bcf7515d-51e9-4e2d-9b60-a5b365e4da77. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-de2bbaa0-0481-4120-9239-9ff0fc72405c'] 2025-11-04 21:52:12,529 - WARNING - Deleting VN ctest-vn-08487400 failed..Will retry 2025-11-04 21:52:14,633 - DEBUG - Response for deleting network () 2025-11-04 21:52:14,634 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/66af6498-b00f-4390-84e5-14666570d244 2025-11-04 21:52:14,639 - DEBUG - Response Code: 404 2025-11-04 21:52:14,640 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-04 21:52:14,645 - DEBUG - Requesting: http://10.0.0.27:8082/domain/12455651-6c94-4d55-86f1-219ed9e1f1c8 2025-11-04 21:52:14,703 - DEBUG - Requesting: http://10.0.0.27:8082/project/a6429c67-970d-40f4-b1b8-8a6db74def16 2025-11-04 21:52:14,778 - INFO - Validated that VN ctest-vn-08487400 is not found in API Server 2025-11-04 21:52:14,788 - DEBUG - VN ctest-vn-08487400 is not present in Agent 10.0.0.27 2025-11-04 21:52:14,788 - INFO - Validated that VN ctest-vn-08487400 is not in any agent 2025-11-04 21:52:14,801 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08487400 info 2025-11-04 21:52:14,801 - INFO - Deleting VN ctest-vn-79142326 2025-11-04 21:52:14,895 - DEBUG - Response for deleting network () 2025-11-04 21:52:14,895 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/fc1d14f0-6824-4911-8009-76598fba7b99 2025-11-04 21:52:14,901 - DEBUG - Response Code: 404 2025-11-04 21:52:14,901 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-04 21:52:14,906 - DEBUG - Requesting: http://10.0.0.27:8082/domain/12455651-6c94-4d55-86f1-219ed9e1f1c8 2025-11-04 21:52:14,963 - DEBUG - Requesting: http://10.0.0.27:8082/project/a6429c67-970d-40f4-b1b8-8a6db74def16 2025-11-04 21:52:15,038 - INFO - Validated that VN ctest-vn-79142326 is not found in API Server 2025-11-04 21:52:15,047 - DEBUG - VN ctest-vn-79142326 is not present in Agent 10.0.0.27 2025-11-04 21:52:15,047 - INFO - Validated that VN ctest-vn-79142326 is not in any agent 2025-11-04 21:52:15,059 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79142326 info 2025-11-04 21:52:15,310 - DEBUG - No XMPP flaps were noticed during the test 2025-11-04 21:52:15,310 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-11-04 21:52:15,310 - INFO - -------------------------------------------------------------------------------- 2025-11-04 21:52:15,992 - INFO - Deleted project: ctest-TestBasicPolicy-14333230, ID : a6429c67-970d-40f4-b1b8-8a6db74def16