2025-11-24 15:12:49,170 - INFO - Domain Default found not creating 2025-11-24 15:12:49,322 - INFO - Project ctest-TestBasicPolicy-79052792 not found, creating it 2025-11-24 15:12:49,750 - INFO - Created Project:ctest-TestBasicPolicy-79052792, ID : b65c1839-1920-43b9-9f17-ebff8a37c83c 2025-11-24 15:12:51,227 - INFO - ================================================================================ 2025-11-24 15:12:51,227 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-24 15:12:51,227 - 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 2025-11-24 15:12:51,480 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.18': '0'}} with 2025-11-24 15:12:51,480 - INFO - Initial checks done. Running the testcase now 2025-11-24 15:12:51,481 - INFO - 2025-11-24 15:12:52,019 - DEBUG - Response for create_network : {'network': {'id': '8c2feeba-7166-4493-87ff-4247e2b6ca3d', 'name': 'ctest-vn-27818064', 'tenant_id': 'b65c1839192043b99f17ebff8a37c83c', 'project_id': 'b65c1839192043b99f17ebff8a37c83c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79052792', 'ctest-vn-27818064'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 15:12:52,183 - DEBUG - Response for create_subnet : {'subnet': {'id': '85b8e452-a52b-410c-8559-3854eb86344f', 'name': '', 'tenant_id': 'b65c1839192043b99f17ebff8a37c83c', 'network_id': '8c2feeba-7166-4493-87ff-4247e2b6ca3d', 'ip_version': 4, 'cidr': '192.219.223.64/26', 'allocation_pools': [{'start': '192.219.223.66', 'end': '192.219.223.126'}], 'gateway_ip': '192.219.223.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.219.223.66', 'tags': [], 'project_id': 'b65c1839192043b99f17ebff8a37c83c'}} 2025-11-24 15:12:52,200 - INFO - Created VN ctest-vn-27818064 2025-11-24 15:12:52,250 - DEBUG - VN ctest-vn-27818064 UUID is 8c2feeba-7166-4493-87ff-4247e2b6ca3d 2025-11-24 15:12:52,553 - DEBUG - Response for create_network : {'network': {'id': '46e486d8-4584-4f22-9047-f845322065e8', 'name': 'ctest-vn-15034460', 'tenant_id': 'b65c1839192043b99f17ebff8a37c83c', 'project_id': 'b65c1839192043b99f17ebff8a37c83c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79052792', 'ctest-vn-15034460'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 15:12:52,701 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b827031e-cf25-420d-bd19-a09aa933ea3a', 'name': '', 'tenant_id': 'b65c1839192043b99f17ebff8a37c83c', 'network_id': '46e486d8-4584-4f22-9047-f845322065e8', 'ip_version': 4, 'cidr': '154.11.72.128/26', 'allocation_pools': [{'start': '154.11.72.130', 'end': '154.11.72.190'}], 'gateway_ip': '154.11.72.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.11.72.130', 'tags': [], 'project_id': 'b65c1839192043b99f17ebff8a37c83c'}} 2025-11-24 15:12:52,720 - INFO - Created VN ctest-vn-15034460 2025-11-24 15:12:52,774 - DEBUG - VN ctest-vn-15034460 UUID is 46e486d8-4584-4f22-9047-f845322065e8 2025-11-24 15:12:52,930 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79052792:ctest-vn-27818064, 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-79052792:ctest-vn-15034460, 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] 2025-11-24 15:12:53,222 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8c2feeba-7166-4493-87ff-4247e2b6ca3d', 'name': 'ctest-vn-27818064', 'tenant_id': 'b65c1839192043b99f17ebff8a37c83c', 'project_id': 'b65c1839192043b99f17ebff8a37c83c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['85b8e452-a52b-410c-8559-3854eb86344f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79052792', 'ctest-vn-27818064'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79052792', 'ctest-policy-allow-all-79628086']], 'subnet_ipam': [{'subnet_cidr': '192.219.223.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 15:12:53,438 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '46e486d8-4584-4f22-9047-f845322065e8', 'name': 'ctest-vn-15034460', 'tenant_id': 'b65c1839192043b99f17ebff8a37c83c', 'project_id': 'b65c1839192043b99f17ebff8a37c83c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b827031e-cf25-420d-bd19-a09aa933ea3a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79052792', 'ctest-vn-15034460'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79052792', 'ctest-policy-allow-all-79628086']], 'subnet_ipam': [{'subnet_cidr': '154.11.72.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 15:12:53,598 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-24 15:12:53,912 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-24 15:12:53,943 - DEBUG - Requesting: http://10.0.0.141:8082/domain/14519060-1d68-4339-9082-efb7ea5a07c4 2025-11-24 15:12:53,955 - DEBUG - Requesting: http://10.0.0.141:8082/project/b65c1839-1920-43b9-9f17-ebff8a37c83c 2025-11-24 15:12:54,026 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/8c2feeba-7166-4493-87ff-4247e2b6ca3d 2025-11-24 15:12:54,037 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/8c2feeba-7166-4493-87ff-4247e2b6ca3d 2025-11-24 15:12:54,046 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1f202470-6e77-4a05-85cd-8c6e888eacf8 2025-11-24 15:12:54,052 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1f202470-6e77-4a05-85cd-8c6e888eacf8 2025-11-24 15:12:54,059 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/c3a7013c-d730-4ed3-b1df-175debb8a64e 2025-11-24 15:12:54,065 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 15:12:54,065 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/8c2feeba-7166-4493-87ff-4247e2b6ca3d 2025-11-24 15:12:54,074 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1f202470-6e77-4a05-85cd-8c6e888eacf8 2025-11-24 15:12:54,088 - INFO - Verified VN network id 11 for VN 8c2feeba-7166-4493-87ff-4247e2b6ca3d 2025-11-24 15:12:54,088 - INFO - Verifications in API Server for VN ctest-vn-27818064 passed 2025-11-24 15:12:54,088 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/8c2feeba-7166-4493-87ff-4247e2b6ca3d 2025-11-24 15:12:54,096 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1f202470-6e77-4a05-85cd-8c6e888eacf8 2025-11-24 15:12:54,103 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1f202470-6e77-4a05-85cd-8c6e888eacf8 2025-11-24 15:12:54,110 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/c3a7013c-d730-4ed3-b1df-175debb8a64e 2025-11-24 15:12:54,121 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79052792:ctest-vn-27818064', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79052792', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10101554973749167251', 'uuid-lslong': '9799624190695230013'}, 'enable': 'true', 'created': '2025-11-24T15:12:51', 'last-modified': '2025-11-24T15:12:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924833'} 2025-11-24 15:12:54,127 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 15:12:54,127 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27818064 passed 2025-11-24 15:12:54,127 - DEBUG - ====Verifying policy data for ctest-vn-27818064 in API_Server ====== 2025-11-24 15:12:54,127 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-24 15:12:54,132 - DEBUG - Requesting: http://10.0.0.141:8082/domain/14519060-1d68-4339-9082-efb7ea5a07c4 2025-11-24 15:12:54,143 - DEBUG - Requesting: http://10.0.0.141:8082/project/b65c1839-1920-43b9-9f17-ebff8a37c83c 2025-11-24 15:12:54,212 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/8c2feeba-7166-4493-87ff-4247e2b6ca3d 2025-11-24 15:12:54,221 - DEBUG - ==>Verifying data for policy with id: 46d71dd5-1584-45ea-b401-36ca3520d87e, fqn: ['default-domain', 'ctest-TestBasicPolicy-79052792', 'ctest-policy-allow-all-79628086'] 2025-11-24 15:12:54,221 - INFO - VN ctest-vn-27818064 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 15:12:54,222 - DEBUG - Verifying the vn in opserver 2025-11-24 15:12:54,222 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79052792:ctest-vn-27818064 virtual network link through opserver 10.0.0.141 2025-11-24 15:12:54,222 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-24 15:12:54,514 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-24 15:12:54,575 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79052792:ctest-vn-27818064', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79052792:ctest-vn-27818064?flat'} 2025-11-24 15:12:54,575 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79052792:ctest-vn-27818064 is found in opserver 2025-11-24 15:12:54,583 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 15:12:54,587 - DEBUG - VRF ids for VN ctest-vn-27818064: {} 2025-11-24 15:12:54,588 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-24 15:12:54,592 - DEBUG - Requesting: http://10.0.0.141:8082/domain/14519060-1d68-4339-9082-efb7ea5a07c4 2025-11-24 15:12:54,603 - DEBUG - Requesting: http://10.0.0.141:8082/project/b65c1839-1920-43b9-9f17-ebff8a37c83c 2025-11-24 15:12:54,669 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/46e486d8-4584-4f22-9047-f845322065e8 2025-11-24 15:12:54,680 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/46e486d8-4584-4f22-9047-f845322065e8 2025-11-24 15:12:54,688 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9b28c4cb-371a-44e4-be84-5b19ae21eb86 2025-11-24 15:12:54,694 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9b28c4cb-371a-44e4-be84-5b19ae21eb86 2025-11-24 15:12:54,700 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/e2adb661-ef12-49c4-823f-56841c796ea4 2025-11-24 15:12:54,706 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 15:12:54,707 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/46e486d8-4584-4f22-9047-f845322065e8 2025-11-24 15:12:54,715 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9b28c4cb-371a-44e4-be84-5b19ae21eb86 2025-11-24 15:12:54,731 - INFO - Verified VN network id 12 for VN 46e486d8-4584-4f22-9047-f845322065e8 2025-11-24 15:12:54,731 - INFO - Verifications in API Server for VN ctest-vn-15034460 passed 2025-11-24 15:12:54,731 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/46e486d8-4584-4f22-9047-f845322065e8 2025-11-24 15:12:54,740 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9b28c4cb-371a-44e4-be84-5b19ae21eb86 2025-11-24 15:12:54,746 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9b28c4cb-371a-44e4-be84-5b19ae21eb86 2025-11-24 15:12:54,752 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/e2adb661-ef12-49c4-823f-56841c796ea4 2025-11-24 15:12:54,761 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79052792:ctest-vn-15034460', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79052792', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5108356140782341922', 'uuid-lslong': '10396551240885495272'}, 'enable': 'true', 'created': '2025-11-24T15:12:52', 'last-modified': '2025-11-24T15:12:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.339150'} 2025-11-24 15:12:54,767 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 15:12:54,767 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15034460 passed 2025-11-24 15:12:54,767 - DEBUG - ====Verifying policy data for ctest-vn-15034460 in API_Server ====== 2025-11-24 15:12:54,767 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-24 15:12:54,772 - DEBUG - Requesting: http://10.0.0.141:8082/domain/14519060-1d68-4339-9082-efb7ea5a07c4 2025-11-24 15:12:54,781 - DEBUG - Requesting: http://10.0.0.141:8082/project/b65c1839-1920-43b9-9f17-ebff8a37c83c 2025-11-24 15:12:54,849 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/46e486d8-4584-4f22-9047-f845322065e8 2025-11-24 15:12:54,857 - DEBUG - ==>Verifying data for policy with id: 46d71dd5-1584-45ea-b401-36ca3520d87e, fqn: ['default-domain', 'ctest-TestBasicPolicy-79052792', 'ctest-policy-allow-all-79628086'] 2025-11-24 15:12:54,857 - INFO - VN ctest-vn-15034460 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 15:12:54,857 - DEBUG - Verifying the vn in opserver 2025-11-24 15:12:54,858 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79052792:ctest-vn-15034460 virtual network link through opserver 10.0.0.141 2025-11-24 15:12:54,858 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-24 15:12:54,866 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79052792:ctest-vn-15034460', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79052792:ctest-vn-15034460?flat'} 2025-11-24 15:12:54,866 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79052792:ctest-vn-15034460 is found in opserver 2025-11-24 15:12:54,875 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 15:12:54,878 - DEBUG - VRF ids for VN ctest-vn-15034460: {} 2025-11-24 15:12:54,933 - DEBUG - Services list from nova: [, , ] 2025-11-24 15:12:55,947 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4808-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4808-1) 2025-11-24 15:12:57,074 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4808-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4808-1) 2025-11-24 15:12:57,074 - INFO - Waiting for VM ctest-TestBasicPolicy-79052792-61438501 to be up.. 2025-11-24 15:12:57,154 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 15:13:02,228 - DEBUG - VM is in ACTIVE state now 2025-11-24 15:13:02,228 - INFO - VM name : ctest-TestBasicPolicy-79052792-61438501 2025-11-24 15:13:02,298 - DEBUG - VM ctest-TestBasicPolicy-79052792-61438501 ID is 44b326a1-1a2b-48ce-a3d7-0ab1f8a7426f 2025-11-24 15:13:02,318 - DEBUG - VM ctest-TestBasicPolicy-79052792-61438501 launched on Node cn-jenkins-deploy-platform-ansible-os-4808-1 2025-11-24 15:13:02,391 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/44b326a1-1a2b-48ce-a3d7-0ab1f8a7426f 2025-11-24 15:13:02,399 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/d215c087-040b-4a04-a174-f477b06f285d 2025-11-24 15:13:05,634 - 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 1002ms') 2025-11-24 15:13:05,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79052792-61438501 failed! 2025-11-24 15:13:05,690 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-79052792:ctest-vn-27818064 is 192.219.223.65 and allocation pool is NOT set 2025-11-24 15:13:07,750 - 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=8.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.791 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.791/4.656/8.522/3.865 ms') 2025-11-24 15:13:07,750 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79052792-61438501 passed 2025-11-24 15:13:07,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 15:13:07,902 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79052792-61438501, IP 192.219.223.67, Port 22 2025-11-24 15:13:08,066 - DEBUG - VM ctest-TestBasicPolicy-79052792-61438501 is ready for SSH connections 2025-11-24 15:13:08,067 - INFO - Waiting for VM ctest-TestBasicPolicy-79052792-12982827 to be up.. 2025-11-24 15:13:08,141 - DEBUG - VM is in ACTIVE state now 2025-11-24 15:13:08,141 - INFO - VM name : ctest-TestBasicPolicy-79052792-12982827 2025-11-24 15:13:08,213 - DEBUG - VM ctest-TestBasicPolicy-79052792-12982827 ID is 156b99e2-2414-4e62-808d-e47bc623a026 2025-11-24 15:13:08,214 - DEBUG - VM ctest-TestBasicPolicy-79052792-12982827 launched on Node cn-jenkins-deploy-platform-ansible-os-4808-1 2025-11-24 15:13:08,284 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/156b99e2-2414-4e62-808d-e47bc623a026 2025-11-24 15:13:08,292 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/299f9fc0-dda4-42a4-a884-01a981aa3a0a 2025-11-24 15:13:09,532 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.475 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.475/1.692/2.910/1.217 ms') 2025-11-24 15:13:09,533 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-79052792-12982827 passed 2025-11-24 15:13:09,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 15:13:09,686 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79052792-12982827, IP 154.11.72.131, Port 22 2025-11-24 15:13:09,846 - DEBUG - VM ctest-TestBasicPolicy-79052792-12982827 is ready for SSH connections 2025-11-24 15:13:09,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 15:13:09,847 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.11.72.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-24 15:13:09,847 - DEBUG - ping -s 56 -c 3 -W 1 154.11.72.131 2025-11-24 15:13:13,838 - DEBUG - PING 154.11.72.131 (154.11.72.131): 56 data bytes 64 bytes from 154.11.72.131: seq=0 ttl=63 time=3.744 ms 64 bytes from 154.11.72.131: seq=1 ttl=63 time=0.858 ms 64 bytes from 154.11.72.131: seq=2 ttl=63 time=0.915 ms --- 154.11.72.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.858/1.839/3.744 ms 2025-11-24 15:13:13,838 - INFO - Ping to IP 154.11.72.131 from VM ctest-TestBasicPolicy-79052792-61438501 passed 2025-11-24 15:13:14,010 - DEBUG - Policy Update Response {"network-policy": {"uuid": "46d71dd5-1584-45ea-b401-36ca3520d87e", "href": "http://10.0.0.141:8082/network-policy/46d71dd5-1584-45ea-b401-36ca3520d87e"}} 2025-11-24 15:13:14,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 15:13:14,011 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.11.72.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-24 15:13:14,011 - DEBUG - ping -s 56 -c 3 -W 1 154.11.72.131 2025-11-24 15:13:17,223 - DEBUG - PING 154.11.72.131 (154.11.72.131): 56 data bytes --- 154.11.72.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-24 15:13:17,223 - WARNING - Ping to IP 154.11.72.131 from VM ctest-TestBasicPolicy-79052792-61438501 failed 2025-11-24 15:13:17,223 - INFO - Deleting VM ctest-TestBasicPolicy-79052792-12982827 2025-11-24 15:13:17,291 - INFO - Deleting VM ctest-TestBasicPolicy-79052792-61438501 2025-11-24 15:13:17,657 - INFO - Deleted policy ctest-policy-allow-all-79628086 2025-11-24 15:13:17,657 - INFO - Deleting VN ctest-vn-15034460 2025-11-24 15:13:17,689 - DEBUG - VN 46e486d8-4584-4f22-9047-f845322065e8 still in use: Unable to complete operation on network 46e486d8-4584-4f22-9047-f845322065e8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a5823eaf-6250-4790-b308-c990f84f976c'] 2025-11-24 15:13:17,689 - WARNING - Deleting VN ctest-vn-15034460 failed..Will retry 2025-11-24 15:13:19,818 - DEBUG - Response for deleting network () 2025-11-24 15:13:19,819 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/9b28c4cb-371a-44e4-be84-5b19ae21eb86 2025-11-24 15:13:19,825 - DEBUG - Response Code: 404 2025-11-24 15:13:19,825 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-24 15:13:19,832 - DEBUG - Requesting: http://10.0.0.141:8082/domain/14519060-1d68-4339-9082-efb7ea5a07c4 2025-11-24 15:13:19,888 - DEBUG - Requesting: http://10.0.0.141:8082/project/b65c1839-1920-43b9-9f17-ebff8a37c83c 2025-11-24 15:13:19,956 - INFO - Validated that VN ctest-vn-15034460 is not found in API Server 2025-11-24 15:13:19,967 - DEBUG - VN ctest-vn-15034460 is not present in Agent 10.0.0.141 2025-11-24 15:13:19,967 - INFO - Validated that VN ctest-vn-15034460 is not in any agent 2025-11-24 15:13:19,983 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15034460 info 2025-11-24 15:13:19,984 - INFO - Deleting VN ctest-vn-27818064 2025-11-24 15:13:20,081 - DEBUG - Response for deleting network () 2025-11-24 15:13:20,082 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1f202470-6e77-4a05-85cd-8c6e888eacf8 2025-11-24 15:13:20,088 - DEBUG - Response Code: 404 2025-11-24 15:13:20,088 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-24 15:13:20,092 - DEBUG - Requesting: http://10.0.0.141:8082/domain/14519060-1d68-4339-9082-efb7ea5a07c4 2025-11-24 15:13:20,147 - DEBUG - Requesting: http://10.0.0.141:8082/project/b65c1839-1920-43b9-9f17-ebff8a37c83c 2025-11-24 15:13:20,219 - INFO - Validated that VN ctest-vn-27818064 is not found in API Server 2025-11-24 15:13:20,228 - DEBUG - VN ctest-vn-27818064 is not present in Agent 10.0.0.141 2025-11-24 15:13:20,228 - INFO - Validated that VN ctest-vn-27818064 is not in any agent 2025-11-24 15:13:20,241 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27818064 info 2025-11-24 15:13:20,495 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 15:13:20,495 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-24 15:13:20,495 - INFO - -------------------------------------------------------------------------------- 2025-11-24 15:13:21,172 - INFO - Deleted project: ctest-TestBasicPolicy-79052792, ID : b65c1839-1920-43b9-9f17-ebff8a37c83c