2025-02-05 06:46:21,935 - INFO - Domain Default found not creating 2025-02-05 06:46:22,079 - INFO - Project ctest-TestBasicPolicy-09460084 not found, creating it 2025-02-05 06:46:22,528 - INFO - Created Project:ctest-TestBasicPolicy-09460084, ID : 437ccbb1-15b6-4775-9366-f836404d4829 2025-02-05 06:46:23,967 - INFO - ================================================================================ 2025-02-05 06:46:23,967 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-05 06:46:23,967 - 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-02-05 06:46:24,229 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.13': '0'}} with 2025-02-05 06:46:24,229 - INFO - Initial checks done. Running the testcase now 2025-02-05 06:46:24,229 - INFO - 2025-02-05 06:46:24,755 - DEBUG - Response for create_network : {'network': {'id': '2089a9f6-836c-454c-89a6-240b755878fa', 'name': 'ctest-vn-81066543', 'tenant_id': '437ccbb115b647759366f836404d4829', 'project_id': '437ccbb115b647759366f836404d4829', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09460084', 'ctest-vn-81066543'], 'port_security_enabled': True, 'description': ''}} 2025-02-05 06:46:24,986 - DEBUG - Response for create_subnet : {'subnet': {'id': '383247e9-e72a-4721-beaf-cb28823b4458', 'name': '', 'tenant_id': '437ccbb115b647759366f836404d4829', 'network_id': '2089a9f6-836c-454c-89a6-240b755878fa', 'ip_version': 4, 'cidr': '223.185.161.0/26', 'allocation_pools': [{'start': '223.185.161.2', 'end': '223.185.161.62'}], 'gateway_ip': '223.185.161.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.185.161.2', 'tags': [], 'project_id': '437ccbb115b647759366f836404d4829'}} 2025-02-05 06:46:25,007 - INFO - Created VN ctest-vn-81066543 2025-02-05 06:46:25,058 - DEBUG - VN ctest-vn-81066543 UUID is 2089a9f6-836c-454c-89a6-240b755878fa 2025-02-05 06:46:25,366 - DEBUG - Response for create_network : {'network': {'id': 'e1bbdada-476e-479e-93cd-0725a7fd54e1', 'name': 'ctest-vn-18189765', 'tenant_id': '437ccbb115b647759366f836404d4829', 'project_id': '437ccbb115b647759366f836404d4829', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09460084', 'ctest-vn-18189765'], 'port_security_enabled': True, 'description': ''}} 2025-02-05 06:46:25,529 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eda54fbf-a0c3-484d-a2a5-7a64dd321382', 'name': '', 'tenant_id': '437ccbb115b647759366f836404d4829', 'network_id': 'e1bbdada-476e-479e-93cd-0725a7fd54e1', 'ip_version': 4, 'cidr': '166.59.115.0/26', 'allocation_pools': [{'start': '166.59.115.2', 'end': '166.59.115.62'}], 'gateway_ip': '166.59.115.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.59.115.2', 'tags': [], 'project_id': '437ccbb115b647759366f836404d4829'}} 2025-02-05 06:46:25,545 - INFO - Created VN ctest-vn-18189765 2025-02-05 06:46:25,594 - DEBUG - VN ctest-vn-18189765 UUID is e1bbdada-476e-479e-93cd-0725a7fd54e1 2025-02-05 06:46:25,702 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09460084:ctest-vn-81066543, 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-09460084:ctest-vn-18189765, 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-02-05 06:46:25,987 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2089a9f6-836c-454c-89a6-240b755878fa', 'name': 'ctest-vn-81066543', 'tenant_id': '437ccbb115b647759366f836404d4829', 'project_id': '437ccbb115b647759366f836404d4829', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['383247e9-e72a-4721-beaf-cb28823b4458'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09460084', 'ctest-vn-81066543'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09460084', 'ctest-policy-allow-all-52661155']], 'subnet_ipam': [{'subnet_cidr': '223.185.161.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-05 06:46:26,212 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e1bbdada-476e-479e-93cd-0725a7fd54e1', 'name': 'ctest-vn-18189765', 'tenant_id': '437ccbb115b647759366f836404d4829', 'project_id': '437ccbb115b647759366f836404d4829', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eda54fbf-a0c3-484d-a2a5-7a64dd321382'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09460084', 'ctest-vn-18189765'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09460084', 'ctest-policy-allow-all-52661155']], 'subnet_ipam': [{'subnet_cidr': '166.59.115.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-05 06:46:26,378 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-05 06:46:26,672 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-05 06:46:26,700 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a2810335-a975-4fde-a4e2-ba9e3783a84b 2025-02-05 06:46:26,712 - DEBUG - Requesting: http://10.0.0.27:8082/project/437ccbb1-15b6-4775-9366-f836404d4829 2025-02-05 06:46:26,782 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2089a9f6-836c-454c-89a6-240b755878fa 2025-02-05 06:46:26,792 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2089a9f6-836c-454c-89a6-240b755878fa 2025-02-05 06:46:26,801 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a8ee2a04-76fa-4156-9941-dd0c575c7c3e 2025-02-05 06:46:26,808 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a8ee2a04-76fa-4156-9941-dd0c575c7c3e 2025-02-05 06:46:26,815 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/1b1da91a-75e1-42d5-babb-028e2982b884 2025-02-05 06:46:26,821 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-05 06:46:26,821 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2089a9f6-836c-454c-89a6-240b755878fa 2025-02-05 06:46:26,829 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a8ee2a04-76fa-4156-9941-dd0c575c7c3e 2025-02-05 06:46:26,841 - INFO - Verified VN network id 8 for VN 2089a9f6-836c-454c-89a6-240b755878fa 2025-02-05 06:46:26,841 - INFO - Verifications in API Server for VN ctest-vn-81066543 passed 2025-02-05 06:46:26,841 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2089a9f6-836c-454c-89a6-240b755878fa 2025-02-05 06:46:26,849 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a8ee2a04-76fa-4156-9941-dd0c575c7c3e 2025-02-05 06:46:26,855 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a8ee2a04-76fa-4156-9941-dd0c575c7c3e 2025-02-05 06:46:26,862 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/1b1da91a-75e1-42d5-babb-028e2982b884 2025-02-05 06:46:26,873 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09460084:ctest-vn-81066543', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09460084', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2344591957255013708', 'uuid-lslong': '9918654860962068730'}, 'enable': 'true', 'created': '2025-02-05T06:46:24', 'last-modified': '2025-02-05T06:46:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.910067'} 2025-02-05 06:46:26,880 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-05 06:46:26,880 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81066543 passed 2025-02-05 06:46:26,880 - DEBUG - ====Verifying policy data for ctest-vn-81066543 in API_Server ====== 2025-02-05 06:46:26,880 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-05 06:46:26,886 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a2810335-a975-4fde-a4e2-ba9e3783a84b 2025-02-05 06:46:26,901 - DEBUG - Requesting: http://10.0.0.27:8082/project/437ccbb1-15b6-4775-9366-f836404d4829 2025-02-05 06:46:26,967 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2089a9f6-836c-454c-89a6-240b755878fa 2025-02-05 06:46:26,974 - DEBUG - ==>Verifying data for policy with id: f9a35170-ff2b-429c-add8-64faa87ee1e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-09460084', 'ctest-policy-allow-all-52661155'] 2025-02-05 06:46:26,974 - INFO - VN ctest-vn-81066543 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-05 06:46:26,974 - DEBUG - Verifying the vn in opserver 2025-02-05 06:46:26,974 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09460084:ctest-vn-81066543 virtual network link through opserver 10.0.0.27 2025-02-05 06:46:26,974 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-02-05 06:46:27,265 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-02-05 06:46:27,323 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09460084:ctest-vn-81066543', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09460084:ctest-vn-81066543?flat'} 2025-02-05 06:46:27,323 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09460084:ctest-vn-81066543 is found in opserver 2025-02-05 06:46:27,334 - DEBUG - Do not have enough data to verify VN in agent 2025-02-05 06:46:27,340 - DEBUG - VRF ids for VN ctest-vn-81066543: {} 2025-02-05 06:46:27,340 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-05 06:46:27,347 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a2810335-a975-4fde-a4e2-ba9e3783a84b 2025-02-05 06:46:27,359 - DEBUG - Requesting: http://10.0.0.27:8082/project/437ccbb1-15b6-4775-9366-f836404d4829 2025-02-05 06:46:27,429 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e1bbdada-476e-479e-93cd-0725a7fd54e1 2025-02-05 06:46:27,440 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e1bbdada-476e-479e-93cd-0725a7fd54e1 2025-02-05 06:46:27,449 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c16bbe99-e5f7-460b-8d39-65f132486cfb 2025-02-05 06:46:27,456 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c16bbe99-e5f7-460b-8d39-65f132486cfb 2025-02-05 06:46:27,462 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/6a7c6985-a37e-49d8-b8c5-1c4c53c876f9 2025-02-05 06:46:27,468 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-02-05 06:46:27,468 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e1bbdada-476e-479e-93cd-0725a7fd54e1 2025-02-05 06:46:27,477 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c16bbe99-e5f7-460b-8d39-65f132486cfb 2025-02-05 06:46:27,488 - INFO - Verified VN network id 9 for VN e1bbdada-476e-479e-93cd-0725a7fd54e1 2025-02-05 06:46:27,488 - INFO - Verifications in API Server for VN ctest-vn-18189765 passed 2025-02-05 06:46:27,488 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e1bbdada-476e-479e-93cd-0725a7fd54e1 2025-02-05 06:46:27,497 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c16bbe99-e5f7-460b-8d39-65f132486cfb 2025-02-05 06:46:27,504 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c16bbe99-e5f7-460b-8d39-65f132486cfb 2025-02-05 06:46:27,512 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/6a7c6985-a37e-49d8-b8c5-1c4c53c876f9 2025-02-05 06:46:27,525 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09460084:ctest-vn-18189765', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09460084', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16265835110214813598', 'uuid-lslong': '10650176552114672865'}, 'enable': 'true', 'created': '2025-02-05T06:46:25', 'last-modified': '2025-02-05T06:46:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.335655'} 2025-02-05 06:46:27,532 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-02-05 06:46:27,532 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18189765 passed 2025-02-05 06:46:27,532 - DEBUG - ====Verifying policy data for ctest-vn-18189765 in API_Server ====== 2025-02-05 06:46:27,532 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-05 06:46:27,538 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a2810335-a975-4fde-a4e2-ba9e3783a84b 2025-02-05 06:46:27,548 - DEBUG - Requesting: http://10.0.0.27:8082/project/437ccbb1-15b6-4775-9366-f836404d4829 2025-02-05 06:46:27,616 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e1bbdada-476e-479e-93cd-0725a7fd54e1 2025-02-05 06:46:27,624 - DEBUG - ==>Verifying data for policy with id: f9a35170-ff2b-429c-add8-64faa87ee1e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-09460084', 'ctest-policy-allow-all-52661155'] 2025-02-05 06:46:27,624 - INFO - VN ctest-vn-18189765 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-05 06:46:27,624 - DEBUG - Verifying the vn in opserver 2025-02-05 06:46:27,624 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09460084:ctest-vn-18189765 virtual network link through opserver 10.0.0.27 2025-02-05 06:46:27,624 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-02-05 06:46:27,636 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09460084:ctest-vn-18189765', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09460084:ctest-vn-18189765?flat'} 2025-02-05 06:46:27,636 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09460084:ctest-vn-18189765 is found in opserver 2025-02-05 06:46:27,646 - DEBUG - Do not have enough data to verify VN in agent 2025-02-05 06:46:27,651 - DEBUG - VRF ids for VN ctest-vn-18189765: {} 2025-02-05 06:46:27,704 - DEBUG - Services list from nova: [, , ] 2025-02-05 06:46:28,686 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2689-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2689-1) 2025-02-05 06:46:29,898 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2689-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2689-1) 2025-02-05 06:46:29,898 - INFO - Waiting for VM ctest-TestBasicPolicy-09460084-10951275 to be up.. 2025-02-05 06:46:29,998 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-05 06:46:35,080 - DEBUG - VM is in ACTIVE state now 2025-02-05 06:46:35,080 - INFO - VM name : ctest-TestBasicPolicy-09460084-10951275 2025-02-05 06:46:35,160 - DEBUG - VM ctest-TestBasicPolicy-09460084-10951275 ID is 2ede2b2d-d550-4b74-ae5a-cccb202f4b9f 2025-02-05 06:46:35,179 - DEBUG - VM ctest-TestBasicPolicy-09460084-10951275 launched on Node cn-jenkins-deploy-platform-ansible-os-2689-1 2025-02-05 06:46:35,255 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2ede2b2d-d550-4b74-ae5a-cccb202f4b9f 2025-02-05 06:46:35,263 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/29302529-1ca4-4ac2-9c7d-fd987318cdbb 2025-02-05 06:46:38,510 - 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 1012ms') 2025-02-05 06:46:38,510 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09460084-10951275 failed! 2025-02-05 06:46:38,566 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09460084:ctest-vn-81066543 is 223.185.161.1 and allocation pool is NOT set 2025-02-05 06:46:40,624 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.894 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.894/2.302/3.711/1.408 ms') 2025-02-05 06:46:40,625 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09460084-10951275 passed 2025-02-05 06:46:40,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 06:46:40,774 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09460084-10951275, IP 223.185.161.3, Port 22 2025-02-05 06:46:40,929 - DEBUG - VM ctest-TestBasicPolicy-09460084-10951275 is ready for SSH connections 2025-02-05 06:46:40,929 - INFO - Waiting for VM ctest-TestBasicPolicy-09460084-43882792 to be up.. 2025-02-05 06:46:41,004 - DEBUG - VM is in ACTIVE state now 2025-02-05 06:46:41,004 - INFO - VM name : ctest-TestBasicPolicy-09460084-43882792 2025-02-05 06:46:41,077 - DEBUG - VM ctest-TestBasicPolicy-09460084-43882792 ID is 91754fb0-c54c-402b-bfdc-9ef08d094d83 2025-02-05 06:46:41,078 - DEBUG - VM ctest-TestBasicPolicy-09460084-43882792 launched on Node cn-jenkins-deploy-platform-ansible-os-2689-1 2025-02-05 06:46:41,150 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/91754fb0-c54c-402b-bfdc-9ef08d094d83 2025-02-05 06:46:41,159 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/753a83c8-aee1-4c4a-867b-842638c907f9 2025-02-05 06:46:42,394 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.493/2.576/1.083 ms') 2025-02-05 06:46:42,394 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09460084-43882792 passed 2025-02-05 06:46:42,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 06:46:42,542 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09460084-43882792, IP 166.59.115.3, Port 22 2025-02-05 06:46:42,697 - DEBUG - VM ctest-TestBasicPolicy-09460084-43882792 is ready for SSH connections 2025-02-05 06:46:42,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 06:46:42,698 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.59.115.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-02-05 06:46:42,698 - DEBUG - ping -s 56 -c 3 -W 1 166.59.115.3 2025-02-05 06:46:46,648 - DEBUG - PING 166.59.115.3 (166.59.115.3): 56 data bytes 64 bytes from 166.59.115.3: seq=0 ttl=63 time=3.189 ms 64 bytes from 166.59.115.3: seq=1 ttl=63 time=0.956 ms 64 bytes from 166.59.115.3: seq=2 ttl=63 time=0.829 ms --- 166.59.115.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.829/1.658/3.189 ms 2025-02-05 06:46:46,648 - INFO - Ping to IP 166.59.115.3 from VM ctest-TestBasicPolicy-09460084-10951275 passed 2025-02-05 06:46:46,826 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f9a35170-ff2b-429c-add8-64faa87ee1e3", "href": "http://10.0.0.27:8082/network-policy/f9a35170-ff2b-429c-add8-64faa87ee1e3"}} 2025-02-05 06:46:46,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 06:46:46,826 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.59.115.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-02-05 06:46:46,826 - DEBUG - ping -s 56 -c 3 -W 1 166.59.115.3 2025-02-05 06:46:50,032 - DEBUG - PING 166.59.115.3 (166.59.115.3): 56 data bytes --- 166.59.115.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-05 06:46:50,033 - WARNING - Ping to IP 166.59.115.3 from VM ctest-TestBasicPolicy-09460084-10951275 failed 2025-02-05 06:46:50,033 - INFO - Deleting VM ctest-TestBasicPolicy-09460084-43882792 2025-02-05 06:46:50,097 - INFO - Deleting VM ctest-TestBasicPolicy-09460084-10951275 2025-02-05 06:46:50,432 - INFO - Deleted policy ctest-policy-allow-all-52661155 2025-02-05 06:46:50,433 - INFO - Deleting VN ctest-vn-18189765 2025-02-05 06:46:50,465 - DEBUG - VN e1bbdada-476e-479e-93cd-0725a7fd54e1 still in use: Unable to complete operation on network e1bbdada-476e-479e-93cd-0725a7fd54e1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-72b26d7c-54f2-4c5e-adf2-8523498f5cf9'] 2025-02-05 06:46:50,465 - WARNING - Deleting VN ctest-vn-18189765 failed..Will retry 2025-02-05 06:46:52,564 - DEBUG - Response for deleting network () 2025-02-05 06:46:52,564 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/c16bbe99-e5f7-460b-8d39-65f132486cfb 2025-02-05 06:46:52,571 - DEBUG - Response Code: 404 2025-02-05 06:46:52,571 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-05 06:46:52,579 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a2810335-a975-4fde-a4e2-ba9e3783a84b 2025-02-05 06:46:52,641 - DEBUG - Requesting: http://10.0.0.27:8082/project/437ccbb1-15b6-4775-9366-f836404d4829 2025-02-05 06:46:52,715 - INFO - Validated that VN ctest-vn-18189765 is not found in API Server 2025-02-05 06:46:52,728 - DEBUG - VN ctest-vn-18189765 is not present in Agent 10.0.0.27 2025-02-05 06:46:52,728 - INFO - Validated that VN ctest-vn-18189765 is not in any agent 2025-02-05 06:46:52,745 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18189765 info 2025-02-05 06:46:52,746 - INFO - Deleting VN ctest-vn-81066543 2025-02-05 06:46:52,841 - DEBUG - Response for deleting network () 2025-02-05 06:46:52,841 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/a8ee2a04-76fa-4156-9941-dd0c575c7c3e 2025-02-05 06:46:52,846 - DEBUG - Response Code: 404 2025-02-05 06:46:52,847 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-05 06:46:52,855 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a2810335-a975-4fde-a4e2-ba9e3783a84b 2025-02-05 06:46:52,911 - DEBUG - Requesting: http://10.0.0.27:8082/project/437ccbb1-15b6-4775-9366-f836404d4829 2025-02-05 06:46:52,979 - INFO - Validated that VN ctest-vn-81066543 is not found in API Server 2025-02-05 06:46:52,990 - DEBUG - VN ctest-vn-81066543 is not present in Agent 10.0.0.27 2025-02-05 06:46:52,990 - INFO - Validated that VN ctest-vn-81066543 is not in any agent 2025-02-05 06:46:53,006 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81066543 info 2025-02-05 06:46:53,259 - DEBUG - No XMPP flaps were noticed during the test 2025-02-05 06:46:53,259 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-02-05 06:46:53,259 - INFO - -------------------------------------------------------------------------------- 2025-02-05 06:46:53,923 - INFO - Deleted project: ctest-TestBasicPolicy-09460084, ID : 437ccbb1-15b6-4775-9366-f836404d4829