2025-07-01 14:52:32,653 - INFO - Domain Default found not creating 2025-07-01 14:52:32,859 - INFO - Project ctest-TestBasicPolicy-67439825 not found, creating it 2025-07-01 14:52:33,323 - INFO - Created Project:ctest-TestBasicPolicy-67439825, ID : e7e739e0-0dc4-4004-8c79-c51642c70abf 2025-07-01 14:52:34,810 - INFO - ================================================================================ 2025-07-01 14:52:34,810 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-01 14:52:34,810 - 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-01 14:52:35,063 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.0.0.49': '0'}} with 2025-07-01 14:52:35,063 - INFO - Initial checks done. Running the testcase now 2025-07-01 14:52:35,063 - INFO - 2025-07-01 14:52:35,613 - DEBUG - Response for create_network : {'network': {'id': '3d86c470-2d33-4153-923c-96901538076a', 'name': 'ctest-vn-50514291', 'tenant_id': 'e7e739e00dc440048c79c51642c70abf', 'project_id': 'e7e739e00dc440048c79c51642c70abf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67439825', 'ctest-vn-50514291'], 'port_security_enabled': True, 'description': ''}} 2025-07-01 14:52:35,786 - DEBUG - Response for create_subnet : {'subnet': {'id': '8938d757-c1bd-47f0-97fb-ce3bda8666d0', 'name': '', 'tenant_id': 'e7e739e00dc440048c79c51642c70abf', 'network_id': '3d86c470-2d33-4153-923c-96901538076a', 'ip_version': 4, 'cidr': '54.4.251.192/26', 'allocation_pools': [{'start': '54.4.251.194', 'end': '54.4.251.254'}], 'gateway_ip': '54.4.251.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.4.251.194', 'tags': [], 'project_id': 'e7e739e00dc440048c79c51642c70abf'}} 2025-07-01 14:52:35,804 - INFO - Created VN ctest-vn-50514291 2025-07-01 14:52:35,857 - DEBUG - VN ctest-vn-50514291 UUID is 3d86c470-2d33-4153-923c-96901538076a 2025-07-01 14:52:36,184 - DEBUG - Response for create_network : {'network': {'id': '651b4394-2c1f-403d-a778-5d8d53d0899b', 'name': 'ctest-vn-59314327', 'tenant_id': 'e7e739e00dc440048c79c51642c70abf', 'project_id': 'e7e739e00dc440048c79c51642c70abf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67439825', 'ctest-vn-59314327'], 'port_security_enabled': True, 'description': ''}} 2025-07-01 14:52:36,343 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd065f3a2-011a-480d-8281-f48b71e19d96', 'name': '', 'tenant_id': 'e7e739e00dc440048c79c51642c70abf', 'network_id': '651b4394-2c1f-403d-a778-5d8d53d0899b', 'ip_version': 4, 'cidr': '111.65.90.0/26', 'allocation_pools': [{'start': '111.65.90.2', 'end': '111.65.90.62'}], 'gateway_ip': '111.65.90.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.65.90.2', 'tags': [], 'project_id': 'e7e739e00dc440048c79c51642c70abf'}} 2025-07-01 14:52:36,365 - INFO - Created VN ctest-vn-59314327 2025-07-01 14:52:36,417 - DEBUG - VN ctest-vn-59314327 UUID is 651b4394-2c1f-403d-a778-5d8d53d0899b 2025-07-01 14:52:36,533 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-50514291, 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-67439825:ctest-vn-59314327, 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-01 14:52:36,818 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3d86c470-2d33-4153-923c-96901538076a', 'name': 'ctest-vn-50514291', 'tenant_id': 'e7e739e00dc440048c79c51642c70abf', 'project_id': 'e7e739e00dc440048c79c51642c70abf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8938d757-c1bd-47f0-97fb-ce3bda8666d0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67439825', 'ctest-vn-50514291'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67439825', 'ctest-policy-allow-all-69583214']], 'subnet_ipam': [{'subnet_cidr': '54.4.251.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-01 14:52:37,056 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '651b4394-2c1f-403d-a778-5d8d53d0899b', 'name': 'ctest-vn-59314327', 'tenant_id': 'e7e739e00dc440048c79c51642c70abf', 'project_id': 'e7e739e00dc440048c79c51642c70abf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d065f3a2-011a-480d-8281-f48b71e19d96'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67439825', 'ctest-vn-59314327'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67439825', 'ctest-policy-allow-all-69583214']], 'subnet_ipam': [{'subnet_cidr': '111.65.90.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-01 14:52:37,217 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-01 14:52:37,518 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-01 14:52:37,546 - DEBUG - Requesting: http://10.0.0.49:8082/domain/8b0116a9-d93e-48c2-9709-939b3ba99be6 2025-07-01 14:52:37,559 - DEBUG - Requesting: http://10.0.0.49:8082/project/e7e739e0-0dc4-4004-8c79-c51642c70abf 2025-07-01 14:52:37,635 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/3d86c470-2d33-4153-923c-96901538076a 2025-07-01 14:52:37,649 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/3d86c470-2d33-4153-923c-96901538076a 2025-07-01 14:52:37,660 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e037b4bc-a7dd-41f3-bb8c-a4448f4a4c52 2025-07-01 14:52:37,667 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e037b4bc-a7dd-41f3-bb8c-a4448f4a4c52 2025-07-01 14:52:37,674 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/d90a73f2-6216-4113-b73d-e1e3592f46b4 2025-07-01 14:52:37,680 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-01 14:52:37,680 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/3d86c470-2d33-4153-923c-96901538076a 2025-07-01 14:52:37,689 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e037b4bc-a7dd-41f3-bb8c-a4448f4a4c52 2025-07-01 14:52:37,705 - INFO - Verified VN network id 8 for VN 3d86c470-2d33-4153-923c-96901538076a 2025-07-01 14:52:37,705 - INFO - Verifications in API Server for VN ctest-vn-50514291 passed 2025-07-01 14:52:37,705 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/3d86c470-2d33-4153-923c-96901538076a 2025-07-01 14:52:37,715 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e037b4bc-a7dd-41f3-bb8c-a4448f4a4c52 2025-07-01 14:52:37,722 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e037b4bc-a7dd-41f3-bb8c-a4448f4a4c52 2025-07-01 14:52:37,729 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/d90a73f2-6216-4113-b73d-e1e3592f46b4 2025-07-01 14:52:37,743 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-50514291', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67439825', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4433446869266547027', 'uuid-lslong': '10537462773715568490'}, 'enable': 'true', 'created': '2025-07-01T14:52:35', 'last-modified': '2025-07-01T14:52:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.940895'} 2025-07-01 14:52:37,750 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-01 14:52:37,750 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50514291 passed 2025-07-01 14:52:37,750 - DEBUG - ====Verifying policy data for ctest-vn-50514291 in API_Server ====== 2025-07-01 14:52:37,750 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-01 14:52:37,755 - DEBUG - Requesting: http://10.0.0.49:8082/domain/8b0116a9-d93e-48c2-9709-939b3ba99be6 2025-07-01 14:52:37,766 - DEBUG - Requesting: http://10.0.0.49:8082/project/e7e739e0-0dc4-4004-8c79-c51642c70abf 2025-07-01 14:52:37,841 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/3d86c470-2d33-4153-923c-96901538076a 2025-07-01 14:52:37,850 - DEBUG - ==>Verifying data for policy with id: 3300c057-4e49-4809-a058-4e34e4b0a936, fqn: ['default-domain', 'ctest-TestBasicPolicy-67439825', 'ctest-policy-allow-all-69583214'] 2025-07-01 14:52:37,850 - INFO - VN ctest-vn-50514291 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-01 14:52:37,850 - DEBUG - Verifying the vn in opserver 2025-07-01 14:52:37,850 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-50514291 virtual network link through opserver 10.0.0.49 2025-07-01 14:52:37,850 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-01 14:52:38,146 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-01 14:52:41,202 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-50514291 virtual network link through opserver 10.0.0.49 2025-07-01 14:52:41,203 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-01 14:52:44,214 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-50514291 virtual network link through opserver 10.0.0.49 2025-07-01 14:52:44,214 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-01 14:52:47,225 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-50514291 virtual network link through opserver 10.0.0.49 2025-07-01 14:52:47,225 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-01 14:52:50,235 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-50514291 virtual network link through opserver 10.0.0.49 2025-07-01 14:52:50,235 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-01 14:52:53,244 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-50514291 virtual network link through opserver 10.0.0.49 2025-07-01 14:52:53,245 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-01 14:52:56,256 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-50514291 virtual network link through opserver 10.0.0.49 2025-07-01 14:52:56,256 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-01 14:52:59,268 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-50514291 virtual network link through opserver 10.0.0.49 2025-07-01 14:52:59,268 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-01 14:53:02,278 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-50514291 virtual network link through opserver 10.0.0.49 2025-07-01 14:53:02,278 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-01 14:53:05,288 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-50514291 virtual network link through opserver 10.0.0.49 2025-07-01 14:53:05,288 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-01 14:53:08,298 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-50514291 virtual network link through opserver 10.0.0.49 2025-07-01 14:53:08,298 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-01 14:53:08,308 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-50514291', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-50514291?flat'} 2025-07-01 14:53:08,308 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-50514291 is found in opserver 2025-07-01 14:53:08,318 - DEBUG - Do not have enough data to verify VN in agent 2025-07-01 14:53:08,324 - DEBUG - VRF ids for VN ctest-vn-50514291: {} 2025-07-01 14:53:08,324 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-01 14:53:08,330 - DEBUG - Requesting: http://10.0.0.49:8082/domain/8b0116a9-d93e-48c2-9709-939b3ba99be6 2025-07-01 14:53:08,340 - DEBUG - Requesting: http://10.0.0.49:8082/project/e7e739e0-0dc4-4004-8c79-c51642c70abf 2025-07-01 14:53:08,410 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/651b4394-2c1f-403d-a778-5d8d53d0899b 2025-07-01 14:53:08,421 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/651b4394-2c1f-403d-a778-5d8d53d0899b 2025-07-01 14:53:08,430 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/a3047e0b-4e86-46c8-90ea-f413dee2e933 2025-07-01 14:53:08,437 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/a3047e0b-4e86-46c8-90ea-f413dee2e933 2025-07-01 14:53:08,443 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/7a494977-7f9d-4e16-9c99-c463c9b8dd50 2025-07-01 14:53:08,449 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-01 14:53:08,449 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/651b4394-2c1f-403d-a778-5d8d53d0899b 2025-07-01 14:53:08,457 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/a3047e0b-4e86-46c8-90ea-f413dee2e933 2025-07-01 14:53:08,469 - INFO - Verified VN network id 9 for VN 651b4394-2c1f-403d-a778-5d8d53d0899b 2025-07-01 14:53:08,469 - INFO - Verifications in API Server for VN ctest-vn-59314327 passed 2025-07-01 14:53:08,470 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/651b4394-2c1f-403d-a778-5d8d53d0899b 2025-07-01 14:53:08,478 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/a3047e0b-4e86-46c8-90ea-f413dee2e933 2025-07-01 14:53:08,485 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/a3047e0b-4e86-46c8-90ea-f413dee2e933 2025-07-01 14:53:08,493 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/7a494977-7f9d-4e16-9c99-c463c9b8dd50 2025-07-01 14:53:08,504 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-59314327', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67439825', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7285491125876375613', 'uuid-lslong': '12067498063117191579'}, 'enable': 'true', 'created': '2025-07-01T14:52:36', 'last-modified': '2025-07-01T14:52:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:31.471273'} 2025-07-01 14:53:08,511 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-01 14:53:08,511 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59314327 passed 2025-07-01 14:53:08,511 - DEBUG - ====Verifying policy data for ctest-vn-59314327 in API_Server ====== 2025-07-01 14:53:08,511 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-01 14:53:08,516 - DEBUG - Requesting: http://10.0.0.49:8082/domain/8b0116a9-d93e-48c2-9709-939b3ba99be6 2025-07-01 14:53:08,525 - DEBUG - Requesting: http://10.0.0.49:8082/project/e7e739e0-0dc4-4004-8c79-c51642c70abf 2025-07-01 14:53:08,600 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/651b4394-2c1f-403d-a778-5d8d53d0899b 2025-07-01 14:53:08,611 - DEBUG - ==>Verifying data for policy with id: 3300c057-4e49-4809-a058-4e34e4b0a936, fqn: ['default-domain', 'ctest-TestBasicPolicy-67439825', 'ctest-policy-allow-all-69583214'] 2025-07-01 14:53:08,611 - INFO - VN ctest-vn-59314327 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-01 14:53:08,612 - DEBUG - Verifying the vn in opserver 2025-07-01 14:53:08,612 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-59314327 virtual network link through opserver 10.0.0.49 2025-07-01 14:53:08,612 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-01 14:53:08,621 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-59314327', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-59314327?flat'} 2025-07-01 14:53:08,621 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-59314327 is found in opserver 2025-07-01 14:53:08,630 - DEBUG - Do not have enough data to verify VN in agent 2025-07-01 14:53:08,634 - DEBUG - VRF ids for VN ctest-vn-59314327: {} 2025-07-01 14:53:08,701 - DEBUG - Services list from nova: [, , ] 2025-07-01 14:53:09,691 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3587-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3587-1) 2025-07-01 14:53:10,971 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3587-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3587-1) 2025-07-01 14:53:10,971 - INFO - Waiting for VM ctest-TestBasicPolicy-67439825-63152390 to be up.. 2025-07-01 14:53:11,083 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-01 14:53:16,179 - DEBUG - VM is in ACTIVE state now 2025-07-01 14:53:16,180 - INFO - VM name : ctest-TestBasicPolicy-67439825-63152390 2025-07-01 14:53:16,272 - DEBUG - VM ctest-TestBasicPolicy-67439825-63152390 ID is bd27da7b-2114-4547-8014-80cfd5f9ccbb 2025-07-01 14:53:16,292 - DEBUG - VM ctest-TestBasicPolicy-67439825-63152390 launched on Node cn-jenkins-deploy-platform-ansible-os-3587-1. 2025-07-01 14:53:16,366 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/bd27da7b-2114-4547-8014-80cfd5f9ccbb 2025-07-01 14:53:16,374 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/d6d8d299-a4ad-44ec-92ba-71d818cc80ac 2025-07-01 14:53:19,579 - 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 1011ms') 2025-07-01 14:53:19,580 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67439825-63152390 failed! 2025-07-01 14:53:19,633 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67439825:ctest-vn-50514291 is 54.4.251.193 and allocation pool is NOT set 2025-07-01 14:53:21,703 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.408 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.408/2.332/4.257/1.924 ms') 2025-07-01 14:53:21,703 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67439825-63152390 passed 2025-07-01 14:53:21,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-01 14:53:21,853 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67439825-63152390, IP 54.4.251.195, Port 22 2025-07-01 14:53:22,017 - DEBUG - VM ctest-TestBasicPolicy-67439825-63152390 is ready for SSH connections 2025-07-01 14:53:22,018 - INFO - Waiting for VM ctest-TestBasicPolicy-67439825-58549258 to be up.. 2025-07-01 14:53:22,103 - DEBUG - VM is in ACTIVE state now 2025-07-01 14:53:22,103 - INFO - VM name : ctest-TestBasicPolicy-67439825-58549258 2025-07-01 14:53:22,184 - DEBUG - VM ctest-TestBasicPolicy-67439825-58549258 ID is f652f309-aafc-4663-b34f-bec7f0b05c89 2025-07-01 14:53:22,184 - DEBUG - VM ctest-TestBasicPolicy-67439825-58549258 launched on Node cn-jenkins-deploy-platform-ansible-os-3587-1. 2025-07-01 14:53:22,267 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/f652f309-aafc-4663-b34f-bec7f0b05c89 2025-07-01 14:53:22,277 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/89f01a42-f95f-4749-8845-1814fdc27d7e 2025-07-01 14:53:23,527 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.400 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.400/1.641/2.883/1.241 ms') 2025-07-01 14:53:23,527 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67439825-58549258 passed 2025-07-01 14:53:23,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-01 14:53:23,681 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67439825-58549258, IP 111.65.90.3, Port 22 2025-07-01 14:53:23,837 - DEBUG - VM ctest-TestBasicPolicy-67439825-58549258 is ready for SSH connections 2025-07-01 14:53:23,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-01 14:53:23,837 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.65.90.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-07-01 14:53:23,837 - DEBUG - ping -s 56 -c 3 -W 1 111.65.90.3 2025-07-01 14:53:27,898 - DEBUG - PING 111.65.90.3 (111.65.90.3): 56 data bytes 64 bytes from 111.65.90.3: seq=0 ttl=63 time=3.860 ms 64 bytes from 111.65.90.3: seq=1 ttl=63 time=0.746 ms 64 bytes from 111.65.90.3: seq=2 ttl=63 time=0.727 ms --- 111.65.90.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.727/1.777/3.860 ms 2025-07-01 14:53:27,898 - INFO - Ping to IP 111.65.90.3 from VM ctest-TestBasicPolicy-67439825-63152390 passed 2025-07-01 14:53:28,077 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3300c057-4e49-4809-a058-4e34e4b0a936", "href": "http://10.0.0.49:8082/network-policy/3300c057-4e49-4809-a058-4e34e4b0a936"}} 2025-07-01 14:53:28,077 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-01 14:53:28,077 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.65.90.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-07-01 14:53:28,077 - DEBUG - ping -s 56 -c 3 -W 1 111.65.90.3 2025-07-01 14:53:31,284 - DEBUG - PING 111.65.90.3 (111.65.90.3): 56 data bytes --- 111.65.90.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-01 14:53:31,285 - WARNING - Ping to IP 111.65.90.3 from VM ctest-TestBasicPolicy-67439825-63152390 failed 2025-07-01 14:53:31,285 - INFO - Deleting VM ctest-TestBasicPolicy-67439825-58549258 2025-07-01 14:53:31,356 - INFO - Deleting VM ctest-TestBasicPolicy-67439825-63152390 2025-07-01 14:53:31,793 - INFO - Deleted policy ctest-policy-allow-all-69583214 2025-07-01 14:53:31,793 - INFO - Deleting VN ctest-vn-59314327 2025-07-01 14:53:31,824 - DEBUG - VN 651b4394-2c1f-403d-a778-5d8d53d0899b still in use: Unable to complete operation on network 651b4394-2c1f-403d-a778-5d8d53d0899b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b95824fb-78e1-4ec6-90bc-c4f6e3ee9039'] 2025-07-01 14:53:31,824 - WARNING - Deleting VN ctest-vn-59314327 failed..Will retry 2025-07-01 14:53:33,926 - DEBUG - Response for deleting network () 2025-07-01 14:53:33,926 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/a3047e0b-4e86-46c8-90ea-f413dee2e933 2025-07-01 14:53:33,935 - DEBUG - Response Code: 404 2025-07-01 14:53:33,935 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-01 14:53:33,942 - DEBUG - Requesting: http://10.0.0.49:8082/domain/8b0116a9-d93e-48c2-9709-939b3ba99be6 2025-07-01 14:53:33,999 - DEBUG - Requesting: http://10.0.0.49:8082/project/e7e739e0-0dc4-4004-8c79-c51642c70abf 2025-07-01 14:53:34,067 - INFO - Validated that VN ctest-vn-59314327 is not found in API Server 2025-07-01 14:53:34,077 - DEBUG - VN ctest-vn-59314327 is not present in Agent 10.0.0.49 2025-07-01 14:53:34,077 - INFO - Validated that VN ctest-vn-59314327 is not in any agent 2025-07-01 14:53:34,096 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59314327 info 2025-07-01 14:53:34,097 - INFO - Deleting VN ctest-vn-50514291 2025-07-01 14:53:34,224 - DEBUG - Response for deleting network () 2025-07-01 14:53:34,225 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e037b4bc-a7dd-41f3-bb8c-a4448f4a4c52 2025-07-01 14:53:34,234 - DEBUG - Response Code: 404 2025-07-01 14:53:34,234 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-01 14:53:34,242 - DEBUG - Requesting: http://10.0.0.49:8082/domain/8b0116a9-d93e-48c2-9709-939b3ba99be6 2025-07-01 14:53:34,299 - DEBUG - Requesting: http://10.0.0.49:8082/project/e7e739e0-0dc4-4004-8c79-c51642c70abf 2025-07-01 14:53:34,371 - INFO - Validated that VN ctest-vn-50514291 is not found in API Server 2025-07-01 14:53:34,382 - DEBUG - VN ctest-vn-50514291 is not present in Agent 10.0.0.49 2025-07-01 14:53:34,382 - INFO - Validated that VN ctest-vn-50514291 is not in any agent 2025-07-01 14:53:34,397 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50514291 info 2025-07-01 14:53:34,670 - DEBUG - No XMPP flaps were noticed during the test
2025-07-01 14:53:34,670 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:00]
2025-07-01 14:53:34,670 - INFO - -------------------------------------------------------------------------------- 2025-07-01 14:53:35,345 - INFO - Deleted project: ctest-TestBasicPolicy-67439825, ID : e7e739e0-0dc4-4004-8c79-c51642c70abf