2025-10-13 16:55:51,043 - INFO - Domain Default found not creating 2025-10-13 16:55:51,208 - INFO - Project ctest-TestBasicPolicy-00566413 not found, creating it 2025-10-13 16:55:51,681 - INFO - Created Project:ctest-TestBasicPolicy-00566413, ID : 7d1f3d94-15f9-4077-b5d1-27e9455f080c 2025-10-13 16:55:53,347 - INFO - ================================================================================ 2025-10-13 16:55:53,348 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-13 16:55:53,348 - 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-10-13 16:55:53,609 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-13 16:55:53,609 - INFO - Initial checks done. Running the testcase now 2025-10-13 16:55:53,610 - INFO - 2025-10-13 16:55:54,239 - DEBUG - Response for create_network : {'network': {'id': '27b56088-6bf2-40e0-a166-78676fa5ea67', 'name': 'ctest-vn-26422405', 'tenant_id': '7d1f3d9415f94077b5d127e9455f080c', 'project_id': '7d1f3d9415f94077b5d127e9455f080c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00566413', 'ctest-vn-26422405'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:55:54,393 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ef84263-5809-43c5-8047-1feba0ffac69', 'name': '', 'tenant_id': '7d1f3d9415f94077b5d127e9455f080c', 'network_id': '27b56088-6bf2-40e0-a166-78676fa5ea67', 'ip_version': 4, 'cidr': '85.100.111.128/26', 'allocation_pools': [{'start': '85.100.111.130', 'end': '85.100.111.190'}], 'gateway_ip': '85.100.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.100.111.130', 'tags': [], 'project_id': '7d1f3d9415f94077b5d127e9455f080c'}} 2025-10-13 16:55:54,414 - INFO - Created VN ctest-vn-26422405 2025-10-13 16:55:54,467 - DEBUG - VN ctest-vn-26422405 UUID is 27b56088-6bf2-40e0-a166-78676fa5ea67 2025-10-13 16:55:54,814 - DEBUG - Response for create_network : {'network': {'id': 'e68231dd-635b-432a-989d-fba7bb0ba6ba', 'name': 'ctest-vn-81439312', 'tenant_id': '7d1f3d9415f94077b5d127e9455f080c', 'project_id': '7d1f3d9415f94077b5d127e9455f080c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00566413', 'ctest-vn-81439312'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:55:54,986 - DEBUG - Response for create_subnet : {'subnet': {'id': 'baec5383-1dbc-467d-8c41-5136a1d5ee4c', 'name': '', 'tenant_id': '7d1f3d9415f94077b5d127e9455f080c', 'network_id': 'e68231dd-635b-432a-989d-fba7bb0ba6ba', 'ip_version': 4, 'cidr': '147.117.48.0/26', 'allocation_pools': [{'start': '147.117.48.2', 'end': '147.117.48.62'}], 'gateway_ip': '147.117.48.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.117.48.2', 'tags': [], 'project_id': '7d1f3d9415f94077b5d127e9455f080c'}} 2025-10-13 16:55:55,007 - INFO - Created VN ctest-vn-81439312 2025-10-13 16:55:55,063 - DEBUG - VN ctest-vn-81439312 UUID is e68231dd-635b-432a-989d-fba7bb0ba6ba 2025-10-13 16:55:55,183 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00566413:ctest-vn-26422405, 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-00566413:ctest-vn-81439312, 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-10-13 16:55:55,507 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '27b56088-6bf2-40e0-a166-78676fa5ea67', 'name': 'ctest-vn-26422405', 'tenant_id': '7d1f3d9415f94077b5d127e9455f080c', 'project_id': '7d1f3d9415f94077b5d127e9455f080c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1ef84263-5809-43c5-8047-1feba0ffac69'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00566413', 'ctest-vn-26422405'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00566413', 'ctest-policy-allow-all-26745498']], 'subnet_ipam': [{'subnet_cidr': '85.100.111.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:55:55,743 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e68231dd-635b-432a-989d-fba7bb0ba6ba', 'name': 'ctest-vn-81439312', 'tenant_id': '7d1f3d9415f94077b5d127e9455f080c', 'project_id': '7d1f3d9415f94077b5d127e9455f080c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['baec5383-1dbc-467d-8c41-5136a1d5ee4c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00566413', 'ctest-vn-81439312'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00566413', 'ctest-policy-allow-all-26745498']], 'subnet_ipam': [{'subnet_cidr': '147.117.48.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:55:55,907 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 16:55:56,206 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 16:55:56,235 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c0e85966-66ef-4179-a355-4607ebdd7b22 2025-10-13 16:55:56,249 - DEBUG - Requesting: http://10.0.0.254:8082/project/7d1f3d94-15f9-4077-b5d1-27e9455f080c 2025-10-13 16:55:56,328 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/27b56088-6bf2-40e0-a166-78676fa5ea67 2025-10-13 16:55:56,343 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/27b56088-6bf2-40e0-a166-78676fa5ea67 2025-10-13 16:55:56,352 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/873bca93-5f4a-49c2-8472-d87febeafdd3 2025-10-13 16:55:56,360 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/873bca93-5f4a-49c2-8472-d87febeafdd3 2025-10-13 16:55:56,368 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0d735395-fcdb-45e7-9a9f-05806c196c40 2025-10-13 16:55:56,374 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 16:55:56,374 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/27b56088-6bf2-40e0-a166-78676fa5ea67 2025-10-13 16:55:56,384 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/873bca93-5f4a-49c2-8472-d87febeafdd3 2025-10-13 16:55:56,400 - INFO - Verified VN network id 12 for VN 27b56088-6bf2-40e0-a166-78676fa5ea67 2025-10-13 16:55:56,400 - INFO - Verifications in API Server for VN ctest-vn-26422405 passed 2025-10-13 16:55:56,400 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/27b56088-6bf2-40e0-a166-78676fa5ea67 2025-10-13 16:55:56,410 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/873bca93-5f4a-49c2-8472-d87febeafdd3 2025-10-13 16:55:56,417 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/873bca93-5f4a-49c2-8472-d87febeafdd3 2025-10-13 16:55:56,426 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0d735395-fcdb-45e7-9a9f-05806c196c40 2025-10-13 16:55:56,439 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00566413:ctest-vn-26422405', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00566413', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2861299277306675424', 'uuid-lslong': '11630115473380993639'}, 'enable': 'true', 'created': '2025-10-13T16:55:54', 'last-modified': '2025-10-13T16:55:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.955426'} 2025-10-13 16:55:56,446 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 16:55:56,446 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26422405 passed 2025-10-13 16:55:56,446 - DEBUG - ====Verifying policy data for ctest-vn-26422405 in API_Server ====== 2025-10-13 16:55:56,446 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 16:55:56,454 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c0e85966-66ef-4179-a355-4607ebdd7b22 2025-10-13 16:55:56,467 - DEBUG - Requesting: http://10.0.0.254:8082/project/7d1f3d94-15f9-4077-b5d1-27e9455f080c 2025-10-13 16:55:56,537 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/27b56088-6bf2-40e0-a166-78676fa5ea67 2025-10-13 16:55:56,548 - DEBUG - ==>Verifying data for policy with id: 99b9f495-15ea-46d4-81bc-bf13844db429, fqn: ['default-domain', 'ctest-TestBasicPolicy-00566413', 'ctest-policy-allow-all-26745498'] 2025-10-13 16:55:56,548 - INFO - VN ctest-vn-26422405 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 16:55:56,548 - DEBUG - Verifying the vn in opserver 2025-10-13 16:55:56,549 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00566413:ctest-vn-26422405 virtual network link through opserver 10.0.0.254 2025-10-13 16:55:56,549 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-13 16:55:56,844 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-13 16:55:56,904 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00566413:ctest-vn-26422405', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00566413:ctest-vn-26422405?flat'} 2025-10-13 16:55:56,904 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00566413:ctest-vn-26422405 is found in opserver 2025-10-13 16:55:56,914 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 16:55:56,918 - DEBUG - VRF ids for VN ctest-vn-26422405: {} 2025-10-13 16:55:56,919 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 16:55:56,924 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c0e85966-66ef-4179-a355-4607ebdd7b22 2025-10-13 16:55:56,935 - DEBUG - Requesting: http://10.0.0.254:8082/project/7d1f3d94-15f9-4077-b5d1-27e9455f080c 2025-10-13 16:55:57,008 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e68231dd-635b-432a-989d-fba7bb0ba6ba 2025-10-13 16:55:57,020 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e68231dd-635b-432a-989d-fba7bb0ba6ba 2025-10-13 16:55:57,029 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/023d0935-31d1-4d0f-a687-80da9c20b502 2025-10-13 16:55:57,037 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/023d0935-31d1-4d0f-a687-80da9c20b502 2025-10-13 16:55:57,044 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c6e7e7cc-78a3-4397-a908-7d8f200abda6 2025-10-13 16:55:57,052 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 16:55:57,052 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e68231dd-635b-432a-989d-fba7bb0ba6ba 2025-10-13 16:55:57,062 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/023d0935-31d1-4d0f-a687-80da9c20b502 2025-10-13 16:55:57,078 - INFO - Verified VN network id 13 for VN e68231dd-635b-432a-989d-fba7bb0ba6ba 2025-10-13 16:55:57,078 - INFO - Verifications in API Server for VN ctest-vn-81439312 passed 2025-10-13 16:55:57,078 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e68231dd-635b-432a-989d-fba7bb0ba6ba 2025-10-13 16:55:57,090 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/023d0935-31d1-4d0f-a687-80da9c20b502 2025-10-13 16:55:57,097 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/023d0935-31d1-4d0f-a687-80da9c20b502 2025-10-13 16:55:57,105 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c6e7e7cc-78a3-4397-a908-7d8f200abda6 2025-10-13 16:55:57,121 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00566413:ctest-vn-81439312', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00566413', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16609893202620269354', 'uuid-lslong': '10997222562924832442'}, 'enable': 'true', 'created': '2025-10-13T16:55:54', 'last-modified': '2025-10-13T16:55:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.410661'} 2025-10-13 16:55:57,127 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 16:55:57,127 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81439312 passed 2025-10-13 16:55:57,127 - DEBUG - ====Verifying policy data for ctest-vn-81439312 in API_Server ====== 2025-10-13 16:55:57,127 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 16:55:57,132 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c0e85966-66ef-4179-a355-4607ebdd7b22 2025-10-13 16:55:57,142 - DEBUG - Requesting: http://10.0.0.254:8082/project/7d1f3d94-15f9-4077-b5d1-27e9455f080c 2025-10-13 16:55:57,212 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e68231dd-635b-432a-989d-fba7bb0ba6ba 2025-10-13 16:55:57,222 - DEBUG - ==>Verifying data for policy with id: 99b9f495-15ea-46d4-81bc-bf13844db429, fqn: ['default-domain', 'ctest-TestBasicPolicy-00566413', 'ctest-policy-allow-all-26745498'] 2025-10-13 16:55:57,222 - INFO - VN ctest-vn-81439312 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 16:55:57,222 - DEBUG - Verifying the vn in opserver 2025-10-13 16:55:57,222 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00566413:ctest-vn-81439312 virtual network link through opserver 10.0.0.254 2025-10-13 16:55:57,222 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-13 16:55:57,233 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00566413:ctest-vn-81439312', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00566413:ctest-vn-81439312?flat'} 2025-10-13 16:55:57,233 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00566413:ctest-vn-81439312 is found in opserver 2025-10-13 16:55:57,248 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 16:55:57,252 - DEBUG - VRF ids for VN ctest-vn-81439312: {} 2025-10-13 16:55:57,317 - DEBUG - Services list from nova: [, , ] 2025-10-13 16:55:58,420 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4308-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4308-1) 2025-10-13 16:55:59,640 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4308-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4308-1) 2025-10-13 16:55:59,640 - INFO - Waiting for VM ctest-TestBasicPolicy-00566413-10766724 to be up.. 2025-10-13 16:55:59,728 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 16:56:04,827 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:56:04,827 - INFO - VM name : ctest-TestBasicPolicy-00566413-10766724 2025-10-13 16:56:04,912 - DEBUG - VM ctest-TestBasicPolicy-00566413-10766724 ID is dba4d768-05c5-41e4-bbef-a115e961e934 2025-10-13 16:56:04,943 - DEBUG - VM ctest-TestBasicPolicy-00566413-10766724 launched on Node cn-jenkins-deploy-platform-ansible-os-4308-1 2025-10-13 16:56:05,046 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dba4d768-05c5-41e4-bbef-a115e961e934 2025-10-13 16:56:05,056 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b502eae0-5b80-4a2e-9522-0b90a17b0a3a 2025-10-13 16:56:08,308 - 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 1003ms') 2025-10-13 16:56:08,308 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00566413-10766724 failed! 2025-10-13 16:56:08,367 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00566413:ctest-vn-26422405 is 85.100.111.129 and allocation pool is NOT set 2025-10-13 16:56:10,430 - 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=9.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.21 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 = 3.214/6.237/9.261/3.023 ms') 2025-10-13 16:56:10,430 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00566413-10766724 passed 2025-10-13 16:56:10,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:56:10,579 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00566413-10766724, IP 85.100.111.131, Port 22 2025-10-13 16:56:10,645 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-13 16:56:10,792 - DEBUG - VM ctest-TestBasicPolicy-00566413-10766724 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-13 16:56:15,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:56:15,793 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00566413-10766724, IP 85.100.111.131, Port 22 2025-10-13 16:56:15,954 - DEBUG - VM ctest-TestBasicPolicy-00566413-10766724 is ready for SSH connections 2025-10-13 16:56:15,954 - INFO - Waiting for VM ctest-TestBasicPolicy-00566413-24293883 to be up.. 2025-10-13 16:56:16,049 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:56:16,049 - INFO - VM name : ctest-TestBasicPolicy-00566413-24293883 2025-10-13 16:56:16,120 - DEBUG - VM ctest-TestBasicPolicy-00566413-24293883 ID is b0ce4da0-0de8-4898-984c-1a5915f018a7 2025-10-13 16:56:16,120 - DEBUG - VM ctest-TestBasicPolicy-00566413-24293883 launched on Node cn-jenkins-deploy-platform-ansible-os-4308-1 2025-10-13 16:56:16,209 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b0ce4da0-0de8-4898-984c-1a5915f018a7 2025-10-13 16:56:16,219 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/30471377-6df8-4965-beb2-8769b217a7d2 2025-10-13 16:56:17,482 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.563 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.563/2.116/3.669/1.553 ms') 2025-10-13 16:56:17,482 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00566413-24293883 passed 2025-10-13 16:56:17,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:56:17,635 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00566413-24293883, IP 147.117.48.3, Port 22 2025-10-13 16:56:17,795 - DEBUG - VM ctest-TestBasicPolicy-00566413-24293883 is ready for SSH connections 2025-10-13 16:56:17,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:56:17,795 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.117.48.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-13 16:56:17,795 - DEBUG - ping -s 56 -c 3 -W 1 147.117.48.3 2025-10-13 16:56:21,908 - DEBUG - PING 147.117.48.3 (147.117.48.3): 56 data bytes 64 bytes from 147.117.48.3: seq=0 ttl=63 time=4.923 ms 64 bytes from 147.117.48.3: seq=1 ttl=63 time=1.058 ms 64 bytes from 147.117.48.3: seq=2 ttl=63 time=4.605 ms --- 147.117.48.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.058/3.528/4.923 ms 2025-10-13 16:56:21,908 - INFO - Ping to IP 147.117.48.3 from VM ctest-TestBasicPolicy-00566413-10766724 passed 2025-10-13 16:56:22,083 - DEBUG - Policy Update Response {"network-policy": {"uuid": "99b9f495-15ea-46d4-81bc-bf13844db429", "href": "http://10.0.0.254:8082/network-policy/99b9f495-15ea-46d4-81bc-bf13844db429"}} 2025-10-13 16:56:22,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:56:22,083 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.117.48.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-13 16:56:22,083 - DEBUG - ping -s 56 -c 3 -W 1 147.117.48.3 2025-10-13 16:56:25,313 - DEBUG - PING 147.117.48.3 (147.117.48.3): 56 data bytes --- 147.117.48.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 16:56:25,314 - WARNING - Ping to IP 147.117.48.3 from VM ctest-TestBasicPolicy-00566413-10766724 failed 2025-10-13 16:56:25,314 - INFO - Deleting VM ctest-TestBasicPolicy-00566413-24293883 2025-10-13 16:56:25,387 - INFO - Deleting VM ctest-TestBasicPolicy-00566413-10766724 2025-10-13 16:56:25,797 - INFO - Deleted policy ctest-policy-allow-all-26745498 2025-10-13 16:56:25,797 - INFO - Deleting VN ctest-vn-81439312 2025-10-13 16:56:25,834 - DEBUG - VN e68231dd-635b-432a-989d-fba7bb0ba6ba still in use: Unable to complete operation on network e68231dd-635b-432a-989d-fba7bb0ba6ba. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-92159eb5-26c7-49fe-a3d4-3ee44fd25530'] 2025-10-13 16:56:25,834 - WARNING - Deleting VN ctest-vn-81439312 failed..Will retry 2025-10-13 16:56:27,948 - DEBUG - Response for deleting network () 2025-10-13 16:56:27,948 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/023d0935-31d1-4d0f-a687-80da9c20b502 2025-10-13 16:56:27,953 - DEBUG - Response Code: 404 2025-10-13 16:56:27,953 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 16:56:27,959 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c0e85966-66ef-4179-a355-4607ebdd7b22 2025-10-13 16:56:28,014 - DEBUG - Requesting: http://10.0.0.254:8082/project/7d1f3d94-15f9-4077-b5d1-27e9455f080c 2025-10-13 16:56:28,090 - INFO - Validated that VN ctest-vn-81439312 is not found in API Server 2025-10-13 16:56:28,104 - DEBUG - VN ctest-vn-81439312 is not present in Agent 10.0.0.254 2025-10-13 16:56:28,104 - INFO - Validated that VN ctest-vn-81439312 is not in any agent 2025-10-13 16:56:28,125 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81439312 info 2025-10-13 16:56:28,125 - INFO - Deleting VN ctest-vn-26422405 2025-10-13 16:56:28,253 - DEBUG - Response for deleting network () 2025-10-13 16:56:28,253 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/873bca93-5f4a-49c2-8472-d87febeafdd3 2025-10-13 16:56:28,263 - DEBUG - Response Code: 404 2025-10-13 16:56:28,263 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-13 16:56:28,271 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c0e85966-66ef-4179-a355-4607ebdd7b22 2025-10-13 16:56:28,325 - DEBUG - Requesting: http://10.0.0.254:8082/project/7d1f3d94-15f9-4077-b5d1-27e9455f080c 2025-10-13 16:56:28,424 - INFO - Validated that VN ctest-vn-26422405 is not found in API Server 2025-10-13 16:56:28,435 - DEBUG - VN ctest-vn-26422405 is not present in Agent 10.0.0.254 2025-10-13 16:56:28,435 - INFO - Validated that VN ctest-vn-26422405 is not in any agent 2025-10-13 16:56:28,448 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26422405 info 2025-10-13 16:56:28,700 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 16:56:28,700 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-13 16:56:28,701 - INFO - -------------------------------------------------------------------------------- 2025-10-13 16:56:29,408 - INFO - Deleted project: ctest-TestBasicPolicy-00566413, ID : 7d1f3d94-15f9-4077-b5d1-27e9455f080c