2025-04-25 00:11:54,496 - INFO - Domain Default found not creating 2025-04-25 00:11:54,614 - INFO - Project ctest-TestBasicPolicy-35852979 not found, creating it 2025-04-25 00:11:55,064 - INFO - Created Project:ctest-TestBasicPolicy-35852979, ID : ac6e5098-3109-4c22-887c-158a35fbc240 2025-04-25 00:11:56,387 - INFO - ================================================================================ 2025-04-25 00:11:56,388 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-25 00:11:56,388 - 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-04-25 00:11:56,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-04-25 00:11:56,643 - INFO - Initial checks done. Running the testcase now 2025-04-25 00:11:56,643 - INFO - 2025-04-25 00:11:57,269 - DEBUG - Response for create_network : {'network': {'id': '27965251-0785-4e73-8091-d4f369b371f2', 'name': 'ctest-vn-28117474', 'tenant_id': 'ac6e509831094c22887c158a35fbc240', 'project_id': 'ac6e509831094c22887c158a35fbc240', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35852979', 'ctest-vn-28117474'], 'port_security_enabled': True, 'description': ''}} 2025-04-25 00:11:57,480 - DEBUG - Response for create_subnet : {'subnet': {'id': '01ca7054-3d89-44a4-85aa-ac815073314f', 'name': '', 'tenant_id': 'ac6e509831094c22887c158a35fbc240', 'network_id': '27965251-0785-4e73-8091-d4f369b371f2', 'ip_version': 4, 'cidr': '196.77.200.64/26', 'allocation_pools': [{'start': '196.77.200.66', 'end': '196.77.200.126'}], 'gateway_ip': '196.77.200.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.77.200.66', 'tags': [], 'project_id': 'ac6e509831094c22887c158a35fbc240'}} 2025-04-25 00:11:57,497 - INFO - Created VN ctest-vn-28117474 2025-04-25 00:11:57,548 - DEBUG - VN ctest-vn-28117474 UUID is 27965251-0785-4e73-8091-d4f369b371f2 2025-04-25 00:11:57,856 - DEBUG - Response for create_network : {'network': {'id': '64a3cce2-5e22-4f5d-96ff-7e0b3f55e913', 'name': 'ctest-vn-02996652', 'tenant_id': 'ac6e509831094c22887c158a35fbc240', 'project_id': 'ac6e509831094c22887c158a35fbc240', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35852979', 'ctest-vn-02996652'], 'port_security_enabled': True, 'description': ''}} 2025-04-25 00:11:57,992 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f992d8c-899a-4c8b-bac0-8173df79d685', 'name': '', 'tenant_id': 'ac6e509831094c22887c158a35fbc240', 'network_id': '64a3cce2-5e22-4f5d-96ff-7e0b3f55e913', 'ip_version': 4, 'cidr': '214.141.28.0/26', 'allocation_pools': [{'start': '214.141.28.2', 'end': '214.141.28.62'}], 'gateway_ip': '214.141.28.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.141.28.2', 'tags': [], 'project_id': 'ac6e509831094c22887c158a35fbc240'}} 2025-04-25 00:11:58,007 - INFO - Created VN ctest-vn-02996652 2025-04-25 00:11:58,060 - DEBUG - VN ctest-vn-02996652 UUID is 64a3cce2-5e22-4f5d-96ff-7e0b3f55e913 2025-04-25 00:11:58,200 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35852979:ctest-vn-28117474, 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-35852979:ctest-vn-02996652, 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-04-25 00:11:58,488 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '27965251-0785-4e73-8091-d4f369b371f2', 'name': 'ctest-vn-28117474', 'tenant_id': 'ac6e509831094c22887c158a35fbc240', 'project_id': 'ac6e509831094c22887c158a35fbc240', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['01ca7054-3d89-44a4-85aa-ac815073314f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35852979', 'ctest-vn-28117474'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35852979', 'ctest-policy-allow-all-37854427']], 'subnet_ipam': [{'subnet_cidr': '196.77.200.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-25 00:11:58,730 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '64a3cce2-5e22-4f5d-96ff-7e0b3f55e913', 'name': 'ctest-vn-02996652', 'tenant_id': 'ac6e509831094c22887c158a35fbc240', 'project_id': 'ac6e509831094c22887c158a35fbc240', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8f992d8c-899a-4c8b-bac0-8173df79d685'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35852979', 'ctest-vn-02996652'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35852979', 'ctest-policy-allow-all-37854427']], 'subnet_ipam': [{'subnet_cidr': '214.141.28.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-25 00:11:58,888 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-25 00:11:59,177 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-25 00:11:59,201 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4f7e40b2-f298-4f2c-ac7e-b85d148b9410 2025-04-25 00:11:59,213 - DEBUG - Requesting: http://10.0.0.19:8082/project/ac6e5098-3109-4c22-887c-158a35fbc240 2025-04-25 00:11:59,293 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/27965251-0785-4e73-8091-d4f369b371f2 2025-04-25 00:11:59,304 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/27965251-0785-4e73-8091-d4f369b371f2 2025-04-25 00:11:59,314 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2f921675-9e99-4e39-8677-418c9ca58455 2025-04-25 00:11:59,321 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2f921675-9e99-4e39-8677-418c9ca58455 2025-04-25 00:11:59,327 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/95ee3193-446a-4800-b95b-449537652e18 2025-04-25 00:11:59,333 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-25 00:11:59,333 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/27965251-0785-4e73-8091-d4f369b371f2 2025-04-25 00:11:59,340 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2f921675-9e99-4e39-8677-418c9ca58455 2025-04-25 00:11:59,352 - INFO - Verified VN network id 8 for VN 27965251-0785-4e73-8091-d4f369b371f2 2025-04-25 00:11:59,352 - INFO - Verifications in API Server for VN ctest-vn-28117474 passed 2025-04-25 00:11:59,352 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/27965251-0785-4e73-8091-d4f369b371f2 2025-04-25 00:11:59,360 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2f921675-9e99-4e39-8677-418c9ca58455 2025-04-25 00:11:59,367 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2f921675-9e99-4e39-8677-418c9ca58455 2025-04-25 00:11:59,373 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/95ee3193-446a-4800-b95b-449537652e18 2025-04-25 00:11:59,383 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35852979:ctest-vn-28117474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35852979', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2852557921957793395', 'uuid-lslong': '9264420050393330162'}, 'enable': 'true', 'created': '2025-04-25T00:11:57', 'last-modified': '2025-04-25T00:11:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.913356'} 2025-04-25 00:11:59,389 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-25 00:11:59,389 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28117474 passed 2025-04-25 00:11:59,389 - DEBUG - ====Verifying policy data for ctest-vn-28117474 in API_Server ====== 2025-04-25 00:11:59,389 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-25 00:11:59,393 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4f7e40b2-f298-4f2c-ac7e-b85d148b9410 2025-04-25 00:11:59,403 - DEBUG - Requesting: http://10.0.0.19:8082/project/ac6e5098-3109-4c22-887c-158a35fbc240 2025-04-25 00:11:59,472 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/27965251-0785-4e73-8091-d4f369b371f2 2025-04-25 00:11:59,480 - DEBUG - ==>Verifying data for policy with id: e4a298d9-7492-47ca-a5b3-78773fa7a281, fqn: ['default-domain', 'ctest-TestBasicPolicy-35852979', 'ctest-policy-allow-all-37854427'] 2025-04-25 00:11:59,480 - INFO - VN ctest-vn-28117474 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-25 00:11:59,481 - DEBUG - Verifying the vn in opserver 2025-04-25 00:11:59,481 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35852979:ctest-vn-28117474 virtual network link through opserver 10.0.0.19 2025-04-25 00:11:59,481 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-04-25 00:11:59,774 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-04-25 00:11:59,819 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35852979:ctest-vn-28117474', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35852979:ctest-vn-28117474?flat'} 2025-04-25 00:11:59,819 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35852979:ctest-vn-28117474 is found in opserver 2025-04-25 00:11:59,829 - DEBUG - Do not have enough data to verify VN in agent 2025-04-25 00:11:59,833 - DEBUG - VRF ids for VN ctest-vn-28117474: {} 2025-04-25 00:11:59,833 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-25 00:11:59,838 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4f7e40b2-f298-4f2c-ac7e-b85d148b9410 2025-04-25 00:11:59,848 - DEBUG - Requesting: http://10.0.0.19:8082/project/ac6e5098-3109-4c22-887c-158a35fbc240 2025-04-25 00:11:59,923 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/64a3cce2-5e22-4f5d-96ff-7e0b3f55e913 2025-04-25 00:11:59,934 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/64a3cce2-5e22-4f5d-96ff-7e0b3f55e913 2025-04-25 00:11:59,943 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f57a7674-e9f9-4622-80fc-97f57a5a679b 2025-04-25 00:11:59,949 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f57a7674-e9f9-4622-80fc-97f57a5a679b 2025-04-25 00:11:59,955 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/c9d80a51-1a61-415e-92db-8e82d5f9e0e5 2025-04-25 00:11:59,960 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-25 00:11:59,960 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/64a3cce2-5e22-4f5d-96ff-7e0b3f55e913 2025-04-25 00:11:59,968 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f57a7674-e9f9-4622-80fc-97f57a5a679b 2025-04-25 00:11:59,980 - INFO - Verified VN network id 9 for VN 64a3cce2-5e22-4f5d-96ff-7e0b3f55e913 2025-04-25 00:11:59,980 - INFO - Verifications in API Server for VN ctest-vn-02996652 passed 2025-04-25 00:11:59,980 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/64a3cce2-5e22-4f5d-96ff-7e0b3f55e913 2025-04-25 00:11:59,989 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f57a7674-e9f9-4622-80fc-97f57a5a679b 2025-04-25 00:11:59,994 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f57a7674-e9f9-4622-80fc-97f57a5a679b 2025-04-25 00:12:00,002 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/c9d80a51-1a61-415e-92db-8e82d5f9e0e5 2025-04-25 00:12:00,013 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35852979:ctest-vn-02996652', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35852979', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7251865097610612573', 'uuid-lslong': '10880553811522742547'}, 'enable': 'true', 'created': '2025-04-25T00:11:57', 'last-modified': '2025-04-25T00:11:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.315430'} 2025-04-25 00:12:00,019 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-25 00:12:00,019 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02996652 passed 2025-04-25 00:12:00,020 - DEBUG - ====Verifying policy data for ctest-vn-02996652 in API_Server ====== 2025-04-25 00:12:00,020 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-25 00:12:00,027 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4f7e40b2-f298-4f2c-ac7e-b85d148b9410 2025-04-25 00:12:00,041 - DEBUG - Requesting: http://10.0.0.19:8082/project/ac6e5098-3109-4c22-887c-158a35fbc240 2025-04-25 00:12:00,128 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/64a3cce2-5e22-4f5d-96ff-7e0b3f55e913 2025-04-25 00:12:00,138 - DEBUG - ==>Verifying data for policy with id: e4a298d9-7492-47ca-a5b3-78773fa7a281, fqn: ['default-domain', 'ctest-TestBasicPolicy-35852979', 'ctest-policy-allow-all-37854427'] 2025-04-25 00:12:00,138 - INFO - VN ctest-vn-02996652 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-25 00:12:00,138 - DEBUG - Verifying the vn in opserver 2025-04-25 00:12:00,138 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35852979:ctest-vn-02996652 virtual network link through opserver 10.0.0.19 2025-04-25 00:12:00,138 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-04-25 00:12:00,147 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35852979:ctest-vn-02996652', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35852979:ctest-vn-02996652?flat'} 2025-04-25 00:12:00,147 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35852979:ctest-vn-02996652 is found in opserver 2025-04-25 00:12:00,157 - DEBUG - Do not have enough data to verify VN in agent 2025-04-25 00:12:00,162 - DEBUG - VRF ids for VN ctest-vn-02996652: {} 2025-04-25 00:12:00,210 - DEBUG - Services list from nova: [, , ] 2025-04-25 00:12:01,167 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3211-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3211-1) 2025-04-25 00:12:02,328 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3211-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3211-1) 2025-04-25 00:12:02,328 - INFO - Waiting for VM ctest-TestBasicPolicy-35852979-40256071 to be up.. 2025-04-25 00:12:02,405 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-25 00:12:07,472 - DEBUG - VM is in ACTIVE state now 2025-04-25 00:12:07,472 - INFO - VM name : ctest-TestBasicPolicy-35852979-40256071 2025-04-25 00:12:07,544 - DEBUG - VM ctest-TestBasicPolicy-35852979-40256071 ID is 135a7dc8-d661-429d-8f55-39d64f48bfbb 2025-04-25 00:12:07,560 - DEBUG - VM ctest-TestBasicPolicy-35852979-40256071 launched on Node cn-jenkins-deploy-platform-ansible-os-3211-1 2025-04-25 00:12:07,624 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/135a7dc8-d661-429d-8f55-39d64f48bfbb 2025-04-25 00:12:07,631 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/693ba521-5be9-4de6-b253-328151e2db6d 2025-04-25 00:12:10,877 - 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 1008ms') 2025-04-25 00:12:10,877 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35852979-40256071 failed! 2025-04-25 00:12:10,932 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35852979:ctest-vn-28117474 is 196.77.200.65 and allocation pool is NOT set 2025-04-25 00:12:12,992 - 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=2.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.386 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.386/1.495/2.605/1.109 ms') 2025-04-25 00:12:12,992 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35852979-40256071 passed 2025-04-25 00:12:13,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 00:12:13,144 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35852979-40256071, IP 196.77.200.67, Port 22 2025-04-25 00:12:13,299 - DEBUG - VM ctest-TestBasicPolicy-35852979-40256071 is ready for SSH connections 2025-04-25 00:12:13,299 - INFO - Waiting for VM ctest-TestBasicPolicy-35852979-27212538 to be up.. 2025-04-25 00:12:13,375 - DEBUG - VM is in ACTIVE state now 2025-04-25 00:12:13,375 - INFO - VM name : ctest-TestBasicPolicy-35852979-27212538 2025-04-25 00:12:13,444 - DEBUG - VM ctest-TestBasicPolicy-35852979-27212538 ID is 96b1ad2f-4a37-4244-b83d-bf1b0b2f5106 2025-04-25 00:12:13,445 - DEBUG - VM ctest-TestBasicPolicy-35852979-27212538 launched on Node cn-jenkins-deploy-platform-ansible-os-3211-1 2025-04-25 00:12:13,515 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/96b1ad2f-4a37-4244-b83d-bf1b0b2f5106 2025-04-25 00:12:13,524 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/52892871-9db7-4ad6-a64e-50bef8efddd4 2025-04-25 00:12:14,758 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.345 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.345/1.527/2.710/1.182 ms') 2025-04-25 00:12:14,758 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35852979-27212538 passed 2025-04-25 00:12:14,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 00:12:14,908 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35852979-27212538, IP 214.141.28.3, Port 22 2025-04-25 00:12:15,060 - DEBUG - VM ctest-TestBasicPolicy-35852979-27212538 is ready for SSH connections 2025-04-25 00:12:15,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 00:12:15,060 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.141.28.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-04-25 00:12:15,060 - DEBUG - ping -s 56 -c 3 -W 1 214.141.28.3 2025-04-25 00:12:18,697 - DEBUG - PING 214.141.28.3 (214.141.28.3): 56 data bytes 64 bytes from 214.141.28.3: seq=0 ttl=63 time=3.166 ms 64 bytes from 214.141.28.3: seq=1 ttl=63 time=0.686 ms 64 bytes from 214.141.28.3: seq=2 ttl=63 time=0.769 ms --- 214.141.28.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.686/1.540/3.166 ms 2025-04-25 00:12:18,697 - INFO - Ping to IP 214.141.28.3 from VM ctest-TestBasicPolicy-35852979-40256071 passed 2025-04-25 00:12:18,876 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e4a298d9-7492-47ca-a5b3-78773fa7a281", "href": "http://10.0.0.19:8082/network-policy/e4a298d9-7492-47ca-a5b3-78773fa7a281"}} 2025-04-25 00:12:18,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 00:12:18,876 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.141.28.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-04-25 00:12:18,876 - DEBUG - ping -s 56 -c 3 -W 1 214.141.28.3 2025-04-25 00:12:22,072 - DEBUG - PING 214.141.28.3 (214.141.28.3): 56 data bytes --- 214.141.28.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-25 00:12:22,072 - WARNING - Ping to IP 214.141.28.3 from VM ctest-TestBasicPolicy-35852979-40256071 failed 2025-04-25 00:12:22,072 - INFO - Deleting VM ctest-TestBasicPolicy-35852979-27212538 2025-04-25 00:12:22,128 - INFO - Deleting VM ctest-TestBasicPolicy-35852979-40256071 2025-04-25 00:12:22,496 - INFO - Deleted policy ctest-policy-allow-all-37854427 2025-04-25 00:12:22,496 - INFO - Deleting VN ctest-vn-02996652 2025-04-25 00:12:22,524 - DEBUG - VN 64a3cce2-5e22-4f5d-96ff-7e0b3f55e913 still in use: Unable to complete operation on network 64a3cce2-5e22-4f5d-96ff-7e0b3f55e913. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-50d96b84-6170-443b-a646-deb875972b40'] 2025-04-25 00:12:22,524 - WARNING - Deleting VN ctest-vn-02996652 failed..Will retry 2025-04-25 00:12:24,627 - DEBUG - Response for deleting network () 2025-04-25 00:12:24,627 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f57a7674-e9f9-4622-80fc-97f57a5a679b 2025-04-25 00:12:24,632 - DEBUG - Response Code: 404 2025-04-25 00:12:24,632 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-25 00:12:24,639 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4f7e40b2-f298-4f2c-ac7e-b85d148b9410 2025-04-25 00:12:24,693 - DEBUG - Requesting: http://10.0.0.19:8082/project/ac6e5098-3109-4c22-887c-158a35fbc240 2025-04-25 00:12:24,763 - INFO - Validated that VN ctest-vn-02996652 is not found in API Server 2025-04-25 00:12:24,774 - DEBUG - VN ctest-vn-02996652 is not present in Agent 10.0.0.19 2025-04-25 00:12:24,774 - INFO - Validated that VN ctest-vn-02996652 is not in any agent 2025-04-25 00:12:24,789 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02996652 info 2025-04-25 00:12:24,790 - INFO - Deleting VN ctest-vn-28117474 2025-04-25 00:12:24,899 - DEBUG - Response for deleting network () 2025-04-25 00:12:24,899 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2f921675-9e99-4e39-8677-418c9ca58455 2025-04-25 00:12:24,905 - DEBUG - Response Code: 404 2025-04-25 00:12:24,905 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-04-25 00:12:24,910 - DEBUG - Requesting: http://10.0.0.19:8082/domain/4f7e40b2-f298-4f2c-ac7e-b85d148b9410 2025-04-25 00:12:24,961 - DEBUG - Requesting: http://10.0.0.19:8082/project/ac6e5098-3109-4c22-887c-158a35fbc240 2025-04-25 00:12:25,038 - INFO - Validated that VN ctest-vn-28117474 is not found in API Server 2025-04-25 00:12:25,050 - DEBUG - VN ctest-vn-28117474 is not present in Agent 10.0.0.19 2025-04-25 00:12:25,050 - INFO - Validated that VN ctest-vn-28117474 is not in any agent 2025-04-25 00:12:25,064 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28117474 info 2025-04-25 00:12:25,317 - DEBUG - No XMPP flaps were noticed during the test 2025-04-25 00:12:25,317 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-25 00:12:25,317 - INFO - -------------------------------------------------------------------------------- 2025-04-25 00:12:25,970 - INFO - Deleted project: ctest-TestBasicPolicy-35852979, ID : ac6e5098-3109-4c22-887c-158a35fbc240