2026-03-23 15:24:39,378 - INFO - Domain Default found not creating 2026-03-23 15:24:39,531 - INFO - Project ctest-TestBasicPolicy-85539663 not found, creating it 2026-03-23 15:24:40,028 - INFO - Created Project:ctest-TestBasicPolicy-85539663, ID : f8870ba4-6e06-44b9-9ada-d50d1840eeb3 2026-03-23 15:24:41,498 - INFO - ================================================================================ 2026-03-23 15:24:41,498 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-23 15:24:41,498 - 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 15:24:41,754 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2026-03-23 15:24:41,754 - INFO - Initial checks done. Running the testcase now 2026-03-23 15:24:41,754 - INFO - 2026-03-23 15:24:42,294 - DEBUG - Response for create_network : {'network': {'id': 'a666fc47-f64d-4109-bf57-829f759edd52', 'name': 'ctest-vn-86331476', 'tenant_id': 'f8870ba46e0644b99adad50d1840eeb3', 'project_id': 'f8870ba46e0644b99adad50d1840eeb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85539663', 'ctest-vn-86331476'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:24:42,513 - DEBUG - Response for create_subnet : {'subnet': {'id': '30ad245f-1d66-442d-a007-e3febdb29faa', 'name': '', 'tenant_id': 'f8870ba46e0644b99adad50d1840eeb3', 'network_id': 'a666fc47-f64d-4109-bf57-829f759edd52', 'ip_version': 4, 'cidr': '111.193.131.128/26', 'allocation_pools': [{'start': '111.193.131.130', 'end': '111.193.131.190'}], 'gateway_ip': '111.193.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.193.131.130', 'tags': [], 'project_id': 'f8870ba46e0644b99adad50d1840eeb3'}} 2026-03-23 15:24:42,531 - INFO - Created VN ctest-vn-86331476 2026-03-23 15:24:42,581 - DEBUG - VN ctest-vn-86331476 UUID is a666fc47-f64d-4109-bf57-829f759edd52 2026-03-23 15:24:42,892 - DEBUG - Response for create_network : {'network': {'id': '93e7e4f3-2c03-470b-8623-14c140e34868', 'name': 'ctest-vn-81012415', 'tenant_id': 'f8870ba46e0644b99adad50d1840eeb3', 'project_id': 'f8870ba46e0644b99adad50d1840eeb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85539663', 'ctest-vn-81012415'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:24:43,093 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc056fd0-07be-43ab-a854-9d86e5e41dc6', 'name': '', 'tenant_id': 'f8870ba46e0644b99adad50d1840eeb3', 'network_id': '93e7e4f3-2c03-470b-8623-14c140e34868', 'ip_version': 4, 'cidr': '33.130.202.64/26', 'allocation_pools': [{'start': '33.130.202.66', 'end': '33.130.202.126'}], 'gateway_ip': '33.130.202.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.130.202.66', 'tags': [], 'project_id': 'f8870ba46e0644b99adad50d1840eeb3'}} 2026-03-23 15:24:43,111 - INFO - Created VN ctest-vn-81012415 2026-03-23 15:24:43,161 - DEBUG - VN ctest-vn-81012415 UUID is 93e7e4f3-2c03-470b-8623-14c140e34868 2026-03-23 15:24:43,317 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85539663:ctest-vn-86331476, 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-85539663:ctest-vn-81012415, 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 15:24:43,613 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a666fc47-f64d-4109-bf57-829f759edd52', 'name': 'ctest-vn-86331476', 'tenant_id': 'f8870ba46e0644b99adad50d1840eeb3', 'project_id': 'f8870ba46e0644b99adad50d1840eeb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['30ad245f-1d66-442d-a007-e3febdb29faa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85539663', 'ctest-vn-86331476'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85539663', 'ctest-policy-allow-all-32138349']], 'subnet_ipam': [{'subnet_cidr': '111.193.131.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:24:43,842 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '93e7e4f3-2c03-470b-8623-14c140e34868', 'name': 'ctest-vn-81012415', 'tenant_id': 'f8870ba46e0644b99adad50d1840eeb3', 'project_id': 'f8870ba46e0644b99adad50d1840eeb3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dc056fd0-07be-43ab-a854-9d86e5e41dc6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85539663', 'ctest-vn-81012415'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85539663', 'ctest-policy-allow-all-32138349']], 'subnet_ipam': [{'subnet_cidr': '33.130.202.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:24:44,013 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-23 15:24:44,306 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-23 15:24:44,337 - DEBUG - Requesting: http://10.0.0.19:8082/domain/67ba3f35-d5dc-4a11-a3db-8f140f640d17 2026-03-23 15:24:44,348 - DEBUG - Requesting: http://10.0.0.19:8082/project/f8870ba4-6e06-44b9-9ada-d50d1840eeb3 2026-03-23 15:24:44,418 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a666fc47-f64d-4109-bf57-829f759edd52 2026-03-23 15:24:44,428 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a666fc47-f64d-4109-bf57-829f759edd52 2026-03-23 15:24:44,436 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/068c3c11-a7da-4cf4-b287-f71a8db88684 2026-03-23 15:24:44,442 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/068c3c11-a7da-4cf4-b287-f71a8db88684 2026-03-23 15:24:44,448 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e91de325-8996-404c-b710-5980f93e33c4 2026-03-23 15:24:44,455 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-23 15:24:44,455 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a666fc47-f64d-4109-bf57-829f759edd52 2026-03-23 15:24:44,464 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/068c3c11-a7da-4cf4-b287-f71a8db88684 2026-03-23 15:24:44,477 - INFO - Verified VN network id 11 for VN a666fc47-f64d-4109-bf57-829f759edd52 2026-03-23 15:24:44,477 - INFO - Verifications in API Server for VN ctest-vn-86331476 passed 2026-03-23 15:24:44,478 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a666fc47-f64d-4109-bf57-829f759edd52 2026-03-23 15:24:44,485 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/068c3c11-a7da-4cf4-b287-f71a8db88684 2026-03-23 15:24:44,492 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/068c3c11-a7da-4cf4-b287-f71a8db88684 2026-03-23 15:24:44,497 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e91de325-8996-404c-b710-5980f93e33c4 2026-03-23 15:24:44,508 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85539663:ctest-vn-86331476', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85539663', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11990548443925659913', 'uuid-lslong': '13787632405602819410'}, 'enable': 'true', 'created': '2026-03-23T15:24:42', 'last-modified': '2026-03-23T15:24:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.915275'} 2026-03-23 15:24:44,513 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-23 15:24:44,513 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86331476 passed 2026-03-23 15:24:44,514 - DEBUG - ====Verifying policy data for ctest-vn-86331476 in API_Server ====== 2026-03-23 15:24:44,514 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-23 15:24:44,519 - DEBUG - Requesting: http://10.0.0.19:8082/domain/67ba3f35-d5dc-4a11-a3db-8f140f640d17 2026-03-23 15:24:44,529 - DEBUG - Requesting: http://10.0.0.19:8082/project/f8870ba4-6e06-44b9-9ada-d50d1840eeb3 2026-03-23 15:24:44,606 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/a666fc47-f64d-4109-bf57-829f759edd52 2026-03-23 15:24:44,615 - DEBUG - ==>Verifying data for policy with id: 43c88028-336c-417c-8201-53ca457b925c, fqn: ['default-domain', 'ctest-TestBasicPolicy-85539663', 'ctest-policy-allow-all-32138349'] 2026-03-23 15:24:44,616 - INFO - VN ctest-vn-86331476 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-23 15:24:44,616 - DEBUG - Verifying the vn in opserver 2026-03-23 15:24:44,616 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85539663:ctest-vn-86331476 virtual network link through opserver 10.0.0.19 2026-03-23 15:24:44,616 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-03-23 15:24:44,909 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-03-23 15:24:44,969 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85539663:ctest-vn-86331476', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85539663:ctest-vn-86331476?flat'} 2026-03-23 15:24:44,969 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85539663:ctest-vn-86331476 is found in opserver 2026-03-23 15:24:44,979 - DEBUG - Do not have enough data to verify VN in agent 2026-03-23 15:24:44,983 - DEBUG - VRF ids for VN ctest-vn-86331476: {} 2026-03-23 15:24:44,983 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-23 15:24:44,989 - DEBUG - Requesting: http://10.0.0.19:8082/domain/67ba3f35-d5dc-4a11-a3db-8f140f640d17 2026-03-23 15:24:44,999 - DEBUG - Requesting: http://10.0.0.19:8082/project/f8870ba4-6e06-44b9-9ada-d50d1840eeb3 2026-03-23 15:24:45,063 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/93e7e4f3-2c03-470b-8623-14c140e34868 2026-03-23 15:24:45,073 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/93e7e4f3-2c03-470b-8623-14c140e34868 2026-03-23 15:24:45,082 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2cbaac01-487b-4d2c-bd11-3beca01e82cc 2026-03-23 15:24:45,091 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2cbaac01-487b-4d2c-bd11-3beca01e82cc 2026-03-23 15:24:45,099 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/78a8b177-7364-418c-95a8-cfae962a6619 2026-03-23 15:24:45,105 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-23 15:24:45,105 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/93e7e4f3-2c03-470b-8623-14c140e34868 2026-03-23 15:24:45,113 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2cbaac01-487b-4d2c-bd11-3beca01e82cc 2026-03-23 15:24:45,126 - INFO - Verified VN network id 12 for VN 93e7e4f3-2c03-470b-8623-14c140e34868 2026-03-23 15:24:45,126 - INFO - Verifications in API Server for VN ctest-vn-81012415 passed 2026-03-23 15:24:45,126 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/93e7e4f3-2c03-470b-8623-14c140e34868 2026-03-23 15:24:45,135 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2cbaac01-487b-4d2c-bd11-3beca01e82cc 2026-03-23 15:24:45,141 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2cbaac01-487b-4d2c-bd11-3beca01e82cc 2026-03-23 15:24:45,149 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/78a8b177-7364-418c-95a8-cfae962a6619 2026-03-23 15:24:45,161 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85539663:ctest-vn-81012415', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85539663', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10657738776262166283', 'uuid-lslong': '9665592045517097064'}, 'enable': 'true', 'created': '2026-03-23T15:24:42', 'last-modified': '2026-03-23T15:24:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.340420'} 2026-03-23 15:24:45,169 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-23 15:24:45,169 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81012415 passed 2026-03-23 15:24:45,169 - DEBUG - ====Verifying policy data for ctest-vn-81012415 in API_Server ====== 2026-03-23 15:24:45,169 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-23 15:24:45,175 - DEBUG - Requesting: http://10.0.0.19:8082/domain/67ba3f35-d5dc-4a11-a3db-8f140f640d17 2026-03-23 15:24:45,187 - DEBUG - Requesting: http://10.0.0.19:8082/project/f8870ba4-6e06-44b9-9ada-d50d1840eeb3 2026-03-23 15:24:45,259 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/93e7e4f3-2c03-470b-8623-14c140e34868 2026-03-23 15:24:45,267 - DEBUG - ==>Verifying data for policy with id: 43c88028-336c-417c-8201-53ca457b925c, fqn: ['default-domain', 'ctest-TestBasicPolicy-85539663', 'ctest-policy-allow-all-32138349'] 2026-03-23 15:24:45,267 - INFO - VN ctest-vn-81012415 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-23 15:24:45,267 - DEBUG - Verifying the vn in opserver 2026-03-23 15:24:45,267 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85539663:ctest-vn-81012415 virtual network link through opserver 10.0.0.19 2026-03-23 15:24:45,267 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-03-23 15:24:45,276 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85539663:ctest-vn-81012415', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85539663:ctest-vn-81012415?flat'} 2026-03-23 15:24:45,276 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85539663:ctest-vn-81012415 is found in opserver 2026-03-23 15:24:45,285 - DEBUG - Do not have enough data to verify VN in agent 2026-03-23 15:24:45,289 - DEBUG - VRF ids for VN ctest-vn-81012415: {} 2026-03-23 15:24:45,344 - DEBUG - Services list from nova: [, , ] 2026-03-23 15:24:46,342 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5519-1) 2026-03-23 15:24:47,455 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5519-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5519-1) 2026-03-23 15:24:47,455 - INFO - Waiting for VM ctest-TestBasicPolicy-85539663-89563742 to be up.. 2026-03-23 15:24:47,537 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-23 15:24:52,605 - DEBUG - VM is in ACTIVE state now 2026-03-23 15:24:52,605 - INFO - VM name : ctest-TestBasicPolicy-85539663-89563742 2026-03-23 15:24:52,677 - DEBUG - VM ctest-TestBasicPolicy-85539663-89563742 ID is 1b21866b-649c-49b6-8f10-a215d5c843d2 2026-03-23 15:24:52,695 - DEBUG - VM ctest-TestBasicPolicy-85539663-89563742 launched on Node cn-jenkins-deploy-platform-ansible-os-5519-1 2026-03-23 15:24:52,770 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/1b21866b-649c-49b6-8f10-a215d5c843d2 2026-03-23 15:24:52,778 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f5f4995c-034c-49b2-8aef-77b488eb3355 2026-03-23 15:24:56,030 - 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 1023ms') 2026-03-23 15:24:56,030 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85539663-89563742 failed! 2026-03-23 15:24:56,089 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-85539663:ctest-vn-86331476 is 111.193.131.129 and allocation pool is NOT set 2026-03-23 15:24:58,148 - 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=7.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.348 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.348/3.813/7.278/3.465 ms') 2026-03-23 15:24:58,148 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85539663-89563742 passed 2026-03-23 15:24:58,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:24:58,297 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85539663-89563742, IP 111.193.131.131, Port 22 2026-03-23 15:24:58,453 - DEBUG - VM ctest-TestBasicPolicy-85539663-89563742 is ready for SSH connections 2026-03-23 15:24:58,453 - INFO - Waiting for VM ctest-TestBasicPolicy-85539663-19376683 to be up.. 2026-03-23 15:24:58,537 - DEBUG - VM is in ACTIVE state now 2026-03-23 15:24:58,537 - INFO - VM name : ctest-TestBasicPolicy-85539663-19376683 2026-03-23 15:24:58,606 - DEBUG - VM ctest-TestBasicPolicy-85539663-19376683 ID is 0a91ffe9-ea55-47a1-a6e7-0f4cb522a61d 2026-03-23 15:24:58,606 - DEBUG - VM ctest-TestBasicPolicy-85539663-19376683 launched on Node cn-jenkins-deploy-platform-ansible-os-5519-1 2026-03-23 15:24:58,679 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/0a91ffe9-ea55-47a1-a6e7-0f4cb522a61d 2026-03-23 15:24:58,687 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/cbbfa1eb-5ff2-4ada-a3e1-c7d477ffe34c 2026-03-23 15:24:59,921 - 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=4.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.00 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 = 2.003/3.116/4.230/1.113 ms') 2026-03-23 15:24:59,922 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-85539663-19376683 passed 2026-03-23 15:25:00,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:25:00,069 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85539663-19376683, IP 33.130.202.67, Port 22 2026-03-23 15:25:00,220 - DEBUG - VM ctest-TestBasicPolicy-85539663-19376683 is ready for SSH connections 2026-03-23 15:25:00,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:25:00,221 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.130.202.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-03-23 15:25:00,221 - DEBUG - ping -s 56 -c 3 -W 1 33.130.202.67 2026-03-23 15:25:04,228 - DEBUG - PING 33.130.202.67 (33.130.202.67): 56 data bytes 64 bytes from 33.130.202.67: seq=0 ttl=63 time=3.424 ms 64 bytes from 33.130.202.67: seq=1 ttl=63 time=1.100 ms 64 bytes from 33.130.202.67: seq=2 ttl=63 time=0.818 ms --- 33.130.202.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.818/1.780/3.424 ms 2026-03-23 15:25:04,228 - INFO - Ping to IP 33.130.202.67 from VM ctest-TestBasicPolicy-85539663-89563742 passed 2026-03-23 15:25:04,400 - DEBUG - Policy Update Response {"network-policy": {"uuid": "43c88028-336c-417c-8201-53ca457b925c", "href": "http://10.0.0.19:8082/network-policy/43c88028-336c-417c-8201-53ca457b925c"}} 2026-03-23 15:25:04,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:25:04,401 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.130.202.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-03-23 15:25:04,401 - DEBUG - ping -s 56 -c 3 -W 1 33.130.202.67 2026-03-23 15:25:07,623 - DEBUG - PING 33.130.202.67 (33.130.202.67): 56 data bytes --- 33.130.202.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-23 15:25:07,623 - WARNING - Ping to IP 33.130.202.67 from VM ctest-TestBasicPolicy-85539663-89563742 failed 2026-03-23 15:25:07,623 - INFO - Deleting VM ctest-TestBasicPolicy-85539663-19376683 2026-03-23 15:25:07,692 - INFO - Deleting VM ctest-TestBasicPolicy-85539663-89563742 2026-03-23 15:25:08,046 - INFO - Deleted policy ctest-policy-allow-all-32138349 2026-03-23 15:25:08,046 - INFO - Deleting VN ctest-vn-81012415 2026-03-23 15:25:08,078 - DEBUG - VN 93e7e4f3-2c03-470b-8623-14c140e34868 still in use: Unable to complete operation on network 93e7e4f3-2c03-470b-8623-14c140e34868. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3a8bdb8b-4536-485e-947a-04d309520e2d'] 2026-03-23 15:25:08,078 - WARNING - Deleting VN ctest-vn-81012415 failed..Will retry 2026-03-23 15:25:10,171 - DEBUG - Response for deleting network () 2026-03-23 15:25:10,171 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2cbaac01-487b-4d2c-bd11-3beca01e82cc 2026-03-23 15:25:10,178 - DEBUG - Response Code: 404 2026-03-23 15:25:10,178 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-23 15:25:10,183 - DEBUG - Requesting: http://10.0.0.19:8082/domain/67ba3f35-d5dc-4a11-a3db-8f140f640d17 2026-03-23 15:25:10,237 - DEBUG - Requesting: http://10.0.0.19:8082/project/f8870ba4-6e06-44b9-9ada-d50d1840eeb3 2026-03-23 15:25:10,316 - INFO - Validated that VN ctest-vn-81012415 is not found in API Server 2026-03-23 15:25:10,326 - DEBUG - VN ctest-vn-81012415 is not present in Agent 10.0.0.19 2026-03-23 15:25:10,326 - INFO - Validated that VN ctest-vn-81012415 is not in any agent 2026-03-23 15:25:10,340 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81012415 info 2026-03-23 15:25:10,341 - INFO - Deleting VN ctest-vn-86331476 2026-03-23 15:25:10,434 - DEBUG - Response for deleting network () 2026-03-23 15:25:10,434 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/068c3c11-a7da-4cf4-b287-f71a8db88684 2026-03-23 15:25:10,438 - DEBUG - Response Code: 404 2026-03-23 15:25:10,439 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-03-23 15:25:10,446 - DEBUG - Requesting: http://10.0.0.19:8082/domain/67ba3f35-d5dc-4a11-a3db-8f140f640d17 2026-03-23 15:25:10,498 - DEBUG - Requesting: http://10.0.0.19:8082/project/f8870ba4-6e06-44b9-9ada-d50d1840eeb3 2026-03-23 15:25:10,572 - INFO - Validated that VN ctest-vn-86331476 is not found in API Server 2026-03-23 15:25:10,581 - DEBUG - VN ctest-vn-86331476 is not present in Agent 10.0.0.19 2026-03-23 15:25:10,581 - INFO - Validated that VN ctest-vn-86331476 is not in any agent 2026-03-23 15:25:10,594 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86331476 info 2026-03-23 15:25:10,849 - DEBUG - No XMPP flaps were noticed during the test
2026-03-23 15:25:10,850 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-03-23 15:25:10,850 - INFO - -------------------------------------------------------------------------------- 2026-03-23 15:25:11,534 - INFO - Deleted project: ctest-TestBasicPolicy-85539663, ID : f8870ba4-6e06-44b9-9ada-d50d1840eeb3