2026-03-09 02:13:25,091 - INFO - Domain Default found not creating 2026-03-09 02:13:25,272 - INFO - Project ctest-TestBasicPolicy-61202337 not found, creating it 2026-03-09 02:13:25,759 - INFO - Created Project:ctest-TestBasicPolicy-61202337, ID : f0c353b5-a5ac-4409-9836-37483b614b96 2026-03-09 02:13:27,276 - INFO - ================================================================================ 2026-03-09 02:13:27,276 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-09 02:13:27,276 - 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-03-09 02:13:27,532 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.252': '0'}} with 2026-03-09 02:13:27,532 - INFO - Initial checks done. Running the testcase now 2026-03-09 02:13:27,532 - INFO - 2026-03-09 02:13:28,080 - DEBUG - Response for create_network : {'network': {'id': 'ddf708e3-c678-45af-9f10-5cd392533d1a', 'name': 'ctest-vn-33222751', 'tenant_id': 'f0c353b5a5ac4409983637483b614b96', 'project_id': 'f0c353b5a5ac4409983637483b614b96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61202337', 'ctest-vn-33222751'], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:13:28,282 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c90ee7f3-cc20-44f3-b71b-87d15b160fd1', 'name': '', 'tenant_id': 'f0c353b5a5ac4409983637483b614b96', 'network_id': 'ddf708e3-c678-45af-9f10-5cd392533d1a', 'ip_version': 4, 'cidr': '87.99.178.192/26', 'allocation_pools': [{'start': '87.99.178.194', 'end': '87.99.178.254'}], 'gateway_ip': '87.99.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.99.178.194', 'tags': [], 'project_id': 'f0c353b5a5ac4409983637483b614b96'}} 2026-03-09 02:13:28,298 - INFO - Created VN ctest-vn-33222751 2026-03-09 02:13:28,350 - DEBUG - VN ctest-vn-33222751 UUID is ddf708e3-c678-45af-9f10-5cd392533d1a 2026-03-09 02:13:28,626 - DEBUG - Response for create_network : {'network': {'id': 'dbdd9e01-5ed3-4b26-b3c8-ecb9c7262148', 'name': 'ctest-vn-24351091', 'tenant_id': 'f0c353b5a5ac4409983637483b614b96', 'project_id': 'f0c353b5a5ac4409983637483b614b96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61202337', 'ctest-vn-24351091'], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:13:28,781 - DEBUG - Response for create_subnet : {'subnet': {'id': '08213912-e923-48d1-9199-73df5c6c9bca', 'name': '', 'tenant_id': 'f0c353b5a5ac4409983637483b614b96', 'network_id': 'dbdd9e01-5ed3-4b26-b3c8-ecb9c7262148', 'ip_version': 4, 'cidr': '198.91.1.128/26', 'allocation_pools': [{'start': '198.91.1.130', 'end': '198.91.1.190'}], 'gateway_ip': '198.91.1.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.91.1.130', 'tags': [], 'project_id': 'f0c353b5a5ac4409983637483b614b96'}} 2026-03-09 02:13:28,800 - INFO - Created VN ctest-vn-24351091 2026-03-09 02:13:28,850 - DEBUG - VN ctest-vn-24351091 UUID is dbdd9e01-5ed3-4b26-b3c8-ecb9c7262148 2026-03-09 02:13:29,002 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61202337:ctest-vn-33222751, 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-61202337:ctest-vn-24351091, 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-03-09 02:13:29,296 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ddf708e3-c678-45af-9f10-5cd392533d1a', 'name': 'ctest-vn-33222751', 'tenant_id': 'f0c353b5a5ac4409983637483b614b96', 'project_id': 'f0c353b5a5ac4409983637483b614b96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c90ee7f3-cc20-44f3-b71b-87d15b160fd1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61202337', 'ctest-vn-33222751'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61202337', 'ctest-policy-allow-all-62823826']], 'subnet_ipam': [{'subnet_cidr': '87.99.178.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:13:29,521 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dbdd9e01-5ed3-4b26-b3c8-ecb9c7262148', 'name': 'ctest-vn-24351091', 'tenant_id': 'f0c353b5a5ac4409983637483b614b96', 'project_id': 'f0c353b5a5ac4409983637483b614b96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['08213912-e923-48d1-9199-73df5c6c9bca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61202337', 'ctest-vn-24351091'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61202337', 'ctest-policy-allow-all-62823826']], 'subnet_ipam': [{'subnet_cidr': '198.91.1.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-09 02:13:29,674 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-09 02:13:29,983 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-09 02:13:30,012 - DEBUG - Requesting: http://10.0.0.141:8082/domain/da56c12e-8b84-4207-88d9-b77d9e8757cc 2026-03-09 02:13:30,025 - DEBUG - Requesting: http://10.0.0.141:8082/project/f0c353b5-a5ac-4409-9836-37483b614b96 2026-03-09 02:13:30,098 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ddf708e3-c678-45af-9f10-5cd392533d1a 2026-03-09 02:13:30,108 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ddf708e3-c678-45af-9f10-5cd392533d1a 2026-03-09 02:13:30,117 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0593ad59-6b4b-4bb6-bdcf-afe77f20c531 2026-03-09 02:13:30,124 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0593ad59-6b4b-4bb6-bdcf-afe77f20c531 2026-03-09 02:13:30,131 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9c0565e9-0e66-4537-afaa-b2169b65aef7 2026-03-09 02:13:30,136 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-09 02:13:30,136 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ddf708e3-c678-45af-9f10-5cd392533d1a 2026-03-09 02:13:30,144 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0593ad59-6b4b-4bb6-bdcf-afe77f20c531 2026-03-09 02:13:30,159 - INFO - Verified VN network id 11 for VN ddf708e3-c678-45af-9f10-5cd392533d1a 2026-03-09 02:13:30,159 - INFO - Verifications in API Server for VN ctest-vn-33222751 passed 2026-03-09 02:13:30,159 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ddf708e3-c678-45af-9f10-5cd392533d1a 2026-03-09 02:13:30,167 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0593ad59-6b4b-4bb6-bdcf-afe77f20c531 2026-03-09 02:13:30,174 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0593ad59-6b4b-4bb6-bdcf-afe77f20c531 2026-03-09 02:13:30,181 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9c0565e9-0e66-4537-afaa-b2169b65aef7 2026-03-09 02:13:30,191 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61202337:ctest-vn-33222751', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61202337', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15994262376009975215', 'uuid-lslong': '11461763115420695834'}, 'enable': 'true', 'created': '2026-03-09T02:13:28', 'last-modified': '2026-03-09T02:13:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.920936'} 2026-03-09 02:13:30,198 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-09 02:13:30,198 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33222751 passed 2026-03-09 02:13:30,198 - DEBUG - ====Verifying policy data for ctest-vn-33222751 in API_Server ====== 2026-03-09 02:13:30,198 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-09 02:13:30,203 - DEBUG - Requesting: http://10.0.0.141:8082/domain/da56c12e-8b84-4207-88d9-b77d9e8757cc 2026-03-09 02:13:30,212 - DEBUG - Requesting: http://10.0.0.141:8082/project/f0c353b5-a5ac-4409-9836-37483b614b96 2026-03-09 02:13:30,279 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/ddf708e3-c678-45af-9f10-5cd392533d1a 2026-03-09 02:13:30,288 - DEBUG - ==>Verifying data for policy with id: ab36bd17-28f0-4c17-8f47-5a9112b5e570, fqn: ['default-domain', 'ctest-TestBasicPolicy-61202337', 'ctest-policy-allow-all-62823826'] 2026-03-09 02:13:30,288 - INFO - VN ctest-vn-33222751 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-09 02:13:30,288 - DEBUG - Verifying the vn in opserver 2026-03-09 02:13:30,288 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61202337:ctest-vn-33222751 virtual network link through opserver 10.0.0.141 2026-03-09 02:13:30,288 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-09 02:13:30,587 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-09 02:13:30,652 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61202337:ctest-vn-33222751', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61202337:ctest-vn-33222751?flat'} 2026-03-09 02:13:30,653 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61202337:ctest-vn-33222751 is found in opserver 2026-03-09 02:13:30,662 - DEBUG - Do not have enough data to verify VN in agent 2026-03-09 02:13:30,667 - DEBUG - VRF ids for VN ctest-vn-33222751: {} 2026-03-09 02:13:30,667 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-09 02:13:30,674 - DEBUG - Requesting: http://10.0.0.141:8082/domain/da56c12e-8b84-4207-88d9-b77d9e8757cc 2026-03-09 02:13:30,685 - DEBUG - Requesting: http://10.0.0.141:8082/project/f0c353b5-a5ac-4409-9836-37483b614b96 2026-03-09 02:13:30,754 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/dbdd9e01-5ed3-4b26-b3c8-ecb9c7262148 2026-03-09 02:13:30,765 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/dbdd9e01-5ed3-4b26-b3c8-ecb9c7262148 2026-03-09 02:13:30,773 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/356ae3ad-d5f0-43ec-8f5e-2e266c9bb2e8 2026-03-09 02:13:30,786 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/356ae3ad-d5f0-43ec-8f5e-2e266c9bb2e8 2026-03-09 02:13:30,793 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f1a76d5e-345e-4a38-b457-8976be538407 2026-03-09 02:13:30,800 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-09 02:13:30,800 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/dbdd9e01-5ed3-4b26-b3c8-ecb9c7262148 2026-03-09 02:13:30,808 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/356ae3ad-d5f0-43ec-8f5e-2e266c9bb2e8 2026-03-09 02:13:30,825 - INFO - Verified VN network id 12 for VN dbdd9e01-5ed3-4b26-b3c8-ecb9c7262148 2026-03-09 02:13:30,825 - INFO - Verifications in API Server for VN ctest-vn-24351091 passed 2026-03-09 02:13:30,825 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/dbdd9e01-5ed3-4b26-b3c8-ecb9c7262148 2026-03-09 02:13:30,833 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/356ae3ad-d5f0-43ec-8f5e-2e266c9bb2e8 2026-03-09 02:13:30,840 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/356ae3ad-d5f0-43ec-8f5e-2e266c9bb2e8 2026-03-09 02:13:30,846 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/f1a76d5e-345e-4a38-b457-8976be538407 2026-03-09 02:13:30,860 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61202337:ctest-vn-24351091', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61202337', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15842992792882334502', 'uuid-lslong': '12954864610785501512'}, 'enable': 'true', 'created': '2026-03-09T02:13:28', 'last-modified': '2026-03-09T02:13:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.358762'} 2026-03-09 02:13:30,866 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-09 02:13:30,866 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24351091 passed 2026-03-09 02:13:30,866 - DEBUG - ====Verifying policy data for ctest-vn-24351091 in API_Server ====== 2026-03-09 02:13:30,866 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-09 02:13:30,872 - DEBUG - Requesting: http://10.0.0.141:8082/domain/da56c12e-8b84-4207-88d9-b77d9e8757cc 2026-03-09 02:13:30,882 - DEBUG - Requesting: http://10.0.0.141:8082/project/f0c353b5-a5ac-4409-9836-37483b614b96 2026-03-09 02:13:30,954 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/dbdd9e01-5ed3-4b26-b3c8-ecb9c7262148 2026-03-09 02:13:30,962 - DEBUG - ==>Verifying data for policy with id: ab36bd17-28f0-4c17-8f47-5a9112b5e570, fqn: ['default-domain', 'ctest-TestBasicPolicy-61202337', 'ctest-policy-allow-all-62823826'] 2026-03-09 02:13:30,962 - INFO - VN ctest-vn-24351091 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-09 02:13:30,962 - DEBUG - Verifying the vn in opserver 2026-03-09 02:13:30,962 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61202337:ctest-vn-24351091 virtual network link through opserver 10.0.0.141 2026-03-09 02:13:30,962 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-09 02:13:30,970 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61202337:ctest-vn-24351091', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61202337:ctest-vn-24351091?flat'} 2026-03-09 02:13:30,971 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61202337:ctest-vn-24351091 is found in opserver 2026-03-09 02:13:30,978 - DEBUG - Do not have enough data to verify VN in agent 2026-03-09 02:13:30,982 - DEBUG - VRF ids for VN ctest-vn-24351091: {} 2026-03-09 02:13:31,039 - DEBUG - Services list from nova: [, , ] 2026-03-09 02:13:32,065 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5455-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5455-1) 2026-03-09 02:13:33,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5455-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5455-1) 2026-03-09 02:13:33,237 - INFO - Waiting for VM ctest-TestBasicPolicy-61202337-30097525 to be up.. 2026-03-09 02:13:33,323 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-09 02:13:38,409 - DEBUG - VM is in ACTIVE state now 2026-03-09 02:13:38,409 - INFO - VM name : ctest-TestBasicPolicy-61202337-30097525 2026-03-09 02:13:38,487 - DEBUG - VM ctest-TestBasicPolicy-61202337-30097525 ID is f2c3adcc-d83e-4b1b-afef-5110db6df867 2026-03-09 02:13:38,505 - DEBUG - VM ctest-TestBasicPolicy-61202337-30097525 launched on Node cn-jenkins-deploy-platform-ansible-os-5455-1 2026-03-09 02:13:38,581 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/f2c3adcc-d83e-4b1b-afef-5110db6df867 2026-03-09 02:13:38,591 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/d677cffe-7629-4c3e-9018-ebb23f47f4c1 2026-03-09 02:13:41,834 - 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 1013ms') 2026-03-09 02:13:41,834 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61202337-30097525 failed! 2026-03-09 02:13:41,890 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61202337:ctest-vn-33222751 is 87.99.178.193 and allocation pool is NOT set 2026-03-09 02:13:43,953 - 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=10.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.880 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 = 0.880/5.588/10.297/4.708 ms') 2026-03-09 02:13:43,953 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61202337-30097525 passed 2026-03-09 02:13:44,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:13:44,107 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61202337-30097525, IP 87.99.178.195, Port 22 2026-03-09 02:13:44,262 - DEBUG - VM ctest-TestBasicPolicy-61202337-30097525 is ready for SSH connections 2026-03-09 02:13:44,262 - INFO - Waiting for VM ctest-TestBasicPolicy-61202337-90765366 to be up.. 2026-03-09 02:13:44,348 - DEBUG - VM is in ACTIVE state now 2026-03-09 02:13:44,348 - INFO - VM name : ctest-TestBasicPolicy-61202337-90765366 2026-03-09 02:13:44,428 - DEBUG - VM ctest-TestBasicPolicy-61202337-90765366 ID is 85eec5df-6774-447b-9f1c-c19e223bcf8a 2026-03-09 02:13:44,428 - DEBUG - VM ctest-TestBasicPolicy-61202337-90765366 launched on Node cn-jenkins-deploy-platform-ansible-os-5455-1 2026-03-09 02:13:44,502 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/85eec5df-6774-447b-9f1c-c19e223bcf8a 2026-03-09 02:13:44,510 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/a55fe273-9bfa-422a-a9f7-2ceabb855eca 2026-03-09 02:13:45,749 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.474 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.474/2.016/3.558/1.542 ms') 2026-03-09 02:13:45,749 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61202337-90765366 passed 2026-03-09 02:13:45,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:13:45,899 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61202337-90765366, IP 198.91.1.131, Port 22 2026-03-09 02:13:45,965 - 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-03-09 02:13:46,043 - DEBUG - VM ctest-TestBasicPolicy-61202337-90765366 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-09 02:13:51,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:13:51,044 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61202337-90765366, IP 198.91.1.131, Port 22 2026-03-09 02:13:51,210 - DEBUG - VM ctest-TestBasicPolicy-61202337-90765366 is ready for SSH connections 2026-03-09 02:13:51,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:13:51,211 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.91.1.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-09 02:13:51,211 - DEBUG - ping -s 56 -c 3 -W 1 198.91.1.131 2026-03-09 02:13:55,213 - DEBUG - PING 198.91.1.131 (198.91.1.131): 56 data bytes 64 bytes from 198.91.1.131: seq=0 ttl=63 time=4.125 ms 64 bytes from 198.91.1.131: seq=1 ttl=63 time=1.466 ms 64 bytes from 198.91.1.131: seq=2 ttl=63 time=0.985 ms --- 198.91.1.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.985/2.192/4.125 ms 2026-03-09 02:13:55,213 - INFO - Ping to IP 198.91.1.131 from VM ctest-TestBasicPolicy-61202337-30097525 passed 2026-03-09 02:13:55,386 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ab36bd17-28f0-4c17-8f47-5a9112b5e570", "href": "http://10.0.0.141:8082/network-policy/ab36bd17-28f0-4c17-8f47-5a9112b5e570"}} 2026-03-09 02:13:55,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-09 02:13:55,386 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.91.1.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-09 02:13:55,387 - DEBUG - ping -s 56 -c 3 -W 1 198.91.1.131 2026-03-09 02:13:58,591 - DEBUG - PING 198.91.1.131 (198.91.1.131): 56 data bytes --- 198.91.1.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-09 02:13:58,591 - WARNING - Ping to IP 198.91.1.131 from VM ctest-TestBasicPolicy-61202337-30097525 failed 2026-03-09 02:13:58,591 - INFO - Deleting VM ctest-TestBasicPolicy-61202337-90765366 2026-03-09 02:13:58,669 - INFO - Deleting VM ctest-TestBasicPolicy-61202337-30097525 2026-03-09 02:13:59,064 - INFO - Deleted policy ctest-policy-allow-all-62823826 2026-03-09 02:13:59,064 - INFO - Deleting VN ctest-vn-24351091 2026-03-09 02:13:59,108 - DEBUG - VN dbdd9e01-5ed3-4b26-b3c8-ecb9c7262148 still in use: Unable to complete operation on network dbdd9e01-5ed3-4b26-b3c8-ecb9c7262148. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c4f082ac-d67e-4a21-8407-9d3831d0fef4'] 2026-03-09 02:13:59,108 - WARNING - Deleting VN ctest-vn-24351091 failed..Will retry 2026-03-09 02:14:01,207 - DEBUG - Response for deleting network () 2026-03-09 02:14:01,207 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/356ae3ad-d5f0-43ec-8f5e-2e266c9bb2e8 2026-03-09 02:14:01,213 - DEBUG - Response Code: 404 2026-03-09 02:14:01,213 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-09 02:14:01,220 - DEBUG - Requesting: http://10.0.0.141:8082/domain/da56c12e-8b84-4207-88d9-b77d9e8757cc 2026-03-09 02:14:01,271 - DEBUG - Requesting: http://10.0.0.141:8082/project/f0c353b5-a5ac-4409-9836-37483b614b96 2026-03-09 02:14:01,337 - INFO - Validated that VN ctest-vn-24351091 is not found in API Server 2026-03-09 02:14:01,347 - DEBUG - VN ctest-vn-24351091 is not present in Agent 10.0.0.141 2026-03-09 02:14:01,347 - INFO - Validated that VN ctest-vn-24351091 is not in any agent 2026-03-09 02:14:01,359 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24351091 info 2026-03-09 02:14:01,359 - INFO - Deleting VN ctest-vn-33222751 2026-03-09 02:14:01,459 - DEBUG - Response for deleting network () 2026-03-09 02:14:01,459 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/0593ad59-6b4b-4bb6-bdcf-afe77f20c531 2026-03-09 02:14:01,465 - DEBUG - Response Code: 404 2026-03-09 02:14:01,466 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-09 02:14:01,471 - DEBUG - Requesting: http://10.0.0.141:8082/domain/da56c12e-8b84-4207-88d9-b77d9e8757cc 2026-03-09 02:14:01,524 - DEBUG - Requesting: http://10.0.0.141:8082/project/f0c353b5-a5ac-4409-9836-37483b614b96 2026-03-09 02:14:01,597 - INFO - Validated that VN ctest-vn-33222751 is not found in API Server 2026-03-09 02:14:01,606 - DEBUG - VN ctest-vn-33222751 is not present in Agent 10.0.0.141 2026-03-09 02:14:01,606 - INFO - Validated that VN ctest-vn-33222751 is not in any agent 2026-03-09 02:14:01,617 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33222751 info 2026-03-09 02:14:01,872 - DEBUG - No XMPP flaps were noticed during the test
2026-03-09 02:14:01,872 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-03-09 02:14:01,872 - INFO - -------------------------------------------------------------------------------- 2026-03-09 02:14:02,685 - INFO - Deleted project: ctest-TestBasicPolicy-61202337, ID : f0c353b5-a5ac-4409-9836-37483b614b96