2026-03-23 02:01:37,549 - INFO - Domain Default found not creating 2026-03-23 02:01:37,711 - INFO - Project ctest-TestBasicPolicy-04542310 not found, creating it 2026-03-23 02:01:38,167 - INFO - Created Project:ctest-TestBasicPolicy-04542310, ID : 87c8e9e1-190d-40d5-bb2a-5db4f72501fc 2026-03-23 02:01:39,599 - INFO - ================================================================================ 2026-03-23 02:01:39,599 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-23 02:01:39,599 - 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-23 02:01:39,853 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2026-03-23 02:01:39,853 - INFO - Initial checks done. Running the testcase now 2026-03-23 02:01:39,853 - INFO - 2026-03-23 02:01:40,398 - DEBUG - Response for create_network : {'network': {'id': '2232fe6e-caea-4209-b281-7003685b8a02', 'name': 'ctest-vn-66730226', 'tenant_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'project_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04542310', 'ctest-vn-66730226'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 02:01:40,565 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2006be7-0ab7-44a6-8e5f-5c413d09bd53', 'name': '', 'tenant_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'network_id': '2232fe6e-caea-4209-b281-7003685b8a02', 'ip_version': 4, 'cidr': '8.19.141.0/26', 'allocation_pools': [{'start': '8.19.141.2', 'end': '8.19.141.62'}], 'gateway_ip': '8.19.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.19.141.2', 'tags': [], 'project_id': '87c8e9e1190d40d5bb2a5db4f72501fc'}} 2026-03-23 02:01:40,580 - INFO - Created VN ctest-vn-66730226 2026-03-23 02:01:40,632 - DEBUG - VN ctest-vn-66730226 UUID is 2232fe6e-caea-4209-b281-7003685b8a02 2026-03-23 02:01:40,948 - DEBUG - Response for create_network : {'network': {'id': '82396fc1-999c-48b7-9699-370a155b2a40', 'name': 'ctest-vn-47677642', 'tenant_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'project_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04542310', 'ctest-vn-47677642'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 02:01:41,091 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eac1a7a5-7105-4ec0-b78a-c76369b4fbf2', 'name': '', 'tenant_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'network_id': '82396fc1-999c-48b7-9699-370a155b2a40', 'ip_version': 4, 'cidr': '179.35.243.128/26', 'allocation_pools': [{'start': '179.35.243.130', 'end': '179.35.243.190'}], 'gateway_ip': '179.35.243.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.35.243.130', 'tags': [], 'project_id': '87c8e9e1190d40d5bb2a5db4f72501fc'}} 2026-03-23 02:01:41,108 - INFO - Created VN ctest-vn-47677642 2026-03-23 02:01:41,160 - DEBUG - VN ctest-vn-47677642 UUID is 82396fc1-999c-48b7-9699-370a155b2a40 2026-03-23 02:01:41,312 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-66730226, 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-04542310:ctest-vn-47677642, 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-23 02:01:41,602 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2232fe6e-caea-4209-b281-7003685b8a02', 'name': 'ctest-vn-66730226', 'tenant_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'project_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b2006be7-0ab7-44a6-8e5f-5c413d09bd53'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04542310', 'ctest-vn-66730226'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04542310', 'ctest-policy-allow-all-84966837']], 'subnet_ipam': [{'subnet_cidr': '8.19.141.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-23 02:01:41,869 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '82396fc1-999c-48b7-9699-370a155b2a40', 'name': 'ctest-vn-47677642', 'tenant_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'project_id': '87c8e9e1190d40d5bb2a5db4f72501fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eac1a7a5-7105-4ec0-b78a-c76369b4fbf2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04542310', 'ctest-vn-47677642'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04542310', 'ctest-policy-allow-all-84966837']], 'subnet_ipam': [{'subnet_cidr': '179.35.243.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-23 02:01:42,012 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-23 02:01:42,308 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-23 02:01:42,343 - DEBUG - Requesting: http://10.0.0.141:8082/domain/0707edb3-05c0-4f5e-9b5f-e37fd6cecc6c 2026-03-23 02:01:42,354 - DEBUG - Requesting: http://10.0.0.141:8082/project/87c8e9e1-190d-40d5-bb2a-5db4f72501fc 2026-03-23 02:01:42,423 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2232fe6e-caea-4209-b281-7003685b8a02 2026-03-23 02:01:42,433 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2232fe6e-caea-4209-b281-7003685b8a02 2026-03-23 02:01:42,442 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9b420496-ede4-4699-896d-80b04a8ad7ac 2026-03-23 02:01:42,449 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9b420496-ede4-4699-896d-80b04a8ad7ac 2026-03-23 02:01:42,455 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/ff710d7e-2eb4-48d9-909f-782a4fad3dc7 2026-03-23 02:01:42,461 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-23 02:01:42,461 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2232fe6e-caea-4209-b281-7003685b8a02 2026-03-23 02:01:42,469 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9b420496-ede4-4699-896d-80b04a8ad7ac 2026-03-23 02:01:42,482 - INFO - Verified VN network id 11 for VN 2232fe6e-caea-4209-b281-7003685b8a02 2026-03-23 02:01:42,482 - INFO - Verifications in API Server for VN ctest-vn-66730226 passed 2026-03-23 02:01:42,482 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2232fe6e-caea-4209-b281-7003685b8a02 2026-03-23 02:01:42,492 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9b420496-ede4-4699-896d-80b04a8ad7ac 2026-03-23 02:01:42,500 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9b420496-ede4-4699-896d-80b04a8ad7ac 2026-03-23 02:01:42,507 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/ff710d7e-2eb4-48d9-909f-782a4fad3dc7 2026-03-23 02:01:42,518 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-66730226', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04542310', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2464311697929290249', 'uuid-lslong': '12862685170684889602'}, 'enable': 'true', 'created': '2026-03-23T02:01:40', 'last-modified': '2026-03-23T02:01:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.943706'} 2026-03-23 02:01:42,525 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-23 02:01:42,525 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66730226 passed 2026-03-23 02:01:42,525 - DEBUG - ====Verifying policy data for ctest-vn-66730226 in API_Server ====== 2026-03-23 02:01:42,529 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-23 02:01:42,534 - DEBUG - Requesting: http://10.0.0.141:8082/domain/0707edb3-05c0-4f5e-9b5f-e37fd6cecc6c 2026-03-23 02:01:42,545 - DEBUG - Requesting: http://10.0.0.141:8082/project/87c8e9e1-190d-40d5-bb2a-5db4f72501fc 2026-03-23 02:01:42,613 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2232fe6e-caea-4209-b281-7003685b8a02 2026-03-23 02:01:42,622 - DEBUG - ==>Verifying data for policy with id: f2c0ec43-0da5-4324-906d-3d61b1013f4d, fqn: ['default-domain', 'ctest-TestBasicPolicy-04542310', 'ctest-policy-allow-all-84966837'] 2026-03-23 02:01:42,622 - INFO - VN ctest-vn-66730226 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-23 02:01:42,622 - DEBUG - Verifying the vn in opserver 2026-03-23 02:01:42,622 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-66730226 virtual network link through opserver 10.0.0.141 2026-03-23 02:01:42,622 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-23 02:01:42,912 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-23 02:01:42,969 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-66730226', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-66730226?flat'} 2026-03-23 02:01:42,969 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-66730226 is found in opserver 2026-03-23 02:01:42,978 - DEBUG - Do not have enough data to verify VN in agent 2026-03-23 02:01:42,983 - DEBUG - VRF ids for VN ctest-vn-66730226: {} 2026-03-23 02:01:42,983 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-23 02:01:42,987 - DEBUG - Requesting: http://10.0.0.141:8082/domain/0707edb3-05c0-4f5e-9b5f-e37fd6cecc6c 2026-03-23 02:01:42,996 - DEBUG - Requesting: http://10.0.0.141:8082/project/87c8e9e1-190d-40d5-bb2a-5db4f72501fc 2026-03-23 02:01:43,063 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/82396fc1-999c-48b7-9699-370a155b2a40 2026-03-23 02:01:43,073 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/82396fc1-999c-48b7-9699-370a155b2a40 2026-03-23 02:01:43,081 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9685a19c-1719-4771-8755-d22604095b7d 2026-03-23 02:01:43,087 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9685a19c-1719-4771-8755-d22604095b7d 2026-03-23 02:01:43,092 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/962cabc5-4601-421e-ab61-597cc3f1600d 2026-03-23 02:01:43,098 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-23 02:01:43,098 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/82396fc1-999c-48b7-9699-370a155b2a40 2026-03-23 02:01:43,106 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9685a19c-1719-4771-8755-d22604095b7d 2026-03-23 02:01:43,118 - INFO - Verified VN network id 12 for VN 82396fc1-999c-48b7-9699-370a155b2a40 2026-03-23 02:01:43,119 - INFO - Verifications in API Server for VN ctest-vn-47677642 passed 2026-03-23 02:01:43,119 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/82396fc1-999c-48b7-9699-370a155b2a40 2026-03-23 02:01:43,127 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9685a19c-1719-4771-8755-d22604095b7d 2026-03-23 02:01:43,134 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9685a19c-1719-4771-8755-d22604095b7d 2026-03-23 02:01:43,140 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/962cabc5-4601-421e-ab61-597cc3f1600d 2026-03-23 02:01:43,150 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-47677642', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04542310', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9383654175899666615', 'uuid-lslong': '10851765293573417536'}, 'enable': 'true', 'created': '2026-03-23T02:01:40', 'last-modified': '2026-03-23T02:01:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.348798'} 2026-03-23 02:01:43,157 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-23 02:01:43,157 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47677642 passed 2026-03-23 02:01:43,157 - DEBUG - ====Verifying policy data for ctest-vn-47677642 in API_Server ====== 2026-03-23 02:01:43,157 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-23 02:01:43,162 - DEBUG - Requesting: http://10.0.0.141:8082/domain/0707edb3-05c0-4f5e-9b5f-e37fd6cecc6c 2026-03-23 02:01:43,174 - DEBUG - Requesting: http://10.0.0.141:8082/project/87c8e9e1-190d-40d5-bb2a-5db4f72501fc 2026-03-23 02:01:43,238 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/82396fc1-999c-48b7-9699-370a155b2a40 2026-03-23 02:01:43,247 - DEBUG - ==>Verifying data for policy with id: f2c0ec43-0da5-4324-906d-3d61b1013f4d, fqn: ['default-domain', 'ctest-TestBasicPolicy-04542310', 'ctest-policy-allow-all-84966837'] 2026-03-23 02:01:43,247 - INFO - VN ctest-vn-47677642 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-23 02:01:43,247 - DEBUG - Verifying the vn in opserver 2026-03-23 02:01:43,247 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-47677642 virtual network link through opserver 10.0.0.141 2026-03-23 02:01:43,247 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-03-23 02:01:43,255 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-47677642', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-47677642?flat'} 2026-03-23 02:01:43,255 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-47677642 is found in opserver 2026-03-23 02:01:43,264 - DEBUG - Do not have enough data to verify VN in agent 2026-03-23 02:01:43,268 - DEBUG - VRF ids for VN ctest-vn-47677642: {} 2026-03-23 02:01:43,321 - DEBUG - Services list from nova: [, , ] 2026-03-23 02:01:44,354 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5511-1) 2026-03-23 02:01:45,501 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5511-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5511-1) 2026-03-23 02:01:45,501 - INFO - Waiting for VM ctest-TestBasicPolicy-04542310-83795019 to be up.. 2026-03-23 02:01:45,600 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-23 02:01:50,671 - DEBUG - VM is in ACTIVE state now 2026-03-23 02:01:50,672 - INFO - VM name : ctest-TestBasicPolicy-04542310-83795019 2026-03-23 02:01:50,739 - DEBUG - VM ctest-TestBasicPolicy-04542310-83795019 ID is 2dca9bcc-6033-4704-994b-3895f710d079 2026-03-23 02:01:50,756 - DEBUG - VM ctest-TestBasicPolicy-04542310-83795019 launched on Node cn-jenkins-deploy-platform-ansible-os-5511-1 2026-03-23 02:01:50,822 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2dca9bcc-6033-4704-994b-3895f710d079 2026-03-23 02:01:50,829 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e6b800dd-80d7-4010-a167-85de0cce033c 2026-03-23 02:01:54,081 - 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-03-23 02:01:54,081 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04542310-83795019 failed! 2026-03-23 02:01:54,136 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04542310:ctest-vn-66730226 is 8.19.141.1 and allocation pool is NOT set 2026-03-23 02:01:58,209 - 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=2 ttl=63 time=3.99 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 3.994/3.994/3.994/0.000 ms') 2026-03-23 02:01:58,209 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04542310-83795019 passed 2026-03-23 02:01:58,364 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 02:01:58,364 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04542310-83795019, IP 8.19.141.3, Port 22 2026-03-23 02:01:58,524 - DEBUG - VM ctest-TestBasicPolicy-04542310-83795019 is ready for SSH connections 2026-03-23 02:01:58,524 - INFO - Waiting for VM ctest-TestBasicPolicy-04542310-53771100 to be up.. 2026-03-23 02:01:58,593 - DEBUG - VM is in ACTIVE state now 2026-03-23 02:01:58,594 - INFO - VM name : ctest-TestBasicPolicy-04542310-53771100 2026-03-23 02:01:58,660 - DEBUG - VM ctest-TestBasicPolicy-04542310-53771100 ID is 34e9d205-6f6b-4880-bfef-485f7defb31e 2026-03-23 02:01:58,660 - DEBUG - VM ctest-TestBasicPolicy-04542310-53771100 launched on Node cn-jenkins-deploy-platform-ansible-os-5511-1 2026-03-23 02:01:58,728 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/34e9d205-6f6b-4880-bfef-485f7defb31e 2026-03-23 02:01:58,735 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/45f93ce4-887a-4e6d-9701-1fb53b122313 2026-03-23 02:01:59,964 - 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=2.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/1.577/2.747/1.170 ms') 2026-03-23 02:01:59,964 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04542310-53771100 passed 2026-03-23 02:02:00,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 02:02:00,112 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04542310-53771100, IP 179.35.243.131, Port 22 2026-03-23 02:02:00,267 - DEBUG - VM ctest-TestBasicPolicy-04542310-53771100 is ready for SSH connections 2026-03-23 02:02:00,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 02:02:00,268 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.35.243.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-23 02:02:00,268 - DEBUG - ping -s 56 -c 3 -W 1 179.35.243.131 2026-03-23 02:02:04,270 - DEBUG - PING 179.35.243.131 (179.35.243.131): 56 data bytes 64 bytes from 179.35.243.131: seq=0 ttl=63 time=3.448 ms 64 bytes from 179.35.243.131: seq=1 ttl=63 time=1.021 ms 64 bytes from 179.35.243.131: seq=2 ttl=63 time=0.770 ms --- 179.35.243.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.770/1.746/3.448 ms 2026-03-23 02:02:04,270 - INFO - Ping to IP 179.35.243.131 from VM ctest-TestBasicPolicy-04542310-83795019 passed 2026-03-23 02:02:04,452 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f2c0ec43-0da5-4324-906d-3d61b1013f4d", "href": "http://10.0.0.141:8082/network-policy/f2c0ec43-0da5-4324-906d-3d61b1013f4d"}} 2026-03-23 02:02:04,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 02:02:04,452 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.35.243.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-23 02:02:04,452 - DEBUG - ping -s 56 -c 3 -W 1 179.35.243.131 2026-03-23 02:02:07,655 - DEBUG - PING 179.35.243.131 (179.35.243.131): 56 data bytes --- 179.35.243.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-23 02:02:07,656 - WARNING - Ping to IP 179.35.243.131 from VM ctest-TestBasicPolicy-04542310-83795019 failed 2026-03-23 02:02:07,656 - INFO - Deleting VM ctest-TestBasicPolicy-04542310-53771100 2026-03-23 02:02:07,723 - INFO - Deleting VM ctest-TestBasicPolicy-04542310-83795019 2026-03-23 02:02:08,112 - INFO - Deleted policy ctest-policy-allow-all-84966837 2026-03-23 02:02:08,112 - INFO - Deleting VN ctest-vn-47677642 2026-03-23 02:02:08,152 - DEBUG - VN 82396fc1-999c-48b7-9699-370a155b2a40 still in use: Unable to complete operation on network 82396fc1-999c-48b7-9699-370a155b2a40. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ad1b6ff3-a7ee-4c03-878c-b8050b4bb79c'] 2026-03-23 02:02:08,152 - WARNING - Deleting VN ctest-vn-47677642 failed..Will retry 2026-03-23 02:02:10,251 - DEBUG - Response for deleting network () 2026-03-23 02:02:10,251 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9685a19c-1719-4771-8755-d22604095b7d 2026-03-23 02:02:10,257 - DEBUG - Response Code: 404 2026-03-23 02:02:10,257 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-23 02:02:10,262 - DEBUG - Requesting: http://10.0.0.141:8082/domain/0707edb3-05c0-4f5e-9b5f-e37fd6cecc6c 2026-03-23 02:02:10,313 - DEBUG - Requesting: http://10.0.0.141:8082/project/87c8e9e1-190d-40d5-bb2a-5db4f72501fc 2026-03-23 02:02:10,387 - INFO - Validated that VN ctest-vn-47677642 is not found in API Server 2026-03-23 02:02:10,396 - DEBUG - VN ctest-vn-47677642 is not present in Agent 10.0.0.141 2026-03-23 02:02:10,396 - INFO - Validated that VN ctest-vn-47677642 is not in any agent 2026-03-23 02:02:10,410 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47677642 info 2026-03-23 02:02:10,410 - INFO - Deleting VN ctest-vn-66730226 2026-03-23 02:02:10,503 - DEBUG - Response for deleting network () 2026-03-23 02:02:10,503 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9b420496-ede4-4699-896d-80b04a8ad7ac 2026-03-23 02:02:10,508 - DEBUG - Response Code: 404 2026-03-23 02:02:10,508 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-03-23 02:02:10,515 - DEBUG - Requesting: http://10.0.0.141:8082/domain/0707edb3-05c0-4f5e-9b5f-e37fd6cecc6c 2026-03-23 02:02:10,568 - DEBUG - Requesting: http://10.0.0.141:8082/project/87c8e9e1-190d-40d5-bb2a-5db4f72501fc 2026-03-23 02:02:10,636 - INFO - Validated that VN ctest-vn-66730226 is not found in API Server 2026-03-23 02:02:10,645 - DEBUG - VN ctest-vn-66730226 is not present in Agent 10.0.0.141 2026-03-23 02:02:10,645 - INFO - Validated that VN ctest-vn-66730226 is not in any agent 2026-03-23 02:02:10,658 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66730226 info 2026-03-23 02:02:10,914 - DEBUG - No XMPP flaps were noticed during the test
2026-03-23 02:02:10,914 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2026-03-23 02:02:10,914 - INFO - -------------------------------------------------------------------------------- 2026-03-23 02:02:11,586 - INFO - Deleted project: ctest-TestBasicPolicy-04542310, ID : 87c8e9e1-190d-40d5-bb2a-5db4f72501fc