2025-06-18 09:14:24,867 - INFO - Domain Default found not creating 2025-06-18 09:14:25,022 - INFO - Project ctest-TestBasicPolicy-77896428 not found, creating it 2025-06-18 09:14:25,528 - INFO - Created Project:ctest-TestBasicPolicy-77896428, ID : 243849b5-a19a-4265-adea-3969a3f93174 2025-06-18 09:14:27,194 - INFO - ================================================================================ 2025-06-18 09:14:27,194 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-18 09:14:27,194 - 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-18 09:14:27,448 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-06-18 09:14:27,448 - INFO - Initial checks done. Running the testcase now 2025-06-18 09:14:27,448 - INFO - 2025-06-18 09:14:28,059 - DEBUG - Response for create_network : {'network': {'id': 'b3b1ac4b-565e-4e65-9b91-b1e625cced4a', 'name': 'ctest-vn-00531099', 'tenant_id': '243849b5a19a4265adea3969a3f93174', 'project_id': '243849b5a19a4265adea3969a3f93174', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77896428', 'ctest-vn-00531099'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 09:14:28,220 - DEBUG - Response for create_subnet : {'subnet': {'id': '77989871-7c6b-4a81-b569-5842eefacf4c', 'name': '', 'tenant_id': '243849b5a19a4265adea3969a3f93174', 'network_id': 'b3b1ac4b-565e-4e65-9b91-b1e625cced4a', 'ip_version': 4, 'cidr': '17.118.13.64/26', 'allocation_pools': [{'start': '17.118.13.66', 'end': '17.118.13.126'}], 'gateway_ip': '17.118.13.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.118.13.66', 'tags': [], 'project_id': '243849b5a19a4265adea3969a3f93174'}} 2025-06-18 09:14:28,240 - INFO - Created VN ctest-vn-00531099 2025-06-18 09:14:28,293 - DEBUG - VN ctest-vn-00531099 UUID is b3b1ac4b-565e-4e65-9b91-b1e625cced4a 2025-06-18 09:14:28,631 - DEBUG - Response for create_network : {'network': {'id': '5efe3b7e-7763-44d7-946a-15677a87bfac', 'name': 'ctest-vn-60915846', 'tenant_id': '243849b5a19a4265adea3969a3f93174', 'project_id': '243849b5a19a4265adea3969a3f93174', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77896428', 'ctest-vn-60915846'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 09:14:28,858 - DEBUG - Response for create_subnet : {'subnet': {'id': '76f9d577-d0cb-4e0e-99a5-9ca8b4492c4d', 'name': '', 'tenant_id': '243849b5a19a4265adea3969a3f93174', 'network_id': '5efe3b7e-7763-44d7-946a-15677a87bfac', 'ip_version': 4, 'cidr': '54.128.48.128/26', 'allocation_pools': [{'start': '54.128.48.130', 'end': '54.128.48.190'}], 'gateway_ip': '54.128.48.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.128.48.130', 'tags': [], 'project_id': '243849b5a19a4265adea3969a3f93174'}} 2025-06-18 09:14:28,879 - INFO - Created VN ctest-vn-60915846 2025-06-18 09:14:28,933 - DEBUG - VN ctest-vn-60915846 UUID is 5efe3b7e-7763-44d7-946a-15677a87bfac 2025-06-18 09:14:29,066 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77896428:ctest-vn-00531099, 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-77896428:ctest-vn-60915846, 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-18 09:14:29,426 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b3b1ac4b-565e-4e65-9b91-b1e625cced4a', 'name': 'ctest-vn-00531099', 'tenant_id': '243849b5a19a4265adea3969a3f93174', 'project_id': '243849b5a19a4265adea3969a3f93174', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['77989871-7c6b-4a81-b569-5842eefacf4c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77896428', 'ctest-vn-00531099'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77896428', 'ctest-policy-allow-all-85425104']], 'subnet_ipam': [{'subnet_cidr': '17.118.13.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-18 09:14:29,671 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5efe3b7e-7763-44d7-946a-15677a87bfac', 'name': 'ctest-vn-60915846', 'tenant_id': '243849b5a19a4265adea3969a3f93174', 'project_id': '243849b5a19a4265adea3969a3f93174', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['76f9d577-d0cb-4e0e-99a5-9ca8b4492c4d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77896428', 'ctest-vn-60915846'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77896428', 'ctest-policy-allow-all-85425104']], 'subnet_ipam': [{'subnet_cidr': '54.128.48.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-18 09:14:29,841 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-18 09:14:30,185 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-18 09:14:30,215 - DEBUG - Requesting: http://10.0.0.27:8082/domain/383b4f04-063a-456f-a421-5e003f8f1820 2025-06-18 09:14:30,229 - DEBUG - Requesting: http://10.0.0.27:8082/project/243849b5-a19a-4265-adea-3969a3f93174 2025-06-18 09:14:30,380 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b3b1ac4b-565e-4e65-9b91-b1e625cced4a 2025-06-18 09:14:30,394 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b3b1ac4b-565e-4e65-9b91-b1e625cced4a 2025-06-18 09:14:30,405 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b4dab5e4-1066-40a0-a0da-6bfdb90d20d1 2025-06-18 09:14:30,414 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b4dab5e4-1066-40a0-a0da-6bfdb90d20d1 2025-06-18 09:14:30,424 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/2274ea2f-93bd-4bc4-b5bb-ae66c44a7d74 2025-06-18 09:14:30,432 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-18 09:14:30,432 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b3b1ac4b-565e-4e65-9b91-b1e625cced4a 2025-06-18 09:14:30,443 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b4dab5e4-1066-40a0-a0da-6bfdb90d20d1 2025-06-18 09:14:30,460 - INFO - Verified VN network id 9 for VN b3b1ac4b-565e-4e65-9b91-b1e625cced4a 2025-06-18 09:14:30,460 - INFO - Verifications in API Server for VN ctest-vn-00531099 passed 2025-06-18 09:14:30,460 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b3b1ac4b-565e-4e65-9b91-b1e625cced4a 2025-06-18 09:14:30,471 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b4dab5e4-1066-40a0-a0da-6bfdb90d20d1 2025-06-18 09:14:30,479 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b4dab5e4-1066-40a0-a0da-6bfdb90d20d1 2025-06-18 09:14:30,487 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/2274ea2f-93bd-4bc4-b5bb-ae66c44a7d74 2025-06-18 09:14:30,500 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77896428:ctest-vn-00531099', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77896428', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12948319843238432357', 'uuid-lslong': '11209936549536656714'}, 'enable': 'true', 'created': '2025-06-18T09:14:28', 'last-modified': '2025-06-18T09:14:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.117215'} 2025-06-18 09:14:30,508 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-18 09:14:30,508 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00531099 passed 2025-06-18 09:14:30,508 - DEBUG - ====Verifying policy data for ctest-vn-00531099 in API_Server ====== 2025-06-18 09:14:30,508 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-18 09:14:30,514 - DEBUG - Requesting: http://10.0.0.27:8082/domain/383b4f04-063a-456f-a421-5e003f8f1820 2025-06-18 09:14:30,527 - DEBUG - Requesting: http://10.0.0.27:8082/project/243849b5-a19a-4265-adea-3969a3f93174 2025-06-18 09:14:30,675 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b3b1ac4b-565e-4e65-9b91-b1e625cced4a 2025-06-18 09:14:30,694 - DEBUG - ==>Verifying data for policy with id: 29d684fb-908a-4331-bfe7-90b8c7f39ea5, fqn: ['default-domain', 'ctest-TestBasicPolicy-77896428', 'ctest-policy-allow-all-85425104'] 2025-06-18 09:14:30,694 - INFO - VN ctest-vn-00531099 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-18 09:14:30,695 - DEBUG - Verifying the vn in opserver 2025-06-18 09:14:30,695 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77896428:ctest-vn-00531099 virtual network link through opserver 10.0.0.27 2025-06-18 09:14:30,695 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-06-18 09:14:31,076 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-06-18 09:14:31,201 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77896428:ctest-vn-00531099', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77896428:ctest-vn-00531099?flat'} 2025-06-18 09:14:31,201 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77896428:ctest-vn-00531099 is found in opserver 2025-06-18 09:14:31,228 - DEBUG - Do not have enough data to verify VN in agent 2025-06-18 09:14:31,237 - DEBUG - VRF ids for VN ctest-vn-00531099: {} 2025-06-18 09:14:31,237 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-18 09:14:31,272 - DEBUG - Requesting: http://10.0.0.27:8082/domain/383b4f04-063a-456f-a421-5e003f8f1820 2025-06-18 09:14:31,300 - DEBUG - Requesting: http://10.0.0.27:8082/project/243849b5-a19a-4265-adea-3969a3f93174 2025-06-18 09:14:31,391 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5efe3b7e-7763-44d7-946a-15677a87bfac 2025-06-18 09:14:31,411 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5efe3b7e-7763-44d7-946a-15677a87bfac 2025-06-18 09:14:31,429 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/617c56fc-d153-4c87-b331-ad25386a1499 2025-06-18 09:14:31,445 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/617c56fc-d153-4c87-b331-ad25386a1499 2025-06-18 09:14:31,453 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/d77c2e90-ee75-4f7b-b6c9-f45787e0420c 2025-06-18 09:14:31,460 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-18 09:14:31,460 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5efe3b7e-7763-44d7-946a-15677a87bfac 2025-06-18 09:14:31,476 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/617c56fc-d153-4c87-b331-ad25386a1499 2025-06-18 09:14:31,500 - INFO - Verified VN network id 10 for VN 5efe3b7e-7763-44d7-946a-15677a87bfac 2025-06-18 09:14:31,500 - INFO - Verifications in API Server for VN ctest-vn-60915846 passed 2025-06-18 09:14:31,500 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5efe3b7e-7763-44d7-946a-15677a87bfac 2025-06-18 09:14:31,512 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/617c56fc-d153-4c87-b331-ad25386a1499 2025-06-18 09:14:31,520 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/617c56fc-d153-4c87-b331-ad25386a1499 2025-06-18 09:14:31,527 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/d77c2e90-ee75-4f7b-b6c9-f45787e0420c 2025-06-18 09:14:31,543 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77896428:ctest-vn-60915846', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77896428', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6844973898004645079', 'uuid-lslong': '10694383799326195628'}, 'enable': 'true', 'created': '2025-06-18T09:14:28', 'last-modified': '2025-06-18T09:14:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.896072'} 2025-06-18 09:14:31,551 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-18 09:14:31,551 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60915846 passed 2025-06-18 09:14:31,551 - DEBUG - ====Verifying policy data for ctest-vn-60915846 in API_Server ====== 2025-06-18 09:14:31,551 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-18 09:14:31,559 - DEBUG - Requesting: http://10.0.0.27:8082/domain/383b4f04-063a-456f-a421-5e003f8f1820 2025-06-18 09:14:31,574 - DEBUG - Requesting: http://10.0.0.27:8082/project/243849b5-a19a-4265-adea-3969a3f93174 2025-06-18 09:14:31,656 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5efe3b7e-7763-44d7-946a-15677a87bfac 2025-06-18 09:14:31,669 - DEBUG - ==>Verifying data for policy with id: 29d684fb-908a-4331-bfe7-90b8c7f39ea5, fqn: ['default-domain', 'ctest-TestBasicPolicy-77896428', 'ctest-policy-allow-all-85425104'] 2025-06-18 09:14:31,669 - INFO - VN ctest-vn-60915846 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-18 09:14:31,669 - DEBUG - Verifying the vn in opserver 2025-06-18 09:14:31,669 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77896428:ctest-vn-60915846 virtual network link through opserver 10.0.0.27 2025-06-18 09:14:31,669 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-06-18 09:14:31,680 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77896428:ctest-vn-60915846', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77896428:ctest-vn-60915846?flat'} 2025-06-18 09:14:31,680 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77896428:ctest-vn-60915846 is found in opserver 2025-06-18 09:14:31,692 - DEBUG - Do not have enough data to verify VN in agent 2025-06-18 09:14:31,698 - DEBUG - VRF ids for VN ctest-vn-60915846: {} 2025-06-18 09:14:31,756 - DEBUG - Services list from nova: [, , ] 2025-06-18 09:14:32,862 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3472-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3472-1) 2025-06-18 09:14:34,244 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3472-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3472-1) 2025-06-18 09:14:34,245 - INFO - Waiting for VM ctest-TestBasicPolicy-77896428-82068558 to be up.. 2025-06-18 09:14:34,338 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 09:14:39,430 - DEBUG - VM is in ACTIVE state now 2025-06-18 09:14:39,430 - INFO - VM name : ctest-TestBasicPolicy-77896428-82068558 2025-06-18 09:14:39,509 - DEBUG - VM ctest-TestBasicPolicy-77896428-82068558 ID is 0b396917-f5c2-4793-a9fe-09d072cb7332 2025-06-18 09:14:39,529 - DEBUG - VM ctest-TestBasicPolicy-77896428-82068558 launched on Node cn-jenkins-deploy-platform-ansible-os-3472-1 2025-06-18 09:14:39,616 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0b396917-f5c2-4793-a9fe-09d072cb7332 2025-06-18 09:14:39,627 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/717a785f-512e-4a36-972a-c027372f7c71 2025-06-18 09:14:42,906 - 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-06-18 09:14:42,906 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77896428-82068558 failed! 2025-06-18 09:14:42,961 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77896428:ctest-vn-00531099 is 17.118.13.65 and allocation pool is NOT set 2025-06-18 09:14:45,021 - 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=8.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.392 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.392/4.331/8.270/3.939 ms') 2025-06-18 09:14:45,021 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77896428-82068558 passed 2025-06-18 09:14:45,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 09:14:45,178 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77896428-82068558, IP 17.118.13.67, Port 22 2025-06-18 09:14:45,343 - DEBUG - VM ctest-TestBasicPolicy-77896428-82068558 is ready for SSH connections 2025-06-18 09:14:45,344 - INFO - Waiting for VM ctest-TestBasicPolicy-77896428-35802375 to be up.. 2025-06-18 09:14:45,443 - DEBUG - VM is in ACTIVE state now 2025-06-18 09:14:45,443 - INFO - VM name : ctest-TestBasicPolicy-77896428-35802375 2025-06-18 09:14:45,525 - DEBUG - VM ctest-TestBasicPolicy-77896428-35802375 ID is dd4e6f51-9c2b-4ed2-967e-640b6088b7d2 2025-06-18 09:14:45,525 - DEBUG - VM ctest-TestBasicPolicy-77896428-35802375 launched on Node cn-jenkins-deploy-platform-ansible-os-3472-1 2025-06-18 09:14:45,607 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/dd4e6f51-9c2b-4ed2-967e-640b6088b7d2 2025-06-18 09:14:45,617 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/640f5d3f-a998-4efd-96e8-4d68d98713fd 2025-06-18 09:14:46,868 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.906 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.906/2.297/3.688/1.391 ms') 2025-06-18 09:14:46,868 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-77896428-35802375 passed 2025-06-18 09:14:47,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 09:14:47,026 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77896428-35802375, IP 54.128.48.131, Port 22 2025-06-18 09:14:47,189 - DEBUG - VM ctest-TestBasicPolicy-77896428-35802375 is ready for SSH connections 2025-06-18 09:14:47,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 09:14:47,189 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.128.48.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-06-18 09:14:47,189 - DEBUG - ping -s 56 -c 3 -W 1 54.128.48.131 2025-06-18 09:14:50,907 - DEBUG - PING 54.128.48.131 (54.128.48.131): 56 data bytes 64 bytes from 54.128.48.131: seq=0 ttl=63 time=3.674 ms 64 bytes from 54.128.48.131: seq=1 ttl=63 time=0.856 ms 64 bytes from 54.128.48.131: seq=2 ttl=63 time=0.812 ms --- 54.128.48.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.812/1.780/3.674 ms 2025-06-18 09:14:50,908 - INFO - Ping to IP 54.128.48.131 from VM ctest-TestBasicPolicy-77896428-82068558 passed 2025-06-18 09:14:51,101 - DEBUG - Policy Update Response {"network-policy": {"uuid": "29d684fb-908a-4331-bfe7-90b8c7f39ea5", "href": "http://10.0.0.27:8082/network-policy/29d684fb-908a-4331-bfe7-90b8c7f39ea5"}} 2025-06-18 09:14:51,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 09:14:51,101 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.128.48.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-06-18 09:14:51,102 - DEBUG - ping -s 56 -c 3 -W 1 54.128.48.131 2025-06-18 09:14:54,385 - DEBUG - PING 54.128.48.131 (54.128.48.131): 56 data bytes 64 bytes from 54.128.48.131: seq=0 ttl=63 time=1.527 ms --- 54.128.48.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.527/1.527/1.527 ms 2025-06-18 09:14:54,386 - WARNING - Ping to IP 54.128.48.131 from VM ctest-TestBasicPolicy-77896428-82068558 failed 2025-06-18 09:14:54,386 - INFO - Deleting VM ctest-TestBasicPolicy-77896428-35802375 2025-06-18 09:14:54,458 - INFO - Deleting VM ctest-TestBasicPolicy-77896428-82068558 2025-06-18 09:14:54,886 - INFO - Deleted policy ctest-policy-allow-all-85425104 2025-06-18 09:14:54,886 - INFO - Deleting VN ctest-vn-60915846 2025-06-18 09:14:54,929 - DEBUG - VN 5efe3b7e-7763-44d7-946a-15677a87bfac still in use: Unable to complete operation on network 5efe3b7e-7763-44d7-946a-15677a87bfac. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dbdb9a39-f766-44cd-9d1c-ec9539393e17'] 2025-06-18 09:14:54,929 - WARNING - Deleting VN ctest-vn-60915846 failed..Will retry 2025-06-18 09:14:57,048 - DEBUG - Response for deleting network () 2025-06-18 09:14:57,048 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/617c56fc-d153-4c87-b331-ad25386a1499 2025-06-18 09:14:57,059 - DEBUG - Response Code: 404 2025-06-18 09:14:57,060 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-18 09:14:57,068 - DEBUG - Requesting: http://10.0.0.27:8082/domain/383b4f04-063a-456f-a421-5e003f8f1820 2025-06-18 09:14:57,127 - DEBUG - Requesting: http://10.0.0.27:8082/project/243849b5-a19a-4265-adea-3969a3f93174 2025-06-18 09:14:57,207 - INFO - Validated that VN ctest-vn-60915846 is not found in API Server 2025-06-18 09:14:57,220 - DEBUG - VN ctest-vn-60915846 is not present in Agent 10.0.0.27 2025-06-18 09:14:57,220 - INFO - Validated that VN ctest-vn-60915846 is not in any agent 2025-06-18 09:14:57,238 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60915846 info 2025-06-18 09:14:57,238 - INFO - Deleting VN ctest-vn-00531099 2025-06-18 09:14:57,382 - DEBUG - Response for deleting network () 2025-06-18 09:14:57,383 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b4dab5e4-1066-40a0-a0da-6bfdb90d20d1 2025-06-18 09:14:57,394 - DEBUG - Response Code: 404 2025-06-18 09:14:57,394 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-06-18 09:14:57,400 - DEBUG - Requesting: http://10.0.0.27:8082/domain/383b4f04-063a-456f-a421-5e003f8f1820 2025-06-18 09:14:57,415 - DEBUG - Requesting: http://10.0.0.27:8082/project/243849b5-a19a-4265-adea-3969a3f93174 2025-06-18 09:14:57,496 - INFO - Validated that VN ctest-vn-00531099 is not found in API Server 2025-06-18 09:14:57,510 - DEBUG - VN ctest-vn-00531099 is not present in Agent 10.0.0.27 2025-06-18 09:14:57,510 - INFO - Validated that VN ctest-vn-00531099 is not in any agent 2025-06-18 09:14:57,530 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00531099 info 2025-06-18 09:14:57,784 - DEBUG - No XMPP flaps were noticed during the test 2025-06-18 09:14:57,785 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-18 09:14:57,785 - INFO - -------------------------------------------------------------------------------- 2025-06-18 09:14:58,548 - INFO - Deleted project: ctest-TestBasicPolicy-77896428, ID : 243849b5-a19a-4265-adea-3969a3f93174