2025-10-27 09:04:28,849 - INFO - Domain Default found not creating 2025-10-27 09:04:29,012 - INFO - Project ctest-TestBasicPolicy-35234568 not found, creating it 2025-10-27 09:04:29,511 - INFO - Created Project:ctest-TestBasicPolicy-35234568, ID : 8f9bd5e8-b8db-4f0e-935e-b60bcb4964d4 2025-10-27 09:04:31,097 - INFO - ================================================================================ 2025-10-27 09:04:31,097 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 09:04:31,097 - 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-10-27 09:04:31,363 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-27 09:04:31,364 - INFO - Initial checks done. Running the testcase now 2025-10-27 09:04:31,364 - INFO - 2025-10-27 09:04:31,971 - DEBUG - Response for create_network : {'network': {'id': '5757a4f8-bc67-411f-88e1-1e16c71e1b91', 'name': 'ctest-vn-41028546', 'tenant_id': '8f9bd5e8b8db4f0e935eb60bcb4964d4', 'project_id': '8f9bd5e8b8db4f0e935eb60bcb4964d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35234568', 'ctest-vn-41028546'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 09:04:32,203 - DEBUG - Response for create_subnet : {'subnet': {'id': '87ea2d48-27d9-4324-a3b1-8b4a5a9555f8', 'name': '', 'tenant_id': '8f9bd5e8b8db4f0e935eb60bcb4964d4', 'network_id': '5757a4f8-bc67-411f-88e1-1e16c71e1b91', 'ip_version': 4, 'cidr': '209.96.63.128/26', 'allocation_pools': [{'start': '209.96.63.130', 'end': '209.96.63.190'}], 'gateway_ip': '209.96.63.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.96.63.130', 'tags': [], 'project_id': '8f9bd5e8b8db4f0e935eb60bcb4964d4'}} 2025-10-27 09:04:32,225 - INFO - Created VN ctest-vn-41028546 2025-10-27 09:04:32,280 - DEBUG - VN ctest-vn-41028546 UUID is 5757a4f8-bc67-411f-88e1-1e16c71e1b91 2025-10-27 09:04:32,585 - DEBUG - Response for create_network : {'network': {'id': '74db8313-3bc2-4f05-8462-56b74434e5d3', 'name': 'ctest-vn-95038397', 'tenant_id': '8f9bd5e8b8db4f0e935eb60bcb4964d4', 'project_id': '8f9bd5e8b8db4f0e935eb60bcb4964d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35234568', 'ctest-vn-95038397'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 09:04:32,820 - DEBUG - Response for create_subnet : {'subnet': {'id': '70ae8104-2c90-49db-ad8f-4eb960cd0817', 'name': '', 'tenant_id': '8f9bd5e8b8db4f0e935eb60bcb4964d4', 'network_id': '74db8313-3bc2-4f05-8462-56b74434e5d3', 'ip_version': 4, 'cidr': '29.109.197.192/26', 'allocation_pools': [{'start': '29.109.197.194', 'end': '29.109.197.254'}], 'gateway_ip': '29.109.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.109.197.194', 'tags': [], 'project_id': '8f9bd5e8b8db4f0e935eb60bcb4964d4'}} 2025-10-27 09:04:32,840 - INFO - Created VN ctest-vn-95038397 2025-10-27 09:04:32,892 - DEBUG - VN ctest-vn-95038397 UUID is 74db8313-3bc2-4f05-8462-56b74434e5d3 2025-10-27 09:04:33,013 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35234568:ctest-vn-41028546, 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-35234568:ctest-vn-95038397, 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-10-27 09:04:33,335 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5757a4f8-bc67-411f-88e1-1e16c71e1b91', 'name': 'ctest-vn-41028546', 'tenant_id': '8f9bd5e8b8db4f0e935eb60bcb4964d4', 'project_id': '8f9bd5e8b8db4f0e935eb60bcb4964d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['87ea2d48-27d9-4324-a3b1-8b4a5a9555f8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35234568', 'ctest-vn-41028546'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35234568', 'ctest-policy-allow-all-37563925']], 'subnet_ipam': [{'subnet_cidr': '209.96.63.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 09:04:33,590 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '74db8313-3bc2-4f05-8462-56b74434e5d3', 'name': 'ctest-vn-95038397', 'tenant_id': '8f9bd5e8b8db4f0e935eb60bcb4964d4', 'project_id': '8f9bd5e8b8db4f0e935eb60bcb4964d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['70ae8104-2c90-49db-ad8f-4eb960cd0817'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35234568', 'ctest-vn-95038397'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35234568', 'ctest-policy-allow-all-37563925']], 'subnet_ipam': [{'subnet_cidr': '29.109.197.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 09:04:33,756 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 09:04:34,116 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 09:04:34,149 - DEBUG - Requesting: http://10.0.0.27:8082/domain/7c02ca6d-793c-4313-b0d9-2191e6bd5d86 2025-10-27 09:04:34,163 - DEBUG - Requesting: http://10.0.0.27:8082/project/8f9bd5e8-b8db-4f0e-935e-b60bcb4964d4 2025-10-27 09:04:34,244 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5757a4f8-bc67-411f-88e1-1e16c71e1b91 2025-10-27 09:04:34,259 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5757a4f8-bc67-411f-88e1-1e16c71e1b91 2025-10-27 09:04:34,271 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1e953dc7-1fdf-4e82-9ddd-d13896377801 2025-10-27 09:04:34,279 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1e953dc7-1fdf-4e82-9ddd-d13896377801 2025-10-27 09:04:34,286 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/356492ad-0e17-4752-b014-a4ccea2dffb2 2025-10-27 09:04:34,293 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 09:04:34,293 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5757a4f8-bc67-411f-88e1-1e16c71e1b91 2025-10-27 09:04:34,304 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1e953dc7-1fdf-4e82-9ddd-d13896377801 2025-10-27 09:04:34,324 - INFO - Verified VN network id 12 for VN 5757a4f8-bc67-411f-88e1-1e16c71e1b91 2025-10-27 09:04:34,325 - INFO - Verifications in API Server for VN ctest-vn-41028546 passed 2025-10-27 09:04:34,325 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5757a4f8-bc67-411f-88e1-1e16c71e1b91 2025-10-27 09:04:34,338 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1e953dc7-1fdf-4e82-9ddd-d13896377801 2025-10-27 09:04:34,351 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1e953dc7-1fdf-4e82-9ddd-d13896377801 2025-10-27 09:04:34,363 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/356492ad-0e17-4752-b014-a4ccea2dffb2 2025-10-27 09:04:34,381 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35234568:ctest-vn-41028546', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35234568', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6293680392493285663', 'uuid-lslong': '9863197742096849809'}, 'enable': 'true', 'created': '2025-10-27T09:04:31', 'last-modified': '2025-10-27T09:04:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.074721'} 2025-10-27 09:04:34,391 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 09:04:34,391 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41028546 passed 2025-10-27 09:04:34,392 - DEBUG - ====Verifying policy data for ctest-vn-41028546 in API_Server ====== 2025-10-27 09:04:34,392 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 09:04:34,400 - DEBUG - Requesting: http://10.0.0.27:8082/domain/7c02ca6d-793c-4313-b0d9-2191e6bd5d86 2025-10-27 09:04:34,418 - DEBUG - Requesting: http://10.0.0.27:8082/project/8f9bd5e8-b8db-4f0e-935e-b60bcb4964d4 2025-10-27 09:04:34,495 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/5757a4f8-bc67-411f-88e1-1e16c71e1b91 2025-10-27 09:04:34,509 - DEBUG - ==>Verifying data for policy with id: 9aeca0d9-f61b-465a-afc0-fb88b1c98271, fqn: ['default-domain', 'ctest-TestBasicPolicy-35234568', 'ctest-policy-allow-all-37563925'] 2025-10-27 09:04:34,509 - INFO - VN ctest-vn-41028546 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 09:04:34,509 - DEBUG - Verifying the vn in opserver 2025-10-27 09:04:34,509 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35234568:ctest-vn-41028546 virtual network link through opserver 10.0.0.27 2025-10-27 09:04:34,510 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-27 09:04:34,864 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-27 09:04:34,927 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35234568:ctest-vn-41028546', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35234568:ctest-vn-41028546?flat'} 2025-10-27 09:04:34,927 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35234568:ctest-vn-41028546 is found in opserver 2025-10-27 09:04:34,940 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 09:04:34,945 - DEBUG - VRF ids for VN ctest-vn-41028546: {} 2025-10-27 09:04:34,945 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 09:04:34,951 - DEBUG - Requesting: http://10.0.0.27:8082/domain/7c02ca6d-793c-4313-b0d9-2191e6bd5d86 2025-10-27 09:04:34,965 - DEBUG - Requesting: http://10.0.0.27:8082/project/8f9bd5e8-b8db-4f0e-935e-b60bcb4964d4 2025-10-27 09:04:35,038 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/74db8313-3bc2-4f05-8462-56b74434e5d3 2025-10-27 09:04:35,054 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/74db8313-3bc2-4f05-8462-56b74434e5d3 2025-10-27 09:04:35,067 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ccd4ab47-d3b7-4fcc-8811-cf8f77e52c71 2025-10-27 09:04:35,076 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ccd4ab47-d3b7-4fcc-8811-cf8f77e52c71 2025-10-27 09:04:35,084 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/8b8b7ddc-7c8b-4545-9653-745a43bfb758 2025-10-27 09:04:35,091 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 09:04:35,091 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/74db8313-3bc2-4f05-8462-56b74434e5d3 2025-10-27 09:04:35,103 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ccd4ab47-d3b7-4fcc-8811-cf8f77e52c71 2025-10-27 09:04:35,121 - INFO - Verified VN network id 13 for VN 74db8313-3bc2-4f05-8462-56b74434e5d3 2025-10-27 09:04:35,121 - INFO - Verifications in API Server for VN ctest-vn-95038397 passed 2025-10-27 09:04:35,122 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/74db8313-3bc2-4f05-8462-56b74434e5d3 2025-10-27 09:04:35,132 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ccd4ab47-d3b7-4fcc-8811-cf8f77e52c71 2025-10-27 09:04:35,141 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ccd4ab47-d3b7-4fcc-8811-cf8f77e52c71 2025-10-27 09:04:35,150 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/8b8b7ddc-7c8b-4545-9653-745a43bfb758 2025-10-27 09:04:35,164 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35234568:ctest-vn-95038397', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35234568', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8420468046929481477', 'uuid-lslong': '9539282305847453139'}, 'enable': 'true', 'created': '2025-10-27T09:04:32', 'last-modified': '2025-10-27T09:04:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.603445'} 2025-10-27 09:04:35,171 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 09:04:35,171 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95038397 passed 2025-10-27 09:04:35,171 - DEBUG - ====Verifying policy data for ctest-vn-95038397 in API_Server ====== 2025-10-27 09:04:35,171 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 09:04:35,180 - DEBUG - Requesting: http://10.0.0.27:8082/domain/7c02ca6d-793c-4313-b0d9-2191e6bd5d86 2025-10-27 09:04:35,193 - DEBUG - Requesting: http://10.0.0.27:8082/project/8f9bd5e8-b8db-4f0e-935e-b60bcb4964d4 2025-10-27 09:04:35,276 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/74db8313-3bc2-4f05-8462-56b74434e5d3 2025-10-27 09:04:35,289 - DEBUG - ==>Verifying data for policy with id: 9aeca0d9-f61b-465a-afc0-fb88b1c98271, fqn: ['default-domain', 'ctest-TestBasicPolicy-35234568', 'ctest-policy-allow-all-37563925'] 2025-10-27 09:04:35,289 - INFO - VN ctest-vn-95038397 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 09:04:35,289 - DEBUG - Verifying the vn in opserver 2025-10-27 09:04:35,289 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35234568:ctest-vn-95038397 virtual network link through opserver 10.0.0.27 2025-10-27 09:04:35,289 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-27 09:04:35,301 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35234568:ctest-vn-95038397', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35234568:ctest-vn-95038397?flat'} 2025-10-27 09:04:35,301 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35234568:ctest-vn-95038397 is found in opserver 2025-10-27 09:04:35,314 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 09:04:35,321 - DEBUG - VRF ids for VN ctest-vn-95038397: {} 2025-10-27 09:04:35,388 - DEBUG - Services list from nova: [, , ] 2025-10-27 09:04:36,593 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4496-1) 2025-10-27 09:04:37,949 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4496-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4496-1) 2025-10-27 09:04:37,949 - INFO - Waiting for VM ctest-TestBasicPolicy-35234568-10706835 to be up.. 2025-10-27 09:04:38,044 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 09:04:43,149 - DEBUG - VM is in ACTIVE state now 2025-10-27 09:04:43,149 - INFO - VM name : ctest-TestBasicPolicy-35234568-10706835 2025-10-27 09:04:43,260 - DEBUG - VM ctest-TestBasicPolicy-35234568-10706835 ID is ecec01c7-ae10-4afb-8afe-e8d4b9f8198d 2025-10-27 09:04:43,292 - DEBUG - VM ctest-TestBasicPolicy-35234568-10706835 launched on Node cn-jenkins-deploy-platform-ansible-os-4496-1 2025-10-27 09:04:43,395 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ecec01c7-ae10-4afb-8afe-e8d4b9f8198d 2025-10-27 09:04:43,406 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/bc1c4e0e-0ea4-422a-b10c-06bc81aa288f 2025-10-27 09:04:46,694 - 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 1034ms') 2025-10-27 09:04:46,694 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35234568-10706835 failed! 2025-10-27 09:04:46,752 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35234568:ctest-vn-41028546 is 209.96.63.129 and allocation pool is NOT set 2025-10-27 09:04:48,815 - 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=14.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.859 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.859/7.801/14.744/6.942 ms') 2025-10-27 09:04:48,815 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35234568-10706835 passed 2025-10-27 09:04:48,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:04:48,977 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35234568-10706835, IP 209.96.63.131, Port 22 2025-10-27 09:04:49,048 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-27 09:04:49,137 - DEBUG - VM ctest-TestBasicPolicy-35234568-10706835 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 09:04:54,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:04:54,138 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35234568-10706835, IP 209.96.63.131, Port 22 2025-10-27 09:04:54,296 - DEBUG - VM ctest-TestBasicPolicy-35234568-10706835 is ready for SSH connections 2025-10-27 09:04:54,296 - INFO - Waiting for VM ctest-TestBasicPolicy-35234568-17726410 to be up.. 2025-10-27 09:04:54,382 - DEBUG - VM is in ACTIVE state now 2025-10-27 09:04:54,382 - INFO - VM name : ctest-TestBasicPolicy-35234568-17726410 2025-10-27 09:04:54,475 - DEBUG - VM ctest-TestBasicPolicy-35234568-17726410 ID is 8a885ca9-df7c-4bc5-b430-5570712072a8 2025-10-27 09:04:54,475 - DEBUG - VM ctest-TestBasicPolicy-35234568-17726410 launched on Node cn-jenkins-deploy-platform-ansible-os-4496-1 2025-10-27 09:04:54,559 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8a885ca9-df7c-4bc5-b430-5570712072a8 2025-10-27 09:04:54,568 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/73b90794-e367-499f-a123-e6b09fb2a8ba 2025-10-27 09:04:55,820 - 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=4.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.566 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.566/2.488/4.411/1.922 ms') 2025-10-27 09:04:55,821 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35234568-17726410 passed 2025-10-27 09:04:55,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:04:55,981 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35234568-17726410, IP 29.109.197.195, Port 22 2025-10-27 09:04:56,146 - DEBUG - VM ctest-TestBasicPolicy-35234568-17726410 is ready for SSH connections 2025-10-27 09:04:56,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:04:56,147 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.109.197.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 09:04:56,147 - DEBUG - ping -s 56 -c 3 -W 1 29.109.197.195 2025-10-27 09:05:00,322 - DEBUG - PING 29.109.197.195 (29.109.197.195): 56 data bytes 64 bytes from 29.109.197.195: seq=0 ttl=63 time=4.555 ms 64 bytes from 29.109.197.195: seq=1 ttl=63 time=1.160 ms 64 bytes from 29.109.197.195: seq=2 ttl=63 time=1.082 ms --- 29.109.197.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.082/2.265/4.555 ms 2025-10-27 09:05:00,322 - INFO - Ping to IP 29.109.197.195 from VM ctest-TestBasicPolicy-35234568-10706835 passed 2025-10-27 09:05:00,508 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9aeca0d9-f61b-465a-afc0-fb88b1c98271", "href": "http://10.0.0.27:8082/network-policy/9aeca0d9-f61b-465a-afc0-fb88b1c98271"}} 2025-10-27 09:05:00,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 09:05:00,509 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.109.197.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 09:05:00,509 - DEBUG - ping -s 56 -c 3 -W 1 29.109.197.195 2025-10-27 09:05:03,799 - DEBUG - PING 29.109.197.195 (29.109.197.195): 56 data bytes --- 29.109.197.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 09:05:03,800 - WARNING - Ping to IP 29.109.197.195 from VM ctest-TestBasicPolicy-35234568-10706835 failed 2025-10-27 09:05:03,800 - INFO - Deleting VM ctest-TestBasicPolicy-35234568-17726410 2025-10-27 09:05:03,884 - INFO - Deleting VM ctest-TestBasicPolicy-35234568-10706835 2025-10-27 09:05:04,339 - INFO - Deleted policy ctest-policy-allow-all-37563925 2025-10-27 09:05:04,340 - INFO - Deleting VN ctest-vn-95038397 2025-10-27 09:05:04,389 - DEBUG - VN 74db8313-3bc2-4f05-8462-56b74434e5d3 still in use: Unable to complete operation on network 74db8313-3bc2-4f05-8462-56b74434e5d3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e803a23-ab82-4e66-af69-ef3a98b70629'] 2025-10-27 09:05:04,389 - WARNING - Deleting VN ctest-vn-95038397 failed..Will retry 2025-10-27 09:05:06,524 - DEBUG - Response for deleting network () 2025-10-27 09:05:06,524 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/ccd4ab47-d3b7-4fcc-8811-cf8f77e52c71 2025-10-27 09:05:06,531 - DEBUG - Response Code: 404 2025-10-27 09:05:06,531 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 09:05:06,543 - DEBUG - Requesting: http://10.0.0.27:8082/domain/7c02ca6d-793c-4313-b0d9-2191e6bd5d86 2025-10-27 09:05:06,598 - DEBUG - Requesting: http://10.0.0.27:8082/project/8f9bd5e8-b8db-4f0e-935e-b60bcb4964d4 2025-10-27 09:05:06,685 - INFO - Validated that VN ctest-vn-95038397 is not found in API Server 2025-10-27 09:05:06,697 - DEBUG - VN ctest-vn-95038397 is not present in Agent 10.0.0.27 2025-10-27 09:05:06,697 - INFO - Validated that VN ctest-vn-95038397 is not in any agent 2025-10-27 09:05:06,713 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95038397 info 2025-10-27 09:05:06,713 - INFO - Deleting VN ctest-vn-41028546 2025-10-27 09:05:06,843 - DEBUG - Response for deleting network () 2025-10-27 09:05:06,843 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/1e953dc7-1fdf-4e82-9ddd-d13896377801 2025-10-27 09:05:06,849 - DEBUG - Response Code: 404 2025-10-27 09:05:06,849 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 09:05:06,859 - DEBUG - Requesting: http://10.0.0.27:8082/domain/7c02ca6d-793c-4313-b0d9-2191e6bd5d86 2025-10-27 09:05:06,915 - DEBUG - Requesting: http://10.0.0.27:8082/project/8f9bd5e8-b8db-4f0e-935e-b60bcb4964d4 2025-10-27 09:05:06,995 - INFO - Validated that VN ctest-vn-41028546 is not found in API Server 2025-10-27 09:05:07,008 - DEBUG - VN ctest-vn-41028546 is not present in Agent 10.0.0.27 2025-10-27 09:05:07,008 - INFO - Validated that VN ctest-vn-41028546 is not in any agent 2025-10-27 09:05:07,026 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41028546 info 2025-10-27 09:05:07,306 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 09:05:07,306 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2025-10-27 09:05:07,306 - INFO - -------------------------------------------------------------------------------- 2025-10-27 09:05:08,059 - INFO - Deleted project: ctest-TestBasicPolicy-35234568, ID : 8f9bd5e8-b8db-4f0e-935e-b60bcb4964d4