2026-01-28 12:13:16,583 - INFO - Domain Default found not creating 2026-01-28 12:13:16,767 - INFO - Project ctest-TestBasicPolicy-72513381 not found, creating it 2026-01-28 12:13:17,238 - INFO - Created Project:ctest-TestBasicPolicy-72513381, ID : ecf7d183-dc47-4a1e-87c4-5e3db84a6715 2026-01-28 12:13:18,736 - INFO - ================================================================================ 2026-01-28 12:13:18,736 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-28 12:13:18,736 - 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-01-28 12:13:18,995 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.254': '0'}} with 2026-01-28 12:13:18,995 - INFO - Initial checks done. Running the testcase now 2026-01-28 12:13:18,995 - INFO - 2026-01-28 12:13:19,565 - DEBUG - Response for create_network : {'network': {'id': 'e5e4099f-43d0-4ff8-a223-b1daf9f95b83', 'name': 'ctest-vn-82631918', 'tenant_id': 'ecf7d183dc474a1e87c45e3db84a6715', 'project_id': 'ecf7d183dc474a1e87c45e3db84a6715', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72513381', 'ctest-vn-82631918'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 12:13:19,774 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd90ec361-60c2-4377-aefa-748b978ac4d4', 'name': '', 'tenant_id': 'ecf7d183dc474a1e87c45e3db84a6715', 'network_id': 'e5e4099f-43d0-4ff8-a223-b1daf9f95b83', 'ip_version': 4, 'cidr': '203.183.20.192/26', 'allocation_pools': [{'start': '203.183.20.194', 'end': '203.183.20.254'}], 'gateway_ip': '203.183.20.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.183.20.194', 'tags': [], 'project_id': 'ecf7d183dc474a1e87c45e3db84a6715'}} 2026-01-28 12:13:19,792 - INFO - Created VN ctest-vn-82631918 2026-01-28 12:13:19,849 - DEBUG - VN ctest-vn-82631918 UUID is e5e4099f-43d0-4ff8-a223-b1daf9f95b83 2026-01-28 12:13:20,174 - DEBUG - Response for create_network : {'network': {'id': '75d2b5ba-2661-4eb3-9570-e216376275b5', 'name': 'ctest-vn-51016816', 'tenant_id': 'ecf7d183dc474a1e87c45e3db84a6715', 'project_id': 'ecf7d183dc474a1e87c45e3db84a6715', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72513381', 'ctest-vn-51016816'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 12:13:20,400 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d775450-35ea-430b-9083-ed6c231e8ccc', 'name': '', 'tenant_id': 'ecf7d183dc474a1e87c45e3db84a6715', 'network_id': '75d2b5ba-2661-4eb3-9570-e216376275b5', 'ip_version': 4, 'cidr': '212.213.231.128/26', 'allocation_pools': [{'start': '212.213.231.130', 'end': '212.213.231.190'}], 'gateway_ip': '212.213.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.213.231.130', 'tags': [], 'project_id': 'ecf7d183dc474a1e87c45e3db84a6715'}} 2026-01-28 12:13:20,419 - INFO - Created VN ctest-vn-51016816 2026-01-28 12:13:20,473 - DEBUG - VN ctest-vn-51016816 UUID is 75d2b5ba-2661-4eb3-9570-e216376275b5 2026-01-28 12:13:20,592 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72513381:ctest-vn-82631918, 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-72513381:ctest-vn-51016816, 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-01-28 12:13:20,889 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e5e4099f-43d0-4ff8-a223-b1daf9f95b83', 'name': 'ctest-vn-82631918', 'tenant_id': 'ecf7d183dc474a1e87c45e3db84a6715', 'project_id': 'ecf7d183dc474a1e87c45e3db84a6715', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d90ec361-60c2-4377-aefa-748b978ac4d4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72513381', 'ctest-vn-82631918'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72513381', 'ctest-policy-allow-all-84097444']], 'subnet_ipam': [{'subnet_cidr': '203.183.20.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 12:13:21,133 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '75d2b5ba-2661-4eb3-9570-e216376275b5', 'name': 'ctest-vn-51016816', 'tenant_id': 'ecf7d183dc474a1e87c45e3db84a6715', 'project_id': 'ecf7d183dc474a1e87c45e3db84a6715', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2d775450-35ea-430b-9083-ed6c231e8ccc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72513381', 'ctest-vn-51016816'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72513381', 'ctest-policy-allow-all-84097444']], 'subnet_ipam': [{'subnet_cidr': '212.213.231.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 12:13:21,305 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-28 12:13:21,602 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-28 12:13:21,634 - DEBUG - Requesting: http://10.0.0.241:8082/domain/bae887ce-73ae-49a9-9922-372f0a9c1304 2026-01-28 12:13:21,647 - DEBUG - Requesting: http://10.0.0.241:8082/project/ecf7d183-dc47-4a1e-87c4-5e3db84a6715 2026-01-28 12:13:21,725 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/e5e4099f-43d0-4ff8-a223-b1daf9f95b83 2026-01-28 12:13:21,736 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/e5e4099f-43d0-4ff8-a223-b1daf9f95b83 2026-01-28 12:13:21,746 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c812085b-9c00-4ca3-9c0d-f65c0e8050c3 2026-01-28 12:13:21,755 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c812085b-9c00-4ca3-9c0d-f65c0e8050c3 2026-01-28 12:13:21,764 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/9f42853e-23c7-4f93-9fa9-153e1a052e2e 2026-01-28 12:13:21,771 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 12:13:21,771 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/e5e4099f-43d0-4ff8-a223-b1daf9f95b83 2026-01-28 12:13:21,780 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c812085b-9c00-4ca3-9c0d-f65c0e8050c3 2026-01-28 12:13:21,796 - INFO - Verified VN network id 11 for VN e5e4099f-43d0-4ff8-a223-b1daf9f95b83 2026-01-28 12:13:21,796 - INFO - Verifications in API Server for VN ctest-vn-82631918 passed 2026-01-28 12:13:21,796 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/e5e4099f-43d0-4ff8-a223-b1daf9f95b83 2026-01-28 12:13:21,807 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c812085b-9c00-4ca3-9c0d-f65c0e8050c3 2026-01-28 12:13:21,813 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c812085b-9c00-4ca3-9c0d-f65c0e8050c3 2026-01-28 12:13:21,822 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/9f42853e-23c7-4f93-9fa9-153e1a052e2e 2026-01-28 12:13:21,834 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72513381:ctest-vn-82631918', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72513381', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16565375909017702392', 'uuid-lslong': '11683377412384054147'}, 'enable': 'true', 'created': '2026-01-28T12:13:19', 'last-modified': '2026-01-28T12:13:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964801'} 2026-01-28 12:13:21,840 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 12:13:21,840 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82631918 passed 2026-01-28 12:13:21,840 - DEBUG - ====Verifying policy data for ctest-vn-82631918 in API_Server ====== 2026-01-28 12:13:21,840 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-28 12:13:21,846 - DEBUG - Requesting: http://10.0.0.241:8082/domain/bae887ce-73ae-49a9-9922-372f0a9c1304 2026-01-28 12:13:21,858 - DEBUG - Requesting: http://10.0.0.241:8082/project/ecf7d183-dc47-4a1e-87c4-5e3db84a6715 2026-01-28 12:13:21,931 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/e5e4099f-43d0-4ff8-a223-b1daf9f95b83 2026-01-28 12:13:21,940 - DEBUG - ==>Verifying data for policy with id: 61e9c886-7df7-478e-afd4-99d4c62a3e29, fqn: ['default-domain', 'ctest-TestBasicPolicy-72513381', 'ctest-policy-allow-all-84097444'] 2026-01-28 12:13:21,940 - INFO - VN ctest-vn-82631918 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 12:13:21,940 - DEBUG - Verifying the vn in opserver 2026-01-28 12:13:21,940 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72513381:ctest-vn-82631918 virtual network link through opserver 10.0.0.241 2026-01-28 12:13:21,940 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-01-28 12:13:22,233 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-01-28 12:13:22,297 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72513381:ctest-vn-82631918', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72513381:ctest-vn-82631918?flat'} 2026-01-28 12:13:22,297 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72513381:ctest-vn-82631918 is found in opserver 2026-01-28 12:13:22,307 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 12:13:22,311 - DEBUG - VRF ids for VN ctest-vn-82631918: {} 2026-01-28 12:13:22,311 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-28 12:13:22,317 - DEBUG - Requesting: http://10.0.0.241:8082/domain/bae887ce-73ae-49a9-9922-372f0a9c1304 2026-01-28 12:13:22,329 - DEBUG - Requesting: http://10.0.0.241:8082/project/ecf7d183-dc47-4a1e-87c4-5e3db84a6715 2026-01-28 12:13:22,400 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/75d2b5ba-2661-4eb3-9570-e216376275b5 2026-01-28 12:13:22,411 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/75d2b5ba-2661-4eb3-9570-e216376275b5 2026-01-28 12:13:22,420 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/fbd5d1e6-ad4b-417e-a51c-8788dd1baeea 2026-01-28 12:13:22,429 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/fbd5d1e6-ad4b-417e-a51c-8788dd1baeea 2026-01-28 12:13:22,437 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/7545c3d6-094d-47ba-9dd1-5c846a7277f3 2026-01-28 12:13:22,444 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 12:13:22,444 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/75d2b5ba-2661-4eb3-9570-e216376275b5 2026-01-28 12:13:22,453 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/fbd5d1e6-ad4b-417e-a51c-8788dd1baeea 2026-01-28 12:13:22,466 - INFO - Verified VN network id 12 for VN 75d2b5ba-2661-4eb3-9570-e216376275b5 2026-01-28 12:13:22,466 - INFO - Verifications in API Server for VN ctest-vn-51016816 passed 2026-01-28 12:13:22,466 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/75d2b5ba-2661-4eb3-9570-e216376275b5 2026-01-28 12:13:22,475 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/fbd5d1e6-ad4b-417e-a51c-8788dd1baeea 2026-01-28 12:13:22,482 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/fbd5d1e6-ad4b-417e-a51c-8788dd1baeea 2026-01-28 12:13:22,489 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/7545c3d6-094d-47ba-9dd1-5c846a7277f3 2026-01-28 12:13:22,500 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72513381:ctest-vn-51016816', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72513381', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8490048058659262131', 'uuid-lslong': '10768355294089213365'}, 'enable': 'true', 'created': '2026-01-28T12:13:20', 'last-modified': '2026-01-28T12:13:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.387846'} 2026-01-28 12:13:22,505 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 12:13:22,505 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51016816 passed 2026-01-28 12:13:22,506 - DEBUG - ====Verifying policy data for ctest-vn-51016816 in API_Server ====== 2026-01-28 12:13:22,506 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-28 12:13:22,512 - DEBUG - Requesting: http://10.0.0.241:8082/domain/bae887ce-73ae-49a9-9922-372f0a9c1304 2026-01-28 12:13:22,523 - DEBUG - Requesting: http://10.0.0.241:8082/project/ecf7d183-dc47-4a1e-87c4-5e3db84a6715 2026-01-28 12:13:22,590 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/75d2b5ba-2661-4eb3-9570-e216376275b5 2026-01-28 12:13:22,599 - DEBUG - ==>Verifying data for policy with id: 61e9c886-7df7-478e-afd4-99d4c62a3e29, fqn: ['default-domain', 'ctest-TestBasicPolicy-72513381', 'ctest-policy-allow-all-84097444'] 2026-01-28 12:13:22,600 - INFO - VN ctest-vn-51016816 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 12:13:22,600 - DEBUG - Verifying the vn in opserver 2026-01-28 12:13:22,600 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72513381:ctest-vn-51016816 virtual network link through opserver 10.0.0.241 2026-01-28 12:13:22,600 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-01-28 12:13:22,610 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72513381:ctest-vn-51016816', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72513381:ctest-vn-51016816?flat'} 2026-01-28 12:13:22,610 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72513381:ctest-vn-51016816 is found in opserver 2026-01-28 12:13:22,619 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 12:13:22,624 - DEBUG - VRF ids for VN ctest-vn-51016816: {} 2026-01-28 12:13:22,678 - DEBUG - Services list from nova: [, , ] 2026-01-28 12:13:23,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5091-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5091-1) 2026-01-28 12:13:24,870 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5091-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5091-1) 2026-01-28 12:13:24,870 - INFO - Waiting for VM ctest-TestBasicPolicy-72513381-48295124 to be up.. 2026-01-28 12:13:24,960 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 12:13:30,042 - DEBUG - VM is in ACTIVE state now 2026-01-28 12:13:30,042 - INFO - VM name : ctest-TestBasicPolicy-72513381-48295124 2026-01-28 12:13:30,122 - DEBUG - VM ctest-TestBasicPolicy-72513381-48295124 ID is 99799e7f-5334-4057-9617-0fcb1ef870c1 2026-01-28 12:13:30,141 - DEBUG - VM ctest-TestBasicPolicy-72513381-48295124 launched on Node cn-jenkins-deploy-platform-ansible-os-5091-1 2026-01-28 12:13:30,227 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/99799e7f-5334-4057-9617-0fcb1ef870c1 2026-01-28 12:13:30,238 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/871df133-df42-4cf9-81ab-2f159dd28a99 2026-01-28 12:13:33,497 - 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 1007ms') 2026-01-28 12:13:33,497 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72513381-48295124 failed! 2026-01-28 12:13:33,553 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72513381:ctest-vn-82631918 is 203.183.20.193 and allocation pool is NOT set 2026-01-28 12:13:35,623 - 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=9.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.566 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 = 0.566/5.149/9.732/4.583 ms') 2026-01-28 12:13:35,623 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72513381-48295124 passed 2026-01-28 12:13:35,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:13:35,782 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72513381-48295124, IP 203.183.20.195, Port 22 2026-01-28 12:13:35,941 - DEBUG - VM ctest-TestBasicPolicy-72513381-48295124 is ready for SSH connections 2026-01-28 12:13:35,941 - INFO - Waiting for VM ctest-TestBasicPolicy-72513381-55316458 to be up.. 2026-01-28 12:13:36,016 - DEBUG - VM is in ACTIVE state now 2026-01-28 12:13:36,016 - INFO - VM name : ctest-TestBasicPolicy-72513381-55316458 2026-01-28 12:13:36,091 - DEBUG - VM ctest-TestBasicPolicy-72513381-55316458 ID is 6541292b-f721-4e51-b4c6-173d8acf48ee 2026-01-28 12:13:36,091 - DEBUG - VM ctest-TestBasicPolicy-72513381-55316458 launched on Node cn-jenkins-deploy-platform-ansible-os-5091-1 2026-01-28 12:13:36,169 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/6541292b-f721-4e51-b4c6-173d8acf48ee 2026-01-28 12:13:36,180 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/9496e753-dda4-4a30-b204-3fccc7e40663 2026-01-28 12:13:37,440 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.559 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.559/1.599/2.640/1.040 ms') 2026-01-28 12:13:37,440 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72513381-55316458 passed 2026-01-28 12:13:37,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:13:37,590 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72513381-55316458, IP 212.213.231.131, Port 22 2026-01-28 12:13:37,749 - DEBUG - VM ctest-TestBasicPolicy-72513381-55316458 is ready for SSH connections 2026-01-28 12:13:37,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:13:37,750 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.213.231.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-01-28 12:13:37,750 - DEBUG - ping -s 56 -c 3 -W 1 212.213.231.131 2026-01-28 12:13:41,884 - DEBUG - PING 212.213.231.131 (212.213.231.131): 56 data bytes 64 bytes from 212.213.231.131: seq=0 ttl=63 time=3.658 ms 64 bytes from 212.213.231.131: seq=1 ttl=63 time=1.353 ms 64 bytes from 212.213.231.131: seq=2 ttl=63 time=0.957 ms --- 212.213.231.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.957/1.989/3.658 ms 2026-01-28 12:13:41,884 - INFO - Ping to IP 212.213.231.131 from VM ctest-TestBasicPolicy-72513381-48295124 passed 2026-01-28 12:13:42,077 - DEBUG - Policy Update Response {"network-policy": {"uuid": "61e9c886-7df7-478e-afd4-99d4c62a3e29", "href": "http://10.0.0.241:8082/network-policy/61e9c886-7df7-478e-afd4-99d4c62a3e29"}} 2026-01-28 12:13:42,077 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 12:13:42,077 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.213.231.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-01-28 12:13:42,077 - DEBUG - ping -s 56 -c 3 -W 1 212.213.231.131 2026-01-28 12:13:45,293 - DEBUG - PING 212.213.231.131 (212.213.231.131): 56 data bytes --- 212.213.231.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-28 12:13:45,293 - WARNING - Ping to IP 212.213.231.131 from VM ctest-TestBasicPolicy-72513381-48295124 failed 2026-01-28 12:13:45,293 - INFO - Deleting VM ctest-TestBasicPolicy-72513381-55316458 2026-01-28 12:13:45,383 - INFO - Deleting VM ctest-TestBasicPolicy-72513381-48295124 2026-01-28 12:13:46,024 - INFO - Deleted policy ctest-policy-allow-all-84097444 2026-01-28 12:13:46,025 - INFO - Deleting VN ctest-vn-51016816 2026-01-28 12:13:46,096 - DEBUG - VN 75d2b5ba-2661-4eb3-9570-e216376275b5 still in use: Unable to complete operation on network 75d2b5ba-2661-4eb3-9570-e216376275b5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8142793b-cc25-4c58-97e1-1866dd27d5d0'] 2026-01-28 12:13:46,096 - WARNING - Deleting VN ctest-vn-51016816 failed..Will retry 2026-01-28 12:13:48,206 - DEBUG - Response for deleting network () 2026-01-28 12:13:48,206 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/fbd5d1e6-ad4b-417e-a51c-8788dd1baeea 2026-01-28 12:13:48,216 - DEBUG - Response Code: 404 2026-01-28 12:13:48,216 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-28 12:13:48,221 - DEBUG - Requesting: http://10.0.0.241:8082/domain/bae887ce-73ae-49a9-9922-372f0a9c1304 2026-01-28 12:13:48,276 - DEBUG - Requesting: http://10.0.0.241:8082/project/ecf7d183-dc47-4a1e-87c4-5e3db84a6715 2026-01-28 12:13:48,350 - INFO - Validated that VN ctest-vn-51016816 is not found in API Server 2026-01-28 12:13:48,360 - DEBUG - VN ctest-vn-51016816 is not present in Agent 10.0.0.241 2026-01-28 12:13:48,360 - INFO - Validated that VN ctest-vn-51016816 is not in any agent 2026-01-28 12:13:48,376 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51016816 info 2026-01-28 12:13:48,376 - INFO - Deleting VN ctest-vn-82631918 2026-01-28 12:13:48,483 - DEBUG - Response for deleting network () 2026-01-28 12:13:48,483 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/c812085b-9c00-4ca3-9c0d-f65c0e8050c3 2026-01-28 12:13:48,489 - DEBUG - Response Code: 404 2026-01-28 12:13:48,489 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-01-28 12:13:48,496 - DEBUG - Requesting: http://10.0.0.241:8082/domain/bae887ce-73ae-49a9-9922-372f0a9c1304 2026-01-28 12:13:48,554 - DEBUG - Requesting: http://10.0.0.241:8082/project/ecf7d183-dc47-4a1e-87c4-5e3db84a6715 2026-01-28 12:13:48,632 - INFO - Validated that VN ctest-vn-82631918 is not found in API Server 2026-01-28 12:13:48,644 - DEBUG - VN ctest-vn-82631918 is not present in Agent 10.0.0.241 2026-01-28 12:13:48,644 - INFO - Validated that VN ctest-vn-82631918 is not in any agent 2026-01-28 12:13:48,658 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82631918 info 2026-01-28 12:13:48,920 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 12:13:48,920 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-01-28 12:13:48,920 - INFO - -------------------------------------------------------------------------------- 2026-01-28 12:13:49,677 - INFO - Deleted project: ctest-TestBasicPolicy-72513381, ID : ecf7d183-dc47-4a1e-87c4-5e3db84a6715