2025-03-25 03:28:18,658 - INFO - Domain Default found not creating 2025-03-25 03:28:18,806 - INFO - Project ctest-TestBasicPolicy-39844165 not found, creating it 2025-03-25 03:28:19,291 - INFO - Created Project:ctest-TestBasicPolicy-39844165, ID : 2b0da86b-6c88-4188-bbab-f3a349c67a9e 2025-03-25 03:28:20,784 - INFO - ================================================================================ 2025-03-25 03:28:20,785 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-25 03:28:20,785 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-03-25 03:28:21,040 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.7': '0'}} with 2025-03-25 03:28:21,041 - INFO - Initial checks done. Running the testcase now 2025-03-25 03:28:21,041 - INFO - 2025-03-25 03:28:21,589 - DEBUG - Response for create_network : {'network': {'id': '0ae09a5a-a8ea-4c81-a28c-8da1a5394fef', 'name': 'ctest-vn-43513675', 'tenant_id': '2b0da86b6c884188bbabf3a349c67a9e', 'project_id': '2b0da86b6c884188bbabf3a349c67a9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39844165', 'ctest-vn-43513675'], 'port_security_enabled': True, 'description': ''}} 2025-03-25 03:28:21,764 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd567028b-e13e-443d-ac39-9803093ec4b6', 'name': '', 'tenant_id': '2b0da86b6c884188bbabf3a349c67a9e', 'network_id': '0ae09a5a-a8ea-4c81-a28c-8da1a5394fef', 'ip_version': 4, 'cidr': '89.50.229.128/26', 'allocation_pools': [{'start': '89.50.229.130', 'end': '89.50.229.190'}], 'gateway_ip': '89.50.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.50.229.130', 'tags': [], 'project_id': '2b0da86b6c884188bbabf3a349c67a9e'}} 2025-03-25 03:28:21,780 - INFO - Created VN ctest-vn-43513675 2025-03-25 03:28:21,835 - DEBUG - VN ctest-vn-43513675 UUID is 0ae09a5a-a8ea-4c81-a28c-8da1a5394fef 2025-03-25 03:28:22,134 - DEBUG - Response for create_network : {'network': {'id': '054c8820-7c47-4e57-99c9-f54acd8223a6', 'name': 'ctest-vn-72265954', 'tenant_id': '2b0da86b6c884188bbabf3a349c67a9e', 'project_id': '2b0da86b6c884188bbabf3a349c67a9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39844165', 'ctest-vn-72265954'], 'port_security_enabled': True, 'description': ''}} 2025-03-25 03:28:22,369 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f303f3e-4334-4064-b17a-bf34957b169e', 'name': '', 'tenant_id': '2b0da86b6c884188bbabf3a349c67a9e', 'network_id': '054c8820-7c47-4e57-99c9-f54acd8223a6', 'ip_version': 4, 'cidr': '126.202.97.0/26', 'allocation_pools': [{'start': '126.202.97.2', 'end': '126.202.97.62'}], 'gateway_ip': '126.202.97.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.202.97.2', 'tags': [], 'project_id': '2b0da86b6c884188bbabf3a349c67a9e'}} 2025-03-25 03:28:22,387 - INFO - Created VN ctest-vn-72265954 2025-03-25 03:28:22,443 - DEBUG - VN ctest-vn-72265954 UUID is 054c8820-7c47-4e57-99c9-f54acd8223a6 2025-03-25 03:28:22,556 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39844165:ctest-vn-43513675, 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-39844165:ctest-vn-72265954, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-03-25 03:28:22,859 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ae09a5a-a8ea-4c81-a28c-8da1a5394fef', 'name': 'ctest-vn-43513675', 'tenant_id': '2b0da86b6c884188bbabf3a349c67a9e', 'project_id': '2b0da86b6c884188bbabf3a349c67a9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d567028b-e13e-443d-ac39-9803093ec4b6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39844165', 'ctest-vn-43513675'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39844165', 'ctest-policy-allow-all-75084494']], 'subnet_ipam': [{'subnet_cidr': '89.50.229.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-25 03:28:23,095 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '054c8820-7c47-4e57-99c9-f54acd8223a6', 'name': 'ctest-vn-72265954', 'tenant_id': '2b0da86b6c884188bbabf3a349c67a9e', 'project_id': '2b0da86b6c884188bbabf3a349c67a9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9f303f3e-4334-4064-b17a-bf34957b169e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39844165', 'ctest-vn-72265954'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39844165', 'ctest-policy-allow-all-75084494']], 'subnet_ipam': [{'subnet_cidr': '126.202.97.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-25 03:28:23,263 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-25 03:28:23,552 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-25 03:28:23,579 - DEBUG - Requesting: http://10.0.0.17:8082/domain/961ce51a-0e09-4523-851b-3226ab47d136 2025-03-25 03:28:23,592 - DEBUG - Requesting: http://10.0.0.17:8082/project/2b0da86b-6c88-4188-bbab-f3a349c67a9e 2025-03-25 03:28:23,669 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/0ae09a5a-a8ea-4c81-a28c-8da1a5394fef 2025-03-25 03:28:23,680 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/0ae09a5a-a8ea-4c81-a28c-8da1a5394fef 2025-03-25 03:28:23,690 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/2a535200-12e1-4242-876a-51988435f40e 2025-03-25 03:28:23,697 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/2a535200-12e1-4242-876a-51988435f40e 2025-03-25 03:28:23,703 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/98adcd4f-fad7-448b-8ad3-680ef8fb2c8a 2025-03-25 03:28:23,710 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-25 03:28:23,710 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/0ae09a5a-a8ea-4c81-a28c-8da1a5394fef 2025-03-25 03:28:23,719 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/2a535200-12e1-4242-876a-51988435f40e 2025-03-25 03:28:23,732 - INFO - Verified VN network id 7 for VN 0ae09a5a-a8ea-4c81-a28c-8da1a5394fef 2025-03-25 03:28:23,732 - INFO - Verifications in API Server for VN ctest-vn-43513675 passed 2025-03-25 03:28:23,732 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/0ae09a5a-a8ea-4c81-a28c-8da1a5394fef 2025-03-25 03:28:23,742 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/2a535200-12e1-4242-876a-51988435f40e 2025-03-25 03:28:23,750 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/2a535200-12e1-4242-876a-51988435f40e 2025-03-25 03:28:23,758 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/98adcd4f-fad7-448b-8ad3-680ef8fb2c8a 2025-03-25 03:28:23,770 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39844165:ctest-vn-43513675', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39844165', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '783796049334127745', 'uuid-lslong': '11712892456285065199'}, 'enable': 'true', 'created': '2025-03-25T03:28:21', 'last-modified': '2025-03-25T03:28:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.929538'} 2025-03-25 03:28:23,777 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-25 03:28:23,777 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43513675 passed 2025-03-25 03:28:23,777 - DEBUG - ====Verifying policy data for ctest-vn-43513675 in API_Server ====== 2025-03-25 03:28:23,777 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-25 03:28:23,783 - DEBUG - Requesting: http://10.0.0.17:8082/domain/961ce51a-0e09-4523-851b-3226ab47d136 2025-03-25 03:28:23,793 - DEBUG - Requesting: http://10.0.0.17:8082/project/2b0da86b-6c88-4188-bbab-f3a349c67a9e 2025-03-25 03:28:23,876 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/0ae09a5a-a8ea-4c81-a28c-8da1a5394fef 2025-03-25 03:28:23,886 - DEBUG - ==>Verifying data for policy with id: 54a05c24-f6e9-4f09-a0bd-06d0a60d3bc4, fqn: ['default-domain', 'ctest-TestBasicPolicy-39844165', 'ctest-policy-allow-all-75084494'] 2025-03-25 03:28:23,886 - INFO - VN ctest-vn-43513675 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-25 03:28:23,886 - DEBUG - Verifying the vn in opserver 2025-03-25 03:28:23,886 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39844165:ctest-vn-43513675 virtual network link through opserver 10.0.0.17 2025-03-25 03:28:23,887 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-03-25 03:28:24,181 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-03-25 03:28:24,237 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39844165:ctest-vn-43513675', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39844165:ctest-vn-43513675?flat'} 2025-03-25 03:28:24,237 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39844165:ctest-vn-43513675 is found in opserver 2025-03-25 03:28:24,249 - DEBUG - Do not have enough data to verify VN in agent 2025-03-25 03:28:24,256 - DEBUG - VRF ids for VN ctest-vn-43513675: {} 2025-03-25 03:28:24,256 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-25 03:28:24,263 - DEBUG - Requesting: http://10.0.0.17:8082/domain/961ce51a-0e09-4523-851b-3226ab47d136 2025-03-25 03:28:24,277 - DEBUG - Requesting: http://10.0.0.17:8082/project/2b0da86b-6c88-4188-bbab-f3a349c67a9e 2025-03-25 03:28:24,352 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/054c8820-7c47-4e57-99c9-f54acd8223a6 2025-03-25 03:28:24,364 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/054c8820-7c47-4e57-99c9-f54acd8223a6 2025-03-25 03:28:24,374 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/56e38f22-736d-40d7-baa1-87596ae7b6f0 2025-03-25 03:28:24,382 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/56e38f22-736d-40d7-baa1-87596ae7b6f0 2025-03-25 03:28:24,388 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/fadb04a7-ae3a-4763-bf48-560d264f0c8b 2025-03-25 03:28:24,396 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-25 03:28:24,396 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/054c8820-7c47-4e57-99c9-f54acd8223a6 2025-03-25 03:28:24,406 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/56e38f22-736d-40d7-baa1-87596ae7b6f0 2025-03-25 03:28:24,424 - INFO - Verified VN network id 8 for VN 054c8820-7c47-4e57-99c9-f54acd8223a6 2025-03-25 03:28:24,424 - INFO - Verifications in API Server for VN ctest-vn-72265954 passed 2025-03-25 03:28:24,424 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/054c8820-7c47-4e57-99c9-f54acd8223a6 2025-03-25 03:28:24,435 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/56e38f22-736d-40d7-baa1-87596ae7b6f0 2025-03-25 03:28:24,442 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/56e38f22-736d-40d7-baa1-87596ae7b6f0 2025-03-25 03:28:24,449 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/fadb04a7-ae3a-4763-bf48-560d264f0c8b 2025-03-25 03:28:24,462 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39844165:ctest-vn-72265954', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39844165', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '381829741525028439', 'uuid-lslong': '11081658059746059174'}, 'enable': 'true', 'created': '2025-03-25T03:28:22', 'last-modified': '2025-03-25T03:28:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.386929'} 2025-03-25 03:28:24,470 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-25 03:28:24,470 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72265954 passed 2025-03-25 03:28:24,470 - DEBUG - ====Verifying policy data for ctest-vn-72265954 in API_Server ====== 2025-03-25 03:28:24,470 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-25 03:28:24,477 - DEBUG - Requesting: http://10.0.0.17:8082/domain/961ce51a-0e09-4523-851b-3226ab47d136 2025-03-25 03:28:24,500 - DEBUG - Requesting: http://10.0.0.17:8082/project/2b0da86b-6c88-4188-bbab-f3a349c67a9e 2025-03-25 03:28:24,574 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/054c8820-7c47-4e57-99c9-f54acd8223a6 2025-03-25 03:28:24,586 - DEBUG - ==>Verifying data for policy with id: 54a05c24-f6e9-4f09-a0bd-06d0a60d3bc4, fqn: ['default-domain', 'ctest-TestBasicPolicy-39844165', 'ctest-policy-allow-all-75084494'] 2025-03-25 03:28:24,586 - INFO - VN ctest-vn-72265954 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-25 03:28:24,586 - DEBUG - Verifying the vn in opserver 2025-03-25 03:28:24,586 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39844165:ctest-vn-72265954 virtual network link through opserver 10.0.0.17 2025-03-25 03:28:24,586 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-03-25 03:28:24,597 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39844165:ctest-vn-72265954', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39844165:ctest-vn-72265954?flat'} 2025-03-25 03:28:24,597 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39844165:ctest-vn-72265954 is found in opserver 2025-03-25 03:28:24,608 - DEBUG - Do not have enough data to verify VN in agent 2025-03-25 03:28:24,613 - DEBUG - VRF ids for VN ctest-vn-72265954: {} 2025-03-25 03:28:24,666 - DEBUG - Services list from nova: [, , ] 2025-03-25 03:28:25,709 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2947-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2947-1) 2025-03-25 03:28:26,995 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2947-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2947-1) 2025-03-25 03:28:26,996 - INFO - Waiting for VM ctest-TestBasicPolicy-39844165-50868928 to be up.. 2025-03-25 03:28:27,088 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-25 03:28:32,175 - DEBUG - VM is in ACTIVE state now 2025-03-25 03:28:32,175 - INFO - VM name : ctest-TestBasicPolicy-39844165-50868928 2025-03-25 03:28:32,275 - DEBUG - VM ctest-TestBasicPolicy-39844165-50868928 ID is 65554583-1d66-4358-95cc-e586a81553ff 2025-03-25 03:28:32,307 - DEBUG - VM ctest-TestBasicPolicy-39844165-50868928 launched on Node cn-jenkins-deploy-platform-ansible-os-2947-1 2025-03-25 03:28:32,409 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/65554583-1d66-4358-95cc-e586a81553ff 2025-03-25 03:28:32,421 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/14e4313e-3a9a-4fce-abd4-78c4d4434e76 2025-03-25 03:28:35,708 - 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-03-25 03:28:35,708 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39844165-50868928 failed! 2025-03-25 03:28:35,763 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39844165:ctest-vn-43513675 is 89.50.229.129 and allocation pool is NOT set 2025-03-25 03:28:37,829 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.490 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.490/1.983/3.477/1.493 ms') 2025-03-25 03:28:37,829 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39844165-50868928 passed 2025-03-25 03:28:37,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-25 03:28:37,979 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39844165-50868928, IP 89.50.229.131, Port 22 2025-03-25 03:28:38,138 - DEBUG - VM ctest-TestBasicPolicy-39844165-50868928 is ready for SSH connections 2025-03-25 03:28:38,138 - INFO - Waiting for VM ctest-TestBasicPolicy-39844165-00967429 to be up.. 2025-03-25 03:28:38,217 - DEBUG - VM is in ACTIVE state now 2025-03-25 03:28:38,218 - INFO - VM name : ctest-TestBasicPolicy-39844165-00967429 2025-03-25 03:28:38,298 - DEBUG - VM ctest-TestBasicPolicy-39844165-00967429 ID is d4f9974c-5d5e-4c50-8c02-ebefaacba0fa 2025-03-25 03:28:38,298 - DEBUG - VM ctest-TestBasicPolicy-39844165-00967429 launched on Node cn-jenkins-deploy-platform-ansible-os-2947-1 2025-03-25 03:28:38,376 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/d4f9974c-5d5e-4c50-8c02-ebefaacba0fa 2025-03-25 03:28:38,384 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/2c0c7cbf-d214-4eb8-8d24-6d0ed3903e7d 2025-03-25 03:28:39,623 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.83 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.827/3.103/4.379/1.276 ms') 2025-03-25 03:28:39,623 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39844165-00967429 passed 2025-03-25 03:28:39,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-25 03:28:39,775 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39844165-00967429, IP 126.202.97.3, Port 22 2025-03-25 03:28:39,930 - DEBUG - VM ctest-TestBasicPolicy-39844165-00967429 is ready for SSH connections 2025-03-25 03:28:39,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-25 03:28:39,931 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.202.97.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-03-25 03:28:39,931 - DEBUG - ping -s 56 -c 3 -W 1 126.202.97.3 2025-03-25 03:28:43,628 - DEBUG - PING 126.202.97.3 (126.202.97.3): 56 data bytes 64 bytes from 126.202.97.3: seq=0 ttl=63 time=4.462 ms 64 bytes from 126.202.97.3: seq=1 ttl=63 time=1.014 ms 64 bytes from 126.202.97.3: seq=2 ttl=63 time=0.918 ms --- 126.202.97.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.918/2.131/4.462 ms 2025-03-25 03:28:43,628 - INFO - Ping to IP 126.202.97.3 from VM ctest-TestBasicPolicy-39844165-50868928 passed 2025-03-25 03:28:43,810 - DEBUG - Policy Update Response {"network-policy": {"uuid": "54a05c24-f6e9-4f09-a0bd-06d0a60d3bc4", "href": "http://10.0.0.17:8082/network-policy/54a05c24-f6e9-4f09-a0bd-06d0a60d3bc4"}} 2025-03-25 03:28:43,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-25 03:28:43,811 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.202.97.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-03-25 03:28:43,811 - DEBUG - ping -s 56 -c 3 -W 1 126.202.97.3 2025-03-25 03:28:47,009 - DEBUG - PING 126.202.97.3 (126.202.97.3): 56 data bytes 64 bytes from 126.202.97.3: seq=0 ttl=63 time=2.336 ms --- 126.202.97.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.336/2.336/2.336 ms 2025-03-25 03:28:47,009 - WARNING - Ping to IP 126.202.97.3 from VM ctest-TestBasicPolicy-39844165-50868928 failed 2025-03-25 03:28:47,010 - INFO - Deleting VM ctest-TestBasicPolicy-39844165-00967429 2025-03-25 03:28:47,074 - INFO - Deleting VM ctest-TestBasicPolicy-39844165-50868928 2025-03-25 03:28:47,449 - INFO - Deleted policy ctest-policy-allow-all-75084494 2025-03-25 03:28:47,450 - INFO - Deleting VN ctest-vn-72265954 2025-03-25 03:28:47,488 - DEBUG - VN 054c8820-7c47-4e57-99c9-f54acd8223a6 still in use: Unable to complete operation on network 054c8820-7c47-4e57-99c9-f54acd8223a6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-03edd9f1-9e2c-40c0-9943-f683fcdf8555'] 2025-03-25 03:28:47,488 - WARNING - Deleting VN ctest-vn-72265954 failed..Will retry 2025-03-25 03:28:49,604 - DEBUG - Response for deleting network () 2025-03-25 03:28:49,604 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/56e38f22-736d-40d7-baa1-87596ae7b6f0 2025-03-25 03:28:49,610 - DEBUG - Response Code: 404 2025-03-25 03:28:49,610 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-25 03:28:49,624 - DEBUG - Requesting: http://10.0.0.17:8082/domain/961ce51a-0e09-4523-851b-3226ab47d136 2025-03-25 03:28:49,681 - DEBUG - Requesting: http://10.0.0.17:8082/project/2b0da86b-6c88-4188-bbab-f3a349c67a9e 2025-03-25 03:28:49,762 - INFO - Validated that VN ctest-vn-72265954 is not found in API Server 2025-03-25 03:28:49,773 - DEBUG - VN ctest-vn-72265954 is not present in Agent 10.0.0.17 2025-03-25 03:28:49,773 - INFO - Validated that VN ctest-vn-72265954 is not in any agent 2025-03-25 03:28:49,792 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72265954 info 2025-03-25 03:28:49,792 - INFO - Deleting VN ctest-vn-43513675 2025-03-25 03:28:49,911 - DEBUG - Response for deleting network () 2025-03-25 03:28:49,911 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/2a535200-12e1-4242-876a-51988435f40e 2025-03-25 03:28:49,916 - DEBUG - Response Code: 404 2025-03-25 03:28:49,916 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-03-25 03:28:49,926 - DEBUG - Requesting: http://10.0.0.17:8082/domain/961ce51a-0e09-4523-851b-3226ab47d136 2025-03-25 03:28:49,981 - DEBUG - Requesting: http://10.0.0.17:8082/project/2b0da86b-6c88-4188-bbab-f3a349c67a9e 2025-03-25 03:28:50,054 - INFO - Validated that VN ctest-vn-43513675 is not found in API Server 2025-03-25 03:28:50,066 - DEBUG - VN ctest-vn-43513675 is not present in Agent 10.0.0.17 2025-03-25 03:28:50,066 - INFO - Validated that VN ctest-vn-43513675 is not in any agent 2025-03-25 03:28:50,084 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43513675 info 2025-03-25 03:28:50,345 - DEBUG - No XMPP flaps were noticed during the test 2025-03-25 03:28:50,345 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-03-25 03:28:50,345 - INFO - -------------------------------------------------------------------------------- 2025-03-25 03:28:51,027 - INFO - Deleted project: ctest-TestBasicPolicy-39844165, ID : 2b0da86b-6c88-4188-bbab-f3a349c67a9e