2025-03-19 11:20:20,011 - INFO - Domain Default found not creating 2025-03-19 11:20:20,146 - INFO - Project ctest-TestBasicPolicy-48203878 not found, creating it 2025-03-19 11:20:20,596 - INFO - Created Project:ctest-TestBasicPolicy-48203878, ID : e2196420-32a3-4e66-9708-d388c8d16f9d 2025-03-19 11:20:22,017 - INFO - ================================================================================ 2025-03-19 11:20:22,017 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-19 11:20:22,017 - 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-03-19 11:20:22,274 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.7': '0'}} with 2025-03-19 11:20:22,274 - INFO - Initial checks done. Running the testcase now 2025-03-19 11:20:22,274 - INFO - 2025-03-19 11:20:22,847 - DEBUG - Response for create_network : {'network': {'id': 'a53fa2fb-217b-4658-9575-1e4ec0f51cf2', 'name': 'ctest-vn-72985935', 'tenant_id': 'e219642032a34e669708d388c8d16f9d', 'project_id': 'e219642032a34e669708d388c8d16f9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48203878', 'ctest-vn-72985935'], 'port_security_enabled': True, 'description': ''}} 2025-03-19 11:20:23,002 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f3c3224-414c-4199-a2c3-b4ff3294ae00', 'name': '', 'tenant_id': 'e219642032a34e669708d388c8d16f9d', 'network_id': 'a53fa2fb-217b-4658-9575-1e4ec0f51cf2', 'ip_version': 4, 'cidr': '167.182.27.128/26', 'allocation_pools': [{'start': '167.182.27.130', 'end': '167.182.27.190'}], 'gateway_ip': '167.182.27.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.182.27.130', 'tags': [], 'project_id': 'e219642032a34e669708d388c8d16f9d'}} 2025-03-19 11:20:23,019 - INFO - Created VN ctest-vn-72985935 2025-03-19 11:20:23,073 - DEBUG - VN ctest-vn-72985935 UUID is a53fa2fb-217b-4658-9575-1e4ec0f51cf2 2025-03-19 11:20:23,409 - DEBUG - Response for create_network : {'network': {'id': '290632b6-7180-4d98-a72d-e66c4e3061e6', 'name': 'ctest-vn-95050026', 'tenant_id': 'e219642032a34e669708d388c8d16f9d', 'project_id': 'e219642032a34e669708d388c8d16f9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48203878', 'ctest-vn-95050026'], 'port_security_enabled': True, 'description': ''}} 2025-03-19 11:20:23,608 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ece9bd3b-3170-4cf9-b4a5-06ea6422ddce', 'name': '', 'tenant_id': 'e219642032a34e669708d388c8d16f9d', 'network_id': '290632b6-7180-4d98-a72d-e66c4e3061e6', 'ip_version': 4, 'cidr': '187.20.247.192/26', 'allocation_pools': [{'start': '187.20.247.194', 'end': '187.20.247.254'}], 'gateway_ip': '187.20.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.20.247.194', 'tags': [], 'project_id': 'e219642032a34e669708d388c8d16f9d'}} 2025-03-19 11:20:23,626 - INFO - Created VN ctest-vn-95050026 2025-03-19 11:20:23,678 - DEBUG - VN ctest-vn-95050026 UUID is 290632b6-7180-4d98-a72d-e66c4e3061e6 2025-03-19 11:20:23,829 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48203878:ctest-vn-72985935, 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-48203878:ctest-vn-95050026, 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-03-19 11:20:24,140 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a53fa2fb-217b-4658-9575-1e4ec0f51cf2', 'name': 'ctest-vn-72985935', 'tenant_id': 'e219642032a34e669708d388c8d16f9d', 'project_id': 'e219642032a34e669708d388c8d16f9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6f3c3224-414c-4199-a2c3-b4ff3294ae00'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48203878', 'ctest-vn-72985935'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48203878', 'ctest-policy-allow-all-82727987']], 'subnet_ipam': [{'subnet_cidr': '167.182.27.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-19 11:20:24,387 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '290632b6-7180-4d98-a72d-e66c4e3061e6', 'name': 'ctest-vn-95050026', 'tenant_id': 'e219642032a34e669708d388c8d16f9d', 'project_id': 'e219642032a34e669708d388c8d16f9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ece9bd3b-3170-4cf9-b4a5-06ea6422ddce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48203878', 'ctest-vn-95050026'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48203878', 'ctest-policy-allow-all-82727987']], 'subnet_ipam': [{'subnet_cidr': '187.20.247.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-19 11:20:24,557 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-03-19 11:20:24,849 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-03-19 11:20:24,880 - DEBUG - Requesting: http://10.0.0.29:8082/domain/f132e654-3f7f-43a8-b6d2-a5ee486f6725 2025-03-19 11:20:24,902 - DEBUG - Requesting: http://10.0.0.29:8082/project/e2196420-32a3-4e66-9708-d388c8d16f9d 2025-03-19 11:20:24,977 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/a53fa2fb-217b-4658-9575-1e4ec0f51cf2 2025-03-19 11:20:24,991 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/a53fa2fb-217b-4658-9575-1e4ec0f51cf2 2025-03-19 11:20:25,000 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/55402c81-8537-4680-b5b1-6ea1742c7e38 2025-03-19 11:20:25,007 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/55402c81-8537-4680-b5b1-6ea1742c7e38 2025-03-19 11:20:25,013 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/a8ce7b23-d44a-45e4-963f-aaad9ee8bc19 2025-03-19 11:20:25,018 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-19 11:20:25,018 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/a53fa2fb-217b-4658-9575-1e4ec0f51cf2 2025-03-19 11:20:25,027 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/55402c81-8537-4680-b5b1-6ea1742c7e38 2025-03-19 11:20:25,039 - INFO - Verified VN network id 9 for VN a53fa2fb-217b-4658-9575-1e4ec0f51cf2 2025-03-19 11:20:25,039 - INFO - Verifications in API Server for VN ctest-vn-72985935 passed 2025-03-19 11:20:25,040 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/a53fa2fb-217b-4658-9575-1e4ec0f51cf2 2025-03-19 11:20:25,049 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/55402c81-8537-4680-b5b1-6ea1742c7e38 2025-03-19 11:20:25,057 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/55402c81-8537-4680-b5b1-6ea1742c7e38 2025-03-19 11:20:25,065 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/a8ce7b23-d44a-45e4-963f-aaad9ee8bc19 2025-03-19 11:20:25,080 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48203878:ctest-vn-72985935', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48203878', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11907415139273098840', 'uuid-lslong': '10769547407519980786'}, 'enable': 'true', 'created': '2025-03-19T11:20:22', 'last-modified': '2025-03-19T11:20:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.973799'} 2025-03-19 11:20:25,087 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-19 11:20:25,087 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72985935 passed 2025-03-19 11:20:25,087 - DEBUG - ====Verifying policy data for ctest-vn-72985935 in API_Server ====== 2025-03-19 11:20:25,087 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-03-19 11:20:25,096 - DEBUG - Requesting: http://10.0.0.29:8082/domain/f132e654-3f7f-43a8-b6d2-a5ee486f6725 2025-03-19 11:20:25,109 - DEBUG - Requesting: http://10.0.0.29:8082/project/e2196420-32a3-4e66-9708-d388c8d16f9d 2025-03-19 11:20:25,183 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/a53fa2fb-217b-4658-9575-1e4ec0f51cf2 2025-03-19 11:20:25,193 - DEBUG - ==>Verifying data for policy with id: 8754e91d-650f-4418-bee6-692f77bf322f, fqn: ['default-domain', 'ctest-TestBasicPolicy-48203878', 'ctest-policy-allow-all-82727987'] 2025-03-19 11:20:25,193 - INFO - VN ctest-vn-72985935 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-19 11:20:25,193 - DEBUG - Verifying the vn in opserver 2025-03-19 11:20:25,193 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48203878:ctest-vn-72985935 virtual network link through opserver 10.0.0.29 2025-03-19 11:20:25,193 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-03-19 11:20:25,489 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-03-19 11:20:25,540 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48203878:ctest-vn-72985935', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48203878:ctest-vn-72985935?flat'} 2025-03-19 11:20:25,540 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48203878:ctest-vn-72985935 is found in opserver 2025-03-19 11:20:25,553 - DEBUG - Do not have enough data to verify VN in agent 2025-03-19 11:20:25,558 - DEBUG - VRF ids for VN ctest-vn-72985935: {} 2025-03-19 11:20:25,558 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-03-19 11:20:25,564 - DEBUG - Requesting: http://10.0.0.29:8082/domain/f132e654-3f7f-43a8-b6d2-a5ee486f6725 2025-03-19 11:20:25,575 - DEBUG - Requesting: http://10.0.0.29:8082/project/e2196420-32a3-4e66-9708-d388c8d16f9d 2025-03-19 11:20:25,646 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/290632b6-7180-4d98-a72d-e66c4e3061e6 2025-03-19 11:20:25,658 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/290632b6-7180-4d98-a72d-e66c4e3061e6 2025-03-19 11:20:25,667 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d8ef68ec-4ef9-4e41-92a7-6662c72edc32 2025-03-19 11:20:25,674 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d8ef68ec-4ef9-4e41-92a7-6662c72edc32 2025-03-19 11:20:25,681 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/4752ace8-0b39-4d51-8ea0-95d11d7db29f 2025-03-19 11:20:25,688 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-19 11:20:25,688 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/290632b6-7180-4d98-a72d-e66c4e3061e6 2025-03-19 11:20:25,697 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d8ef68ec-4ef9-4e41-92a7-6662c72edc32 2025-03-19 11:20:25,711 - INFO - Verified VN network id 10 for VN 290632b6-7180-4d98-a72d-e66c4e3061e6 2025-03-19 11:20:25,711 - INFO - Verifications in API Server for VN ctest-vn-95050026 passed 2025-03-19 11:20:25,711 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/290632b6-7180-4d98-a72d-e66c4e3061e6 2025-03-19 11:20:25,722 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d8ef68ec-4ef9-4e41-92a7-6662c72edc32 2025-03-19 11:20:25,730 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d8ef68ec-4ef9-4e41-92a7-6662c72edc32 2025-03-19 11:20:25,736 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/4752ace8-0b39-4d51-8ea0-95d11d7db29f 2025-03-19 11:20:25,747 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48203878:ctest-vn-95050026', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48203878', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2956105964584979864', 'uuid-lslong': '12046537931128594918'}, 'enable': 'true', 'created': '2025-03-19T11:20:23', 'last-modified': '2025-03-19T11:20:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.385537'} 2025-03-19 11:20:25,754 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-19 11:20:25,754 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95050026 passed 2025-03-19 11:20:25,754 - DEBUG - ====Verifying policy data for ctest-vn-95050026 in API_Server ====== 2025-03-19 11:20:25,754 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-03-19 11:20:25,760 - DEBUG - Requesting: http://10.0.0.29:8082/domain/f132e654-3f7f-43a8-b6d2-a5ee486f6725 2025-03-19 11:20:25,773 - DEBUG - Requesting: http://10.0.0.29:8082/project/e2196420-32a3-4e66-9708-d388c8d16f9d 2025-03-19 11:20:25,846 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/290632b6-7180-4d98-a72d-e66c4e3061e6 2025-03-19 11:20:25,856 - DEBUG - ==>Verifying data for policy with id: 8754e91d-650f-4418-bee6-692f77bf322f, fqn: ['default-domain', 'ctest-TestBasicPolicy-48203878', 'ctest-policy-allow-all-82727987'] 2025-03-19 11:20:25,856 - INFO - VN ctest-vn-95050026 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-19 11:20:25,857 - DEBUG - Verifying the vn in opserver 2025-03-19 11:20:25,857 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48203878:ctest-vn-95050026 virtual network link through opserver 10.0.0.29 2025-03-19 11:20:25,857 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2025-03-19 11:20:25,866 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48203878:ctest-vn-95050026', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48203878:ctest-vn-95050026?flat'} 2025-03-19 11:20:25,867 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48203878:ctest-vn-95050026 is found in opserver 2025-03-19 11:20:25,879 - DEBUG - Do not have enough data to verify VN in agent 2025-03-19 11:20:25,885 - DEBUG - VRF ids for VN ctest-vn-95050026: {} 2025-03-19 11:20:25,942 - DEBUG - Services list from nova: [, , ] 2025-03-19 11:20:26,927 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2920-1) 2025-03-19 11:20:28,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2920-1) 2025-03-19 11:20:28,149 - INFO - Waiting for VM ctest-TestBasicPolicy-48203878-60529547 to be up.. 2025-03-19 11:20:28,231 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-19 11:20:33,363 - DEBUG - VM is in ACTIVE state now 2025-03-19 11:20:33,363 - INFO - VM name : ctest-TestBasicPolicy-48203878-60529547 2025-03-19 11:20:33,465 - DEBUG - VM ctest-TestBasicPolicy-48203878-60529547 ID is f0e3b7e3-8c8a-4a24-b1aa-18d71535e218 2025-03-19 11:20:33,509 - DEBUG - VM ctest-TestBasicPolicy-48203878-60529547 launched on Node cn-jenkins-deploy-platform-ansible-os-2920-1 2025-03-19 11:20:33,592 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/f0e3b7e3-8c8a-4a24-b1aa-18d71535e218 2025-03-19 11:20:33,601 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/b5aaf1a7-dc0c-441e-aadb-c311c481abe4 2025-03-19 11:20:36,858 - 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 1019ms') 2025-03-19 11:20:36,858 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48203878-60529547 failed! 2025-03-19 11:20:36,929 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48203878:ctest-vn-72985935 is 167.182.27.129 and allocation pool is NOT set 2025-03-19 11:20:38,993 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.790 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.790/2.073/3.356/1.283 ms') 2025-03-19 11:20:38,994 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48203878-60529547 passed 2025-03-19 11:20:39,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 11:20:39,149 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48203878-60529547, IP 167.182.27.131, Port 22 2025-03-19 11:20:39,315 - DEBUG - VM ctest-TestBasicPolicy-48203878-60529547 is ready for SSH connections 2025-03-19 11:20:39,315 - INFO - Waiting for VM ctest-TestBasicPolicy-48203878-85045173 to be up.. 2025-03-19 11:20:39,396 - DEBUG - VM is in ACTIVE state now 2025-03-19 11:20:39,396 - INFO - VM name : ctest-TestBasicPolicy-48203878-85045173 2025-03-19 11:20:39,484 - DEBUG - VM ctest-TestBasicPolicy-48203878-85045173 ID is 758405bf-e200-4cd8-a55c-bb2c7f4e1b51 2025-03-19 11:20:39,484 - DEBUG - VM ctest-TestBasicPolicy-48203878-85045173 launched on Node cn-jenkins-deploy-platform-ansible-os-2920-1 2025-03-19 11:20:39,558 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/758405bf-e200-4cd8-a55c-bb2c7f4e1b51 2025-03-19 11:20:39,567 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/add62ef8-533b-439e-b802-9231560be49c 2025-03-19 11:20:40,805 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.487/2.565/1.077 ms') 2025-03-19 11:20:40,805 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48203878-85045173 passed 2025-03-19 11:20:40,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 11:20:40,953 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48203878-85045173, IP 187.20.247.195, Port 22 2025-03-19 11:20:41,119 - DEBUG - VM ctest-TestBasicPolicy-48203878-85045173 is ready for SSH connections 2025-03-19 11:20:41,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 11:20:41,119 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.20.247.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-03-19 11:20:41,119 - DEBUG - ping -s 56 -c 3 -W 1 187.20.247.195 2025-03-19 11:20:45,068 - DEBUG - PING 187.20.247.195 (187.20.247.195): 56 data bytes 64 bytes from 187.20.247.195: seq=0 ttl=63 time=3.231 ms 64 bytes from 187.20.247.195: seq=1 ttl=63 time=1.069 ms 64 bytes from 187.20.247.195: seq=2 ttl=63 time=0.742 ms --- 187.20.247.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.742/1.680/3.231 ms 2025-03-19 11:20:45,068 - INFO - Ping to IP 187.20.247.195 from VM ctest-TestBasicPolicy-48203878-60529547 passed 2025-03-19 11:20:45,245 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8754e91d-650f-4418-bee6-692f77bf322f", "href": "http://10.0.0.29:8082/network-policy/8754e91d-650f-4418-bee6-692f77bf322f"}} 2025-03-19 11:20:45,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-19 11:20:45,245 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.20.247.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-03-19 11:20:45,245 - DEBUG - ping -s 56 -c 3 -W 1 187.20.247.195 2025-03-19 11:20:48,458 - DEBUG - PING 187.20.247.195 (187.20.247.195): 56 data bytes --- 187.20.247.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-03-19 11:20:48,458 - WARNING - Ping to IP 187.20.247.195 from VM ctest-TestBasicPolicy-48203878-60529547 failed 2025-03-19 11:20:48,458 - INFO - Deleting VM ctest-TestBasicPolicy-48203878-85045173 2025-03-19 11:20:48,527 - INFO - Deleting VM ctest-TestBasicPolicy-48203878-60529547 2025-03-19 11:20:48,975 - INFO - Deleted policy ctest-policy-allow-all-82727987 2025-03-19 11:20:48,976 - INFO - Deleting VN ctest-vn-95050026 2025-03-19 11:20:49,018 - DEBUG - VN 290632b6-7180-4d98-a72d-e66c4e3061e6 still in use: Unable to complete operation on network 290632b6-7180-4d98-a72d-e66c4e3061e6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d30e5bc8-6a7a-45e2-9329-8a8e73444fcf'] 2025-03-19 11:20:49,018 - WARNING - Deleting VN ctest-vn-95050026 failed..Will retry 2025-03-19 11:20:51,130 - DEBUG - Response for deleting network () 2025-03-19 11:20:51,130 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d8ef68ec-4ef9-4e41-92a7-6662c72edc32 2025-03-19 11:20:51,139 - DEBUG - Response Code: 404 2025-03-19 11:20:51,139 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-03-19 11:20:51,144 - DEBUG - Requesting: http://10.0.0.29:8082/domain/f132e654-3f7f-43a8-b6d2-a5ee486f6725 2025-03-19 11:20:51,199 - DEBUG - Requesting: http://10.0.0.29:8082/project/e2196420-32a3-4e66-9708-d388c8d16f9d 2025-03-19 11:20:51,273 - INFO - Validated that VN ctest-vn-95050026 is not found in API Server 2025-03-19 11:20:51,286 - DEBUG - VN ctest-vn-95050026 is not present in Agent 10.0.0.29 2025-03-19 11:20:51,286 - INFO - Validated that VN ctest-vn-95050026 is not in any agent 2025-03-19 11:20:51,302 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95050026 info 2025-03-19 11:20:51,302 - INFO - Deleting VN ctest-vn-72985935 2025-03-19 11:20:51,421 - DEBUG - Response for deleting network () 2025-03-19 11:20:51,421 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/55402c81-8537-4680-b5b1-6ea1742c7e38 2025-03-19 11:20:51,431 - DEBUG - Response Code: 404 2025-03-19 11:20:51,431 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2025-03-19 11:20:51,438 - DEBUG - Requesting: http://10.0.0.29:8082/domain/f132e654-3f7f-43a8-b6d2-a5ee486f6725 2025-03-19 11:20:51,494 - DEBUG - Requesting: http://10.0.0.29:8082/project/e2196420-32a3-4e66-9708-d388c8d16f9d 2025-03-19 11:20:51,568 - INFO - Validated that VN ctest-vn-72985935 is not found in API Server 2025-03-19 11:20:51,580 - DEBUG - VN ctest-vn-72985935 is not present in Agent 10.0.0.29 2025-03-19 11:20:51,580 - INFO - Validated that VN ctest-vn-72985935 is not in any agent 2025-03-19 11:20:51,595 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72985935 info 2025-03-19 11:20:51,850 - DEBUG - No XMPP flaps were noticed during the test 2025-03-19 11:20:51,851 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-03-19 11:20:51,851 - INFO - -------------------------------------------------------------------------------- 2025-03-19 11:20:52,540 - INFO - Deleted project: ctest-TestBasicPolicy-48203878, ID : e2196420-32a3-4e66-9708-d388c8d16f9d