2026-03-25 13:06:08,264 - INFO - Domain Default found not creating 2026-03-25 13:06:08,447 - INFO - Project ctest-TestBasicPolicy-81128708 not found, creating it 2026-03-25 13:06:08,918 - INFO - Created Project:ctest-TestBasicPolicy-81128708, ID : 7121e3c3-74bf-41c3-a921-2797dd2f87f4 2026-03-25 13:06:10,378 - INFO - ================================================================================ 2026-03-25 13:06:10,378 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-25 13:06:10,378 - 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-25 13:06:10,633 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-03-25 13:06:10,633 - INFO - Initial checks done. Running the testcase now 2026-03-25 13:06:10,633 - INFO - 2026-03-25 13:06:11,192 - DEBUG - Response for create_network : {'network': {'id': '2a638270-14b5-4dde-90f7-6b70825353e8', 'name': 'ctest-vn-39068232', 'tenant_id': '7121e3c374bf41c3a9212797dd2f87f4', 'project_id': '7121e3c374bf41c3a9212797dd2f87f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81128708', 'ctest-vn-39068232'], 'port_security_enabled': True, 'description': ''}} 2026-03-25 13:06:11,366 - DEBUG - Response for create_subnet : {'subnet': {'id': '138f82ea-2477-4ea5-8fe7-d88b9e8e5ae1', 'name': '', 'tenant_id': '7121e3c374bf41c3a9212797dd2f87f4', 'network_id': '2a638270-14b5-4dde-90f7-6b70825353e8', 'ip_version': 4, 'cidr': '154.170.97.0/26', 'allocation_pools': [{'start': '154.170.97.2', 'end': '154.170.97.62'}], 'gateway_ip': '154.170.97.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.170.97.2', 'tags': [], 'project_id': '7121e3c374bf41c3a9212797dd2f87f4'}} 2026-03-25 13:06:11,383 - INFO - Created VN ctest-vn-39068232 2026-03-25 13:06:11,434 - DEBUG - VN ctest-vn-39068232 UUID is 2a638270-14b5-4dde-90f7-6b70825353e8 2026-03-25 13:06:11,737 - DEBUG - Response for create_network : {'network': {'id': 'dbd6d542-6504-4958-baf2-6ef4a824af15', 'name': 'ctest-vn-55462280', 'tenant_id': '7121e3c374bf41c3a9212797dd2f87f4', 'project_id': '7121e3c374bf41c3a9212797dd2f87f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81128708', 'ctest-vn-55462280'], 'port_security_enabled': True, 'description': ''}} 2026-03-25 13:06:11,907 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e9e5e5c-5c7d-44dd-bdf4-2281f71585f8', 'name': '', 'tenant_id': '7121e3c374bf41c3a9212797dd2f87f4', 'network_id': 'dbd6d542-6504-4958-baf2-6ef4a824af15', 'ip_version': 4, 'cidr': '111.62.186.0/26', 'allocation_pools': [{'start': '111.62.186.2', 'end': '111.62.186.62'}], 'gateway_ip': '111.62.186.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.62.186.2', 'tags': [], 'project_id': '7121e3c374bf41c3a9212797dd2f87f4'}} 2026-03-25 13:06:11,923 - INFO - Created VN ctest-vn-55462280 2026-03-25 13:06:11,974 - DEBUG - VN ctest-vn-55462280 UUID is dbd6d542-6504-4958-baf2-6ef4a824af15 2026-03-25 13:06:12,122 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-39068232, 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-81128708:ctest-vn-55462280, 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-25 13:06:12,404 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2a638270-14b5-4dde-90f7-6b70825353e8', 'name': 'ctest-vn-39068232', 'tenant_id': '7121e3c374bf41c3a9212797dd2f87f4', 'project_id': '7121e3c374bf41c3a9212797dd2f87f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['138f82ea-2477-4ea5-8fe7-d88b9e8e5ae1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81128708', 'ctest-vn-39068232'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81128708', 'ctest-policy-allow-all-43025149']], 'subnet_ipam': [{'subnet_cidr': '154.170.97.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-25 13:06:12,635 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dbd6d542-6504-4958-baf2-6ef4a824af15', 'name': 'ctest-vn-55462280', 'tenant_id': '7121e3c374bf41c3a9212797dd2f87f4', 'project_id': '7121e3c374bf41c3a9212797dd2f87f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3e9e5e5c-5c7d-44dd-bdf4-2281f71585f8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81128708', 'ctest-vn-55462280'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81128708', 'ctest-policy-allow-all-43025149']], 'subnet_ipam': [{'subnet_cidr': '111.62.186.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-25 13:06:12,795 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-25 13:06:13,101 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-25 13:06:13,132 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08658db1-ecf9-4e19-9d2a-05da57c96364 2026-03-25 13:06:13,143 - DEBUG - Requesting: http://10.0.0.38:8082/project/7121e3c3-74bf-41c3-a921-2797dd2f87f4 2026-03-25 13:06:13,213 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2a638270-14b5-4dde-90f7-6b70825353e8 2026-03-25 13:06:13,223 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2a638270-14b5-4dde-90f7-6b70825353e8 2026-03-25 13:06:13,232 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c2fc239-f54f-498f-b749-113bd38ec68b 2026-03-25 13:06:13,239 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c2fc239-f54f-498f-b749-113bd38ec68b 2026-03-25 13:06:13,246 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/909e7825-41cb-402e-badd-98200e82aee9 2026-03-25 13:06:13,252 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-25 13:06:13,252 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2a638270-14b5-4dde-90f7-6b70825353e8 2026-03-25 13:06:13,260 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c2fc239-f54f-498f-b749-113bd38ec68b 2026-03-25 13:06:13,272 - INFO - Verified VN network id 11 for VN 2a638270-14b5-4dde-90f7-6b70825353e8 2026-03-25 13:06:13,272 - INFO - Verifications in API Server for VN ctest-vn-39068232 passed 2026-03-25 13:06:13,272 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2a638270-14b5-4dde-90f7-6b70825353e8 2026-03-25 13:06:13,280 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c2fc239-f54f-498f-b749-113bd38ec68b 2026-03-25 13:06:13,286 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c2fc239-f54f-498f-b749-113bd38ec68b 2026-03-25 13:06:13,292 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/909e7825-41cb-402e-badd-98200e82aee9 2026-03-25 13:06:13,302 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-39068232', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81128708', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3054428390182702558', 'uuid-lslong': '10445935991676163048'}, 'enable': 'true', 'created': '2026-03-25T13:06:11', 'last-modified': '2026-03-25T13:06:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.915328'} 2026-03-25 13:06:13,307 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-25 13:06:13,307 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39068232 passed 2026-03-25 13:06:13,307 - DEBUG - ====Verifying policy data for ctest-vn-39068232 in API_Server ====== 2026-03-25 13:06:13,307 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-25 13:06:13,313 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08658db1-ecf9-4e19-9d2a-05da57c96364 2026-03-25 13:06:13,323 - DEBUG - Requesting: http://10.0.0.38:8082/project/7121e3c3-74bf-41c3-a921-2797dd2f87f4 2026-03-25 13:06:13,397 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2a638270-14b5-4dde-90f7-6b70825353e8 2026-03-25 13:06:13,406 - DEBUG - ==>Verifying data for policy with id: 6f974181-2dbe-4605-a6a1-d8cc51ad8c4f, fqn: ['default-domain', 'ctest-TestBasicPolicy-81128708', 'ctest-policy-allow-all-43025149'] 2026-03-25 13:06:13,406 - INFO - VN ctest-vn-39068232 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-25 13:06:13,406 - DEBUG - Verifying the vn in opserver 2026-03-25 13:06:13,407 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-39068232 virtual network link through opserver 10.0.0.38 2026-03-25 13:06:13,407 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-25 13:06:13,697 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-25 13:06:13,757 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-39068232', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-39068232?flat'} 2026-03-25 13:06:13,757 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-39068232 is found in opserver 2026-03-25 13:06:13,767 - DEBUG - Do not have enough data to verify VN in agent 2026-03-25 13:06:13,772 - DEBUG - VRF ids for VN ctest-vn-39068232: {} 2026-03-25 13:06:13,772 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-25 13:06:13,777 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08658db1-ecf9-4e19-9d2a-05da57c96364 2026-03-25 13:06:13,787 - DEBUG - Requesting: http://10.0.0.38:8082/project/7121e3c3-74bf-41c3-a921-2797dd2f87f4 2026-03-25 13:06:13,856 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dbd6d542-6504-4958-baf2-6ef4a824af15 2026-03-25 13:06:13,868 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dbd6d542-6504-4958-baf2-6ef4a824af15 2026-03-25 13:06:13,877 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dbe9375e-8b3c-4f07-88ae-f79898e9547c 2026-03-25 13:06:13,886 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dbe9375e-8b3c-4f07-88ae-f79898e9547c 2026-03-25 13:06:13,893 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4420e146-af6d-4ddd-be35-331fd4a0b09e 2026-03-25 13:06:13,900 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-25 13:06:13,900 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dbd6d542-6504-4958-baf2-6ef4a824af15 2026-03-25 13:06:13,909 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dbe9375e-8b3c-4f07-88ae-f79898e9547c 2026-03-25 13:06:13,923 - INFO - Verified VN network id 12 for VN dbd6d542-6504-4958-baf2-6ef4a824af15 2026-03-25 13:06:13,923 - INFO - Verifications in API Server for VN ctest-vn-55462280 passed 2026-03-25 13:06:13,923 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dbd6d542-6504-4958-baf2-6ef4a824af15 2026-03-25 13:06:13,932 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dbe9375e-8b3c-4f07-88ae-f79898e9547c 2026-03-25 13:06:13,938 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dbe9375e-8b3c-4f07-88ae-f79898e9547c 2026-03-25 13:06:13,945 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4420e146-af6d-4ddd-be35-331fd4a0b09e 2026-03-25 13:06:13,957 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-55462280', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81128708', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15841083220461635928', 'uuid-lslong': '13470951432490626837'}, 'enable': 'true', 'created': '2026-03-25T13:06:11', 'last-modified': '2026-03-25T13:06:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.345001'} 2026-03-25 13:06:13,962 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-25 13:06:13,962 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55462280 passed 2026-03-25 13:06:13,962 - DEBUG - ====Verifying policy data for ctest-vn-55462280 in API_Server ====== 2026-03-25 13:06:13,962 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-25 13:06:13,967 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08658db1-ecf9-4e19-9d2a-05da57c96364 2026-03-25 13:06:13,977 - DEBUG - Requesting: http://10.0.0.38:8082/project/7121e3c3-74bf-41c3-a921-2797dd2f87f4 2026-03-25 13:06:14,049 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dbd6d542-6504-4958-baf2-6ef4a824af15 2026-03-25 13:06:14,058 - DEBUG - ==>Verifying data for policy with id: 6f974181-2dbe-4605-a6a1-d8cc51ad8c4f, fqn: ['default-domain', 'ctest-TestBasicPolicy-81128708', 'ctest-policy-allow-all-43025149'] 2026-03-25 13:06:14,058 - INFO - VN ctest-vn-55462280 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-25 13:06:14,058 - DEBUG - Verifying the vn in opserver 2026-03-25 13:06:14,058 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-55462280 virtual network link through opserver 10.0.0.38 2026-03-25 13:06:14,058 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-25 13:06:14,067 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-55462280', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-55462280?flat'} 2026-03-25 13:06:14,067 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-55462280 is found in opserver 2026-03-25 13:06:14,075 - DEBUG - Do not have enough data to verify VN in agent 2026-03-25 13:06:14,079 - DEBUG - VRF ids for VN ctest-vn-55462280: {} 2026-03-25 13:06:14,136 - DEBUG - Services list from nova: [, , ] 2026-03-25 13:06:15,151 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5539-1) 2026-03-25 13:06:16,260 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5539-1) 2026-03-25 13:06:16,260 - INFO - Waiting for VM ctest-TestBasicPolicy-81128708-83670030 to be up.. 2026-03-25 13:06:16,339 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-25 13:06:21,409 - DEBUG - VM is in ACTIVE state now 2026-03-25 13:06:21,409 - INFO - VM name : ctest-TestBasicPolicy-81128708-83670030 2026-03-25 13:06:21,475 - DEBUG - VM ctest-TestBasicPolicy-81128708-83670030 ID is d0133852-b29e-418e-b16e-92530d8e90b4 2026-03-25 13:06:21,493 - DEBUG - VM ctest-TestBasicPolicy-81128708-83670030 launched on Node cn-jenkins-deploy-platform-ansible-os-5539-1 2026-03-25 13:06:21,562 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d0133852-b29e-418e-b16e-92530d8e90b4 2026-03-25 13:06:21,570 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e08e1266-ddd6-451a-8171-10170e05e28e 2026-03-25 13:06:24,804 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms') 2026-03-25 13:06:24,804 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81128708-83670030 failed! 2026-03-25 13:06:24,858 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-81128708:ctest-vn-39068232 is 154.170.97.1 and allocation pool is NOT set 2026-03-25 13:06:26,919 - 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=2.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 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.431/1.690/2.950/1.259 ms') 2026-03-25 13:06:26,919 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81128708-83670030 passed 2026-03-25 13:06:27,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-25 13:06:27,067 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81128708-83670030, IP 154.170.97.3, Port 22 2026-03-25 13:06:27,223 - DEBUG - VM ctest-TestBasicPolicy-81128708-83670030 is ready for SSH connections 2026-03-25 13:06:27,223 - INFO - Waiting for VM ctest-TestBasicPolicy-81128708-55086701 to be up.. 2026-03-25 13:06:27,294 - DEBUG - VM is in ACTIVE state now 2026-03-25 13:06:27,294 - INFO - VM name : ctest-TestBasicPolicy-81128708-55086701 2026-03-25 13:06:27,365 - DEBUG - VM ctest-TestBasicPolicy-81128708-55086701 ID is 4873f78d-b84e-4604-b8a0-39868a1072f6 2026-03-25 13:06:27,366 - DEBUG - VM ctest-TestBasicPolicy-81128708-55086701 launched on Node cn-jenkins-deploy-platform-ansible-os-5539-1 2026-03-25 13:06:27,438 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4873f78d-b84e-4604-b8a0-39868a1072f6 2026-03-25 13:06:27,445 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/48e54e92-e7fb-404e-9109-df282413a0e9 2026-03-25 13:06:28,676 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.677 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.677/2.184/3.692/1.507 ms') 2026-03-25 13:06:28,676 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-81128708-55086701 passed 2026-03-25 13:06:28,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-25 13:06:28,830 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81128708-55086701, IP 111.62.186.3, Port 22 2026-03-25 13:06:28,987 - DEBUG - VM ctest-TestBasicPolicy-81128708-55086701 is ready for SSH connections 2026-03-25 13:06:28,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-25 13:06:28,987 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.62.186.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-25 13:06:28,987 - DEBUG - ping -s 56 -c 3 -W 1 111.62.186.3 2026-03-25 13:06:32,987 - DEBUG - PING 111.62.186.3 (111.62.186.3): 56 data bytes 64 bytes from 111.62.186.3: seq=0 ttl=63 time=3.648 ms 64 bytes from 111.62.186.3: seq=1 ttl=63 time=0.973 ms 64 bytes from 111.62.186.3: seq=2 ttl=63 time=0.777 ms --- 111.62.186.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.777/1.799/3.648 ms 2026-03-25 13:06:32,987 - INFO - Ping to IP 111.62.186.3 from VM ctest-TestBasicPolicy-81128708-83670030 passed 2026-03-25 13:06:33,162 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6f974181-2dbe-4605-a6a1-d8cc51ad8c4f", "href": "http://10.0.0.38:8082/network-policy/6f974181-2dbe-4605-a6a1-d8cc51ad8c4f"}} 2026-03-25 13:06:33,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-25 13:06:33,162 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.62.186.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-25 13:06:33,163 - DEBUG - ping -s 56 -c 3 -W 1 111.62.186.3 2026-03-25 13:06:36,365 - DEBUG - PING 111.62.186.3 (111.62.186.3): 56 data bytes --- 111.62.186.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-25 13:06:36,365 - WARNING - Ping to IP 111.62.186.3 from VM ctest-TestBasicPolicy-81128708-83670030 failed 2026-03-25 13:06:36,365 - INFO - Deleting VM ctest-TestBasicPolicy-81128708-55086701 2026-03-25 13:06:36,428 - INFO - Deleting VM ctest-TestBasicPolicy-81128708-83670030 2026-03-25 13:06:36,772 - INFO - Deleted policy ctest-policy-allow-all-43025149 2026-03-25 13:06:36,772 - INFO - Deleting VN ctest-vn-55462280 2026-03-25 13:06:36,805 - DEBUG - VN dbd6d542-6504-4958-baf2-6ef4a824af15 still in use: Unable to complete operation on network dbd6d542-6504-4958-baf2-6ef4a824af15. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-52107502-a4f4-406a-a4a8-171657e2f956'] 2026-03-25 13:06:36,806 - WARNING - Deleting VN ctest-vn-55462280 failed..Will retry 2026-03-25 13:06:38,902 - DEBUG - Response for deleting network () 2026-03-25 13:06:38,902 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/dbe9375e-8b3c-4f07-88ae-f79898e9547c 2026-03-25 13:06:38,907 - DEBUG - Response Code: 404 2026-03-25 13:06:38,907 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-25 13:06:38,911 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08658db1-ecf9-4e19-9d2a-05da57c96364 2026-03-25 13:06:38,963 - DEBUG - Requesting: http://10.0.0.38:8082/project/7121e3c3-74bf-41c3-a921-2797dd2f87f4 2026-03-25 13:06:39,039 - INFO - Validated that VN ctest-vn-55462280 is not found in API Server 2026-03-25 13:06:39,049 - DEBUG - VN ctest-vn-55462280 is not present in Agent 10.0.0.38 2026-03-25 13:06:39,049 - INFO - Validated that VN ctest-vn-55462280 is not in any agent 2026-03-25 13:06:39,064 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55462280 info 2026-03-25 13:06:39,064 - INFO - Deleting VN ctest-vn-39068232 2026-03-25 13:06:39,158 - DEBUG - Response for deleting network () 2026-03-25 13:06:39,158 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c2fc239-f54f-498f-b749-113bd38ec68b 2026-03-25 13:06:39,163 - DEBUG - Response Code: 404 2026-03-25 13:06:39,163 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-25 13:06:39,168 - DEBUG - Requesting: http://10.0.0.38:8082/domain/08658db1-ecf9-4e19-9d2a-05da57c96364 2026-03-25 13:06:39,219 - DEBUG - Requesting: http://10.0.0.38:8082/project/7121e3c3-74bf-41c3-a921-2797dd2f87f4 2026-03-25 13:06:39,292 - INFO - Validated that VN ctest-vn-39068232 is not found in API Server 2026-03-25 13:06:39,300 - DEBUG - VN ctest-vn-39068232 is not present in Agent 10.0.0.38 2026-03-25 13:06:39,300 - INFO - Validated that VN ctest-vn-39068232 is not in any agent 2026-03-25 13:06:39,313 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39068232 info 2026-03-25 13:06:39,571 - DEBUG - No XMPP flaps were noticed during the test
2026-03-25 13:06:39,571 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-03-25 13:06:39,571 - INFO - -------------------------------------------------------------------------------- 2026-03-25 13:06:40,253 - INFO - Deleted project: ctest-TestBasicPolicy-81128708, ID : 7121e3c3-74bf-41c3-a921-2797dd2f87f4