2025-01-06 02:14:08,180 - INFO - Domain Default found not creating 2025-01-06 02:14:08,323 - INFO - Project ctest-TestBasicPolicy-94162460 not found, creating it 2025-01-06 02:14:08,767 - INFO - Created Project:ctest-TestBasicPolicy-94162460, ID : 4bc716b2-391e-47c0-9ad6-f6a6da820d20 2025-01-06 02:14:10,297 - INFO - ================================================================================ 2025-01-06 02:14:10,297 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-06 02:14:10,297 - 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-06 02:14:10,552 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.10': '0'}} with 2025-01-06 02:14:10,552 - INFO - Initial checks done. Running the testcase now 2025-01-06 02:14:10,552 - INFO - 2025-01-06 02:14:11,079 - DEBUG - Response for create_network : {'network': {'id': '31c46a42-0a52-44bc-936a-ba97c1ee2736', 'name': 'ctest-vn-47410231', 'tenant_id': '4bc716b2391e47c09ad6f6a6da820d20', 'project_id': '4bc716b2391e47c09ad6f6a6da820d20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94162460', 'ctest-vn-47410231'], 'port_security_enabled': True, 'description': ''}} 2025-01-06 02:14:11,257 - DEBUG - Response for create_subnet : {'subnet': {'id': 'feb3a971-25a4-4665-b2c9-0bf750ecba61', 'name': '', 'tenant_id': '4bc716b2391e47c09ad6f6a6da820d20', 'network_id': '31c46a42-0a52-44bc-936a-ba97c1ee2736', 'ip_version': 4, 'cidr': '167.54.205.64/26', 'allocation_pools': [{'start': '167.54.205.66', 'end': '167.54.205.126'}], 'gateway_ip': '167.54.205.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.54.205.66', 'tags': [], 'project_id': '4bc716b2391e47c09ad6f6a6da820d20'}} 2025-01-06 02:14:11,274 - INFO - Created VN ctest-vn-47410231 2025-01-06 02:14:11,326 - DEBUG - VN ctest-vn-47410231 UUID is 31c46a42-0a52-44bc-936a-ba97c1ee2736 2025-01-06 02:14:11,638 - DEBUG - Response for create_network : {'network': {'id': '242b3104-0221-4ea9-88bc-7832a6368c6d', 'name': 'ctest-vn-37899198', 'tenant_id': '4bc716b2391e47c09ad6f6a6da820d20', 'project_id': '4bc716b2391e47c09ad6f6a6da820d20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94162460', 'ctest-vn-37899198'], 'port_security_enabled': True, 'description': ''}} 2025-01-06 02:14:11,796 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d2cbbec-2c38-4dd6-aca3-9c6c1f5c3831', 'name': '', 'tenant_id': '4bc716b2391e47c09ad6f6a6da820d20', 'network_id': '242b3104-0221-4ea9-88bc-7832a6368c6d', 'ip_version': 4, 'cidr': '200.50.81.192/26', 'allocation_pools': [{'start': '200.50.81.194', 'end': '200.50.81.254'}], 'gateway_ip': '200.50.81.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.50.81.194', 'tags': [], 'project_id': '4bc716b2391e47c09ad6f6a6da820d20'}} 2025-01-06 02:14:11,933 - INFO - Created VN ctest-vn-37899198 2025-01-06 02:14:11,982 - DEBUG - VN ctest-vn-37899198 UUID is 242b3104-0221-4ea9-88bc-7832a6368c6d 2025-01-06 02:14:12,134 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94162460:ctest-vn-47410231, 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-94162460:ctest-vn-37899198, 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-06 02:14:12,413 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '31c46a42-0a52-44bc-936a-ba97c1ee2736', 'name': 'ctest-vn-47410231', 'tenant_id': '4bc716b2391e47c09ad6f6a6da820d20', 'project_id': '4bc716b2391e47c09ad6f6a6da820d20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['feb3a971-25a4-4665-b2c9-0bf750ecba61'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94162460', 'ctest-vn-47410231'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94162460', 'ctest-policy-allow-all-34910065']], 'subnet_ipam': [{'subnet_cidr': '167.54.205.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-06 02:14:12,636 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '242b3104-0221-4ea9-88bc-7832a6368c6d', 'name': 'ctest-vn-37899198', 'tenant_id': '4bc716b2391e47c09ad6f6a6da820d20', 'project_id': '4bc716b2391e47c09ad6f6a6da820d20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4d2cbbec-2c38-4dd6-aca3-9c6c1f5c3831'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94162460', 'ctest-vn-37899198'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94162460', 'ctest-policy-allow-all-34910065']], 'subnet_ipam': [{'subnet_cidr': '200.50.81.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-06 02:14:12,795 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-06 02:14:13,088 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-06 02:14:13,116 - DEBUG - Requesting: http://10.0.0.31:8082/domain/eda99fe6-ea64-440a-b3b8-1fba5b11cf3c 2025-01-06 02:14:13,129 - DEBUG - Requesting: http://10.0.0.31:8082/project/4bc716b2-391e-47c0-9ad6-f6a6da820d20 2025-01-06 02:14:13,203 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/31c46a42-0a52-44bc-936a-ba97c1ee2736 2025-01-06 02:14:13,215 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/31c46a42-0a52-44bc-936a-ba97c1ee2736 2025-01-06 02:14:13,224 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/d471a32d-c454-4055-925c-9d7d40c82aac 2025-01-06 02:14:13,233 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/d471a32d-c454-4055-925c-9d7d40c82aac 2025-01-06 02:14:13,242 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/4e414b45-f9d6-45be-ba73-3b1d0cf474d0 2025-01-06 02:14:13,250 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-06 02:14:13,250 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/31c46a42-0a52-44bc-936a-ba97c1ee2736 2025-01-06 02:14:13,258 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/d471a32d-c454-4055-925c-9d7d40c82aac 2025-01-06 02:14:13,271 - INFO - Verified VN network id 9 for VN 31c46a42-0a52-44bc-936a-ba97c1ee2736 2025-01-06 02:14:13,271 - INFO - Verifications in API Server for VN ctest-vn-47410231 passed 2025-01-06 02:14:13,271 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/31c46a42-0a52-44bc-936a-ba97c1ee2736 2025-01-06 02:14:13,281 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/d471a32d-c454-4055-925c-9d7d40c82aac 2025-01-06 02:14:13,288 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/d471a32d-c454-4055-925c-9d7d40c82aac 2025-01-06 02:14:13,296 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/4e414b45-f9d6-45be-ba73-3b1d0cf474d0 2025-01-06 02:14:13,310 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94162460:ctest-vn-47410231', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94162460', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3586108035167306940', 'uuid-lslong': '10622507832063174454'}, 'enable': 'true', 'created': '2025-01-06T02:14:11', 'last-modified': '2025-01-06T02:14:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.917876'} 2025-01-06 02:14:13,317 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-06 02:14:13,317 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47410231 passed 2025-01-06 02:14:13,317 - DEBUG - ====Verifying policy data for ctest-vn-47410231 in API_Server ====== 2025-01-06 02:14:13,317 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-06 02:14:13,324 - DEBUG - Requesting: http://10.0.0.31:8082/domain/eda99fe6-ea64-440a-b3b8-1fba5b11cf3c 2025-01-06 02:14:13,337 - DEBUG - Requesting: http://10.0.0.31:8082/project/4bc716b2-391e-47c0-9ad6-f6a6da820d20 2025-01-06 02:14:13,408 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/31c46a42-0a52-44bc-936a-ba97c1ee2736 2025-01-06 02:14:13,416 - DEBUG - ==>Verifying data for policy with id: 4dc8de40-59f7-41b4-b173-99c2f6672a82, fqn: ['default-domain', 'ctest-TestBasicPolicy-94162460', 'ctest-policy-allow-all-34910065'] 2025-01-06 02:14:13,416 - INFO - VN ctest-vn-47410231 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-06 02:14:13,416 - DEBUG - Verifying the vn in opserver 2025-01-06 02:14:13,416 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94162460:ctest-vn-47410231 virtual network link through opserver 10.0.0.31 2025-01-06 02:14:13,416 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-06 02:14:13,727 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-06 02:14:13,783 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94162460:ctest-vn-47410231', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94162460:ctest-vn-47410231?flat'} 2025-01-06 02:14:13,783 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94162460:ctest-vn-47410231 is found in opserver 2025-01-06 02:14:13,794 - DEBUG - Do not have enough data to verify VN in agent 2025-01-06 02:14:13,799 - DEBUG - VRF ids for VN ctest-vn-47410231: {} 2025-01-06 02:14:13,799 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-06 02:14:13,805 - DEBUG - Requesting: http://10.0.0.31:8082/domain/eda99fe6-ea64-440a-b3b8-1fba5b11cf3c 2025-01-06 02:14:13,816 - DEBUG - Requesting: http://10.0.0.31:8082/project/4bc716b2-391e-47c0-9ad6-f6a6da820d20 2025-01-06 02:14:13,885 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/242b3104-0221-4ea9-88bc-7832a6368c6d 2025-01-06 02:14:13,897 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/242b3104-0221-4ea9-88bc-7832a6368c6d 2025-01-06 02:14:13,907 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/96aca521-f1c6-45df-8d93-c10f1e35abd6 2025-01-06 02:14:13,914 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/96aca521-f1c6-45df-8d93-c10f1e35abd6 2025-01-06 02:14:13,920 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/75eb618e-bca5-4b76-a0b7-3d04d601c961 2025-01-06 02:14:13,926 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-06 02:14:13,926 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/242b3104-0221-4ea9-88bc-7832a6368c6d 2025-01-06 02:14:13,933 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/96aca521-f1c6-45df-8d93-c10f1e35abd6 2025-01-06 02:14:13,943 - INFO - Verified VN network id 10 for VN 242b3104-0221-4ea9-88bc-7832a6368c6d 2025-01-06 02:14:13,943 - INFO - Verifications in API Server for VN ctest-vn-37899198 passed 2025-01-06 02:14:13,943 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/242b3104-0221-4ea9-88bc-7832a6368c6d 2025-01-06 02:14:13,952 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/96aca521-f1c6-45df-8d93-c10f1e35abd6 2025-01-06 02:14:13,958 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/96aca521-f1c6-45df-8d93-c10f1e35abd6 2025-01-06 02:14:13,964 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/75eb618e-bca5-4b76-a0b7-3d04d601c961 2025-01-06 02:14:13,977 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94162460:ctest-vn-37899198', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94162460', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2606230702649331369', 'uuid-lslong': '9852882243712093293'}, 'enable': 'true', 'created': '2025-01-06T02:14:11', 'last-modified': '2025-01-06T02:14:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.358764'} 2025-01-06 02:14:13,983 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-06 02:14:13,983 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37899198 passed 2025-01-06 02:14:13,983 - DEBUG - ====Verifying policy data for ctest-vn-37899198 in API_Server ====== 2025-01-06 02:14:13,983 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-06 02:14:13,989 - DEBUG - Requesting: http://10.0.0.31:8082/domain/eda99fe6-ea64-440a-b3b8-1fba5b11cf3c 2025-01-06 02:14:14,003 - DEBUG - Requesting: http://10.0.0.31:8082/project/4bc716b2-391e-47c0-9ad6-f6a6da820d20 2025-01-06 02:14:14,073 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/242b3104-0221-4ea9-88bc-7832a6368c6d 2025-01-06 02:14:14,081 - DEBUG - ==>Verifying data for policy with id: 4dc8de40-59f7-41b4-b173-99c2f6672a82, fqn: ['default-domain', 'ctest-TestBasicPolicy-94162460', 'ctest-policy-allow-all-34910065'] 2025-01-06 02:14:14,081 - INFO - VN ctest-vn-37899198 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-06 02:14:14,081 - DEBUG - Verifying the vn in opserver 2025-01-06 02:14:14,081 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94162460:ctest-vn-37899198 virtual network link through opserver 10.0.0.31 2025-01-06 02:14:14,081 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-06 02:14:14,091 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94162460:ctest-vn-37899198', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94162460:ctest-vn-37899198?flat'} 2025-01-06 02:14:14,091 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94162460:ctest-vn-37899198 is found in opserver 2025-01-06 02:14:14,101 - DEBUG - Do not have enough data to verify VN in agent 2025-01-06 02:14:14,106 - DEBUG - VRF ids for VN ctest-vn-37899198: {} 2025-01-06 02:14:14,167 - DEBUG - Services list from nova: [, , ] 2025-01-06 02:14:15,146 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2536-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2536-1) 2025-01-06 02:14:16,500 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2536-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2536-1) 2025-01-06 02:14:16,500 - INFO - Waiting for VM ctest-TestBasicPolicy-94162460-02857692 to be up.. 2025-01-06 02:14:16,616 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-06 02:14:21,693 - DEBUG - VM is in ACTIVE state now 2025-01-06 02:14:21,693 - INFO - VM name : ctest-TestBasicPolicy-94162460-02857692 2025-01-06 02:14:21,763 - DEBUG - VM ctest-TestBasicPolicy-94162460-02857692 ID is 8d59bccf-1f8d-44a0-adcd-b37c6fb85d84 2025-01-06 02:14:21,781 - DEBUG - VM ctest-TestBasicPolicy-94162460-02857692 launched on Node cn-jenkins-deploy-platform-ansible-os-2536-1 2025-01-06 02:14:21,853 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/8d59bccf-1f8d-44a0-adcd-b37c6fb85d84 2025-01-06 02:14:21,862 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/f92f2f5e-e4b7-44e8-bd77-be7b143aebfa 2025-01-06 02:14:25,122 - 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-01-06 02:14:25,123 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94162460-02857692 failed! 2025-01-06 02:14:25,179 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94162460:ctest-vn-47410231 is 167.54.205.65 and allocation pool is NOT set 2025-01-06 02:14:27,239 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.04 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 = 1.039/2.963/4.888/1.924 ms') 2025-01-06 02:14:27,239 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94162460-02857692 passed 2025-01-06 02:14:27,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 02:14:27,387 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94162460-02857692, IP 167.54.205.67, Port 22 2025-01-06 02:14:27,542 - DEBUG - VM ctest-TestBasicPolicy-94162460-02857692 is ready for SSH connections 2025-01-06 02:14:27,542 - INFO - Waiting for VM ctest-TestBasicPolicy-94162460-46236230 to be up.. 2025-01-06 02:14:27,613 - DEBUG - VM is in ACTIVE state now 2025-01-06 02:14:27,613 - INFO - VM name : ctest-TestBasicPolicy-94162460-46236230 2025-01-06 02:14:27,679 - DEBUG - VM ctest-TestBasicPolicy-94162460-46236230 ID is b7c94e42-24f5-4547-a5df-c21f2d3ef9ab 2025-01-06 02:14:27,679 - DEBUG - VM ctest-TestBasicPolicy-94162460-46236230 launched on Node cn-jenkins-deploy-platform-ansible-os-2536-1 2025-01-06 02:14:27,745 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/b7c94e42-24f5-4547-a5df-c21f2d3ef9ab 2025-01-06 02:14:27,753 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/aa65b2b5-9f64-47e2-b581-186e346f63da 2025-01-06 02:14:28,982 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.395 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.395/1.632/2.869/1.237 ms') 2025-01-06 02:14:28,982 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94162460-46236230 passed 2025-01-06 02:14:29,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 02:14:29,131 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94162460-46236230, IP 200.50.81.195, Port 22 2025-01-06 02:14:29,286 - DEBUG - VM ctest-TestBasicPolicy-94162460-46236230 is ready for SSH connections 2025-01-06 02:14:29,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 02:14:29,286 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.50.81.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-06 02:14:29,286 - DEBUG - ping -s 56 -c 3 -W 1 200.50.81.195 2025-01-06 02:14:32,943 - DEBUG - PING 200.50.81.195 (200.50.81.195): 56 data bytes 64 bytes from 200.50.81.195: seq=0 ttl=63 time=3.446 ms 64 bytes from 200.50.81.195: seq=1 ttl=63 time=0.748 ms 64 bytes from 200.50.81.195: seq=2 ttl=63 time=0.853 ms --- 200.50.81.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.748/1.682/3.446 ms 2025-01-06 02:14:32,943 - INFO - Ping to IP 200.50.81.195 from VM ctest-TestBasicPolicy-94162460-02857692 passed 2025-01-06 02:14:33,134 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4dc8de40-59f7-41b4-b173-99c2f6672a82", "href": "http://10.0.0.31:8082/network-policy/4dc8de40-59f7-41b4-b173-99c2f6672a82"}} 2025-01-06 02:14:33,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 02:14:33,135 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.50.81.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-06 02:14:33,135 - DEBUG - ping -s 56 -c 3 -W 1 200.50.81.195 2025-01-06 02:14:36,345 - DEBUG - PING 200.50.81.195 (200.50.81.195): 56 data bytes --- 200.50.81.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-06 02:14:36,346 - WARNING - Ping to IP 200.50.81.195 from VM ctest-TestBasicPolicy-94162460-02857692 failed 2025-01-06 02:14:36,346 - INFO - Deleting VM ctest-TestBasicPolicy-94162460-46236230 2025-01-06 02:14:36,427 - INFO - Deleting VM ctest-TestBasicPolicy-94162460-02857692 2025-01-06 02:14:36,832 - INFO - Deleted policy ctest-policy-allow-all-34910065 2025-01-06 02:14:36,832 - INFO - Deleting VN ctest-vn-37899198 2025-01-06 02:14:36,875 - DEBUG - VN 242b3104-0221-4ea9-88bc-7832a6368c6d still in use: Unable to complete operation on network 242b3104-0221-4ea9-88bc-7832a6368c6d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8584a4d2-6fbf-4227-9cf6-b7ea71de155e'] 2025-01-06 02:14:36,875 - WARNING - Deleting VN ctest-vn-37899198 failed..Will retry 2025-01-06 02:14:38,977 - DEBUG - Response for deleting network () 2025-01-06 02:14:38,978 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/96aca521-f1c6-45df-8d93-c10f1e35abd6 2025-01-06 02:14:38,983 - DEBUG - Response Code: 404 2025-01-06 02:14:38,983 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-06 02:14:38,988 - DEBUG - Requesting: http://10.0.0.31:8082/domain/eda99fe6-ea64-440a-b3b8-1fba5b11cf3c 2025-01-06 02:14:39,040 - DEBUG - Requesting: http://10.0.0.31:8082/project/4bc716b2-391e-47c0-9ad6-f6a6da820d20 2025-01-06 02:14:39,109 - INFO - Validated that VN ctest-vn-37899198 is not found in API Server 2025-01-06 02:14:39,119 - DEBUG - VN ctest-vn-37899198 is not present in Agent 10.0.0.31 2025-01-06 02:14:39,119 - INFO - Validated that VN ctest-vn-37899198 is not in any agent 2025-01-06 02:14:39,134 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37899198 info 2025-01-06 02:14:39,134 - INFO - Deleting VN ctest-vn-47410231 2025-01-06 02:14:39,227 - DEBUG - Response for deleting network () 2025-01-06 02:14:39,228 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/d471a32d-c454-4055-925c-9d7d40c82aac 2025-01-06 02:14:39,233 - DEBUG - Response Code: 404 2025-01-06 02:14:39,233 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-06 02:14:39,241 - DEBUG - Requesting: http://10.0.0.31:8082/domain/eda99fe6-ea64-440a-b3b8-1fba5b11cf3c 2025-01-06 02:14:39,295 - DEBUG - Requesting: http://10.0.0.31:8082/project/4bc716b2-391e-47c0-9ad6-f6a6da820d20 2025-01-06 02:14:39,358 - INFO - Validated that VN ctest-vn-47410231 is not found in API Server 2025-01-06 02:14:39,368 - DEBUG - VN ctest-vn-47410231 is not present in Agent 10.0.0.31 2025-01-06 02:14:39,368 - INFO - Validated that VN ctest-vn-47410231 is not in any agent 2025-01-06 02:14:39,383 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47410231 info 2025-01-06 02:14:39,636 - DEBUG - No XMPP flaps were noticed during the test
2025-01-06 02:14:39,636 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-01-06 02:14:39,636 - INFO - -------------------------------------------------------------------------------- 2025-01-06 02:14:40,292 - INFO - Deleted project: ctest-TestBasicPolicy-94162460, ID : 4bc716b2-391e-47c0-9ad6-f6a6da820d20