2026-08-21 13:32:34,841 - INFO - Domain Default found not creating 2026-08-21 13:32:35,009 - INFO - Project ctest-TestBasicPolicy-00034804 not found, creating it 2026-08-21 13:32:35,528 - INFO - Created Project:ctest-TestBasicPolicy-00034804, ID : 9ca14918-5f61-4178-a0d4-d76e16a4494a 2026-08-21 13:32:37,277 - INFO - ================================================================================ 2026-08-21 13:32:37,277 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-21 13:32:37,277 - 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-08-21 13:32:37,548 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.17': '0'}} with 2026-08-21 13:32:37,549 - INFO - Initial checks done. Running the testcase now 2026-08-21 13:32:37,549 - INFO - 2026-08-21 13:32:38,196 - DEBUG - Response for create_network : {'network': {'id': '1aae0073-d1be-4ca5-9a0e-7c393467d56b', 'name': 'ctest-vn-39120882', 'tenant_id': '9ca149185f614178a0d4d76e16a4494a', 'project_id': '9ca149185f614178a0d4d76e16a4494a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00034804', 'ctest-vn-39120882'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 13:32:38,412 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ddcf0a8-f3b2-4c4f-a4c1-3b43795bfbb6', 'name': '', 'tenant_id': '9ca149185f614178a0d4d76e16a4494a', 'network_id': '1aae0073-d1be-4ca5-9a0e-7c393467d56b', 'ip_version': 4, 'cidr': '123.185.248.128/26', 'allocation_pools': [{'start': '123.185.248.130', 'end': '123.185.248.190'}], 'gateway_ip': '123.185.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.185.248.130', 'tags': [], 'project_id': '9ca149185f614178a0d4d76e16a4494a'}} 2026-08-21 13:32:38,428 - INFO - Created VN ctest-vn-39120882 2026-08-21 13:32:38,480 - DEBUG - VN ctest-vn-39120882 UUID is 1aae0073-d1be-4ca5-9a0e-7c393467d56b 2026-08-21 13:32:38,783 - DEBUG - Response for create_network : {'network': {'id': '07ea4f70-94e0-402d-86cb-233a5bef47bc', 'name': 'ctest-vn-55679925', 'tenant_id': '9ca149185f614178a0d4d76e16a4494a', 'project_id': '9ca149185f614178a0d4d76e16a4494a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00034804', 'ctest-vn-55679925'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 13:32:39,004 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b8a6ed3-8d62-4417-9bb8-251718e50418', 'name': '', 'tenant_id': '9ca149185f614178a0d4d76e16a4494a', 'network_id': '07ea4f70-94e0-402d-86cb-233a5bef47bc', 'ip_version': 4, 'cidr': '196.162.160.64/26', 'allocation_pools': [{'start': '196.162.160.66', 'end': '196.162.160.126'}], 'gateway_ip': '196.162.160.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.162.160.66', 'tags': [], 'project_id': '9ca149185f614178a0d4d76e16a4494a'}} 2026-08-21 13:32:39,022 - INFO - Created VN ctest-vn-55679925 2026-08-21 13:32:39,076 - DEBUG - VN ctest-vn-55679925 UUID is 07ea4f70-94e0-402d-86cb-233a5bef47bc 2026-08-21 13:32:39,195 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00034804:ctest-vn-39120882, 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-00034804:ctest-vn-55679925, 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-08-21 13:32:39,518 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1aae0073-d1be-4ca5-9a0e-7c393467d56b', 'name': 'ctest-vn-39120882', 'tenant_id': '9ca149185f614178a0d4d76e16a4494a', 'project_id': '9ca149185f614178a0d4d76e16a4494a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1ddcf0a8-f3b2-4c4f-a4c1-3b43795bfbb6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00034804', 'ctest-vn-39120882'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00034804', 'ctest-policy-allow-all-28483737']], 'subnet_ipam': [{'subnet_cidr': '123.185.248.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 13:32:39,769 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07ea4f70-94e0-402d-86cb-233a5bef47bc', 'name': 'ctest-vn-55679925', 'tenant_id': '9ca149185f614178a0d4d76e16a4494a', 'project_id': '9ca149185f614178a0d4d76e16a4494a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8b8a6ed3-8d62-4417-9bb8-251718e50418'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00034804', 'ctest-vn-55679925'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00034804', 'ctest-policy-allow-all-28483737']], 'subnet_ipam': [{'subnet_cidr': '196.162.160.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 13:32:39,940 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-21 13:32:40,312 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-21 13:32:40,341 - DEBUG - Requesting: http://10.0.0.162:8082/domain/4583c65d-bcaa-4340-908a-0dcf61eff8ff 2026-08-21 13:32:40,359 - DEBUG - Requesting: http://10.0.0.162:8082/project/9ca14918-5f61-4178-a0d4-d76e16a4494a 2026-08-21 13:32:40,444 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/1aae0073-d1be-4ca5-9a0e-7c393467d56b 2026-08-21 13:32:40,459 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/1aae0073-d1be-4ca5-9a0e-7c393467d56b 2026-08-21 13:32:40,470 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/d181b743-e761-4851-8826-fb63269dfd91 2026-08-21 13:32:40,482 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/d181b743-e761-4851-8826-fb63269dfd91 2026-08-21 13:32:40,490 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/4b8207b5-ea45-4990-b6f6-66c773a8574f 2026-08-21 13:32:40,497 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-21 13:32:40,497 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/1aae0073-d1be-4ca5-9a0e-7c393467d56b 2026-08-21 13:32:40,507 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/d181b743-e761-4851-8826-fb63269dfd91 2026-08-21 13:32:40,522 - INFO - Verified VN network id 11 for VN 1aae0073-d1be-4ca5-9a0e-7c393467d56b 2026-08-21 13:32:40,523 - INFO - Verifications in API Server for VN ctest-vn-39120882 passed 2026-08-21 13:32:40,523 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/1aae0073-d1be-4ca5-9a0e-7c393467d56b 2026-08-21 13:32:40,532 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/d181b743-e761-4851-8826-fb63269dfd91 2026-08-21 13:32:40,540 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/d181b743-e761-4851-8826-fb63269dfd91 2026-08-21 13:32:40,548 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/4b8207b5-ea45-4990-b6f6-66c773a8574f 2026-08-21 13:32:40,561 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00034804:ctest-vn-39120882', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00034804', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1922474588373929125', 'uuid-lslong': '11100946716649051499'}, 'enable': 'true', 'created': '2026-08-21T13:32:38', 'last-modified': '2026-08-21T13:32:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.083067'} 2026-08-21 13:32:40,569 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-21 13:32:40,569 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39120882 passed 2026-08-21 13:32:40,569 - DEBUG - ====Verifying policy data for ctest-vn-39120882 in API_Server ====== 2026-08-21 13:32:40,569 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-21 13:32:40,575 - DEBUG - Requesting: http://10.0.0.162:8082/domain/4583c65d-bcaa-4340-908a-0dcf61eff8ff 2026-08-21 13:32:40,586 - DEBUG - Requesting: http://10.0.0.162:8082/project/9ca14918-5f61-4178-a0d4-d76e16a4494a 2026-08-21 13:32:40,660 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/1aae0073-d1be-4ca5-9a0e-7c393467d56b 2026-08-21 13:32:40,670 - DEBUG - ==>Verifying data for policy with id: e13961e0-2b46-4c3b-bd3f-c0165bbe9ff2, fqn: ['default-domain', 'ctest-TestBasicPolicy-00034804', 'ctest-policy-allow-all-28483737'] 2026-08-21 13:32:40,670 - INFO - VN ctest-vn-39120882 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 13:32:40,670 - DEBUG - Verifying the vn in opserver 2026-08-21 13:32:40,670 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00034804:ctest-vn-39120882 virtual network link through opserver 10.0.0.162 2026-08-21 13:32:40,671 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-21 13:32:41,042 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-21 13:32:41,104 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00034804:ctest-vn-39120882', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00034804:ctest-vn-39120882?flat'} 2026-08-21 13:32:41,104 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00034804:ctest-vn-39120882 is found in opserver 2026-08-21 13:32:41,115 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 13:32:41,120 - DEBUG - VRF ids for VN ctest-vn-39120882: {} 2026-08-21 13:32:41,120 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-21 13:32:41,126 - DEBUG - Requesting: http://10.0.0.162:8082/domain/4583c65d-bcaa-4340-908a-0dcf61eff8ff 2026-08-21 13:32:41,138 - DEBUG - Requesting: http://10.0.0.162:8082/project/9ca14918-5f61-4178-a0d4-d76e16a4494a 2026-08-21 13:32:41,214 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/07ea4f70-94e0-402d-86cb-233a5bef47bc 2026-08-21 13:32:41,227 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/07ea4f70-94e0-402d-86cb-233a5bef47bc 2026-08-21 13:32:41,237 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/61153787-2ea0-4788-b8b3-58e46a910681 2026-08-21 13:32:41,244 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/61153787-2ea0-4788-b8b3-58e46a910681 2026-08-21 13:32:41,252 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/6ff218db-c86d-45c3-83a8-8bb0f18a5639 2026-08-21 13:32:41,259 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-21 13:32:41,259 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/07ea4f70-94e0-402d-86cb-233a5bef47bc 2026-08-21 13:32:41,270 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/61153787-2ea0-4788-b8b3-58e46a910681 2026-08-21 13:32:41,290 - INFO - Verified VN network id 12 for VN 07ea4f70-94e0-402d-86cb-233a5bef47bc 2026-08-21 13:32:41,290 - INFO - Verifications in API Server for VN ctest-vn-55679925 passed 2026-08-21 13:32:41,290 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/07ea4f70-94e0-402d-86cb-233a5bef47bc 2026-08-21 13:32:41,303 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/61153787-2ea0-4788-b8b3-58e46a910681 2026-08-21 13:32:41,313 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/61153787-2ea0-4788-b8b3-58e46a910681 2026-08-21 13:32:41,323 - DEBUG - Requesting: http://10.0.0.162:8082/route-target/6ff218db-c86d-45c3-83a8-8bb0f18a5639 2026-08-21 13:32:41,339 - DEBUG - Control-node 10.0.0.162 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00034804:ctest-vn-55679925', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00034804', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '570355647768444973', 'uuid-lslong': '9712895754912090044'}, 'enable': 'true', 'created': '2026-08-21T13:32:38', 'last-modified': '2026-08-21T13:32:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.597609'} 2026-08-21 13:32:41,345 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-21 13:32:41,345 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55679925 passed 2026-08-21 13:32:41,345 - DEBUG - ====Verifying policy data for ctest-vn-55679925 in API_Server ====== 2026-08-21 13:32:41,346 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-21 13:32:41,351 - DEBUG - Requesting: http://10.0.0.162:8082/domain/4583c65d-bcaa-4340-908a-0dcf61eff8ff 2026-08-21 13:32:41,363 - DEBUG - Requesting: http://10.0.0.162:8082/project/9ca14918-5f61-4178-a0d4-d76e16a4494a 2026-08-21 13:32:41,440 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-network/07ea4f70-94e0-402d-86cb-233a5bef47bc 2026-08-21 13:32:41,450 - DEBUG - ==>Verifying data for policy with id: e13961e0-2b46-4c3b-bd3f-c0165bbe9ff2, fqn: ['default-domain', 'ctest-TestBasicPolicy-00034804', 'ctest-policy-allow-all-28483737'] 2026-08-21 13:32:41,450 - INFO - VN ctest-vn-55679925 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 13:32:41,450 - DEBUG - Verifying the vn in opserver 2026-08-21 13:32:41,450 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00034804:ctest-vn-55679925 virtual network link through opserver 10.0.0.162 2026-08-21 13:32:41,450 - DEBUG - Requesting: http://10.0.0.162:8081/analytics/uves/virtual-networks 2026-08-21 13:32:41,460 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00034804:ctest-vn-55679925', 'href': 'http://10.0.0.162:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00034804:ctest-vn-55679925?flat'} 2026-08-21 13:32:41,460 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00034804:ctest-vn-55679925 is found in opserver 2026-08-21 13:32:41,472 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 13:32:41,477 - DEBUG - VRF ids for VN ctest-vn-55679925: {} 2026-08-21 13:32:41,540 - DEBUG - Services list from nova: [, , ] 2026-08-21 13:32:41,994 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6202-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6202-1) 2026-08-21 13:32:42,409 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6202-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6202-1) 2026-08-21 13:32:42,409 - INFO - Waiting for VM ctest-TestBasicPolicy-00034804-21944690 to be up.. 2026-08-21 13:32:42,450 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:32:47,528 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:32:52,612 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:32:57,691 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:33:02,770 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:33:07,864 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:33:12,951 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:33:18,038 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:33:23,133 - DEBUG - VM is in ACTIVE state now 2026-08-21 13:33:23,134 - INFO - VM name : ctest-TestBasicPolicy-00034804-21944690 2026-08-21 13:33:23,209 - DEBUG - VM ctest-TestBasicPolicy-00034804-21944690 ID is 68ac1b43-e0fa-4604-8978-ae1cb2d92287 2026-08-21 13:33:23,236 - DEBUG - VM ctest-TestBasicPolicy-00034804-21944690 launched on Node cn-jenkins-deploy-platform-ansible-os-6202-1 2026-08-21 13:33:23,315 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/68ac1b43-e0fa-4604-8978-ae1cb2d92287 2026-08-21 13:33:23,324 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/797e0dfa-724a-4b8a-bb62-cb660f0965c5 2026-08-21 13:33:26,599 - 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 1029ms') 2026-08-21 13:33:26,599 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00034804-21944690 failed! 2026-08-21 13:33:26,656 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00034804:ctest-vn-39120882 is 123.185.248.129 and allocation pool is NOT set 2026-08-21 13:33:28,717 - 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=6.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.930 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.930/3.603/6.276/2.673 ms') 2026-08-21 13:33:28,718 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00034804-21944690 passed 2026-08-21 13:33:28,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 13:33:28,872 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00034804-21944690, IP 123.185.248.131, Port 22 2026-08-21 13:33:29,051 - DEBUG - VM ctest-TestBasicPolicy-00034804-21944690 is ready for SSH connections 2026-08-21 13:33:29,052 - INFO - Waiting for VM ctest-TestBasicPolicy-00034804-23167843 to be up.. 2026-08-21 13:33:29,151 - DEBUG - VM is in ACTIVE state now 2026-08-21 13:33:29,151 - INFO - VM name : ctest-TestBasicPolicy-00034804-23167843 2026-08-21 13:33:29,237 - DEBUG - VM ctest-TestBasicPolicy-00034804-23167843 ID is a0bfe3f1-882f-4cb4-b902-221ebf6bcafe 2026-08-21 13:33:29,237 - DEBUG - VM ctest-TestBasicPolicy-00034804-23167843 launched on Node cn-jenkins-deploy-platform-ansible-os-6202-1 2026-08-21 13:33:29,321 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/a0bfe3f1-882f-4cb4-b902-221ebf6bcafe 2026-08-21 13:33:29,331 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/42573554-76ec-4095-b6fb-780fa5a5caf7 2026-08-21 13:33:32,583 - 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=2 ttl=63 time=2.99 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 2.989/2.989/2.989/0.000 ms') 2026-08-21 13:33:32,584 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00034804-23167843 passed 2026-08-21 13:33:32,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 13:33:32,740 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00034804-23167843, IP 196.162.160.67, Port 22 2026-08-21 13:33:32,910 - DEBUG - VM ctest-TestBasicPolicy-00034804-23167843 is ready for SSH connections 2026-08-21 13:33:32,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 13:33:32,911 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.162.160.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-21 13:33:32,911 - DEBUG - ping -s 56 -c 3 -W 1 196.162.160.67 2026-08-21 13:33:36,902 - DEBUG - PING 196.162.160.67 (196.162.160.67): 56 data bytes 64 bytes from 196.162.160.67: seq=0 ttl=63 time=4.263 ms 64 bytes from 196.162.160.67: seq=1 ttl=63 time=1.036 ms 64 bytes from 196.162.160.67: seq=2 ttl=63 time=1.077 ms --- 196.162.160.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.036/2.125/4.263 ms 2026-08-21 13:33:36,902 - INFO - Ping to IP 196.162.160.67 from VM ctest-TestBasicPolicy-00034804-21944690 passed 2026-08-21 13:33:37,099 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e13961e0-2b46-4c3b-bd3f-c0165bbe9ff2", "href": "http://10.0.0.162:8082/network-policy/e13961e0-2b46-4c3b-bd3f-c0165bbe9ff2"}} 2026-08-21 13:33:37,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 13:33:37,100 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.162.160.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-21 13:33:37,100 - DEBUG - ping -s 56 -c 3 -W 1 196.162.160.67 2026-08-21 13:33:40,230 - DEBUG - PING 196.162.160.67 (196.162.160.67): 56 data bytes 64 bytes from 196.162.160.67: seq=0 ttl=63 time=1.968 ms --- 196.162.160.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.968/1.968/1.968 ms 2026-08-21 13:33:40,231 - WARNING - Ping to IP 196.162.160.67 from VM ctest-TestBasicPolicy-00034804-21944690 failed 2026-08-21 13:33:40,231 - INFO - Deleting VM ctest-TestBasicPolicy-00034804-23167843 2026-08-21 13:33:40,315 - INFO - Deleting VM ctest-TestBasicPolicy-00034804-21944690 2026-08-21 13:33:40,718 - INFO - Deleted policy ctest-policy-allow-all-28483737 2026-08-21 13:33:40,719 - INFO - Deleting VN ctest-vn-55679925 2026-08-21 13:33:40,754 - DEBUG - VN 07ea4f70-94e0-402d-86cb-233a5bef47bc still in use: Unable to complete operation on network 07ea4f70-94e0-402d-86cb-233a5bef47bc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0ff78a5-6a36-4217-a9f5-16b399f2ff8f'] 2026-08-21 13:33:40,754 - WARNING - Deleting VN ctest-vn-55679925 failed..Will retry 2026-08-21 13:33:42,865 - DEBUG - Response for deleting network () 2026-08-21 13:33:42,865 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/61153787-2ea0-4788-b8b3-58e46a910681 2026-08-21 13:33:42,871 - DEBUG - Response Code: 404 2026-08-21 13:33:42,871 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-21 13:33:42,881 - DEBUG - Requesting: http://10.0.0.162:8082/domain/4583c65d-bcaa-4340-908a-0dcf61eff8ff 2026-08-21 13:33:42,934 - DEBUG - Requesting: http://10.0.0.162:8082/project/9ca14918-5f61-4178-a0d4-d76e16a4494a 2026-08-21 13:33:43,014 - INFO - Validated that VN ctest-vn-55679925 is not found in API Server 2026-08-21 13:33:43,026 - DEBUG - VN ctest-vn-55679925 is not present in Agent 10.0.0.162 2026-08-21 13:33:43,026 - INFO - Validated that VN ctest-vn-55679925 is not in any agent 2026-08-21 13:33:43,043 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55679925 info 2026-08-21 13:33:43,044 - INFO - Deleting VN ctest-vn-39120882 2026-08-21 13:33:43,158 - DEBUG - Response for deleting network () 2026-08-21 13:33:43,158 - DEBUG - Requesting: http://10.0.0.162:8082/routing-instance/d181b743-e761-4851-8826-fb63269dfd91 2026-08-21 13:33:43,167 - DEBUG - Response Code: 404 2026-08-21 13:33:43,167 - DEBUG - Requesting: http://10.0.0.162:8082/domains 2026-08-21 13:33:43,173 - DEBUG - Requesting: http://10.0.0.162:8082/domain/4583c65d-bcaa-4340-908a-0dcf61eff8ff 2026-08-21 13:33:43,229 - DEBUG - Requesting: http://10.0.0.162:8082/project/9ca14918-5f61-4178-a0d4-d76e16a4494a 2026-08-21 13:33:43,299 - INFO - Validated that VN ctest-vn-39120882 is not found in API Server 2026-08-21 13:33:43,310 - DEBUG - VN ctest-vn-39120882 is not present in Agent 10.0.0.162 2026-08-21 13:33:43,310 - INFO - Validated that VN ctest-vn-39120882 is not in any agent 2026-08-21 13:33:43,326 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39120882 info 2026-08-21 13:33:43,589 - DEBUG - No XMPP flaps were noticed during the test
2026-08-21 13:33:43,589 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:06]
2026-08-21 13:33:43,590 - INFO - -------------------------------------------------------------------------------- 2026-08-21 13:33:44,358 - INFO - Deleted project: ctest-TestBasicPolicy-00034804, ID : 9ca14918-5f61-4178-a0d4-d76e16a4494a