2026-02-04 13:21:12,835 - INFO - Domain Default found not creating 2026-02-04 13:21:13,055 - INFO - Project ctest-TestBasicPolicy-36135794 not found, creating it 2026-02-04 13:21:13,568 - INFO - Created Project:ctest-TestBasicPolicy-36135794, ID : 4d849f6d-4a58-4e06-b1cb-802a9a1ce49c 2026-02-04 13:21:15,138 - INFO - ================================================================================ 2026-02-04 13:21:15,138 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-04 13:21:15,138 - 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 2026-02-04 13:21:15,395 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-02-04 13:21:15,396 - INFO - Initial checks done. Running the testcase now 2026-02-04 13:21:15,396 - INFO - 2026-02-04 13:21:15,976 - DEBUG - Response for create_network : {'network': {'id': 'e71d910f-1ab8-4a50-9c59-baa28df78dc3', 'name': 'ctest-vn-93299224', 'tenant_id': '4d849f6d4a584e06b1cb802a9a1ce49c', 'project_id': '4d849f6d4a584e06b1cb802a9a1ce49c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36135794', 'ctest-vn-93299224'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 13:21:16,170 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f42c461d-e97b-4325-a343-6b1eeb2580d2', 'name': '', 'tenant_id': '4d849f6d4a584e06b1cb802a9a1ce49c', 'network_id': 'e71d910f-1ab8-4a50-9c59-baa28df78dc3', 'ip_version': 4, 'cidr': '211.127.232.0/26', 'allocation_pools': [{'start': '211.127.232.2', 'end': '211.127.232.62'}], 'gateway_ip': '211.127.232.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.127.232.2', 'tags': [], 'project_id': '4d849f6d4a584e06b1cb802a9a1ce49c'}} 2026-02-04 13:21:16,191 - INFO - Created VN ctest-vn-93299224 2026-02-04 13:21:16,242 - DEBUG - VN ctest-vn-93299224 UUID is e71d910f-1ab8-4a50-9c59-baa28df78dc3 2026-02-04 13:21:16,539 - DEBUG - Response for create_network : {'network': {'id': '693ca573-2fa4-4f28-882e-db3ef232f9ab', 'name': 'ctest-vn-99833940', 'tenant_id': '4d849f6d4a584e06b1cb802a9a1ce49c', 'project_id': '4d849f6d4a584e06b1cb802a9a1ce49c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36135794', 'ctest-vn-99833940'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 13:21:16,703 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9bd1036-8664-4cb4-813e-951f4a543cd5', 'name': '', 'tenant_id': '4d849f6d4a584e06b1cb802a9a1ce49c', 'network_id': '693ca573-2fa4-4f28-882e-db3ef232f9ab', 'ip_version': 4, 'cidr': '175.179.123.0/26', 'allocation_pools': [{'start': '175.179.123.2', 'end': '175.179.123.62'}], 'gateway_ip': '175.179.123.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.179.123.2', 'tags': [], 'project_id': '4d849f6d4a584e06b1cb802a9a1ce49c'}} 2026-02-04 13:21:16,724 - INFO - Created VN ctest-vn-99833940 2026-02-04 13:21:16,782 - DEBUG - VN ctest-vn-99833940 UUID is 693ca573-2fa4-4f28-882e-db3ef232f9ab 2026-02-04 13:21:16,898 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36135794:ctest-vn-93299224, 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-36135794:ctest-vn-99833940, 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] 2026-02-04 13:21:17,191 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e71d910f-1ab8-4a50-9c59-baa28df78dc3', 'name': 'ctest-vn-93299224', 'tenant_id': '4d849f6d4a584e06b1cb802a9a1ce49c', 'project_id': '4d849f6d4a584e06b1cb802a9a1ce49c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f42c461d-e97b-4325-a343-6b1eeb2580d2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36135794', 'ctest-vn-93299224'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36135794', 'ctest-policy-allow-all-53058272']], 'subnet_ipam': [{'subnet_cidr': '211.127.232.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 13:21:17,432 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '693ca573-2fa4-4f28-882e-db3ef232f9ab', 'name': 'ctest-vn-99833940', 'tenant_id': '4d849f6d4a584e06b1cb802a9a1ce49c', 'project_id': '4d849f6d4a584e06b1cb802a9a1ce49c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f9bd1036-8664-4cb4-813e-951f4a543cd5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36135794', 'ctest-vn-99833940'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36135794', 'ctest-policy-allow-all-53058272']], 'subnet_ipam': [{'subnet_cidr': '175.179.123.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 13:21:17,601 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-04 13:21:17,897 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-04 13:21:17,932 - DEBUG - Requesting: http://10.0.0.22:8082/domain/73275af9-6d96-4f52-9edb-6bedf6a296da 2026-02-04 13:21:17,945 - DEBUG - Requesting: http://10.0.0.22:8082/project/4d849f6d-4a58-4e06-b1cb-802a9a1ce49c 2026-02-04 13:21:18,019 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e71d910f-1ab8-4a50-9c59-baa28df78dc3 2026-02-04 13:21:18,031 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e71d910f-1ab8-4a50-9c59-baa28df78dc3 2026-02-04 13:21:18,041 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/79646e63-0cb1-4ffc-9608-bd220b45887d 2026-02-04 13:21:18,050 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/79646e63-0cb1-4ffc-9608-bd220b45887d 2026-02-04 13:21:18,058 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e65eb70c-b193-4713-b6bd-b229b1d5c4ba 2026-02-04 13:21:18,065 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 13:21:18,065 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e71d910f-1ab8-4a50-9c59-baa28df78dc3 2026-02-04 13:21:18,076 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/79646e63-0cb1-4ffc-9608-bd220b45887d 2026-02-04 13:21:18,093 - INFO - Verified VN network id 11 for VN e71d910f-1ab8-4a50-9c59-baa28df78dc3 2026-02-04 13:21:18,093 - INFO - Verifications in API Server for VN ctest-vn-93299224 passed 2026-02-04 13:21:18,093 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e71d910f-1ab8-4a50-9c59-baa28df78dc3 2026-02-04 13:21:18,104 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/79646e63-0cb1-4ffc-9608-bd220b45887d 2026-02-04 13:21:18,113 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/79646e63-0cb1-4ffc-9608-bd220b45887d 2026-02-04 13:21:18,121 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e65eb70c-b193-4713-b6bd-b229b1d5c4ba 2026-02-04 13:21:18,136 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36135794:ctest-vn-93299224', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36135794', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16653626491144784464', 'uuid-lslong': '11266241150173285827'}, 'enable': 'true', 'created': '2026-02-04T13:21:15', 'last-modified': '2026-02-04T13:21:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.969388'} 2026-02-04 13:21:18,143 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 13:21:18,143 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93299224 passed 2026-02-04 13:21:18,143 - DEBUG - ====Verifying policy data for ctest-vn-93299224 in API_Server ====== 2026-02-04 13:21:18,143 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-04 13:21:18,149 - DEBUG - Requesting: http://10.0.0.22:8082/domain/73275af9-6d96-4f52-9edb-6bedf6a296da 2026-02-04 13:21:18,161 - DEBUG - Requesting: http://10.0.0.22:8082/project/4d849f6d-4a58-4e06-b1cb-802a9a1ce49c 2026-02-04 13:21:18,232 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e71d910f-1ab8-4a50-9c59-baa28df78dc3 2026-02-04 13:21:18,244 - DEBUG - ==>Verifying data for policy with id: 352082be-cb16-4952-8ddd-7a7d97085c66, fqn: ['default-domain', 'ctest-TestBasicPolicy-36135794', 'ctest-policy-allow-all-53058272'] 2026-02-04 13:21:18,244 - INFO - VN ctest-vn-93299224 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 13:21:18,244 - DEBUG - Verifying the vn in opserver 2026-02-04 13:21:18,244 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36135794:ctest-vn-93299224 virtual network link through opserver 10.0.0.22 2026-02-04 13:21:18,244 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-04 13:21:18,540 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-04 13:21:18,611 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36135794:ctest-vn-93299224', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36135794:ctest-vn-93299224?flat'} 2026-02-04 13:21:18,611 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36135794:ctest-vn-93299224 is found in opserver 2026-02-04 13:21:18,623 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 13:21:18,629 - DEBUG - VRF ids for VN ctest-vn-93299224: {} 2026-02-04 13:21:18,629 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-04 13:21:18,634 - DEBUG - Requesting: http://10.0.0.22:8082/domain/73275af9-6d96-4f52-9edb-6bedf6a296da 2026-02-04 13:21:18,651 - DEBUG - Requesting: http://10.0.0.22:8082/project/4d849f6d-4a58-4e06-b1cb-802a9a1ce49c 2026-02-04 13:21:18,721 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/693ca573-2fa4-4f28-882e-db3ef232f9ab 2026-02-04 13:21:18,735 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/693ca573-2fa4-4f28-882e-db3ef232f9ab 2026-02-04 13:21:18,746 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2775f352-d541-40d9-bdb5-9363fa1d3f01 2026-02-04 13:21:18,755 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2775f352-d541-40d9-bdb5-9363fa1d3f01 2026-02-04 13:21:18,762 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a2f9deaf-a4c6-44b1-bb07-3afc6eef6413 2026-02-04 13:21:18,769 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 13:21:18,769 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/693ca573-2fa4-4f28-882e-db3ef232f9ab 2026-02-04 13:21:18,780 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2775f352-d541-40d9-bdb5-9363fa1d3f01 2026-02-04 13:21:18,795 - INFO - Verified VN network id 12 for VN 693ca573-2fa4-4f28-882e-db3ef232f9ab 2026-02-04 13:21:18,795 - INFO - Verifications in API Server for VN ctest-vn-99833940 passed 2026-02-04 13:21:18,796 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/693ca573-2fa4-4f28-882e-db3ef232f9ab 2026-02-04 13:21:18,806 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2775f352-d541-40d9-bdb5-9363fa1d3f01 2026-02-04 13:21:18,815 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2775f352-d541-40d9-bdb5-9363fa1d3f01 2026-02-04 13:21:18,823 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a2f9deaf-a4c6-44b1-bb07-3afc6eef6413 2026-02-04 13:21:18,837 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36135794:ctest-vn-99833940', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36135794', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7583117786724192040', 'uuid-lslong': '9813021701484771755'}, 'enable': 'true', 'created': '2026-02-04T13:21:16', 'last-modified': '2026-02-04T13:21:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.430746'} 2026-02-04 13:21:18,843 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 13:21:18,843 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99833940 passed 2026-02-04 13:21:18,843 - DEBUG - ====Verifying policy data for ctest-vn-99833940 in API_Server ====== 2026-02-04 13:21:18,843 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-04 13:21:18,850 - DEBUG - Requesting: http://10.0.0.22:8082/domain/73275af9-6d96-4f52-9edb-6bedf6a296da 2026-02-04 13:21:18,862 - DEBUG - Requesting: http://10.0.0.22:8082/project/4d849f6d-4a58-4e06-b1cb-802a9a1ce49c 2026-02-04 13:21:18,944 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/693ca573-2fa4-4f28-882e-db3ef232f9ab 2026-02-04 13:21:18,958 - DEBUG - ==>Verifying data for policy with id: 352082be-cb16-4952-8ddd-7a7d97085c66, fqn: ['default-domain', 'ctest-TestBasicPolicy-36135794', 'ctest-policy-allow-all-53058272'] 2026-02-04 13:21:18,958 - INFO - VN ctest-vn-99833940 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 13:21:18,958 - DEBUG - Verifying the vn in opserver 2026-02-04 13:21:18,958 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36135794:ctest-vn-99833940 virtual network link through opserver 10.0.0.22 2026-02-04 13:21:18,958 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-04 13:21:18,971 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36135794:ctest-vn-99833940', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36135794:ctest-vn-99833940?flat'} 2026-02-04 13:21:18,971 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36135794:ctest-vn-99833940 is found in opserver 2026-02-04 13:21:18,990 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 13:21:18,996 - DEBUG - VRF ids for VN ctest-vn-99833940: {} 2026-02-04 13:21:19,059 - DEBUG - Services list from nova: [, , ] 2026-02-04 13:21:20,147 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5206-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5206-1) 2026-02-04 13:21:21,374 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5206-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5206-1) 2026-02-04 13:21:21,374 - INFO - Waiting for VM ctest-TestBasicPolicy-36135794-79957406 to be up.. 2026-02-04 13:21:21,476 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-04 13:21:26,565 - DEBUG - VM is in ACTIVE state now 2026-02-04 13:21:26,565 - INFO - VM name : ctest-TestBasicPolicy-36135794-79957406 2026-02-04 13:21:26,652 - DEBUG - VM ctest-TestBasicPolicy-36135794-79957406 ID is 372e59f5-dd75-435f-9d04-8d7a4fc73e7e 2026-02-04 13:21:26,673 - DEBUG - VM ctest-TestBasicPolicy-36135794-79957406 launched on Node cn-jenkins-deploy-platform-ansible-os-5206-1 2026-02-04 13:21:26,765 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/372e59f5-dd75-435f-9d04-8d7a4fc73e7e 2026-02-04 13:21:26,774 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3f9e2de1-d93c-4783-bb63-5d909237b40c 2026-02-04 13:21:30,029 - 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 1006ms') 2026-02-04 13:21:30,029 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36135794-79957406 failed! 2026-02-04 13:21:30,086 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36135794:ctest-vn-93299224 is 211.127.232.1 and allocation pool is NOT set 2026-02-04 13:21:32,156 - 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=11.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.21 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 = 3.205/7.402/11.600/4.197 ms') 2026-02-04 13:21:32,157 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36135794-79957406 passed 2026-02-04 13:21:32,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 13:21:32,310 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36135794-79957406, IP 211.127.232.3, Port 22 2026-02-04 13:21:32,375 - 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': ''} 2026-02-04 13:21:32,461 - DEBUG - VM ctest-TestBasicPolicy-36135794-79957406 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-04 13:21:37,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 13:21:37,462 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36135794-79957406, IP 211.127.232.3, Port 22 2026-02-04 13:21:37,617 - DEBUG - VM ctest-TestBasicPolicy-36135794-79957406 is ready for SSH connections 2026-02-04 13:21:37,617 - INFO - Waiting for VM ctest-TestBasicPolicy-36135794-26058262 to be up.. 2026-02-04 13:21:37,701 - DEBUG - VM is in ACTIVE state now 2026-02-04 13:21:37,702 - INFO - VM name : ctest-TestBasicPolicy-36135794-26058262 2026-02-04 13:21:37,787 - DEBUG - VM ctest-TestBasicPolicy-36135794-26058262 ID is c3da5c3e-bea3-44b5-93b8-cfb9a91b245a 2026-02-04 13:21:37,787 - DEBUG - VM ctest-TestBasicPolicy-36135794-26058262 launched on Node cn-jenkins-deploy-platform-ansible-os-5206-1 2026-02-04 13:21:37,881 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c3da5c3e-bea3-44b5-93b8-cfb9a91b245a 2026-02-04 13:21:37,889 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/524fe0c5-0ba8-44e1-9050-6e0a4b9eada1 2026-02-04 13:21:39,133 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/1.670/2.918/1.248 ms') 2026-02-04 13:21:39,133 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36135794-26058262 passed 2026-02-04 13:21:39,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 13:21:39,282 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36135794-26058262, IP 175.179.123.3, Port 22 2026-02-04 13:21:39,447 - DEBUG - VM ctest-TestBasicPolicy-36135794-26058262 is ready for SSH connections 2026-02-04 13:21:39,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 13:21:39,447 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.179.123.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-04 13:21:39,448 - DEBUG - ping -s 56 -c 3 -W 1 175.179.123.3 2026-02-04 13:21:43,608 - DEBUG - PING 175.179.123.3 (175.179.123.3): 56 data bytes 64 bytes from 175.179.123.3: seq=0 ttl=63 time=3.539 ms 64 bytes from 175.179.123.3: seq=1 ttl=63 time=1.344 ms 64 bytes from 175.179.123.3: seq=2 ttl=63 time=0.865 ms --- 175.179.123.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/1.916/3.539 ms 2026-02-04 13:21:43,608 - INFO - Ping to IP 175.179.123.3 from VM ctest-TestBasicPolicy-36135794-79957406 passed 2026-02-04 13:21:43,794 - DEBUG - Policy Update Response {"network-policy": {"uuid": "352082be-cb16-4952-8ddd-7a7d97085c66", "href": "http://10.0.0.22:8082/network-policy/352082be-cb16-4952-8ddd-7a7d97085c66"}} 2026-02-04 13:21:43,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 13:21:43,794 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.179.123.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-04 13:21:43,794 - DEBUG - ping -s 56 -c 3 -W 1 175.179.123.3 2026-02-04 13:21:47,034 - DEBUG - PING 175.179.123.3 (175.179.123.3): 56 data bytes --- 175.179.123.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-04 13:21:47,035 - WARNING - Ping to IP 175.179.123.3 from VM ctest-TestBasicPolicy-36135794-79957406 failed 2026-02-04 13:21:47,035 - INFO - Deleting VM ctest-TestBasicPolicy-36135794-26058262 2026-02-04 13:21:47,111 - INFO - Deleting VM ctest-TestBasicPolicy-36135794-79957406 2026-02-04 13:21:47,493 - INFO - Deleted policy ctest-policy-allow-all-53058272 2026-02-04 13:21:47,493 - INFO - Deleting VN ctest-vn-99833940 2026-02-04 13:21:47,539 - DEBUG - VN 693ca573-2fa4-4f28-882e-db3ef232f9ab still in use: Unable to complete operation on network 693ca573-2fa4-4f28-882e-db3ef232f9ab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a2bf8f02-06cc-4512-8d4b-7f6f5eda4e2a'] 2026-02-04 13:21:47,539 - WARNING - Deleting VN ctest-vn-99833940 failed..Will retry 2026-02-04 13:21:49,653 - DEBUG - Response for deleting network () 2026-02-04 13:21:49,653 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2775f352-d541-40d9-bdb5-9363fa1d3f01 2026-02-04 13:21:49,659 - DEBUG - Response Code: 404 2026-02-04 13:21:49,659 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-04 13:21:49,664 - DEBUG - Requesting: http://10.0.0.22:8082/domain/73275af9-6d96-4f52-9edb-6bedf6a296da 2026-02-04 13:21:49,721 - DEBUG - Requesting: http://10.0.0.22:8082/project/4d849f6d-4a58-4e06-b1cb-802a9a1ce49c 2026-02-04 13:21:49,792 - INFO - Validated that VN ctest-vn-99833940 is not found in API Server 2026-02-04 13:21:49,804 - DEBUG - VN ctest-vn-99833940 is not present in Agent 10.0.0.22 2026-02-04 13:21:49,804 - INFO - Validated that VN ctest-vn-99833940 is not in any agent 2026-02-04 13:21:49,822 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99833940 info 2026-02-04 13:21:49,822 - INFO - Deleting VN ctest-vn-93299224 2026-02-04 13:21:49,936 - DEBUG - Response for deleting network () 2026-02-04 13:21:49,937 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/79646e63-0cb1-4ffc-9608-bd220b45887d 2026-02-04 13:21:49,942 - DEBUG - Response Code: 404 2026-02-04 13:21:49,942 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-04 13:21:49,949 - DEBUG - Requesting: http://10.0.0.22:8082/domain/73275af9-6d96-4f52-9edb-6bedf6a296da 2026-02-04 13:21:50,003 - DEBUG - Requesting: http://10.0.0.22:8082/project/4d849f6d-4a58-4e06-b1cb-802a9a1ce49c 2026-02-04 13:21:50,080 - INFO - Validated that VN ctest-vn-93299224 is not found in API Server 2026-02-04 13:21:50,092 - DEBUG - VN ctest-vn-93299224 is not present in Agent 10.0.0.22 2026-02-04 13:21:50,092 - INFO - Validated that VN ctest-vn-93299224 is not in any agent 2026-02-04 13:21:50,108 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93299224 info 2026-02-04 13:21:50,368 - DEBUG - No XMPP flaps were noticed during the test 2026-02-04 13:21:50,368 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-02-04 13:21:50,368 - INFO - -------------------------------------------------------------------------------- 2026-02-04 13:21:51,092 - INFO - Deleted project: ctest-TestBasicPolicy-36135794, ID : 4d849f6d-4a58-4e06-b1cb-802a9a1ce49c