2025-09-11 02:00:59,965 - INFO - Domain Default found not creating 2025-09-11 02:01:00,103 - INFO - Project ctest-TestBasicPolicy-91981674 not found, creating it 2025-09-11 02:01:00,547 - INFO - Created Project:ctest-TestBasicPolicy-91981674, ID : c017ee8d-1947-4991-9a1f-cc62fc9a3985 2025-09-11 02:01:01,948 - INFO - ================================================================================ 2025-09-11 02:01:01,948 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-11 02:01:01,948 - 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-09-11 02:01:02,213 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-09-11 02:01:02,213 - INFO - Initial checks done. Running the testcase now 2025-09-11 02:01:02,213 - INFO - 2025-09-11 02:01:03,050 - DEBUG - Response for create_network : {'network': {'id': '2e7f9cf5-fa99-4333-b4c5-1bb3c52973e0', 'name': 'ctest-vn-83572634', 'tenant_id': 'c017ee8d194749919a1fcc62fc9a3985', 'project_id': 'c017ee8d194749919a1fcc62fc9a3985', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91981674', 'ctest-vn-83572634'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 02:01:03,250 - DEBUG - Response for create_subnet : {'subnet': {'id': '80700750-b0bf-46ae-aacc-53ae64d017c0', 'name': '', 'tenant_id': 'c017ee8d194749919a1fcc62fc9a3985', 'network_id': '2e7f9cf5-fa99-4333-b4c5-1bb3c52973e0', 'ip_version': 4, 'cidr': '165.207.76.0/26', 'allocation_pools': [{'start': '165.207.76.2', 'end': '165.207.76.62'}], 'gateway_ip': '165.207.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.207.76.2', 'tags': [], 'project_id': 'c017ee8d194749919a1fcc62fc9a3985'}} 2025-09-11 02:01:03,267 - INFO - Created VN ctest-vn-83572634 2025-09-11 02:01:03,316 - DEBUG - VN ctest-vn-83572634 UUID is 2e7f9cf5-fa99-4333-b4c5-1bb3c52973e0 2025-09-11 02:01:03,634 - DEBUG - Response for create_network : {'network': {'id': '8475c562-775e-4b01-92b8-94dae51fbbeb', 'name': 'ctest-vn-11272897', 'tenant_id': 'c017ee8d194749919a1fcc62fc9a3985', 'project_id': 'c017ee8d194749919a1fcc62fc9a3985', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91981674', 'ctest-vn-11272897'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 02:01:03,838 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c40c7ed9-ec21-4253-803e-a291850307df', 'name': '', 'tenant_id': 'c017ee8d194749919a1fcc62fc9a3985', 'network_id': '8475c562-775e-4b01-92b8-94dae51fbbeb', 'ip_version': 4, 'cidr': '111.30.21.64/26', 'allocation_pools': [{'start': '111.30.21.66', 'end': '111.30.21.126'}], 'gateway_ip': '111.30.21.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.30.21.66', 'tags': [], 'project_id': 'c017ee8d194749919a1fcc62fc9a3985'}} 2025-09-11 02:01:03,853 - INFO - Created VN ctest-vn-11272897 2025-09-11 02:01:03,903 - DEBUG - VN ctest-vn-11272897 UUID is 8475c562-775e-4b01-92b8-94dae51fbbeb 2025-09-11 02:01:04,051 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91981674:ctest-vn-83572634, 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-91981674:ctest-vn-11272897, 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-09-11 02:01:04,345 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2e7f9cf5-fa99-4333-b4c5-1bb3c52973e0', 'name': 'ctest-vn-83572634', 'tenant_id': 'c017ee8d194749919a1fcc62fc9a3985', 'project_id': 'c017ee8d194749919a1fcc62fc9a3985', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['80700750-b0bf-46ae-aacc-53ae64d017c0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91981674', 'ctest-vn-83572634'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91981674', 'ctest-policy-allow-all-57441523']], 'subnet_ipam': [{'subnet_cidr': '165.207.76.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 02:01:04,586 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8475c562-775e-4b01-92b8-94dae51fbbeb', 'name': 'ctest-vn-11272897', 'tenant_id': 'c017ee8d194749919a1fcc62fc9a3985', 'project_id': 'c017ee8d194749919a1fcc62fc9a3985', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c40c7ed9-ec21-4253-803e-a291850307df'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91981674', 'ctest-vn-11272897'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91981674', 'ctest-policy-allow-all-57441523']], 'subnet_ipam': [{'subnet_cidr': '111.30.21.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 02:01:04,732 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-11 02:01:05,024 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-11 02:01:05,050 - DEBUG - Requesting: http://10.0.0.50:8082/domain/14e38ff5-4e2a-408d-8776-b2858b281444 2025-09-11 02:01:05,060 - DEBUG - Requesting: http://10.0.0.50:8082/project/c017ee8d-1947-4991-9a1f-cc62fc9a3985 2025-09-11 02:01:05,129 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2e7f9cf5-fa99-4333-b4c5-1bb3c52973e0 2025-09-11 02:01:05,139 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2e7f9cf5-fa99-4333-b4c5-1bb3c52973e0 2025-09-11 02:01:05,149 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d687f826-7fef-47e4-a66d-e535c7cf0004 2025-09-11 02:01:05,155 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d687f826-7fef-47e4-a66d-e535c7cf0004 2025-09-11 02:01:05,162 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8584426e-9594-4493-9ac1-d39d0c922f53 2025-09-11 02:01:05,168 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 02:01:05,168 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2e7f9cf5-fa99-4333-b4c5-1bb3c52973e0 2025-09-11 02:01:05,176 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d687f826-7fef-47e4-a66d-e535c7cf0004 2025-09-11 02:01:05,189 - INFO - Verified VN network id 11 for VN 2e7f9cf5-fa99-4333-b4c5-1bb3c52973e0 2025-09-11 02:01:05,189 - INFO - Verifications in API Server for VN ctest-vn-83572634 passed 2025-09-11 02:01:05,189 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2e7f9cf5-fa99-4333-b4c5-1bb3c52973e0 2025-09-11 02:01:05,199 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d687f826-7fef-47e4-a66d-e535c7cf0004 2025-09-11 02:01:05,206 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d687f826-7fef-47e4-a66d-e535c7cf0004 2025-09-11 02:01:05,213 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8584426e-9594-4493-9ac1-d39d0c922f53 2025-09-11 02:01:05,225 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91981674:ctest-vn-83572634', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91981674', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3350569228072207155', 'uuid-lslong': '13025847956159951840'}, 'enable': 'true', 'created': '2025-09-11T02:01:03', 'last-modified': '2025-09-11T02:01:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.899532'} 2025-09-11 02:01:05,232 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 02:01:05,232 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83572634 passed 2025-09-11 02:01:05,233 - DEBUG - ====Verifying policy data for ctest-vn-83572634 in API_Server ====== 2025-09-11 02:01:05,233 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-11 02:01:05,238 - DEBUG - Requesting: http://10.0.0.50:8082/domain/14e38ff5-4e2a-408d-8776-b2858b281444 2025-09-11 02:01:05,248 - DEBUG - Requesting: http://10.0.0.50:8082/project/c017ee8d-1947-4991-9a1f-cc62fc9a3985 2025-09-11 02:01:05,315 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2e7f9cf5-fa99-4333-b4c5-1bb3c52973e0 2025-09-11 02:01:05,323 - DEBUG - ==>Verifying data for policy with id: 3d3eb213-e0e8-4463-8442-904e0147ecc2, fqn: ['default-domain', 'ctest-TestBasicPolicy-91981674', 'ctest-policy-allow-all-57441523'] 2025-09-11 02:01:05,324 - INFO - VN ctest-vn-83572634 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 02:01:05,324 - DEBUG - Verifying the vn in opserver 2025-09-11 02:01:05,324 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91981674:ctest-vn-83572634 virtual network link through opserver 10.0.0.50 2025-09-11 02:01:05,324 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-11 02:01:05,625 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-11 02:01:05,676 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91981674:ctest-vn-83572634', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91981674:ctest-vn-83572634?flat'} 2025-09-11 02:01:05,677 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91981674:ctest-vn-83572634 is found in opserver 2025-09-11 02:01:05,687 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 02:01:05,691 - DEBUG - VRF ids for VN ctest-vn-83572634: {} 2025-09-11 02:01:05,691 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-11 02:01:05,697 - DEBUG - Requesting: http://10.0.0.50:8082/domain/14e38ff5-4e2a-408d-8776-b2858b281444 2025-09-11 02:01:05,709 - DEBUG - Requesting: http://10.0.0.50:8082/project/c017ee8d-1947-4991-9a1f-cc62fc9a3985 2025-09-11 02:01:05,784 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8475c562-775e-4b01-92b8-94dae51fbbeb 2025-09-11 02:01:05,795 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8475c562-775e-4b01-92b8-94dae51fbbeb 2025-09-11 02:01:05,802 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/16fdbedd-4a87-444c-85ab-2b8729a1553e 2025-09-11 02:01:05,810 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/16fdbedd-4a87-444c-85ab-2b8729a1553e 2025-09-11 02:01:05,818 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c990aa2b-8cd1-423c-973c-f471938bba97 2025-09-11 02:01:05,825 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 02:01:05,825 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8475c562-775e-4b01-92b8-94dae51fbbeb 2025-09-11 02:01:05,833 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/16fdbedd-4a87-444c-85ab-2b8729a1553e 2025-09-11 02:01:05,845 - INFO - Verified VN network id 12 for VN 8475c562-775e-4b01-92b8-94dae51fbbeb 2025-09-11 02:01:05,845 - INFO - Verifications in API Server for VN ctest-vn-11272897 passed 2025-09-11 02:01:05,845 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8475c562-775e-4b01-92b8-94dae51fbbeb 2025-09-11 02:01:05,854 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/16fdbedd-4a87-444c-85ab-2b8729a1553e 2025-09-11 02:01:05,860 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/16fdbedd-4a87-444c-85ab-2b8729a1553e 2025-09-11 02:01:05,866 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c990aa2b-8cd1-423c-973c-f471938bba97 2025-09-11 02:01:05,877 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91981674:ctest-vn-11272897', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91981674', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9544752011981769473', 'uuid-lslong': '10572363793120082923'}, 'enable': 'true', 'created': '2025-09-11T02:01:03', 'last-modified': '2025-09-11T02:01:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.311124'} 2025-09-11 02:01:05,886 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 02:01:05,886 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11272897 passed 2025-09-11 02:01:05,886 - DEBUG - ====Verifying policy data for ctest-vn-11272897 in API_Server ====== 2025-09-11 02:01:05,887 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-11 02:01:05,893 - DEBUG - Requesting: http://10.0.0.50:8082/domain/14e38ff5-4e2a-408d-8776-b2858b281444 2025-09-11 02:01:05,902 - DEBUG - Requesting: http://10.0.0.50:8082/project/c017ee8d-1947-4991-9a1f-cc62fc9a3985 2025-09-11 02:01:05,968 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8475c562-775e-4b01-92b8-94dae51fbbeb 2025-09-11 02:01:05,976 - DEBUG - ==>Verifying data for policy with id: 3d3eb213-e0e8-4463-8442-904e0147ecc2, fqn: ['default-domain', 'ctest-TestBasicPolicy-91981674', 'ctest-policy-allow-all-57441523'] 2025-09-11 02:01:05,976 - INFO - VN ctest-vn-11272897 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 02:01:05,976 - DEBUG - Verifying the vn in opserver 2025-09-11 02:01:05,976 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91981674:ctest-vn-11272897 virtual network link through opserver 10.0.0.50 2025-09-11 02:01:05,977 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-11 02:01:05,985 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91981674:ctest-vn-11272897', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91981674:ctest-vn-11272897?flat'} 2025-09-11 02:01:05,985 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91981674:ctest-vn-11272897 is found in opserver 2025-09-11 02:01:05,993 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 02:01:05,997 - DEBUG - VRF ids for VN ctest-vn-11272897: {} 2025-09-11 02:01:06,060 - DEBUG - Services list from nova: [, , ] 2025-09-11 02:01:07,089 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4076-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4076-1) 2025-09-11 02:01:08,228 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4076-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4076-1) 2025-09-11 02:01:08,228 - INFO - Waiting for VM ctest-TestBasicPolicy-91981674-33732531 to be up.. 2025-09-11 02:01:08,308 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 02:01:13,391 - DEBUG - VM is in ACTIVE state now 2025-09-11 02:01:13,392 - INFO - VM name : ctest-TestBasicPolicy-91981674-33732531 2025-09-11 02:01:13,463 - DEBUG - VM ctest-TestBasicPolicy-91981674-33732531 ID is d6f96e56-5e6e-4120-bb19-3c6b467d11a1 2025-09-11 02:01:13,487 - DEBUG - VM ctest-TestBasicPolicy-91981674-33732531 launched on Node cn-jenkins-deploy-platform-ansible-os-4076-1 2025-09-11 02:01:13,567 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d6f96e56-5e6e-4120-bb19-3c6b467d11a1 2025-09-11 02:01:13,575 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3cfa6713-5018-4b5b-900e-1428119cf2e4 2025-09-11 02:01:16,805 - 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 1007ms') 2025-09-11 02:01:16,806 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91981674-33732531 failed! 2025-09-11 02:01:16,860 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-91981674:ctest-vn-83572634 is 165.207.76.1 and allocation pool is NOT set 2025-09-11 02:01:18,928 - 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=8.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.24 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 = 4.239/6.366/8.493/2.127 ms') 2025-09-11 02:01:18,928 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91981674-33732531 passed 2025-09-11 02:01:19,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:01:19,084 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91981674-33732531, IP 165.207.76.3, Port 22 2025-09-11 02:01:19,150 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-11 02:01:19,237 - DEBUG - VM ctest-TestBasicPolicy-91981674-33732531 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 02:01:24,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:01:24,238 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91981674-33732531, IP 165.207.76.3, Port 22 2025-09-11 02:01:24,395 - DEBUG - VM ctest-TestBasicPolicy-91981674-33732531 is ready for SSH connections 2025-09-11 02:01:24,395 - INFO - Waiting for VM ctest-TestBasicPolicy-91981674-91759245 to be up.. 2025-09-11 02:01:24,463 - DEBUG - VM is in ACTIVE state now 2025-09-11 02:01:24,463 - INFO - VM name : ctest-TestBasicPolicy-91981674-91759245 2025-09-11 02:01:24,527 - DEBUG - VM ctest-TestBasicPolicy-91981674-91759245 ID is 480a11c1-2b84-4ad4-abb5-ae843a33d48f 2025-09-11 02:01:24,527 - DEBUG - VM ctest-TestBasicPolicy-91981674-91759245 launched on Node cn-jenkins-deploy-platform-ansible-os-4076-1 2025-09-11 02:01:24,594 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/480a11c1-2b84-4ad4-abb5-ae843a33d48f 2025-09-11 02:01:24,601 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6f0ad228-41b4-49ee-a873-8b38b848830f 2025-09-11 02:01:25,830 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.476 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.476/1.881/3.286/1.405 ms') 2025-09-11 02:01:25,830 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-91981674-91759245 passed 2025-09-11 02:01:25,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:01:25,980 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91981674-91759245, IP 111.30.21.67, Port 22 2025-09-11 02:01:26,153 - DEBUG - VM ctest-TestBasicPolicy-91981674-91759245 is ready for SSH connections 2025-09-11 02:01:26,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:01:26,153 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.30.21.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-11 02:01:26,153 - DEBUG - ping -s 56 -c 3 -W 1 111.30.21.67 2025-09-11 02:01:30,183 - DEBUG - PING 111.30.21.67 (111.30.21.67): 56 data bytes 64 bytes from 111.30.21.67: seq=0 ttl=63 time=3.735 ms 64 bytes from 111.30.21.67: seq=1 ttl=63 time=0.822 ms 64 bytes from 111.30.21.67: seq=2 ttl=63 time=1.224 ms --- 111.30.21.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.822/1.927/3.735 ms 2025-09-11 02:01:30,183 - INFO - Ping to IP 111.30.21.67 from VM ctest-TestBasicPolicy-91981674-33732531 passed 2025-09-11 02:01:30,359 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3d3eb213-e0e8-4463-8442-904e0147ecc2", "href": "http://10.0.0.50:8082/network-policy/3d3eb213-e0e8-4463-8442-904e0147ecc2"}} 2025-09-11 02:01:30,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:01:30,360 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.30.21.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-11 02:01:30,360 - DEBUG - ping -s 56 -c 3 -W 1 111.30.21.67 2025-09-11 02:01:33,560 - DEBUG - PING 111.30.21.67 (111.30.21.67): 56 data bytes --- 111.30.21.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 02:01:33,560 - WARNING - Ping to IP 111.30.21.67 from VM ctest-TestBasicPolicy-91981674-33732531 failed 2025-09-11 02:01:33,560 - INFO - Deleting VM ctest-TestBasicPolicy-91981674-91759245 2025-09-11 02:01:33,633 - INFO - Deleting VM ctest-TestBasicPolicy-91981674-33732531 2025-09-11 02:01:33,977 - INFO - Deleted policy ctest-policy-allow-all-57441523 2025-09-11 02:01:33,977 - INFO - Deleting VN ctest-vn-11272897 2025-09-11 02:01:34,008 - DEBUG - VN 8475c562-775e-4b01-92b8-94dae51fbbeb still in use: Unable to complete operation on network 8475c562-775e-4b01-92b8-94dae51fbbeb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a706334a-50b1-46b5-b84a-5c84bb552bda'] 2025-09-11 02:01:34,008 - WARNING - Deleting VN ctest-vn-11272897 failed..Will retry 2025-09-11 02:01:36,132 - DEBUG - Response for deleting network () 2025-09-11 02:01:36,133 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/16fdbedd-4a87-444c-85ab-2b8729a1553e 2025-09-11 02:01:36,140 - DEBUG - Response Code: 404 2025-09-11 02:01:36,141 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-11 02:01:36,147 - DEBUG - Requesting: http://10.0.0.50:8082/domain/14e38ff5-4e2a-408d-8776-b2858b281444 2025-09-11 02:01:36,200 - DEBUG - Requesting: http://10.0.0.50:8082/project/c017ee8d-1947-4991-9a1f-cc62fc9a3985 2025-09-11 02:01:36,270 - INFO - Validated that VN ctest-vn-11272897 is not found in API Server 2025-09-11 02:01:36,279 - DEBUG - VN ctest-vn-11272897 is not present in Agent 10.0.0.50 2025-09-11 02:01:36,279 - INFO - Validated that VN ctest-vn-11272897 is not in any agent 2025-09-11 02:01:36,292 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11272897 info 2025-09-11 02:01:36,292 - INFO - Deleting VN ctest-vn-83572634 2025-09-11 02:01:36,391 - DEBUG - Response for deleting network () 2025-09-11 02:01:36,391 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d687f826-7fef-47e4-a66d-e535c7cf0004 2025-09-11 02:01:36,396 - DEBUG - Response Code: 404 2025-09-11 02:01:36,396 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-11 02:01:36,401 - DEBUG - Requesting: http://10.0.0.50:8082/domain/14e38ff5-4e2a-408d-8776-b2858b281444 2025-09-11 02:01:36,453 - DEBUG - Requesting: http://10.0.0.50:8082/project/c017ee8d-1947-4991-9a1f-cc62fc9a3985 2025-09-11 02:01:36,527 - INFO - Validated that VN ctest-vn-83572634 is not found in API Server 2025-09-11 02:01:36,536 - DEBUG - VN ctest-vn-83572634 is not present in Agent 10.0.0.50 2025-09-11 02:01:36,536 - INFO - Validated that VN ctest-vn-83572634 is not in any agent 2025-09-11 02:01:36,547 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83572634 info 2025-09-11 02:01:36,804 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 02:01:36,804 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-09-11 02:01:36,804 - INFO - -------------------------------------------------------------------------------- 2025-09-11 02:01:37,493 - INFO - Deleted project: ctest-TestBasicPolicy-91981674, ID : c017ee8d-1947-4991-9a1f-cc62fc9a3985