2025-01-13 17:24:25,559 - INFO - Domain Default found not creating 2025-01-13 17:24:25,722 - INFO - Project ctest-TestBasicPolicy-43345236 not found, creating it 2025-01-13 17:24:26,214 - INFO - Created Project:ctest-TestBasicPolicy-43345236, ID : c8722353-9a83-4573-b43b-09823725b22f 2025-01-13 17:24:27,789 - INFO - ================================================================================ 2025-01-13 17:24:27,789 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-13 17:24:27,789 - 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-13 17:24:28,048 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.7': '0'}} with 2025-01-13 17:24:28,048 - INFO - Initial checks done. Running the testcase now 2025-01-13 17:24:28,048 - INFO - 2025-01-13 17:24:28,635 - DEBUG - Response for create_network : {'network': {'id': '11f85e62-b0ab-4de5-bcae-f35e8fc1c318', 'name': 'ctest-vn-82264600', 'tenant_id': 'c87223539a834573b43b09823725b22f', 'project_id': 'c87223539a834573b43b09823725b22f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43345236', 'ctest-vn-82264600'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 17:24:28,833 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2894c77-f955-41dd-9531-406e228a635b', 'name': '', 'tenant_id': 'c87223539a834573b43b09823725b22f', 'network_id': '11f85e62-b0ab-4de5-bcae-f35e8fc1c318', 'ip_version': 4, 'cidr': '22.87.153.64/26', 'allocation_pools': [{'start': '22.87.153.66', 'end': '22.87.153.126'}], 'gateway_ip': '22.87.153.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.87.153.66', 'tags': [], 'project_id': 'c87223539a834573b43b09823725b22f'}} 2025-01-13 17:24:28,856 - INFO - Created VN ctest-vn-82264600 2025-01-13 17:24:28,913 - DEBUG - VN ctest-vn-82264600 UUID is 11f85e62-b0ab-4de5-bcae-f35e8fc1c318 2025-01-13 17:24:29,268 - DEBUG - Response for create_network : {'network': {'id': '2c118826-9f68-4565-91ba-e5e12957139a', 'name': 'ctest-vn-84673878', 'tenant_id': 'c87223539a834573b43b09823725b22f', 'project_id': 'c87223539a834573b43b09823725b22f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43345236', 'ctest-vn-84673878'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 17:24:29,437 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af4b9e30-b0a3-4d39-b55a-7149f14e484f', 'name': '', 'tenant_id': 'c87223539a834573b43b09823725b22f', 'network_id': '2c118826-9f68-4565-91ba-e5e12957139a', 'ip_version': 4, 'cidr': '82.113.201.0/26', 'allocation_pools': [{'start': '82.113.201.2', 'end': '82.113.201.62'}], 'gateway_ip': '82.113.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.113.201.2', 'tags': [], 'project_id': 'c87223539a834573b43b09823725b22f'}} 2025-01-13 17:24:29,458 - INFO - Created VN ctest-vn-84673878 2025-01-13 17:24:29,513 - DEBUG - VN ctest-vn-84673878 UUID is 2c118826-9f68-4565-91ba-e5e12957139a 2025-01-13 17:24:29,637 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43345236:ctest-vn-82264600, 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-43345236:ctest-vn-84673878, 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-13 17:24:29,956 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '11f85e62-b0ab-4de5-bcae-f35e8fc1c318', 'name': 'ctest-vn-82264600', 'tenant_id': 'c87223539a834573b43b09823725b22f', 'project_id': 'c87223539a834573b43b09823725b22f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b2894c77-f955-41dd-9531-406e228a635b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43345236', 'ctest-vn-82264600'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43345236', 'ctest-policy-allow-all-19742329']], 'subnet_ipam': [{'subnet_cidr': '22.87.153.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-13 17:24:30,260 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2c118826-9f68-4565-91ba-e5e12957139a', 'name': 'ctest-vn-84673878', 'tenant_id': 'c87223539a834573b43b09823725b22f', 'project_id': 'c87223539a834573b43b09823725b22f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['af4b9e30-b0a3-4d39-b55a-7149f14e484f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43345236', 'ctest-vn-84673878'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43345236', 'ctest-policy-allow-all-19742329']], 'subnet_ipam': [{'subnet_cidr': '82.113.201.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-13 17:24:30,417 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-13 17:24:30,727 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-13 17:24:30,764 - DEBUG - Requesting: http://10.0.0.12:8082/domain/21277869-e3db-4363-8032-eed1c36c4333 2025-01-13 17:24:30,782 - DEBUG - Requesting: http://10.0.0.12:8082/project/c8722353-9a83-4573-b43b-09823725b22f 2025-01-13 17:24:30,861 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/11f85e62-b0ab-4de5-bcae-f35e8fc1c318 2025-01-13 17:24:30,876 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/11f85e62-b0ab-4de5-bcae-f35e8fc1c318 2025-01-13 17:24:30,891 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/0a8a661b-ed8f-4a9f-a0c5-0bd04a00a720 2025-01-13 17:24:30,902 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/0a8a661b-ed8f-4a9f-a0c5-0bd04a00a720 2025-01-13 17:24:30,911 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/a1d3384c-4ed5-421c-a55f-167699465300 2025-01-13 17:24:30,919 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-13 17:24:30,919 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/11f85e62-b0ab-4de5-bcae-f35e8fc1c318 2025-01-13 17:24:30,931 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/0a8a661b-ed8f-4a9f-a0c5-0bd04a00a720 2025-01-13 17:24:30,947 - INFO - Verified VN network id 8 for VN 11f85e62-b0ab-4de5-bcae-f35e8fc1c318 2025-01-13 17:24:30,947 - INFO - Verifications in API Server for VN ctest-vn-82264600 passed 2025-01-13 17:24:30,947 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/11f85e62-b0ab-4de5-bcae-f35e8fc1c318 2025-01-13 17:24:30,960 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/0a8a661b-ed8f-4a9f-a0c5-0bd04a00a720 2025-01-13 17:24:30,970 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/0a8a661b-ed8f-4a9f-a0c5-0bd04a00a720 2025-01-13 17:24:30,980 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/a1d3384c-4ed5-421c-a55f-167699465300 2025-01-13 17:24:30,995 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43345236:ctest-vn-82264600', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43345236', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1294888670832840165', 'uuid-lslong': '13596071912542421784'}, 'enable': 'true', 'created': '2025-01-13T17:24:28', 'last-modified': '2025-01-13T17:24:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.062723'} 2025-01-13 17:24:31,002 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-13 17:24:31,002 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82264600 passed 2025-01-13 17:24:31,002 - DEBUG - ====Verifying policy data for ctest-vn-82264600 in API_Server ====== 2025-01-13 17:24:31,002 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-13 17:24:31,013 - DEBUG - Requesting: http://10.0.0.12:8082/domain/21277869-e3db-4363-8032-eed1c36c4333 2025-01-13 17:24:31,030 - DEBUG - Requesting: http://10.0.0.12:8082/project/c8722353-9a83-4573-b43b-09823725b22f 2025-01-13 17:24:31,111 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/11f85e62-b0ab-4de5-bcae-f35e8fc1c318 2025-01-13 17:24:31,122 - DEBUG - ==>Verifying data for policy with id: a58e0c8a-e89e-4967-bd2d-3a6379108df8, fqn: ['default-domain', 'ctest-TestBasicPolicy-43345236', 'ctest-policy-allow-all-19742329'] 2025-01-13 17:24:31,122 - INFO - VN ctest-vn-82264600 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-13 17:24:31,123 - DEBUG - Verifying the vn in opserver 2025-01-13 17:24:31,123 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43345236:ctest-vn-82264600 virtual network link through opserver 10.0.0.12 2025-01-13 17:24:31,123 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-01-13 17:24:31,424 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-01-13 17:24:31,495 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43345236:ctest-vn-82264600', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43345236:ctest-vn-82264600?flat'} 2025-01-13 17:24:31,495 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43345236:ctest-vn-82264600 is found in opserver 2025-01-13 17:24:31,507 - DEBUG - Do not have enough data to verify VN in agent 2025-01-13 17:24:31,514 - DEBUG - VRF ids for VN ctest-vn-82264600: {} 2025-01-13 17:24:31,515 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-13 17:24:31,523 - DEBUG - Requesting: http://10.0.0.12:8082/domain/21277869-e3db-4363-8032-eed1c36c4333 2025-01-13 17:24:31,536 - DEBUG - Requesting: http://10.0.0.12:8082/project/c8722353-9a83-4573-b43b-09823725b22f 2025-01-13 17:24:31,626 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/2c118826-9f68-4565-91ba-e5e12957139a 2025-01-13 17:24:31,640 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/2c118826-9f68-4565-91ba-e5e12957139a 2025-01-13 17:24:31,650 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/2f04edf9-7a2c-4674-ad2c-7500b0f1e447 2025-01-13 17:24:31,658 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/2f04edf9-7a2c-4674-ad2c-7500b0f1e447 2025-01-13 17:24:31,666 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/9b6d6d32-d32d-4ae1-9d45-4e511b858c18 2025-01-13 17:24:31,673 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-13 17:24:31,673 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/2c118826-9f68-4565-91ba-e5e12957139a 2025-01-13 17:24:31,683 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/2f04edf9-7a2c-4674-ad2c-7500b0f1e447 2025-01-13 17:24:31,699 - INFO - Verified VN network id 9 for VN 2c118826-9f68-4565-91ba-e5e12957139a 2025-01-13 17:24:31,699 - INFO - Verifications in API Server for VN ctest-vn-84673878 passed 2025-01-13 17:24:31,699 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/2c118826-9f68-4565-91ba-e5e12957139a 2025-01-13 17:24:31,711 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/2f04edf9-7a2c-4674-ad2c-7500b0f1e447 2025-01-13 17:24:31,719 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/2f04edf9-7a2c-4674-ad2c-7500b0f1e447 2025-01-13 17:24:31,727 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/9b6d6d32-d32d-4ae1-9d45-4e511b858c18 2025-01-13 17:24:31,741 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43345236:ctest-vn-84673878', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43345236', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3175468911737455973', 'uuid-lslong': '10500958236391707546'}, 'enable': 'true', 'created': '2025-01-13T17:24:29', 'last-modified': '2025-01-13T17:24:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.558464'} 2025-01-13 17:24:31,748 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-13 17:24:31,748 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84673878 passed 2025-01-13 17:24:31,748 - DEBUG - ====Verifying policy data for ctest-vn-84673878 in API_Server ====== 2025-01-13 17:24:31,748 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-13 17:24:31,754 - DEBUG - Requesting: http://10.0.0.12:8082/domain/21277869-e3db-4363-8032-eed1c36c4333 2025-01-13 17:24:31,768 - DEBUG - Requesting: http://10.0.0.12:8082/project/c8722353-9a83-4573-b43b-09823725b22f 2025-01-13 17:24:31,842 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/2c118826-9f68-4565-91ba-e5e12957139a 2025-01-13 17:24:31,853 - DEBUG - ==>Verifying data for policy with id: a58e0c8a-e89e-4967-bd2d-3a6379108df8, fqn: ['default-domain', 'ctest-TestBasicPolicy-43345236', 'ctest-policy-allow-all-19742329'] 2025-01-13 17:24:31,853 - INFO - VN ctest-vn-84673878 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-13 17:24:31,853 - DEBUG - Verifying the vn in opserver 2025-01-13 17:24:31,853 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43345236:ctest-vn-84673878 virtual network link through opserver 10.0.0.12 2025-01-13 17:24:31,854 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2025-01-13 17:24:31,866 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43345236:ctest-vn-84673878', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43345236:ctest-vn-84673878?flat'} 2025-01-13 17:24:31,866 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43345236:ctest-vn-84673878 is found in opserver 2025-01-13 17:24:31,878 - DEBUG - Do not have enough data to verify VN in agent 2025-01-13 17:24:31,884 - DEBUG - VRF ids for VN ctest-vn-84673878: {} 2025-01-13 17:24:31,955 - DEBUG - Services list from nova: [, , ] 2025-01-13 17:24:33,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2614-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2614-1) 2025-01-13 17:24:34,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2614-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2614-1) 2025-01-13 17:24:34,364 - INFO - Waiting for VM ctest-TestBasicPolicy-43345236-66594178 to be up.. 2025-01-13 17:24:34,456 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 17:24:39,551 - DEBUG - VM is in ACTIVE state now 2025-01-13 17:24:39,551 - INFO - VM name : ctest-TestBasicPolicy-43345236-66594178 2025-01-13 17:24:39,642 - DEBUG - VM ctest-TestBasicPolicy-43345236-66594178 ID is 5631520e-5e40-4068-a0af-18eb6dd53540 2025-01-13 17:24:39,666 - DEBUG - VM ctest-TestBasicPolicy-43345236-66594178 launched on Node cn-jenkins-deploy-platform-ansible-os-2614-1 2025-01-13 17:24:39,765 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/5631520e-5e40-4068-a0af-18eb6dd53540 2025-01-13 17:24:39,774 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/f07f8f66-b686-4454-821a-1805f528b48e 2025-01-13 17:24:43,017 - 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 1026ms') 2025-01-13 17:24:43,017 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43345236-66594178 failed! 2025-01-13 17:24:43,073 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43345236:ctest-vn-82264600 is 22.87.153.65 and allocation pool is NOT set 2025-01-13 17:24:45,146 - 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=7.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.531 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.531/4.067/7.604/3.536 ms') 2025-01-13 17:24:45,146 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43345236-66594178 passed 2025-01-13 17:24:45,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 17:24:45,317 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43345236-66594178, IP 22.87.153.67, Port 22 2025-01-13 17:24:45,483 - DEBUG - VM ctest-TestBasicPolicy-43345236-66594178 is ready for SSH connections 2025-01-13 17:24:45,483 - INFO - Waiting for VM ctest-TestBasicPolicy-43345236-81912224 to be up.. 2025-01-13 17:24:45,580 - DEBUG - VM is in ACTIVE state now 2025-01-13 17:24:45,580 - INFO - VM name : ctest-TestBasicPolicy-43345236-81912224 2025-01-13 17:24:45,666 - DEBUG - VM ctest-TestBasicPolicy-43345236-81912224 ID is 6ddc5770-9f25-4c88-ab1e-fc9f8a5bf08d 2025-01-13 17:24:45,666 - DEBUG - VM ctest-TestBasicPolicy-43345236-81912224 launched on Node cn-jenkins-deploy-platform-ansible-os-2614-1 2025-01-13 17:24:45,750 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/6ddc5770-9f25-4c88-ab1e-fc9f8a5bf08d 2025-01-13 17:24:45,760 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/6e02c857-3428-4f5b-84d1-3198ed052081 2025-01-13 17:24:47,014 - 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=3.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.545 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 = 0.545/1.985/3.426/1.440 ms') 2025-01-13 17:24:47,015 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43345236-81912224 passed 2025-01-13 17:24:47,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 17:24:47,169 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43345236-81912224, IP 82.113.201.3, Port 22 2025-01-13 17:24:47,324 - DEBUG - VM ctest-TestBasicPolicy-43345236-81912224 is ready for SSH connections 2025-01-13 17:24:47,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 17:24:47,324 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.113.201.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-01-13 17:24:47,325 - DEBUG - ping -s 56 -c 3 -W 1 82.113.201.3 2025-01-13 17:24:51,401 - DEBUG - PING 82.113.201.3 (82.113.201.3): 56 data bytes 64 bytes from 82.113.201.3: seq=0 ttl=63 time=3.876 ms 64 bytes from 82.113.201.3: seq=1 ttl=63 time=0.968 ms 64 bytes from 82.113.201.3: seq=2 ttl=63 time=1.056 ms --- 82.113.201.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.968/1.966/3.876 ms 2025-01-13 17:24:51,401 - INFO - Ping to IP 82.113.201.3 from VM ctest-TestBasicPolicy-43345236-66594178 passed 2025-01-13 17:24:51,593 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a58e0c8a-e89e-4967-bd2d-3a6379108df8", "href": "http://10.0.0.12:8082/network-policy/a58e0c8a-e89e-4967-bd2d-3a6379108df8"}} 2025-01-13 17:24:51,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 17:24:51,593 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.113.201.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-01-13 17:24:51,593 - DEBUG - ping -s 56 -c 3 -W 1 82.113.201.3 2025-01-13 17:24:54,806 - DEBUG - PING 82.113.201.3 (82.113.201.3): 56 data bytes 64 bytes from 82.113.201.3: seq=0 ttl=63 time=1.319 ms --- 82.113.201.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.319/1.319/1.319 ms 2025-01-13 17:24:54,807 - WARNING - Ping to IP 82.113.201.3 from VM ctest-TestBasicPolicy-43345236-66594178 failed 2025-01-13 17:24:54,807 - INFO - Deleting VM ctest-TestBasicPolicy-43345236-81912224 2025-01-13 17:24:54,883 - INFO - Deleting VM ctest-TestBasicPolicy-43345236-66594178 2025-01-13 17:24:55,343 - INFO - Deleted policy ctest-policy-allow-all-19742329 2025-01-13 17:24:55,343 - INFO - Deleting VN ctest-vn-84673878 2025-01-13 17:24:55,387 - DEBUG - VN 2c118826-9f68-4565-91ba-e5e12957139a still in use: Unable to complete operation on network 2c118826-9f68-4565-91ba-e5e12957139a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-110514f7-134b-4160-a8fb-e9781bd1d51f'] 2025-01-13 17:24:55,387 - WARNING - Deleting VN ctest-vn-84673878 failed..Will retry 2025-01-13 17:24:57,524 - DEBUG - Response for deleting network () 2025-01-13 17:24:57,524 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/2f04edf9-7a2c-4674-ad2c-7500b0f1e447 2025-01-13 17:24:57,532 - DEBUG - Response Code: 404 2025-01-13 17:24:57,532 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-13 17:24:57,542 - DEBUG - Requesting: http://10.0.0.12:8082/domain/21277869-e3db-4363-8032-eed1c36c4333 2025-01-13 17:24:57,602 - DEBUG - Requesting: http://10.0.0.12:8082/project/c8722353-9a83-4573-b43b-09823725b22f 2025-01-13 17:24:57,683 - INFO - Validated that VN ctest-vn-84673878 is not found in API Server 2025-01-13 17:24:57,695 - DEBUG - VN ctest-vn-84673878 is not present in Agent 10.0.0.12 2025-01-13 17:24:57,696 - INFO - Validated that VN ctest-vn-84673878 is not in any agent 2025-01-13 17:24:57,715 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84673878 info 2025-01-13 17:24:57,715 - INFO - Deleting VN ctest-vn-82264600 2025-01-13 17:24:57,841 - DEBUG - Response for deleting network () 2025-01-13 17:24:57,842 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/0a8a661b-ed8f-4a9f-a0c5-0bd04a00a720 2025-01-13 17:24:57,849 - DEBUG - Response Code: 404 2025-01-13 17:24:57,849 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2025-01-13 17:24:57,858 - DEBUG - Requesting: http://10.0.0.12:8082/domain/21277869-e3db-4363-8032-eed1c36c4333 2025-01-13 17:24:57,915 - DEBUG - Requesting: http://10.0.0.12:8082/project/c8722353-9a83-4573-b43b-09823725b22f 2025-01-13 17:24:57,989 - INFO - Validated that VN ctest-vn-82264600 is not found in API Server 2025-01-13 17:24:58,001 - DEBUG - VN ctest-vn-82264600 is not present in Agent 10.0.0.12 2025-01-13 17:24:58,001 - INFO - Validated that VN ctest-vn-82264600 is not in any agent 2025-01-13 17:24:58,019 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82264600 info 2025-01-13 17:24:58,284 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 17:24:58,284 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-01-13 17:24:58,284 - INFO - -------------------------------------------------------------------------------- 2025-01-13 17:24:58,985 - INFO - Deleted project: ctest-TestBasicPolicy-43345236, ID : c8722353-9a83-4573-b43b-09823725b22f