2025-04-23 12:08:10,959 - INFO - Domain Default found not creating 2025-04-23 12:08:11,097 - INFO - Project ctest-TestBasicPolicy-04708866 not found, creating it 2025-04-23 12:08:11,543 - INFO - Created Project:ctest-TestBasicPolicy-04708866, ID : 11cad69e-159e-4405-abb4-0c2f18c323b9 2025-04-23 12:08:13,095 - INFO - ================================================================================ 2025-04-23 12:08:13,096 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-23 12:08:13,096 - 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-04-23 12:08:13,353 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-04-23 12:08:13,353 - INFO - Initial checks done. Running the testcase now 2025-04-23 12:08:13,353 - INFO - 2025-04-23 12:08:13,923 - DEBUG - Response for create_network : {'network': {'id': 'cf7da0f6-b225-463d-ac01-1e6d489b7bb5', 'name': 'ctest-vn-17179660', 'tenant_id': '11cad69e159e4405abb40c2f18c323b9', 'project_id': '11cad69e159e4405abb40c2f18c323b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04708866', 'ctest-vn-17179660'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 12:08:14,107 - DEBUG - Response for create_subnet : {'subnet': {'id': '291bbf53-8501-479a-8684-03e42c0014e0', 'name': '', 'tenant_id': '11cad69e159e4405abb40c2f18c323b9', 'network_id': 'cf7da0f6-b225-463d-ac01-1e6d489b7bb5', 'ip_version': 4, 'cidr': '53.254.60.192/26', 'allocation_pools': [{'start': '53.254.60.194', 'end': '53.254.60.254'}], 'gateway_ip': '53.254.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.254.60.194', 'tags': [], 'project_id': '11cad69e159e4405abb40c2f18c323b9'}} 2025-04-23 12:08:14,124 - INFO - Created VN ctest-vn-17179660 2025-04-23 12:08:14,175 - DEBUG - VN ctest-vn-17179660 UUID is cf7da0f6-b225-463d-ac01-1e6d489b7bb5 2025-04-23 12:08:14,496 - DEBUG - Response for create_network : {'network': {'id': '42509605-15bc-4416-988d-5d5aa48acf09', 'name': 'ctest-vn-24006790', 'tenant_id': '11cad69e159e4405abb40c2f18c323b9', 'project_id': '11cad69e159e4405abb40c2f18c323b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04708866', 'ctest-vn-24006790'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 12:08:14,649 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5f1cb6e-441f-4aca-ae83-95052bb63f78', 'name': '', 'tenant_id': '11cad69e159e4405abb40c2f18c323b9', 'network_id': '42509605-15bc-4416-988d-5d5aa48acf09', 'ip_version': 4, 'cidr': '132.6.135.0/26', 'allocation_pools': [{'start': '132.6.135.2', 'end': '132.6.135.62'}], 'gateway_ip': '132.6.135.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.6.135.2', 'tags': [], 'project_id': '11cad69e159e4405abb40c2f18c323b9'}} 2025-04-23 12:08:14,665 - INFO - Created VN ctest-vn-24006790 2025-04-23 12:08:14,719 - DEBUG - VN ctest-vn-24006790 UUID is 42509605-15bc-4416-988d-5d5aa48acf09 2025-04-23 12:08:14,830 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04708866:ctest-vn-17179660, 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-04708866:ctest-vn-24006790, 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-04-23 12:08:15,128 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf7da0f6-b225-463d-ac01-1e6d489b7bb5', 'name': 'ctest-vn-17179660', 'tenant_id': '11cad69e159e4405abb40c2f18c323b9', 'project_id': '11cad69e159e4405abb40c2f18c323b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['291bbf53-8501-479a-8684-03e42c0014e0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04708866', 'ctest-vn-17179660'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04708866', 'ctest-policy-allow-all-41583997']], 'subnet_ipam': [{'subnet_cidr': '53.254.60.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 12:08:15,346 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '42509605-15bc-4416-988d-5d5aa48acf09', 'name': 'ctest-vn-24006790', 'tenant_id': '11cad69e159e4405abb40c2f18c323b9', 'project_id': '11cad69e159e4405abb40c2f18c323b9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c5f1cb6e-441f-4aca-ae83-95052bb63f78'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04708866', 'ctest-vn-24006790'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04708866', 'ctest-policy-allow-all-41583997']], 'subnet_ipam': [{'subnet_cidr': '132.6.135.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 12:08:15,519 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-04-23 12:08:15,857 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-04-23 12:08:15,884 - DEBUG - Requesting: http://10.0.0.57:8082/domain/56884d59-a999-4a17-bebc-aab0921d23ae 2025-04-23 12:08:15,897 - DEBUG - Requesting: http://10.0.0.57:8082/project/11cad69e-159e-4405-abb4-0c2f18c323b9 2025-04-23 12:08:15,967 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/cf7da0f6-b225-463d-ac01-1e6d489b7bb5 2025-04-23 12:08:15,979 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/cf7da0f6-b225-463d-ac01-1e6d489b7bb5 2025-04-23 12:08:15,988 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a48b3122-3b83-46de-9465-da7f7565723c 2025-04-23 12:08:15,995 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a48b3122-3b83-46de-9465-da7f7565723c 2025-04-23 12:08:16,003 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/0b23838d-9971-48b6-980b-e7104e35ebed 2025-04-23 12:08:16,009 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 12:08:16,009 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/cf7da0f6-b225-463d-ac01-1e6d489b7bb5 2025-04-23 12:08:16,018 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a48b3122-3b83-46de-9465-da7f7565723c 2025-04-23 12:08:16,032 - INFO - Verified VN network id 7 for VN cf7da0f6-b225-463d-ac01-1e6d489b7bb5 2025-04-23 12:08:16,032 - INFO - Verifications in API Server for VN ctest-vn-17179660 passed 2025-04-23 12:08:16,032 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/cf7da0f6-b225-463d-ac01-1e6d489b7bb5 2025-04-23 12:08:16,041 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a48b3122-3b83-46de-9465-da7f7565723c 2025-04-23 12:08:16,047 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a48b3122-3b83-46de-9465-da7f7565723c 2025-04-23 12:08:16,054 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/0b23838d-9971-48b6-980b-e7104e35ebed 2025-04-23 12:08:16,066 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04708866:ctest-vn-17179660', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04708866', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14951283319351100989', 'uuid-lslong': '12394221104218733493'}, 'enable': 'true', 'created': '2025-04-23T12:08:13', 'last-modified': '2025-04-23T12:08:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.965110'} 2025-04-23 12:08:16,073 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 12:08:16,073 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17179660 passed 2025-04-23 12:08:16,073 - DEBUG - ====Verifying policy data for ctest-vn-17179660 in API_Server ====== 2025-04-23 12:08:16,073 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-04-23 12:08:16,078 - DEBUG - Requesting: http://10.0.0.57:8082/domain/56884d59-a999-4a17-bebc-aab0921d23ae 2025-04-23 12:08:16,089 - DEBUG - Requesting: http://10.0.0.57:8082/project/11cad69e-159e-4405-abb4-0c2f18c323b9 2025-04-23 12:08:16,160 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/cf7da0f6-b225-463d-ac01-1e6d489b7bb5 2025-04-23 12:08:16,170 - DEBUG - ==>Verifying data for policy with id: c8202b57-d9a2-4a03-83be-d8fbc553c9d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-04708866', 'ctest-policy-allow-all-41583997'] 2025-04-23 12:08:16,170 - INFO - VN ctest-vn-17179660 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 12:08:16,170 - DEBUG - Verifying the vn in opserver 2025-04-23 12:08:16,170 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04708866:ctest-vn-17179660 virtual network link through opserver 10.0.0.57 2025-04-23 12:08:16,170 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-04-23 12:08:16,507 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-04-23 12:08:16,561 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04708866:ctest-vn-17179660', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04708866:ctest-vn-17179660?flat'} 2025-04-23 12:08:16,561 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04708866:ctest-vn-17179660 is found in opserver 2025-04-23 12:08:16,572 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 12:08:16,577 - DEBUG - VRF ids for VN ctest-vn-17179660: {} 2025-04-23 12:08:16,577 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-04-23 12:08:16,582 - DEBUG - Requesting: http://10.0.0.57:8082/domain/56884d59-a999-4a17-bebc-aab0921d23ae 2025-04-23 12:08:16,596 - DEBUG - Requesting: http://10.0.0.57:8082/project/11cad69e-159e-4405-abb4-0c2f18c323b9 2025-04-23 12:08:16,667 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/42509605-15bc-4416-988d-5d5aa48acf09 2025-04-23 12:08:16,679 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/42509605-15bc-4416-988d-5d5aa48acf09 2025-04-23 12:08:16,689 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ee639191-6d1f-43ef-88f2-69d3d8631f89 2025-04-23 12:08:16,696 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ee639191-6d1f-43ef-88f2-69d3d8631f89 2025-04-23 12:08:16,702 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/1a2c9e9c-918e-45cd-8350-d34dbbbd730b 2025-04-23 12:08:16,708 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 12:08:16,708 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/42509605-15bc-4416-988d-5d5aa48acf09 2025-04-23 12:08:16,717 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ee639191-6d1f-43ef-88f2-69d3d8631f89 2025-04-23 12:08:16,731 - INFO - Verified VN network id 8 for VN 42509605-15bc-4416-988d-5d5aa48acf09 2025-04-23 12:08:16,731 - INFO - Verifications in API Server for VN ctest-vn-24006790 passed 2025-04-23 12:08:16,731 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/42509605-15bc-4416-988d-5d5aa48acf09 2025-04-23 12:08:16,740 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ee639191-6d1f-43ef-88f2-69d3d8631f89 2025-04-23 12:08:16,747 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ee639191-6d1f-43ef-88f2-69d3d8631f89 2025-04-23 12:08:16,753 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/1a2c9e9c-918e-45cd-8350-d34dbbbd730b 2025-04-23 12:08:16,765 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04708866:ctest-vn-24006790', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04708866', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4778484153223758870', 'uuid-lslong': '10992544909370248969'}, 'enable': 'true', 'created': '2025-04-23T12:08:14', 'last-modified': '2025-04-23T12:08:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.437522'} 2025-04-23 12:08:16,773 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 12:08:16,773 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24006790 passed 2025-04-23 12:08:16,773 - DEBUG - ====Verifying policy data for ctest-vn-24006790 in API_Server ====== 2025-04-23 12:08:16,773 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-04-23 12:08:16,779 - DEBUG - Requesting: http://10.0.0.57:8082/domain/56884d59-a999-4a17-bebc-aab0921d23ae 2025-04-23 12:08:16,790 - DEBUG - Requesting: http://10.0.0.57:8082/project/11cad69e-159e-4405-abb4-0c2f18c323b9 2025-04-23 12:08:16,861 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/42509605-15bc-4416-988d-5d5aa48acf09 2025-04-23 12:08:16,874 - DEBUG - ==>Verifying data for policy with id: c8202b57-d9a2-4a03-83be-d8fbc553c9d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-04708866', 'ctest-policy-allow-all-41583997'] 2025-04-23 12:08:16,874 - INFO - VN ctest-vn-24006790 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 12:08:16,874 - DEBUG - Verifying the vn in opserver 2025-04-23 12:08:16,874 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04708866:ctest-vn-24006790 virtual network link through opserver 10.0.0.57 2025-04-23 12:08:16,874 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-04-23 12:08:16,885 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04708866:ctest-vn-24006790', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04708866:ctest-vn-24006790?flat'} 2025-04-23 12:08:16,885 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04708866:ctest-vn-24006790 is found in opserver 2025-04-23 12:08:16,895 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 12:08:16,901 - DEBUG - VRF ids for VN ctest-vn-24006790: {} 2025-04-23 12:08:16,953 - DEBUG - Services list from nova: [, , ] 2025-04-23 12:08:17,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3183-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3183-1) 2025-04-23 12:08:19,283 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3183-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3183-1) 2025-04-23 12:08:19,283 - INFO - Waiting for VM ctest-TestBasicPolicy-04708866-26035444 to be up.. 2025-04-23 12:08:19,364 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 12:08:24,453 - DEBUG - VM is in ACTIVE state now 2025-04-23 12:08:24,453 - INFO - VM name : ctest-TestBasicPolicy-04708866-26035444 2025-04-23 12:08:24,528 - DEBUG - VM ctest-TestBasicPolicy-04708866-26035444 ID is d4e5dd75-4112-464d-a22d-c8fcba264d27 2025-04-23 12:08:24,546 - DEBUG - VM ctest-TestBasicPolicy-04708866-26035444 launched on Node cn-jenkins-deploy-platform-ansible-os-3183-1 2025-04-23 12:08:24,619 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/d4e5dd75-4112-464d-a22d-c8fcba264d27 2025-04-23 12:08:24,628 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/67263bd6-a951-437e-a5ff-49771052c764 2025-04-23 12:08:27,896 - 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 1027ms') 2025-04-23 12:08:27,896 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04708866-26035444 failed! 2025-04-23 12:08:27,951 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04708866:ctest-vn-17179660 is 53.254.60.193 and allocation pool is NOT set 2025-04-23 12:08:30,009 - 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=6.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.325 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.325/3.366/6.407/3.041 ms') 2025-04-23 12:08:30,009 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04708866-26035444 passed 2025-04-23 12:08:30,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 12:08:30,159 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04708866-26035444, IP 53.254.60.195, Port 22 2025-04-23 12:08:30,310 - DEBUG - VM ctest-TestBasicPolicy-04708866-26035444 is ready for SSH connections 2025-04-23 12:08:30,311 - INFO - Waiting for VM ctest-TestBasicPolicy-04708866-50043660 to be up.. 2025-04-23 12:08:30,384 - DEBUG - VM is in ACTIVE state now 2025-04-23 12:08:30,384 - INFO - VM name : ctest-TestBasicPolicy-04708866-50043660 2025-04-23 12:08:30,459 - DEBUG - VM ctest-TestBasicPolicy-04708866-50043660 ID is 4fe75e31-2540-49bf-978b-243fde7595b9 2025-04-23 12:08:30,459 - DEBUG - VM ctest-TestBasicPolicy-04708866-50043660 launched on Node cn-jenkins-deploy-platform-ansible-os-3183-1 2025-04-23 12:08:30,532 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/4fe75e31-2540-49bf-978b-243fde7595b9 2025-04-23 12:08:30,540 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/bce23789-8022-4b37-a681-2fe783c3e879 2025-04-23 12:08:31,783 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.413 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.413/1.613/2.813/1.200 ms') 2025-04-23 12:08:31,783 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04708866-50043660 passed 2025-04-23 12:08:31,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 12:08:31,935 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04708866-50043660, IP 132.6.135.3, Port 22 2025-04-23 12:08:32,091 - DEBUG - VM ctest-TestBasicPolicy-04708866-50043660 is ready for SSH connections 2025-04-23 12:08:32,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 12:08:32,091 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.6.135.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-04-23 12:08:32,091 - DEBUG - ping -s 56 -c 3 -W 1 132.6.135.3 2025-04-23 12:08:36,098 - DEBUG - PING 132.6.135.3 (132.6.135.3): 56 data bytes 64 bytes from 132.6.135.3: seq=0 ttl=63 time=3.835 ms 64 bytes from 132.6.135.3: seq=1 ttl=63 time=0.690 ms 64 bytes from 132.6.135.3: seq=2 ttl=63 time=0.853 ms --- 132.6.135.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.690/1.792/3.835 ms 2025-04-23 12:08:36,098 - INFO - Ping to IP 132.6.135.3 from VM ctest-TestBasicPolicy-04708866-26035444 passed 2025-04-23 12:08:36,283 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c8202b57-d9a2-4a03-83be-d8fbc553c9d1", "href": "http://10.0.0.57:8082/network-policy/c8202b57-d9a2-4a03-83be-d8fbc553c9d1"}} 2025-04-23 12:08:36,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 12:08:36,283 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.6.135.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-04-23 12:08:36,283 - DEBUG - ping -s 56 -c 3 -W 1 132.6.135.3 2025-04-23 12:08:39,500 - DEBUG - PING 132.6.135.3 (132.6.135.3): 56 data bytes --- 132.6.135.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-23 12:08:39,501 - WARNING - Ping to IP 132.6.135.3 from VM ctest-TestBasicPolicy-04708866-26035444 failed 2025-04-23 12:08:39,501 - INFO - Deleting VM ctest-TestBasicPolicy-04708866-50043660 2025-04-23 12:08:39,566 - INFO - Deleting VM ctest-TestBasicPolicy-04708866-26035444 2025-04-23 12:08:39,964 - INFO - Deleted policy ctest-policy-allow-all-41583997 2025-04-23 12:08:39,964 - INFO - Deleting VN ctest-vn-24006790 2025-04-23 12:08:40,009 - DEBUG - VN 42509605-15bc-4416-988d-5d5aa48acf09 still in use: Unable to complete operation on network 42509605-15bc-4416-988d-5d5aa48acf09. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a5805d88-7cc2-42af-808a-fc0fbef0299f'] 2025-04-23 12:08:40,009 - WARNING - Deleting VN ctest-vn-24006790 failed..Will retry 2025-04-23 12:08:42,120 - DEBUG - Response for deleting network () 2025-04-23 12:08:42,120 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/ee639191-6d1f-43ef-88f2-69d3d8631f89 2025-04-23 12:08:42,126 - DEBUG - Response Code: 404 2025-04-23 12:08:42,126 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-04-23 12:08:42,136 - DEBUG - Requesting: http://10.0.0.57:8082/domain/56884d59-a999-4a17-bebc-aab0921d23ae 2025-04-23 12:08:42,193 - DEBUG - Requesting: http://10.0.0.57:8082/project/11cad69e-159e-4405-abb4-0c2f18c323b9 2025-04-23 12:08:42,271 - INFO - Validated that VN ctest-vn-24006790 is not found in API Server 2025-04-23 12:08:42,283 - DEBUG - VN ctest-vn-24006790 is not present in Agent 10.0.0.57 2025-04-23 12:08:42,283 - INFO - Validated that VN ctest-vn-24006790 is not in any agent 2025-04-23 12:08:42,299 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24006790 info 2025-04-23 12:08:42,300 - INFO - Deleting VN ctest-vn-17179660 2025-04-23 12:08:42,415 - DEBUG - Response for deleting network () 2025-04-23 12:08:42,415 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/a48b3122-3b83-46de-9465-da7f7565723c 2025-04-23 12:08:42,424 - DEBUG - Response Code: 404 2025-04-23 12:08:42,425 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-04-23 12:08:42,431 - DEBUG - Requesting: http://10.0.0.57:8082/domain/56884d59-a999-4a17-bebc-aab0921d23ae 2025-04-23 12:08:42,485 - DEBUG - Requesting: http://10.0.0.57:8082/project/11cad69e-159e-4405-abb4-0c2f18c323b9 2025-04-23 12:08:42,565 - INFO - Validated that VN ctest-vn-17179660 is not found in API Server 2025-04-23 12:08:42,576 - DEBUG - VN ctest-vn-17179660 is not present in Agent 10.0.0.57 2025-04-23 12:08:42,577 - INFO - Validated that VN ctest-vn-17179660 is not in any agent 2025-04-23 12:08:42,593 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17179660 info 2025-04-23 12:08:42,848 - DEBUG - No XMPP flaps were noticed during the test
2025-04-23 12:08:42,849 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-04-23 12:08:42,849 - INFO - -------------------------------------------------------------------------------- 2025-04-23 12:08:43,546 - INFO - Deleted project: ctest-TestBasicPolicy-04708866, ID : 11cad69e-159e-4405-abb4-0c2f18c323b9