2025-06-09 12:50:06,614 - INFO - Domain Default found not creating 2025-06-09 12:50:06,790 - INFO - Project ctest-TestBasicPolicy-23064684 not found, creating it 2025-06-09 12:50:07,270 - INFO - Created Project:ctest-TestBasicPolicy-23064684, ID : 5891d580-9814-4d7f-b357-cfd0e97eaecd 2025-06-09 12:50:08,756 - INFO - ================================================================================ 2025-06-09 12:50:08,757 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-09 12:50:08,757 - 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-06-09 12:50:09,019 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-06-09 12:50:09,020 - INFO - Initial checks done. Running the testcase now 2025-06-09 12:50:09,020 - INFO - 2025-06-09 12:50:09,564 - DEBUG - Response for create_network : {'network': {'id': '314e38e8-59b0-4994-96d1-738df303617a', 'name': 'ctest-vn-24112125', 'tenant_id': '5891d58098144d7fb357cfd0e97eaecd', 'project_id': '5891d58098144d7fb357cfd0e97eaecd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23064684', 'ctest-vn-24112125'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 12:50:09,765 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c67ecd2-bd14-464c-9e60-10000a5ba8e5', 'name': '', 'tenant_id': '5891d58098144d7fb357cfd0e97eaecd', 'network_id': '314e38e8-59b0-4994-96d1-738df303617a', 'ip_version': 4, 'cidr': '50.1.116.64/26', 'allocation_pools': [{'start': '50.1.116.66', 'end': '50.1.116.126'}], 'gateway_ip': '50.1.116.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.1.116.66', 'tags': [], 'project_id': '5891d58098144d7fb357cfd0e97eaecd'}} 2025-06-09 12:50:09,783 - INFO - Created VN ctest-vn-24112125 2025-06-09 12:50:09,837 - DEBUG - VN ctest-vn-24112125 UUID is 314e38e8-59b0-4994-96d1-738df303617a 2025-06-09 12:50:10,155 - DEBUG - Response for create_network : {'network': {'id': 'bf310278-dd6c-4e12-aa1a-82324b13b987', 'name': 'ctest-vn-17655413', 'tenant_id': '5891d58098144d7fb357cfd0e97eaecd', 'project_id': '5891d58098144d7fb357cfd0e97eaecd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23064684', 'ctest-vn-17655413'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 12:50:10,353 - DEBUG - Response for create_subnet : {'subnet': {'id': '43c9b87a-4728-48b0-929c-50197e615219', 'name': '', 'tenant_id': '5891d58098144d7fb357cfd0e97eaecd', 'network_id': 'bf310278-dd6c-4e12-aa1a-82324b13b987', 'ip_version': 4, 'cidr': '202.214.132.192/26', 'allocation_pools': [{'start': '202.214.132.194', 'end': '202.214.132.254'}], 'gateway_ip': '202.214.132.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.214.132.194', 'tags': [], 'project_id': '5891d58098144d7fb357cfd0e97eaecd'}} 2025-06-09 12:50:10,371 - INFO - Created VN ctest-vn-17655413 2025-06-09 12:50:10,433 - DEBUG - VN ctest-vn-17655413 UUID is bf310278-dd6c-4e12-aa1a-82324b13b987 2025-06-09 12:50:10,603 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23064684:ctest-vn-24112125, 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-23064684:ctest-vn-17655413, 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-06-09 12:50:10,910 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '314e38e8-59b0-4994-96d1-738df303617a', 'name': 'ctest-vn-24112125', 'tenant_id': '5891d58098144d7fb357cfd0e97eaecd', 'project_id': '5891d58098144d7fb357cfd0e97eaecd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7c67ecd2-bd14-464c-9e60-10000a5ba8e5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23064684', 'ctest-vn-24112125'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23064684', 'ctest-policy-allow-all-11581562']], 'subnet_ipam': [{'subnet_cidr': '50.1.116.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-09 12:50:11,149 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bf310278-dd6c-4e12-aa1a-82324b13b987', 'name': 'ctest-vn-17655413', 'tenant_id': '5891d58098144d7fb357cfd0e97eaecd', 'project_id': '5891d58098144d7fb357cfd0e97eaecd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['43c9b87a-4728-48b0-929c-50197e615219'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23064684', 'ctest-vn-17655413'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23064684', 'ctest-policy-allow-all-11581562']], 'subnet_ipam': [{'subnet_cidr': '202.214.132.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-09 12:50:11,313 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-09 12:50:11,634 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-09 12:50:11,669 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f260d6f1-7f67-4167-8e30-893eafa50950 2025-06-09 12:50:11,685 - DEBUG - Requesting: http://10.0.0.254:8082/project/5891d580-9814-4d7f-b357-cfd0e97eaecd 2025-06-09 12:50:11,766 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/314e38e8-59b0-4994-96d1-738df303617a 2025-06-09 12:50:11,780 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/314e38e8-59b0-4994-96d1-738df303617a 2025-06-09 12:50:11,792 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a9056f20-9839-4f2f-86cc-9e5d1d1f17f5 2025-06-09 12:50:11,802 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a9056f20-9839-4f2f-86cc-9e5d1d1f17f5 2025-06-09 12:50:11,810 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0cc14307-b675-462a-8b5d-ff1d361bcefe 2025-06-09 12:50:11,817 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-09 12:50:11,817 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/314e38e8-59b0-4994-96d1-738df303617a 2025-06-09 12:50:11,826 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a9056f20-9839-4f2f-86cc-9e5d1d1f17f5 2025-06-09 12:50:11,842 - INFO - Verified VN network id 8 for VN 314e38e8-59b0-4994-96d1-738df303617a 2025-06-09 12:50:11,842 - INFO - Verifications in API Server for VN ctest-vn-24112125 passed 2025-06-09 12:50:11,842 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/314e38e8-59b0-4994-96d1-738df303617a 2025-06-09 12:50:11,852 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a9056f20-9839-4f2f-86cc-9e5d1d1f17f5 2025-06-09 12:50:11,860 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a9056f20-9839-4f2f-86cc-9e5d1d1f17f5 2025-06-09 12:50:11,868 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0cc14307-b675-462a-8b5d-ff1d361bcefe 2025-06-09 12:50:11,882 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23064684:ctest-vn-24112125', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23064684', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3552839726630193556', 'uuid-lslong': '10867594429326385530'}, 'enable': 'true', 'created': '2025-06-09T12:50:09', 'last-modified': '2025-06-09T12:50:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.998046'} 2025-06-09 12:50:11,889 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-09 12:50:11,889 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24112125 passed 2025-06-09 12:50:11,890 - DEBUG - ====Verifying policy data for ctest-vn-24112125 in API_Server ====== 2025-06-09 12:50:11,890 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-09 12:50:11,896 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f260d6f1-7f67-4167-8e30-893eafa50950 2025-06-09 12:50:11,909 - DEBUG - Requesting: http://10.0.0.254:8082/project/5891d580-9814-4d7f-b357-cfd0e97eaecd 2025-06-09 12:50:11,983 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/314e38e8-59b0-4994-96d1-738df303617a 2025-06-09 12:50:11,996 - DEBUG - ==>Verifying data for policy with id: b1f18801-7127-491f-bcf3-a41d74428e64, fqn: ['default-domain', 'ctest-TestBasicPolicy-23064684', 'ctest-policy-allow-all-11581562'] 2025-06-09 12:50:11,996 - INFO - VN ctest-vn-24112125 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-09 12:50:11,996 - DEBUG - Verifying the vn in opserver 2025-06-09 12:50:11,996 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23064684:ctest-vn-24112125 virtual network link through opserver 10.0.0.254 2025-06-09 12:50:11,996 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-09 12:50:12,298 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-09 12:50:12,357 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23064684:ctest-vn-24112125', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23064684:ctest-vn-24112125?flat'} 2025-06-09 12:50:12,357 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23064684:ctest-vn-24112125 is found in opserver 2025-06-09 12:50:12,368 - DEBUG - Do not have enough data to verify VN in agent 2025-06-09 12:50:12,374 - DEBUG - VRF ids for VN ctest-vn-24112125: {} 2025-06-09 12:50:12,374 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-09 12:50:12,380 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f260d6f1-7f67-4167-8e30-893eafa50950 2025-06-09 12:50:12,394 - DEBUG - Requesting: http://10.0.0.254:8082/project/5891d580-9814-4d7f-b357-cfd0e97eaecd 2025-06-09 12:50:12,473 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bf310278-dd6c-4e12-aa1a-82324b13b987 2025-06-09 12:50:12,489 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bf310278-dd6c-4e12-aa1a-82324b13b987 2025-06-09 12:50:12,502 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/79784d9d-d1f9-4ff7-87a0-577311f22be2 2025-06-09 12:50:12,512 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/79784d9d-d1f9-4ff7-87a0-577311f22be2 2025-06-09 12:50:12,522 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/01e99517-19cd-4d83-866a-c84063f8333b 2025-06-09 12:50:12,532 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-09 12:50:12,533 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bf310278-dd6c-4e12-aa1a-82324b13b987 2025-06-09 12:50:12,547 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/79784d9d-d1f9-4ff7-87a0-577311f22be2 2025-06-09 12:50:12,568 - INFO - Verified VN network id 9 for VN bf310278-dd6c-4e12-aa1a-82324b13b987 2025-06-09 12:50:12,569 - INFO - Verifications in API Server for VN ctest-vn-17655413 passed 2025-06-09 12:50:12,569 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bf310278-dd6c-4e12-aa1a-82324b13b987 2025-06-09 12:50:12,581 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/79784d9d-d1f9-4ff7-87a0-577311f22be2 2025-06-09 12:50:12,592 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/79784d9d-d1f9-4ff7-87a0-577311f22be2 2025-06-09 12:50:12,602 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/01e99517-19cd-4d83-866a-c84063f8333b 2025-06-09 12:50:12,618 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23064684:ctest-vn-17655413', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23064684', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13776795453237251602', 'uuid-lslong': '12257252488361785735'}, 'enable': 'true', 'created': '2025-06-09T12:50:10', 'last-modified': '2025-06-09T12:50:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.489488'} 2025-06-09 12:50:12,627 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-09 12:50:12,627 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17655413 passed 2025-06-09 12:50:12,627 - DEBUG - ====Verifying policy data for ctest-vn-17655413 in API_Server ====== 2025-06-09 12:50:12,627 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-09 12:50:12,634 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f260d6f1-7f67-4167-8e30-893eafa50950 2025-06-09 12:50:12,650 - DEBUG - Requesting: http://10.0.0.254:8082/project/5891d580-9814-4d7f-b357-cfd0e97eaecd 2025-06-09 12:50:12,736 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/bf310278-dd6c-4e12-aa1a-82324b13b987 2025-06-09 12:50:12,749 - DEBUG - ==>Verifying data for policy with id: b1f18801-7127-491f-bcf3-a41d74428e64, fqn: ['default-domain', 'ctest-TestBasicPolicy-23064684', 'ctest-policy-allow-all-11581562'] 2025-06-09 12:50:12,749 - INFO - VN ctest-vn-17655413 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-09 12:50:12,749 - DEBUG - Verifying the vn in opserver 2025-06-09 12:50:12,749 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23064684:ctest-vn-17655413 virtual network link through opserver 10.0.0.254 2025-06-09 12:50:12,749 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-09 12:50:12,761 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23064684:ctest-vn-17655413', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23064684:ctest-vn-17655413?flat'} 2025-06-09 12:50:12,761 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23064684:ctest-vn-17655413 is found in opserver 2025-06-09 12:50:12,773 - DEBUG - Do not have enough data to verify VN in agent 2025-06-09 12:50:12,779 - DEBUG - VRF ids for VN ctest-vn-17655413: {} 2025-06-09 12:50:12,838 - DEBUG - Services list from nova: [, , ] 2025-06-09 12:50:13,859 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3424-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3424-1) 2025-06-09 12:50:15,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3424-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3424-1) 2025-06-09 12:50:15,080 - INFO - Waiting for VM ctest-TestBasicPolicy-23064684-33997994 to be up.. 2025-06-09 12:50:15,175 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-09 12:50:20,258 - DEBUG - VM is in ACTIVE state now 2025-06-09 12:50:20,258 - INFO - VM name : ctest-TestBasicPolicy-23064684-33997994 2025-06-09 12:50:20,340 - DEBUG - VM ctest-TestBasicPolicy-23064684-33997994 ID is 836b3dbb-660c-49fa-b703-3da633775a35 2025-06-09 12:50:20,360 - DEBUG - VM ctest-TestBasicPolicy-23064684-33997994 launched on Node cn-jenkins-deploy-platform-ansible-os-3424-1 2025-06-09 12:50:20,454 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/836b3dbb-660c-49fa-b703-3da633775a35 2025-06-09 12:50:20,463 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c4852d81-ef57-4b77-8a9a-77431b9041c3 2025-06-09 12:50:23,730 - 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 1022ms') 2025-06-09 12:50:23,730 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23064684-33997994 failed! 2025-06-09 12:50:23,785 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23064684:ctest-vn-24112125 is 50.1.116.65 and allocation pool is NOT set 2025-06-09 12:50:25,853 - 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=6.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.438 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.438/3.692/6.947/3.254 ms') 2025-06-09 12:50:25,853 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23064684-33997994 passed 2025-06-09 12:50:26,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 12:50:26,001 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23064684-33997994, IP 50.1.116.67, Port 22 2025-06-09 12:50:26,157 - DEBUG - VM ctest-TestBasicPolicy-23064684-33997994 is ready for SSH connections 2025-06-09 12:50:26,157 - INFO - Waiting for VM ctest-TestBasicPolicy-23064684-01838257 to be up.. 2025-06-09 12:50:26,243 - DEBUG - VM is in ACTIVE state now 2025-06-09 12:50:26,243 - INFO - VM name : ctest-TestBasicPolicy-23064684-01838257 2025-06-09 12:50:26,315 - DEBUG - VM ctest-TestBasicPolicy-23064684-01838257 ID is e7fff62b-d3cf-4ddb-896f-847760cacf9d 2025-06-09 12:50:26,316 - DEBUG - VM ctest-TestBasicPolicy-23064684-01838257 launched on Node cn-jenkins-deploy-platform-ansible-os-3424-1 2025-06-09 12:50:26,389 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e7fff62b-d3cf-4ddb-896f-847760cacf9d 2025-06-09 12:50:26,399 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4147801f-4f60-43fb-9524-6b8671fb5bd0 2025-06-09 12:50:27,637 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.495 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.495/1.659/2.823/1.164 ms') 2025-06-09 12:50:27,637 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23064684-01838257 passed 2025-06-09 12:50:27,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 12:50:27,798 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23064684-01838257, IP 202.214.132.195, Port 22 2025-06-09 12:50:27,953 - DEBUG - VM ctest-TestBasicPolicy-23064684-01838257 is ready for SSH connections 2025-06-09 12:50:27,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 12:50:27,953 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.214.132.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-09 12:50:27,953 - DEBUG - ping -s 56 -c 3 -W 1 202.214.132.195 2025-06-09 12:50:31,675 - DEBUG - PING 202.214.132.195 (202.214.132.195): 56 data bytes 64 bytes from 202.214.132.195: seq=0 ttl=63 time=3.604 ms 64 bytes from 202.214.132.195: seq=1 ttl=63 time=1.083 ms 64 bytes from 202.214.132.195: seq=2 ttl=63 time=0.972 ms --- 202.214.132.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.972/1.886/3.604 ms 2025-06-09 12:50:31,675 - INFO - Ping to IP 202.214.132.195 from VM ctest-TestBasicPolicy-23064684-33997994 passed 2025-06-09 12:50:31,857 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b1f18801-7127-491f-bcf3-a41d74428e64", "href": "http://10.0.0.254:8082/network-policy/b1f18801-7127-491f-bcf3-a41d74428e64"}} 2025-06-09 12:50:31,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 12:50:31,857 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.214.132.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-09 12:50:31,857 - DEBUG - ping -s 56 -c 3 -W 1 202.214.132.195 2025-06-09 12:50:35,070 - DEBUG - PING 202.214.132.195 (202.214.132.195): 56 data bytes 64 bytes from 202.214.132.195: seq=0 ttl=63 time=1.410 ms --- 202.214.132.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.410/1.410/1.410 ms 2025-06-09 12:50:35,071 - WARNING - Ping to IP 202.214.132.195 from VM ctest-TestBasicPolicy-23064684-33997994 failed 2025-06-09 12:50:35,071 - INFO - Deleting VM ctest-TestBasicPolicy-23064684-01838257 2025-06-09 12:50:35,137 - INFO - Deleting VM ctest-TestBasicPolicy-23064684-33997994 2025-06-09 12:50:35,555 - INFO - Deleted policy ctest-policy-allow-all-11581562 2025-06-09 12:50:35,555 - INFO - Deleting VN ctest-vn-17655413 2025-06-09 12:50:35,597 - DEBUG - VN bf310278-dd6c-4e12-aa1a-82324b13b987 still in use: Unable to complete operation on network bf310278-dd6c-4e12-aa1a-82324b13b987. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cd2b9a7d-2d86-445f-97ae-95225951a2cd'] 2025-06-09 12:50:35,597 - WARNING - Deleting VN ctest-vn-17655413 failed..Will retry 2025-06-09 12:50:37,701 - DEBUG - Response for deleting network () 2025-06-09 12:50:37,701 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/79784d9d-d1f9-4ff7-87a0-577311f22be2 2025-06-09 12:50:37,709 - DEBUG - Response Code: 404 2025-06-09 12:50:37,709 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-09 12:50:37,716 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f260d6f1-7f67-4167-8e30-893eafa50950 2025-06-09 12:50:37,775 - DEBUG - Requesting: http://10.0.0.254:8082/project/5891d580-9814-4d7f-b357-cfd0e97eaecd 2025-06-09 12:50:37,848 - INFO - Validated that VN ctest-vn-17655413 is not found in API Server 2025-06-09 12:50:37,861 - DEBUG - VN ctest-vn-17655413 is not present in Agent 10.0.0.254 2025-06-09 12:50:37,861 - INFO - Validated that VN ctest-vn-17655413 is not in any agent 2025-06-09 12:50:37,879 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17655413 info 2025-06-09 12:50:37,879 - INFO - Deleting VN ctest-vn-24112125 2025-06-09 12:50:37,993 - DEBUG - Response for deleting network () 2025-06-09 12:50:37,993 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a9056f20-9839-4f2f-86cc-9e5d1d1f17f5 2025-06-09 12:50:37,998 - DEBUG - Response Code: 404 2025-06-09 12:50:37,998 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-09 12:50:38,011 - DEBUG - Requesting: http://10.0.0.254:8082/domain/f260d6f1-7f67-4167-8e30-893eafa50950 2025-06-09 12:50:38,066 - DEBUG - Requesting: http://10.0.0.254:8082/project/5891d580-9814-4d7f-b357-cfd0e97eaecd 2025-06-09 12:50:38,147 - INFO - Validated that VN ctest-vn-24112125 is not found in API Server 2025-06-09 12:50:38,158 - DEBUG - VN ctest-vn-24112125 is not present in Agent 10.0.0.254 2025-06-09 12:50:38,158 - INFO - Validated that VN ctest-vn-24112125 is not in any agent 2025-06-09 12:50:38,174 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24112125 info 2025-06-09 12:50:38,429 - DEBUG - No XMPP flaps were noticed during the test
2025-06-09 12:50:38,429 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-09 12:50:38,429 - INFO - -------------------------------------------------------------------------------- 2025-06-09 12:50:39,161 - INFO - Deleted project: ctest-TestBasicPolicy-23064684, ID : 5891d580-9814-4d7f-b357-cfd0e97eaecd