2026-09-07 02:17:14,788 - INFO - Domain Default found not creating 2026-09-07 02:17:14,946 - INFO - Project ctest-TestBasicPolicy-93916189 not found, creating it 2026-09-07 02:17:15,449 - INFO - Created Project:ctest-TestBasicPolicy-93916189, ID : b7a1a70c-d255-40da-9fef-f93a0edc1999 2026-09-07 02:17:17,053 - INFO - ================================================================================ 2026-09-07 02:17:17,053 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-07 02:17:17,053 - 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-09-07 02:17:17,321 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.17': '0'}} with 2026-09-07 02:17:17,321 - INFO - Initial checks done. Running the testcase now 2026-09-07 02:17:17,321 - INFO - 2026-09-07 02:17:17,989 - DEBUG - Response for create_network : {'network': {'id': 'be1632cb-98e5-4ad1-a67d-1ff6b1681452', 'name': 'ctest-vn-21548601', 'tenant_id': 'b7a1a70cd25540da9feff93a0edc1999', 'project_id': 'b7a1a70cd25540da9feff93a0edc1999', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93916189', 'ctest-vn-21548601'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-09-07 02:17:18,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '785d2cce-7c5f-4e59-90d0-9d17491bb82b', 'name': '', 'tenant_id': 'b7a1a70cd25540da9feff93a0edc1999', 'network_id': 'be1632cb-98e5-4ad1-a67d-1ff6b1681452', 'ip_version': 4, 'cidr': '215.48.61.0/26', 'allocation_pools': [{'start': '215.48.61.2', 'end': '215.48.61.62'}], 'gateway_ip': '215.48.61.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-09-07T02:17:18.103476', 'updated_at': '2026-09-07T02:17:18.103476', 'dns_server_address': '215.48.61.2', 'tags': [], 'project_id': 'b7a1a70cd25540da9feff93a0edc1999'}} 2026-09-07 02:17:18,181 - INFO - Created VN ctest-vn-21548601 2026-09-07 02:17:18,242 - DEBUG - VN ctest-vn-21548601 UUID is be1632cb-98e5-4ad1-a67d-1ff6b1681452 2026-09-07 02:17:18,551 - DEBUG - Response for create_network : {'network': {'id': '0526e5c5-af43-4c8d-9b85-38403b358d36', 'name': 'ctest-vn-32467382', 'tenant_id': 'b7a1a70cd25540da9feff93a0edc1999', 'project_id': 'b7a1a70cd25540da9feff93a0edc1999', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93916189', 'ctest-vn-32467382'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-09-07 02:17:18,766 - DEBUG - Response for create_subnet : {'subnet': {'id': '4de1efb6-c5ef-4993-aca0-15de05ebb6b2', 'name': '', 'tenant_id': 'b7a1a70cd25540da9feff93a0edc1999', 'network_id': '0526e5c5-af43-4c8d-9b85-38403b358d36', 'ip_version': 4, 'cidr': '25.118.230.64/26', 'allocation_pools': [{'start': '25.118.230.66', 'end': '25.118.230.126'}], 'gateway_ip': '25.118.230.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-09-07T02:17:18.690088', 'updated_at': '2026-09-07T02:17:18.690088', 'dns_server_address': '25.118.230.66', 'tags': [], 'project_id': 'b7a1a70cd25540da9feff93a0edc1999'}} 2026-09-07 02:17:18,785 - INFO - Created VN ctest-vn-32467382 2026-09-07 02:17:18,838 - DEBUG - VN ctest-vn-32467382 UUID is 0526e5c5-af43-4c8d-9b85-38403b358d36 2026-09-07 02:17:18,954 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93916189:ctest-vn-21548601, 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-93916189:ctest-vn-32467382, 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-09-07 02:17:19,299 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'be1632cb-98e5-4ad1-a67d-1ff6b1681452', 'name': 'ctest-vn-21548601', 'tenant_id': 'b7a1a70cd25540da9feff93a0edc1999', 'project_id': 'b7a1a70cd25540da9feff93a0edc1999', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['785d2cce-7c5f-4e59-90d0-9d17491bb82b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93916189', 'ctest-vn-21548601'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93916189', 'ctest-policy-allow-all-82719731']], 'subnet_ipam': [{'subnet_cidr': '215.48.61.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-09-07T02:17:17.955557', 'updated_at': '2026-09-07T02:17:18.114353'}} 2026-09-07 02:17:19,537 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0526e5c5-af43-4c8d-9b85-38403b358d36', 'name': 'ctest-vn-32467382', 'tenant_id': 'b7a1a70cd25540da9feff93a0edc1999', 'project_id': 'b7a1a70cd25540da9feff93a0edc1999', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['4de1efb6-c5ef-4993-aca0-15de05ebb6b2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93916189', 'ctest-vn-32467382'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93916189', 'ctest-policy-allow-all-82719731']], 'subnet_ipam': [{'subnet_cidr': '25.118.230.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-09-07T02:17:18.515772', 'updated_at': '2026-09-07T02:17:18.710015'}} 2026-09-07 02:17:19,710 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-07 02:17:20,034 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-07 02:17:20,065 - DEBUG - Requesting: http://10.0.0.163:8082/domain/f0c743a3-1bc9-4596-bd51-59df39c5641b 2026-09-07 02:17:20,079 - DEBUG - Requesting: http://10.0.0.163:8082/project/b7a1a70c-d255-40da-9fef-f93a0edc1999 2026-09-07 02:17:20,168 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/be1632cb-98e5-4ad1-a67d-1ff6b1681452 2026-09-07 02:17:20,183 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/be1632cb-98e5-4ad1-a67d-1ff6b1681452 2026-09-07 02:17:20,194 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/4c2ea985-ba53-4ec8-8c9b-e47a613129cb 2026-09-07 02:17:20,202 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/4c2ea985-ba53-4ec8-8c9b-e47a613129cb 2026-09-07 02:17:20,209 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/da503ab2-67f5-47f0-972e-79e805d6a708 2026-09-07 02:17:20,216 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-07 02:17:20,216 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/be1632cb-98e5-4ad1-a67d-1ff6b1681452 2026-09-07 02:17:20,227 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/4c2ea985-ba53-4ec8-8c9b-e47a613129cb 2026-09-07 02:17:20,244 - INFO - Verified VN network id 12 for VN be1632cb-98e5-4ad1-a67d-1ff6b1681452 2026-09-07 02:17:20,244 - INFO - Verifications in API Server for VN ctest-vn-21548601 passed 2026-09-07 02:17:20,245 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/be1632cb-98e5-4ad1-a67d-1ff6b1681452 2026-09-07 02:17:20,256 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/4c2ea985-ba53-4ec8-8c9b-e47a613129cb 2026-09-07 02:17:20,265 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/4c2ea985-ba53-4ec8-8c9b-e47a613129cb 2026-09-07 02:17:20,274 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/da503ab2-67f5-47f0-972e-79e805d6a708 2026-09-07 02:17:20,288 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93916189:ctest-vn-21548601', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93916189', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13697191166718855889', 'uuid-lslong': '11996780126783673426'}, 'enable': 'true', 'created': '2026-09-07T02:17:17', 'last-modified': '2026-09-07T02:17:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.025345'} 2026-09-07 02:17:20,296 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-07 02:17:20,296 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21548601 passed 2026-09-07 02:17:20,296 - DEBUG - ====Verifying policy data for ctest-vn-21548601 in API_Server ====== 2026-09-07 02:17:20,296 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-07 02:17:20,303 - DEBUG - Requesting: http://10.0.0.163:8082/domain/f0c743a3-1bc9-4596-bd51-59df39c5641b 2026-09-07 02:17:20,314 - DEBUG - Requesting: http://10.0.0.163:8082/project/b7a1a70c-d255-40da-9fef-f93a0edc1999 2026-09-07 02:17:20,392 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/be1632cb-98e5-4ad1-a67d-1ff6b1681452 2026-09-07 02:17:20,403 - DEBUG - ==>Verifying data for policy with id: 7351bd65-21af-49fb-8aec-b7c4597ab65c, fqn: ['default-domain', 'ctest-TestBasicPolicy-93916189', 'ctest-policy-allow-all-82719731'] 2026-09-07 02:17:20,403 - INFO - VN ctest-vn-21548601 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-07 02:17:20,403 - DEBUG - Verifying the vn in opserver 2026-09-07 02:17:20,403 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93916189:ctest-vn-21548601 virtual network link through opserver 10.0.0.163 2026-09-07 02:17:20,403 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-09-07 02:17:20,724 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-09-07 02:17:20,784 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93916189:ctest-vn-21548601', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93916189:ctest-vn-21548601?flat'} 2026-09-07 02:17:20,784 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93916189:ctest-vn-21548601 is found in opserver 2026-09-07 02:17:20,797 - DEBUG - Do not have enough data to verify VN in agent 2026-09-07 02:17:20,802 - DEBUG - VRF ids for VN ctest-vn-21548601: {} 2026-09-07 02:17:20,803 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-07 02:17:20,809 - DEBUG - Requesting: http://10.0.0.163:8082/domain/f0c743a3-1bc9-4596-bd51-59df39c5641b 2026-09-07 02:17:20,822 - DEBUG - Requesting: http://10.0.0.163:8082/project/b7a1a70c-d255-40da-9fef-f93a0edc1999 2026-09-07 02:17:20,898 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/0526e5c5-af43-4c8d-9b85-38403b358d36 2026-09-07 02:17:20,911 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/0526e5c5-af43-4c8d-9b85-38403b358d36 2026-09-07 02:17:20,922 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/17f3dcc3-8fb8-4316-932b-381a9dfe5b8e 2026-09-07 02:17:20,932 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/17f3dcc3-8fb8-4316-932b-381a9dfe5b8e 2026-09-07 02:17:20,941 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/522626b6-05b1-40f9-af9b-b6aa53d15e22 2026-09-07 02:17:20,949 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-07 02:17:20,949 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/0526e5c5-af43-4c8d-9b85-38403b358d36 2026-09-07 02:17:20,960 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/17f3dcc3-8fb8-4316-932b-381a9dfe5b8e 2026-09-07 02:17:20,979 - INFO - Verified VN network id 13 for VN 0526e5c5-af43-4c8d-9b85-38403b358d36 2026-09-07 02:17:20,979 - INFO - Verifications in API Server for VN ctest-vn-32467382 passed 2026-09-07 02:17:20,980 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/0526e5c5-af43-4c8d-9b85-38403b358d36 2026-09-07 02:17:20,991 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/17f3dcc3-8fb8-4316-932b-381a9dfe5b8e 2026-09-07 02:17:20,999 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/17f3dcc3-8fb8-4316-932b-381a9dfe5b8e 2026-09-07 02:17:21,008 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/522626b6-05b1-40f9-af9b-b6aa53d15e22 2026-09-07 02:17:21,023 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93916189:ctest-vn-32467382', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93916189', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '371236656516385933', 'uuid-lslong': '11206425096303775030'}, 'enable': 'true', 'created': '2026-09-07T02:17:18', 'last-modified': '2026-09-07T02:17:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.510785'} 2026-09-07 02:17:21,030 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-07 02:17:21,031 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32467382 passed 2026-09-07 02:17:21,031 - DEBUG - ====Verifying policy data for ctest-vn-32467382 in API_Server ====== 2026-09-07 02:17:21,031 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-07 02:17:21,037 - DEBUG - Requesting: http://10.0.0.163:8082/domain/f0c743a3-1bc9-4596-bd51-59df39c5641b 2026-09-07 02:17:21,050 - DEBUG - Requesting: http://10.0.0.163:8082/project/b7a1a70c-d255-40da-9fef-f93a0edc1999 2026-09-07 02:17:21,127 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/0526e5c5-af43-4c8d-9b85-38403b358d36 2026-09-07 02:17:21,138 - DEBUG - ==>Verifying data for policy with id: 7351bd65-21af-49fb-8aec-b7c4597ab65c, fqn: ['default-domain', 'ctest-TestBasicPolicy-93916189', 'ctest-policy-allow-all-82719731'] 2026-09-07 02:17:21,138 - INFO - VN ctest-vn-32467382 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-07 02:17:21,138 - DEBUG - Verifying the vn in opserver 2026-09-07 02:17:21,138 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93916189:ctest-vn-32467382 virtual network link through opserver 10.0.0.163 2026-09-07 02:17:21,138 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks 2026-09-07 02:17:21,151 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93916189:ctest-vn-32467382', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93916189:ctest-vn-32467382?flat'} 2026-09-07 02:17:21,151 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93916189:ctest-vn-32467382 is found in opserver 2026-09-07 02:17:21,162 - DEBUG - Do not have enough data to verify VN in agent 2026-09-07 02:17:21,168 - DEBUG - VRF ids for VN ctest-vn-32467382: {} 2026-09-07 02:17:21,237 - DEBUG - Services list from nova: [, , ] 2026-09-07 02:17:21,715 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6257-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6257-1) 2026-09-07 02:17:22,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6257-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6257-1) 2026-09-07 02:17:22,149 - INFO - Waiting for VM ctest-TestBasicPolicy-93916189-78044673 to be up.. 2026-09-07 02:17:22,192 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:17:27,273 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:17:32,357 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:17:37,452 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:17:42,554 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:17:47,646 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:17:52,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:17:57,821 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 02:18:02,903 - DEBUG - VM is in ACTIVE state now 2026-09-07 02:18:02,903 - INFO - VM name : ctest-TestBasicPolicy-93916189-78044673 2026-09-07 02:18:02,989 - DEBUG - VM ctest-TestBasicPolicy-93916189-78044673 ID is 05f21634-a305-4e7d-87db-c339a1180179 2026-09-07 02:18:03,011 - DEBUG - VM ctest-TestBasicPolicy-93916189-78044673 launched on Node cn-jenkins-deploy-platform-ansible-os-6257-1 2026-09-07 02:18:03,105 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/05f21634-a305-4e7d-87db-c339a1180179 2026-09-07 02:18:03,117 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/4e279d28-3196-4cfd-beea-f3d8db607d14 2026-09-07 02:18:06,390 - 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 1024ms') 2026-09-07 02:18:06,391 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93916189-78044673 failed! 2026-09-07 02:18:06,454 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-93916189:ctest-vn-21548601 is 215.48.61.1 and allocation pool is NOT set 2026-09-07 02:18:08,519 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.623 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.623/2.424/4.226/1.801 ms') 2026-09-07 02:18:08,519 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93916189-78044673 passed 2026-09-07 02:18:08,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 02:18:08,674 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93916189-78044673, IP 215.48.61.3, Port 22 2026-09-07 02:18:08,838 - DEBUG - VM ctest-TestBasicPolicy-93916189-78044673 is ready for SSH connections 2026-09-07 02:18:08,838 - INFO - Waiting for VM ctest-TestBasicPolicy-93916189-53742158 to be up.. 2026-09-07 02:18:08,942 - DEBUG - VM is in ACTIVE state now 2026-09-07 02:18:08,942 - INFO - VM name : ctest-TestBasicPolicy-93916189-53742158 2026-09-07 02:18:09,033 - DEBUG - VM ctest-TestBasicPolicy-93916189-53742158 ID is 092db3c7-02b3-4591-9380-e958d843be04 2026-09-07 02:18:09,034 - DEBUG - VM ctest-TestBasicPolicy-93916189-53742158 launched on Node cn-jenkins-deploy-platform-ansible-os-6257-1 2026-09-07 02:18:09,144 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine/092db3c7-02b3-4591-9380-e958d843be04 2026-09-07 02:18:09,160 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-machine-interface/c3c11662-ed05-460e-b64a-35241b602322 2026-09-07 02:18:10,428 - 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=7.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.05 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 = 3.049/5.441/7.834/2.392 ms') 2026-09-07 02:18:10,429 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-93916189-53742158 passed 2026-09-07 02:18:10,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 02:18:10,586 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93916189-53742158, IP 25.118.230.67, Port 22 2026-09-07 02:18:10,757 - DEBUG - VM ctest-TestBasicPolicy-93916189-53742158 is ready for SSH connections 2026-09-07 02:18:10,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 02:18:10,757 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.118.230.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-09-07 02:18:10,757 - DEBUG - ping -s 56 -c 3 -W 1 25.118.230.67 2026-09-07 02:18:14,814 - DEBUG - PING 25.118.230.67 (25.118.230.67): 56 data bytes 64 bytes from 25.118.230.67: seq=0 ttl=63 time=5.225 ms 64 bytes from 25.118.230.67: seq=1 ttl=63 time=0.981 ms 64 bytes from 25.118.230.67: seq=2 ttl=63 time=1.144 ms --- 25.118.230.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.981/2.450/5.225 ms 2026-09-07 02:18:14,814 - INFO - Ping to IP 25.118.230.67 from VM ctest-TestBasicPolicy-93916189-78044673 passed 2026-09-07 02:18:15,002 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7351bd65-21af-49fb-8aec-b7c4597ab65c", "href": "http://10.0.0.163:8082/network-policy/7351bd65-21af-49fb-8aec-b7c4597ab65c"}} 2026-09-07 02:18:15,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 02:18:15,002 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.118.230.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.163, gateway password: c0ntrail123 2026-09-07 02:18:15,002 - DEBUG - ping -s 56 -c 3 -W 1 25.118.230.67 2026-09-07 02:18:18,139 - DEBUG - PING 25.118.230.67 (25.118.230.67): 56 data bytes 64 bytes from 25.118.230.67: seq=0 ttl=63 time=1.969 ms --- 25.118.230.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.969/1.969/1.969 ms 2026-09-07 02:18:18,139 - WARNING - Ping to IP 25.118.230.67 from VM ctest-TestBasicPolicy-93916189-78044673 failed 2026-09-07 02:18:18,139 - INFO - Deleting VM ctest-TestBasicPolicy-93916189-53742158 2026-09-07 02:18:18,233 - INFO - Deleting VM ctest-TestBasicPolicy-93916189-78044673 2026-09-07 02:18:18,683 - INFO - Deleted policy ctest-policy-allow-all-82719731 2026-09-07 02:18:18,683 - INFO - Deleting VN ctest-vn-32467382 2026-09-07 02:18:18,721 - DEBUG - VN 0526e5c5-af43-4c8d-9b85-38403b358d36 still in use: Unable to complete operation on network 0526e5c5-af43-4c8d-9b85-38403b358d36. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-15364232-1183-4045-a109-b17e057bd5e8'] 2026-09-07 02:18:18,722 - WARNING - Deleting VN ctest-vn-32467382 failed..Will retry 2026-09-07 02:18:20,877 - DEBUG - Response for deleting network () 2026-09-07 02:18:20,877 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/17f3dcc3-8fb8-4316-932b-381a9dfe5b8e 2026-09-07 02:18:20,894 - DEBUG - Response Code: 404 2026-09-07 02:18:20,895 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-07 02:18:20,902 - DEBUG - Requesting: http://10.0.0.163:8082/domain/f0c743a3-1bc9-4596-bd51-59df39c5641b 2026-09-07 02:18:20,957 - DEBUG - Requesting: http://10.0.0.163:8082/project/b7a1a70c-d255-40da-9fef-f93a0edc1999 2026-09-07 02:18:21,047 - INFO - Validated that VN ctest-vn-32467382 is not found in API Server 2026-09-07 02:18:21,061 - DEBUG - VN ctest-vn-32467382 is not present in Agent 10.0.0.163 2026-09-07 02:18:21,061 - INFO - Validated that VN ctest-vn-32467382 is not in any agent 2026-09-07 02:18:21,083 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32467382 info 2026-09-07 02:18:21,083 - INFO - Deleting VN ctest-vn-21548601 2026-09-07 02:18:21,221 - DEBUG - Response for deleting network () 2026-09-07 02:18:21,221 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/4c2ea985-ba53-4ec8-8c9b-e47a613129cb 2026-09-07 02:18:21,231 - DEBUG - Response Code: 404 2026-09-07 02:18:21,231 - DEBUG - Requesting: http://10.0.0.163:8082/domains 2026-09-07 02:18:21,240 - DEBUG - Requesting: http://10.0.0.163:8082/domain/f0c743a3-1bc9-4596-bd51-59df39c5641b 2026-09-07 02:18:21,297 - DEBUG - Requesting: http://10.0.0.163:8082/project/b7a1a70c-d255-40da-9fef-f93a0edc1999 2026-09-07 02:18:21,384 - INFO - Validated that VN ctest-vn-21548601 is not found in API Server 2026-09-07 02:18:21,397 - DEBUG - VN ctest-vn-21548601 is not present in Agent 10.0.0.163 2026-09-07 02:18:21,397 - INFO - Validated that VN ctest-vn-21548601 is not in any agent 2026-09-07 02:18:21,418 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21548601 info 2026-09-07 02:18:21,692 - DEBUG - No XMPP flaps were noticed during the test 2026-09-07 02:18:21,693 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04] 2026-09-07 02:18:21,693 - INFO - -------------------------------------------------------------------------------- 2026-09-07 02:18:22,439 - INFO - Deleted project: ctest-TestBasicPolicy-93916189, ID : b7a1a70c-d255-40da-9fef-f93a0edc1999