2025-11-17 22:50:38,208 - INFO - Domain Default found not creating 2025-11-17 22:50:38,343 - INFO - Project ctest-TestBasicPolicy-15460393 not found, creating it 2025-11-17 22:50:38,793 - INFO - Created Project:ctest-TestBasicPolicy-15460393, ID : 59ed6cdf-4573-4743-97ce-30e31abfab39 2025-11-17 22:50:40,107 - INFO - ================================================================================ 2025-11-17 22:50:40,107 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-17 22:50:40,107 - 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-11-17 22:50:40,356 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-17 22:50:40,356 - INFO - Initial checks done. Running the testcase now 2025-11-17 22:50:40,356 - INFO - 2025-11-17 22:50:41,001 - DEBUG - Response for create_network : {'network': {'id': '2b3780db-df5a-4d67-af64-aedb4386b070', 'name': 'ctest-vn-51626255', 'tenant_id': '59ed6cdf4573474397ce30e31abfab39', 'project_id': '59ed6cdf4573474397ce30e31abfab39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15460393', 'ctest-vn-51626255'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 22:50:41,124 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c761ce6c-fdc5-4f06-93c6-006ef3509614', 'name': '', 'tenant_id': '59ed6cdf4573474397ce30e31abfab39', 'network_id': '2b3780db-df5a-4d67-af64-aedb4386b070', 'ip_version': 4, 'cidr': '90.234.113.0/26', 'allocation_pools': [{'start': '90.234.113.2', 'end': '90.234.113.62'}], 'gateway_ip': '90.234.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.234.113.2', 'tags': [], 'project_id': '59ed6cdf4573474397ce30e31abfab39'}} 2025-11-17 22:50:41,138 - INFO - Created VN ctest-vn-51626255 2025-11-17 22:50:41,187 - DEBUG - VN ctest-vn-51626255 UUID is 2b3780db-df5a-4d67-af64-aedb4386b070 2025-11-17 22:50:41,463 - DEBUG - Response for create_network : {'network': {'id': 'f94eec6b-9060-43be-9c30-e71f83b9be54', 'name': 'ctest-vn-94646145', 'tenant_id': '59ed6cdf4573474397ce30e31abfab39', 'project_id': '59ed6cdf4573474397ce30e31abfab39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15460393', 'ctest-vn-94646145'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 22:50:41,648 - DEBUG - Response for create_subnet : {'subnet': {'id': '06f6fa7a-02af-42ec-b1d3-aa5df04748aa', 'name': '', 'tenant_id': '59ed6cdf4573474397ce30e31abfab39', 'network_id': 'f94eec6b-9060-43be-9c30-e71f83b9be54', 'ip_version': 4, 'cidr': '113.254.209.0/26', 'allocation_pools': [{'start': '113.254.209.2', 'end': '113.254.209.62'}], 'gateway_ip': '113.254.209.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.254.209.2', 'tags': [], 'project_id': '59ed6cdf4573474397ce30e31abfab39'}} 2025-11-17 22:50:41,663 - INFO - Created VN ctest-vn-94646145 2025-11-17 22:50:41,715 - DEBUG - VN ctest-vn-94646145 UUID is f94eec6b-9060-43be-9c30-e71f83b9be54 2025-11-17 22:50:41,859 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15460393:ctest-vn-51626255, 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-15460393:ctest-vn-94646145, 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-11-17 22:50:42,133 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2b3780db-df5a-4d67-af64-aedb4386b070', 'name': 'ctest-vn-51626255', 'tenant_id': '59ed6cdf4573474397ce30e31abfab39', 'project_id': '59ed6cdf4573474397ce30e31abfab39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c761ce6c-fdc5-4f06-93c6-006ef3509614'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15460393', 'ctest-vn-51626255'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15460393', 'ctest-policy-allow-all-65865850']], 'subnet_ipam': [{'subnet_cidr': '90.234.113.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 22:50:42,403 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f94eec6b-9060-43be-9c30-e71f83b9be54', 'name': 'ctest-vn-94646145', 'tenant_id': '59ed6cdf4573474397ce30e31abfab39', 'project_id': '59ed6cdf4573474397ce30e31abfab39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['06f6fa7a-02af-42ec-b1d3-aa5df04748aa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15460393', 'ctest-vn-94646145'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15460393', 'ctest-policy-allow-all-65865850']], 'subnet_ipam': [{'subnet_cidr': '113.254.209.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 22:50:42,547 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 22:50:42,842 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 22:50:42,868 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2565e28-b2d8-4e32-845a-d70bec41d8d3 2025-11-17 22:50:42,878 - DEBUG - Requesting: http://10.0.0.50:8082/project/59ed6cdf-4573-4743-97ce-30e31abfab39 2025-11-17 22:50:42,945 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2b3780db-df5a-4d67-af64-aedb4386b070 2025-11-17 22:50:42,954 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2b3780db-df5a-4d67-af64-aedb4386b070 2025-11-17 22:50:42,961 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/61912cfd-d571-4f18-a62f-105f26918d31 2025-11-17 22:50:42,966 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/61912cfd-d571-4f18-a62f-105f26918d31 2025-11-17 22:50:42,972 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4d2f4923-b2d2-48f1-8d14-66a41ac48005 2025-11-17 22:50:42,976 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 22:50:42,977 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2b3780db-df5a-4d67-af64-aedb4386b070 2025-11-17 22:50:42,983 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/61912cfd-d571-4f18-a62f-105f26918d31 2025-11-17 22:50:42,994 - INFO - Verified VN network id 11 for VN 2b3780db-df5a-4d67-af64-aedb4386b070 2025-11-17 22:50:42,994 - INFO - Verifications in API Server for VN ctest-vn-51626255 passed 2025-11-17 22:50:42,994 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2b3780db-df5a-4d67-af64-aedb4386b070 2025-11-17 22:50:43,001 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/61912cfd-d571-4f18-a62f-105f26918d31 2025-11-17 22:50:43,006 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/61912cfd-d571-4f18-a62f-105f26918d31 2025-11-17 22:50:43,011 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4d2f4923-b2d2-48f1-8d14-66a41ac48005 2025-11-17 22:50:43,019 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15460393:ctest-vn-51626255', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15460393', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3114099349183417703', 'uuid-lslong': '12638418711062425712'}, 'enable': 'true', 'created': '2025-11-17T22:50:40', 'last-modified': '2025-11-17T22:50:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907038'} 2025-11-17 22:50:43,024 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 22:50:43,024 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51626255 passed 2025-11-17 22:50:43,025 - DEBUG - ====Verifying policy data for ctest-vn-51626255 in API_Server ====== 2025-11-17 22:50:43,025 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 22:50:43,028 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2565e28-b2d8-4e32-845a-d70bec41d8d3 2025-11-17 22:50:43,037 - DEBUG - Requesting: http://10.0.0.50:8082/project/59ed6cdf-4573-4743-97ce-30e31abfab39 2025-11-17 22:50:43,101 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2b3780db-df5a-4d67-af64-aedb4386b070 2025-11-17 22:50:43,109 - DEBUG - ==>Verifying data for policy with id: 39c845b7-1d1a-4523-99d0-f6ef4ea7ce77, fqn: ['default-domain', 'ctest-TestBasicPolicy-15460393', 'ctest-policy-allow-all-65865850'] 2025-11-17 22:50:43,109 - INFO - VN ctest-vn-51626255 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 22:50:43,109 - DEBUG - Verifying the vn in opserver 2025-11-17 22:50:43,109 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15460393:ctest-vn-51626255 virtual network link through opserver 10.0.0.50 2025-11-17 22:50:43,109 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-17 22:50:43,396 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-17 22:50:43,454 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15460393:ctest-vn-51626255', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15460393:ctest-vn-51626255?flat'} 2025-11-17 22:50:43,454 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15460393:ctest-vn-51626255 is found in opserver 2025-11-17 22:50:43,462 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 22:50:43,467 - DEBUG - VRF ids for VN ctest-vn-51626255: {} 2025-11-17 22:50:43,467 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 22:50:43,473 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2565e28-b2d8-4e32-845a-d70bec41d8d3 2025-11-17 22:50:43,482 - DEBUG - Requesting: http://10.0.0.50:8082/project/59ed6cdf-4573-4743-97ce-30e31abfab39 2025-11-17 22:50:43,548 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f94eec6b-9060-43be-9c30-e71f83b9be54 2025-11-17 22:50:43,558 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f94eec6b-9060-43be-9c30-e71f83b9be54 2025-11-17 22:50:43,565 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c0fe397b-68db-4a0b-9948-5f027a49ba96 2025-11-17 22:50:43,571 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c0fe397b-68db-4a0b-9948-5f027a49ba96 2025-11-17 22:50:43,576 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e9b2e874-56ca-4657-8891-348c10a48069 2025-11-17 22:50:43,581 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 22:50:43,581 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f94eec6b-9060-43be-9c30-e71f83b9be54 2025-11-17 22:50:43,588 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c0fe397b-68db-4a0b-9948-5f027a49ba96 2025-11-17 22:50:43,599 - INFO - Verified VN network id 12 for VN f94eec6b-9060-43be-9c30-e71f83b9be54 2025-11-17 22:50:43,599 - INFO - Verifications in API Server for VN ctest-vn-94646145 passed 2025-11-17 22:50:43,599 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f94eec6b-9060-43be-9c30-e71f83b9be54 2025-11-17 22:50:43,607 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c0fe397b-68db-4a0b-9948-5f027a49ba96 2025-11-17 22:50:43,612 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c0fe397b-68db-4a0b-9948-5f027a49ba96 2025-11-17 22:50:43,617 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e9b2e874-56ca-4657-8891-348c10a48069 2025-11-17 22:50:43,627 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15460393:ctest-vn-94646145', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15460393', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17964555910355370942', 'uuid-lslong': '11254749591338860116'}, 'enable': 'true', 'created': '2025-11-17T22:50:41', 'last-modified': '2025-11-17T22:50:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.290035'} 2025-11-17 22:50:43,631 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 22:50:43,632 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94646145 passed 2025-11-17 22:50:43,632 - DEBUG - ====Verifying policy data for ctest-vn-94646145 in API_Server ====== 2025-11-17 22:50:43,632 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 22:50:43,637 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2565e28-b2d8-4e32-845a-d70bec41d8d3 2025-11-17 22:50:43,646 - DEBUG - Requesting: http://10.0.0.50:8082/project/59ed6cdf-4573-4743-97ce-30e31abfab39 2025-11-17 22:50:43,714 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f94eec6b-9060-43be-9c30-e71f83b9be54 2025-11-17 22:50:43,724 - DEBUG - ==>Verifying data for policy with id: 39c845b7-1d1a-4523-99d0-f6ef4ea7ce77, fqn: ['default-domain', 'ctest-TestBasicPolicy-15460393', 'ctest-policy-allow-all-65865850'] 2025-11-17 22:50:43,724 - INFO - VN ctest-vn-94646145 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 22:50:43,724 - DEBUG - Verifying the vn in opserver 2025-11-17 22:50:43,724 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15460393:ctest-vn-94646145 virtual network link through opserver 10.0.0.50 2025-11-17 22:50:43,724 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-17 22:50:43,734 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15460393:ctest-vn-94646145', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15460393:ctest-vn-94646145?flat'} 2025-11-17 22:50:43,734 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15460393:ctest-vn-94646145 is found in opserver 2025-11-17 22:50:43,744 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 22:50:43,748 - DEBUG - VRF ids for VN ctest-vn-94646145: {} 2025-11-17 22:50:43,802 - DEBUG - Services list from nova: [, , ] 2025-11-17 22:50:44,784 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4748-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4748-1) 2025-11-17 22:50:45,872 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4748-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4748-1) 2025-11-17 22:50:45,873 - INFO - Waiting for VM ctest-TestBasicPolicy-15460393-68201914 to be up.. 2025-11-17 22:50:45,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 22:50:51,013 - DEBUG - VM is in ACTIVE state now 2025-11-17 22:50:51,013 - INFO - VM name : ctest-TestBasicPolicy-15460393-68201914 2025-11-17 22:50:51,076 - DEBUG - VM ctest-TestBasicPolicy-15460393-68201914 ID is b26fc821-2740-4041-9db1-6ad82d108699 2025-11-17 22:50:51,094 - DEBUG - VM ctest-TestBasicPolicy-15460393-68201914 launched on Node cn-jenkins-deploy-platform-ansible-os-4748-1 2025-11-17 22:50:51,162 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b26fc821-2740-4041-9db1-6ad82d108699 2025-11-17 22:50:51,171 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/378996f8-4d16-4f59-82f5-812f074f3091 2025-11-17 22:50:54,430 - 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-11-17 22:50:54,430 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15460393-68201914 failed! 2025-11-17 22:50:54,483 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15460393:ctest-vn-51626255 is 90.234.113.1 and allocation pool is NOT set 2025-11-17 22:50:56,545 - 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=4.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 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.035/3.156/4.278/1.121 ms') 2025-11-17 22:50:56,545 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15460393-68201914 passed 2025-11-17 22:50:56,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:50:56,696 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15460393-68201914, IP 90.234.113.3, Port 22 2025-11-17 22:50:56,847 - DEBUG - VM ctest-TestBasicPolicy-15460393-68201914 is ready for SSH connections 2025-11-17 22:50:56,847 - INFO - Waiting for VM ctest-TestBasicPolicy-15460393-92252474 to be up.. 2025-11-17 22:50:56,908 - DEBUG - VM is in ACTIVE state now 2025-11-17 22:50:56,908 - INFO - VM name : ctest-TestBasicPolicy-15460393-92252474 2025-11-17 22:50:56,965 - DEBUG - VM ctest-TestBasicPolicy-15460393-92252474 ID is 1954e621-be78-4e9d-8e15-50ad55f450d3 2025-11-17 22:50:56,965 - DEBUG - VM ctest-TestBasicPolicy-15460393-92252474 launched on Node cn-jenkins-deploy-platform-ansible-os-4748-1 2025-11-17 22:50:57,023 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1954e621-be78-4e9d-8e15-50ad55f450d3 2025-11-17 22:50:57,030 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c274ff04-728e-4c5a-9518-ed08700f9382 2025-11-17 22:50:58,252 - 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.345 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.345/1.481/2.617/1.136 ms') 2025-11-17 22:50:58,252 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15460393-92252474 passed 2025-11-17 22:50:58,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:50:58,403 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15460393-92252474, IP 113.254.209.3, Port 22 2025-11-17 22:50:58,558 - DEBUG - VM ctest-TestBasicPolicy-15460393-92252474 is ready for SSH connections 2025-11-17 22:50:58,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:50:58,559 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.254.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 22:50:58,559 - DEBUG - ping -s 56 -c 3 -W 1 113.254.209.3 2025-11-17 22:51:02,232 - DEBUG - PING 113.254.209.3 (113.254.209.3): 56 data bytes 64 bytes from 113.254.209.3: seq=0 ttl=63 time=3.060 ms 64 bytes from 113.254.209.3: seq=1 ttl=63 time=0.718 ms 64 bytes from 113.254.209.3: seq=2 ttl=63 time=0.719 ms --- 113.254.209.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.718/1.499/3.060 ms 2025-11-17 22:51:02,232 - INFO - Ping to IP 113.254.209.3 from VM ctest-TestBasicPolicy-15460393-68201914 passed 2025-11-17 22:51:02,395 - DEBUG - Policy Update Response {"network-policy": {"uuid": "39c845b7-1d1a-4523-99d0-f6ef4ea7ce77", "href": "http://10.0.0.50:8082/network-policy/39c845b7-1d1a-4523-99d0-f6ef4ea7ce77"}} 2025-11-17 22:51:02,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 22:51:02,395 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.254.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 22:51:02,395 - DEBUG - ping -s 56 -c 3 -W 1 113.254.209.3 2025-11-17 22:51:05,596 - DEBUG - PING 113.254.209.3 (113.254.209.3): 56 data bytes 64 bytes from 113.254.209.3: seq=0 ttl=63 time=1.260 ms --- 113.254.209.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.260/1.260/1.260 ms 2025-11-17 22:51:05,597 - WARNING - Ping to IP 113.254.209.3 from VM ctest-TestBasicPolicy-15460393-68201914 failed 2025-11-17 22:51:05,597 - INFO - Deleting VM ctest-TestBasicPolicy-15460393-92252474 2025-11-17 22:51:05,661 - INFO - Deleting VM ctest-TestBasicPolicy-15460393-68201914 2025-11-17 22:51:05,988 - INFO - Deleted policy ctest-policy-allow-all-65865850 2025-11-17 22:51:05,988 - INFO - Deleting VN ctest-vn-94646145 2025-11-17 22:51:06,020 - DEBUG - VN f94eec6b-9060-43be-9c30-e71f83b9be54 still in use: Unable to complete operation on network f94eec6b-9060-43be-9c30-e71f83b9be54. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-83463fec-750c-46e0-9c12-42dcd4a2ec0b'] 2025-11-17 22:51:06,020 - WARNING - Deleting VN ctest-vn-94646145 failed..Will retry 2025-11-17 22:51:08,105 - DEBUG - Response for deleting network () 2025-11-17 22:51:08,105 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c0fe397b-68db-4a0b-9948-5f027a49ba96 2025-11-17 22:51:08,110 - DEBUG - Response Code: 404 2025-11-17 22:51:08,110 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 22:51:08,114 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2565e28-b2d8-4e32-845a-d70bec41d8d3 2025-11-17 22:51:08,167 - DEBUG - Requesting: http://10.0.0.50:8082/project/59ed6cdf-4573-4743-97ce-30e31abfab39 2025-11-17 22:51:08,233 - INFO - Validated that VN ctest-vn-94646145 is not found in API Server 2025-11-17 22:51:08,241 - DEBUG - VN ctest-vn-94646145 is not present in Agent 10.0.0.50 2025-11-17 22:51:08,242 - INFO - Validated that VN ctest-vn-94646145 is not in any agent 2025-11-17 22:51:08,253 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94646145 info 2025-11-17 22:51:08,253 - INFO - Deleting VN ctest-vn-51626255 2025-11-17 22:51:08,331 - DEBUG - Response for deleting network () 2025-11-17 22:51:08,331 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/61912cfd-d571-4f18-a62f-105f26918d31 2025-11-17 22:51:08,335 - DEBUG - Response Code: 404 2025-11-17 22:51:08,335 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-17 22:51:08,339 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2565e28-b2d8-4e32-845a-d70bec41d8d3 2025-11-17 22:51:08,394 - DEBUG - Requesting: http://10.0.0.50:8082/project/59ed6cdf-4573-4743-97ce-30e31abfab39 2025-11-17 22:51:08,458 - INFO - Validated that VN ctest-vn-51626255 is not found in API Server 2025-11-17 22:51:08,466 - DEBUG - VN ctest-vn-51626255 is not present in Agent 10.0.0.50 2025-11-17 22:51:08,467 - INFO - Validated that VN ctest-vn-51626255 is not in any agent 2025-11-17 22:51:08,478 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51626255 info 2025-11-17 22:51:08,727 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 22:51:08,727 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-11-17 22:51:08,727 - INFO - -------------------------------------------------------------------------------- 2025-11-17 22:51:09,363 - INFO - Deleted project: ctest-TestBasicPolicy-15460393, ID : 59ed6cdf-4573-4743-97ce-30e31abfab39