2025-09-29 21:03:43,077 - INFO - Domain Default found not creating 2025-09-29 21:03:43,192 - INFO - Project ctest-TestBasicPolicy-00016437 not found, creating it 2025-09-29 21:03:43,605 - INFO - Created Project:ctest-TestBasicPolicy-00016437, ID : 526b816d-4e9d-40ee-9965-799abb6e0f54 2025-09-29 21:03:44,909 - INFO - ================================================================================ 2025-09-29 21:03:44,909 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-29 21:03:44,909 - 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-09-29 21:03:45,162 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-29 21:03:45,162 - INFO - Initial checks done. Running the testcase now 2025-09-29 21:03:45,162 - INFO - 2025-09-29 21:03:45,676 - DEBUG - Response for create_network : {'network': {'id': 'f1213dea-0f23-4d0e-b715-cefa4f8feb1b', 'name': 'ctest-vn-11924117', 'tenant_id': '526b816d4e9d40ee9965799abb6e0f54', 'project_id': '526b816d4e9d40ee9965799abb6e0f54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00016437', 'ctest-vn-11924117'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 21:03:45,824 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a1fc859-a37b-42bd-a2d9-a862cb4e5780', 'name': '', 'tenant_id': '526b816d4e9d40ee9965799abb6e0f54', 'network_id': 'f1213dea-0f23-4d0e-b715-cefa4f8feb1b', 'ip_version': 4, 'cidr': '164.102.134.64/26', 'allocation_pools': [{'start': '164.102.134.66', 'end': '164.102.134.126'}], 'gateway_ip': '164.102.134.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.102.134.66', 'tags': [], 'project_id': '526b816d4e9d40ee9965799abb6e0f54'}} 2025-09-29 21:03:45,839 - INFO - Created VN ctest-vn-11924117 2025-09-29 21:03:45,889 - DEBUG - VN ctest-vn-11924117 UUID is f1213dea-0f23-4d0e-b715-cefa4f8feb1b 2025-09-29 21:03:46,180 - DEBUG - Response for create_network : {'network': {'id': '86123b08-8bdf-4bca-945d-e95a40205ffe', 'name': 'ctest-vn-04188983', 'tenant_id': '526b816d4e9d40ee9965799abb6e0f54', 'project_id': '526b816d4e9d40ee9965799abb6e0f54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00016437', 'ctest-vn-04188983'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 21:03:46,386 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd850fd23-70df-4695-a37b-30e71cdc2f04', 'name': '', 'tenant_id': '526b816d4e9d40ee9965799abb6e0f54', 'network_id': '86123b08-8bdf-4bca-945d-e95a40205ffe', 'ip_version': 4, 'cidr': '198.89.1.192/26', 'allocation_pools': [{'start': '198.89.1.194', 'end': '198.89.1.254'}], 'gateway_ip': '198.89.1.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.89.1.194', 'tags': [], 'project_id': '526b816d4e9d40ee9965799abb6e0f54'}} 2025-09-29 21:03:46,399 - INFO - Created VN ctest-vn-04188983 2025-09-29 21:03:46,449 - DEBUG - VN ctest-vn-04188983 UUID is 86123b08-8bdf-4bca-945d-e95a40205ffe 2025-09-29 21:03:46,593 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00016437:ctest-vn-11924117, 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-00016437:ctest-vn-04188983, 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-09-29 21:03:46,880 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f1213dea-0f23-4d0e-b715-cefa4f8feb1b', 'name': 'ctest-vn-11924117', 'tenant_id': '526b816d4e9d40ee9965799abb6e0f54', 'project_id': '526b816d4e9d40ee9965799abb6e0f54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5a1fc859-a37b-42bd-a2d9-a862cb4e5780'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00016437', 'ctest-vn-11924117'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00016437', 'ctest-policy-allow-all-33481637']], 'subnet_ipam': [{'subnet_cidr': '164.102.134.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-29 21:03:47,096 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '86123b08-8bdf-4bca-945d-e95a40205ffe', 'name': 'ctest-vn-04188983', 'tenant_id': '526b816d4e9d40ee9965799abb6e0f54', 'project_id': '526b816d4e9d40ee9965799abb6e0f54', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d850fd23-70df-4695-a37b-30e71cdc2f04'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00016437', 'ctest-vn-04188983'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00016437', 'ctest-policy-allow-all-33481637']], 'subnet_ipam': [{'subnet_cidr': '198.89.1.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-29 21:03:47,253 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-29 21:03:47,542 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-29 21:03:47,569 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9761f08d-2501-4bad-9e0d-42016bddd5eb 2025-09-29 21:03:47,580 - DEBUG - Requesting: http://10.0.0.254:8082/project/526b816d-4e9d-40ee-9965-799abb6e0f54 2025-09-29 21:03:47,648 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f1213dea-0f23-4d0e-b715-cefa4f8feb1b 2025-09-29 21:03:47,658 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f1213dea-0f23-4d0e-b715-cefa4f8feb1b 2025-09-29 21:03:47,667 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bebe9cfe-878c-4e91-8365-40b8ca5b3c24 2025-09-29 21:03:47,673 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bebe9cfe-878c-4e91-8365-40b8ca5b3c24 2025-09-29 21:03:47,679 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b5e8442b-f52a-4101-ab41-4ca20103018c 2025-09-29 21:03:47,684 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-29 21:03:47,684 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f1213dea-0f23-4d0e-b715-cefa4f8feb1b 2025-09-29 21:03:47,692 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bebe9cfe-878c-4e91-8365-40b8ca5b3c24 2025-09-29 21:03:47,704 - INFO - Verified VN network id 11 for VN f1213dea-0f23-4d0e-b715-cefa4f8feb1b 2025-09-29 21:03:47,704 - INFO - Verifications in API Server for VN ctest-vn-11924117 passed 2025-09-29 21:03:47,704 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f1213dea-0f23-4d0e-b715-cefa4f8feb1b 2025-09-29 21:03:47,712 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bebe9cfe-878c-4e91-8365-40b8ca5b3c24 2025-09-29 21:03:47,717 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bebe9cfe-878c-4e91-8365-40b8ca5b3c24 2025-09-29 21:03:47,722 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b5e8442b-f52a-4101-ab41-4ca20103018c 2025-09-29 21:03:47,732 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00016437:ctest-vn-11924117', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00016437', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17375236912857697550', 'uuid-lslong': '13192678257923713819'}, 'enable': 'true', 'created': '2025-09-29T21:03:45', 'last-modified': '2025-09-29T21:03:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.878147'} 2025-09-29 21:03:47,738 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-29 21:03:47,738 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11924117 passed 2025-09-29 21:03:47,739 - DEBUG - ====Verifying policy data for ctest-vn-11924117 in API_Server ====== 2025-09-29 21:03:47,739 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-29 21:03:47,743 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9761f08d-2501-4bad-9e0d-42016bddd5eb 2025-09-29 21:03:47,753 - DEBUG - Requesting: http://10.0.0.254:8082/project/526b816d-4e9d-40ee-9965-799abb6e0f54 2025-09-29 21:03:47,821 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f1213dea-0f23-4d0e-b715-cefa4f8feb1b 2025-09-29 21:03:47,828 - DEBUG - ==>Verifying data for policy with id: fedd60e8-9a47-4939-a81c-a0fe471fda08, fqn: ['default-domain', 'ctest-TestBasicPolicy-00016437', 'ctest-policy-allow-all-33481637'] 2025-09-29 21:03:47,828 - INFO - VN ctest-vn-11924117 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-29 21:03:47,828 - DEBUG - Verifying the vn in opserver 2025-09-29 21:03:47,828 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00016437:ctest-vn-11924117 virtual network link through opserver 10.0.0.254 2025-09-29 21:03:47,828 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-29 21:03:48,115 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-29 21:03:48,158 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00016437:ctest-vn-11924117', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00016437:ctest-vn-11924117?flat'} 2025-09-29 21:03:48,158 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00016437:ctest-vn-11924117 is found in opserver 2025-09-29 21:03:48,165 - DEBUG - Do not have enough data to verify VN in agent 2025-09-29 21:03:48,169 - DEBUG - VRF ids for VN ctest-vn-11924117: {} 2025-09-29 21:03:48,169 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-29 21:03:48,172 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9761f08d-2501-4bad-9e0d-42016bddd5eb 2025-09-29 21:03:48,181 - DEBUG - Requesting: http://10.0.0.254:8082/project/526b816d-4e9d-40ee-9965-799abb6e0f54 2025-09-29 21:03:48,242 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/86123b08-8bdf-4bca-945d-e95a40205ffe 2025-09-29 21:03:48,250 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/86123b08-8bdf-4bca-945d-e95a40205ffe 2025-09-29 21:03:48,257 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5b07228f-30f5-4a9b-b0c8-427fcb1f764a 2025-09-29 21:03:48,262 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5b07228f-30f5-4a9b-b0c8-427fcb1f764a 2025-09-29 21:03:48,266 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d13ce474-1f34-4151-ada1-6d18c61685f2 2025-09-29 21:03:48,271 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-29 21:03:48,271 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/86123b08-8bdf-4bca-945d-e95a40205ffe 2025-09-29 21:03:48,277 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5b07228f-30f5-4a9b-b0c8-427fcb1f764a 2025-09-29 21:03:48,287 - INFO - Verified VN network id 12 for VN 86123b08-8bdf-4bca-945d-e95a40205ffe 2025-09-29 21:03:48,287 - INFO - Verifications in API Server for VN ctest-vn-04188983 passed 2025-09-29 21:03:48,287 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/86123b08-8bdf-4bca-945d-e95a40205ffe 2025-09-29 21:03:48,294 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5b07228f-30f5-4a9b-b0c8-427fcb1f764a 2025-09-29 21:03:48,299 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5b07228f-30f5-4a9b-b0c8-427fcb1f764a 2025-09-29 21:03:48,303 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d13ce474-1f34-4151-ada1-6d18c61685f2 2025-09-29 21:03:48,312 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00016437:ctest-vn-04188983', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00016437', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9660849058555579338', 'uuid-lslong': '10690957664279617534'}, 'enable': 'true', 'created': '2025-09-29T21:03:46', 'last-modified': '2025-09-29T21:03:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.247286'} 2025-09-29 21:03:48,316 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-29 21:03:48,316 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04188983 passed 2025-09-29 21:03:48,317 - DEBUG - ====Verifying policy data for ctest-vn-04188983 in API_Server ====== 2025-09-29 21:03:48,317 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-29 21:03:48,320 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9761f08d-2501-4bad-9e0d-42016bddd5eb 2025-09-29 21:03:48,328 - DEBUG - Requesting: http://10.0.0.254:8082/project/526b816d-4e9d-40ee-9965-799abb6e0f54 2025-09-29 21:03:48,397 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/86123b08-8bdf-4bca-945d-e95a40205ffe 2025-09-29 21:03:48,405 - DEBUG - ==>Verifying data for policy with id: fedd60e8-9a47-4939-a81c-a0fe471fda08, fqn: ['default-domain', 'ctest-TestBasicPolicy-00016437', 'ctest-policy-allow-all-33481637'] 2025-09-29 21:03:48,405 - INFO - VN ctest-vn-04188983 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-29 21:03:48,405 - DEBUG - Verifying the vn in opserver 2025-09-29 21:03:48,405 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00016437:ctest-vn-04188983 virtual network link through opserver 10.0.0.254 2025-09-29 21:03:48,405 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-29 21:03:48,414 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00016437:ctest-vn-04188983', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00016437:ctest-vn-04188983?flat'} 2025-09-29 21:03:48,414 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00016437:ctest-vn-04188983 is found in opserver 2025-09-29 21:03:48,421 - DEBUG - Do not have enough data to verify VN in agent 2025-09-29 21:03:48,425 - DEBUG - VRF ids for VN ctest-vn-04188983: {} 2025-09-29 21:03:48,473 - DEBUG - Services list from nova: [, , ] 2025-09-29 21:03:49,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4206-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4206-1) 2025-09-29 21:03:50,438 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4206-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4206-1) 2025-09-29 21:03:50,438 - INFO - Waiting for VM ctest-TestBasicPolicy-00016437-31699577 to be up.. 2025-09-29 21:03:50,508 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-29 21:03:55,569 - DEBUG - VM is in ACTIVE state now 2025-09-29 21:03:55,569 - INFO - VM name : ctest-TestBasicPolicy-00016437-31699577 2025-09-29 21:03:55,629 - DEBUG - VM ctest-TestBasicPolicy-00016437-31699577 ID is b767521a-b1e8-4b61-8010-595e8a436a57 2025-09-29 21:03:55,645 - DEBUG - VM ctest-TestBasicPolicy-00016437-31699577 launched on Node cn-jenkins-deploy-platform-ansible-os-4206-1 2025-09-29 21:03:55,703 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b767521a-b1e8-4b61-8010-595e8a436a57 2025-09-29 21:03:55,709 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cecf343e-b1da-4f91-b7c0-5f6a1c15444b 2025-09-29 21:03:58,958 - 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 1028ms') 2025-09-29 21:03:58,958 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00016437-31699577 failed! 2025-09-29 21:03:59,009 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00016437:ctest-vn-11924117 is 164.102.134.65 and allocation pool is NOT set 2025-09-29 21:04:01,071 - 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=2.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.388 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.388/1.539/2.690/1.151 ms') 2025-09-29 21:04:01,071 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00016437-31699577 passed 2025-09-29 21:04:01,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:04:01,217 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00016437-31699577, IP 164.102.134.67, Port 22 2025-09-29 21:04:01,372 - DEBUG - VM ctest-TestBasicPolicy-00016437-31699577 is ready for SSH connections 2025-09-29 21:04:01,372 - INFO - Waiting for VM ctest-TestBasicPolicy-00016437-06726907 to be up.. 2025-09-29 21:04:01,435 - DEBUG - VM is in ACTIVE state now 2025-09-29 21:04:01,435 - INFO - VM name : ctest-TestBasicPolicy-00016437-06726907 2025-09-29 21:04:01,494 - DEBUG - VM ctest-TestBasicPolicy-00016437-06726907 ID is 1c4434b7-a704-4109-8d24-3228149a845b 2025-09-29 21:04:01,494 - DEBUG - VM ctest-TestBasicPolicy-00016437-06726907 launched on Node cn-jenkins-deploy-platform-ansible-os-4206-1 2025-09-29 21:04:01,555 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1c4434b7-a704-4109-8d24-3228149a845b 2025-09-29 21:04:01,561 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ae32c5bb-a926-46e0-8a9b-7d4687b01b6d 2025-09-29 21:04:02,785 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.367 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.367/1.689/3.011/1.322 ms') 2025-09-29 21:04:02,785 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00016437-06726907 passed 2025-09-29 21:04:02,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:04:02,929 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00016437-06726907, IP 198.89.1.195, Port 22 2025-09-29 21:04:03,084 - DEBUG - VM ctest-TestBasicPolicy-00016437-06726907 is ready for SSH connections 2025-09-29 21:04:03,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:04:03,085 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.89.1.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-29 21:04:03,085 - DEBUG - ping -s 56 -c 3 -W 1 198.89.1.195 2025-09-29 21:04:07,039 - DEBUG - PING 198.89.1.195 (198.89.1.195): 56 data bytes 64 bytes from 198.89.1.195: seq=0 ttl=63 time=3.529 ms 64 bytes from 198.89.1.195: seq=1 ttl=63 time=0.862 ms 64 bytes from 198.89.1.195: seq=2 ttl=63 time=0.724 ms --- 198.89.1.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.724/1.705/3.529 ms 2025-09-29 21:04:07,039 - INFO - Ping to IP 198.89.1.195 from VM ctest-TestBasicPolicy-00016437-31699577 passed 2025-09-29 21:04:07,209 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fedd60e8-9a47-4939-a81c-a0fe471fda08", "href": "http://10.0.0.254:8082/network-policy/fedd60e8-9a47-4939-a81c-a0fe471fda08"}} 2025-09-29 21:04:07,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:04:07,209 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.89.1.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-29 21:04:07,209 - DEBUG - ping -s 56 -c 3 -W 1 198.89.1.195 2025-09-29 21:04:10,397 - DEBUG - PING 198.89.1.195 (198.89.1.195): 56 data bytes 64 bytes from 198.89.1.195: seq=0 ttl=63 time=1.331 ms --- 198.89.1.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.331/1.331/1.331 ms 2025-09-29 21:04:10,397 - WARNING - Ping to IP 198.89.1.195 from VM ctest-TestBasicPolicy-00016437-31699577 failed 2025-09-29 21:04:10,397 - INFO - Deleting VM ctest-TestBasicPolicy-00016437-06726907 2025-09-29 21:04:10,463 - INFO - Deleting VM ctest-TestBasicPolicy-00016437-31699577 2025-09-29 21:04:10,768 - INFO - Deleted policy ctest-policy-allow-all-33481637 2025-09-29 21:04:10,768 - INFO - Deleting VN ctest-vn-04188983 2025-09-29 21:04:10,803 - DEBUG - VN 86123b08-8bdf-4bca-945d-e95a40205ffe still in use: Unable to complete operation on network 86123b08-8bdf-4bca-945d-e95a40205ffe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-63160e93-d736-4b46-8ce8-2b28a015ed59'] 2025-09-29 21:04:10,804 - WARNING - Deleting VN ctest-vn-04188983 failed..Will retry 2025-09-29 21:04:12,883 - DEBUG - Response for deleting network () 2025-09-29 21:04:12,884 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5b07228f-30f5-4a9b-b0c8-427fcb1f764a 2025-09-29 21:04:12,889 - DEBUG - Response Code: 404 2025-09-29 21:04:12,890 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-29 21:04:12,893 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9761f08d-2501-4bad-9e0d-42016bddd5eb 2025-09-29 21:04:12,949 - DEBUG - Requesting: http://10.0.0.254:8082/project/526b816d-4e9d-40ee-9965-799abb6e0f54 2025-09-29 21:04:13,013 - INFO - Validated that VN ctest-vn-04188983 is not found in API Server 2025-09-29 21:04:13,021 - DEBUG - VN ctest-vn-04188983 is not present in Agent 10.0.0.254 2025-09-29 21:04:13,021 - INFO - Validated that VN ctest-vn-04188983 is not in any agent 2025-09-29 21:04:13,032 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04188983 info 2025-09-29 21:04:13,032 - INFO - Deleting VN ctest-vn-11924117 2025-09-29 21:04:13,102 - DEBUG - Response for deleting network () 2025-09-29 21:04:13,102 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bebe9cfe-878c-4e91-8365-40b8ca5b3c24 2025-09-29 21:04:13,106 - DEBUG - Response Code: 404 2025-09-29 21:04:13,106 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-29 21:04:13,112 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9761f08d-2501-4bad-9e0d-42016bddd5eb 2025-09-29 21:04:13,161 - DEBUG - Requesting: http://10.0.0.254:8082/project/526b816d-4e9d-40ee-9965-799abb6e0f54 2025-09-29 21:04:13,227 - INFO - Validated that VN ctest-vn-11924117 is not found in API Server 2025-09-29 21:04:13,234 - DEBUG - VN ctest-vn-11924117 is not present in Agent 10.0.0.254 2025-09-29 21:04:13,234 - INFO - Validated that VN ctest-vn-11924117 is not in any agent 2025-09-29 21:04:13,245 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11924117 info 2025-09-29 21:04:13,497 - DEBUG - No XMPP flaps were noticed during the test
2025-09-29 21:04:13,498 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-29 21:04:13,498 - INFO - -------------------------------------------------------------------------------- 2025-09-29 21:04:14,132 - INFO - Deleted project: ctest-TestBasicPolicy-00016437, ID : 526b816d-4e9d-40ee-9965-799abb6e0f54