2025-07-03 02:14:21,565 - INFO - Domain Default found not creating 2025-07-03 02:14:21,726 - INFO - Project ctest-TestBasicPolicy-17118681 not found, creating it 2025-07-03 02:14:22,191 - INFO - Created Project:ctest-TestBasicPolicy-17118681, ID : ef2986ae-a97f-464f-8c52-4c695d4b8085 2025-07-03 02:14:23,647 - INFO - ================================================================================ 2025-07-03 02:14:23,647 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-03 02:14:23,647 - 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-07-03 02:14:23,903 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-07-03 02:14:23,903 - INFO - Initial checks done. Running the testcase now 2025-07-03 02:14:23,903 - INFO - 2025-07-03 02:14:24,462 - DEBUG - Response for create_network : {'network': {'id': '1db225cb-170a-4041-95f0-c19aba5b3a1d', 'name': 'ctest-vn-72012264', 'tenant_id': 'ef2986aea97f464f8c524c695d4b8085', 'project_id': 'ef2986aea97f464f8c524c695d4b8085', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17118681', 'ctest-vn-72012264'], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:14:24,658 - DEBUG - Response for create_subnet : {'subnet': {'id': '974835d0-7832-4308-80e7-9a014b802b75', 'name': '', 'tenant_id': 'ef2986aea97f464f8c524c695d4b8085', 'network_id': '1db225cb-170a-4041-95f0-c19aba5b3a1d', 'ip_version': 4, 'cidr': '179.246.43.64/26', 'allocation_pools': [{'start': '179.246.43.66', 'end': '179.246.43.126'}], 'gateway_ip': '179.246.43.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.246.43.66', 'tags': [], 'project_id': 'ef2986aea97f464f8c524c695d4b8085'}} 2025-07-03 02:14:24,678 - INFO - Created VN ctest-vn-72012264 2025-07-03 02:14:24,741 - DEBUG - VN ctest-vn-72012264 UUID is 1db225cb-170a-4041-95f0-c19aba5b3a1d 2025-07-03 02:14:25,037 - DEBUG - Response for create_network : {'network': {'id': 'cae55693-c81f-4330-ad14-1ad9b8a17f8f', 'name': 'ctest-vn-78241808', 'tenant_id': 'ef2986aea97f464f8c524c695d4b8085', 'project_id': 'ef2986aea97f464f8c524c695d4b8085', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17118681', 'ctest-vn-78241808'], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:14:25,242 - DEBUG - Response for create_subnet : {'subnet': {'id': '691df2f8-bb77-4985-8c67-d91c70645e27', 'name': '', 'tenant_id': 'ef2986aea97f464f8c524c695d4b8085', 'network_id': 'cae55693-c81f-4330-ad14-1ad9b8a17f8f', 'ip_version': 4, 'cidr': '148.146.111.0/26', 'allocation_pools': [{'start': '148.146.111.2', 'end': '148.146.111.62'}], 'gateway_ip': '148.146.111.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.146.111.2', 'tags': [], 'project_id': 'ef2986aea97f464f8c524c695d4b8085'}} 2025-07-03 02:14:25,265 - INFO - Created VN ctest-vn-78241808 2025-07-03 02:14:25,321 - DEBUG - VN ctest-vn-78241808 UUID is cae55693-c81f-4330-ad14-1ad9b8a17f8f 2025-07-03 02:14:25,440 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17118681:ctest-vn-72012264, 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-17118681:ctest-vn-78241808, 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-07-03 02:14:25,779 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1db225cb-170a-4041-95f0-c19aba5b3a1d', 'name': 'ctest-vn-72012264', 'tenant_id': 'ef2986aea97f464f8c524c695d4b8085', 'project_id': 'ef2986aea97f464f8c524c695d4b8085', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['974835d0-7832-4308-80e7-9a014b802b75'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17118681', 'ctest-vn-72012264'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17118681', 'ctest-policy-allow-all-40227311']], 'subnet_ipam': [{'subnet_cidr': '179.246.43.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:14:26,025 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cae55693-c81f-4330-ad14-1ad9b8a17f8f', 'name': 'ctest-vn-78241808', 'tenant_id': 'ef2986aea97f464f8c524c695d4b8085', 'project_id': 'ef2986aea97f464f8c524c695d4b8085', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['691df2f8-bb77-4985-8c67-d91c70645e27'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17118681', 'ctest-vn-78241808'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17118681', 'ctest-policy-allow-all-40227311']], 'subnet_ipam': [{'subnet_cidr': '148.146.111.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:14:26,193 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-03 02:14:26,488 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-03 02:14:26,518 - DEBUG - Requesting: http://10.0.0.33:8082/domain/67afbbb2-7bb6-42a3-98cc-dc44c2a894bc 2025-07-03 02:14:26,533 - DEBUG - Requesting: http://10.0.0.33:8082/project/ef2986ae-a97f-464f-8c52-4c695d4b8085 2025-07-03 02:14:26,632 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1db225cb-170a-4041-95f0-c19aba5b3a1d 2025-07-03 02:14:26,646 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1db225cb-170a-4041-95f0-c19aba5b3a1d 2025-07-03 02:14:26,658 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ee3b535-7102-4a2a-acd6-77d3f04c643d 2025-07-03 02:14:26,668 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ee3b535-7102-4a2a-acd6-77d3f04c643d 2025-07-03 02:14:26,676 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d1b4b385-5a12-4bd7-902a-d632ab7450ad 2025-07-03 02:14:26,683 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-03 02:14:26,683 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1db225cb-170a-4041-95f0-c19aba5b3a1d 2025-07-03 02:14:26,695 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ee3b535-7102-4a2a-acd6-77d3f04c643d 2025-07-03 02:14:26,716 - INFO - Verified VN network id 8 for VN 1db225cb-170a-4041-95f0-c19aba5b3a1d 2025-07-03 02:14:26,716 - INFO - Verifications in API Server for VN ctest-vn-72012264 passed 2025-07-03 02:14:26,716 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1db225cb-170a-4041-95f0-c19aba5b3a1d 2025-07-03 02:14:26,729 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ee3b535-7102-4a2a-acd6-77d3f04c643d 2025-07-03 02:14:26,739 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ee3b535-7102-4a2a-acd6-77d3f04c643d 2025-07-03 02:14:26,747 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d1b4b385-5a12-4bd7-902a-d632ab7450ad 2025-07-03 02:14:26,760 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17118681:ctest-vn-72012264', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17118681', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2139814327149543489', 'uuid-lslong': '10804348376357485085'}, 'enable': 'true', 'created': '2025-07-03T02:14:24', 'last-modified': '2025-07-03T02:14:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.015305'} 2025-07-03 02:14:26,767 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-03 02:14:26,767 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72012264 passed 2025-07-03 02:14:26,768 - DEBUG - ====Verifying policy data for ctest-vn-72012264 in API_Server ====== 2025-07-03 02:14:26,768 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-03 02:14:26,774 - DEBUG - Requesting: http://10.0.0.33:8082/domain/67afbbb2-7bb6-42a3-98cc-dc44c2a894bc 2025-07-03 02:14:26,789 - DEBUG - Requesting: http://10.0.0.33:8082/project/ef2986ae-a97f-464f-8c52-4c695d4b8085 2025-07-03 02:14:26,866 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1db225cb-170a-4041-95f0-c19aba5b3a1d 2025-07-03 02:14:26,877 - DEBUG - ==>Verifying data for policy with id: 9f686428-20ee-4386-a93b-4ab269c81148, fqn: ['default-domain', 'ctest-TestBasicPolicy-17118681', 'ctest-policy-allow-all-40227311'] 2025-07-03 02:14:26,877 - INFO - VN ctest-vn-72012264 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-03 02:14:26,877 - DEBUG - Verifying the vn in opserver 2025-07-03 02:14:26,877 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17118681:ctest-vn-72012264 virtual network link through opserver 10.0.0.33 2025-07-03 02:14:26,878 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-03 02:14:27,174 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-03 02:14:27,239 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17118681:ctest-vn-72012264', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17118681:ctest-vn-72012264?flat'} 2025-07-03 02:14:27,239 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17118681:ctest-vn-72012264 is found in opserver 2025-07-03 02:14:27,250 - DEBUG - Do not have enough data to verify VN in agent 2025-07-03 02:14:27,256 - DEBUG - VRF ids for VN ctest-vn-72012264: {} 2025-07-03 02:14:27,256 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-03 02:14:27,262 - DEBUG - Requesting: http://10.0.0.33:8082/domain/67afbbb2-7bb6-42a3-98cc-dc44c2a894bc 2025-07-03 02:14:27,277 - DEBUG - Requesting: http://10.0.0.33:8082/project/ef2986ae-a97f-464f-8c52-4c695d4b8085 2025-07-03 02:14:27,350 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cae55693-c81f-4330-ad14-1ad9b8a17f8f 2025-07-03 02:14:27,364 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cae55693-c81f-4330-ad14-1ad9b8a17f8f 2025-07-03 02:14:27,376 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9b9fba20-3eec-47a0-b699-72e84e28d383 2025-07-03 02:14:27,384 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9b9fba20-3eec-47a0-b699-72e84e28d383 2025-07-03 02:14:27,393 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b15d9c47-90db-4e09-a77f-414da7c19143 2025-07-03 02:14:27,402 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-03 02:14:27,403 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cae55693-c81f-4330-ad14-1ad9b8a17f8f 2025-07-03 02:14:27,416 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9b9fba20-3eec-47a0-b699-72e84e28d383 2025-07-03 02:14:27,434 - INFO - Verified VN network id 9 for VN cae55693-c81f-4330-ad14-1ad9b8a17f8f 2025-07-03 02:14:27,434 - INFO - Verifications in API Server for VN ctest-vn-78241808 passed 2025-07-03 02:14:27,434 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cae55693-c81f-4330-ad14-1ad9b8a17f8f 2025-07-03 02:14:27,444 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9b9fba20-3eec-47a0-b699-72e84e28d383 2025-07-03 02:14:27,452 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9b9fba20-3eec-47a0-b699-72e84e28d383 2025-07-03 02:14:27,459 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b15d9c47-90db-4e09-a77f-414da7c19143 2025-07-03 02:14:27,472 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17118681:ctest-vn-78241808', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17118681', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14620186958045856560', 'uuid-lslong': '12471622790503563151'}, 'enable': 'true', 'created': '2025-07-03T02:14:25', 'last-modified': '2025-07-03T02:14:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.479591'} 2025-07-03 02:14:27,480 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-03 02:14:27,480 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78241808 passed 2025-07-03 02:14:27,480 - DEBUG - ====Verifying policy data for ctest-vn-78241808 in API_Server ====== 2025-07-03 02:14:27,480 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-03 02:14:27,487 - DEBUG - Requesting: http://10.0.0.33:8082/domain/67afbbb2-7bb6-42a3-98cc-dc44c2a894bc 2025-07-03 02:14:27,501 - DEBUG - Requesting: http://10.0.0.33:8082/project/ef2986ae-a97f-464f-8c52-4c695d4b8085 2025-07-03 02:14:27,581 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cae55693-c81f-4330-ad14-1ad9b8a17f8f 2025-07-03 02:14:27,594 - DEBUG - ==>Verifying data for policy with id: 9f686428-20ee-4386-a93b-4ab269c81148, fqn: ['default-domain', 'ctest-TestBasicPolicy-17118681', 'ctest-policy-allow-all-40227311'] 2025-07-03 02:14:27,594 - INFO - VN ctest-vn-78241808 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-03 02:14:27,595 - DEBUG - Verifying the vn in opserver 2025-07-03 02:14:27,595 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17118681:ctest-vn-78241808 virtual network link through opserver 10.0.0.33 2025-07-03 02:14:27,595 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-07-03 02:14:27,609 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17118681:ctest-vn-78241808', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17118681:ctest-vn-78241808?flat'} 2025-07-03 02:14:27,609 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17118681:ctest-vn-78241808 is found in opserver 2025-07-03 02:14:27,623 - DEBUG - Do not have enough data to verify VN in agent 2025-07-03 02:14:27,629 - DEBUG - VRF ids for VN ctest-vn-78241808: {} 2025-07-03 02:14:27,692 - DEBUG - Services list from nova: [, , ] 2025-07-03 02:14:28,767 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3593-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3593-1) 2025-07-03 02:14:30,098 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3593-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3593-1) 2025-07-03 02:14:30,098 - INFO - Waiting for VM ctest-TestBasicPolicy-17118681-51471513 to be up.. 2025-07-03 02:14:30,193 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-03 02:14:35,297 - DEBUG - VM is in ACTIVE state now 2025-07-03 02:14:35,297 - INFO - VM name : ctest-TestBasicPolicy-17118681-51471513 2025-07-03 02:14:35,389 - DEBUG - VM ctest-TestBasicPolicy-17118681-51471513 ID is 89ebd0d5-0346-4184-9474-3ad9c5cad369 2025-07-03 02:14:35,417 - DEBUG - VM ctest-TestBasicPolicy-17118681-51471513 launched on Node cn-jenkins-deploy-platform-ansible-os-3593-1 2025-07-03 02:14:35,519 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/89ebd0d5-0346-4184-9474-3ad9c5cad369 2025-07-03 02:14:35,530 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/73fff2b0-dbb2-41b9-bd7a-2980959ae4ae 2025-07-03 02:14:38,796 - 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 1010ms') 2025-07-03 02:14:38,796 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17118681-51471513 failed! 2025-07-03 02:14:38,857 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17118681:ctest-vn-72012264 is 179.246.43.65 and allocation pool is NOT set 2025-07-03 02:14:40,921 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.447 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.447/4.359/8.272/3.912 ms') 2025-07-03 02:14:40,921 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17118681-51471513 passed 2025-07-03 02:14:41,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:14:41,073 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17118681-51471513, IP 179.246.43.67, Port 22 2025-07-03 02:14:41,239 - DEBUG - VM ctest-TestBasicPolicy-17118681-51471513 is ready for SSH connections 2025-07-03 02:14:41,240 - INFO - Waiting for VM ctest-TestBasicPolicy-17118681-01503082 to be up.. 2025-07-03 02:14:41,330 - DEBUG - VM is in ACTIVE state now 2025-07-03 02:14:41,330 - INFO - VM name : ctest-TestBasicPolicy-17118681-01503082 2025-07-03 02:14:41,419 - DEBUG - VM ctest-TestBasicPolicy-17118681-01503082 ID is 657eee53-7e7d-434d-b3da-ebc3789bda94 2025-07-03 02:14:41,420 - DEBUG - VM ctest-TestBasicPolicy-17118681-01503082 launched on Node cn-jenkins-deploy-platform-ansible-os-3593-1 2025-07-03 02:14:41,514 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/657eee53-7e7d-434d-b3da-ebc3789bda94 2025-07-03 02:14:41,527 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7b4070e4-8d51-49af-8a47-8a62ffb2033a 2025-07-03 02:14:42,773 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.912 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.912/2.410/3.909/1.498 ms') 2025-07-03 02:14:42,773 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17118681-01503082 passed 2025-07-03 02:14:42,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:14:42,929 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17118681-01503082, IP 148.146.111.3, Port 22 2025-07-03 02:14:43,088 - DEBUG - VM ctest-TestBasicPolicy-17118681-01503082 is ready for SSH connections 2025-07-03 02:14:43,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:14:43,088 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.146.111.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-07-03 02:14:43,088 - DEBUG - ping -s 56 -c 3 -W 1 148.146.111.3 2025-07-03 02:14:46,790 - DEBUG - PING 148.146.111.3 (148.146.111.3): 56 data bytes 64 bytes from 148.146.111.3: seq=0 ttl=63 time=3.711 ms 64 bytes from 148.146.111.3: seq=1 ttl=63 time=1.127 ms 64 bytes from 148.146.111.3: seq=2 ttl=63 time=0.921 ms --- 148.146.111.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.921/1.919/3.711 ms 2025-07-03 02:14:46,790 - INFO - Ping to IP 148.146.111.3 from VM ctest-TestBasicPolicy-17118681-51471513 passed 2025-07-03 02:14:46,980 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9f686428-20ee-4386-a93b-4ab269c81148", "href": "http://10.0.0.33:8082/network-policy/9f686428-20ee-4386-a93b-4ab269c81148"}} 2025-07-03 02:14:46,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:14:46,981 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.146.111.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-07-03 02:14:46,981 - DEBUG - ping -s 56 -c 3 -W 1 148.146.111.3 2025-07-03 02:14:50,256 - DEBUG - PING 148.146.111.3 (148.146.111.3): 56 data bytes --- 148.146.111.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-03 02:14:50,256 - WARNING - Ping to IP 148.146.111.3 from VM ctest-TestBasicPolicy-17118681-51471513 failed 2025-07-03 02:14:50,256 - INFO - Deleting VM ctest-TestBasicPolicy-17118681-01503082 2025-07-03 02:14:50,332 - INFO - Deleting VM ctest-TestBasicPolicy-17118681-51471513 2025-07-03 02:14:50,779 - INFO - Deleted policy ctest-policy-allow-all-40227311 2025-07-03 02:14:50,779 - INFO - Deleting VN ctest-vn-78241808 2025-07-03 02:14:50,831 - DEBUG - VN cae55693-c81f-4330-ad14-1ad9b8a17f8f still in use: Unable to complete operation on network cae55693-c81f-4330-ad14-1ad9b8a17f8f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3e03f730-7dc9-44a5-91b0-7c28ede25a07'] 2025-07-03 02:14:50,831 - WARNING - Deleting VN ctest-vn-78241808 failed..Will retry 2025-07-03 02:14:52,978 - DEBUG - Response for deleting network () 2025-07-03 02:14:52,978 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9b9fba20-3eec-47a0-b699-72e84e28d383 2025-07-03 02:14:52,986 - DEBUG - Response Code: 404 2025-07-03 02:14:52,987 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-03 02:14:52,995 - DEBUG - Requesting: http://10.0.0.33:8082/domain/67afbbb2-7bb6-42a3-98cc-dc44c2a894bc 2025-07-03 02:14:53,017 - DEBUG - Requesting: http://10.0.0.33:8082/project/ef2986ae-a97f-464f-8c52-4c695d4b8085 2025-07-03 02:14:53,093 - INFO - Validated that VN ctest-vn-78241808 is not found in API Server 2025-07-03 02:14:53,108 - DEBUG - VN ctest-vn-78241808 is not present in Agent 10.0.0.33 2025-07-03 02:14:53,108 - INFO - Validated that VN ctest-vn-78241808 is not in any agent 2025-07-03 02:14:53,129 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78241808 info 2025-07-03 02:14:53,129 - INFO - Deleting VN ctest-vn-72012264 2025-07-03 02:14:53,251 - DEBUG - Response for deleting network () 2025-07-03 02:14:53,251 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ee3b535-7102-4a2a-acd6-77d3f04c643d 2025-07-03 02:14:53,260 - DEBUG - Response Code: 404 2025-07-03 02:14:53,260 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-07-03 02:14:53,266 - DEBUG - Requesting: http://10.0.0.33:8082/domain/67afbbb2-7bb6-42a3-98cc-dc44c2a894bc 2025-07-03 02:14:53,324 - DEBUG - Requesting: http://10.0.0.33:8082/project/ef2986ae-a97f-464f-8c52-4c695d4b8085 2025-07-03 02:14:53,396 - INFO - Validated that VN ctest-vn-72012264 is not found in API Server 2025-07-03 02:14:53,408 - DEBUG - VN ctest-vn-72012264 is not present in Agent 10.0.0.33 2025-07-03 02:14:53,408 - INFO - Validated that VN ctest-vn-72012264 is not in any agent 2025-07-03 02:14:53,428 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72012264 info 2025-07-03 02:14:53,683 - DEBUG - No XMPP flaps were noticed during the test
2025-07-03 02:14:53,684 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-07-03 02:14:53,684 - INFO - -------------------------------------------------------------------------------- 2025-07-03 02:14:54,382 - INFO - Deleted project: ctest-TestBasicPolicy-17118681, ID : ef2986ae-a97f-464f-8c52-4c695d4b8085