2025-11-12 14:38:26,280 - INFO - Domain Default found not creating 2025-11-12 14:38:26,447 - INFO - Project ctest-TestBasicPolicy-39378075 not found, creating it 2025-11-12 14:38:26,917 - INFO - Created Project:ctest-TestBasicPolicy-39378075, ID : 106f5f24-ea21-463f-9cfc-f7f1b2c3cf14 2025-11-12 14:38:28,680 - INFO - ================================================================================ 2025-11-12 14:38:28,680 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-12 14:38:28,680 - 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-11-12 14:38:28,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with 2025-11-12 14:38:28,936 - INFO - Initial checks done. Running the testcase now 2025-11-12 14:38:28,936 - INFO - 2025-11-12 14:38:29,551 - DEBUG - Response for create_network : {'network': {'id': 'e6569853-331d-4960-a9e9-ad3b32170a00', 'name': 'ctest-vn-50283256', 'tenant_id': '106f5f24ea21463f9cfcf7f1b2c3cf14', 'project_id': '106f5f24ea21463f9cfcf7f1b2c3cf14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39378075', 'ctest-vn-50283256'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 14:38:29,721 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b5760a20-2215-4d85-a842-54ccff2c75dc', 'name': '', 'tenant_id': '106f5f24ea21463f9cfcf7f1b2c3cf14', 'network_id': 'e6569853-331d-4960-a9e9-ad3b32170a00', 'ip_version': 4, 'cidr': '14.69.216.64/26', 'allocation_pools': [{'start': '14.69.216.66', 'end': '14.69.216.126'}], 'gateway_ip': '14.69.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.69.216.66', 'tags': [], 'project_id': '106f5f24ea21463f9cfcf7f1b2c3cf14'}} 2025-11-12 14:38:29,741 - INFO - Created VN ctest-vn-50283256 2025-11-12 14:38:29,794 - DEBUG - VN ctest-vn-50283256 UUID is e6569853-331d-4960-a9e9-ad3b32170a00 2025-11-12 14:38:30,117 - DEBUG - Response for create_network : {'network': {'id': 'a1114900-5764-4461-881a-c4f8837f6f10', 'name': 'ctest-vn-64960281', 'tenant_id': '106f5f24ea21463f9cfcf7f1b2c3cf14', 'project_id': '106f5f24ea21463f9cfcf7f1b2c3cf14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39378075', 'ctest-vn-64960281'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 14:38:30,310 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e0f8d47-fcbd-4a6a-aa99-9b83509463fb', 'name': '', 'tenant_id': '106f5f24ea21463f9cfcf7f1b2c3cf14', 'network_id': 'a1114900-5764-4461-881a-c4f8837f6f10', 'ip_version': 4, 'cidr': '111.80.240.0/26', 'allocation_pools': [{'start': '111.80.240.2', 'end': '111.80.240.62'}], 'gateway_ip': '111.80.240.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.80.240.2', 'tags': [], 'project_id': '106f5f24ea21463f9cfcf7f1b2c3cf14'}} 2025-11-12 14:38:30,329 - INFO - Created VN ctest-vn-64960281 2025-11-12 14:38:30,382 - DEBUG - VN ctest-vn-64960281 UUID is a1114900-5764-4461-881a-c4f8837f6f10 2025-11-12 14:38:30,512 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39378075:ctest-vn-50283256, 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-39378075:ctest-vn-64960281, 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-11-12 14:38:30,818 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e6569853-331d-4960-a9e9-ad3b32170a00', 'name': 'ctest-vn-50283256', 'tenant_id': '106f5f24ea21463f9cfcf7f1b2c3cf14', 'project_id': '106f5f24ea21463f9cfcf7f1b2c3cf14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b5760a20-2215-4d85-a842-54ccff2c75dc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39378075', 'ctest-vn-50283256'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39378075', 'ctest-policy-allow-all-70063760']], 'subnet_ipam': [{'subnet_cidr': '14.69.216.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 14:38:31,076 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a1114900-5764-4461-881a-c4f8837f6f10', 'name': 'ctest-vn-64960281', 'tenant_id': '106f5f24ea21463f9cfcf7f1b2c3cf14', 'project_id': '106f5f24ea21463f9cfcf7f1b2c3cf14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3e0f8d47-fcbd-4a6a-aa99-9b83509463fb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39378075', 'ctest-vn-64960281'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39378075', 'ctest-policy-allow-all-70063760']], 'subnet_ipam': [{'subnet_cidr': '111.80.240.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 14:38:31,230 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-11-12 14:38:31,587 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-11-12 14:38:31,618 - DEBUG - Requesting: http://10.0.0.129:8082/domain/6cbe8c8f-1bbc-4b1c-bd55-796431beaf86 2025-11-12 14:38:31,631 - DEBUG - Requesting: http://10.0.0.129:8082/project/106f5f24-ea21-463f-9cfc-f7f1b2c3cf14 2025-11-12 14:38:31,708 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/e6569853-331d-4960-a9e9-ad3b32170a00 2025-11-12 14:38:31,722 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/e6569853-331d-4960-a9e9-ad3b32170a00 2025-11-12 14:38:31,739 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4828a695-f23a-47db-9827-452b2f7285fe 2025-11-12 14:38:31,749 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4828a695-f23a-47db-9827-452b2f7285fe 2025-11-12 14:38:31,759 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/ba73e5ed-1705-4bea-bfcb-7c7e3423880b 2025-11-12 14:38:31,767 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 14:38:31,767 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/e6569853-331d-4960-a9e9-ad3b32170a00 2025-11-12 14:38:31,780 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4828a695-f23a-47db-9827-452b2f7285fe 2025-11-12 14:38:31,797 - INFO - Verified VN network id 10 for VN e6569853-331d-4960-a9e9-ad3b32170a00 2025-11-12 14:38:31,797 - INFO - Verifications in API Server for VN ctest-vn-50283256 passed 2025-11-12 14:38:31,797 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/e6569853-331d-4960-a9e9-ad3b32170a00 2025-11-12 14:38:31,809 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4828a695-f23a-47db-9827-452b2f7285fe 2025-11-12 14:38:31,817 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4828a695-f23a-47db-9827-452b2f7285fe 2025-11-12 14:38:31,824 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/ba73e5ed-1705-4bea-bfcb-7c7e3423880b 2025-11-12 14:38:31,839 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39378075:ctest-vn-50283256', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39378075', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16597620959827806560', 'uuid-lslong': '12243507531738450432'}, 'enable': 'true', 'created': '2025-11-12T14:38:29', 'last-modified': '2025-11-12T14:38:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.046748'} 2025-11-12 14:38:31,849 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 14:38:31,849 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50283256 passed 2025-11-12 14:38:31,849 - DEBUG - ====Verifying policy data for ctest-vn-50283256 in API_Server ====== 2025-11-12 14:38:31,849 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-11-12 14:38:31,856 - DEBUG - Requesting: http://10.0.0.129:8082/domain/6cbe8c8f-1bbc-4b1c-bd55-796431beaf86 2025-11-12 14:38:31,872 - DEBUG - Requesting: http://10.0.0.129:8082/project/106f5f24-ea21-463f-9cfc-f7f1b2c3cf14 2025-11-12 14:38:31,952 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/e6569853-331d-4960-a9e9-ad3b32170a00 2025-11-12 14:38:31,963 - DEBUG - ==>Verifying data for policy with id: a639d010-64da-4946-8da1-2b2d7e179ace, fqn: ['default-domain', 'ctest-TestBasicPolicy-39378075', 'ctest-policy-allow-all-70063760'] 2025-11-12 14:38:31,963 - INFO - VN ctest-vn-50283256 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 14:38:31,963 - DEBUG - Verifying the vn in opserver 2025-11-12 14:38:31,963 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39378075:ctest-vn-50283256 virtual network link through opserver 10.0.0.129 2025-11-12 14:38:31,964 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-11-12 14:38:32,304 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-11-12 14:38:32,370 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39378075:ctest-vn-50283256', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39378075:ctest-vn-50283256?flat'} 2025-11-12 14:38:32,370 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39378075:ctest-vn-50283256 is found in opserver 2025-11-12 14:38:32,381 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 14:38:32,386 - DEBUG - VRF ids for VN ctest-vn-50283256: {} 2025-11-12 14:38:32,386 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-11-12 14:38:32,392 - DEBUG - Requesting: http://10.0.0.129:8082/domain/6cbe8c8f-1bbc-4b1c-bd55-796431beaf86 2025-11-12 14:38:32,406 - DEBUG - Requesting: http://10.0.0.129:8082/project/106f5f24-ea21-463f-9cfc-f7f1b2c3cf14 2025-11-12 14:38:32,482 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a1114900-5764-4461-881a-c4f8837f6f10 2025-11-12 14:38:32,498 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a1114900-5764-4461-881a-c4f8837f6f10 2025-11-12 14:38:32,510 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/24ace7ea-1730-4044-b4fc-821bfe9b91a7 2025-11-12 14:38:32,518 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/24ace7ea-1730-4044-b4fc-821bfe9b91a7 2025-11-12 14:38:32,526 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/b98c5dfc-dd39-4f75-8b63-cbe7600f21e5 2025-11-12 14:38:32,534 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 14:38:32,534 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a1114900-5764-4461-881a-c4f8837f6f10 2025-11-12 14:38:32,544 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/24ace7ea-1730-4044-b4fc-821bfe9b91a7 2025-11-12 14:38:32,560 - INFO - Verified VN network id 11 for VN a1114900-5764-4461-881a-c4f8837f6f10 2025-11-12 14:38:32,560 - INFO - Verifications in API Server for VN ctest-vn-64960281 passed 2025-11-12 14:38:32,560 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a1114900-5764-4461-881a-c4f8837f6f10 2025-11-12 14:38:32,570 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/24ace7ea-1730-4044-b4fc-821bfe9b91a7 2025-11-12 14:38:32,578 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/24ace7ea-1730-4044-b4fc-821bfe9b91a7 2025-11-12 14:38:32,587 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/b98c5dfc-dd39-4f75-8b63-cbe7600f21e5 2025-11-12 14:38:32,602 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39378075:ctest-vn-64960281', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39378075', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11606137980525495393', 'uuid-lslong': '9807367710189776656'}, 'enable': 'true', 'created': '2025-11-12T14:38:30', 'last-modified': '2025-11-12T14:38:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.554595'} 2025-11-12 14:38:32,609 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 14:38:32,609 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64960281 passed 2025-11-12 14:38:32,609 - DEBUG - ====Verifying policy data for ctest-vn-64960281 in API_Server ====== 2025-11-12 14:38:32,609 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-11-12 14:38:32,615 - DEBUG - Requesting: http://10.0.0.129:8082/domain/6cbe8c8f-1bbc-4b1c-bd55-796431beaf86 2025-11-12 14:38:32,626 - DEBUG - Requesting: http://10.0.0.129:8082/project/106f5f24-ea21-463f-9cfc-f7f1b2c3cf14 2025-11-12 14:38:32,698 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/a1114900-5764-4461-881a-c4f8837f6f10 2025-11-12 14:38:32,709 - DEBUG - ==>Verifying data for policy with id: a639d010-64da-4946-8da1-2b2d7e179ace, fqn: ['default-domain', 'ctest-TestBasicPolicy-39378075', 'ctest-policy-allow-all-70063760'] 2025-11-12 14:38:32,709 - INFO - VN ctest-vn-64960281 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 14:38:32,709 - DEBUG - Verifying the vn in opserver 2025-11-12 14:38:32,709 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39378075:ctest-vn-64960281 virtual network link through opserver 10.0.0.129 2025-11-12 14:38:32,710 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2025-11-12 14:38:32,721 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39378075:ctest-vn-64960281', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39378075:ctest-vn-64960281?flat'} 2025-11-12 14:38:32,721 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39378075:ctest-vn-64960281 is found in opserver 2025-11-12 14:38:32,732 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 14:38:32,738 - DEBUG - VRF ids for VN ctest-vn-64960281: {} 2025-11-12 14:38:32,806 - DEBUG - Services list from nova: [, , ] 2025-11-12 14:38:33,985 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4704-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4704-1) 2025-11-12 14:38:35,371 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4704-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4704-1) 2025-11-12 14:38:35,372 - INFO - Waiting for VM ctest-TestBasicPolicy-39378075-88948188 to be up.. 2025-11-12 14:38:35,471 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 14:38:40,552 - DEBUG - VM is in ACTIVE state now 2025-11-12 14:38:40,552 - INFO - VM name : ctest-TestBasicPolicy-39378075-88948188 2025-11-12 14:38:40,649 - DEBUG - VM ctest-TestBasicPolicy-39378075-88948188 ID is 87e8c7b8-04cb-4015-9e81-36907bd517e5 2025-11-12 14:38:40,672 - DEBUG - VM ctest-TestBasicPolicy-39378075-88948188 launched on Node cn-jenkins-deploy-platform-ansible-os-4704-1 2025-11-12 14:38:40,773 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/87e8c7b8-04cb-4015-9e81-36907bd517e5 2025-11-12 14:38:40,786 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/ec5fdda7-e499-41c1-990c-c23d28462c33 2025-11-12 14:38:44,062 - 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 1023ms') 2025-11-12 14:38:44,062 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39378075-88948188 failed! 2025-11-12 14:38:44,118 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39378075:ctest-vn-50283256 is 14.69.216.65 and allocation pool is NOT set 2025-11-12 14:38:46,178 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.02 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 = 3.020/3.838/4.657/0.818 ms') 2025-11-12 14:38:46,178 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39378075-88948188 passed 2025-11-12 14:38:46,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:38:46,326 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39378075-88948188, IP 14.69.216.67, Port 22 2025-11-12 14:38:46,396 - 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-11-12 14:38:46,497 - DEBUG - VM ctest-TestBasicPolicy-39378075-88948188 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-12 14:38:51,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:38:51,498 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39378075-88948188, IP 14.69.216.67, Port 22 2025-11-12 14:38:51,664 - DEBUG - VM ctest-TestBasicPolicy-39378075-88948188 is ready for SSH connections 2025-11-12 14:38:51,664 - INFO - Waiting for VM ctest-TestBasicPolicy-39378075-70504331 to be up.. 2025-11-12 14:38:51,751 - DEBUG - VM is in ACTIVE state now 2025-11-12 14:38:51,752 - INFO - VM name : ctest-TestBasicPolicy-39378075-70504331 2025-11-12 14:38:51,843 - DEBUG - VM ctest-TestBasicPolicy-39378075-70504331 ID is 3f17f1f1-97b0-4a64-81c3-3c1827f53f7f 2025-11-12 14:38:51,843 - DEBUG - VM ctest-TestBasicPolicy-39378075-70504331 launched on Node cn-jenkins-deploy-platform-ansible-os-4704-1 2025-11-12 14:38:51,929 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/3f17f1f1-97b0-4a64-81c3-3c1827f53f7f 2025-11-12 14:38:51,937 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/3f2acc73-6dbf-4774-a3e9-a8b7e20b0cd1 2025-11-12 14:38:53,184 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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.439/1.871/3.304/1.432 ms') 2025-11-12 14:38:53,184 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39378075-70504331 passed 2025-11-12 14:38:53,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:38:53,338 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39378075-70504331, IP 111.80.240.3, Port 22 2025-11-12 14:38:53,504 - DEBUG - VM ctest-TestBasicPolicy-39378075-70504331 is ready for SSH connections 2025-11-12 14:38:53,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:38:53,504 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.80.240.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-12 14:38:53,504 - DEBUG - ping -s 56 -c 3 -W 1 111.80.240.3 2025-11-12 14:38:57,690 - DEBUG - PING 111.80.240.3 (111.80.240.3): 56 data bytes 64 bytes from 111.80.240.3: seq=0 ttl=63 time=3.895 ms 64 bytes from 111.80.240.3: seq=1 ttl=63 time=1.271 ms 64 bytes from 111.80.240.3: seq=2 ttl=63 time=1.109 ms --- 111.80.240.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.109/2.091/3.895 ms 2025-11-12 14:38:57,691 - INFO - Ping to IP 111.80.240.3 from VM ctest-TestBasicPolicy-39378075-88948188 passed 2025-11-12 14:38:57,866 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a639d010-64da-4946-8da1-2b2d7e179ace", "href": "http://10.0.0.129:8082/network-policy/a639d010-64da-4946-8da1-2b2d7e179ace"}} 2025-11-12 14:38:57,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 14:38:57,866 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.80.240.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-12 14:38:57,866 - DEBUG - ping -s 56 -c 3 -W 1 111.80.240.3 2025-11-12 14:39:01,126 - DEBUG - PING 111.80.240.3 (111.80.240.3): 56 data bytes --- 111.80.240.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 14:39:01,126 - WARNING - Ping to IP 111.80.240.3 from VM ctest-TestBasicPolicy-39378075-88948188 failed 2025-11-12 14:39:01,127 - INFO - Deleting VM ctest-TestBasicPolicy-39378075-70504331 2025-11-12 14:39:01,214 - INFO - Deleting VM ctest-TestBasicPolicy-39378075-88948188 2025-11-12 14:39:01,733 - INFO - Deleted policy ctest-policy-allow-all-70063760 2025-11-12 14:39:01,733 - INFO - Deleting VN ctest-vn-64960281 2025-11-12 14:39:01,788 - DEBUG - VN a1114900-5764-4461-881a-c4f8837f6f10 still in use: Unable to complete operation on network a1114900-5764-4461-881a-c4f8837f6f10. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a589299e-c0c3-49de-a060-02de7a86a2ca'] 2025-11-12 14:39:01,789 - WARNING - Deleting VN ctest-vn-64960281 failed..Will retry 2025-11-12 14:39:03,926 - DEBUG - Response for deleting network () 2025-11-12 14:39:03,927 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/24ace7ea-1730-4044-b4fc-821bfe9b91a7 2025-11-12 14:39:03,933 - DEBUG - Response Code: 404 2025-11-12 14:39:03,933 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-11-12 14:39:03,939 - DEBUG - Requesting: http://10.0.0.129:8082/domain/6cbe8c8f-1bbc-4b1c-bd55-796431beaf86 2025-11-12 14:39:03,992 - DEBUG - Requesting: http://10.0.0.129:8082/project/106f5f24-ea21-463f-9cfc-f7f1b2c3cf14 2025-11-12 14:39:04,068 - INFO - Validated that VN ctest-vn-64960281 is not found in API Server 2025-11-12 14:39:04,081 - DEBUG - VN ctest-vn-64960281 is not present in Agent 10.0.0.129 2025-11-12 14:39:04,082 - INFO - Validated that VN ctest-vn-64960281 is not in any agent 2025-11-12 14:39:04,099 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64960281 info 2025-11-12 14:39:04,099 - INFO - Deleting VN ctest-vn-50283256 2025-11-12 14:39:04,230 - DEBUG - Response for deleting network () 2025-11-12 14:39:04,230 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4828a695-f23a-47db-9827-452b2f7285fe 2025-11-12 14:39:04,239 - DEBUG - Response Code: 404 2025-11-12 14:39:04,240 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2025-11-12 14:39:04,247 - DEBUG - Requesting: http://10.0.0.129:8082/domain/6cbe8c8f-1bbc-4b1c-bd55-796431beaf86 2025-11-12 14:39:04,305 - DEBUG - Requesting: http://10.0.0.129:8082/project/106f5f24-ea21-463f-9cfc-f7f1b2c3cf14 2025-11-12 14:39:04,385 - INFO - Validated that VN ctest-vn-50283256 is not found in API Server 2025-11-12 14:39:04,397 - DEBUG - VN ctest-vn-50283256 is not present in Agent 10.0.0.129 2025-11-12 14:39:04,397 - INFO - Validated that VN ctest-vn-50283256 is not in any agent 2025-11-12 14:39:04,413 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50283256 info 2025-11-12 14:39:04,694 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 14:39:04,694 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2025-11-12 14:39:04,694 - INFO - -------------------------------------------------------------------------------- 2025-11-12 14:39:05,552 - INFO - Deleted project: ctest-TestBasicPolicy-39378075, ID : 106f5f24-ea21-463f-9cfc-f7f1b2c3cf14