2025-03-27 02:24:14,159 - INFO - Domain Default found not creating 2025-03-27 02:24:14,299 - INFO - Project ctest-TestBasicPolicy-06109998 not found, creating it 2025-03-27 02:24:14,756 - INFO - Created Project:ctest-TestBasicPolicy-06109998, ID : 40b6e1b8-7e64-49b4-86df-c7af1e6fa18c 2025-03-27 02:24:16,184 - INFO - ================================================================================ 2025-03-27 02:24:16,184 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-27 02:24:16,184 - 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-27 02:24:16,438 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with 2025-03-27 02:24:16,438 - INFO - Initial checks done. Running the testcase now 2025-03-27 02:24:16,438 - INFO - 2025-03-27 02:24:16,977 - DEBUG - Response for create_network : {'network': {'id': '5a36cf71-d01d-4be3-929d-17eab3df069c', 'name': 'ctest-vn-86338628', 'tenant_id': '40b6e1b87e6449b486dfc7af1e6fa18c', 'project_id': '40b6e1b87e6449b486dfc7af1e6fa18c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06109998', 'ctest-vn-86338628'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 02:24:17,148 - DEBUG - Response for create_subnet : {'subnet': {'id': '5cacc4db-cb12-4482-a412-b7e16210113b', 'name': '', 'tenant_id': '40b6e1b87e6449b486dfc7af1e6fa18c', 'network_id': '5a36cf71-d01d-4be3-929d-17eab3df069c', 'ip_version': 4, 'cidr': '33.174.147.128/26', 'allocation_pools': [{'start': '33.174.147.130', 'end': '33.174.147.190'}], 'gateway_ip': '33.174.147.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.174.147.130', 'tags': [], 'project_id': '40b6e1b87e6449b486dfc7af1e6fa18c'}} 2025-03-27 02:24:17,165 - INFO - Created VN ctest-vn-86338628 2025-03-27 02:24:17,219 - DEBUG - VN ctest-vn-86338628 UUID is 5a36cf71-d01d-4be3-929d-17eab3df069c 2025-03-27 02:24:17,521 - DEBUG - Response for create_network : {'network': {'id': '59809178-b4f4-41b9-8837-4ddbf884dc3f', 'name': 'ctest-vn-81226139', 'tenant_id': '40b6e1b87e6449b486dfc7af1e6fa18c', 'project_id': '40b6e1b87e6449b486dfc7af1e6fa18c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06109998', 'ctest-vn-81226139'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 02:24:17,717 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5ab7298-71a5-4699-bf90-60d6711f38a3', 'name': '', 'tenant_id': '40b6e1b87e6449b486dfc7af1e6fa18c', 'network_id': '59809178-b4f4-41b9-8837-4ddbf884dc3f', 'ip_version': 4, 'cidr': '205.197.193.0/26', 'allocation_pools': [{'start': '205.197.193.2', 'end': '205.197.193.62'}], 'gateway_ip': '205.197.193.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.197.193.2', 'tags': [], 'project_id': '40b6e1b87e6449b486dfc7af1e6fa18c'}} 2025-03-27 02:24:17,737 - INFO - Created VN ctest-vn-81226139 2025-03-27 02:24:17,791 - DEBUG - VN ctest-vn-81226139 UUID is 59809178-b4f4-41b9-8837-4ddbf884dc3f 2025-03-27 02:24:17,943 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06109998:ctest-vn-86338628, 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-06109998:ctest-vn-81226139, 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-27 02:24:18,256 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5a36cf71-d01d-4be3-929d-17eab3df069c', 'name': 'ctest-vn-86338628', 'tenant_id': '40b6e1b87e6449b486dfc7af1e6fa18c', 'project_id': '40b6e1b87e6449b486dfc7af1e6fa18c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5cacc4db-cb12-4482-a412-b7e16210113b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06109998', 'ctest-vn-86338628'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06109998', 'ctest-policy-allow-all-60845774']], 'subnet_ipam': [{'subnet_cidr': '33.174.147.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-27 02:24:18,493 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '59809178-b4f4-41b9-8837-4ddbf884dc3f', 'name': 'ctest-vn-81226139', 'tenant_id': '40b6e1b87e6449b486dfc7af1e6fa18c', 'project_id': '40b6e1b87e6449b486dfc7af1e6fa18c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a5ab7298-71a5-4699-bf90-60d6711f38a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06109998', 'ctest-vn-81226139'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06109998', 'ctest-policy-allow-all-60845774']], 'subnet_ipam': [{'subnet_cidr': '205.197.193.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-27 02:24:18,663 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-03-27 02:24:18,964 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-03-27 02:24:18,992 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3a2a0a2d-2877-49b8-b25f-09507f0c252d 2025-03-27 02:24:19,005 - DEBUG - Requesting: http://10.0.0.27:8082/project/40b6e1b8-7e64-49b4-86df-c7af1e6fa18c 2025-03-27 02:24:19,088 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5a36cf71-d01d-4be3-929d-17eab3df069c 2025-03-27 02:24:19,102 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5a36cf71-d01d-4be3-929d-17eab3df069c 2025-03-27 02:24:19,112 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/d7c704be-a76d-40ac-9627-05a6b56a5c0f 2025-03-27 02:24:19,120 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/d7c704be-a76d-40ac-9627-05a6b56a5c0f 2025-03-27 02:24:19,127 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/23b55712-81b2-41c3-b8bc-4def34b2c320 2025-03-27 02:24:19,134 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-27 02:24:19,134 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5a36cf71-d01d-4be3-929d-17eab3df069c 2025-03-27 02:24:19,144 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/d7c704be-a76d-40ac-9627-05a6b56a5c0f 2025-03-27 02:24:19,158 - INFO - Verified VN network id 8 for VN 5a36cf71-d01d-4be3-929d-17eab3df069c 2025-03-27 02:24:19,158 - INFO - Verifications in API Server for VN ctest-vn-86338628 passed 2025-03-27 02:24:19,158 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5a36cf71-d01d-4be3-929d-17eab3df069c 2025-03-27 02:24:19,168 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/d7c704be-a76d-40ac-9627-05a6b56a5c0f 2025-03-27 02:24:19,177 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/d7c704be-a76d-40ac-9627-05a6b56a5c0f 2025-03-27 02:24:19,184 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/23b55712-81b2-41c3-b8bc-4def34b2c320 2025-03-27 02:24:19,196 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06109998:ctest-vn-86338628', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06109998', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6500611199885724643', 'uuid-lslong': '10564626597688575644'}, 'enable': 'true', 'created': '2025-03-27T02:24:16', 'last-modified': '2025-03-27T02:24:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968417'} 2025-03-27 02:24:19,203 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-27 02:24:19,204 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86338628 passed 2025-03-27 02:24:19,204 - DEBUG - ====Verifying policy data for ctest-vn-86338628 in API_Server ====== 2025-03-27 02:24:19,204 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-03-27 02:24:19,211 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3a2a0a2d-2877-49b8-b25f-09507f0c252d 2025-03-27 02:24:19,223 - DEBUG - Requesting: http://10.0.0.27:8082/project/40b6e1b8-7e64-49b4-86df-c7af1e6fa18c 2025-03-27 02:24:19,296 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5a36cf71-d01d-4be3-929d-17eab3df069c 2025-03-27 02:24:19,309 - DEBUG - ==>Verifying data for policy with id: a9ad706c-f968-4782-96fe-f4595a1e4f3e, fqn: ['default-domain', 'ctest-TestBasicPolicy-06109998', 'ctest-policy-allow-all-60845774'] 2025-03-27 02:24:19,309 - INFO - VN ctest-vn-86338628 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-27 02:24:19,309 - DEBUG - Verifying the vn in opserver 2025-03-27 02:24:19,309 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06109998:ctest-vn-86338628 virtual network link through opserver 10.0.0.27 2025-03-27 02:24:19,309 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-03-27 02:24:19,601 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-03-27 02:24:19,660 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06109998:ctest-vn-86338628', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06109998:ctest-vn-86338628?flat'} 2025-03-27 02:24:19,660 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06109998:ctest-vn-86338628 is found in opserver 2025-03-27 02:24:19,672 - DEBUG - Do not have enough data to verify VN in agent 2025-03-27 02:24:19,678 - DEBUG - VRF ids for VN ctest-vn-86338628: {} 2025-03-27 02:24:19,678 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-03-27 02:24:19,684 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3a2a0a2d-2877-49b8-b25f-09507f0c252d 2025-03-27 02:24:19,697 - DEBUG - Requesting: http://10.0.0.27:8082/project/40b6e1b8-7e64-49b4-86df-c7af1e6fa18c 2025-03-27 02:24:19,769 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/59809178-b4f4-41b9-8837-4ddbf884dc3f 2025-03-27 02:24:19,784 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/59809178-b4f4-41b9-8837-4ddbf884dc3f 2025-03-27 02:24:19,795 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/55e68bf7-f28e-45d3-9246-6faf29302beb 2025-03-27 02:24:19,802 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/55e68bf7-f28e-45d3-9246-6faf29302beb 2025-03-27 02:24:19,811 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/7f000e7e-7e61-4730-8ee6-11b1b6a2e284 2025-03-27 02:24:19,818 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-27 02:24:19,818 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/59809178-b4f4-41b9-8837-4ddbf884dc3f 2025-03-27 02:24:19,828 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/55e68bf7-f28e-45d3-9246-6faf29302beb 2025-03-27 02:24:19,844 - INFO - Verified VN network id 9 for VN 59809178-b4f4-41b9-8837-4ddbf884dc3f 2025-03-27 02:24:19,844 - INFO - Verifications in API Server for VN ctest-vn-81226139 passed 2025-03-27 02:24:19,844 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/59809178-b4f4-41b9-8837-4ddbf884dc3f 2025-03-27 02:24:19,855 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/55e68bf7-f28e-45d3-9246-6faf29302beb 2025-03-27 02:24:19,862 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/55e68bf7-f28e-45d3-9246-6faf29302beb 2025-03-27 02:24:19,870 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/7f000e7e-7e61-4730-8ee6-11b1b6a2e284 2025-03-27 02:24:19,883 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06109998:ctest-vn-81226139', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06109998', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6449314614012559801', 'uuid-lslong': '9815399520039918655'}, 'enable': 'true', 'created': '2025-03-27T02:24:17', 'last-modified': '2025-03-27T02:24:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.402762'} 2025-03-27 02:24:19,890 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-27 02:24:19,890 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81226139 passed 2025-03-27 02:24:19,890 - DEBUG - ====Verifying policy data for ctest-vn-81226139 in API_Server ====== 2025-03-27 02:24:19,890 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-03-27 02:24:19,896 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3a2a0a2d-2877-49b8-b25f-09507f0c252d 2025-03-27 02:24:19,909 - DEBUG - Requesting: http://10.0.0.27:8082/project/40b6e1b8-7e64-49b4-86df-c7af1e6fa18c 2025-03-27 02:24:19,981 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/59809178-b4f4-41b9-8837-4ddbf884dc3f 2025-03-27 02:24:19,991 - DEBUG - ==>Verifying data for policy with id: a9ad706c-f968-4782-96fe-f4595a1e4f3e, fqn: ['default-domain', 'ctest-TestBasicPolicy-06109998', 'ctest-policy-allow-all-60845774'] 2025-03-27 02:24:19,992 - INFO - VN ctest-vn-81226139 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-27 02:24:19,992 - DEBUG - Verifying the vn in opserver 2025-03-27 02:24:19,992 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06109998:ctest-vn-81226139 virtual network link through opserver 10.0.0.27 2025-03-27 02:24:19,992 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-03-27 02:24:20,002 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06109998:ctest-vn-81226139', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06109998:ctest-vn-81226139?flat'} 2025-03-27 02:24:20,002 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06109998:ctest-vn-81226139 is found in opserver 2025-03-27 02:24:20,014 - DEBUG - Do not have enough data to verify VN in agent 2025-03-27 02:24:20,020 - DEBUG - VRF ids for VN ctest-vn-81226139: {} 2025-03-27 02:24:20,077 - DEBUG - Services list from nova: [, , ] 2025-03-27 02:24:21,058 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2964-1) 2025-03-27 02:24:22,272 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2964-1) 2025-03-27 02:24:22,272 - INFO - Waiting for VM ctest-TestBasicPolicy-06109998-70558452 to be up.. 2025-03-27 02:24:22,358 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 02:24:27,436 - DEBUG - VM is in ACTIVE state now 2025-03-27 02:24:27,436 - INFO - VM name : ctest-TestBasicPolicy-06109998-70558452 2025-03-27 02:24:27,513 - DEBUG - VM ctest-TestBasicPolicy-06109998-70558452 ID is 1d9a5b01-d233-42d7-90ac-c448ccec12f6 2025-03-27 02:24:27,531 - DEBUG - VM ctest-TestBasicPolicy-06109998-70558452 launched on Node cn-jenkins-deploy-platform-ansible-os-2964-1. 2025-03-27 02:24:27,607 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1d9a5b01-d233-42d7-90ac-c448ccec12f6 2025-03-27 02:24:27,616 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/2b545c75-e145-4dce-a1ef-da2f9197b751 2025-03-27 02:24:30,868 - 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-03-27 02:24:30,868 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06109998-70558452 failed! 2025-03-27 02:24:30,927 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06109998:ctest-vn-86338628 is 33.174.147.129 and allocation pool is NOT set 2025-03-27 02:24:32,989 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.393 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.393/3.797/7.201/3.404 ms') 2025-03-27 02:24:32,989 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06109998-70558452 passed 2025-03-27 02:24:33,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:24:33,139 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06109998-70558452, IP 33.174.147.131, Port 22 2025-03-27 02:24:33,306 - DEBUG - VM ctest-TestBasicPolicy-06109998-70558452 is ready for SSH connections 2025-03-27 02:24:33,306 - INFO - Waiting for VM ctest-TestBasicPolicy-06109998-20536010 to be up.. 2025-03-27 02:24:33,389 - DEBUG - VM is in ACTIVE state now 2025-03-27 02:24:33,389 - INFO - VM name : ctest-TestBasicPolicy-06109998-20536010 2025-03-27 02:24:33,463 - DEBUG - VM ctest-TestBasicPolicy-06109998-20536010 ID is e34367e5-c47a-4dff-8b10-86d7f4e2a3ef 2025-03-27 02:24:33,463 - DEBUG - VM ctest-TestBasicPolicy-06109998-20536010 launched on Node cn-jenkins-deploy-platform-ansible-os-2964-1. 2025-03-27 02:24:33,551 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e34367e5-c47a-4dff-8b10-86d7f4e2a3ef 2025-03-27 02:24:33,560 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/6f9c5625-d805-4be2-8808-afeebad1af08 2025-03-27 02:24:34,797 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.826 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.826/2.672/4.518/1.846 ms') 2025-03-27 02:24:34,797 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06109998-20536010 passed 2025-03-27 02:24:34,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:24:34,947 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06109998-20536010, IP 205.197.193.3, Port 22 2025-03-27 02:24:35,103 - DEBUG - VM ctest-TestBasicPolicy-06109998-20536010 is ready for SSH connections 2025-03-27 02:24:35,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:24:35,103 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.197.193.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-03-27 02:24:35,103 - DEBUG - ping -s 56 -c 3 -W 1 205.197.193.3 2025-03-27 02:24:38,803 - DEBUG - PING 205.197.193.3 (205.197.193.3): 56 data bytes 64 bytes from 205.197.193.3: seq=0 ttl=63 time=3.336 ms 64 bytes from 205.197.193.3: seq=1 ttl=63 time=0.764 ms 64 bytes from 205.197.193.3: seq=2 ttl=63 time=0.814 ms --- 205.197.193.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.764/1.638/3.336 ms 2025-03-27 02:24:38,804 - INFO - Ping to IP 205.197.193.3 from VM ctest-TestBasicPolicy-06109998-70558452 passed 2025-03-27 02:24:38,983 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a9ad706c-f968-4782-96fe-f4595a1e4f3e", "href": "http://10.0.0.27:8082/network-policy/a9ad706c-f968-4782-96fe-f4595a1e4f3e"}} 2025-03-27 02:24:38,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 02:24:38,983 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.197.193.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-03-27 02:24:38,983 - DEBUG - ping -s 56 -c 3 -W 1 205.197.193.3 2025-03-27 02:24:42,191 - DEBUG - PING 205.197.193.3 (205.197.193.3): 56 data bytes 64 bytes from 205.197.193.3: seq=0 ttl=63 time=1.358 ms --- 205.197.193.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.358/1.358/1.358 ms 2025-03-27 02:24:42,192 - WARNING - Ping to IP 205.197.193.3 from VM ctest-TestBasicPolicy-06109998-70558452 failed 2025-03-27 02:24:42,192 - INFO - Deleting VM ctest-TestBasicPolicy-06109998-20536010 2025-03-27 02:24:42,259 - INFO - Deleting VM ctest-TestBasicPolicy-06109998-70558452 2025-03-27 02:24:42,622 - INFO - Deleted policy ctest-policy-allow-all-60845774 2025-03-27 02:24:42,622 - INFO - Deleting VN ctest-vn-81226139 2025-03-27 02:24:42,653 - DEBUG - VN 59809178-b4f4-41b9-8837-4ddbf884dc3f still in use: Unable to complete operation on network 59809178-b4f4-41b9-8837-4ddbf884dc3f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1a74743c-0189-4e20-8cea-cf252d283f3b'] 2025-03-27 02:24:42,654 - WARNING - Deleting VN ctest-vn-81226139 failed..Will retry 2025-03-27 02:24:44,754 - DEBUG - Response for deleting network () 2025-03-27 02:24:44,754 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/55e68bf7-f28e-45d3-9246-6faf29302beb 2025-03-27 02:24:44,763 - DEBUG - Response Code: 404 2025-03-27 02:24:44,764 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-03-27 02:24:44,769 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3a2a0a2d-2877-49b8-b25f-09507f0c252d 2025-03-27 02:24:44,826 - DEBUG - Requesting: http://10.0.0.27:8082/project/40b6e1b8-7e64-49b4-86df-c7af1e6fa18c 2025-03-27 02:24:44,898 - INFO - Validated that VN ctest-vn-81226139 is not found in API Server 2025-03-27 02:24:44,909 - DEBUG - VN ctest-vn-81226139 is not present in Agent 10.0.0.27 2025-03-27 02:24:44,909 - INFO - Validated that VN ctest-vn-81226139 is not in any agent 2025-03-27 02:24:44,925 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81226139 info 2025-03-27 02:24:44,925 - INFO - Deleting VN ctest-vn-86338628 2025-03-27 02:24:45,018 - DEBUG - Response for deleting network () 2025-03-27 02:24:45,018 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/d7c704be-a76d-40ac-9627-05a6b56a5c0f 2025-03-27 02:24:45,024 - DEBUG - Response Code: 404 2025-03-27 02:24:45,025 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-03-27 02:24:45,033 - DEBUG - Requesting: http://10.0.0.27:8082/domain/3a2a0a2d-2877-49b8-b25f-09507f0c252d 2025-03-27 02:24:45,089 - DEBUG - Requesting: http://10.0.0.27:8082/project/40b6e1b8-7e64-49b4-86df-c7af1e6fa18c 2025-03-27 02:24:45,191 - INFO - Validated that VN ctest-vn-86338628 is not found in API Server 2025-03-27 02:24:45,204 - DEBUG - VN ctest-vn-86338628 is not present in Agent 10.0.0.27 2025-03-27 02:24:45,204 - INFO - Validated that VN ctest-vn-86338628 is not in any agent 2025-03-27 02:24:45,221 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86338628 info 2025-03-27 02:24:45,495 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 02:24:45,495 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-03-27 02:24:45,495 - INFO - -------------------------------------------------------------------------------- 2025-03-27 02:24:46,190 - INFO - Deleted project: ctest-TestBasicPolicy-06109998, ID : 40b6e1b8-7e64-49b4-86df-c7af1e6fa18c