2026-02-10 18:22:22,171 - INFO - Domain Default found not creating 2026-02-10 18:22:22,578 - INFO - Project ctest-TestBasicPolicy-11213617 not found, creating it 2026-02-10 18:22:23,232 - INFO - Created Project:ctest-TestBasicPolicy-11213617, ID : 4ccc2064-55cd-450a-96b3-aa7b31a7469e 2026-02-10 18:22:25,613 - INFO - ================================================================================ 2026-02-10 18:22:25,614 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-10 18:22:25,614 - 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-10 18:22:25,955 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2026-02-10 18:22:25,955 - INFO - Initial checks done. Running the testcase now 2026-02-10 18:22:25,955 - INFO - 2026-02-10 18:22:26,864 - DEBUG - Response for create_network : {'network': {'id': 'ea0e2712-6c13-4981-b63e-66ff142f48b9', 'name': 'ctest-vn-39652190', 'tenant_id': '4ccc206455cd450a96b3aa7b31a7469e', 'project_id': '4ccc206455cd450a96b3aa7b31a7469e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11213617', 'ctest-vn-39652190'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 18:22:27,146 - DEBUG - Response for create_subnet : {'subnet': {'id': '1292a1f1-9043-484c-b455-1e65cfbadd56', 'name': '', 'tenant_id': '4ccc206455cd450a96b3aa7b31a7469e', 'network_id': 'ea0e2712-6c13-4981-b63e-66ff142f48b9', 'ip_version': 4, 'cidr': '134.237.200.64/26', 'allocation_pools': [{'start': '134.237.200.66', 'end': '134.237.200.126'}], 'gateway_ip': '134.237.200.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.237.200.66', 'tags': [], 'project_id': '4ccc206455cd450a96b3aa7b31a7469e'}} 2026-02-10 18:22:27,177 - INFO - Created VN ctest-vn-39652190 2026-02-10 18:22:27,233 - DEBUG - VN ctest-vn-39652190 UUID is ea0e2712-6c13-4981-b63e-66ff142f48b9 2026-02-10 18:22:27,683 - DEBUG - Response for create_network : {'network': {'id': 'a0e4186f-b72d-4967-8344-691a36a69251', 'name': 'ctest-vn-82430931', 'tenant_id': '4ccc206455cd450a96b3aa7b31a7469e', 'project_id': '4ccc206455cd450a96b3aa7b31a7469e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11213617', 'ctest-vn-82430931'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 18:22:27,986 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a74836d4-7ec4-4aae-92e1-41e2a89e4514', 'name': '', 'tenant_id': '4ccc206455cd450a96b3aa7b31a7469e', 'network_id': 'a0e4186f-b72d-4967-8344-691a36a69251', 'ip_version': 4, 'cidr': '105.39.78.0/26', 'allocation_pools': [{'start': '105.39.78.2', 'end': '105.39.78.62'}], 'gateway_ip': '105.39.78.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.39.78.2', 'tags': [], 'project_id': '4ccc206455cd450a96b3aa7b31a7469e'}} 2026-02-10 18:22:28,012 - INFO - Created VN ctest-vn-82430931 2026-02-10 18:22:28,069 - DEBUG - VN ctest-vn-82430931 UUID is a0e4186f-b72d-4967-8344-691a36a69251 2026-02-10 18:22:28,254 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-39652190, 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-11213617:ctest-vn-82430931, 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-10 18:22:28,648 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ea0e2712-6c13-4981-b63e-66ff142f48b9', 'name': 'ctest-vn-39652190', 'tenant_id': '4ccc206455cd450a96b3aa7b31a7469e', 'project_id': '4ccc206455cd450a96b3aa7b31a7469e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1292a1f1-9043-484c-b455-1e65cfbadd56'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11213617', 'ctest-vn-39652190'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11213617', 'ctest-policy-allow-all-59683567']], 'subnet_ipam': [{'subnet_cidr': '134.237.200.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-10 18:22:29,003 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a0e4186f-b72d-4967-8344-691a36a69251', 'name': 'ctest-vn-82430931', 'tenant_id': '4ccc206455cd450a96b3aa7b31a7469e', 'project_id': '4ccc206455cd450a96b3aa7b31a7469e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a74836d4-7ec4-4aae-92e1-41e2a89e4514'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11213617', 'ctest-vn-82430931'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11213617', 'ctest-policy-allow-all-59683567']], 'subnet_ipam': [{'subnet_cidr': '105.39.78.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-10 18:22:29,176 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-10 18:22:29,486 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-10 18:22:29,541 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d3aa0490-5e83-4562-bbf1-3a9306597ed6 2026-02-10 18:22:29,570 - DEBUG - Requesting: http://10.0.0.242:8082/project/4ccc2064-55cd-450a-96b3-aa7b31a7469e 2026-02-10 18:22:29,693 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea0e2712-6c13-4981-b63e-66ff142f48b9 2026-02-10 18:22:29,720 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea0e2712-6c13-4981-b63e-66ff142f48b9 2026-02-10 18:22:29,742 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/614b34db-34ef-49b6-91c3-136e986b92b0 2026-02-10 18:22:29,764 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/614b34db-34ef-49b6-91c3-136e986b92b0 2026-02-10 18:22:29,785 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4201ddbb-fd82-4b87-95fa-6a4a7aac5f4d 2026-02-10 18:22:29,799 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-10 18:22:29,799 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea0e2712-6c13-4981-b63e-66ff142f48b9 2026-02-10 18:22:29,827 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/614b34db-34ef-49b6-91c3-136e986b92b0 2026-02-10 18:22:29,868 - INFO - Verified VN network id 11 for VN ea0e2712-6c13-4981-b63e-66ff142f48b9 2026-02-10 18:22:29,869 - INFO - Verifications in API Server for VN ctest-vn-39652190 passed 2026-02-10 18:22:29,869 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea0e2712-6c13-4981-b63e-66ff142f48b9 2026-02-10 18:22:29,883 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/614b34db-34ef-49b6-91c3-136e986b92b0 2026-02-10 18:22:29,891 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/614b34db-34ef-49b6-91c3-136e986b92b0 2026-02-10 18:22:29,905 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4201ddbb-fd82-4b87-95fa-6a4a7aac5f4d 2026-02-10 18:22:29,932 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-39652190', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11213617', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16865460614625184129', 'uuid-lslong': '13132046809200281785'}, 'enable': 'true', 'created': '2026-02-10T18:22:26', 'last-modified': '2026-02-10T18:22:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.315270'} 2026-02-10 18:22:29,950 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-10 18:22:29,951 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39652190 passed 2026-02-10 18:22:29,951 - DEBUG - ====Verifying policy data for ctest-vn-39652190 in API_Server ====== 2026-02-10 18:22:29,951 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-10 18:22:29,960 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d3aa0490-5e83-4562-bbf1-3a9306597ed6 2026-02-10 18:22:29,984 - DEBUG - Requesting: http://10.0.0.242:8082/project/4ccc2064-55cd-450a-96b3-aa7b31a7469e 2026-02-10 18:22:30,104 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ea0e2712-6c13-4981-b63e-66ff142f48b9 2026-02-10 18:22:30,127 - DEBUG - ==>Verifying data for policy with id: f72c279b-490e-4b29-bddf-917859bfda48, fqn: ['default-domain', 'ctest-TestBasicPolicy-11213617', 'ctest-policy-allow-all-59683567'] 2026-02-10 18:22:30,127 - INFO - VN ctest-vn-39652190 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-10 18:22:30,127 - DEBUG - Verifying the vn in opserver 2026-02-10 18:22:30,127 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-39652190 virtual network link through opserver 10.0.0.242 2026-02-10 18:22:30,128 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-10 18:22:30,479 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-10 18:22:30,588 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-39652190', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-39652190?flat'} 2026-02-10 18:22:30,588 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-39652190 is found in opserver 2026-02-10 18:22:30,609 - DEBUG - Do not have enough data to verify VN in agent 2026-02-10 18:22:30,622 - DEBUG - VRF ids for VN ctest-vn-39652190: {} 2026-02-10 18:22:30,622 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-10 18:22:30,630 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d3aa0490-5e83-4562-bbf1-3a9306597ed6 2026-02-10 18:22:30,652 - DEBUG - Requesting: http://10.0.0.242:8082/project/4ccc2064-55cd-450a-96b3-aa7b31a7469e 2026-02-10 18:22:30,771 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a0e4186f-b72d-4967-8344-691a36a69251 2026-02-10 18:22:30,798 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a0e4186f-b72d-4967-8344-691a36a69251 2026-02-10 18:22:30,823 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a8054fd5-867d-4430-9eaa-c1cbb0174878 2026-02-10 18:22:30,840 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a8054fd5-867d-4430-9eaa-c1cbb0174878 2026-02-10 18:22:30,854 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/231cd08e-e7cd-4e65-a817-dcf47519abd1 2026-02-10 18:22:30,868 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-10 18:22:30,869 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a0e4186f-b72d-4967-8344-691a36a69251 2026-02-10 18:22:30,885 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a8054fd5-867d-4430-9eaa-c1cbb0174878 2026-02-10 18:22:30,915 - INFO - Verified VN network id 12 for VN a0e4186f-b72d-4967-8344-691a36a69251 2026-02-10 18:22:30,915 - INFO - Verifications in API Server for VN ctest-vn-82430931 passed 2026-02-10 18:22:30,915 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a0e4186f-b72d-4967-8344-691a36a69251 2026-02-10 18:22:30,937 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a8054fd5-867d-4430-9eaa-c1cbb0174878 2026-02-10 18:22:30,954 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a8054fd5-867d-4430-9eaa-c1cbb0174878 2026-02-10 18:22:30,963 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/231cd08e-e7cd-4e65-a817-dcf47519abd1 2026-02-10 18:22:30,982 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-82430931', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11213617', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11593418208852134247', 'uuid-lslong': '9458800678691836497'}, 'enable': 'true', 'created': '2026-02-10T18:22:27', 'last-modified': '2026-02-10T18:22:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.042025'} 2026-02-10 18:22:30,996 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-10 18:22:30,996 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82430931 passed 2026-02-10 18:22:30,996 - DEBUG - ====Verifying policy data for ctest-vn-82430931 in API_Server ====== 2026-02-10 18:22:30,996 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-10 18:22:31,007 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d3aa0490-5e83-4562-bbf1-3a9306597ed6 2026-02-10 18:22:31,028 - DEBUG - Requesting: http://10.0.0.242:8082/project/4ccc2064-55cd-450a-96b3-aa7b31a7469e 2026-02-10 18:22:31,134 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/a0e4186f-b72d-4967-8344-691a36a69251 2026-02-10 18:22:31,155 - DEBUG - ==>Verifying data for policy with id: f72c279b-490e-4b29-bddf-917859bfda48, fqn: ['default-domain', 'ctest-TestBasicPolicy-11213617', 'ctest-policy-allow-all-59683567'] 2026-02-10 18:22:31,155 - INFO - VN ctest-vn-82430931 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-10 18:22:31,155 - DEBUG - Verifying the vn in opserver 2026-02-10 18:22:31,156 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-82430931 virtual network link through opserver 10.0.0.242 2026-02-10 18:22:31,156 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-10 18:22:31,175 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-82430931', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-82430931?flat'} 2026-02-10 18:22:31,175 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-82430931 is found in opserver 2026-02-10 18:22:31,197 - DEBUG - Do not have enough data to verify VN in agent 2026-02-10 18:22:31,209 - DEBUG - VRF ids for VN ctest-vn-82430931: {} 2026-02-10 18:22:31,348 - DEBUG - Services list from nova: [, , ] 2026-02-10 18:22:32,800 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5281-1) 2026-02-10 18:22:34,169 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5281-1) 2026-02-10 18:22:34,169 - INFO - Waiting for VM ctest-TestBasicPolicy-11213617-80481390 to be up.. 2026-02-10 18:22:34,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-10 18:22:39,392 - DEBUG - VM is in ACTIVE state now 2026-02-10 18:22:39,392 - INFO - VM name : ctest-TestBasicPolicy-11213617-80481390 2026-02-10 18:22:39,525 - DEBUG - VM ctest-TestBasicPolicy-11213617-80481390 ID is 6fae1384-b18e-4c79-858a-45e3588dd8d5 2026-02-10 18:22:39,564 - DEBUG - VM ctest-TestBasicPolicy-11213617-80481390 launched on Node cn-jenkins-deploy-platform-ansible-os-5281-1 2026-02-10 18:22:39,745 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/6fae1384-b18e-4c79-858a-45e3588dd8d5 2026-02-10 18:22:39,763 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/490e10ea-2c8d-41f1-bbf5-995add025226 2026-02-10 18:22:43,079 - 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 1009ms') 2026-02-10 18:22:43,079 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11213617-80481390 failed! 2026-02-10 18:22:43,149 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11213617:ctest-vn-39652190 is 134.237.200.65 and allocation pool is NOT set 2026-02-10 18:22:45,235 - 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=12.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.618 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.618/6.779/12.940/6.161 ms') 2026-02-10 18:22:45,236 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11213617-80481390 passed 2026-02-10 18:22:45,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 18:22:45,417 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11213617-80481390, IP 134.237.200.67, Port 22 2026-02-10 18:22:45,618 - DEBUG - VM ctest-TestBasicPolicy-11213617-80481390 is ready for SSH connections 2026-02-10 18:22:45,619 - INFO - Waiting for VM ctest-TestBasicPolicy-11213617-81463867 to be up.. 2026-02-10 18:22:45,776 - DEBUG - VM is in ACTIVE state now 2026-02-10 18:22:45,776 - INFO - VM name : ctest-TestBasicPolicy-11213617-81463867 2026-02-10 18:22:45,961 - DEBUG - VM ctest-TestBasicPolicy-11213617-81463867 ID is 0e677035-7820-4554-b179-facbee0ccf29 2026-02-10 18:22:45,961 - DEBUG - VM ctest-TestBasicPolicy-11213617-81463867 launched on Node cn-jenkins-deploy-platform-ansible-os-5281-1 2026-02-10 18:22:46,141 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/0e677035-7820-4554-b179-facbee0ccf29 2026-02-10 18:22:46,154 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/40247834-e1b5-47f1-be35-17e21e43e93c 2026-02-10 18:22:47,435 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.15 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 = 2.154/2.951/3.749/0.797 ms') 2026-02-10 18:22:47,435 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11213617-81463867 passed 2026-02-10 18:22:47,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 18:22:47,614 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11213617-81463867, IP 105.39.78.3, Port 22 2026-02-10 18:22:47,693 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-10 18:22:47,901 - DEBUG - VM ctest-TestBasicPolicy-11213617-81463867 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-10 18:22:52,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 18:22:52,902 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11213617-81463867, IP 105.39.78.3, Port 22 2026-02-10 18:22:53,097 - DEBUG - VM ctest-TestBasicPolicy-11213617-81463867 is ready for SSH connections 2026-02-10 18:22:53,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 18:22:53,097 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.39.78.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-02-10 18:22:53,097 - DEBUG - ping -s 56 -c 3 -W 1 105.39.78.3 2026-02-10 18:22:57,362 - DEBUG - PING 105.39.78.3 (105.39.78.3): 56 data bytes 64 bytes from 105.39.78.3: seq=0 ttl=63 time=3.494 ms 64 bytes from 105.39.78.3: seq=1 ttl=63 time=1.897 ms 64 bytes from 105.39.78.3: seq=2 ttl=63 time=1.579 ms --- 105.39.78.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.579/2.323/3.494 ms 2026-02-10 18:22:57,362 - INFO - Ping to IP 105.39.78.3 from VM ctest-TestBasicPolicy-11213617-80481390 passed 2026-02-10 18:22:57,613 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f72c279b-490e-4b29-bddf-917859bfda48", "href": "http://10.0.0.242:8082/network-policy/f72c279b-490e-4b29-bddf-917859bfda48"}} 2026-02-10 18:22:57,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 18:22:57,613 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.39.78.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-02-10 18:22:57,614 - DEBUG - ping -s 56 -c 3 -W 1 105.39.78.3 2026-02-10 18:23:00,943 - DEBUG - PING 105.39.78.3 (105.39.78.3): 56 data bytes 64 bytes from 105.39.78.3: seq=0 ttl=63 time=2.095 ms --- 105.39.78.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.095/2.095/2.095 ms 2026-02-10 18:23:00,943 - WARNING - Ping to IP 105.39.78.3 from VM ctest-TestBasicPolicy-11213617-80481390 failed 2026-02-10 18:23:00,943 - INFO - Deleting VM ctest-TestBasicPolicy-11213617-81463867 2026-02-10 18:23:01,114 - INFO - Deleting VM ctest-TestBasicPolicy-11213617-80481390 2026-02-10 18:23:01,849 - INFO - Deleted policy ctest-policy-allow-all-59683567 2026-02-10 18:23:01,849 - INFO - Deleting VN ctest-vn-82430931 2026-02-10 18:23:01,914 - DEBUG - VN a0e4186f-b72d-4967-8344-691a36a69251 still in use: Unable to complete operation on network a0e4186f-b72d-4967-8344-691a36a69251. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aa8b5cb6-f4ef-4a77-81bb-9312092e0b2c'] 2026-02-10 18:23:01,915 - WARNING - Deleting VN ctest-vn-82430931 failed..Will retry 2026-02-10 18:23:04,153 - DEBUG - Response for deleting network () 2026-02-10 18:23:04,153 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/a8054fd5-867d-4430-9eaa-c1cbb0174878 2026-02-10 18:23:04,160 - DEBUG - Response Code: 404 2026-02-10 18:23:04,160 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-10 18:23:04,167 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d3aa0490-5e83-4562-bbf1-3a9306597ed6 2026-02-10 18:23:04,233 - DEBUG - Requesting: http://10.0.0.242:8082/project/4ccc2064-55cd-450a-96b3-aa7b31a7469e 2026-02-10 18:23:04,315 - INFO - Validated that VN ctest-vn-82430931 is not found in API Server 2026-02-10 18:23:04,326 - DEBUG - VN ctest-vn-82430931 is not present in Agent 10.0.0.242 2026-02-10 18:23:04,326 - INFO - Validated that VN ctest-vn-82430931 is not in any agent 2026-02-10 18:23:04,339 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82430931 info 2026-02-10 18:23:04,339 - INFO - Deleting VN ctest-vn-39652190 2026-02-10 18:23:04,454 - DEBUG - Response for deleting network () 2026-02-10 18:23:04,454 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/614b34db-34ef-49b6-91c3-136e986b92b0 2026-02-10 18:23:04,460 - DEBUG - Response Code: 404 2026-02-10 18:23:04,461 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-10 18:23:04,465 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d3aa0490-5e83-4562-bbf1-3a9306597ed6 2026-02-10 18:23:04,519 - DEBUG - Requesting: http://10.0.0.242:8082/project/4ccc2064-55cd-450a-96b3-aa7b31a7469e 2026-02-10 18:23:04,621 - INFO - Validated that VN ctest-vn-39652190 is not found in API Server 2026-02-10 18:23:04,637 - DEBUG - VN ctest-vn-39652190 is not present in Agent 10.0.0.242 2026-02-10 18:23:04,637 - INFO - Validated that VN ctest-vn-39652190 is not in any agent 2026-02-10 18:23:04,660 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39652190 info 2026-02-10 18:23:04,983 - DEBUG - No XMPP flaps were noticed during the test
2026-02-10 18:23:04,983 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39]
2026-02-10 18:23:04,983 - INFO - -------------------------------------------------------------------------------- 2026-02-10 18:23:05,880 - INFO - Deleted project: ctest-TestBasicPolicy-11213617, ID : 4ccc2064-55cd-450a-96b3-aa7b31a7469e