2025-12-09 09:59:04,751 - INFO - Domain Default found not creating 2025-12-09 09:59:04,931 - INFO - Project ctest-TestBasicPolicy-59267649 not found, creating it 2025-12-09 09:59:05,387 - INFO - Created Project:ctest-TestBasicPolicy-59267649, ID : 94be9410-6640-4300-8ba8-757bdf7ce1d0 2025-12-09 09:59:06,804 - INFO - ================================================================================ 2025-12-09 09:59:06,804 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-09 09:59:06,804 - 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-12-09 09:59:07,060 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.14': '0'}} with 2025-12-09 09:59:07,060 - INFO - Initial checks done. Running the testcase now 2025-12-09 09:59:07,060 - INFO - 2025-12-09 09:59:07,581 - DEBUG - Response for create_network : {'network': {'id': '0ef53344-d913-420a-b7f8-adaa72fa056f', 'name': 'ctest-vn-86702461', 'tenant_id': '94be9410664043008ba8757bdf7ce1d0', 'project_id': '94be9410664043008ba8757bdf7ce1d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59267649', 'ctest-vn-86702461'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 09:59:07,769 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1344311-73ce-4d2d-85da-82252244fd97', 'name': '', 'tenant_id': '94be9410664043008ba8757bdf7ce1d0', 'network_id': '0ef53344-d913-420a-b7f8-adaa72fa056f', 'ip_version': 4, 'cidr': '199.184.64.192/26', 'allocation_pools': [{'start': '199.184.64.194', 'end': '199.184.64.254'}], 'gateway_ip': '199.184.64.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.184.64.194', 'tags': [], 'project_id': '94be9410664043008ba8757bdf7ce1d0'}} 2025-12-09 09:59:07,785 - INFO - Created VN ctest-vn-86702461 2025-12-09 09:59:07,835 - DEBUG - VN ctest-vn-86702461 UUID is 0ef53344-d913-420a-b7f8-adaa72fa056f 2025-12-09 09:59:08,145 - DEBUG - Response for create_network : {'network': {'id': 'a4f6052d-cfa1-4717-b39c-52b9f30b1bc5', 'name': 'ctest-vn-20700861', 'tenant_id': '94be9410664043008ba8757bdf7ce1d0', 'project_id': '94be9410664043008ba8757bdf7ce1d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59267649', 'ctest-vn-20700861'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 09:59:08,297 - DEBUG - Response for create_subnet : {'subnet': {'id': '6637a55c-3934-4c66-8bb4-fe89e1e97ec7', 'name': '', 'tenant_id': '94be9410664043008ba8757bdf7ce1d0', 'network_id': 'a4f6052d-cfa1-4717-b39c-52b9f30b1bc5', 'ip_version': 4, 'cidr': '41.192.19.192/26', 'allocation_pools': [{'start': '41.192.19.194', 'end': '41.192.19.254'}], 'gateway_ip': '41.192.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.192.19.194', 'tags': [], 'project_id': '94be9410664043008ba8757bdf7ce1d0'}} 2025-12-09 09:59:08,313 - INFO - Created VN ctest-vn-20700861 2025-12-09 09:59:08,367 - DEBUG - VN ctest-vn-20700861 UUID is a4f6052d-cfa1-4717-b39c-52b9f30b1bc5 2025-12-09 09:59:08,515 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59267649:ctest-vn-86702461, 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-59267649:ctest-vn-20700861, 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-12-09 09:59:08,796 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ef53344-d913-420a-b7f8-adaa72fa056f', 'name': 'ctest-vn-86702461', 'tenant_id': '94be9410664043008ba8757bdf7ce1d0', 'project_id': '94be9410664043008ba8757bdf7ce1d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a1344311-73ce-4d2d-85da-82252244fd97'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59267649', 'ctest-vn-86702461'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59267649', 'ctest-policy-allow-all-18974577']], 'subnet_ipam': [{'subnet_cidr': '199.184.64.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-09 09:59:09,014 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a4f6052d-cfa1-4717-b39c-52b9f30b1bc5', 'name': 'ctest-vn-20700861', 'tenant_id': '94be9410664043008ba8757bdf7ce1d0', 'project_id': '94be9410664043008ba8757bdf7ce1d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6637a55c-3934-4c66-8bb4-fe89e1e97ec7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59267649', 'ctest-vn-20700861'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59267649', 'ctest-policy-allow-all-18974577']], 'subnet_ipam': [{'subnet_cidr': '41.192.19.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-09 09:59:09,183 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-12-09 09:59:09,476 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-12-09 09:59:09,505 - DEBUG - Requesting: http://10.0.0.241:8082/domain/5b4a24e4-633a-47f0-8a17-94c5d36b4e3b 2025-12-09 09:59:09,516 - DEBUG - Requesting: http://10.0.0.241:8082/project/94be9410-6640-4300-8ba8-757bdf7ce1d0 2025-12-09 09:59:09,598 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/0ef53344-d913-420a-b7f8-adaa72fa056f 2025-12-09 09:59:09,608 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/0ef53344-d913-420a-b7f8-adaa72fa056f 2025-12-09 09:59:09,617 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2cb2e661-dd68-4937-afd5-c5cc4a3c00df 2025-12-09 09:59:09,624 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2cb2e661-dd68-4937-afd5-c5cc4a3c00df 2025-12-09 09:59:09,631 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/a337fcfc-5cf6-4235-a33f-79bb18755d7b 2025-12-09 09:59:09,638 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-09 09:59:09,638 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/0ef53344-d913-420a-b7f8-adaa72fa056f 2025-12-09 09:59:09,646 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2cb2e661-dd68-4937-afd5-c5cc4a3c00df 2025-12-09 09:59:09,659 - INFO - Verified VN network id 9 for VN 0ef53344-d913-420a-b7f8-adaa72fa056f 2025-12-09 09:59:09,660 - INFO - Verifications in API Server for VN ctest-vn-86702461 passed 2025-12-09 09:59:09,660 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/0ef53344-d913-420a-b7f8-adaa72fa056f 2025-12-09 09:59:09,669 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2cb2e661-dd68-4937-afd5-c5cc4a3c00df 2025-12-09 09:59:09,675 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2cb2e661-dd68-4937-afd5-c5cc4a3c00df 2025-12-09 09:59:09,681 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/a337fcfc-5cf6-4235-a33f-79bb18755d7b 2025-12-09 09:59:09,692 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59267649:ctest-vn-86702461', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59267649', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1077824056617812490', 'uuid-lslong': '13256536450750088559'}, 'enable': 'true', 'created': '2025-12-09T09:59:07', 'last-modified': '2025-12-09T09:59:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.918554'} 2025-12-09 09:59:09,698 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-09 09:59:09,698 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86702461 passed 2025-12-09 09:59:09,698 - DEBUG - ====Verifying policy data for ctest-vn-86702461 in API_Server ====== 2025-12-09 09:59:09,698 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-12-09 09:59:09,704 - DEBUG - Requesting: http://10.0.0.241:8082/domain/5b4a24e4-633a-47f0-8a17-94c5d36b4e3b 2025-12-09 09:59:09,715 - DEBUG - Requesting: http://10.0.0.241:8082/project/94be9410-6640-4300-8ba8-757bdf7ce1d0 2025-12-09 09:59:09,783 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/0ef53344-d913-420a-b7f8-adaa72fa056f 2025-12-09 09:59:09,792 - DEBUG - ==>Verifying data for policy with id: 1ff6e193-0077-48fa-9ee8-0e62aaacd52f, fqn: ['default-domain', 'ctest-TestBasicPolicy-59267649', 'ctest-policy-allow-all-18974577'] 2025-12-09 09:59:09,792 - INFO - VN ctest-vn-86702461 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-09 09:59:09,792 - DEBUG - Verifying the vn in opserver 2025-12-09 09:59:09,792 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59267649:ctest-vn-86702461 virtual network link through opserver 10.0.0.241 2025-12-09 09:59:09,792 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-12-09 09:59:10,081 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-12-09 09:59:10,140 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59267649:ctest-vn-86702461', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59267649:ctest-vn-86702461?flat'} 2025-12-09 09:59:10,140 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59267649:ctest-vn-86702461 is found in opserver 2025-12-09 09:59:10,149 - DEBUG - Do not have enough data to verify VN in agent 2025-12-09 09:59:10,153 - DEBUG - VRF ids for VN ctest-vn-86702461: {} 2025-12-09 09:59:10,153 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-12-09 09:59:10,158 - DEBUG - Requesting: http://10.0.0.241:8082/domain/5b4a24e4-633a-47f0-8a17-94c5d36b4e3b 2025-12-09 09:59:10,168 - DEBUG - Requesting: http://10.0.0.241:8082/project/94be9410-6640-4300-8ba8-757bdf7ce1d0 2025-12-09 09:59:10,233 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a4f6052d-cfa1-4717-b39c-52b9f30b1bc5 2025-12-09 09:59:10,243 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a4f6052d-cfa1-4717-b39c-52b9f30b1bc5 2025-12-09 09:59:10,251 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/72aa9573-0bc8-4a79-bdae-b07cfddc9b96 2025-12-09 09:59:10,257 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/72aa9573-0bc8-4a79-bdae-b07cfddc9b96 2025-12-09 09:59:10,263 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/123fcde7-ddec-43bc-b252-edcb7b436872 2025-12-09 09:59:10,269 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-09 09:59:10,269 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a4f6052d-cfa1-4717-b39c-52b9f30b1bc5 2025-12-09 09:59:10,276 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/72aa9573-0bc8-4a79-bdae-b07cfddc9b96 2025-12-09 09:59:10,288 - INFO - Verified VN network id 10 for VN a4f6052d-cfa1-4717-b39c-52b9f30b1bc5 2025-12-09 09:59:10,288 - INFO - Verifications in API Server for VN ctest-vn-20700861 passed 2025-12-09 09:59:10,288 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a4f6052d-cfa1-4717-b39c-52b9f30b1bc5 2025-12-09 09:59:10,297 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/72aa9573-0bc8-4a79-bdae-b07cfddc9b96 2025-12-09 09:59:10,302 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/72aa9573-0bc8-4a79-bdae-b07cfddc9b96 2025-12-09 09:59:10,308 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/123fcde7-ddec-43bc-b252-edcb7b436872 2025-12-09 09:59:10,317 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59267649:ctest-vn-20700861', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59267649', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11886693960806123287', 'uuid-lslong': '12942310387755981765'}, 'enable': 'true', 'created': '2025-12-09T09:59:08', 'last-modified': '2025-12-09T09:59:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.324826'} 2025-12-09 09:59:10,322 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-09 09:59:10,322 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20700861 passed 2025-12-09 09:59:10,322 - DEBUG - ====Verifying policy data for ctest-vn-20700861 in API_Server ====== 2025-12-09 09:59:10,323 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-12-09 09:59:10,328 - DEBUG - Requesting: http://10.0.0.241:8082/domain/5b4a24e4-633a-47f0-8a17-94c5d36b4e3b 2025-12-09 09:59:10,338 - DEBUG - Requesting: http://10.0.0.241:8082/project/94be9410-6640-4300-8ba8-757bdf7ce1d0 2025-12-09 09:59:10,405 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a4f6052d-cfa1-4717-b39c-52b9f30b1bc5 2025-12-09 09:59:10,415 - DEBUG - ==>Verifying data for policy with id: 1ff6e193-0077-48fa-9ee8-0e62aaacd52f, fqn: ['default-domain', 'ctest-TestBasicPolicy-59267649', 'ctest-policy-allow-all-18974577'] 2025-12-09 09:59:10,415 - INFO - VN ctest-vn-20700861 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-09 09:59:10,416 - DEBUG - Verifying the vn in opserver 2025-12-09 09:59:10,416 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59267649:ctest-vn-20700861 virtual network link through opserver 10.0.0.241 2025-12-09 09:59:10,416 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-12-09 09:59:10,425 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59267649:ctest-vn-20700861', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59267649:ctest-vn-20700861?flat'} 2025-12-09 09:59:10,425 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59267649:ctest-vn-20700861 is found in opserver 2025-12-09 09:59:10,434 - DEBUG - Do not have enough data to verify VN in agent 2025-12-09 09:59:10,438 - DEBUG - VRF ids for VN ctest-vn-20700861: {} 2025-12-09 09:59:10,491 - DEBUG - Services list from nova: [, , ] 2025-12-09 09:59:11,651 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4867-1) 2025-12-09 09:59:12,797 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4867-1) 2025-12-09 09:59:12,797 - INFO - Waiting for VM ctest-TestBasicPolicy-59267649-33400960 to be up.. 2025-12-09 09:59:12,864 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 09:59:17,933 - DEBUG - VM is in ACTIVE state now 2025-12-09 09:59:17,933 - INFO - VM name : ctest-TestBasicPolicy-59267649-33400960 2025-12-09 09:59:18,014 - DEBUG - VM ctest-TestBasicPolicy-59267649-33400960 ID is f392115c-fde6-40b5-a862-28080cf830c8 2025-12-09 09:59:18,038 - DEBUG - VM ctest-TestBasicPolicy-59267649-33400960 launched on Node cn-jenkins-deploy-platform-ansible-os-4867-1 2025-12-09 09:59:18,115 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/f392115c-fde6-40b5-a862-28080cf830c8 2025-12-09 09:59:18,123 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/3c82689a-de8f-48a5-8f8c-a9419c3f1f0d 2025-12-09 09:59:21,389 - 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') 2025-12-09 09:59:21,389 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59267649-33400960 failed! 2025-12-09 09:59:21,443 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-59267649:ctest-vn-86702461 is 199.184.64.193 and allocation pool is NOT set 2025-12-09 09:59:23,500 - 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=3.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.373 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.373/1.871/3.370/1.498 ms') 2025-12-09 09:59:23,500 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59267649-33400960 passed 2025-12-09 09:59:23,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 09:59:23,647 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59267649-33400960, IP 199.184.64.195, Port 22 2025-12-09 09:59:23,803 - DEBUG - VM ctest-TestBasicPolicy-59267649-33400960 is ready for SSH connections 2025-12-09 09:59:23,803 - INFO - Waiting for VM ctest-TestBasicPolicy-59267649-77857120 to be up.. 2025-12-09 09:59:23,875 - DEBUG - VM is in ACTIVE state now 2025-12-09 09:59:23,875 - INFO - VM name : ctest-TestBasicPolicy-59267649-77857120 2025-12-09 09:59:23,945 - DEBUG - VM ctest-TestBasicPolicy-59267649-77857120 ID is a8ac53a1-bfbd-4159-89e8-2f0de99b87e0 2025-12-09 09:59:23,945 - DEBUG - VM ctest-TestBasicPolicy-59267649-77857120 launched on Node cn-jenkins-deploy-platform-ansible-os-4867-1 2025-12-09 09:59:24,017 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/a8ac53a1-bfbd-4159-89e8-2f0de99b87e0 2025-12-09 09:59:24,025 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/5182dcab-a669-478c-a612-f889bc4247c4 2025-12-09 09:59:25,258 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 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.421/1.579/2.737/1.158 ms') 2025-12-09 09:59:25,258 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-59267649-77857120 passed 2025-12-09 09:59:25,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 09:59:25,407 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59267649-77857120, IP 41.192.19.195, Port 22 2025-12-09 09:59:25,558 - DEBUG - VM ctest-TestBasicPolicy-59267649-77857120 is ready for SSH connections 2025-12-09 09:59:25,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 09:59:25,559 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.192.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-12-09 09:59:25,559 - DEBUG - ping -s 56 -c 3 -W 1 41.192.19.195 2025-12-09 09:59:28,529 - DEBUG - PING 41.192.19.195 (41.192.19.195): 56 data bytes 64 bytes from 41.192.19.195: seq=0 ttl=63 time=3.919 ms 64 bytes from 41.192.19.195: seq=1 ttl=63 time=0.958 ms 64 bytes from 41.192.19.195: seq=2 ttl=63 time=0.817 ms --- 41.192.19.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.817/1.898/3.919 ms 2025-12-09 09:59:28,529 - INFO - Ping to IP 41.192.19.195 from VM ctest-TestBasicPolicy-59267649-33400960 passed 2025-12-09 09:59:28,718 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1ff6e193-0077-48fa-9ee8-0e62aaacd52f", "href": "http://10.0.0.241:8082/network-policy/1ff6e193-0077-48fa-9ee8-0e62aaacd52f"}} 2025-12-09 09:59:28,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 09:59:28,719 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.192.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-12-09 09:59:28,719 - DEBUG - ping -s 56 -c 3 -W 1 41.192.19.195 2025-12-09 09:59:31,946 - DEBUG - PING 41.192.19.195 (41.192.19.195): 56 data bytes --- 41.192.19.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-09 09:59:31,947 - WARNING - Ping to IP 41.192.19.195 from VM ctest-TestBasicPolicy-59267649-33400960 failed 2025-12-09 09:59:31,947 - INFO - Deleting VM ctest-TestBasicPolicy-59267649-77857120 2025-12-09 09:59:32,023 - INFO - Deleting VM ctest-TestBasicPolicy-59267649-33400960 2025-12-09 09:59:32,414 - INFO - Deleted policy ctest-policy-allow-all-18974577 2025-12-09 09:59:32,414 - INFO - Deleting VN ctest-vn-20700861 2025-12-09 09:59:32,450 - DEBUG - VN a4f6052d-cfa1-4717-b39c-52b9f30b1bc5 still in use: Unable to complete operation on network a4f6052d-cfa1-4717-b39c-52b9f30b1bc5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5636be2a-7edd-4483-875d-042404468af9'] 2025-12-09 09:59:32,450 - WARNING - Deleting VN ctest-vn-20700861 failed..Will retry 2025-12-09 09:59:34,556 - DEBUG - Response for deleting network () 2025-12-09 09:59:34,556 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/72aa9573-0bc8-4a79-bdae-b07cfddc9b96 2025-12-09 09:59:34,563 - DEBUG - Response Code: 404 2025-12-09 09:59:34,563 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-12-09 09:59:34,568 - DEBUG - Requesting: http://10.0.0.241:8082/domain/5b4a24e4-633a-47f0-8a17-94c5d36b4e3b 2025-12-09 09:59:34,625 - DEBUG - Requesting: http://10.0.0.241:8082/project/94be9410-6640-4300-8ba8-757bdf7ce1d0 2025-12-09 09:59:34,698 - INFO - Validated that VN ctest-vn-20700861 is not found in API Server 2025-12-09 09:59:34,708 - DEBUG - VN ctest-vn-20700861 is not present in Agent 10.0.0.241 2025-12-09 09:59:34,708 - INFO - Validated that VN ctest-vn-20700861 is not in any agent 2025-12-09 09:59:34,724 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20700861 info 2025-12-09 09:59:34,724 - INFO - Deleting VN ctest-vn-86702461 2025-12-09 09:59:34,820 - DEBUG - Response for deleting network () 2025-12-09 09:59:34,820 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/2cb2e661-dd68-4937-afd5-c5cc4a3c00df 2025-12-09 09:59:34,829 - DEBUG - Response Code: 404 2025-12-09 09:59:34,829 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-12-09 09:59:34,834 - DEBUG - Requesting: http://10.0.0.241:8082/domain/5b4a24e4-633a-47f0-8a17-94c5d36b4e3b 2025-12-09 09:59:34,888 - DEBUG - Requesting: http://10.0.0.241:8082/project/94be9410-6640-4300-8ba8-757bdf7ce1d0 2025-12-09 09:59:34,957 - INFO - Validated that VN ctest-vn-86702461 is not found in API Server 2025-12-09 09:59:34,967 - DEBUG - VN ctest-vn-86702461 is not present in Agent 10.0.0.241 2025-12-09 09:59:34,967 - INFO - Validated that VN ctest-vn-86702461 is not in any agent 2025-12-09 09:59:34,982 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86702461 info 2025-12-09 09:59:35,235 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 09:59:35,235 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-12-09 09:59:35,235 - INFO - -------------------------------------------------------------------------------- 2025-12-09 09:59:35,921 - INFO - Deleted project: ctest-TestBasicPolicy-59267649, ID : 94be9410-6640-4300-8ba8-757bdf7ce1d0