2025-11-04 13:58:03,644 - INFO - Domain Default found not creating 2025-11-04 13:58:03,818 - INFO - Project ctest-TestBasicPolicy-40404008 not found, creating it 2025-11-04 13:58:04,251 - INFO - Created Project:ctest-TestBasicPolicy-40404008, ID : 69de9395-97d4-461d-9c4c-550be9c1eba9 2025-11-04 13:58:05,597 - INFO - ================================================================================ 2025-11-04 13:58:05,597 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-04 13:58:05,597 - 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 13:58:05,858 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-04 13:58:05,858 - INFO - Initial checks done. Running the testcase now 2025-11-04 13:58:05,858 - INFO - 2025-11-04 13:58:06,355 - DEBUG - Response for create_network : {'network': {'id': '4d862780-137c-4480-b397-2e216a01f66a', 'name': 'ctest-vn-86461160', 'tenant_id': '69de939597d4461d9c4c550be9c1eba9', 'project_id': '69de939597d4461d9c4c550be9c1eba9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40404008', 'ctest-vn-86461160'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 13:58:06,505 - DEBUG - Response for create_subnet : {'subnet': {'id': '06b8e119-0916-4617-a899-13a0f14e4be9', 'name': '', 'tenant_id': '69de939597d4461d9c4c550be9c1eba9', 'network_id': '4d862780-137c-4480-b397-2e216a01f66a', 'ip_version': 4, 'cidr': '24.234.16.192/26', 'allocation_pools': [{'start': '24.234.16.194', 'end': '24.234.16.254'}], 'gateway_ip': '24.234.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.234.16.194', 'tags': [], 'project_id': '69de939597d4461d9c4c550be9c1eba9'}} 2025-11-04 13:58:06,525 - INFO - Created VN ctest-vn-86461160 2025-11-04 13:58:06,577 - DEBUG - VN ctest-vn-86461160 UUID is 4d862780-137c-4480-b397-2e216a01f66a 2025-11-04 13:58:06,896 - DEBUG - Response for create_network : {'network': {'id': '04749bda-7c29-48a6-9cd4-f36cdd5c0a28', 'name': 'ctest-vn-73325900', 'tenant_id': '69de939597d4461d9c4c550be9c1eba9', 'project_id': '69de939597d4461d9c4c550be9c1eba9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40404008', 'ctest-vn-73325900'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 13:58:07,043 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db3d65be-b0fc-4afb-b8ef-62d65f5c6f95', 'name': '', 'tenant_id': '69de939597d4461d9c4c550be9c1eba9', 'network_id': '04749bda-7c29-48a6-9cd4-f36cdd5c0a28', 'ip_version': 4, 'cidr': '195.188.88.128/26', 'allocation_pools': [{'start': '195.188.88.130', 'end': '195.188.88.190'}], 'gateway_ip': '195.188.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.188.88.130', 'tags': [], 'project_id': '69de939597d4461d9c4c550be9c1eba9'}} 2025-11-04 13:58:07,059 - INFO - Created VN ctest-vn-73325900 2025-11-04 13:58:07,109 - DEBUG - VN ctest-vn-73325900 UUID is 04749bda-7c29-48a6-9cd4-f36cdd5c0a28 2025-11-04 13:58:07,220 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40404008:ctest-vn-86461160, 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-40404008:ctest-vn-73325900, 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 13:58:07,520 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4d862780-137c-4480-b397-2e216a01f66a', 'name': 'ctest-vn-86461160', 'tenant_id': '69de939597d4461d9c4c550be9c1eba9', 'project_id': '69de939597d4461d9c4c550be9c1eba9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['06b8e119-0916-4617-a899-13a0f14e4be9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40404008', 'ctest-vn-86461160'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40404008', 'ctest-policy-allow-all-74754954']], 'subnet_ipam': [{'subnet_cidr': '24.234.16.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 13:58:07,746 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '04749bda-7c29-48a6-9cd4-f36cdd5c0a28', 'name': 'ctest-vn-73325900', 'tenant_id': '69de939597d4461d9c4c550be9c1eba9', 'project_id': '69de939597d4461d9c4c550be9c1eba9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['db3d65be-b0fc-4afb-b8ef-62d65f5c6f95'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40404008', 'ctest-vn-73325900'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40404008', 'ctest-policy-allow-all-74754954']], 'subnet_ipam': [{'subnet_cidr': '195.188.88.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 13:58:07,913 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 13:58:08,208 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 13:58:08,235 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3507ae07-c3d7-4704-ae8e-493c0eb5d9a3 2025-11-04 13:58:08,246 - DEBUG - Requesting: http://10.0.0.50:8082/project/69de9395-97d4-461d-9c4c-550be9c1eba9 2025-11-04 13:58:08,321 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4d862780-137c-4480-b397-2e216a01f66a 2025-11-04 13:58:08,330 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4d862780-137c-4480-b397-2e216a01f66a 2025-11-04 13:58:08,338 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/263f167c-ec8b-44a5-b873-c1786bd822c4 2025-11-04 13:58:08,345 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/263f167c-ec8b-44a5-b873-c1786bd822c4 2025-11-04 13:58:08,351 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/09aa7dca-09ff-43f2-803f-2f307c00ab7c 2025-11-04 13:58:08,357 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 13:58:08,357 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4d862780-137c-4480-b397-2e216a01f66a 2025-11-04 13:58:08,365 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/263f167c-ec8b-44a5-b873-c1786bd822c4 2025-11-04 13:58:08,379 - INFO - Verified VN network id 12 for VN 4d862780-137c-4480-b397-2e216a01f66a 2025-11-04 13:58:08,379 - INFO - Verifications in API Server for VN ctest-vn-86461160 passed 2025-11-04 13:58:08,379 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4d862780-137c-4480-b397-2e216a01f66a 2025-11-04 13:58:08,387 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/263f167c-ec8b-44a5-b873-c1786bd822c4 2025-11-04 13:58:08,394 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/263f167c-ec8b-44a5-b873-c1786bd822c4 2025-11-04 13:58:08,400 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/09aa7dca-09ff-43f2-803f-2f307c00ab7c 2025-11-04 13:58:08,411 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40404008:ctest-vn-86461160', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40404008', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5586195818835887232', 'uuid-lslong': '12940862775319721578'}, 'enable': 'true', 'created': '2025-11-04T13:58:06', 'last-modified': '2025-11-04T13:58:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.911476'} 2025-11-04 13:58:08,419 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 13:58:08,419 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86461160 passed 2025-11-04 13:58:08,419 - DEBUG - ====Verifying policy data for ctest-vn-86461160 in API_Server ====== 2025-11-04 13:58:08,419 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 13:58:08,425 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3507ae07-c3d7-4704-ae8e-493c0eb5d9a3 2025-11-04 13:58:08,435 - DEBUG - Requesting: http://10.0.0.50:8082/project/69de9395-97d4-461d-9c4c-550be9c1eba9 2025-11-04 13:58:08,502 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4d862780-137c-4480-b397-2e216a01f66a 2025-11-04 13:58:08,509 - DEBUG - ==>Verifying data for policy with id: a216796f-7ad6-4c2f-bd52-4fec0cd3bb1b, fqn: ['default-domain', 'ctest-TestBasicPolicy-40404008', 'ctest-policy-allow-all-74754954'] 2025-11-04 13:58:08,510 - INFO - VN ctest-vn-86461160 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 13:58:08,510 - DEBUG - Verifying the vn in opserver 2025-11-04 13:58:08,510 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40404008:ctest-vn-86461160 virtual network link through opserver 10.0.0.50 2025-11-04 13:58:08,510 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-04 13:58:08,798 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-04 13:58:08,853 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40404008:ctest-vn-86461160', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40404008:ctest-vn-86461160?flat'} 2025-11-04 13:58:08,853 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40404008:ctest-vn-86461160 is found in opserver 2025-11-04 13:58:08,861 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 13:58:08,865 - DEBUG - VRF ids for VN ctest-vn-86461160: {} 2025-11-04 13:58:08,865 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 13:58:08,870 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3507ae07-c3d7-4704-ae8e-493c0eb5d9a3 2025-11-04 13:58:08,878 - DEBUG - Requesting: http://10.0.0.50:8082/project/69de9395-97d4-461d-9c4c-550be9c1eba9 2025-11-04 13:58:08,942 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/04749bda-7c29-48a6-9cd4-f36cdd5c0a28 2025-11-04 13:58:08,952 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/04749bda-7c29-48a6-9cd4-f36cdd5c0a28 2025-11-04 13:58:08,959 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3830e506-e1b2-41be-a510-3f47f687cc9f 2025-11-04 13:58:08,965 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3830e506-e1b2-41be-a510-3f47f687cc9f 2025-11-04 13:58:08,970 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/25081cf7-2a10-4e0f-bb07-7f0501e7b373 2025-11-04 13:58:08,975 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 13:58:08,975 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/04749bda-7c29-48a6-9cd4-f36cdd5c0a28 2025-11-04 13:58:08,982 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3830e506-e1b2-41be-a510-3f47f687cc9f 2025-11-04 13:58:08,993 - INFO - Verified VN network id 13 for VN 04749bda-7c29-48a6-9cd4-f36cdd5c0a28 2025-11-04 13:58:08,993 - INFO - Verifications in API Server for VN ctest-vn-73325900 passed 2025-11-04 13:58:08,993 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/04749bda-7c29-48a6-9cd4-f36cdd5c0a28 2025-11-04 13:58:09,001 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3830e506-e1b2-41be-a510-3f47f687cc9f 2025-11-04 13:58:09,006 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3830e506-e1b2-41be-a510-3f47f687cc9f 2025-11-04 13:58:09,011 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/25081cf7-2a10-4e0f-bb07-7f0501e7b373 2025-11-04 13:58:09,022 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40404008:ctest-vn-73325900', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40404008', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '321052836138404006', 'uuid-lslong': '11300925013875231272'}, 'enable': 'true', 'created': '2025-11-04T13:58:06', 'last-modified': '2025-11-04T13:58:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.299769'} 2025-11-04 13:58:09,027 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 13:58:09,027 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73325900 passed 2025-11-04 13:58:09,027 - DEBUG - ====Verifying policy data for ctest-vn-73325900 in API_Server ====== 2025-11-04 13:58:09,027 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 13:58:09,032 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3507ae07-c3d7-4704-ae8e-493c0eb5d9a3 2025-11-04 13:58:09,042 - DEBUG - Requesting: http://10.0.0.50:8082/project/69de9395-97d4-461d-9c4c-550be9c1eba9 2025-11-04 13:58:09,111 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/04749bda-7c29-48a6-9cd4-f36cdd5c0a28 2025-11-04 13:58:09,119 - DEBUG - ==>Verifying data for policy with id: a216796f-7ad6-4c2f-bd52-4fec0cd3bb1b, fqn: ['default-domain', 'ctest-TestBasicPolicy-40404008', 'ctest-policy-allow-all-74754954'] 2025-11-04 13:58:09,119 - INFO - VN ctest-vn-73325900 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 13:58:09,119 - DEBUG - Verifying the vn in opserver 2025-11-04 13:58:09,119 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40404008:ctest-vn-73325900 virtual network link through opserver 10.0.0.50 2025-11-04 13:58:09,119 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-04 13:58:09,128 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40404008:ctest-vn-73325900', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40404008:ctest-vn-73325900?flat'} 2025-11-04 13:58:09,128 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40404008:ctest-vn-73325900 is found in opserver 2025-11-04 13:58:09,136 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 13:58:09,140 - DEBUG - VRF ids for VN ctest-vn-73325900: {} 2025-11-04 13:58:09,204 - DEBUG - Services list from nova: [, , ] 2025-11-04 13:58:10,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4616-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4616-1) 2025-11-04 13:58:11,338 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4616-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4616-1) 2025-11-04 13:58:11,338 - INFO - Waiting for VM ctest-TestBasicPolicy-40404008-57627004 to be up.. 2025-11-04 13:58:11,409 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 13:58:16,523 - DEBUG - VM is in ACTIVE state now 2025-11-04 13:58:16,523 - INFO - VM name : ctest-TestBasicPolicy-40404008-57627004 2025-11-04 13:58:16,640 - DEBUG - VM ctest-TestBasicPolicy-40404008-57627004 ID is 6d39d7fb-c8ab-4362-b862-5b8891e53b7f 2025-11-04 13:58:16,663 - DEBUG - VM ctest-TestBasicPolicy-40404008-57627004 launched on Node cn-jenkins-deploy-platform-ansible-os-4616-1 2025-11-04 13:58:16,798 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6d39d7fb-c8ab-4362-b862-5b8891e53b7f 2025-11-04 13:58:16,818 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/76a33fb5-b79d-4c9a-a73d-f13d65167865 2025-11-04 13:58:20,125 - 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 13:58:20,125 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40404008-57627004 failed! 2025-11-04 13:58:20,177 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40404008:ctest-vn-86461160 is 24.234.16.193 and allocation pool is NOT set 2025-11-04 13:58:22,235 - 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=3.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.832 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.832/2.188/3.544/1.356 ms') 2025-11-04 13:58:22,235 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40404008-57627004 passed 2025-11-04 13:58:22,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 13:58:22,381 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40404008-57627004, IP 24.234.16.195, Port 22 2025-11-04 13:58:22,537 - DEBUG - VM ctest-TestBasicPolicy-40404008-57627004 is ready for SSH connections 2025-11-04 13:58:22,537 - INFO - Waiting for VM ctest-TestBasicPolicy-40404008-44485609 to be up.. 2025-11-04 13:58:22,602 - DEBUG - VM is in ACTIVE state now 2025-11-04 13:58:22,602 - INFO - VM name : ctest-TestBasicPolicy-40404008-44485609 2025-11-04 13:58:22,665 - DEBUG - VM ctest-TestBasicPolicy-40404008-44485609 ID is ae715efd-43c6-4d52-9ecc-a1829389186d 2025-11-04 13:58:22,665 - DEBUG - VM ctest-TestBasicPolicy-40404008-44485609 launched on Node cn-jenkins-deploy-platform-ansible-os-4616-1 2025-11-04 13:58:22,733 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ae715efd-43c6-4d52-9ecc-a1829389186d 2025-11-04 13:58:22,740 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9b68050b-6f27-43d7-9a70-558eb3de91a2 2025-11-04 13:58:23,974 - 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=5.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.914 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.914/3.306/5.699/2.392 ms') 2025-11-04 13:58:23,974 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40404008-44485609 passed 2025-11-04 13:58:24,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 13:58:24,129 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40404008-44485609, IP 195.188.88.131, Port 22 2025-11-04 13:58:24,285 - DEBUG - VM ctest-TestBasicPolicy-40404008-44485609 is ready for SSH connections 2025-11-04 13:58:24,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 13:58:24,285 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.188.88.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 13:58:24,285 - DEBUG - ping -s 56 -c 3 -W 1 195.188.88.131 2025-11-04 13:58:28,010 - DEBUG - PING 195.188.88.131 (195.188.88.131): 56 data bytes 64 bytes from 195.188.88.131: seq=0 ttl=63 time=3.371 ms 64 bytes from 195.188.88.131: seq=1 ttl=63 time=1.107 ms 64 bytes from 195.188.88.131: seq=2 ttl=63 time=0.869 ms --- 195.188.88.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.869/1.782/3.371 ms 2025-11-04 13:58:28,010 - INFO - Ping to IP 195.188.88.131 from VM ctest-TestBasicPolicy-40404008-57627004 passed 2025-11-04 13:58:28,201 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a216796f-7ad6-4c2f-bd52-4fec0cd3bb1b", "href": "http://10.0.0.50:8082/network-policy/a216796f-7ad6-4c2f-bd52-4fec0cd3bb1b"}} 2025-11-04 13:58:28,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 13:58:28,201 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.188.88.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 13:58:28,202 - DEBUG - ping -s 56 -c 3 -W 1 195.188.88.131 2025-11-04 13:58:31,403 - DEBUG - PING 195.188.88.131 (195.188.88.131): 56 data bytes --- 195.188.88.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 13:58:31,403 - WARNING - Ping to IP 195.188.88.131 from VM ctest-TestBasicPolicy-40404008-57627004 failed 2025-11-04 13:58:31,403 - INFO - Deleting VM ctest-TestBasicPolicy-40404008-44485609 2025-11-04 13:58:31,473 - INFO - Deleting VM ctest-TestBasicPolicy-40404008-57627004 2025-11-04 13:58:31,854 - INFO - Deleted policy ctest-policy-allow-all-74754954 2025-11-04 13:58:31,854 - INFO - Deleting VN ctest-vn-73325900 2025-11-04 13:58:31,888 - DEBUG - VN 04749bda-7c29-48a6-9cd4-f36cdd5c0a28 still in use: Unable to complete operation on network 04749bda-7c29-48a6-9cd4-f36cdd5c0a28. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5d199d82-1748-4a83-83d9-208d05095fba'] 2025-11-04 13:58:31,888 - WARNING - Deleting VN ctest-vn-73325900 failed..Will retry 2025-11-04 13:58:33,980 - DEBUG - Response for deleting network () 2025-11-04 13:58:33,981 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3830e506-e1b2-41be-a510-3f47f687cc9f 2025-11-04 13:58:33,988 - DEBUG - Response Code: 404 2025-11-04 13:58:33,988 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 13:58:33,993 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3507ae07-c3d7-4704-ae8e-493c0eb5d9a3 2025-11-04 13:58:34,046 - DEBUG - Requesting: http://10.0.0.50:8082/project/69de9395-97d4-461d-9c4c-550be9c1eba9 2025-11-04 13:58:34,111 - INFO - Validated that VN ctest-vn-73325900 is not found in API Server 2025-11-04 13:58:34,120 - DEBUG - VN ctest-vn-73325900 is not present in Agent 10.0.0.50 2025-11-04 13:58:34,120 - INFO - Validated that VN ctest-vn-73325900 is not in any agent 2025-11-04 13:58:34,134 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73325900 info 2025-11-04 13:58:34,134 - INFO - Deleting VN ctest-vn-86461160 2025-11-04 13:58:34,222 - DEBUG - Response for deleting network () 2025-11-04 13:58:34,222 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/263f167c-ec8b-44a5-b873-c1786bd822c4 2025-11-04 13:58:34,229 - DEBUG - Response Code: 404 2025-11-04 13:58:34,229 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 13:58:34,234 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3507ae07-c3d7-4704-ae8e-493c0eb5d9a3 2025-11-04 13:58:34,286 - DEBUG - Requesting: http://10.0.0.50:8082/project/69de9395-97d4-461d-9c4c-550be9c1eba9 2025-11-04 13:58:34,353 - INFO - Validated that VN ctest-vn-86461160 is not found in API Server 2025-11-04 13:58:34,360 - DEBUG - VN ctest-vn-86461160 is not present in Agent 10.0.0.50 2025-11-04 13:58:34,360 - INFO - Validated that VN ctest-vn-86461160 is not in any agent 2025-11-04 13:58:34,371 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86461160 info 2025-11-04 13:58:34,621 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 13:58:34,621 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-04 13:58:34,621 - INFO - -------------------------------------------------------------------------------- 2025-11-04 13:58:35,257 - INFO - Deleted project: ctest-TestBasicPolicy-40404008, ID : 69de9395-97d4-461d-9c4c-550be9c1eba9