2025-04-26 08:41:05,788 - INFO - Domain Default found not creating 2025-04-26 08:41:05,932 - INFO - Project ctest-TestBasicPolicy-71337204 not found, creating it 2025-04-26 08:41:06,395 - INFO - Created Project:ctest-TestBasicPolicy-71337204, ID : 5c369d1f-63a1-46f5-a4e5-8aec3fb68684 2025-04-26 08:41:07,856 - INFO - ================================================================================ 2025-04-26 08:41:07,856 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-26 08:41:07,856 - 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-26 08:41:08,112 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-04-26 08:41:08,113 - INFO - Initial checks done. Running the testcase now 2025-04-26 08:41:08,113 - INFO - 2025-04-26 08:41:08,769 - DEBUG - Response for create_network : {'network': {'id': '4d263dd3-ab08-43ed-ab04-781cdb861178', 'name': 'ctest-vn-53455064', 'tenant_id': '5c369d1f63a146f5a4e58aec3fb68684', 'project_id': '5c369d1f63a146f5a4e58aec3fb68684', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71337204', 'ctest-vn-53455064'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 08:41:08,921 - DEBUG - Response for create_subnet : {'subnet': {'id': '70bf795e-3bc5-4412-9538-a1879a965e97', 'name': '', 'tenant_id': '5c369d1f63a146f5a4e58aec3fb68684', 'network_id': '4d263dd3-ab08-43ed-ab04-781cdb861178', 'ip_version': 4, 'cidr': '54.115.178.64/26', 'allocation_pools': [{'start': '54.115.178.66', 'end': '54.115.178.126'}], 'gateway_ip': '54.115.178.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.115.178.66', 'tags': [], 'project_id': '5c369d1f63a146f5a4e58aec3fb68684'}} 2025-04-26 08:41:08,938 - INFO - Created VN ctest-vn-53455064 2025-04-26 08:41:08,991 - DEBUG - VN ctest-vn-53455064 UUID is 4d263dd3-ab08-43ed-ab04-781cdb861178 2025-04-26 08:41:09,292 - DEBUG - Response for create_network : {'network': {'id': 'e9712a55-0ab7-4703-8617-e075cb4fcd50', 'name': 'ctest-vn-10237327', 'tenant_id': '5c369d1f63a146f5a4e58aec3fb68684', 'project_id': '5c369d1f63a146f5a4e58aec3fb68684', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71337204', 'ctest-vn-10237327'], 'port_security_enabled': True, 'description': ''}} 2025-04-26 08:41:09,455 - DEBUG - Response for create_subnet : {'subnet': {'id': '63806da5-deef-4c6e-8398-8f05ffa2f8ba', 'name': '', 'tenant_id': '5c369d1f63a146f5a4e58aec3fb68684', 'network_id': 'e9712a55-0ab7-4703-8617-e075cb4fcd50', 'ip_version': 4, 'cidr': '167.76.242.128/26', 'allocation_pools': [{'start': '167.76.242.130', 'end': '167.76.242.190'}], 'gateway_ip': '167.76.242.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.76.242.130', 'tags': [], 'project_id': '5c369d1f63a146f5a4e58aec3fb68684'}} 2025-04-26 08:41:09,473 - INFO - Created VN ctest-vn-10237327 2025-04-26 08:41:09,523 - DEBUG - VN ctest-vn-10237327 UUID is e9712a55-0ab7-4703-8617-e075cb4fcd50 2025-04-26 08:41:09,675 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71337204:ctest-vn-53455064, 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-71337204:ctest-vn-10237327, 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-26 08:41:09,988 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4d263dd3-ab08-43ed-ab04-781cdb861178', 'name': 'ctest-vn-53455064', 'tenant_id': '5c369d1f63a146f5a4e58aec3fb68684', 'project_id': '5c369d1f63a146f5a4e58aec3fb68684', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['70bf795e-3bc5-4412-9538-a1879a965e97'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71337204', 'ctest-vn-53455064'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71337204', 'ctest-policy-allow-all-60829746']], 'subnet_ipam': [{'subnet_cidr': '54.115.178.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-26 08:41:10,271 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e9712a55-0ab7-4703-8617-e075cb4fcd50', 'name': 'ctest-vn-10237327', 'tenant_id': '5c369d1f63a146f5a4e58aec3fb68684', 'project_id': '5c369d1f63a146f5a4e58aec3fb68684', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['63806da5-deef-4c6e-8398-8f05ffa2f8ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71337204', 'ctest-vn-10237327'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71337204', 'ctest-policy-allow-all-60829746']], 'subnet_ipam': [{'subnet_cidr': '167.76.242.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-26 08:41:10,415 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 08:41:10,708 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 08:41:10,735 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4618d77d-6252-44fc-b2fc-7fe1d2036a79 2025-04-26 08:41:10,748 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c369d1f-63a1-46f5-a4e5-8aec3fb68684 2025-04-26 08:41:10,822 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4d263dd3-ab08-43ed-ab04-781cdb861178 2025-04-26 08:41:10,837 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4d263dd3-ab08-43ed-ab04-781cdb861178 2025-04-26 08:41:10,849 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5a4c7345-3f24-434d-b732-96c0c5217c91 2025-04-26 08:41:10,858 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5a4c7345-3f24-434d-b732-96c0c5217c91 2025-04-26 08:41:10,867 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7cde9226-c7a6-4e30-9a36-23f8d30bcf0b 2025-04-26 08:41:10,874 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-26 08:41:10,874 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4d263dd3-ab08-43ed-ab04-781cdb861178 2025-04-26 08:41:10,883 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5a4c7345-3f24-434d-b732-96c0c5217c91 2025-04-26 08:41:10,897 - INFO - Verified VN network id 7 for VN 4d263dd3-ab08-43ed-ab04-781cdb861178 2025-04-26 08:41:10,897 - INFO - Verifications in API Server for VN ctest-vn-53455064 passed 2025-04-26 08:41:10,897 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4d263dd3-ab08-43ed-ab04-781cdb861178 2025-04-26 08:41:10,907 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5a4c7345-3f24-434d-b732-96c0c5217c91 2025-04-26 08:41:10,914 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5a4c7345-3f24-434d-b732-96c0c5217c91 2025-04-26 08:41:10,921 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7cde9226-c7a6-4e30-9a36-23f8d30bcf0b 2025-04-26 08:41:10,934 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71337204:ctest-vn-53455064', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71337204', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5559198769352295405', 'uuid-lslong': '12323106545729933688'}, 'enable': 'true', 'created': '2025-04-26T08:41:08', 'last-modified': '2025-04-26T08:41:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.976732'} 2025-04-26 08:41:10,943 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-26 08:41:10,943 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53455064 passed 2025-04-26 08:41:10,943 - DEBUG - ====Verifying policy data for ctest-vn-53455064 in API_Server ====== 2025-04-26 08:41:10,943 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 08:41:10,950 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4618d77d-6252-44fc-b2fc-7fe1d2036a79 2025-04-26 08:41:10,962 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c369d1f-63a1-46f5-a4e5-8aec3fb68684 2025-04-26 08:41:11,040 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4d263dd3-ab08-43ed-ab04-781cdb861178 2025-04-26 08:41:11,050 - DEBUG - ==>Verifying data for policy with id: 8fcfce63-6edb-4c0d-837e-d1dd75c65ea1, fqn: ['default-domain', 'ctest-TestBasicPolicy-71337204', 'ctest-policy-allow-all-60829746'] 2025-04-26 08:41:11,050 - INFO - VN ctest-vn-53455064 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-26 08:41:11,050 - DEBUG - Verifying the vn in opserver 2025-04-26 08:41:11,050 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71337204:ctest-vn-53455064 virtual network link through opserver 10.0.0.22 2025-04-26 08:41:11,050 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-04-26 08:41:11,339 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-04-26 08:41:11,391 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71337204:ctest-vn-53455064', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71337204:ctest-vn-53455064?flat'} 2025-04-26 08:41:11,391 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71337204:ctest-vn-53455064 is found in opserver 2025-04-26 08:41:11,401 - DEBUG - Do not have enough data to verify VN in agent 2025-04-26 08:41:11,406 - DEBUG - VRF ids for VN ctest-vn-53455064: {} 2025-04-26 08:41:11,406 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 08:41:11,411 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4618d77d-6252-44fc-b2fc-7fe1d2036a79 2025-04-26 08:41:11,423 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c369d1f-63a1-46f5-a4e5-8aec3fb68684 2025-04-26 08:41:11,491 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e9712a55-0ab7-4703-8617-e075cb4fcd50 2025-04-26 08:41:11,503 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e9712a55-0ab7-4703-8617-e075cb4fcd50 2025-04-26 08:41:11,513 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/338ae18a-9fd3-49a6-b537-aaecf8fbd17d 2025-04-26 08:41:11,520 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/338ae18a-9fd3-49a6-b537-aaecf8fbd17d 2025-04-26 08:41:11,527 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fd5920a4-6b11-42fe-a9a8-b37d4a6c0b8c 2025-04-26 08:41:11,534 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-26 08:41:11,534 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e9712a55-0ab7-4703-8617-e075cb4fcd50 2025-04-26 08:41:11,544 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/338ae18a-9fd3-49a6-b537-aaecf8fbd17d 2025-04-26 08:41:11,558 - INFO - Verified VN network id 8 for VN e9712a55-0ab7-4703-8617-e075cb4fcd50 2025-04-26 08:41:11,559 - INFO - Verifications in API Server for VN ctest-vn-10237327 passed 2025-04-26 08:41:11,559 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e9712a55-0ab7-4703-8617-e075cb4fcd50 2025-04-26 08:41:11,569 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/338ae18a-9fd3-49a6-b537-aaecf8fbd17d 2025-04-26 08:41:11,576 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/338ae18a-9fd3-49a6-b537-aaecf8fbd17d 2025-04-26 08:41:11,585 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fd5920a4-6b11-42fe-a9a8-b37d4a6c0b8c 2025-04-26 08:41:11,598 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71337204:ctest-vn-10237327', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71337204', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16821272627945883395', 'uuid-lslong': '9662438322073488720'}, 'enable': 'true', 'created': '2025-04-26T08:41:09', 'last-modified': '2025-04-26T08:41:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.398203'} 2025-04-26 08:41:11,604 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-26 08:41:11,604 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10237327 passed 2025-04-26 08:41:11,604 - DEBUG - ====Verifying policy data for ctest-vn-10237327 in API_Server ====== 2025-04-26 08:41:11,604 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 08:41:11,610 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4618d77d-6252-44fc-b2fc-7fe1d2036a79 2025-04-26 08:41:11,621 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c369d1f-63a1-46f5-a4e5-8aec3fb68684 2025-04-26 08:41:11,698 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e9712a55-0ab7-4703-8617-e075cb4fcd50 2025-04-26 08:41:11,707 - DEBUG - ==>Verifying data for policy with id: 8fcfce63-6edb-4c0d-837e-d1dd75c65ea1, fqn: ['default-domain', 'ctest-TestBasicPolicy-71337204', 'ctest-policy-allow-all-60829746'] 2025-04-26 08:41:11,707 - INFO - VN ctest-vn-10237327 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-26 08:41:11,707 - DEBUG - Verifying the vn in opserver 2025-04-26 08:41:11,707 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71337204:ctest-vn-10237327 virtual network link through opserver 10.0.0.22 2025-04-26 08:41:11,708 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-04-26 08:41:11,718 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71337204:ctest-vn-10237327', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71337204:ctest-vn-10237327?flat'} 2025-04-26 08:41:11,718 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71337204:ctest-vn-10237327 is found in opserver 2025-04-26 08:41:11,729 - DEBUG - Do not have enough data to verify VN in agent 2025-04-26 08:41:11,734 - DEBUG - VRF ids for VN ctest-vn-10237327: {} 2025-04-26 08:41:11,791 - DEBUG - Services list from nova: [, , ] 2025-04-26 08:41:12,786 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3219-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3219-1) 2025-04-26 08:41:14,012 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3219-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3219-1) 2025-04-26 08:41:14,013 - INFO - Waiting for VM ctest-TestBasicPolicy-71337204-37779568 to be up.. 2025-04-26 08:41:14,093 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-26 08:41:19,169 - DEBUG - VM is in ACTIVE state now 2025-04-26 08:41:19,169 - INFO - VM name : ctest-TestBasicPolicy-71337204-37779568 2025-04-26 08:41:19,245 - DEBUG - VM ctest-TestBasicPolicy-71337204-37779568 ID is 3b345ecc-042a-422d-aa33-b1055847ad02 2025-04-26 08:41:19,265 - DEBUG - VM ctest-TestBasicPolicy-71337204-37779568 launched on Node cn-jenkins-deploy-platform-ansible-os-3219-1 2025-04-26 08:41:19,338 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3b345ecc-042a-422d-aa33-b1055847ad02 2025-04-26 08:41:19,347 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2d2cbc23-a217-47b0-ba3e-f13b432b49ce 2025-04-26 08:41:22,620 - 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 1032ms') 2025-04-26 08:41:22,620 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71337204-37779568 failed! 2025-04-26 08:41:22,679 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71337204:ctest-vn-53455064 is 54.115.178.65 and allocation pool is NOT set 2025-04-26 08:41:24,737 - 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=2.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.483 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.483/1.701/2.920/1.218 ms') 2025-04-26 08:41:24,737 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71337204-37779568 passed 2025-04-26 08:41:24,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 08:41:24,891 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71337204-37779568, IP 54.115.178.67, Port 22 2025-04-26 08:41:25,047 - DEBUG - VM ctest-TestBasicPolicy-71337204-37779568 is ready for SSH connections 2025-04-26 08:41:25,047 - INFO - Waiting for VM ctest-TestBasicPolicy-71337204-53770620 to be up.. 2025-04-26 08:41:25,123 - DEBUG - VM is in ACTIVE state now 2025-04-26 08:41:25,123 - INFO - VM name : ctest-TestBasicPolicy-71337204-53770620 2025-04-26 08:41:25,195 - DEBUG - VM ctest-TestBasicPolicy-71337204-53770620 ID is 68befa97-51dd-4dac-9999-012cef0ed5f7 2025-04-26 08:41:25,195 - DEBUG - VM ctest-TestBasicPolicy-71337204-53770620 launched on Node cn-jenkins-deploy-platform-ansible-os-3219-1 2025-04-26 08:41:25,265 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/68befa97-51dd-4dac-9999-012cef0ed5f7 2025-04-26 08:41:25,274 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/51b8c86e-8361-4051-9e04-11df5bd7030f 2025-04-26 08:41:26,502 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 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.421/1.800/3.179/1.379 ms') 2025-04-26 08:41:26,502 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71337204-53770620 passed 2025-04-26 08:41:26,652 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 08:41:26,652 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71337204-53770620, IP 167.76.242.131, Port 22 2025-04-26 08:41:26,811 - DEBUG - VM ctest-TestBasicPolicy-71337204-53770620 is ready for SSH connections 2025-04-26 08:41:26,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 08:41:26,811 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.76.242.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-04-26 08:41:26,811 - DEBUG - ping -s 56 -c 3 -W 1 167.76.242.131 2025-04-26 08:41:30,804 - DEBUG - PING 167.76.242.131 (167.76.242.131): 56 data bytes 64 bytes from 167.76.242.131: seq=0 ttl=63 time=3.716 ms 64 bytes from 167.76.242.131: seq=1 ttl=63 time=0.725 ms 64 bytes from 167.76.242.131: seq=2 ttl=63 time=0.707 ms --- 167.76.242.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.707/1.716/3.716 ms 2025-04-26 08:41:30,804 - INFO - Ping to IP 167.76.242.131 from VM ctest-TestBasicPolicy-71337204-37779568 passed 2025-04-26 08:41:30,983 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8fcfce63-6edb-4c0d-837e-d1dd75c65ea1", "href": "http://10.0.0.22:8082/network-policy/8fcfce63-6edb-4c0d-837e-d1dd75c65ea1"}} 2025-04-26 08:41:30,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-26 08:41:30,983 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.76.242.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-04-26 08:41:30,983 - DEBUG - ping -s 56 -c 3 -W 1 167.76.242.131 2025-04-26 08:41:34,218 - DEBUG - PING 167.76.242.131 (167.76.242.131): 56 data bytes --- 167.76.242.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-26 08:41:34,218 - WARNING - Ping to IP 167.76.242.131 from VM ctest-TestBasicPolicy-71337204-37779568 failed 2025-04-26 08:41:34,218 - INFO - Deleting VM ctest-TestBasicPolicy-71337204-53770620 2025-04-26 08:41:34,278 - INFO - Deleting VM ctest-TestBasicPolicy-71337204-37779568 2025-04-26 08:41:34,645 - INFO - Deleted policy ctest-policy-allow-all-60829746 2025-04-26 08:41:34,645 - INFO - Deleting VN ctest-vn-10237327 2025-04-26 08:41:34,679 - DEBUG - VN e9712a55-0ab7-4703-8617-e075cb4fcd50 still in use: Unable to complete operation on network e9712a55-0ab7-4703-8617-e075cb4fcd50. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2fd5c5c9-c469-4460-810c-30351b99c3f9'] 2025-04-26 08:41:34,679 - WARNING - Deleting VN ctest-vn-10237327 failed..Will retry 2025-04-26 08:41:36,796 - DEBUG - Response for deleting network () 2025-04-26 08:41:36,796 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/338ae18a-9fd3-49a6-b537-aaecf8fbd17d 2025-04-26 08:41:36,802 - DEBUG - Response Code: 404 2025-04-26 08:41:36,803 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 08:41:36,808 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4618d77d-6252-44fc-b2fc-7fe1d2036a79 2025-04-26 08:41:36,861 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c369d1f-63a1-46f5-a4e5-8aec3fb68684 2025-04-26 08:41:36,938 - INFO - Validated that VN ctest-vn-10237327 is not found in API Server 2025-04-26 08:41:36,950 - DEBUG - VN ctest-vn-10237327 is not present in Agent 10.0.0.22 2025-04-26 08:41:36,950 - INFO - Validated that VN ctest-vn-10237327 is not in any agent 2025-04-26 08:41:36,966 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10237327 info 2025-04-26 08:41:36,967 - INFO - Deleting VN ctest-vn-53455064 2025-04-26 08:41:37,083 - DEBUG - Response for deleting network () 2025-04-26 08:41:37,083 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5a4c7345-3f24-434d-b732-96c0c5217c91 2025-04-26 08:41:37,088 - DEBUG - Response Code: 404 2025-04-26 08:41:37,088 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-26 08:41:37,096 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4618d77d-6252-44fc-b2fc-7fe1d2036a79 2025-04-26 08:41:37,149 - DEBUG - Requesting: http://10.0.0.22:8082/project/5c369d1f-63a1-46f5-a4e5-8aec3fb68684 2025-04-26 08:41:37,232 - INFO - Validated that VN ctest-vn-53455064 is not found in API Server 2025-04-26 08:41:37,242 - DEBUG - VN ctest-vn-53455064 is not present in Agent 10.0.0.22 2025-04-26 08:41:37,242 - INFO - Validated that VN ctest-vn-53455064 is not in any agent 2025-04-26 08:41:37,258 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53455064 info 2025-04-26 08:41:37,514 - DEBUG - No XMPP flaps were noticed during the test
2025-04-26 08:41:37,514 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-04-26 08:41:37,514 - INFO - -------------------------------------------------------------------------------- 2025-04-26 08:41:38,198 - INFO - Deleted project: ctest-TestBasicPolicy-71337204, ID : 5c369d1f-63a1-46f5-a4e5-8aec3fb68684