2026-02-02 16:30:40,393 - INFO - Domain Default found not creating 2026-02-02 16:30:40,554 - INFO - Project ctest-TestBasicPolicy-82059753 not found, creating it 2026-02-02 16:30:41,006 - INFO - Created Project:ctest-TestBasicPolicy-82059753, ID : 899a3119-d9ba-4baf-b3fb-d87d1a8cbbf6 2026-02-02 16:30:42,488 - INFO - ================================================================================ 2026-02-02 16:30:42,488 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-02 16:30:42,488 - 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 2026-02-02 16:30:42,746 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-02-02 16:30:42,747 - INFO - Initial checks done. Running the testcase now 2026-02-02 16:30:42,747 - INFO - 2026-02-02 16:30:43,295 - DEBUG - Response for create_network : {'network': {'id': 'dc340217-fd6c-43d2-8fe5-878823814623', 'name': 'ctest-vn-74182840', 'tenant_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'project_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82059753', 'ctest-vn-74182840'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 16:30:43,447 - DEBUG - Response for create_subnet : {'subnet': {'id': '0fe44e6c-d351-4bbf-badc-29634383e2de', 'name': '', 'tenant_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'network_id': 'dc340217-fd6c-43d2-8fe5-878823814623', 'ip_version': 4, 'cidr': '195.134.26.64/26', 'allocation_pools': [{'start': '195.134.26.66', 'end': '195.134.26.126'}], 'gateway_ip': '195.134.26.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.134.26.66', 'tags': [], 'project_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6'}} 2026-02-02 16:30:43,464 - INFO - Created VN ctest-vn-74182840 2026-02-02 16:30:43,514 - DEBUG - VN ctest-vn-74182840 UUID is dc340217-fd6c-43d2-8fe5-878823814623 2026-02-02 16:30:43,815 - DEBUG - Response for create_network : {'network': {'id': '4aef6e88-2f78-4cf9-aa6b-eb427e41c497', 'name': 'ctest-vn-79375317', 'tenant_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'project_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82059753', 'ctest-vn-79375317'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 16:30:44,027 - DEBUG - Response for create_subnet : {'subnet': {'id': '94db4546-7249-4ee4-a78f-a97887bbcd61', 'name': '', 'tenant_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'network_id': '4aef6e88-2f78-4cf9-aa6b-eb427e41c497', 'ip_version': 4, 'cidr': '54.14.98.128/26', 'allocation_pools': [{'start': '54.14.98.130', 'end': '54.14.98.190'}], 'gateway_ip': '54.14.98.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.14.98.130', 'tags': [], 'project_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6'}} 2026-02-02 16:30:44,045 - INFO - Created VN ctest-vn-79375317 2026-02-02 16:30:44,094 - DEBUG - VN ctest-vn-79375317 UUID is 4aef6e88-2f78-4cf9-aa6b-eb427e41c497 2026-02-02 16:30:44,206 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-74182840, 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-82059753:ctest-vn-79375317, 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] 2026-02-02 16:30:44,497 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dc340217-fd6c-43d2-8fe5-878823814623', 'name': 'ctest-vn-74182840', 'tenant_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'project_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0fe44e6c-d351-4bbf-badc-29634383e2de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82059753', 'ctest-vn-74182840'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82059753', 'ctest-policy-allow-all-44429592']], 'subnet_ipam': [{'subnet_cidr': '195.134.26.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 16:30:44,765 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4aef6e88-2f78-4cf9-aa6b-eb427e41c497', 'name': 'ctest-vn-79375317', 'tenant_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'project_id': '899a3119d9ba4bafb3fbd87d1a8cbbf6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['94db4546-7249-4ee4-a78f-a97887bbcd61'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82059753', 'ctest-vn-79375317'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82059753', 'ctest-policy-allow-all-44429592']], 'subnet_ipam': [{'subnet_cidr': '54.14.98.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 16:30:44,910 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-02 16:30:45,203 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-02 16:30:45,241 - DEBUG - Requesting: http://10.0.0.242:8082/domain/29d284b8-3548-4998-8539-5c31707ba5bb 2026-02-02 16:30:45,252 - DEBUG - Requesting: http://10.0.0.242:8082/project/899a3119-d9ba-4baf-b3fb-d87d1a8cbbf6 2026-02-02 16:30:45,332 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dc340217-fd6c-43d2-8fe5-878823814623 2026-02-02 16:30:45,344 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dc340217-fd6c-43d2-8fe5-878823814623 2026-02-02 16:30:45,354 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/67151a64-1975-4623-b53e-35b078bd7f33 2026-02-02 16:30:45,363 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/67151a64-1975-4623-b53e-35b078bd7f33 2026-02-02 16:30:45,370 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/b04392f3-cf64-465e-8ea0-90e391fed2ae 2026-02-02 16:30:45,376 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 16:30:45,376 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dc340217-fd6c-43d2-8fe5-878823814623 2026-02-02 16:30:45,385 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/67151a64-1975-4623-b53e-35b078bd7f33 2026-02-02 16:30:45,399 - INFO - Verified VN network id 12 for VN dc340217-fd6c-43d2-8fe5-878823814623 2026-02-02 16:30:45,400 - INFO - Verifications in API Server for VN ctest-vn-74182840 passed 2026-02-02 16:30:45,400 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dc340217-fd6c-43d2-8fe5-878823814623 2026-02-02 16:30:45,408 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/67151a64-1975-4623-b53e-35b078bd7f33 2026-02-02 16:30:45,415 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/67151a64-1975-4623-b53e-35b078bd7f33 2026-02-02 16:30:45,421 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/b04392f3-cf64-465e-8ea0-90e391fed2ae 2026-02-02 16:30:45,435 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-74182840', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82059753', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15867309689192334290', 'uuid-lslong': '10368842735871411747'}, 'enable': 'true', 'created': '2026-02-02T16:30:43', 'last-modified': '2026-02-02T16:30:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.955183'} 2026-02-02 16:30:45,440 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 16:30:45,440 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74182840 passed 2026-02-02 16:30:45,441 - DEBUG - ====Verifying policy data for ctest-vn-74182840 in API_Server ====== 2026-02-02 16:30:45,441 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-02 16:30:45,446 - DEBUG - Requesting: http://10.0.0.242:8082/domain/29d284b8-3548-4998-8539-5c31707ba5bb 2026-02-02 16:30:45,458 - DEBUG - Requesting: http://10.0.0.242:8082/project/899a3119-d9ba-4baf-b3fb-d87d1a8cbbf6 2026-02-02 16:30:45,529 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/dc340217-fd6c-43d2-8fe5-878823814623 2026-02-02 16:30:45,538 - DEBUG - ==>Verifying data for policy with id: f84dbe95-20b9-42d8-8d35-3e7ec2957ebf, fqn: ['default-domain', 'ctest-TestBasicPolicy-82059753', 'ctest-policy-allow-all-44429592'] 2026-02-02 16:30:45,538 - INFO - VN ctest-vn-74182840 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 16:30:45,538 - DEBUG - Verifying the vn in opserver 2026-02-02 16:30:45,538 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-74182840 virtual network link through opserver 10.0.0.242 2026-02-02 16:30:45,538 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-02 16:30:45,838 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-02 16:30:45,901 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-74182840', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-74182840?flat'} 2026-02-02 16:30:45,901 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-74182840 is found in opserver 2026-02-02 16:30:45,911 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 16:30:45,915 - DEBUG - VRF ids for VN ctest-vn-74182840: {} 2026-02-02 16:30:45,915 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-02 16:30:45,921 - DEBUG - Requesting: http://10.0.0.242:8082/domain/29d284b8-3548-4998-8539-5c31707ba5bb 2026-02-02 16:30:45,931 - DEBUG - Requesting: http://10.0.0.242:8082/project/899a3119-d9ba-4baf-b3fb-d87d1a8cbbf6 2026-02-02 16:30:46,000 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4aef6e88-2f78-4cf9-aa6b-eb427e41c497 2026-02-02 16:30:46,010 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4aef6e88-2f78-4cf9-aa6b-eb427e41c497 2026-02-02 16:30:46,019 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd15f2a1-3dd0-445c-8706-9dd14e48716f 2026-02-02 16:30:46,025 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd15f2a1-3dd0-445c-8706-9dd14e48716f 2026-02-02 16:30:46,031 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/1cf12cd5-067f-436d-b2fb-fd05c9ac3e22 2026-02-02 16:30:46,038 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 16:30:46,038 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4aef6e88-2f78-4cf9-aa6b-eb427e41c497 2026-02-02 16:30:46,047 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd15f2a1-3dd0-445c-8706-9dd14e48716f 2026-02-02 16:30:46,059 - INFO - Verified VN network id 13 for VN 4aef6e88-2f78-4cf9-aa6b-eb427e41c497 2026-02-02 16:30:46,060 - INFO - Verifications in API Server for VN ctest-vn-79375317 passed 2026-02-02 16:30:46,060 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4aef6e88-2f78-4cf9-aa6b-eb427e41c497 2026-02-02 16:30:46,069 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd15f2a1-3dd0-445c-8706-9dd14e48716f 2026-02-02 16:30:46,075 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd15f2a1-3dd0-445c-8706-9dd14e48716f 2026-02-02 16:30:46,081 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/1cf12cd5-067f-436d-b2fb-fd05c9ac3e22 2026-02-02 16:30:46,092 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-79375317', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82059753', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5399656009431534841', 'uuid-lslong': '12280167479774397591'}, 'enable': 'true', 'created': '2026-02-02T16:30:43', 'last-modified': '2026-02-02T16:30:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.389060'} 2026-02-02 16:30:46,097 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 16:30:46,098 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79375317 passed 2026-02-02 16:30:46,099 - DEBUG - ====Verifying policy data for ctest-vn-79375317 in API_Server ====== 2026-02-02 16:30:46,099 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-02 16:30:46,107 - DEBUG - Requesting: http://10.0.0.242:8082/domain/29d284b8-3548-4998-8539-5c31707ba5bb 2026-02-02 16:30:46,119 - DEBUG - Requesting: http://10.0.0.242:8082/project/899a3119-d9ba-4baf-b3fb-d87d1a8cbbf6 2026-02-02 16:30:46,195 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4aef6e88-2f78-4cf9-aa6b-eb427e41c497 2026-02-02 16:30:46,203 - DEBUG - ==>Verifying data for policy with id: f84dbe95-20b9-42d8-8d35-3e7ec2957ebf, fqn: ['default-domain', 'ctest-TestBasicPolicy-82059753', 'ctest-policy-allow-all-44429592'] 2026-02-02 16:30:46,203 - INFO - VN ctest-vn-79375317 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 16:30:46,204 - DEBUG - Verifying the vn in opserver 2026-02-02 16:30:46,204 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-79375317 virtual network link through opserver 10.0.0.242 2026-02-02 16:30:46,204 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-02 16:30:46,214 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-79375317', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-79375317?flat'} 2026-02-02 16:30:46,214 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-79375317 is found in opserver 2026-02-02 16:30:46,227 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 16:30:46,232 - DEBUG - VRF ids for VN ctest-vn-79375317: {} 2026-02-02 16:30:46,288 - DEBUG - Services list from nova: [, , ] 2026-02-02 16:30:47,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5174-1) 2026-02-02 16:30:48,520 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5174-1) 2026-02-02 16:30:48,521 - INFO - Waiting for VM ctest-TestBasicPolicy-82059753-11511235 to be up.. 2026-02-02 16:30:48,614 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 16:30:53,695 - DEBUG - VM is in ACTIVE state now 2026-02-02 16:30:53,695 - INFO - VM name : ctest-TestBasicPolicy-82059753-11511235 2026-02-02 16:30:53,780 - DEBUG - VM ctest-TestBasicPolicy-82059753-11511235 ID is adfed0fc-f206-48c0-a92e-5f8d9efd1fbf 2026-02-02 16:30:53,809 - DEBUG - VM ctest-TestBasicPolicy-82059753-11511235 launched on Node cn-jenkins-deploy-platform-ansible-os-5174-1 2026-02-02 16:30:53,893 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/adfed0fc-f206-48c0-a92e-5f8d9efd1fbf 2026-02-02 16:30:53,902 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/55f8a8c7-17d7-4c61-a869-9777e1a68932 2026-02-02 16:30:57,162 - 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 1027ms') 2026-02-02 16:30:57,162 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82059753-11511235 failed! 2026-02-02 16:30:57,214 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82059753:ctest-vn-74182840 is 195.134.26.65 and allocation pool is NOT set 2026-02-02 16:30:59,270 - 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=13.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.569 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.569/7.049/13.530/6.480 ms') 2026-02-02 16:30:59,271 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82059753-11511235 passed 2026-02-02 16:30:59,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 16:30:59,422 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82059753-11511235, IP 195.134.26.67, Port 22 2026-02-02 16:30:59,578 - DEBUG - VM ctest-TestBasicPolicy-82059753-11511235 is ready for SSH connections 2026-02-02 16:30:59,578 - INFO - Waiting for VM ctest-TestBasicPolicy-82059753-88704988 to be up.. 2026-02-02 16:30:59,660 - DEBUG - VM is in ACTIVE state now 2026-02-02 16:30:59,660 - INFO - VM name : ctest-TestBasicPolicy-82059753-88704988 2026-02-02 16:30:59,738 - DEBUG - VM ctest-TestBasicPolicy-82059753-88704988 ID is d0d6fcec-790b-44e2-8558-fd59f526277a 2026-02-02 16:30:59,738 - DEBUG - VM ctest-TestBasicPolicy-82059753-88704988 launched on Node cn-jenkins-deploy-platform-ansible-os-5174-1 2026-02-02 16:30:59,828 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/d0d6fcec-790b-44e2-8558-fd59f526277a 2026-02-02 16:30:59,838 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5f1ebbe3-3f3f-467e-b224-de0e362756f4 2026-02-02 16:31:01,079 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.468 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 = 0.468/1.999/3.531/1.531 ms') 2026-02-02 16:31:01,079 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82059753-88704988 passed 2026-02-02 16:31:01,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 16:31:01,231 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82059753-88704988, IP 54.14.98.131, Port 22 2026-02-02 16:31:01,400 - DEBUG - VM ctest-TestBasicPolicy-82059753-88704988 is ready for SSH connections 2026-02-02 16:31:01,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 16:31:01,400 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.14.98.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-02-02 16:31:01,401 - DEBUG - ping -s 56 -c 3 -W 1 54.14.98.131 2026-02-02 16:31:05,439 - DEBUG - PING 54.14.98.131 (54.14.98.131): 56 data bytes 64 bytes from 54.14.98.131: seq=0 ttl=63 time=3.871 ms 64 bytes from 54.14.98.131: seq=1 ttl=63 time=0.865 ms 64 bytes from 54.14.98.131: seq=2 ttl=63 time=1.109 ms --- 54.14.98.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/1.948/3.871 ms 2026-02-02 16:31:05,439 - INFO - Ping to IP 54.14.98.131 from VM ctest-TestBasicPolicy-82059753-11511235 passed 2026-02-02 16:31:05,626 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f84dbe95-20b9-42d8-8d35-3e7ec2957ebf", "href": "http://10.0.0.242:8082/network-policy/f84dbe95-20b9-42d8-8d35-3e7ec2957ebf"}} 2026-02-02 16:31:05,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 16:31:05,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.14.98.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-02-02 16:31:05,626 - DEBUG - ping -s 56 -c 3 -W 1 54.14.98.131 2026-02-02 16:31:08,854 - DEBUG - PING 54.14.98.131 (54.14.98.131): 56 data bytes --- 54.14.98.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-02 16:31:08,854 - WARNING - Ping to IP 54.14.98.131 from VM ctest-TestBasicPolicy-82059753-11511235 failed 2026-02-02 16:31:08,855 - INFO - Deleting VM ctest-TestBasicPolicy-82059753-88704988 2026-02-02 16:31:08,938 - INFO - Deleting VM ctest-TestBasicPolicy-82059753-11511235 2026-02-02 16:31:09,362 - INFO - Deleted policy ctest-policy-allow-all-44429592 2026-02-02 16:31:09,362 - INFO - Deleting VN ctest-vn-79375317 2026-02-02 16:31:09,404 - DEBUG - VN 4aef6e88-2f78-4cf9-aa6b-eb427e41c497 still in use: Unable to complete operation on network 4aef6e88-2f78-4cf9-aa6b-eb427e41c497. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6bf3ccf7-af97-4070-a3b8-0fc93e227efa'] 2026-02-02 16:31:09,404 - WARNING - Deleting VN ctest-vn-79375317 failed..Will retry 2026-02-02 16:31:11,512 - DEBUG - Response for deleting network () 2026-02-02 16:31:11,512 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fd15f2a1-3dd0-445c-8706-9dd14e48716f 2026-02-02 16:31:11,518 - DEBUG - Response Code: 404 2026-02-02 16:31:11,518 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-02 16:31:11,525 - DEBUG - Requesting: http://10.0.0.242:8082/domain/29d284b8-3548-4998-8539-5c31707ba5bb 2026-02-02 16:31:11,576 - DEBUG - Requesting: http://10.0.0.242:8082/project/899a3119-d9ba-4baf-b3fb-d87d1a8cbbf6 2026-02-02 16:31:11,645 - INFO - Validated that VN ctest-vn-79375317 is not found in API Server 2026-02-02 16:31:11,654 - DEBUG - VN ctest-vn-79375317 is not present in Agent 10.0.0.242 2026-02-02 16:31:11,654 - INFO - Validated that VN ctest-vn-79375317 is not in any agent 2026-02-02 16:31:11,669 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79375317 info 2026-02-02 16:31:11,669 - INFO - Deleting VN ctest-vn-74182840 2026-02-02 16:31:11,765 - DEBUG - Response for deleting network () 2026-02-02 16:31:11,765 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/67151a64-1975-4623-b53e-35b078bd7f33 2026-02-02 16:31:11,770 - DEBUG - Response Code: 404 2026-02-02 16:31:11,770 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-02 16:31:11,774 - DEBUG - Requesting: http://10.0.0.242:8082/domain/29d284b8-3548-4998-8539-5c31707ba5bb 2026-02-02 16:31:11,827 - DEBUG - Requesting: http://10.0.0.242:8082/project/899a3119-d9ba-4baf-b3fb-d87d1a8cbbf6 2026-02-02 16:31:11,895 - INFO - Validated that VN ctest-vn-74182840 is not found in API Server 2026-02-02 16:31:11,906 - DEBUG - VN ctest-vn-74182840 is not present in Agent 10.0.0.242 2026-02-02 16:31:11,906 - INFO - Validated that VN ctest-vn-74182840 is not in any agent 2026-02-02 16:31:11,918 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74182840 info 2026-02-02 16:31:12,179 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 16:31:12,179 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-02-02 16:31:12,179 - INFO - -------------------------------------------------------------------------------- 2026-02-02 16:31:12,865 - INFO - Deleted project: ctest-TestBasicPolicy-82059753, ID : 899a3119-d9ba-4baf-b3fb-d87d1a8cbbf6