2025-09-11 14:15:28,582 - INFO - Domain Default found not creating 2025-09-11 14:15:28,751 - INFO - Project ctest-TestBasicPolicy-45599272 not found, creating it 2025-09-11 14:15:29,218 - INFO - Created Project:ctest-TestBasicPolicy-45599272, ID : 49f99dd7-e9ba-4faf-a7e4-f96317012c49 2025-09-11 14:15:30,810 - INFO - ================================================================================ 2025-09-11 14:15:30,810 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-11 14:15:30,810 - 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-09-11 14:15:31,065 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-09-11 14:15:31,065 - INFO - Initial checks done. Running the testcase now 2025-09-11 14:15:31,065 - INFO - 2025-09-11 14:15:31,653 - DEBUG - Response for create_network : {'network': {'id': '0b0aca69-3e2d-436e-b12b-179e69487ea4', 'name': 'ctest-vn-30480899', 'tenant_id': '49f99dd7e9ba4fafa7e4f96317012c49', 'project_id': '49f99dd7e9ba4fafa7e4f96317012c49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45599272', 'ctest-vn-30480899'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 14:15:31,842 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1b68dab-1542-4277-ae24-856931a40f68', 'name': '', 'tenant_id': '49f99dd7e9ba4fafa7e4f96317012c49', 'network_id': '0b0aca69-3e2d-436e-b12b-179e69487ea4', 'ip_version': 4, 'cidr': '37.194.4.128/26', 'allocation_pools': [{'start': '37.194.4.130', 'end': '37.194.4.190'}], 'gateway_ip': '37.194.4.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.194.4.130', 'tags': [], 'project_id': '49f99dd7e9ba4fafa7e4f96317012c49'}} 2025-09-11 14:15:31,859 - INFO - Created VN ctest-vn-30480899 2025-09-11 14:15:31,911 - DEBUG - VN ctest-vn-30480899 UUID is 0b0aca69-3e2d-436e-b12b-179e69487ea4 2025-09-11 14:15:32,243 - DEBUG - Response for create_network : {'network': {'id': 'da31ca29-fcfc-4452-9493-c1ab36ecad5b', 'name': 'ctest-vn-44786753', 'tenant_id': '49f99dd7e9ba4fafa7e4f96317012c49', 'project_id': '49f99dd7e9ba4fafa7e4f96317012c49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45599272', 'ctest-vn-44786753'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 14:15:32,480 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f64f786-ec3d-4182-83b4-adf7de67c44e', 'name': '', 'tenant_id': '49f99dd7e9ba4fafa7e4f96317012c49', 'network_id': 'da31ca29-fcfc-4452-9493-c1ab36ecad5b', 'ip_version': 4, 'cidr': '144.2.146.128/26', 'allocation_pools': [{'start': '144.2.146.130', 'end': '144.2.146.190'}], 'gateway_ip': '144.2.146.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.2.146.130', 'tags': [], 'project_id': '49f99dd7e9ba4fafa7e4f96317012c49'}} 2025-09-11 14:15:32,501 - INFO - Created VN ctest-vn-44786753 2025-09-11 14:15:32,555 - DEBUG - VN ctest-vn-44786753 UUID is da31ca29-fcfc-4452-9493-c1ab36ecad5b 2025-09-11 14:15:32,672 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45599272:ctest-vn-30480899, 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-45599272:ctest-vn-44786753, 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-09-11 14:15:32,984 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0b0aca69-3e2d-436e-b12b-179e69487ea4', 'name': 'ctest-vn-30480899', 'tenant_id': '49f99dd7e9ba4fafa7e4f96317012c49', 'project_id': '49f99dd7e9ba4fafa7e4f96317012c49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d1b68dab-1542-4277-ae24-856931a40f68'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45599272', 'ctest-vn-30480899'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45599272', 'ctest-policy-allow-all-27887703']], 'subnet_ipam': [{'subnet_cidr': '37.194.4.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 14:15:33,233 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'da31ca29-fcfc-4452-9493-c1ab36ecad5b', 'name': 'ctest-vn-44786753', 'tenant_id': '49f99dd7e9ba4fafa7e4f96317012c49', 'project_id': '49f99dd7e9ba4fafa7e4f96317012c49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f64f786-ec3d-4182-83b4-adf7de67c44e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45599272', 'ctest-vn-44786753'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45599272', 'ctest-policy-allow-all-27887703']], 'subnet_ipam': [{'subnet_cidr': '144.2.146.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 14:15:33,419 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-11 14:15:33,769 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-11 14:15:33,802 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a48af639-8ee4-4a39-a5a7-5ab6a21b878f 2025-09-11 14:15:33,814 - DEBUG - Requesting: http://10.0.0.130:8082/project/49f99dd7-e9ba-4faf-a7e4-f96317012c49 2025-09-11 14:15:33,888 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/0b0aca69-3e2d-436e-b12b-179e69487ea4 2025-09-11 14:15:33,898 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/0b0aca69-3e2d-436e-b12b-179e69487ea4 2025-09-11 14:15:33,907 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ec6916e5-9ad2-4b2a-8f57-6e012322be7b 2025-09-11 14:15:33,913 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ec6916e5-9ad2-4b2a-8f57-6e012322be7b 2025-09-11 14:15:33,920 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/54501f35-372a-4d7c-9efc-7b1fb483794f 2025-09-11 14:15:33,926 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 14:15:33,926 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/0b0aca69-3e2d-436e-b12b-179e69487ea4 2025-09-11 14:15:33,938 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ec6916e5-9ad2-4b2a-8f57-6e012322be7b 2025-09-11 14:15:33,954 - INFO - Verified VN network id 11 for VN 0b0aca69-3e2d-436e-b12b-179e69487ea4 2025-09-11 14:15:33,954 - INFO - Verifications in API Server for VN ctest-vn-30480899 passed 2025-09-11 14:15:33,954 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/0b0aca69-3e2d-436e-b12b-179e69487ea4 2025-09-11 14:15:33,962 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ec6916e5-9ad2-4b2a-8f57-6e012322be7b 2025-09-11 14:15:33,969 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ec6916e5-9ad2-4b2a-8f57-6e012322be7b 2025-09-11 14:15:33,975 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/54501f35-372a-4d7c-9efc-7b1fb483794f 2025-09-11 14:15:33,986 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45599272:ctest-vn-30480899', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45599272', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '795670837547844462', 'uuid-lslong': '12766323537850433188'}, 'enable': 'true', 'created': '2025-09-11T14:15:31', 'last-modified': '2025-09-11T14:15:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.027602'} 2025-09-11 14:15:33,993 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 14:15:33,993 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30480899 passed 2025-09-11 14:15:33,993 - DEBUG - ====Verifying policy data for ctest-vn-30480899 in API_Server ====== 2025-09-11 14:15:33,993 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-11 14:15:33,999 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a48af639-8ee4-4a39-a5a7-5ab6a21b878f 2025-09-11 14:15:34,011 - DEBUG - Requesting: http://10.0.0.130:8082/project/49f99dd7-e9ba-4faf-a7e4-f96317012c49 2025-09-11 14:15:34,084 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/0b0aca69-3e2d-436e-b12b-179e69487ea4 2025-09-11 14:15:34,097 - DEBUG - ==>Verifying data for policy with id: 2b5853ad-3595-4981-b8fa-dab54c00c4c8, fqn: ['default-domain', 'ctest-TestBasicPolicy-45599272', 'ctest-policy-allow-all-27887703'] 2025-09-11 14:15:34,097 - INFO - VN ctest-vn-30480899 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 14:15:34,097 - DEBUG - Verifying the vn in opserver 2025-09-11 14:15:34,097 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45599272:ctest-vn-30480899 virtual network link through opserver 10.0.0.130 2025-09-11 14:15:34,097 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-09-11 14:15:34,453 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-09-11 14:15:34,518 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45599272:ctest-vn-30480899', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45599272:ctest-vn-30480899?flat'} 2025-09-11 14:15:34,519 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45599272:ctest-vn-30480899 is found in opserver 2025-09-11 14:15:34,531 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 14:15:34,536 - DEBUG - VRF ids for VN ctest-vn-30480899: {} 2025-09-11 14:15:34,537 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-11 14:15:34,543 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a48af639-8ee4-4a39-a5a7-5ab6a21b878f 2025-09-11 14:15:34,555 - DEBUG - Requesting: http://10.0.0.130:8082/project/49f99dd7-e9ba-4faf-a7e4-f96317012c49 2025-09-11 14:15:34,629 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/da31ca29-fcfc-4452-9493-c1ab36ecad5b 2025-09-11 14:15:34,643 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/da31ca29-fcfc-4452-9493-c1ab36ecad5b 2025-09-11 14:15:34,654 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4baf0869-59f0-4cdc-bece-26e454dd2320 2025-09-11 14:15:34,662 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4baf0869-59f0-4cdc-bece-26e454dd2320 2025-09-11 14:15:34,669 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/f087faa7-0b68-41ca-8d4f-2c453030aedc 2025-09-11 14:15:34,676 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 14:15:34,676 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/da31ca29-fcfc-4452-9493-c1ab36ecad5b 2025-09-11 14:15:34,685 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4baf0869-59f0-4cdc-bece-26e454dd2320 2025-09-11 14:15:34,699 - INFO - Verified VN network id 12 for VN da31ca29-fcfc-4452-9493-c1ab36ecad5b 2025-09-11 14:15:34,699 - INFO - Verifications in API Server for VN ctest-vn-44786753 passed 2025-09-11 14:15:34,699 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/da31ca29-fcfc-4452-9493-c1ab36ecad5b 2025-09-11 14:15:34,708 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4baf0869-59f0-4cdc-bece-26e454dd2320 2025-09-11 14:15:34,716 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4baf0869-59f0-4cdc-bece-26e454dd2320 2025-09-11 14:15:34,725 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/f087faa7-0b68-41ca-8d4f-2c453030aedc 2025-09-11 14:15:34,741 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45599272:ctest-vn-44786753', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45599272', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15722570055813973074', 'uuid-lslong': '10706113680294849883'}, 'enable': 'true', 'created': '2025-09-11T14:15:32', 'last-modified': '2025-09-11T14:15:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.533924'} 2025-09-11 14:15:34,749 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 14:15:34,749 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44786753 passed 2025-09-11 14:15:34,749 - DEBUG - ====Verifying policy data for ctest-vn-44786753 in API_Server ====== 2025-09-11 14:15:34,749 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-11 14:15:34,757 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a48af639-8ee4-4a39-a5a7-5ab6a21b878f 2025-09-11 14:15:34,770 - DEBUG - Requesting: http://10.0.0.130:8082/project/49f99dd7-e9ba-4faf-a7e4-f96317012c49 2025-09-11 14:15:34,843 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/da31ca29-fcfc-4452-9493-c1ab36ecad5b 2025-09-11 14:15:34,856 - DEBUG - ==>Verifying data for policy with id: 2b5853ad-3595-4981-b8fa-dab54c00c4c8, fqn: ['default-domain', 'ctest-TestBasicPolicy-45599272', 'ctest-policy-allow-all-27887703'] 2025-09-11 14:15:34,856 - INFO - VN ctest-vn-44786753 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 14:15:34,856 - DEBUG - Verifying the vn in opserver 2025-09-11 14:15:34,857 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45599272:ctest-vn-44786753 virtual network link through opserver 10.0.0.130 2025-09-11 14:15:34,857 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-09-11 14:15:34,868 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45599272:ctest-vn-44786753', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45599272:ctest-vn-44786753?flat'} 2025-09-11 14:15:34,868 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45599272:ctest-vn-44786753 is found in opserver 2025-09-11 14:15:34,880 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 14:15:34,886 - DEBUG - VRF ids for VN ctest-vn-44786753: {} 2025-09-11 14:15:34,948 - DEBUG - Services list from nova: [, , ] 2025-09-11 14:15:36,097 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4092-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4092-1) 2025-09-11 14:15:37,444 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4092-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4092-1) 2025-09-11 14:15:37,444 - INFO - Waiting for VM ctest-TestBasicPolicy-45599272-16854220 to be up.. 2025-09-11 14:15:37,547 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 14:15:42,626 - DEBUG - VM is in ACTIVE state now 2025-09-11 14:15:42,626 - INFO - VM name : ctest-TestBasicPolicy-45599272-16854220 2025-09-11 14:15:42,700 - DEBUG - VM ctest-TestBasicPolicy-45599272-16854220 ID is 5a8e05df-d845-4776-b21f-537b10713fc2 2025-09-11 14:15:42,719 - DEBUG - VM ctest-TestBasicPolicy-45599272-16854220 launched on Node cn-jenkins-deploy-platform-ansible-os-4092-1 2025-09-11 14:15:42,799 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/5a8e05df-d845-4776-b21f-537b10713fc2 2025-09-11 14:15:42,808 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/c5485ea5-fb2f-4765-9085-783f3c88f2c2 2025-09-11 14:15:46,057 - 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 1006ms') 2025-09-11 14:15:46,057 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45599272-16854220 failed! 2025-09-11 14:15:46,115 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45599272:ctest-vn-30480899 is 37.194.4.129 and allocation pool is NOT set 2025-09-11 14:15:48,183 - 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=8.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.12 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.122/5.537/8.952/3.415 ms') 2025-09-11 14:15:48,183 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45599272-16854220 passed 2025-09-11 14:15:48,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:15:48,331 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45599272-16854220, IP 37.194.4.131, Port 22 2025-09-11 14:15:48,490 - DEBUG - VM ctest-TestBasicPolicy-45599272-16854220 is ready for SSH connections 2025-09-11 14:15:48,490 - INFO - Waiting for VM ctest-TestBasicPolicy-45599272-23476869 to be up.. 2025-09-11 14:15:48,565 - DEBUG - VM is in ACTIVE state now 2025-09-11 14:15:48,565 - INFO - VM name : ctest-TestBasicPolicy-45599272-23476869 2025-09-11 14:15:48,643 - DEBUG - VM ctest-TestBasicPolicy-45599272-23476869 ID is 9ed8d3a2-63b1-4109-99ff-bdc3e5138c24 2025-09-11 14:15:48,643 - DEBUG - VM ctest-TestBasicPolicy-45599272-23476869 launched on Node cn-jenkins-deploy-platform-ansible-os-4092-1 2025-09-11 14:15:48,712 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/9ed8d3a2-63b1-4109-99ff-bdc3e5138c24 2025-09-11 14:15:48,718 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/d1c08a80-95be-45b2-abda-b6b847b891f7 2025-09-11 14:15:49,951 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.22 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 = 2.221/3.066/3.912/0.845 ms') 2025-09-11 14:15:49,951 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45599272-23476869 passed 2025-09-11 14:15:50,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:15:50,099 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45599272-23476869, IP 144.2.146.131, Port 22 2025-09-11 14:15:50,263 - DEBUG - VM ctest-TestBasicPolicy-45599272-23476869 is ready for SSH connections 2025-09-11 14:15:50,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:15:50,263 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.2.146.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-09-11 14:15:50,263 - DEBUG - ping -s 56 -c 3 -W 1 144.2.146.131 2025-09-11 14:15:54,307 - DEBUG - PING 144.2.146.131 (144.2.146.131): 56 data bytes 64 bytes from 144.2.146.131: seq=0 ttl=63 time=4.056 ms 64 bytes from 144.2.146.131: seq=1 ttl=63 time=0.840 ms 64 bytes from 144.2.146.131: seq=2 ttl=63 time=0.793 ms --- 144.2.146.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.793/1.896/4.056 ms 2025-09-11 14:15:54,307 - INFO - Ping to IP 144.2.146.131 from VM ctest-TestBasicPolicy-45599272-16854220 passed 2025-09-11 14:15:54,479 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2b5853ad-3595-4981-b8fa-dab54c00c4c8", "href": "http://10.0.0.130:8082/network-policy/2b5853ad-3595-4981-b8fa-dab54c00c4c8"}} 2025-09-11 14:15:54,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:15:54,479 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.2.146.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-09-11 14:15:54,479 - DEBUG - ping -s 56 -c 3 -W 1 144.2.146.131 2025-09-11 14:15:57,714 - DEBUG - PING 144.2.146.131 (144.2.146.131): 56 data bytes --- 144.2.146.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 14:15:57,714 - WARNING - Ping to IP 144.2.146.131 from VM ctest-TestBasicPolicy-45599272-16854220 failed 2025-09-11 14:15:57,714 - INFO - Deleting VM ctest-TestBasicPolicy-45599272-23476869 2025-09-11 14:15:57,781 - INFO - Deleting VM ctest-TestBasicPolicy-45599272-16854220 2025-09-11 14:15:58,117 - INFO - Deleted policy ctest-policy-allow-all-27887703 2025-09-11 14:15:58,117 - INFO - Deleting VN ctest-vn-44786753 2025-09-11 14:15:58,162 - DEBUG - VN da31ca29-fcfc-4452-9493-c1ab36ecad5b still in use: Unable to complete operation on network da31ca29-fcfc-4452-9493-c1ab36ecad5b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5f9e9f38-3fe4-4a24-a69d-b4457b4de8fc'] 2025-09-11 14:15:58,162 - WARNING - Deleting VN ctest-vn-44786753 failed..Will retry 2025-09-11 14:16:00,280 - DEBUG - Response for deleting network () 2025-09-11 14:16:00,280 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4baf0869-59f0-4cdc-bece-26e454dd2320 2025-09-11 14:16:00,289 - DEBUG - Response Code: 404 2025-09-11 14:16:00,289 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-11 14:16:00,295 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a48af639-8ee4-4a39-a5a7-5ab6a21b878f 2025-09-11 14:16:00,349 - DEBUG - Requesting: http://10.0.0.130:8082/project/49f99dd7-e9ba-4faf-a7e4-f96317012c49 2025-09-11 14:16:00,427 - INFO - Validated that VN ctest-vn-44786753 is not found in API Server 2025-09-11 14:16:00,442 - DEBUG - VN ctest-vn-44786753 is not present in Agent 10.0.0.130 2025-09-11 14:16:00,442 - INFO - Validated that VN ctest-vn-44786753 is not in any agent 2025-09-11 14:16:00,458 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44786753 info 2025-09-11 14:16:00,458 - INFO - Deleting VN ctest-vn-30480899 2025-09-11 14:16:00,577 - DEBUG - Response for deleting network () 2025-09-11 14:16:00,578 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ec6916e5-9ad2-4b2a-8f57-6e012322be7b 2025-09-11 14:16:00,586 - DEBUG - Response Code: 404 2025-09-11 14:16:00,587 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-09-11 14:16:00,593 - DEBUG - Requesting: http://10.0.0.130:8082/domain/a48af639-8ee4-4a39-a5a7-5ab6a21b878f 2025-09-11 14:16:00,649 - DEBUG - Requesting: http://10.0.0.130:8082/project/49f99dd7-e9ba-4faf-a7e4-f96317012c49 2025-09-11 14:16:00,723 - INFO - Validated that VN ctest-vn-30480899 is not found in API Server 2025-09-11 14:16:00,737 - DEBUG - VN ctest-vn-30480899 is not present in Agent 10.0.0.130 2025-09-11 14:16:00,737 - INFO - Validated that VN ctest-vn-30480899 is not in any agent 2025-09-11 14:16:00,754 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30480899 info 2025-09-11 14:16:01,032 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 14:16:01,033 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-09-11 14:16:01,033 - INFO - -------------------------------------------------------------------------------- 2025-09-11 14:16:01,817 - INFO - Deleted project: ctest-TestBasicPolicy-45599272, ID : 49f99dd7-e9ba-4faf-a7e4-f96317012c49