2025-04-30 14:41:11,533 - INFO - Domain Default found not creating 2025-04-30 14:41:11,649 - INFO - Project ctest-TestBasicPolicy-62424100 not found, creating it 2025-04-30 14:41:12,173 - INFO - Created Project:ctest-TestBasicPolicy-62424100, ID : a41f3083-eb1e-4417-b768-babef92d055c 2025-04-30 14:41:13,513 - INFO - ================================================================================ 2025-04-30 14:41:13,513 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-30 14:41:13,513 - 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-04-30 14:41:13,763 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-30 14:41:13,763 - INFO - Initial checks done. Running the testcase now 2025-04-30 14:41:13,763 - INFO - 2025-04-30 14:41:14,273 - DEBUG - Response for create_network : {'network': {'id': 'deceed51-d6b6-401c-baa9-7dd71c61d4fe', 'name': 'ctest-vn-21805151', 'tenant_id': 'a41f3083eb1e4417b768babef92d055c', 'project_id': 'a41f3083eb1e4417b768babef92d055c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62424100', 'ctest-vn-21805151'], 'port_security_enabled': True, 'description': ''}} 2025-04-30 14:41:14,419 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6c26e05-982e-4985-8394-ed3d03e01d9a', 'name': '', 'tenant_id': 'a41f3083eb1e4417b768babef92d055c', 'network_id': 'deceed51-d6b6-401c-baa9-7dd71c61d4fe', 'ip_version': 4, 'cidr': '26.39.50.128/26', 'allocation_pools': [{'start': '26.39.50.130', 'end': '26.39.50.190'}], 'gateway_ip': '26.39.50.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.39.50.130', 'tags': [], 'project_id': 'a41f3083eb1e4417b768babef92d055c'}} 2025-04-30 14:41:14,435 - INFO - Created VN ctest-vn-21805151 2025-04-30 14:41:14,489 - DEBUG - VN ctest-vn-21805151 UUID is deceed51-d6b6-401c-baa9-7dd71c61d4fe 2025-04-30 14:41:14,785 - DEBUG - Response for create_network : {'network': {'id': '903bbadf-10ac-4bec-a0da-e3518765364a', 'name': 'ctest-vn-07779913', 'tenant_id': 'a41f3083eb1e4417b768babef92d055c', 'project_id': 'a41f3083eb1e4417b768babef92d055c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62424100', 'ctest-vn-07779913'], 'port_security_enabled': True, 'description': ''}} 2025-04-30 14:41:14,977 - DEBUG - Response for create_subnet : {'subnet': {'id': '445bc89d-e695-4953-8846-cbc0c3e940de', 'name': '', 'tenant_id': 'a41f3083eb1e4417b768babef92d055c', 'network_id': '903bbadf-10ac-4bec-a0da-e3518765364a', 'ip_version': 4, 'cidr': '205.49.45.0/26', 'allocation_pools': [{'start': '205.49.45.2', 'end': '205.49.45.62'}], 'gateway_ip': '205.49.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.49.45.2', 'tags': [], 'project_id': 'a41f3083eb1e4417b768babef92d055c'}} 2025-04-30 14:41:14,992 - INFO - Created VN ctest-vn-07779913 2025-04-30 14:41:15,045 - DEBUG - VN ctest-vn-07779913 UUID is 903bbadf-10ac-4bec-a0da-e3518765364a 2025-04-30 14:41:15,261 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62424100:ctest-vn-21805151, 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-62424100:ctest-vn-07779913, 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-04-30 14:41:15,540 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'deceed51-d6b6-401c-baa9-7dd71c61d4fe', 'name': 'ctest-vn-21805151', 'tenant_id': 'a41f3083eb1e4417b768babef92d055c', 'project_id': 'a41f3083eb1e4417b768babef92d055c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b6c26e05-982e-4985-8394-ed3d03e01d9a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62424100', 'ctest-vn-21805151'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62424100', 'ctest-policy-allow-all-88462713']], 'subnet_ipam': [{'subnet_cidr': '26.39.50.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-30 14:41:15,813 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '903bbadf-10ac-4bec-a0da-e3518765364a', 'name': 'ctest-vn-07779913', 'tenant_id': 'a41f3083eb1e4417b768babef92d055c', 'project_id': 'a41f3083eb1e4417b768babef92d055c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['445bc89d-e695-4953-8846-cbc0c3e940de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62424100', 'ctest-vn-07779913'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62424100', 'ctest-policy-allow-all-88462713']], 'subnet_ipam': [{'subnet_cidr': '205.49.45.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-30 14:41:15,961 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 14:41:16,252 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 14:41:16,277 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3a79b4e5-0d36-42ab-bcb2-f11eb5dfe71b 2025-04-30 14:41:16,289 - DEBUG - Requesting: http://10.0.0.38:8082/project/a41f3083-eb1e-4417-b768-babef92d055c 2025-04-30 14:41:16,359 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/deceed51-d6b6-401c-baa9-7dd71c61d4fe 2025-04-30 14:41:16,369 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/deceed51-d6b6-401c-baa9-7dd71c61d4fe 2025-04-30 14:41:16,378 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca7de19-f3b9-4074-9a04-445979f26691 2025-04-30 14:41:16,385 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca7de19-f3b9-4074-9a04-445979f26691 2025-04-30 14:41:16,401 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aee7faea-49cd-431d-9dc2-38cb5cbfbd2e 2025-04-30 14:41:16,407 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-30 14:41:16,407 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/deceed51-d6b6-401c-baa9-7dd71c61d4fe 2025-04-30 14:41:16,417 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca7de19-f3b9-4074-9a04-445979f26691 2025-04-30 14:41:16,430 - INFO - Verified VN network id 9 for VN deceed51-d6b6-401c-baa9-7dd71c61d4fe 2025-04-30 14:41:16,430 - INFO - Verifications in API Server for VN ctest-vn-21805151 passed 2025-04-30 14:41:16,430 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/deceed51-d6b6-401c-baa9-7dd71c61d4fe 2025-04-30 14:41:16,440 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca7de19-f3b9-4074-9a04-445979f26691 2025-04-30 14:41:16,447 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca7de19-f3b9-4074-9a04-445979f26691 2025-04-30 14:41:16,454 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/aee7faea-49cd-431d-9dc2-38cb5cbfbd2e 2025-04-30 14:41:16,466 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62424100:ctest-vn-21805151', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62424100', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16055030657372799004', 'uuid-lslong': '13450420124966311166'}, 'enable': 'true', 'created': '2025-04-30T14:41:14', 'last-modified': '2025-04-30T14:41:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.940258'} 2025-04-30 14:41:16,473 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-30 14:41:16,473 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21805151 passed 2025-04-30 14:41:16,473 - DEBUG - ====Verifying policy data for ctest-vn-21805151 in API_Server ====== 2025-04-30 14:41:16,473 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 14:41:16,478 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3a79b4e5-0d36-42ab-bcb2-f11eb5dfe71b 2025-04-30 14:41:16,488 - DEBUG - Requesting: http://10.0.0.38:8082/project/a41f3083-eb1e-4417-b768-babef92d055c 2025-04-30 14:41:16,555 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/deceed51-d6b6-401c-baa9-7dd71c61d4fe 2025-04-30 14:41:16,564 - DEBUG - ==>Verifying data for policy with id: d4922c5a-38be-4466-8f47-b89ec9a08675, fqn: ['default-domain', 'ctest-TestBasicPolicy-62424100', 'ctest-policy-allow-all-88462713'] 2025-04-30 14:41:16,564 - INFO - VN ctest-vn-21805151 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-30 14:41:16,564 - DEBUG - Verifying the vn in opserver 2025-04-30 14:41:16,564 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62424100:ctest-vn-21805151 virtual network link through opserver 10.0.0.38 2025-04-30 14:41:16,564 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-30 14:41:16,850 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-30 14:41:16,896 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62424100:ctest-vn-21805151', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62424100:ctest-vn-21805151?flat'} 2025-04-30 14:41:16,896 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62424100:ctest-vn-21805151 is found in opserver 2025-04-30 14:41:16,906 - DEBUG - Do not have enough data to verify VN in agent 2025-04-30 14:41:16,911 - DEBUG - VRF ids for VN ctest-vn-21805151: {} 2025-04-30 14:41:16,911 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 14:41:16,915 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3a79b4e5-0d36-42ab-bcb2-f11eb5dfe71b 2025-04-30 14:41:16,926 - DEBUG - Requesting: http://10.0.0.38:8082/project/a41f3083-eb1e-4417-b768-babef92d055c 2025-04-30 14:41:16,992 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/903bbadf-10ac-4bec-a0da-e3518765364a 2025-04-30 14:41:17,003 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/903bbadf-10ac-4bec-a0da-e3518765364a 2025-04-30 14:41:17,014 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1c733b9a-93e7-4238-becf-7c57a76d36bb 2025-04-30 14:41:17,021 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1c733b9a-93e7-4238-becf-7c57a76d36bb 2025-04-30 14:41:17,028 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5aa5bb0d-928f-4543-958e-da1823e5db44 2025-04-30 14:41:17,034 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-30 14:41:17,034 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/903bbadf-10ac-4bec-a0da-e3518765364a 2025-04-30 14:41:17,043 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1c733b9a-93e7-4238-becf-7c57a76d36bb 2025-04-30 14:41:17,055 - INFO - Verified VN network id 10 for VN 903bbadf-10ac-4bec-a0da-e3518765364a 2025-04-30 14:41:17,056 - INFO - Verifications in API Server for VN ctest-vn-07779913 passed 2025-04-30 14:41:17,056 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/903bbadf-10ac-4bec-a0da-e3518765364a 2025-04-30 14:41:17,066 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1c733b9a-93e7-4238-becf-7c57a76d36bb 2025-04-30 14:41:17,072 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1c733b9a-93e7-4238-becf-7c57a76d36bb 2025-04-30 14:41:17,077 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5aa5bb0d-928f-4543-958e-da1823e5db44 2025-04-30 14:41:17,088 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62424100:ctest-vn-07779913', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62424100', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10393106032307751916', 'uuid-lslong': '11590826530294806090'}, 'enable': 'true', 'created': '2025-04-30T14:41:14', 'last-modified': '2025-04-30T14:41:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.344472'} 2025-04-30 14:41:17,093 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-30 14:41:17,093 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07779913 passed 2025-04-30 14:41:17,094 - DEBUG - ====Verifying policy data for ctest-vn-07779913 in API_Server ====== 2025-04-30 14:41:17,094 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 14:41:17,098 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3a79b4e5-0d36-42ab-bcb2-f11eb5dfe71b 2025-04-30 14:41:17,109 - DEBUG - Requesting: http://10.0.0.38:8082/project/a41f3083-eb1e-4417-b768-babef92d055c 2025-04-30 14:41:17,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/903bbadf-10ac-4bec-a0da-e3518765364a 2025-04-30 14:41:17,248 - DEBUG - ==>Verifying data for policy with id: d4922c5a-38be-4466-8f47-b89ec9a08675, fqn: ['default-domain', 'ctest-TestBasicPolicy-62424100', 'ctest-policy-allow-all-88462713'] 2025-04-30 14:41:17,248 - INFO - VN ctest-vn-07779913 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-30 14:41:17,248 - DEBUG - Verifying the vn in opserver 2025-04-30 14:41:17,248 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62424100:ctest-vn-07779913 virtual network link through opserver 10.0.0.38 2025-04-30 14:41:17,248 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-30 14:41:17,259 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62424100:ctest-vn-07779913', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62424100:ctest-vn-07779913?flat'} 2025-04-30 14:41:17,259 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62424100:ctest-vn-07779913 is found in opserver 2025-04-30 14:41:17,271 - DEBUG - Do not have enough data to verify VN in agent 2025-04-30 14:41:17,276 - DEBUG - VRF ids for VN ctest-vn-07779913: {} 2025-04-30 14:41:17,331 - DEBUG - Services list from nova: [, , ] 2025-04-30 14:41:18,301 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3249-1) 2025-04-30 14:41:19,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3249-1) 2025-04-30 14:41:19,453 - INFO - Waiting for VM ctest-TestBasicPolicy-62424100-59135015 to be up.. 2025-04-30 14:41:19,528 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-30 14:41:24,601 - DEBUG - VM is in ACTIVE state now 2025-04-30 14:41:24,601 - INFO - VM name : ctest-TestBasicPolicy-62424100-59135015 2025-04-30 14:41:24,664 - DEBUG - VM ctest-TestBasicPolicy-62424100-59135015 ID is 10d833ed-e04e-4446-9e8b-e9ae2f19b1ab 2025-04-30 14:41:24,679 - DEBUG - VM ctest-TestBasicPolicy-62424100-59135015 launched on Node cn-jenkins-deploy-platform-ansible-os-3249-1 2025-04-30 14:41:24,741 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/10d833ed-e04e-4446-9e8b-e9ae2f19b1ab 2025-04-30 14:41:24,747 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e3a94ae3-ea7a-404b-88ed-aadab954b32c 2025-04-30 14:41:28,015 - 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 1028ms') 2025-04-30 14:41:28,015 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62424100-59135015 failed! 2025-04-30 14:41:28,069 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-62424100:ctest-vn-21805151 is 26.39.50.129 and allocation pool is NOT set 2025-04-30 14:41:30,128 - 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=3.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.767 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.767/2.093/3.419/1.326 ms') 2025-04-30 14:41:30,128 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62424100-59135015 passed 2025-04-30 14:41:30,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 14:41:30,285 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62424100-59135015, IP 26.39.50.131, Port 22 2025-04-30 14:41:30,436 - DEBUG - VM ctest-TestBasicPolicy-62424100-59135015 is ready for SSH connections 2025-04-30 14:41:30,436 - INFO - Waiting for VM ctest-TestBasicPolicy-62424100-36167483 to be up.. 2025-04-30 14:41:30,503 - DEBUG - VM is in ACTIVE state now 2025-04-30 14:41:30,504 - INFO - VM name : ctest-TestBasicPolicy-62424100-36167483 2025-04-30 14:41:30,568 - DEBUG - VM ctest-TestBasicPolicy-62424100-36167483 ID is 99dde049-8b84-431c-a10d-3f91b13705ff 2025-04-30 14:41:30,569 - DEBUG - VM ctest-TestBasicPolicy-62424100-36167483 launched on Node cn-jenkins-deploy-platform-ansible-os-3249-1 2025-04-30 14:41:30,633 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/99dde049-8b84-431c-a10d-3f91b13705ff 2025-04-30 14:41:30,640 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/daf69c03-b03a-4b98-9514-ad65e30b79bd 2025-04-30 14:41:31,882 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.330 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.330/1.472/2.615/1.142 ms') 2025-04-30 14:41:31,882 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62424100-36167483 passed 2025-04-30 14:41:32,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 14:41:32,029 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62424100-36167483, IP 205.49.45.3, Port 22 2025-04-30 14:41:32,180 - DEBUG - VM ctest-TestBasicPolicy-62424100-36167483 is ready for SSH connections 2025-04-30 14:41:32,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 14:41:32,180 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.49.45.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-30 14:41:32,180 - DEBUG - ping -s 56 -c 3 -W 1 205.49.45.3 2025-04-30 14:41:36,116 - DEBUG - PING 205.49.45.3 (205.49.45.3): 56 data bytes 64 bytes from 205.49.45.3: seq=0 ttl=63 time=3.019 ms 64 bytes from 205.49.45.3: seq=1 ttl=63 time=0.696 ms 64 bytes from 205.49.45.3: seq=2 ttl=63 time=0.676 ms --- 205.49.45.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.676/1.463/3.019 ms 2025-04-30 14:41:36,116 - INFO - Ping to IP 205.49.45.3 from VM ctest-TestBasicPolicy-62424100-59135015 passed 2025-04-30 14:41:36,301 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d4922c5a-38be-4466-8f47-b89ec9a08675", "href": "http://10.0.0.38:8082/network-policy/d4922c5a-38be-4466-8f47-b89ec9a08675"}} 2025-04-30 14:41:36,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 14:41:36,301 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.49.45.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-30 14:41:36,301 - DEBUG - ping -s 56 -c 3 -W 1 205.49.45.3 2025-04-30 14:41:39,498 - DEBUG - PING 205.49.45.3 (205.49.45.3): 56 data bytes --- 205.49.45.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-30 14:41:39,498 - WARNING - Ping to IP 205.49.45.3 from VM ctest-TestBasicPolicy-62424100-59135015 failed 2025-04-30 14:41:39,498 - INFO - Deleting VM ctest-TestBasicPolicy-62424100-36167483 2025-04-30 14:41:39,552 - INFO - Deleting VM ctest-TestBasicPolicy-62424100-59135015 2025-04-30 14:41:39,906 - INFO - Deleted policy ctest-policy-allow-all-88462713 2025-04-30 14:41:39,907 - INFO - Deleting VN ctest-vn-07779913 2025-04-30 14:41:39,941 - DEBUG - VN 903bbadf-10ac-4bec-a0da-e3518765364a still in use: Unable to complete operation on network 903bbadf-10ac-4bec-a0da-e3518765364a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-77fde1cf-796d-4e72-b187-62ae2d12f363'] 2025-04-30 14:41:39,941 - WARNING - Deleting VN ctest-vn-07779913 failed..Will retry 2025-04-30 14:41:42,030 - DEBUG - Response for deleting network () 2025-04-30 14:41:42,030 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1c733b9a-93e7-4238-becf-7c57a76d36bb 2025-04-30 14:41:42,035 - DEBUG - Response Code: 404 2025-04-30 14:41:42,035 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 14:41:42,042 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3a79b4e5-0d36-42ab-bcb2-f11eb5dfe71b 2025-04-30 14:41:42,095 - DEBUG - Requesting: http://10.0.0.38:8082/project/a41f3083-eb1e-4417-b768-babef92d055c 2025-04-30 14:41:42,166 - INFO - Validated that VN ctest-vn-07779913 is not found in API Server 2025-04-30 14:41:42,176 - DEBUG - VN ctest-vn-07779913 is not present in Agent 10.0.0.38 2025-04-30 14:41:42,176 - INFO - Validated that VN ctest-vn-07779913 is not in any agent 2025-04-30 14:41:42,191 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07779913 info 2025-04-30 14:41:42,191 - INFO - Deleting VN ctest-vn-21805151 2025-04-30 14:41:42,279 - DEBUG - Response for deleting network () 2025-04-30 14:41:42,279 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ca7de19-f3b9-4074-9a04-445979f26691 2025-04-30 14:41:42,285 - DEBUG - Response Code: 404 2025-04-30 14:41:42,285 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-30 14:41:42,291 - DEBUG - Requesting: http://10.0.0.38:8082/domain/3a79b4e5-0d36-42ab-bcb2-f11eb5dfe71b 2025-04-30 14:41:42,352 - DEBUG - Requesting: http://10.0.0.38:8082/project/a41f3083-eb1e-4417-b768-babef92d055c 2025-04-30 14:41:42,420 - INFO - Validated that VN ctest-vn-21805151 is not found in API Server 2025-04-30 14:41:42,432 - DEBUG - VN ctest-vn-21805151 is not present in Agent 10.0.0.38 2025-04-30 14:41:42,432 - INFO - Validated that VN ctest-vn-21805151 is not in any agent 2025-04-30 14:41:42,446 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21805151 info 2025-04-30 14:41:42,700 - DEBUG - No XMPP flaps were noticed during the test 2025-04-30 14:41:42,700 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-30 14:41:42,700 - INFO - -------------------------------------------------------------------------------- 2025-04-30 14:41:43,348 - INFO - Deleted project: ctest-TestBasicPolicy-62424100, ID : a41f3083-eb1e-4417-b768-babef92d055c