2025-07-17 02:25:39,797 - INFO - Domain Default found not creating 2025-07-17 02:25:39,931 - INFO - Project ctest-TestBasicPolicy-25572234 not found, creating it 2025-07-17 02:25:40,391 - INFO - Created Project:ctest-TestBasicPolicy-25572234, ID : ec6750c4-4607-4370-b49d-a4b0fc6d9536 2025-07-17 02:25:41,798 - INFO - ================================================================================ 2025-07-17 02:25:41,798 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-17 02:25:41,798 - 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-07-17 02:25:42,065 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.252': '0'}} with 2025-07-17 02:25:42,065 - INFO - Initial checks done. Running the testcase now 2025-07-17 02:25:42,065 - INFO - 2025-07-17 02:25:42,631 - DEBUG - Response for create_network : {'network': {'id': '1946e655-c705-4c24-a30a-83bdb7608777', 'name': 'ctest-vn-74674496', 'tenant_id': 'ec6750c446074370b49da4b0fc6d9536', 'project_id': 'ec6750c446074370b49da4b0fc6d9536', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25572234', 'ctest-vn-74674496'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 02:25:42,806 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1936319-e6d6-463a-8bcb-8692fd5779bc', 'name': '', 'tenant_id': 'ec6750c446074370b49da4b0fc6d9536', 'network_id': '1946e655-c705-4c24-a30a-83bdb7608777', 'ip_version': 4, 'cidr': '178.148.127.0/26', 'allocation_pools': [{'start': '178.148.127.2', 'end': '178.148.127.62'}], 'gateway_ip': '178.148.127.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.148.127.2', 'tags': [], 'project_id': 'ec6750c446074370b49da4b0fc6d9536'}} 2025-07-17 02:25:42,822 - INFO - Created VN ctest-vn-74674496 2025-07-17 02:25:42,877 - DEBUG - VN ctest-vn-74674496 UUID is 1946e655-c705-4c24-a30a-83bdb7608777 2025-07-17 02:25:43,219 - DEBUG - Response for create_network : {'network': {'id': 'eb5d36ae-95cf-441b-a306-dbe5894134be', 'name': 'ctest-vn-70703494', 'tenant_id': 'ec6750c446074370b49da4b0fc6d9536', 'project_id': 'ec6750c446074370b49da4b0fc6d9536', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25572234', 'ctest-vn-70703494'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 02:25:43,424 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f1a6437-808d-4a1f-97bd-77d666ee4288', 'name': '', 'tenant_id': 'ec6750c446074370b49da4b0fc6d9536', 'network_id': 'eb5d36ae-95cf-441b-a306-dbe5894134be', 'ip_version': 4, 'cidr': '47.237.242.192/26', 'allocation_pools': [{'start': '47.237.242.194', 'end': '47.237.242.254'}], 'gateway_ip': '47.237.242.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.237.242.194', 'tags': [], 'project_id': 'ec6750c446074370b49da4b0fc6d9536'}} 2025-07-17 02:25:43,442 - INFO - Created VN ctest-vn-70703494 2025-07-17 02:25:43,497 - DEBUG - VN ctest-vn-70703494 UUID is eb5d36ae-95cf-441b-a306-dbe5894134be 2025-07-17 02:25:43,645 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25572234:ctest-vn-74674496, 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-25572234:ctest-vn-70703494, 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-07-17 02:25:43,937 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1946e655-c705-4c24-a30a-83bdb7608777', 'name': 'ctest-vn-74674496', 'tenant_id': 'ec6750c446074370b49da4b0fc6d9536', 'project_id': 'ec6750c446074370b49da4b0fc6d9536', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e1936319-e6d6-463a-8bcb-8692fd5779bc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25572234', 'ctest-vn-74674496'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25572234', 'ctest-policy-allow-all-61645348']], 'subnet_ipam': [{'subnet_cidr': '178.148.127.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 02:25:44,244 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb5d36ae-95cf-441b-a306-dbe5894134be', 'name': 'ctest-vn-70703494', 'tenant_id': 'ec6750c446074370b49da4b0fc6d9536', 'project_id': 'ec6750c446074370b49da4b0fc6d9536', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f1a6437-808d-4a1f-97bd-77d666ee4288'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25572234', 'ctest-vn-70703494'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25572234', 'ctest-policy-allow-all-61645348']], 'subnet_ipam': [{'subnet_cidr': '47.237.242.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 02:25:44,385 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-17 02:25:44,680 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-17 02:25:44,706 - DEBUG - Requesting: http://10.0.0.49:8082/domain/2bbb6929-245b-47e4-9692-cd689f3f5260 2025-07-17 02:25:44,718 - DEBUG - Requesting: http://10.0.0.49:8082/project/ec6750c4-4607-4370-b49d-a4b0fc6d9536 2025-07-17 02:25:44,787 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/1946e655-c705-4c24-a30a-83bdb7608777 2025-07-17 02:25:44,798 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/1946e655-c705-4c24-a30a-83bdb7608777 2025-07-17 02:25:44,807 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f914d4bc-c86b-4161-ab2f-0910ec68d278 2025-07-17 02:25:44,814 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f914d4bc-c86b-4161-ab2f-0910ec68d278 2025-07-17 02:25:44,820 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/00bb37e2-6104-4441-b7d3-aa4646b286c9 2025-07-17 02:25:44,825 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 02:25:44,826 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/1946e655-c705-4c24-a30a-83bdb7608777 2025-07-17 02:25:44,834 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f914d4bc-c86b-4161-ab2f-0910ec68d278 2025-07-17 02:25:44,847 - INFO - Verified VN network id 8 for VN 1946e655-c705-4c24-a30a-83bdb7608777 2025-07-17 02:25:44,847 - INFO - Verifications in API Server for VN ctest-vn-74674496 passed 2025-07-17 02:25:44,847 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/1946e655-c705-4c24-a30a-83bdb7608777 2025-07-17 02:25:44,856 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f914d4bc-c86b-4161-ab2f-0910ec68d278 2025-07-17 02:25:44,862 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f914d4bc-c86b-4161-ab2f-0910ec68d278 2025-07-17 02:25:44,869 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/00bb37e2-6104-4441-b7d3-aa4646b286c9 2025-07-17 02:25:44,881 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25572234:ctest-vn-74674496', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25572234', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1821396355403566116', 'uuid-lslong': '11748347428797974391'}, 'enable': 'true', 'created': '2025-07-17T02:25:42', 'last-modified': '2025-07-17T02:25:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.962760'} 2025-07-17 02:25:44,887 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 02:25:44,888 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74674496 passed 2025-07-17 02:25:44,888 - DEBUG - ====Verifying policy data for ctest-vn-74674496 in API_Server ====== 2025-07-17 02:25:44,888 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-17 02:25:44,894 - DEBUG - Requesting: http://10.0.0.49:8082/domain/2bbb6929-245b-47e4-9692-cd689f3f5260 2025-07-17 02:25:44,905 - DEBUG - Requesting: http://10.0.0.49:8082/project/ec6750c4-4607-4370-b49d-a4b0fc6d9536 2025-07-17 02:25:44,980 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/1946e655-c705-4c24-a30a-83bdb7608777 2025-07-17 02:25:44,990 - DEBUG - ==>Verifying data for policy with id: 98dd8232-d13c-49c7-8c94-84c478595726, fqn: ['default-domain', 'ctest-TestBasicPolicy-25572234', 'ctest-policy-allow-all-61645348'] 2025-07-17 02:25:44,990 - INFO - VN ctest-vn-74674496 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 02:25:44,990 - DEBUG - Verifying the vn in opserver 2025-07-17 02:25:44,990 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25572234:ctest-vn-74674496 virtual network link through opserver 10.0.0.49 2025-07-17 02:25:44,990 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-17 02:25:45,284 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-17 02:25:45,339 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25572234:ctest-vn-74674496', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25572234:ctest-vn-74674496?flat'} 2025-07-17 02:25:45,339 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25572234:ctest-vn-74674496 is found in opserver 2025-07-17 02:25:45,351 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 02:25:45,356 - DEBUG - VRF ids for VN ctest-vn-74674496: {} 2025-07-17 02:25:45,356 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-17 02:25:45,362 - DEBUG - Requesting: http://10.0.0.49:8082/domain/2bbb6929-245b-47e4-9692-cd689f3f5260 2025-07-17 02:25:45,377 - DEBUG - Requesting: http://10.0.0.49:8082/project/ec6750c4-4607-4370-b49d-a4b0fc6d9536 2025-07-17 02:25:45,463 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/eb5d36ae-95cf-441b-a306-dbe5894134be 2025-07-17 02:25:45,474 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/eb5d36ae-95cf-441b-a306-dbe5894134be 2025-07-17 02:25:45,483 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/2056116b-920d-474c-8c6d-9f3660ede92e 2025-07-17 02:25:45,490 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/2056116b-920d-474c-8c6d-9f3660ede92e 2025-07-17 02:25:45,497 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/9c111a97-4e5c-47f2-91fa-b4a7d239d280 2025-07-17 02:25:45,504 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 02:25:45,504 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/eb5d36ae-95cf-441b-a306-dbe5894134be 2025-07-17 02:25:45,514 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/2056116b-920d-474c-8c6d-9f3660ede92e 2025-07-17 02:25:45,529 - INFO - Verified VN network id 9 for VN eb5d36ae-95cf-441b-a306-dbe5894134be 2025-07-17 02:25:45,530 - INFO - Verifications in API Server for VN ctest-vn-70703494 passed 2025-07-17 02:25:45,530 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/eb5d36ae-95cf-441b-a306-dbe5894134be 2025-07-17 02:25:45,539 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/2056116b-920d-474c-8c6d-9f3660ede92e 2025-07-17 02:25:45,546 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/2056116b-920d-474c-8c6d-9f3660ede92e 2025-07-17 02:25:45,554 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/9c111a97-4e5c-47f2-91fa-b4a7d239d280 2025-07-17 02:25:45,566 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25572234:ctest-vn-70703494', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25572234', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16959771895212753947', 'uuid-lslong': '11747318456939263166'}, 'enable': 'true', 'created': '2025-07-17T02:25:43', 'last-modified': '2025-07-17T02:25:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.393082'} 2025-07-17 02:25:45,572 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 02:25:45,572 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70703494 passed 2025-07-17 02:25:45,572 - DEBUG - ====Verifying policy data for ctest-vn-70703494 in API_Server ====== 2025-07-17 02:25:45,573 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-17 02:25:45,581 - DEBUG - Requesting: http://10.0.0.49:8082/domain/2bbb6929-245b-47e4-9692-cd689f3f5260 2025-07-17 02:25:45,593 - DEBUG - Requesting: http://10.0.0.49:8082/project/ec6750c4-4607-4370-b49d-a4b0fc6d9536 2025-07-17 02:25:45,666 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/eb5d36ae-95cf-441b-a306-dbe5894134be 2025-07-17 02:25:45,676 - DEBUG - ==>Verifying data for policy with id: 98dd8232-d13c-49c7-8c94-84c478595726, fqn: ['default-domain', 'ctest-TestBasicPolicy-25572234', 'ctest-policy-allow-all-61645348'] 2025-07-17 02:25:45,677 - INFO - VN ctest-vn-70703494 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 02:25:45,677 - DEBUG - Verifying the vn in opserver 2025-07-17 02:25:45,677 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25572234:ctest-vn-70703494 virtual network link through opserver 10.0.0.49 2025-07-17 02:25:45,677 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-17 02:25:45,688 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25572234:ctest-vn-70703494', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25572234:ctest-vn-70703494?flat'} 2025-07-17 02:25:45,688 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25572234:ctest-vn-70703494 is found in opserver 2025-07-17 02:25:45,700 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 02:25:45,706 - DEBUG - VRF ids for VN ctest-vn-70703494: {} 2025-07-17 02:25:45,760 - DEBUG - Services list from nova: [, , ] 2025-07-17 02:25:46,739 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3651-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3651-1) 2025-07-17 02:25:47,959 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3651-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3651-1) 2025-07-17 02:25:47,959 - INFO - Waiting for VM ctest-TestBasicPolicy-25572234-58822384 to be up.. 2025-07-17 02:25:48,037 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-17 02:25:53,111 - DEBUG - VM is in ACTIVE state now 2025-07-17 02:25:53,111 - INFO - VM name : ctest-TestBasicPolicy-25572234-58822384 2025-07-17 02:25:53,180 - DEBUG - VM ctest-TestBasicPolicy-25572234-58822384 ID is 55e3259e-134f-4745-a1f9-8dd073796434 2025-07-17 02:25:53,197 - DEBUG - VM ctest-TestBasicPolicy-25572234-58822384 launched on Node cn-jenkins-deploy-platform-ansible-os-3651-1 2025-07-17 02:25:53,263 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/55e3259e-134f-4745-a1f9-8dd073796434 2025-07-17 02:25:53,271 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/e56c7704-3e4e-47ea-8efd-44a5174406d1 2025-07-17 02:25:56,543 - 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 1035ms') 2025-07-17 02:25:56,543 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25572234-58822384 failed! 2025-07-17 02:25:56,601 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25572234:ctest-vn-74674496 is 178.148.127.1 and allocation pool is NOT set 2025-07-17 02:25:58,662 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.532 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.532/1.607/2.683/1.075 ms') 2025-07-17 02:25:58,662 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25572234-58822384 passed 2025-07-17 02:25:58,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:25:58,813 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25572234-58822384, IP 178.148.127.3, Port 22 2025-07-17 02:25:58,972 - DEBUG - VM ctest-TestBasicPolicy-25572234-58822384 is ready for SSH connections 2025-07-17 02:25:58,972 - INFO - Waiting for VM ctest-TestBasicPolicy-25572234-91540392 to be up.. 2025-07-17 02:25:59,041 - DEBUG - VM is in ACTIVE state now 2025-07-17 02:25:59,041 - INFO - VM name : ctest-TestBasicPolicy-25572234-91540392 2025-07-17 02:25:59,108 - DEBUG - VM ctest-TestBasicPolicy-25572234-91540392 ID is d4b1346a-494f-48a1-a1ce-bb6d410b7647 2025-07-17 02:25:59,108 - DEBUG - VM ctest-TestBasicPolicy-25572234-91540392 launched on Node cn-jenkins-deploy-platform-ansible-os-3651-1 2025-07-17 02:25:59,175 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/d4b1346a-494f-48a1-a1ce-bb6d410b7647 2025-07-17 02:25:59,184 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/8717dbc7-f438-4e1c-81fb-46acbfee5cd8 2025-07-17 02:26:00,419 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.386 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.386/1.481/2.577/1.095 ms') 2025-07-17 02:26:00,419 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-25572234-91540392 passed 2025-07-17 02:26:00,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:26:00,569 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25572234-91540392, IP 47.237.242.195, Port 22 2025-07-17 02:26:00,724 - DEBUG - VM ctest-TestBasicPolicy-25572234-91540392 is ready for SSH connections 2025-07-17 02:26:00,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:26:00,724 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.237.242.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-07-17 02:26:00,724 - DEBUG - ping -s 56 -c 3 -W 1 47.237.242.195 2025-07-17 02:26:04,681 - DEBUG - PING 47.237.242.195 (47.237.242.195): 56 data bytes 64 bytes from 47.237.242.195: seq=0 ttl=63 time=3.144 ms 64 bytes from 47.237.242.195: seq=1 ttl=63 time=0.973 ms 64 bytes from 47.237.242.195: seq=2 ttl=63 time=0.780 ms --- 47.237.242.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.780/1.632/3.144 ms 2025-07-17 02:26:04,681 - INFO - Ping to IP 47.237.242.195 from VM ctest-TestBasicPolicy-25572234-58822384 passed 2025-07-17 02:26:04,864 - DEBUG - Policy Update Response {"network-policy": {"uuid": "98dd8232-d13c-49c7-8c94-84c478595726", "href": "http://10.0.0.49:8082/network-policy/98dd8232-d13c-49c7-8c94-84c478595726"}} 2025-07-17 02:26:04,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 02:26:04,865 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.237.242.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-07-17 02:26:04,865 - DEBUG - ping -s 56 -c 3 -W 1 47.237.242.195 2025-07-17 02:26:08,061 - DEBUG - PING 47.237.242.195 (47.237.242.195): 56 data bytes --- 47.237.242.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-17 02:26:08,061 - WARNING - Ping to IP 47.237.242.195 from VM ctest-TestBasicPolicy-25572234-58822384 failed 2025-07-17 02:26:08,061 - INFO - Deleting VM ctest-TestBasicPolicy-25572234-91540392 2025-07-17 02:26:08,126 - INFO - Deleting VM ctest-TestBasicPolicy-25572234-58822384 2025-07-17 02:26:08,498 - INFO - Deleted policy ctest-policy-allow-all-61645348 2025-07-17 02:26:08,498 - INFO - Deleting VN ctest-vn-70703494 2025-07-17 02:26:08,532 - DEBUG - VN eb5d36ae-95cf-441b-a306-dbe5894134be still in use: Unable to complete operation on network eb5d36ae-95cf-441b-a306-dbe5894134be. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2a10b7bd-3b29-4a87-8656-a5d77f981924'] 2025-07-17 02:26:08,532 - WARNING - Deleting VN ctest-vn-70703494 failed..Will retry 2025-07-17 02:26:10,639 - DEBUG - Response for deleting network () 2025-07-17 02:26:10,639 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/2056116b-920d-474c-8c6d-9f3660ede92e 2025-07-17 02:26:10,646 - DEBUG - Response Code: 404 2025-07-17 02:26:10,646 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-17 02:26:10,652 - DEBUG - Requesting: http://10.0.0.49:8082/domain/2bbb6929-245b-47e4-9692-cd689f3f5260 2025-07-17 02:26:10,706 - DEBUG - Requesting: http://10.0.0.49:8082/project/ec6750c4-4607-4370-b49d-a4b0fc6d9536 2025-07-17 02:26:10,781 - INFO - Validated that VN ctest-vn-70703494 is not found in API Server 2025-07-17 02:26:10,794 - DEBUG - VN ctest-vn-70703494 is not present in Agent 10.0.0.49 2025-07-17 02:26:10,794 - INFO - Validated that VN ctest-vn-70703494 is not in any agent 2025-07-17 02:26:10,809 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70703494 info 2025-07-17 02:26:10,809 - INFO - Deleting VN ctest-vn-74674496 2025-07-17 02:26:10,919 - DEBUG - Response for deleting network () 2025-07-17 02:26:10,919 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/f914d4bc-c86b-4161-ab2f-0910ec68d278 2025-07-17 02:26:10,924 - DEBUG - Response Code: 404 2025-07-17 02:26:10,924 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-17 02:26:10,929 - DEBUG - Requesting: http://10.0.0.49:8082/domain/2bbb6929-245b-47e4-9692-cd689f3f5260 2025-07-17 02:26:10,981 - DEBUG - Requesting: http://10.0.0.49:8082/project/ec6750c4-4607-4370-b49d-a4b0fc6d9536 2025-07-17 02:26:11,048 - INFO - Validated that VN ctest-vn-74674496 is not found in API Server 2025-07-17 02:26:11,058 - DEBUG - VN ctest-vn-74674496 is not present in Agent 10.0.0.49 2025-07-17 02:26:11,058 - INFO - Validated that VN ctest-vn-74674496 is not in any agent 2025-07-17 02:26:11,074 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74674496 info 2025-07-17 02:26:11,326 - DEBUG - No XMPP flaps were noticed during the test 2025-07-17 02:26:11,326 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-17 02:26:11,326 - INFO - -------------------------------------------------------------------------------- 2025-07-17 02:26:11,981 - INFO - Deleted project: ctest-TestBasicPolicy-25572234, ID : ec6750c4-4607-4370-b49d-a4b0fc6d9536