2025-01-09 02:17:04,556 - INFO - Domain Default found not creating 2025-01-09 02:17:04,745 - INFO - Project ctest-TestBasicPolicy-03243085 not found, creating it 2025-01-09 02:17:05,207 - INFO - Created Project:ctest-TestBasicPolicy-03243085, ID : 0e52fc46-cc26-4042-8ef1-633f1190f8d3 2025-01-09 02:17:06,685 - INFO - ================================================================================ 2025-01-09 02:17:06,685 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-09 02:17:06,685 - 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-01-09 02:17:06,941 - DEBUG - Nothing to compare xmpp stats {'10.0.0.53': {'10.0.0.53': '0'}} with 2025-01-09 02:17:06,941 - INFO - Initial checks done. Running the testcase now 2025-01-09 02:17:06,941 - INFO - 2025-01-09 02:17:07,555 - DEBUG - Response for create_network : {'network': {'id': '285c7a8a-d0c7-42b0-b03c-a2ca1d1956cb', 'name': 'ctest-vn-62318506', 'tenant_id': '0e52fc46cc2640428ef1633f1190f8d3', 'project_id': '0e52fc46cc2640428ef1633f1190f8d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03243085', 'ctest-vn-62318506'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 02:17:07,716 - DEBUG - Response for create_subnet : {'subnet': {'id': '50564c53-39d0-45a5-b680-bd25e7db13b6', 'name': '', 'tenant_id': '0e52fc46cc2640428ef1633f1190f8d3', 'network_id': '285c7a8a-d0c7-42b0-b03c-a2ca1d1956cb', 'ip_version': 4, 'cidr': '147.103.99.128/26', 'allocation_pools': [{'start': '147.103.99.130', 'end': '147.103.99.190'}], 'gateway_ip': '147.103.99.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.103.99.130', 'tags': [], 'project_id': '0e52fc46cc2640428ef1633f1190f8d3'}} 2025-01-09 02:17:07,736 - INFO - Created VN ctest-vn-62318506 2025-01-09 02:17:07,791 - DEBUG - VN ctest-vn-62318506 UUID is 285c7a8a-d0c7-42b0-b03c-a2ca1d1956cb 2025-01-09 02:17:08,088 - DEBUG - Response for create_network : {'network': {'id': '025b6fb7-39f1-4cae-ac1b-852612e6cd92', 'name': 'ctest-vn-01384017', 'tenant_id': '0e52fc46cc2640428ef1633f1190f8d3', 'project_id': '0e52fc46cc2640428ef1633f1190f8d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03243085', 'ctest-vn-01384017'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 02:17:08,283 - DEBUG - Response for create_subnet : {'subnet': {'id': '496fb79c-d92f-4a1e-bdf5-a4156144d3d5', 'name': '', 'tenant_id': '0e52fc46cc2640428ef1633f1190f8d3', 'network_id': '025b6fb7-39f1-4cae-ac1b-852612e6cd92', 'ip_version': 4, 'cidr': '35.217.108.192/26', 'allocation_pools': [{'start': '35.217.108.194', 'end': '35.217.108.254'}], 'gateway_ip': '35.217.108.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.217.108.194', 'tags': [], 'project_id': '0e52fc46cc2640428ef1633f1190f8d3'}} 2025-01-09 02:17:08,302 - INFO - Created VN ctest-vn-01384017 2025-01-09 02:17:08,354 - DEBUG - VN ctest-vn-01384017 UUID is 025b6fb7-39f1-4cae-ac1b-852612e6cd92 2025-01-09 02:17:08,467 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03243085:ctest-vn-62318506, 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-03243085:ctest-vn-01384017, 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-01-09 02:17:08,773 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '285c7a8a-d0c7-42b0-b03c-a2ca1d1956cb', 'name': 'ctest-vn-62318506', 'tenant_id': '0e52fc46cc2640428ef1633f1190f8d3', 'project_id': '0e52fc46cc2640428ef1633f1190f8d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['50564c53-39d0-45a5-b680-bd25e7db13b6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03243085', 'ctest-vn-62318506'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03243085', 'ctest-policy-allow-all-26727534']], 'subnet_ipam': [{'subnet_cidr': '147.103.99.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-09 02:17:09,015 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '025b6fb7-39f1-4cae-ac1b-852612e6cd92', 'name': 'ctest-vn-01384017', 'tenant_id': '0e52fc46cc2640428ef1633f1190f8d3', 'project_id': '0e52fc46cc2640428ef1633f1190f8d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['496fb79c-d92f-4a1e-bdf5-a4156144d3d5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03243085', 'ctest-vn-01384017'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03243085', 'ctest-policy-allow-all-26727534']], 'subnet_ipam': [{'subnet_cidr': '35.217.108.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-09 02:17:09,211 - DEBUG - Requesting: http://10.0.0.53:8082/domains 2025-01-09 02:17:09,507 - DEBUG - Requesting: http://10.0.0.53:8082/domains 2025-01-09 02:17:09,541 - DEBUG - Requesting: http://10.0.0.53:8082/domain/1c81a2ce-5e3e-45a1-9554-609c9d414333 2025-01-09 02:17:09,558 - DEBUG - Requesting: http://10.0.0.53:8082/project/0e52fc46-cc26-4042-8ef1-633f1190f8d3 2025-01-09 02:17:09,640 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/285c7a8a-d0c7-42b0-b03c-a2ca1d1956cb 2025-01-09 02:17:09,652 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/285c7a8a-d0c7-42b0-b03c-a2ca1d1956cb 2025-01-09 02:17:09,664 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/23c17683-e1b1-4b47-9739-07cd4d9876d7 2025-01-09 02:17:09,673 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/23c17683-e1b1-4b47-9739-07cd4d9876d7 2025-01-09 02:17:09,681 - DEBUG - Requesting: http://10.0.0.53:8082/route-target/e88449c1-04b0-41ee-89f9-8a907d5ebe79 2025-01-09 02:17:09,689 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-09 02:17:09,689 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/285c7a8a-d0c7-42b0-b03c-a2ca1d1956cb 2025-01-09 02:17:09,701 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/23c17683-e1b1-4b47-9739-07cd4d9876d7 2025-01-09 02:17:09,718 - INFO - Verified VN network id 8 for VN 285c7a8a-d0c7-42b0-b03c-a2ca1d1956cb 2025-01-09 02:17:09,718 - INFO - Verifications in API Server for VN ctest-vn-62318506 passed 2025-01-09 02:17:09,718 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/285c7a8a-d0c7-42b0-b03c-a2ca1d1956cb 2025-01-09 02:17:09,730 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/23c17683-e1b1-4b47-9739-07cd4d9876d7 2025-01-09 02:17:09,739 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/23c17683-e1b1-4b47-9739-07cd4d9876d7 2025-01-09 02:17:09,746 - DEBUG - Requesting: http://10.0.0.53:8082/route-target/e88449c1-04b0-41ee-89f9-8a907d5ebe79 2025-01-09 02:17:09,760 - DEBUG - Control-node 10.0.0.53 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03243085:ctest-vn-62318506', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03243085', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2908334196001292976', 'uuid-lslong': '12699204038233249483'}, 'enable': 'true', 'created': '2025-01-09T02:17:07', 'last-modified': '2025-01-09T02:17:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.014386'} 2025-01-09 02:17:09,767 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-09 02:17:09,768 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62318506 passed 2025-01-09 02:17:09,768 - DEBUG - ====Verifying policy data for ctest-vn-62318506 in API_Server ====== 2025-01-09 02:17:09,768 - DEBUG - Requesting: http://10.0.0.53:8082/domains 2025-01-09 02:17:09,774 - DEBUG - Requesting: http://10.0.0.53:8082/domain/1c81a2ce-5e3e-45a1-9554-609c9d414333 2025-01-09 02:17:09,786 - DEBUG - Requesting: http://10.0.0.53:8082/project/0e52fc46-cc26-4042-8ef1-633f1190f8d3 2025-01-09 02:17:09,869 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/285c7a8a-d0c7-42b0-b03c-a2ca1d1956cb 2025-01-09 02:17:09,882 - DEBUG - ==>Verifying data for policy with id: f75cb968-42b9-4a7e-9b56-51449241ff19, fqn: ['default-domain', 'ctest-TestBasicPolicy-03243085', 'ctest-policy-allow-all-26727534'] 2025-01-09 02:17:09,882 - INFO - VN ctest-vn-62318506 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-09 02:17:09,882 - DEBUG - Verifying the vn in opserver 2025-01-09 02:17:09,882 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03243085:ctest-vn-62318506 virtual network link through opserver 10.0.0.53 2025-01-09 02:17:09,882 - DEBUG - Requesting: http://10.0.0.53:8081/analytics/uves/virtual-networks 2025-01-09 02:17:10,177 - DEBUG - Requesting: http://10.0.0.53:8081/analytics/uves/virtual-networks 2025-01-09 02:17:10,240 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03243085:ctest-vn-62318506', 'href': 'http://10.0.0.53:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03243085:ctest-vn-62318506?flat'} 2025-01-09 02:17:10,241 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03243085:ctest-vn-62318506 is found in opserver 2025-01-09 02:17:10,253 - DEBUG - Do not have enough data to verify VN in agent 2025-01-09 02:17:10,258 - DEBUG - VRF ids for VN ctest-vn-62318506: {} 2025-01-09 02:17:10,259 - DEBUG - Requesting: http://10.0.0.53:8082/domains 2025-01-09 02:17:10,266 - DEBUG - Requesting: http://10.0.0.53:8082/domain/1c81a2ce-5e3e-45a1-9554-609c9d414333 2025-01-09 02:17:10,280 - DEBUG - Requesting: http://10.0.0.53:8082/project/0e52fc46-cc26-4042-8ef1-633f1190f8d3 2025-01-09 02:17:10,363 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/025b6fb7-39f1-4cae-ac1b-852612e6cd92 2025-01-09 02:17:10,377 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/025b6fb7-39f1-4cae-ac1b-852612e6cd92 2025-01-09 02:17:10,388 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/e11c11f3-6b25-47a7-9f7b-ac675ea2ef6e 2025-01-09 02:17:10,396 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/e11c11f3-6b25-47a7-9f7b-ac675ea2ef6e 2025-01-09 02:17:10,403 - DEBUG - Requesting: http://10.0.0.53:8082/route-target/559b962a-b35b-4174-baf9-dd74ce24e4ee 2025-01-09 02:17:10,410 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-09 02:17:10,410 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/025b6fb7-39f1-4cae-ac1b-852612e6cd92 2025-01-09 02:17:10,422 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/e11c11f3-6b25-47a7-9f7b-ac675ea2ef6e 2025-01-09 02:17:10,438 - INFO - Verified VN network id 9 for VN 025b6fb7-39f1-4cae-ac1b-852612e6cd92 2025-01-09 02:17:10,438 - INFO - Verifications in API Server for VN ctest-vn-01384017 passed 2025-01-09 02:17:10,438 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/025b6fb7-39f1-4cae-ac1b-852612e6cd92 2025-01-09 02:17:10,449 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/e11c11f3-6b25-47a7-9f7b-ac675ea2ef6e 2025-01-09 02:17:10,457 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/e11c11f3-6b25-47a7-9f7b-ac675ea2ef6e 2025-01-09 02:17:10,464 - DEBUG - Requesting: http://10.0.0.53:8082/route-target/559b962a-b35b-4174-baf9-dd74ce24e4ee 2025-01-09 02:17:10,480 - DEBUG - Control-node 10.0.0.53 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03243085:ctest-vn-01384017', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03243085', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '169852243698338990', 'uuid-lslong': '12401652397467159954'}, 'enable': 'true', 'created': '2025-01-09T02:17:08', 'last-modified': '2025-01-09T02:17:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.495490'} 2025-01-09 02:17:10,487 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-09 02:17:10,487 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01384017 passed 2025-01-09 02:17:10,487 - DEBUG - ====Verifying policy data for ctest-vn-01384017 in API_Server ====== 2025-01-09 02:17:10,487 - DEBUG - Requesting: http://10.0.0.53:8082/domains 2025-01-09 02:17:10,495 - DEBUG - Requesting: http://10.0.0.53:8082/domain/1c81a2ce-5e3e-45a1-9554-609c9d414333 2025-01-09 02:17:10,509 - DEBUG - Requesting: http://10.0.0.53:8082/project/0e52fc46-cc26-4042-8ef1-633f1190f8d3 2025-01-09 02:17:10,592 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-network/025b6fb7-39f1-4cae-ac1b-852612e6cd92 2025-01-09 02:17:10,613 - DEBUG - ==>Verifying data for policy with id: f75cb968-42b9-4a7e-9b56-51449241ff19, fqn: ['default-domain', 'ctest-TestBasicPolicy-03243085', 'ctest-policy-allow-all-26727534'] 2025-01-09 02:17:10,613 - INFO - VN ctest-vn-01384017 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-09 02:17:10,613 - DEBUG - Verifying the vn in opserver 2025-01-09 02:17:10,613 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03243085:ctest-vn-01384017 virtual network link through opserver 10.0.0.53 2025-01-09 02:17:10,613 - DEBUG - Requesting: http://10.0.0.53:8081/analytics/uves/virtual-networks 2025-01-09 02:17:10,628 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03243085:ctest-vn-01384017', 'href': 'http://10.0.0.53:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03243085:ctest-vn-01384017?flat'} 2025-01-09 02:17:10,628 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03243085:ctest-vn-01384017 is found in opserver 2025-01-09 02:17:10,642 - DEBUG - Do not have enough data to verify VN in agent 2025-01-09 02:17:10,648 - DEBUG - VRF ids for VN ctest-vn-01384017: {} 2025-01-09 02:17:10,709 - DEBUG - Services list from nova: [, , ] 2025-01-09 02:17:11,874 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2573-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2573-1) 2025-01-09 02:17:13,076 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2573-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2573-1) 2025-01-09 02:17:13,076 - INFO - Waiting for VM ctest-TestBasicPolicy-03243085-69246788 to be up.. 2025-01-09 02:17:13,191 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 02:17:18,292 - DEBUG - VM is in ACTIVE state now 2025-01-09 02:17:18,292 - INFO - VM name : ctest-TestBasicPolicy-03243085-69246788 2025-01-09 02:17:18,372 - DEBUG - VM ctest-TestBasicPolicy-03243085-69246788 ID is d86cbd3d-ce8c-4644-ae79-764cd27b3803 2025-01-09 02:17:18,393 - DEBUG - VM ctest-TestBasicPolicy-03243085-69246788 launched on Node cn-jenkins-deploy-platform-ansible-os-2573-1. 2025-01-09 02:17:18,471 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/d86cbd3d-ce8c-4644-ae79-764cd27b3803 2025-01-09 02:17:18,481 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine-interface/e3e23af9-7a84-4440-8f25-09dd191ffcc7 2025-01-09 02:17:21,741 - 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 1007ms') 2025-01-09 02:17:21,742 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03243085-69246788 failed! 2025-01-09 02:17:21,799 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03243085:ctest-vn-62318506 is 147.103.99.129 and allocation pool is NOT set 2025-01-09 02:17:23,857 - 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=10.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.21 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.208/6.441/10.675/4.233 ms') 2025-01-09 02:17:23,857 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03243085-69246788 passed 2025-01-09 02:17:24,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 02:17:24,019 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03243085-69246788, IP 147.103.99.131, Port 22 2025-01-09 02:17:24,174 - DEBUG - VM ctest-TestBasicPolicy-03243085-69246788 is ready for SSH connections 2025-01-09 02:17:24,174 - INFO - Waiting for VM ctest-TestBasicPolicy-03243085-69894053 to be up.. 2025-01-09 02:17:24,268 - DEBUG - VM is in ACTIVE state now 2025-01-09 02:17:24,268 - INFO - VM name : ctest-TestBasicPolicy-03243085-69894053 2025-01-09 02:17:24,351 - DEBUG - VM ctest-TestBasicPolicy-03243085-69894053 ID is 285c1bb7-9c6c-4007-9835-586d9859f33e 2025-01-09 02:17:24,351 - DEBUG - VM ctest-TestBasicPolicy-03243085-69894053 launched on Node cn-jenkins-deploy-platform-ansible-os-2573-1. 2025-01-09 02:17:24,433 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/285c1bb7-9c6c-4007-9835-586d9859f33e 2025-01-09 02:17:24,443 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine-interface/0aea47ba-2525-4336-ab92-63d4aa5c144c 2025-01-09 02:17:25,697 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.36 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 = 1.361/3.000/4.640/1.639 ms') 2025-01-09 02:17:25,698 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03243085-69894053 passed 2025-01-09 02:17:25,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 02:17:25,859 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03243085-69894053, IP 35.217.108.195, Port 22 2025-01-09 02:17:26,019 - DEBUG - VM ctest-TestBasicPolicy-03243085-69894053 is ready for SSH connections 2025-01-09 02:17:26,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 02:17:26,019 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.217.108.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.53, gateway password: c0ntrail123 2025-01-09 02:17:26,019 - DEBUG - ping -s 56 -c 3 -W 1 35.217.108.195 2025-01-09 02:17:30,037 - DEBUG - PING 35.217.108.195 (35.217.108.195): 56 data bytes 64 bytes from 35.217.108.195: seq=0 ttl=63 time=5.363 ms 64 bytes from 35.217.108.195: seq=1 ttl=63 time=1.083 ms 64 bytes from 35.217.108.195: seq=2 ttl=63 time=0.842 ms --- 35.217.108.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.842/2.429/5.363 ms 2025-01-09 02:17:30,037 - INFO - Ping to IP 35.217.108.195 from VM ctest-TestBasicPolicy-03243085-69246788 passed 2025-01-09 02:17:30,218 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f75cb968-42b9-4a7e-9b56-51449241ff19", "href": "http://10.0.0.53:8082/network-policy/f75cb968-42b9-4a7e-9b56-51449241ff19"}} 2025-01-09 02:17:30,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 02:17:30,219 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.217.108.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.53, gateway password: c0ntrail123 2025-01-09 02:17:30,219 - DEBUG - ping -s 56 -c 3 -W 1 35.217.108.195 2025-01-09 02:17:33,422 - DEBUG - PING 35.217.108.195 (35.217.108.195): 56 data bytes 64 bytes from 35.217.108.195: seq=0 ttl=63 time=1.922 ms --- 35.217.108.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.922/1.922/1.922 ms 2025-01-09 02:17:33,422 - WARNING - Ping to IP 35.217.108.195 from VM ctest-TestBasicPolicy-03243085-69246788 failed 2025-01-09 02:17:33,423 - INFO - Deleting VM ctest-TestBasicPolicy-03243085-69894053 2025-01-09 02:17:33,495 - INFO - Deleting VM ctest-TestBasicPolicy-03243085-69246788 2025-01-09 02:17:33,980 - INFO - Deleted policy ctest-policy-allow-all-26727534 2025-01-09 02:17:33,980 - INFO - Deleting VN ctest-vn-01384017 2025-01-09 02:17:34,022 - DEBUG - VN 025b6fb7-39f1-4cae-ac1b-852612e6cd92 still in use: Unable to complete operation on network 025b6fb7-39f1-4cae-ac1b-852612e6cd92. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7a0674d5-141c-4057-b421-664dafd137dd'] 2025-01-09 02:17:34,022 - WARNING - Deleting VN ctest-vn-01384017 failed..Will retry 2025-01-09 02:17:36,139 - DEBUG - Response for deleting network () 2025-01-09 02:17:36,139 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/e11c11f3-6b25-47a7-9f7b-ac675ea2ef6e 2025-01-09 02:17:36,147 - DEBUG - Response Code: 404 2025-01-09 02:17:36,147 - DEBUG - Requesting: http://10.0.0.53:8082/domains 2025-01-09 02:17:36,155 - DEBUG - Requesting: http://10.0.0.53:8082/domain/1c81a2ce-5e3e-45a1-9554-609c9d414333 2025-01-09 02:17:36,220 - DEBUG - Requesting: http://10.0.0.53:8082/project/0e52fc46-cc26-4042-8ef1-633f1190f8d3 2025-01-09 02:17:36,295 - INFO - Validated that VN ctest-vn-01384017 is not found in API Server 2025-01-09 02:17:36,307 - DEBUG - VN ctest-vn-01384017 is not present in Agent 10.0.0.53 2025-01-09 02:17:36,307 - INFO - Validated that VN ctest-vn-01384017 is not in any agent 2025-01-09 02:17:36,323 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01384017 info 2025-01-09 02:17:36,323 - INFO - Deleting VN ctest-vn-62318506 2025-01-09 02:17:36,434 - DEBUG - Response for deleting network () 2025-01-09 02:17:36,435 - DEBUG - Requesting: http://10.0.0.53:8082/routing-instance/23c17683-e1b1-4b47-9739-07cd4d9876d7 2025-01-09 02:17:36,440 - DEBUG - Response Code: 404 2025-01-09 02:17:36,440 - DEBUG - Requesting: http://10.0.0.53:8082/domains 2025-01-09 02:17:36,448 - DEBUG - Requesting: http://10.0.0.53:8082/domain/1c81a2ce-5e3e-45a1-9554-609c9d414333 2025-01-09 02:17:36,505 - DEBUG - Requesting: http://10.0.0.53:8082/project/0e52fc46-cc26-4042-8ef1-633f1190f8d3 2025-01-09 02:17:36,582 - INFO - Validated that VN ctest-vn-62318506 is not found in API Server 2025-01-09 02:17:36,593 - DEBUG - VN ctest-vn-62318506 is not present in Agent 10.0.0.53 2025-01-09 02:17:36,593 - INFO - Validated that VN ctest-vn-62318506 is not in any agent 2025-01-09 02:17:36,609 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62318506 info 2025-01-09 02:17:36,865 - DEBUG - No XMPP flaps were noticed during the test 2025-01-09 02:17:36,865 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-09 02:17:36,865 - INFO - -------------------------------------------------------------------------------- 2025-01-09 02:17:37,547 - INFO - Deleted project: ctest-TestBasicPolicy-03243085, ID : 0e52fc46-cc26-4042-8ef1-633f1190f8d3