2026-01-06 09:15:32,869 - INFO - Domain Default found not creating 2026-01-06 09:15:33,020 - INFO - Project ctest-TestBasicPolicy-24189815 not found, creating it 2026-01-06 09:15:33,469 - INFO - Created Project:ctest-TestBasicPolicy-24189815, ID : 55de1c94-5129-41af-a2a0-ac5131965918 2026-01-06 09:15:34,912 - INFO - ================================================================================ 2026-01-06 09:15:34,912 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-06 09:15:34,912 - 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-01-06 09:15:35,164 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-06 09:15:35,165 - INFO - Initial checks done. Running the testcase now 2026-01-06 09:15:35,165 - INFO - 2026-01-06 09:15:35,699 - DEBUG - Response for create_network : {'network': {'id': '4e073cd9-b217-41f6-9fe3-d10cfa98e0e3', 'name': 'ctest-vn-67535811', 'tenant_id': '55de1c94512941afa2a0ac5131965918', 'project_id': '55de1c94512941afa2a0ac5131965918', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24189815', 'ctest-vn-67535811'], 'port_security_enabled': True, 'description': ''}} 2026-01-06 09:15:35,879 - DEBUG - Response for create_subnet : {'subnet': {'id': '64349205-7d9a-422d-bcdc-cfe0159ffc4d', 'name': '', 'tenant_id': '55de1c94512941afa2a0ac5131965918', 'network_id': '4e073cd9-b217-41f6-9fe3-d10cfa98e0e3', 'ip_version': 4, 'cidr': '149.31.147.128/26', 'allocation_pools': [{'start': '149.31.147.130', 'end': '149.31.147.190'}], 'gateway_ip': '149.31.147.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.31.147.130', 'tags': [], 'project_id': '55de1c94512941afa2a0ac5131965918'}} 2026-01-06 09:15:35,897 - INFO - Created VN ctest-vn-67535811 2026-01-06 09:15:35,952 - DEBUG - VN ctest-vn-67535811 UUID is 4e073cd9-b217-41f6-9fe3-d10cfa98e0e3 2026-01-06 09:15:36,283 - DEBUG - Response for create_network : {'network': {'id': '4a550af9-9212-4125-aad0-100c09750ab9', 'name': 'ctest-vn-89581512', 'tenant_id': '55de1c94512941afa2a0ac5131965918', 'project_id': '55de1c94512941afa2a0ac5131965918', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24189815', 'ctest-vn-89581512'], 'port_security_enabled': True, 'description': ''}} 2026-01-06 09:15:36,456 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c256c1c-f203-44db-8c61-83365eae2d52', 'name': '', 'tenant_id': '55de1c94512941afa2a0ac5131965918', 'network_id': '4a550af9-9212-4125-aad0-100c09750ab9', 'ip_version': 4, 'cidr': '206.83.159.0/26', 'allocation_pools': [{'start': '206.83.159.2', 'end': '206.83.159.62'}], 'gateway_ip': '206.83.159.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.83.159.2', 'tags': [], 'project_id': '55de1c94512941afa2a0ac5131965918'}} 2026-01-06 09:15:36,473 - INFO - Created VN ctest-vn-89581512 2026-01-06 09:15:36,524 - DEBUG - VN ctest-vn-89581512 UUID is 4a550af9-9212-4125-aad0-100c09750ab9 2026-01-06 09:15:36,671 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24189815:ctest-vn-67535811, 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-24189815:ctest-vn-89581512, 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-01-06 09:15:36,948 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4e073cd9-b217-41f6-9fe3-d10cfa98e0e3', 'name': 'ctest-vn-67535811', 'tenant_id': '55de1c94512941afa2a0ac5131965918', 'project_id': '55de1c94512941afa2a0ac5131965918', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['64349205-7d9a-422d-bcdc-cfe0159ffc4d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24189815', 'ctest-vn-67535811'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24189815', 'ctest-policy-allow-all-28062513']], 'subnet_ipam': [{'subnet_cidr': '149.31.147.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-06 09:15:37,174 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4a550af9-9212-4125-aad0-100c09750ab9', 'name': 'ctest-vn-89581512', 'tenant_id': '55de1c94512941afa2a0ac5131965918', 'project_id': '55de1c94512941afa2a0ac5131965918', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4c256c1c-f203-44db-8c61-83365eae2d52'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24189815', 'ctest-vn-89581512'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24189815', 'ctest-policy-allow-all-28062513']], 'subnet_ipam': [{'subnet_cidr': '206.83.159.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-06 09:15:37,299 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-06 09:15:37,596 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-06 09:15:37,623 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fc2257cf-d573-4534-bfb0-b13b1227927c 2026-01-06 09:15:37,635 - DEBUG - Requesting: http://10.0.0.38:8082/project/55de1c94-5129-41af-a2a0-ac5131965918 2026-01-06 09:15:37,703 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4e073cd9-b217-41f6-9fe3-d10cfa98e0e3 2026-01-06 09:15:37,712 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4e073cd9-b217-41f6-9fe3-d10cfa98e0e3 2026-01-06 09:15:37,720 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da416660-11a3-4345-a3de-f781e35c4a7a 2026-01-06 09:15:37,725 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da416660-11a3-4345-a3de-f781e35c4a7a 2026-01-06 09:15:37,730 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/eedb5db5-00cd-485c-94f0-55720cac9993 2026-01-06 09:15:37,735 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-06 09:15:37,736 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4e073cd9-b217-41f6-9fe3-d10cfa98e0e3 2026-01-06 09:15:37,743 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da416660-11a3-4345-a3de-f781e35c4a7a 2026-01-06 09:15:37,754 - INFO - Verified VN network id 12 for VN 4e073cd9-b217-41f6-9fe3-d10cfa98e0e3 2026-01-06 09:15:37,754 - INFO - Verifications in API Server for VN ctest-vn-67535811 passed 2026-01-06 09:15:37,754 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4e073cd9-b217-41f6-9fe3-d10cfa98e0e3 2026-01-06 09:15:37,761 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da416660-11a3-4345-a3de-f781e35c4a7a 2026-01-06 09:15:37,767 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da416660-11a3-4345-a3de-f781e35c4a7a 2026-01-06 09:15:37,773 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/eedb5db5-00cd-485c-94f0-55720cac9993 2026-01-06 09:15:37,783 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24189815:ctest-vn-67535811', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24189815', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5622529565488792054', 'uuid-lslong': '11521282125417996515'}, 'enable': 'true', 'created': '2026-01-06T09:15:35', 'last-modified': '2026-01-06T09:15:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.854585'} 2026-01-06 09:15:37,788 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-06 09:15:37,788 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67535811 passed 2026-01-06 09:15:37,788 - DEBUG - ====Verifying policy data for ctest-vn-67535811 in API_Server ====== 2026-01-06 09:15:37,788 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-06 09:15:37,793 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fc2257cf-d573-4534-bfb0-b13b1227927c 2026-01-06 09:15:37,802 - DEBUG - Requesting: http://10.0.0.38:8082/project/55de1c94-5129-41af-a2a0-ac5131965918 2026-01-06 09:15:37,873 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4e073cd9-b217-41f6-9fe3-d10cfa98e0e3 2026-01-06 09:15:37,880 - DEBUG - ==>Verifying data for policy with id: 70413ad9-57be-4dca-9ed7-f46e39573b42, fqn: ['default-domain', 'ctest-TestBasicPolicy-24189815', 'ctest-policy-allow-all-28062513'] 2026-01-06 09:15:37,881 - INFO - VN ctest-vn-67535811 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-06 09:15:37,881 - DEBUG - Verifying the vn in opserver 2026-01-06 09:15:37,881 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24189815:ctest-vn-67535811 virtual network link through opserver 10.0.0.38 2026-01-06 09:15:37,881 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-06 09:15:38,170 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-06 09:15:38,232 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24189815:ctest-vn-67535811', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24189815:ctest-vn-67535811?flat'} 2026-01-06 09:15:38,232 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24189815:ctest-vn-67535811 is found in opserver 2026-01-06 09:15:38,241 - DEBUG - Do not have enough data to verify VN in agent 2026-01-06 09:15:38,245 - DEBUG - VRF ids for VN ctest-vn-67535811: {} 2026-01-06 09:15:38,245 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-06 09:15:38,250 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fc2257cf-d573-4534-bfb0-b13b1227927c 2026-01-06 09:15:38,260 - DEBUG - Requesting: http://10.0.0.38:8082/project/55de1c94-5129-41af-a2a0-ac5131965918 2026-01-06 09:15:38,329 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4a550af9-9212-4125-aad0-100c09750ab9 2026-01-06 09:15:38,340 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4a550af9-9212-4125-aad0-100c09750ab9 2026-01-06 09:15:38,351 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6e6c1139-9984-431d-8f0d-b90212a1d7dd 2026-01-06 09:15:38,358 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6e6c1139-9984-431d-8f0d-b90212a1d7dd 2026-01-06 09:15:38,364 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8a03aeb0-4f7d-4eba-93b1-0fea416bbb93 2026-01-06 09:15:38,369 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-06 09:15:38,369 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4a550af9-9212-4125-aad0-100c09750ab9 2026-01-06 09:15:38,377 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6e6c1139-9984-431d-8f0d-b90212a1d7dd 2026-01-06 09:15:38,390 - INFO - Verified VN network id 13 for VN 4a550af9-9212-4125-aad0-100c09750ab9 2026-01-06 09:15:38,390 - INFO - Verifications in API Server for VN ctest-vn-89581512 passed 2026-01-06 09:15:38,390 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4a550af9-9212-4125-aad0-100c09750ab9 2026-01-06 09:15:38,398 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6e6c1139-9984-431d-8f0d-b90212a1d7dd 2026-01-06 09:15:38,404 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6e6c1139-9984-431d-8f0d-b90212a1d7dd 2026-01-06 09:15:38,411 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8a03aeb0-4f7d-4eba-93b1-0fea416bbb93 2026-01-06 09:15:38,421 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24189815:ctest-vn-89581512', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24189815', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5356199398840877349', 'uuid-lslong': '12308355425487882937'}, 'enable': 'true', 'created': '2026-01-06T09:15:36', 'last-modified': '2026-01-06T09:15:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.265817'} 2026-01-06 09:15:38,427 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-06 09:15:38,427 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89581512 passed 2026-01-06 09:15:38,427 - DEBUG - ====Verifying policy data for ctest-vn-89581512 in API_Server ====== 2026-01-06 09:15:38,427 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-06 09:15:38,432 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fc2257cf-d573-4534-bfb0-b13b1227927c 2026-01-06 09:15:38,441 - DEBUG - Requesting: http://10.0.0.38:8082/project/55de1c94-5129-41af-a2a0-ac5131965918 2026-01-06 09:15:38,510 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4a550af9-9212-4125-aad0-100c09750ab9 2026-01-06 09:15:38,518 - DEBUG - ==>Verifying data for policy with id: 70413ad9-57be-4dca-9ed7-f46e39573b42, fqn: ['default-domain', 'ctest-TestBasicPolicy-24189815', 'ctest-policy-allow-all-28062513'] 2026-01-06 09:15:38,518 - INFO - VN ctest-vn-89581512 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-06 09:15:38,518 - DEBUG - Verifying the vn in opserver 2026-01-06 09:15:38,518 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24189815:ctest-vn-89581512 virtual network link through opserver 10.0.0.38 2026-01-06 09:15:38,518 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-06 09:15:38,527 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24189815:ctest-vn-89581512', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24189815:ctest-vn-89581512?flat'} 2026-01-06 09:15:38,527 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24189815:ctest-vn-89581512 is found in opserver 2026-01-06 09:15:38,535 - DEBUG - Do not have enough data to verify VN in agent 2026-01-06 09:15:38,539 - DEBUG - VRF ids for VN ctest-vn-89581512: {} 2026-01-06 09:15:38,592 - DEBUG - Services list from nova: [, , ] 2026-01-06 09:15:39,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4968-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4968-1) 2026-01-06 09:15:40,717 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4968-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4968-1) 2026-01-06 09:15:40,717 - INFO - Waiting for VM ctest-TestBasicPolicy-24189815-13726856 to be up.. 2026-01-06 09:15:40,793 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-06 09:15:45,865 - DEBUG - VM is in ACTIVE state now 2026-01-06 09:15:45,866 - INFO - VM name : ctest-TestBasicPolicy-24189815-13726856 2026-01-06 09:15:45,932 - DEBUG - VM ctest-TestBasicPolicy-24189815-13726856 ID is 4988efbb-0fe3-435d-92af-7989b53363a7 2026-01-06 09:15:45,949 - DEBUG - VM ctest-TestBasicPolicy-24189815-13726856 launched on Node cn-jenkins-deploy-platform-ansible-os-4968-1 2026-01-06 09:15:46,016 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4988efbb-0fe3-435d-92af-7989b53363a7 2026-01-06 09:15:46,024 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8eb81270-c2d6-4912-a5b4-6b1e5065fa57 2026-01-06 09:15:49,273 - 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 1020ms') 2026-01-06 09:15:49,273 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24189815-13726856 failed! 2026-01-06 09:15:49,327 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24189815:ctest-vn-67535811 is 149.31.147.129 and allocation pool is NOT set 2026-01-06 09:15:51,383 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.419/1.543/2.667/1.124 ms') 2026-01-06 09:15:51,383 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24189815-13726856 passed 2026-01-06 09:15:51,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 09:15:51,540 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24189815-13726856, IP 149.31.147.131, Port 22 2026-01-06 09:15:51,694 - DEBUG - VM ctest-TestBasicPolicy-24189815-13726856 is ready for SSH connections 2026-01-06 09:15:51,695 - INFO - Waiting for VM ctest-TestBasicPolicy-24189815-54955411 to be up.. 2026-01-06 09:15:51,764 - DEBUG - VM is in ACTIVE state now 2026-01-06 09:15:51,764 - INFO - VM name : ctest-TestBasicPolicy-24189815-54955411 2026-01-06 09:15:51,843 - DEBUG - VM ctest-TestBasicPolicy-24189815-54955411 ID is 2ca58215-df42-4791-b085-da176af2778b 2026-01-06 09:15:51,843 - DEBUG - VM ctest-TestBasicPolicy-24189815-54955411 launched on Node cn-jenkins-deploy-platform-ansible-os-4968-1 2026-01-06 09:15:51,912 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2ca58215-df42-4791-b085-da176af2778b 2026-01-06 09:15:51,919 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/74b3c8a6-8915-4eba-800f-ce67319e6ee8 2026-01-06 09:15:53,152 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/1.670/2.917/1.247 ms') 2026-01-06 09:15:53,153 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24189815-54955411 passed 2026-01-06 09:15:53,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 09:15:53,300 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24189815-54955411, IP 206.83.159.3, Port 22 2026-01-06 09:15:53,456 - DEBUG - VM ctest-TestBasicPolicy-24189815-54955411 is ready for SSH connections 2026-01-06 09:15:53,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 09:15:53,456 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.83.159.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-06 09:15:53,456 - DEBUG - ping -s 56 -c 3 -W 1 206.83.159.3 2026-01-06 09:15:57,198 - DEBUG - PING 206.83.159.3 (206.83.159.3): 56 data bytes 64 bytes from 206.83.159.3: seq=0 ttl=63 time=3.556 ms 64 bytes from 206.83.159.3: seq=1 ttl=63 time=0.935 ms 64 bytes from 206.83.159.3: seq=2 ttl=63 time=0.797 ms --- 206.83.159.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.797/1.762/3.556 ms 2026-01-06 09:15:57,198 - INFO - Ping to IP 206.83.159.3 from VM ctest-TestBasicPolicy-24189815-13726856 passed 2026-01-06 09:15:57,367 - DEBUG - Policy Update Response {"network-policy": {"uuid": "70413ad9-57be-4dca-9ed7-f46e39573b42", "href": "http://10.0.0.38:8082/network-policy/70413ad9-57be-4dca-9ed7-f46e39573b42"}} 2026-01-06 09:15:57,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-06 09:15:57,368 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.83.159.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-06 09:15:57,368 - DEBUG - ping -s 56 -c 3 -W 1 206.83.159.3 2026-01-06 09:16:00,567 - DEBUG - PING 206.83.159.3 (206.83.159.3): 56 data bytes --- 206.83.159.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-06 09:16:00,567 - WARNING - Ping to IP 206.83.159.3 from VM ctest-TestBasicPolicy-24189815-13726856 failed 2026-01-06 09:16:00,567 - INFO - Deleting VM ctest-TestBasicPolicy-24189815-54955411 2026-01-06 09:16:00,629 - INFO - Deleting VM ctest-TestBasicPolicy-24189815-13726856 2026-01-06 09:16:00,972 - INFO - Deleted policy ctest-policy-allow-all-28062513 2026-01-06 09:16:00,972 - INFO - Deleting VN ctest-vn-89581512 2026-01-06 09:16:01,007 - DEBUG - VN 4a550af9-9212-4125-aad0-100c09750ab9 still in use: Unable to complete operation on network 4a550af9-9212-4125-aad0-100c09750ab9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-778c317c-5a5e-486b-b849-a24249f6bb6c'] 2026-01-06 09:16:01,007 - WARNING - Deleting VN ctest-vn-89581512 failed..Will retry 2026-01-06 09:16:03,096 - DEBUG - Response for deleting network () 2026-01-06 09:16:03,096 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6e6c1139-9984-431d-8f0d-b90212a1d7dd 2026-01-06 09:16:03,102 - DEBUG - Response Code: 404 2026-01-06 09:16:03,102 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-06 09:16:03,108 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fc2257cf-d573-4534-bfb0-b13b1227927c 2026-01-06 09:16:03,163 - DEBUG - Requesting: http://10.0.0.38:8082/project/55de1c94-5129-41af-a2a0-ac5131965918 2026-01-06 09:16:03,232 - INFO - Validated that VN ctest-vn-89581512 is not found in API Server 2026-01-06 09:16:03,241 - DEBUG - VN ctest-vn-89581512 is not present in Agent 10.0.0.38 2026-01-06 09:16:03,241 - INFO - Validated that VN ctest-vn-89581512 is not in any agent 2026-01-06 09:16:03,252 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89581512 info 2026-01-06 09:16:03,252 - INFO - Deleting VN ctest-vn-67535811 2026-01-06 09:16:03,340 - DEBUG - Response for deleting network () 2026-01-06 09:16:03,340 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da416660-11a3-4345-a3de-f781e35c4a7a 2026-01-06 09:16:03,348 - DEBUG - Response Code: 404 2026-01-06 09:16:03,348 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-06 09:16:03,352 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fc2257cf-d573-4534-bfb0-b13b1227927c 2026-01-06 09:16:03,404 - DEBUG - Requesting: http://10.0.0.38:8082/project/55de1c94-5129-41af-a2a0-ac5131965918 2026-01-06 09:16:03,474 - INFO - Validated that VN ctest-vn-67535811 is not found in API Server 2026-01-06 09:16:03,483 - DEBUG - VN ctest-vn-67535811 is not present in Agent 10.0.0.38 2026-01-06 09:16:03,483 - INFO - Validated that VN ctest-vn-67535811 is not in any agent 2026-01-06 09:16:03,495 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67535811 info 2026-01-06 09:16:03,752 - DEBUG - No XMPP flaps were noticed during the test
2026-01-06 09:16:03,752 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-06 09:16:03,752 - INFO - -------------------------------------------------------------------------------- 2026-01-06 09:16:04,417 - INFO - Deleted project: ctest-TestBasicPolicy-24189815, ID : 55de1c94-5129-41af-a2a0-ac5131965918