2025-05-03 09:00:03,786 - INFO - Domain Default found not creating 2025-05-03 09:00:03,927 - INFO - Project ctest-TestBasicPolicy-84690303 not found, creating it 2025-05-03 09:00:04,372 - INFO - Created Project:ctest-TestBasicPolicy-84690303, ID : c36f7e18-5131-406f-a2b6-f1e766c58da6 2025-05-03 09:00:05,915 - INFO - ================================================================================ 2025-05-03 09:00:05,916 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-03 09:00:05,916 - 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-05-03 09:00:06,173 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-05-03 09:00:06,173 - INFO - Initial checks done. Running the testcase now 2025-05-03 09:00:06,173 - INFO - 2025-05-03 09:00:06,743 - DEBUG - Response for create_network : {'network': {'id': 'fa7ddd20-3560-403a-ae55-4373ca254f89', 'name': 'ctest-vn-94612758', 'tenant_id': 'c36f7e185131406fa2b6f1e766c58da6', 'project_id': 'c36f7e185131406fa2b6f1e766c58da6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84690303', 'ctest-vn-94612758'], 'port_security_enabled': True, 'description': ''}} 2025-05-03 09:00:06,913 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c825457-382f-4fd2-8340-ae290800ebb6', 'name': '', 'tenant_id': 'c36f7e185131406fa2b6f1e766c58da6', 'network_id': 'fa7ddd20-3560-403a-ae55-4373ca254f89', 'ip_version': 4, 'cidr': '101.9.199.64/26', 'allocation_pools': [{'start': '101.9.199.66', 'end': '101.9.199.126'}], 'gateway_ip': '101.9.199.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.9.199.66', 'tags': [], 'project_id': 'c36f7e185131406fa2b6f1e766c58da6'}} 2025-05-03 09:00:06,931 - INFO - Created VN ctest-vn-94612758 2025-05-03 09:00:06,982 - DEBUG - VN ctest-vn-94612758 UUID is fa7ddd20-3560-403a-ae55-4373ca254f89 2025-05-03 09:00:07,280 - DEBUG - Response for create_network : {'network': {'id': '33579c78-d523-4ccd-b40c-9f225ec6a602', 'name': 'ctest-vn-32391575', 'tenant_id': 'c36f7e185131406fa2b6f1e766c58da6', 'project_id': 'c36f7e185131406fa2b6f1e766c58da6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84690303', 'ctest-vn-32391575'], 'port_security_enabled': True, 'description': ''}} 2025-05-03 09:00:07,503 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5947417-8f49-473e-807e-8cfc8bdb3e00', 'name': '', 'tenant_id': 'c36f7e185131406fa2b6f1e766c58da6', 'network_id': '33579c78-d523-4ccd-b40c-9f225ec6a602', 'ip_version': 4, 'cidr': '96.237.141.192/26', 'allocation_pools': [{'start': '96.237.141.194', 'end': '96.237.141.254'}], 'gateway_ip': '96.237.141.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.237.141.194', 'tags': [], 'project_id': 'c36f7e185131406fa2b6f1e766c58da6'}} 2025-05-03 09:00:07,520 - INFO - Created VN ctest-vn-32391575 2025-05-03 09:00:07,574 - DEBUG - VN ctest-vn-32391575 UUID is 33579c78-d523-4ccd-b40c-9f225ec6a602 2025-05-03 09:00:07,686 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84690303:ctest-vn-94612758, 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-84690303:ctest-vn-32391575, 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-05-03 09:00:08,003 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fa7ddd20-3560-403a-ae55-4373ca254f89', 'name': 'ctest-vn-94612758', 'tenant_id': 'c36f7e185131406fa2b6f1e766c58da6', 'project_id': 'c36f7e185131406fa2b6f1e766c58da6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0c825457-382f-4fd2-8340-ae290800ebb6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84690303', 'ctest-vn-94612758'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84690303', 'ctest-policy-allow-all-01458870']], 'subnet_ipam': [{'subnet_cidr': '101.9.199.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-03 09:00:08,291 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '33579c78-d523-4ccd-b40c-9f225ec6a602', 'name': 'ctest-vn-32391575', 'tenant_id': 'c36f7e185131406fa2b6f1e766c58da6', 'project_id': 'c36f7e185131406fa2b6f1e766c58da6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c5947417-8f49-473e-807e-8cfc8bdb3e00'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84690303', 'ctest-vn-32391575'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84690303', 'ctest-policy-allow-all-01458870']], 'subnet_ipam': [{'subnet_cidr': '96.237.141.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-03 09:00:08,450 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-03 09:00:08,786 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-03 09:00:08,813 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1aaded7e-ddeb-4d93-b5b4-d20543af1195 2025-05-03 09:00:08,827 - DEBUG - Requesting: http://10.0.0.50:8082/project/c36f7e18-5131-406f-a2b6-f1e766c58da6 2025-05-03 09:00:08,898 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fa7ddd20-3560-403a-ae55-4373ca254f89 2025-05-03 09:00:08,911 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fa7ddd20-3560-403a-ae55-4373ca254f89 2025-05-03 09:00:08,922 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bdc33654-7b92-43de-9c32-bebb6525b2bb 2025-05-03 09:00:08,930 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bdc33654-7b92-43de-9c32-bebb6525b2bb 2025-05-03 09:00:08,937 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/bc10701b-ac25-462f-ab8c-95c36371dd97 2025-05-03 09:00:08,944 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-03 09:00:08,944 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fa7ddd20-3560-403a-ae55-4373ca254f89 2025-05-03 09:00:08,954 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bdc33654-7b92-43de-9c32-bebb6525b2bb 2025-05-03 09:00:08,969 - INFO - Verified VN network id 8 for VN fa7ddd20-3560-403a-ae55-4373ca254f89 2025-05-03 09:00:08,969 - INFO - Verifications in API Server for VN ctest-vn-94612758 passed 2025-05-03 09:00:08,969 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fa7ddd20-3560-403a-ae55-4373ca254f89 2025-05-03 09:00:08,979 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bdc33654-7b92-43de-9c32-bebb6525b2bb 2025-05-03 09:00:08,986 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bdc33654-7b92-43de-9c32-bebb6525b2bb 2025-05-03 09:00:08,994 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/bc10701b-ac25-462f-ab8c-95c36371dd97 2025-05-03 09:00:09,006 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84690303:ctest-vn-94612758', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84690303', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18049826011975008314', 'uuid-lslong': '12562020900211609481'}, 'enable': 'true', 'created': '2025-05-03T09:00:06', 'last-modified': '2025-05-03T09:00:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.031798'} 2025-05-03 09:00:09,013 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-03 09:00:09,013 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94612758 passed 2025-05-03 09:00:09,013 - DEBUG - ====Verifying policy data for ctest-vn-94612758 in API_Server ====== 2025-05-03 09:00:09,013 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-03 09:00:09,019 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1aaded7e-ddeb-4d93-b5b4-d20543af1195 2025-05-03 09:00:09,030 - DEBUG - Requesting: http://10.0.0.50:8082/project/c36f7e18-5131-406f-a2b6-f1e766c58da6 2025-05-03 09:00:09,102 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fa7ddd20-3560-403a-ae55-4373ca254f89 2025-05-03 09:00:09,112 - DEBUG - ==>Verifying data for policy with id: baef975f-5504-4be6-82fc-aa2b7c2514f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-84690303', 'ctest-policy-allow-all-01458870'] 2025-05-03 09:00:09,112 - INFO - VN ctest-vn-94612758 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-03 09:00:09,112 - DEBUG - Verifying the vn in opserver 2025-05-03 09:00:09,112 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84690303:ctest-vn-94612758 virtual network link through opserver 10.0.0.50 2025-05-03 09:00:09,112 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-03 09:00:09,454 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-03 09:00:09,508 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84690303:ctest-vn-94612758', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84690303:ctest-vn-94612758?flat'} 2025-05-03 09:00:09,508 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84690303:ctest-vn-94612758 is found in opserver 2025-05-03 09:00:09,520 - DEBUG - Do not have enough data to verify VN in agent 2025-05-03 09:00:09,526 - DEBUG - VRF ids for VN ctest-vn-94612758: {} 2025-05-03 09:00:09,526 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-03 09:00:09,532 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1aaded7e-ddeb-4d93-b5b4-d20543af1195 2025-05-03 09:00:09,545 - DEBUG - Requesting: http://10.0.0.50:8082/project/c36f7e18-5131-406f-a2b6-f1e766c58da6 2025-05-03 09:00:09,618 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/33579c78-d523-4ccd-b40c-9f225ec6a602 2025-05-03 09:00:09,631 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/33579c78-d523-4ccd-b40c-9f225ec6a602 2025-05-03 09:00:09,642 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e99664c-33c8-42cc-ad7d-226909285ef1 2025-05-03 09:00:09,650 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e99664c-33c8-42cc-ad7d-226909285ef1 2025-05-03 09:00:09,657 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/06f8d7bc-a20a-4265-ba7e-25357697ffd3 2025-05-03 09:00:09,664 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-03 09:00:09,664 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/33579c78-d523-4ccd-b40c-9f225ec6a602 2025-05-03 09:00:09,673 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e99664c-33c8-42cc-ad7d-226909285ef1 2025-05-03 09:00:09,688 - INFO - Verified VN network id 9 for VN 33579c78-d523-4ccd-b40c-9f225ec6a602 2025-05-03 09:00:09,689 - INFO - Verifications in API Server for VN ctest-vn-32391575 passed 2025-05-03 09:00:09,689 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/33579c78-d523-4ccd-b40c-9f225ec6a602 2025-05-03 09:00:09,698 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e99664c-33c8-42cc-ad7d-226909285ef1 2025-05-03 09:00:09,705 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e99664c-33c8-42cc-ad7d-226909285ef1 2025-05-03 09:00:09,712 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/06f8d7bc-a20a-4265-ba7e-25357697ffd3 2025-05-03 09:00:09,725 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84690303:ctest-vn-32391575', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84690303', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3699597661694020813', 'uuid-lslong': '12973919596515337730'}, 'enable': 'true', 'created': '2025-05-03T09:00:07', 'last-modified': '2025-05-03T09:00:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.503922'} 2025-05-03 09:00:09,731 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-03 09:00:09,732 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32391575 passed 2025-05-03 09:00:09,732 - DEBUG - ====Verifying policy data for ctest-vn-32391575 in API_Server ====== 2025-05-03 09:00:09,732 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-03 09:00:09,737 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1aaded7e-ddeb-4d93-b5b4-d20543af1195 2025-05-03 09:00:09,749 - DEBUG - Requesting: http://10.0.0.50:8082/project/c36f7e18-5131-406f-a2b6-f1e766c58da6 2025-05-03 09:00:09,823 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/33579c78-d523-4ccd-b40c-9f225ec6a602 2025-05-03 09:00:09,836 - DEBUG - ==>Verifying data for policy with id: baef975f-5504-4be6-82fc-aa2b7c2514f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-84690303', 'ctest-policy-allow-all-01458870'] 2025-05-03 09:00:09,836 - INFO - VN ctest-vn-32391575 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-03 09:00:09,837 - DEBUG - Verifying the vn in opserver 2025-05-03 09:00:09,837 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84690303:ctest-vn-32391575 virtual network link through opserver 10.0.0.50 2025-05-03 09:00:09,837 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-03 09:00:09,848 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84690303:ctest-vn-32391575', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84690303:ctest-vn-32391575?flat'} 2025-05-03 09:00:09,848 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84690303:ctest-vn-32391575 is found in opserver 2025-05-03 09:00:09,860 - DEBUG - Do not have enough data to verify VN in agent 2025-05-03 09:00:09,866 - DEBUG - VRF ids for VN ctest-vn-32391575: {} 2025-05-03 09:00:09,920 - DEBUG - Services list from nova: [, , ] 2025-05-03 09:00:10,998 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3258-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3258-1) 2025-05-03 09:00:12,344 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3258-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3258-1) 2025-05-03 09:00:12,344 - INFO - Waiting for VM ctest-TestBasicPolicy-84690303-08435633 to be up.. 2025-05-03 09:00:12,430 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-03 09:00:17,526 - DEBUG - VM is in ACTIVE state now 2025-05-03 09:00:17,526 - INFO - VM name : ctest-TestBasicPolicy-84690303-08435633 2025-05-03 09:00:17,607 - DEBUG - VM ctest-TestBasicPolicy-84690303-08435633 ID is 6b8b9e65-626c-4547-95e2-2a7e08ebefac 2025-05-03 09:00:17,626 - DEBUG - VM ctest-TestBasicPolicy-84690303-08435633 launched on Node cn-jenkins-deploy-platform-ansible-os-3258-1 2025-05-03 09:00:17,705 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6b8b9e65-626c-4547-95e2-2a7e08ebefac 2025-05-03 09:00:17,714 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f2e6b219-cbe4-4dad-8d28-92536ea2010c 2025-05-03 09:00:20,989 - 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 1031ms') 2025-05-03 09:00:20,989 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84690303-08435633 failed! 2025-05-03 09:00:21,046 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84690303:ctest-vn-94612758 is 101.9.199.65 and allocation pool is NOT set 2025-05-03 09:00:23,108 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.28 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 = 2.276/3.432/4.588/1.156 ms') 2025-05-03 09:00:23,108 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84690303-08435633 passed 2025-05-03 09:00:23,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-03 09:00:23,266 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84690303-08435633, IP 101.9.199.67, Port 22 2025-05-03 09:00:23,426 - DEBUG - VM ctest-TestBasicPolicy-84690303-08435633 is ready for SSH connections 2025-05-03 09:00:23,426 - INFO - Waiting for VM ctest-TestBasicPolicy-84690303-35170041 to be up.. 2025-05-03 09:00:23,501 - DEBUG - VM is in ACTIVE state now 2025-05-03 09:00:23,501 - INFO - VM name : ctest-TestBasicPolicy-84690303-35170041 2025-05-03 09:00:23,572 - DEBUG - VM ctest-TestBasicPolicy-84690303-35170041 ID is f74bb1dd-634d-4342-b760-9c986b15e2ec 2025-05-03 09:00:23,572 - DEBUG - VM ctest-TestBasicPolicy-84690303-35170041 launched on Node cn-jenkins-deploy-platform-ansible-os-3258-1 2025-05-03 09:00:23,646 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f74bb1dd-634d-4342-b760-9c986b15e2ec 2025-05-03 09:00:23,654 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/76db877a-db86-4729-8f85-3954b54ce55c 2025-05-03 09:00:24,898 - 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=4.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.867 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.867/2.488/4.109/1.621 ms') 2025-05-03 09:00:24,898 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84690303-35170041 passed 2025-05-03 09:00:25,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-03 09:00:25,046 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84690303-35170041, IP 96.237.141.195, Port 22 2025-05-03 09:00:25,206 - DEBUG - VM ctest-TestBasicPolicy-84690303-35170041 is ready for SSH connections 2025-05-03 09:00:25,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-03 09:00:25,206 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.237.141.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-03 09:00:25,206 - DEBUG - ping -s 56 -c 3 -W 1 96.237.141.195 2025-05-03 09:00:28,926 - DEBUG - PING 96.237.141.195 (96.237.141.195): 56 data bytes 64 bytes from 96.237.141.195: seq=0 ttl=63 time=4.167 ms 64 bytes from 96.237.141.195: seq=1 ttl=63 time=0.802 ms 64 bytes from 96.237.141.195: seq=2 ttl=63 time=0.725 ms --- 96.237.141.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.725/1.898/4.167 ms 2025-05-03 09:00:28,926 - INFO - Ping to IP 96.237.141.195 from VM ctest-TestBasicPolicy-84690303-08435633 passed 2025-05-03 09:00:29,102 - DEBUG - Policy Update Response {"network-policy": {"uuid": "baef975f-5504-4be6-82fc-aa2b7c2514f0", "href": "http://10.0.0.50:8082/network-policy/baef975f-5504-4be6-82fc-aa2b7c2514f0"}} 2025-05-03 09:00:29,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-03 09:00:29,102 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.237.141.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-03 09:00:29,102 - DEBUG - ping -s 56 -c 3 -W 1 96.237.141.195 2025-05-03 09:00:32,315 - DEBUG - PING 96.237.141.195 (96.237.141.195): 56 data bytes --- 96.237.141.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-03 09:00:32,315 - WARNING - Ping to IP 96.237.141.195 from VM ctest-TestBasicPolicy-84690303-08435633 failed 2025-05-03 09:00:32,315 - INFO - Deleting VM ctest-TestBasicPolicy-84690303-35170041 2025-05-03 09:00:32,395 - INFO - Deleting VM ctest-TestBasicPolicy-84690303-08435633 2025-05-03 09:00:32,771 - INFO - Deleted policy ctest-policy-allow-all-01458870 2025-05-03 09:00:32,771 - INFO - Deleting VN ctest-vn-32391575 2025-05-03 09:00:32,819 - DEBUG - VN 33579c78-d523-4ccd-b40c-9f225ec6a602 still in use: Unable to complete operation on network 33579c78-d523-4ccd-b40c-9f225ec6a602. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d1696286-5aba-40e4-8f28-234136d73a82'] 2025-05-03 09:00:32,819 - WARNING - Deleting VN ctest-vn-32391575 failed..Will retry 2025-05-03 09:00:34,920 - DEBUG - Response for deleting network () 2025-05-03 09:00:34,921 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0e99664c-33c8-42cc-ad7d-226909285ef1 2025-05-03 09:00:34,930 - DEBUG - Response Code: 404 2025-05-03 09:00:34,930 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-03 09:00:34,936 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1aaded7e-ddeb-4d93-b5b4-d20543af1195 2025-05-03 09:00:34,999 - DEBUG - Requesting: http://10.0.0.50:8082/project/c36f7e18-5131-406f-a2b6-f1e766c58da6 2025-05-03 09:00:35,077 - INFO - Validated that VN ctest-vn-32391575 is not found in API Server 2025-05-03 09:00:35,092 - DEBUG - VN ctest-vn-32391575 is not present in Agent 10.0.0.50 2025-05-03 09:00:35,092 - INFO - Validated that VN ctest-vn-32391575 is not in any agent 2025-05-03 09:00:35,113 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32391575 info 2025-05-03 09:00:35,113 - INFO - Deleting VN ctest-vn-94612758 2025-05-03 09:00:35,221 - DEBUG - Response for deleting network () 2025-05-03 09:00:35,222 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bdc33654-7b92-43de-9c32-bebb6525b2bb 2025-05-03 09:00:35,228 - DEBUG - Response Code: 404 2025-05-03 09:00:35,228 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-03 09:00:35,235 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1aaded7e-ddeb-4d93-b5b4-d20543af1195 2025-05-03 09:00:35,292 - DEBUG - Requesting: http://10.0.0.50:8082/project/c36f7e18-5131-406f-a2b6-f1e766c58da6 2025-05-03 09:00:35,368 - INFO - Validated that VN ctest-vn-94612758 is not found in API Server 2025-05-03 09:00:35,380 - DEBUG - VN ctest-vn-94612758 is not present in Agent 10.0.0.50 2025-05-03 09:00:35,380 - INFO - Validated that VN ctest-vn-94612758 is not in any agent 2025-05-03 09:00:35,397 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94612758 info 2025-05-03 09:00:35,664 - DEBUG - No XMPP flaps were noticed during the test 2025-05-03 09:00:35,664 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-05-03 09:00:35,664 - INFO - -------------------------------------------------------------------------------- 2025-05-03 09:00:36,602 - INFO - Deleted project: ctest-TestBasicPolicy-84690303, ID : c36f7e18-5131-406f-a2b6-f1e766c58da6