2025-10-11 21:41:38,012 - INFO - Domain Default found not creating 2025-10-11 21:41:38,133 - INFO - Project ctest-TestBasicPolicy-83323680 not found, creating it 2025-10-11 21:41:38,536 - INFO - Created Project:ctest-TestBasicPolicy-83323680, ID : a2071e3b-ea8e-48a4-b40d-a2d4f04aa18a 2025-10-11 21:41:39,845 - INFO - ================================================================================ 2025-10-11 21:41:39,845 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-11 21:41:39,845 - 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-10-11 21:41:40,103 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-11 21:41:40,103 - INFO - Initial checks done. Running the testcase now 2025-10-11 21:41:40,103 - INFO - 2025-10-11 21:41:40,634 - DEBUG - Response for create_network : {'network': {'id': '5818acce-50b2-4285-81ab-0e1625b9c79d', 'name': 'ctest-vn-77212011', 'tenant_id': 'a2071e3bea8e48a4b40da2d4f04aa18a', 'project_id': 'a2071e3bea8e48a4b40da2d4f04aa18a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83323680', 'ctest-vn-77212011'], 'port_security_enabled': True, 'description': ''}} 2025-10-11 21:41:40,837 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb7a050a-8b7a-4a30-9c7d-34b22af46bef', 'name': '', 'tenant_id': 'a2071e3bea8e48a4b40da2d4f04aa18a', 'network_id': '5818acce-50b2-4285-81ab-0e1625b9c79d', 'ip_version': 4, 'cidr': '119.137.30.128/26', 'allocation_pools': [{'start': '119.137.30.130', 'end': '119.137.30.190'}], 'gateway_ip': '119.137.30.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.137.30.130', 'tags': [], 'project_id': 'a2071e3bea8e48a4b40da2d4f04aa18a'}} 2025-10-11 21:41:40,852 - INFO - Created VN ctest-vn-77212011 2025-10-11 21:41:40,903 - DEBUG - VN ctest-vn-77212011 UUID is 5818acce-50b2-4285-81ab-0e1625b9c79d 2025-10-11 21:41:41,190 - DEBUG - Response for create_network : {'network': {'id': '1dbbd4dc-8368-4096-9450-bf80845f876c', 'name': 'ctest-vn-80931202', 'tenant_id': 'a2071e3bea8e48a4b40da2d4f04aa18a', 'project_id': 'a2071e3bea8e48a4b40da2d4f04aa18a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83323680', 'ctest-vn-80931202'], 'port_security_enabled': True, 'description': ''}} 2025-10-11 21:41:41,445 - DEBUG - Response for create_subnet : {'subnet': {'id': '0027029c-bb44-4da5-8177-d356a2efb35b', 'name': '', 'tenant_id': 'a2071e3bea8e48a4b40da2d4f04aa18a', 'network_id': '1dbbd4dc-8368-4096-9450-bf80845f876c', 'ip_version': 4, 'cidr': '112.164.40.0/26', 'allocation_pools': [{'start': '112.164.40.2', 'end': '112.164.40.62'}], 'gateway_ip': '112.164.40.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.164.40.2', 'tags': [], 'project_id': 'a2071e3bea8e48a4b40da2d4f04aa18a'}} 2025-10-11 21:41:41,460 - INFO - Created VN ctest-vn-80931202 2025-10-11 21:41:41,511 - DEBUG - VN ctest-vn-80931202 UUID is 1dbbd4dc-8368-4096-9450-bf80845f876c 2025-10-11 21:41:41,651 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83323680:ctest-vn-77212011, 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-83323680:ctest-vn-80931202, 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-10-11 21:41:41,949 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5818acce-50b2-4285-81ab-0e1625b9c79d', 'name': 'ctest-vn-77212011', 'tenant_id': 'a2071e3bea8e48a4b40da2d4f04aa18a', 'project_id': 'a2071e3bea8e48a4b40da2d4f04aa18a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cb7a050a-8b7a-4a30-9c7d-34b22af46bef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83323680', 'ctest-vn-77212011'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83323680', 'ctest-policy-allow-all-87464376']], 'subnet_ipam': [{'subnet_cidr': '119.137.30.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-11 21:41:42,167 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1dbbd4dc-8368-4096-9450-bf80845f876c', 'name': 'ctest-vn-80931202', 'tenant_id': 'a2071e3bea8e48a4b40da2d4f04aa18a', 'project_id': 'a2071e3bea8e48a4b40da2d4f04aa18a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0027029c-bb44-4da5-8177-d356a2efb35b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83323680', 'ctest-vn-80931202'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83323680', 'ctest-policy-allow-all-87464376']], 'subnet_ipam': [{'subnet_cidr': '112.164.40.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-11 21:41:42,323 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-11 21:41:42,612 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-11 21:41:42,634 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4a83baed-c43f-4dde-b817-e9cb23b4da22 2025-10-11 21:41:42,643 - DEBUG - Requesting: http://10.0.0.38:8082/project/a2071e3b-ea8e-48a4-b40d-a2d4f04aa18a 2025-10-11 21:41:42,710 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5818acce-50b2-4285-81ab-0e1625b9c79d 2025-10-11 21:41:42,719 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5818acce-50b2-4285-81ab-0e1625b9c79d 2025-10-11 21:41:42,726 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35efe9c2-6dbc-4cfc-81e4-2d1e942da3d1 2025-10-11 21:41:42,730 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35efe9c2-6dbc-4cfc-81e4-2d1e942da3d1 2025-10-11 21:41:42,735 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d78612fc-91ae-4336-8325-2a8bfeb8dc7e 2025-10-11 21:41:42,740 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-11 21:41:42,740 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5818acce-50b2-4285-81ab-0e1625b9c79d 2025-10-11 21:41:42,746 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35efe9c2-6dbc-4cfc-81e4-2d1e942da3d1 2025-10-11 21:41:42,756 - INFO - Verified VN network id 9 for VN 5818acce-50b2-4285-81ab-0e1625b9c79d 2025-10-11 21:41:42,757 - INFO - Verifications in API Server for VN ctest-vn-77212011 passed 2025-10-11 21:41:42,757 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5818acce-50b2-4285-81ab-0e1625b9c79d 2025-10-11 21:41:42,765 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35efe9c2-6dbc-4cfc-81e4-2d1e942da3d1 2025-10-11 21:41:42,771 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35efe9c2-6dbc-4cfc-81e4-2d1e942da3d1 2025-10-11 21:41:42,776 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d78612fc-91ae-4336-8325-2a8bfeb8dc7e 2025-10-11 21:41:42,786 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83323680:ctest-vn-77212011', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83323680', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6348013676895814277', 'uuid-lslong': '9343577340195227549'}, 'enable': 'true', 'created': '2025-10-11T21:41:40', 'last-modified': '2025-10-11T21:41:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.864382'} 2025-10-11 21:41:42,790 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-11 21:41:42,790 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77212011 passed 2025-10-11 21:41:42,791 - DEBUG - ====Verifying policy data for ctest-vn-77212011 in API_Server ====== 2025-10-11 21:41:42,791 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-11 21:41:42,794 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4a83baed-c43f-4dde-b817-e9cb23b4da22 2025-10-11 21:41:42,802 - DEBUG - Requesting: http://10.0.0.38:8082/project/a2071e3b-ea8e-48a4-b40d-a2d4f04aa18a 2025-10-11 21:41:42,866 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5818acce-50b2-4285-81ab-0e1625b9c79d 2025-10-11 21:41:42,874 - DEBUG - ==>Verifying data for policy with id: e2bdc205-9a78-4706-b114-808475669441, fqn: ['default-domain', 'ctest-TestBasicPolicy-83323680', 'ctest-policy-allow-all-87464376'] 2025-10-11 21:41:42,874 - INFO - VN ctest-vn-77212011 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-11 21:41:42,874 - DEBUG - Verifying the vn in opserver 2025-10-11 21:41:42,874 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83323680:ctest-vn-77212011 virtual network link through opserver 10.0.0.38 2025-10-11 21:41:42,874 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-11 21:41:43,161 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-11 21:41:43,205 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83323680:ctest-vn-77212011', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83323680:ctest-vn-77212011?flat'} 2025-10-11 21:41:43,205 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83323680:ctest-vn-77212011 is found in opserver 2025-10-11 21:41:43,213 - DEBUG - Do not have enough data to verify VN in agent 2025-10-11 21:41:43,216 - DEBUG - VRF ids for VN ctest-vn-77212011: {} 2025-10-11 21:41:43,216 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-11 21:41:43,220 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4a83baed-c43f-4dde-b817-e9cb23b4da22 2025-10-11 21:41:43,228 - DEBUG - Requesting: http://10.0.0.38:8082/project/a2071e3b-ea8e-48a4-b40d-a2d4f04aa18a 2025-10-11 21:41:43,296 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1dbbd4dc-8368-4096-9450-bf80845f876c 2025-10-11 21:41:43,306 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1dbbd4dc-8368-4096-9450-bf80845f876c 2025-10-11 21:41:43,313 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2b9018d5-7891-4f09-8571-686376cc7401 2025-10-11 21:41:43,318 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2b9018d5-7891-4f09-8571-686376cc7401 2025-10-11 21:41:43,323 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6ca11f9f-6ff2-48f7-a119-f28c6ae568a0 2025-10-11 21:41:43,328 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-11 21:41:43,328 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1dbbd4dc-8368-4096-9450-bf80845f876c 2025-10-11 21:41:43,334 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2b9018d5-7891-4f09-8571-686376cc7401 2025-10-11 21:41:43,344 - INFO - Verified VN network id 10 for VN 1dbbd4dc-8368-4096-9450-bf80845f876c 2025-10-11 21:41:43,344 - INFO - Verifications in API Server for VN ctest-vn-80931202 passed 2025-10-11 21:41:43,344 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1dbbd4dc-8368-4096-9450-bf80845f876c 2025-10-11 21:41:43,351 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2b9018d5-7891-4f09-8571-686376cc7401 2025-10-11 21:41:43,355 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2b9018d5-7891-4f09-8571-686376cc7401 2025-10-11 21:41:43,360 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6ca11f9f-6ff2-48f7-a119-f28c6ae568a0 2025-10-11 21:41:43,368 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83323680:ctest-vn-80931202', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83323680', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2142540091307344022', 'uuid-lslong': '10687252474447759212'}, 'enable': 'true', 'created': '2025-10-11T21:41:41', 'last-modified': '2025-10-11T21:41:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.222059'} 2025-10-11 21:41:43,373 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-11 21:41:43,373 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80931202 passed 2025-10-11 21:41:43,373 - DEBUG - ====Verifying policy data for ctest-vn-80931202 in API_Server ====== 2025-10-11 21:41:43,373 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-11 21:41:43,377 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4a83baed-c43f-4dde-b817-e9cb23b4da22 2025-10-11 21:41:43,385 - DEBUG - Requesting: http://10.0.0.38:8082/project/a2071e3b-ea8e-48a4-b40d-a2d4f04aa18a 2025-10-11 21:41:43,449 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1dbbd4dc-8368-4096-9450-bf80845f876c 2025-10-11 21:41:43,456 - DEBUG - ==>Verifying data for policy with id: e2bdc205-9a78-4706-b114-808475669441, fqn: ['default-domain', 'ctest-TestBasicPolicy-83323680', 'ctest-policy-allow-all-87464376'] 2025-10-11 21:41:43,456 - INFO - VN ctest-vn-80931202 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-11 21:41:43,456 - DEBUG - Verifying the vn in opserver 2025-10-11 21:41:43,456 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83323680:ctest-vn-80931202 virtual network link through opserver 10.0.0.38 2025-10-11 21:41:43,456 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-11 21:41:43,464 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83323680:ctest-vn-80931202', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83323680:ctest-vn-80931202?flat'} 2025-10-11 21:41:43,464 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83323680:ctest-vn-80931202 is found in opserver 2025-10-11 21:41:43,471 - DEBUG - Do not have enough data to verify VN in agent 2025-10-11 21:41:43,475 - DEBUG - VRF ids for VN ctest-vn-80931202: {} 2025-10-11 21:41:43,523 - DEBUG - Services list from nova: [, , ] 2025-10-11 21:41:44,462 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4289-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4289-1) 2025-10-11 21:41:45,488 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4289-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4289-1) 2025-10-11 21:41:45,488 - INFO - Waiting for VM ctest-TestBasicPolicy-83323680-50269645 to be up.. 2025-10-11 21:41:45,554 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-11 21:41:50,669 - DEBUG - VM is in ACTIVE state now 2025-10-11 21:41:50,669 - INFO - VM name : ctest-TestBasicPolicy-83323680-50269645 2025-10-11 21:41:50,795 - DEBUG - VM ctest-TestBasicPolicy-83323680-50269645 ID is 991884cd-af64-4b72-b628-f1482eac2975 2025-10-11 21:41:50,813 - DEBUG - VM ctest-TestBasicPolicy-83323680-50269645 launched on Node cn-jenkins-deploy-platform-ansible-os-4289-1 2025-10-11 21:41:50,872 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/991884cd-af64-4b72-b628-f1482eac2975 2025-10-11 21:41:50,878 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fa03e812-7b2a-4827-9f72-f2667d1b8380 2025-10-11 21:41:54,121 - 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 1008ms') 2025-10-11 21:41:54,121 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83323680-50269645 failed! 2025-10-11 21:41:54,171 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-83323680:ctest-vn-77212011 is 119.137.30.129 and allocation pool is NOT set 2025-10-11 21:41:56,230 - 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=2.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.551 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.551/1.716/2.882/1.165 ms') 2025-10-11 21:41:56,230 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-83323680-50269645 passed 2025-10-11 21:41:56,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:41:56,383 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83323680-50269645, IP 119.137.30.131, Port 22 2025-10-11 21:41:56,534 - DEBUG - VM ctest-TestBasicPolicy-83323680-50269645 is ready for SSH connections 2025-10-11 21:41:56,535 - INFO - Waiting for VM ctest-TestBasicPolicy-83323680-68964819 to be up.. 2025-10-11 21:41:56,596 - DEBUG - VM is in ACTIVE state now 2025-10-11 21:41:56,596 - INFO - VM name : ctest-TestBasicPolicy-83323680-68964819 2025-10-11 21:41:56,656 - DEBUG - VM ctest-TestBasicPolicy-83323680-68964819 ID is 42b80711-2d8f-4c63-b847-e9a2c109ba1a 2025-10-11 21:41:56,656 - DEBUG - VM ctest-TestBasicPolicy-83323680-68964819 launched on Node cn-jenkins-deploy-platform-ansible-os-4289-1 2025-10-11 21:41:56,715 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/42b80711-2d8f-4c63-b847-e9a2c109ba1a 2025-10-11 21:41:56,721 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7d4ba456-d6a2-4faf-830a-03e1954b846d 2025-10-11 21:41:57,945 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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.384/1.620/2.857/1.236 ms') 2025-10-11 21:41:57,945 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-83323680-68964819 passed 2025-10-11 21:41:58,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:41:58,091 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-83323680-68964819, IP 112.164.40.3, Port 22 2025-10-11 21:41:58,246 - DEBUG - VM ctest-TestBasicPolicy-83323680-68964819 is ready for SSH connections 2025-10-11 21:41:58,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:41:58,246 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.164.40.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-11 21:41:58,247 - DEBUG - ping -s 56 -c 3 -W 1 112.164.40.3 2025-10-11 21:42:01,972 - DEBUG - PING 112.164.40.3 (112.164.40.3): 56 data bytes 64 bytes from 112.164.40.3: seq=0 ttl=63 time=3.512 ms 64 bytes from 112.164.40.3: seq=1 ttl=63 time=0.735 ms 64 bytes from 112.164.40.3: seq=2 ttl=63 time=0.826 ms --- 112.164.40.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.735/1.691/3.512 ms 2025-10-11 21:42:01,972 - INFO - Ping to IP 112.164.40.3 from VM ctest-TestBasicPolicy-83323680-50269645 passed 2025-10-11 21:42:02,147 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e2bdc205-9a78-4706-b114-808475669441", "href": "http://10.0.0.38:8082/network-policy/e2bdc205-9a78-4706-b114-808475669441"}} 2025-10-11 21:42:02,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:42:02,147 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.164.40.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-11 21:42:02,147 - DEBUG - ping -s 56 -c 3 -W 1 112.164.40.3 2025-10-11 21:42:05,337 - DEBUG - PING 112.164.40.3 (112.164.40.3): 56 data bytes 64 bytes from 112.164.40.3: seq=0 ttl=63 time=1.303 ms --- 112.164.40.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.303/1.303/1.303 ms 2025-10-11 21:42:05,337 - WARNING - Ping to IP 112.164.40.3 from VM ctest-TestBasicPolicy-83323680-50269645 failed 2025-10-11 21:42:05,338 - INFO - Deleting VM ctest-TestBasicPolicy-83323680-68964819 2025-10-11 21:42:05,396 - INFO - Deleting VM ctest-TestBasicPolicy-83323680-50269645 2025-10-11 21:42:05,723 - INFO - Deleted policy ctest-policy-allow-all-87464376 2025-10-11 21:42:05,724 - INFO - Deleting VN ctest-vn-80931202 2025-10-11 21:42:05,757 - DEBUG - VN 1dbbd4dc-8368-4096-9450-bf80845f876c still in use: Unable to complete operation on network 1dbbd4dc-8368-4096-9450-bf80845f876c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b01307a3-9492-4fb9-9f0f-291a8063d9e9'] 2025-10-11 21:42:05,757 - WARNING - Deleting VN ctest-vn-80931202 failed..Will retry 2025-10-11 21:42:07,856 - DEBUG - Response for deleting network () 2025-10-11 21:42:07,856 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2b9018d5-7891-4f09-8571-686376cc7401 2025-10-11 21:42:07,862 - DEBUG - Response Code: 404 2025-10-11 21:42:07,862 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-11 21:42:07,867 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4a83baed-c43f-4dde-b817-e9cb23b4da22 2025-10-11 21:42:07,920 - DEBUG - Requesting: http://10.0.0.38:8082/project/a2071e3b-ea8e-48a4-b40d-a2d4f04aa18a 2025-10-11 21:42:07,984 - INFO - Validated that VN ctest-vn-80931202 is not found in API Server 2025-10-11 21:42:07,991 - DEBUG - VN ctest-vn-80931202 is not present in Agent 10.0.0.38 2025-10-11 21:42:07,991 - INFO - Validated that VN ctest-vn-80931202 is not in any agent 2025-10-11 21:42:08,003 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80931202 info 2025-10-11 21:42:08,003 - INFO - Deleting VN ctest-vn-77212011 2025-10-11 21:42:08,084 - DEBUG - Response for deleting network () 2025-10-11 21:42:08,084 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35efe9c2-6dbc-4cfc-81e4-2d1e942da3d1 2025-10-11 21:42:08,088 - DEBUG - Response Code: 404 2025-10-11 21:42:08,089 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-11 21:42:08,096 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4a83baed-c43f-4dde-b817-e9cb23b4da22 2025-10-11 21:42:08,147 - DEBUG - Requesting: http://10.0.0.38:8082/project/a2071e3b-ea8e-48a4-b40d-a2d4f04aa18a 2025-10-11 21:42:08,213 - INFO - Validated that VN ctest-vn-77212011 is not found in API Server 2025-10-11 21:42:08,222 - DEBUG - VN ctest-vn-77212011 is not present in Agent 10.0.0.38 2025-10-11 21:42:08,222 - INFO - Validated that VN ctest-vn-77212011 is not in any agent 2025-10-11 21:42:08,234 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77212011 info 2025-10-11 21:42:08,499 - DEBUG - No XMPP flaps were noticed during the test
2025-10-11 21:42:08,499 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-11 21:42:08,499 - INFO - -------------------------------------------------------------------------------- 2025-10-11 21:42:09,128 - INFO - Deleted project: ctest-TestBasicPolicy-83323680, ID : a2071e3b-ea8e-48a4-b40d-a2d4f04aa18a