2026-04-03 17:15:10,415 - INFO - Domain Default found not creating 2026-04-03 17:15:10,572 - INFO - Project ctest-TestBasicPolicy-58952237 not found, creating it 2026-04-03 17:15:11,306 - INFO - Created Project:ctest-TestBasicPolicy-58952237, ID : af010ddb-b097-496d-85ed-73651e16fade 2026-04-03 17:15:12,854 - INFO - ================================================================================ 2026-04-03 17:15:12,854 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-03 17:15:12,854 - 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-04-03 17:15:13,110 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.129': '0'}} with 2026-04-03 17:15:13,110 - INFO - Initial checks done. Running the testcase now 2026-04-03 17:15:13,110 - INFO - 2026-04-03 17:15:13,671 - DEBUG - Response for create_network : {'network': {'id': 'c16a6e13-eae1-4a07-b4fc-9feb2f2368a4', 'name': 'ctest-vn-88225314', 'tenant_id': 'af010ddbb097496d85ed73651e16fade', 'project_id': 'af010ddbb097496d85ed73651e16fade', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58952237', 'ctest-vn-88225314'], 'port_security_enabled': True, 'description': ''}} 2026-04-03 17:15:13,878 - DEBUG - Response for create_subnet : {'subnet': {'id': '9488bd2c-ab43-4b0f-b2f0-2927b628f3e7', 'name': '', 'tenant_id': 'af010ddbb097496d85ed73651e16fade', 'network_id': 'c16a6e13-eae1-4a07-b4fc-9feb2f2368a4', 'ip_version': 4, 'cidr': '87.35.38.192/26', 'allocation_pools': [{'start': '87.35.38.194', 'end': '87.35.38.254'}], 'gateway_ip': '87.35.38.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.35.38.194', 'tags': [], 'project_id': 'af010ddbb097496d85ed73651e16fade'}} 2026-04-03 17:15:13,899 - INFO - Created VN ctest-vn-88225314 2026-04-03 17:15:13,953 - DEBUG - VN ctest-vn-88225314 UUID is c16a6e13-eae1-4a07-b4fc-9feb2f2368a4 2026-04-03 17:15:14,288 - DEBUG - Response for create_network : {'network': {'id': 'e9064c5f-cea3-447d-b95d-40fc0ac16a8c', 'name': 'ctest-vn-12978313', 'tenant_id': 'af010ddbb097496d85ed73651e16fade', 'project_id': 'af010ddbb097496d85ed73651e16fade', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58952237', 'ctest-vn-12978313'], 'port_security_enabled': True, 'description': ''}} 2026-04-03 17:15:14,522 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a1e943d-fa9f-4e24-9385-ac5790809710', 'name': '', 'tenant_id': 'af010ddbb097496d85ed73651e16fade', 'network_id': 'e9064c5f-cea3-447d-b95d-40fc0ac16a8c', 'ip_version': 4, 'cidr': '2.214.125.128/26', 'allocation_pools': [{'start': '2.214.125.130', 'end': '2.214.125.190'}], 'gateway_ip': '2.214.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.214.125.130', 'tags': [], 'project_id': 'af010ddbb097496d85ed73651e16fade'}} 2026-04-03 17:15:14,542 - INFO - Created VN ctest-vn-12978313 2026-04-03 17:15:14,596 - DEBUG - VN ctest-vn-12978313 UUID is e9064c5f-cea3-447d-b95d-40fc0ac16a8c 2026-04-03 17:15:14,748 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58952237:ctest-vn-88225314, 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-58952237:ctest-vn-12978313, 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-04-03 17:15:15,066 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c16a6e13-eae1-4a07-b4fc-9feb2f2368a4', 'name': 'ctest-vn-88225314', 'tenant_id': 'af010ddbb097496d85ed73651e16fade', 'project_id': 'af010ddbb097496d85ed73651e16fade', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9488bd2c-ab43-4b0f-b2f0-2927b628f3e7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58952237', 'ctest-vn-88225314'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58952237', 'ctest-policy-allow-all-68003076']], 'subnet_ipam': [{'subnet_cidr': '87.35.38.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-03 17:15:15,309 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e9064c5f-cea3-447d-b95d-40fc0ac16a8c', 'name': 'ctest-vn-12978313', 'tenant_id': 'af010ddbb097496d85ed73651e16fade', 'project_id': 'af010ddbb097496d85ed73651e16fade', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1a1e943d-fa9f-4e24-9385-ac5790809710'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58952237', 'ctest-vn-12978313'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58952237', 'ctest-policy-allow-all-68003076']], 'subnet_ipam': [{'subnet_cidr': '2.214.125.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-03 17:15:15,460 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-04-03 17:15:15,865 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-04-03 17:15:15,921 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9d345874-e433-4419-856a-65500a81fabb 2026-04-03 17:15:15,935 - DEBUG - Requesting: http://10.0.0.242:8082/project/af010ddb-b097-496d-85ed-73651e16fade 2026-04-03 17:15:16,017 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c16a6e13-eae1-4a07-b4fc-9feb2f2368a4 2026-04-03 17:15:16,030 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c16a6e13-eae1-4a07-b4fc-9feb2f2368a4 2026-04-03 17:15:16,041 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7a02fbff-012b-49dc-b74a-68729e5d18cf 2026-04-03 17:15:16,048 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7a02fbff-012b-49dc-b74a-68729e5d18cf 2026-04-03 17:15:16,055 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/61312096-0c7d-4936-873d-18010bc24191 2026-04-03 17:15:16,062 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-03 17:15:16,062 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c16a6e13-eae1-4a07-b4fc-9feb2f2368a4 2026-04-03 17:15:16,071 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7a02fbff-012b-49dc-b74a-68729e5d18cf 2026-04-03 17:15:16,103 - INFO - Verified VN network id 10 for VN c16a6e13-eae1-4a07-b4fc-9feb2f2368a4 2026-04-03 17:15:16,104 - INFO - Verifications in API Server for VN ctest-vn-88225314 passed 2026-04-03 17:15:16,104 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c16a6e13-eae1-4a07-b4fc-9feb2f2368a4 2026-04-03 17:15:16,113 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7a02fbff-012b-49dc-b74a-68729e5d18cf 2026-04-03 17:15:16,121 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7a02fbff-012b-49dc-b74a-68729e5d18cf 2026-04-03 17:15:16,127 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/61312096-0c7d-4936-873d-18010bc24191 2026-04-03 17:15:16,138 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58952237:ctest-vn-88225314', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58952237', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13937073028675488263', 'uuid-lslong': '13041474453415094436'}, 'enable': 'true', 'created': '2026-04-03T17:15:13', 'last-modified': '2026-04-03T17:15:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.106907'} 2026-04-03 17:15:16,143 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-03 17:15:16,143 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88225314 passed 2026-04-03 17:15:16,144 - DEBUG - ====Verifying policy data for ctest-vn-88225314 in API_Server ====== 2026-04-03 17:15:16,144 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-04-03 17:15:16,149 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9d345874-e433-4419-856a-65500a81fabb 2026-04-03 17:15:16,159 - DEBUG - Requesting: http://10.0.0.242:8082/project/af010ddb-b097-496d-85ed-73651e16fade 2026-04-03 17:15:16,232 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c16a6e13-eae1-4a07-b4fc-9feb2f2368a4 2026-04-03 17:15:16,245 - DEBUG - ==>Verifying data for policy with id: a73c0f6f-da42-4b04-8161-4a73924ac5b4, fqn: ['default-domain', 'ctest-TestBasicPolicy-58952237', 'ctest-policy-allow-all-68003076'] 2026-04-03 17:15:16,245 - INFO - VN ctest-vn-88225314 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-03 17:15:16,245 - DEBUG - Verifying the vn in opserver 2026-04-03 17:15:16,245 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58952237:ctest-vn-88225314 virtual network link through opserver 10.0.0.242 2026-04-03 17:15:16,246 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-04-03 17:15:16,549 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-04-03 17:15:16,654 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58952237:ctest-vn-88225314', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58952237:ctest-vn-88225314?flat'} 2026-04-03 17:15:16,654 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58952237:ctest-vn-88225314 is found in opserver 2026-04-03 17:15:16,663 - DEBUG - Do not have enough data to verify VN in agent 2026-04-03 17:15:16,667 - DEBUG - VRF ids for VN ctest-vn-88225314: {} 2026-04-03 17:15:16,667 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-04-03 17:15:16,673 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9d345874-e433-4419-856a-65500a81fabb 2026-04-03 17:15:16,682 - DEBUG - Requesting: http://10.0.0.242:8082/project/af010ddb-b097-496d-85ed-73651e16fade 2026-04-03 17:15:16,754 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e9064c5f-cea3-447d-b95d-40fc0ac16a8c 2026-04-03 17:15:16,767 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e9064c5f-cea3-447d-b95d-40fc0ac16a8c 2026-04-03 17:15:16,778 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5804f0db-fde0-4f4e-91c4-f80bd201ceec 2026-04-03 17:15:16,785 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5804f0db-fde0-4f4e-91c4-f80bd201ceec 2026-04-03 17:15:16,792 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/eb001f28-2b04-4388-ab8e-53e482298e2a 2026-04-03 17:15:16,799 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-03 17:15:16,799 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e9064c5f-cea3-447d-b95d-40fc0ac16a8c 2026-04-03 17:15:16,811 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5804f0db-fde0-4f4e-91c4-f80bd201ceec 2026-04-03 17:15:16,824 - INFO - Verified VN network id 11 for VN e9064c5f-cea3-447d-b95d-40fc0ac16a8c 2026-04-03 17:15:16,824 - INFO - Verifications in API Server for VN ctest-vn-12978313 passed 2026-04-03 17:15:16,824 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e9064c5f-cea3-447d-b95d-40fc0ac16a8c 2026-04-03 17:15:16,833 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5804f0db-fde0-4f4e-91c4-f80bd201ceec 2026-04-03 17:15:16,839 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5804f0db-fde0-4f4e-91c4-f80bd201ceec 2026-04-03 17:15:16,846 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/eb001f28-2b04-4388-ab8e-53e482298e2a 2026-04-03 17:15:16,858 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58952237:ctest-vn-12978313', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58952237', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16791192235069883517', 'uuid-lslong': '13356903521107143308'}, 'enable': 'true', 'created': '2026-04-03T17:15:14', 'last-modified': '2026-04-03T17:15:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.589371'} 2026-04-03 17:15:16,864 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-03 17:15:16,864 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12978313 passed 2026-04-03 17:15:16,864 - DEBUG - ====Verifying policy data for ctest-vn-12978313 in API_Server ====== 2026-04-03 17:15:16,864 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-04-03 17:15:16,869 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9d345874-e433-4419-856a-65500a81fabb 2026-04-03 17:15:16,880 - DEBUG - Requesting: http://10.0.0.242:8082/project/af010ddb-b097-496d-85ed-73651e16fade 2026-04-03 17:15:16,955 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e9064c5f-cea3-447d-b95d-40fc0ac16a8c 2026-04-03 17:15:16,965 - DEBUG - ==>Verifying data for policy with id: a73c0f6f-da42-4b04-8161-4a73924ac5b4, fqn: ['default-domain', 'ctest-TestBasicPolicy-58952237', 'ctest-policy-allow-all-68003076'] 2026-04-03 17:15:16,965 - INFO - VN ctest-vn-12978313 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-03 17:15:16,965 - DEBUG - Verifying the vn in opserver 2026-04-03 17:15:16,965 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58952237:ctest-vn-12978313 virtual network link through opserver 10.0.0.242 2026-04-03 17:15:16,965 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-04-03 17:15:16,976 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58952237:ctest-vn-12978313', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58952237:ctest-vn-12978313?flat'} 2026-04-03 17:15:16,976 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58952237:ctest-vn-12978313 is found in opserver 2026-04-03 17:15:16,985 - DEBUG - Do not have enough data to verify VN in agent 2026-04-03 17:15:16,990 - DEBUG - VRF ids for VN ctest-vn-12978313: {} 2026-04-03 17:15:17,052 - DEBUG - Services list from nova: [, , ] 2026-04-03 17:15:18,095 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5591-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5591-1) 2026-04-03 17:15:19,300 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5591-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5591-1) 2026-04-03 17:15:19,301 - INFO - Waiting for VM ctest-TestBasicPolicy-58952237-97703107 to be up.. 2026-04-03 17:15:19,381 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-03 17:15:24,458 - DEBUG - VM is in ACTIVE state now 2026-04-03 17:15:24,458 - INFO - VM name : ctest-TestBasicPolicy-58952237-97703107 2026-04-03 17:15:24,534 - DEBUG - VM ctest-TestBasicPolicy-58952237-97703107 ID is 9fe2c637-c47f-421e-9b37-a3082093172c 2026-04-03 17:15:24,557 - DEBUG - VM ctest-TestBasicPolicy-58952237-97703107 launched on Node cn-jenkins-deploy-platform-ansible-os-5591-1 2026-04-03 17:15:24,633 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/9fe2c637-c47f-421e-9b37-a3082093172c 2026-04-03 17:15:24,641 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/89e7edae-1081-40a4-a86e-1de6bbe44987 2026-04-03 17:15:27,897 - 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-04-03 17:15:27,897 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58952237-97703107 failed! 2026-04-03 17:15:27,957 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58952237:ctest-vn-88225314 is 87.35.38.193 and allocation pool is NOT set 2026-04-03 17:15:30,021 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.10 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 = 2.103/6.119/10.136/4.016 ms') 2026-04-03 17:15:30,021 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58952237-97703107 passed 2026-04-03 17:15:30,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 17:15:30,173 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58952237-97703107, IP 87.35.38.195, Port 22 2026-04-03 17:15:30,336 - DEBUG - VM ctest-TestBasicPolicy-58952237-97703107 is ready for SSH connections 2026-04-03 17:15:30,336 - INFO - Waiting for VM ctest-TestBasicPolicy-58952237-16066758 to be up.. 2026-04-03 17:15:30,418 - DEBUG - VM is in ACTIVE state now 2026-04-03 17:15:30,418 - INFO - VM name : ctest-TestBasicPolicy-58952237-16066758 2026-04-03 17:15:30,495 - DEBUG - VM ctest-TestBasicPolicy-58952237-16066758 ID is 88c7e52e-bdc2-474a-a5bc-ff00ce602008 2026-04-03 17:15:30,495 - DEBUG - VM ctest-TestBasicPolicy-58952237-16066758 launched on Node cn-jenkins-deploy-platform-ansible-os-5591-1 2026-04-03 17:15:30,580 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/88c7e52e-bdc2-474a-a5bc-ff00ce602008 2026-04-03 17:15:30,590 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/0fd99d8b-4509-4bc8-94d7-edcc443cc5d0 2026-04-03 17:15:31,824 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.866 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 = 0.866/1.928/2.990/1.062 ms') 2026-04-03 17:15:31,824 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58952237-16066758 passed 2026-04-03 17:15:31,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 17:15:31,973 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58952237-16066758, IP 2.214.125.131, Port 22 2026-04-03 17:15:32,128 - DEBUG - VM ctest-TestBasicPolicy-58952237-16066758 is ready for SSH connections 2026-04-03 17:15:32,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 17:15:32,128 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.214.125.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-04-03 17:15:32,129 - DEBUG - ping -s 56 -c 3 -W 1 2.214.125.131 2026-04-03 17:15:35,829 - DEBUG - PING 2.214.125.131 (2.214.125.131): 56 data bytes 64 bytes from 2.214.125.131: seq=0 ttl=63 time=3.234 ms 64 bytes from 2.214.125.131: seq=1 ttl=63 time=1.160 ms 64 bytes from 2.214.125.131: seq=2 ttl=63 time=1.166 ms --- 2.214.125.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.160/1.853/3.234 ms 2026-04-03 17:15:35,829 - INFO - Ping to IP 2.214.125.131 from VM ctest-TestBasicPolicy-58952237-97703107 passed 2026-04-03 17:15:36,032 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a73c0f6f-da42-4b04-8161-4a73924ac5b4", "href": "http://10.0.0.242:8082/network-policy/a73c0f6f-da42-4b04-8161-4a73924ac5b4"}} 2026-04-03 17:15:36,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 17:15:36,033 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.214.125.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-04-03 17:15:36,033 - DEBUG - ping -s 56 -c 3 -W 1 2.214.125.131 2026-04-03 17:15:39,236 - DEBUG - PING 2.214.125.131 (2.214.125.131): 56 data bytes --- 2.214.125.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-03 17:15:39,236 - WARNING - Ping to IP 2.214.125.131 from VM ctest-TestBasicPolicy-58952237-97703107 failed 2026-04-03 17:15:39,236 - INFO - Deleting VM ctest-TestBasicPolicy-58952237-16066758 2026-04-03 17:15:39,313 - INFO - Deleting VM ctest-TestBasicPolicy-58952237-97703107 2026-04-03 17:15:39,669 - INFO - Deleted policy ctest-policy-allow-all-68003076 2026-04-03 17:15:39,670 - INFO - Deleting VN ctest-vn-12978313 2026-04-03 17:15:39,707 - DEBUG - VN e9064c5f-cea3-447d-b95d-40fc0ac16a8c still in use: Unable to complete operation on network e9064c5f-cea3-447d-b95d-40fc0ac16a8c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6b2b5f69-074d-48e9-8546-b06baae1e122'] 2026-04-03 17:15:39,707 - WARNING - Deleting VN ctest-vn-12978313 failed..Will retry 2026-04-03 17:15:41,805 - DEBUG - Response for deleting network () 2026-04-03 17:15:41,805 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/5804f0db-fde0-4f4e-91c4-f80bd201ceec 2026-04-03 17:15:41,811 - DEBUG - Response Code: 404 2026-04-03 17:15:41,811 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-04-03 17:15:41,818 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9d345874-e433-4419-856a-65500a81fabb 2026-04-03 17:15:41,869 - DEBUG - Requesting: http://10.0.0.242:8082/project/af010ddb-b097-496d-85ed-73651e16fade 2026-04-03 17:15:41,939 - INFO - Validated that VN ctest-vn-12978313 is not found in API Server 2026-04-03 17:15:41,949 - DEBUG - VN ctest-vn-12978313 is not present in Agent 10.0.0.242 2026-04-03 17:15:41,949 - INFO - Validated that VN ctest-vn-12978313 is not in any agent 2026-04-03 17:15:41,963 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12978313 info 2026-04-03 17:15:41,963 - INFO - Deleting VN ctest-vn-88225314 2026-04-03 17:15:42,072 - DEBUG - Response for deleting network () 2026-04-03 17:15:42,072 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7a02fbff-012b-49dc-b74a-68729e5d18cf 2026-04-03 17:15:42,082 - DEBUG - Response Code: 404 2026-04-03 17:15:42,082 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-04-03 17:15:42,089 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9d345874-e433-4419-856a-65500a81fabb 2026-04-03 17:15:42,141 - DEBUG - Requesting: http://10.0.0.242:8082/project/af010ddb-b097-496d-85ed-73651e16fade 2026-04-03 17:15:42,219 - INFO - Validated that VN ctest-vn-88225314 is not found in API Server 2026-04-03 17:15:42,228 - DEBUG - VN ctest-vn-88225314 is not present in Agent 10.0.0.242 2026-04-03 17:15:42,228 - INFO - Validated that VN ctest-vn-88225314 is not in any agent 2026-04-03 17:15:42,243 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88225314 info 2026-04-03 17:15:42,501 - DEBUG - No XMPP flaps were noticed during the test
2026-04-03 17:15:42,501 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-04-03 17:15:42,501 - INFO - -------------------------------------------------------------------------------- 2026-04-03 17:15:43,193 - INFO - Deleted project: ctest-TestBasicPolicy-58952237, ID : af010ddb-b097-496d-85ed-73651e16fade