2026-02-25 14:10:22,179 - INFO - Domain Default found not creating 2026-02-25 14:10:22,340 - INFO - Project ctest-TestBasicPolicy-07373058 not found, creating it 2026-02-25 14:10:22,801 - INFO - Created Project:ctest-TestBasicPolicy-07373058, ID : ed49fc7e-d203-45a1-bb56-85f04d1328a1 2026-02-25 14:10:24,233 - INFO - ================================================================================ 2026-02-25 14:10:24,233 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-25 14:10:24,233 - 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-25 14:10:24,488 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with 2026-02-25 14:10:24,488 - INFO - Initial checks done. Running the testcase now 2026-02-25 14:10:24,488 - INFO - 2026-02-25 14:10:25,010 - DEBUG - Response for create_network : {'network': {'id': '35bd4051-b872-4a46-bbe9-b386f9341a97', 'name': 'ctest-vn-56367629', 'tenant_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'project_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07373058', 'ctest-vn-56367629'], 'port_security_enabled': True, 'description': ''}} 2026-02-25 14:10:25,162 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdbed6bd-01a4-405c-95be-54299e762032', 'name': '', 'tenant_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'network_id': '35bd4051-b872-4a46-bbe9-b386f9341a97', 'ip_version': 4, 'cidr': '138.59.208.0/26', 'allocation_pools': [{'start': '138.59.208.2', 'end': '138.59.208.62'}], 'gateway_ip': '138.59.208.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.59.208.2', 'tags': [], 'project_id': 'ed49fc7ed20345a1bb5685f04d1328a1'}} 2026-02-25 14:10:25,178 - INFO - Created VN ctest-vn-56367629 2026-02-25 14:10:25,230 - DEBUG - VN ctest-vn-56367629 UUID is 35bd4051-b872-4a46-bbe9-b386f9341a97 2026-02-25 14:10:25,525 - DEBUG - Response for create_network : {'network': {'id': '25d3485a-79ea-4101-b357-392e26716aa0', 'name': 'ctest-vn-00572337', 'tenant_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'project_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07373058', 'ctest-vn-00572337'], 'port_security_enabled': True, 'description': ''}} 2026-02-25 14:10:25,725 - DEBUG - Response for create_subnet : {'subnet': {'id': '497e08cd-3b68-4c1e-8738-cbc362fea0a5', 'name': '', 'tenant_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'network_id': '25d3485a-79ea-4101-b357-392e26716aa0', 'ip_version': 4, 'cidr': '158.243.237.128/26', 'allocation_pools': [{'start': '158.243.237.130', 'end': '158.243.237.190'}], 'gateway_ip': '158.243.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.243.237.130', 'tags': [], 'project_id': 'ed49fc7ed20345a1bb5685f04d1328a1'}} 2026-02-25 14:10:25,741 - INFO - Created VN ctest-vn-00572337 2026-02-25 14:10:25,790 - DEBUG - VN ctest-vn-00572337 UUID is 25d3485a-79ea-4101-b357-392e26716aa0 2026-02-25 14:10:25,930 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-56367629, 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-07373058:ctest-vn-00572337, 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-25 14:10:26,202 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '35bd4051-b872-4a46-bbe9-b386f9341a97', 'name': 'ctest-vn-56367629', 'tenant_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'project_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bdbed6bd-01a4-405c-95be-54299e762032'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07373058', 'ctest-vn-56367629'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07373058', 'ctest-policy-allow-all-98768735']], 'subnet_ipam': [{'subnet_cidr': '138.59.208.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-25 14:10:26,475 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '25d3485a-79ea-4101-b357-392e26716aa0', 'name': 'ctest-vn-00572337', 'tenant_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'project_id': 'ed49fc7ed20345a1bb5685f04d1328a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['497e08cd-3b68-4c1e-8738-cbc362fea0a5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07373058', 'ctest-vn-00572337'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07373058', 'ctest-policy-allow-all-98768735']], 'subnet_ipam': [{'subnet_cidr': '158.243.237.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-25 14:10:26,623 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-25 14:10:26,920 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-25 14:10:26,949 - DEBUG - Requesting: http://10.0.0.129:8082/domain/a870835a-deb6-4d41-be5e-3c5a2efc8cc4 2026-02-25 14:10:26,959 - DEBUG - Requesting: http://10.0.0.129:8082/project/ed49fc7e-d203-45a1-bb56-85f04d1328a1 2026-02-25 14:10:27,028 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/35bd4051-b872-4a46-bbe9-b386f9341a97 2026-02-25 14:10:27,037 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/35bd4051-b872-4a46-bbe9-b386f9341a97 2026-02-25 14:10:27,046 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/24b84f19-ecde-4525-a73b-93bcda643a85 2026-02-25 14:10:27,053 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/24b84f19-ecde-4525-a73b-93bcda643a85 2026-02-25 14:10:27,058 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/3143bffb-c1d1-4f38-b093-a8dc2d864597 2026-02-25 14:10:27,063 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-25 14:10:27,063 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/35bd4051-b872-4a46-bbe9-b386f9341a97 2026-02-25 14:10:27,070 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/24b84f19-ecde-4525-a73b-93bcda643a85 2026-02-25 14:10:27,084 - INFO - Verified VN network id 11 for VN 35bd4051-b872-4a46-bbe9-b386f9341a97 2026-02-25 14:10:27,084 - INFO - Verifications in API Server for VN ctest-vn-56367629 passed 2026-02-25 14:10:27,084 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/35bd4051-b872-4a46-bbe9-b386f9341a97 2026-02-25 14:10:27,092 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/24b84f19-ecde-4525-a73b-93bcda643a85 2026-02-25 14:10:27,097 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/24b84f19-ecde-4525-a73b-93bcda643a85 2026-02-25 14:10:27,103 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/3143bffb-c1d1-4f38-b093-a8dc2d864597 2026-02-25 14:10:27,114 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-56367629', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07373058', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3872321974339521094', 'uuid-lslong': '13540551146954037911'}, 'enable': 'true', 'created': '2026-02-25T14:10:24', 'last-modified': '2026-02-25T14:10:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.929029'} 2026-02-25 14:10:27,120 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-25 14:10:27,121 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56367629 passed 2026-02-25 14:10:27,121 - DEBUG - ====Verifying policy data for ctest-vn-56367629 in API_Server ====== 2026-02-25 14:10:27,121 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-25 14:10:27,126 - DEBUG - Requesting: http://10.0.0.129:8082/domain/a870835a-deb6-4d41-be5e-3c5a2efc8cc4 2026-02-25 14:10:27,137 - DEBUG - Requesting: http://10.0.0.129:8082/project/ed49fc7e-d203-45a1-bb56-85f04d1328a1 2026-02-25 14:10:27,202 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/35bd4051-b872-4a46-bbe9-b386f9341a97 2026-02-25 14:10:27,210 - DEBUG - ==>Verifying data for policy with id: 150750b8-65c7-41d3-bbb9-546bf3c60ac0, fqn: ['default-domain', 'ctest-TestBasicPolicy-07373058', 'ctest-policy-allow-all-98768735'] 2026-02-25 14:10:27,211 - INFO - VN ctest-vn-56367629 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-25 14:10:27,211 - DEBUG - Verifying the vn in opserver 2026-02-25 14:10:27,211 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-56367629 virtual network link through opserver 10.0.0.129 2026-02-25 14:10:27,211 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-25 14:10:27,498 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-25 14:10:27,554 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-56367629', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-56367629?flat'} 2026-02-25 14:10:27,554 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-56367629 is found in opserver 2026-02-25 14:10:27,564 - DEBUG - Do not have enough data to verify VN in agent 2026-02-25 14:10:27,570 - DEBUG - VRF ids for VN ctest-vn-56367629: {} 2026-02-25 14:10:27,570 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-25 14:10:27,575 - DEBUG - Requesting: http://10.0.0.129:8082/domain/a870835a-deb6-4d41-be5e-3c5a2efc8cc4 2026-02-25 14:10:27,586 - DEBUG - Requesting: http://10.0.0.129:8082/project/ed49fc7e-d203-45a1-bb56-85f04d1328a1 2026-02-25 14:10:27,656 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/25d3485a-79ea-4101-b357-392e26716aa0 2026-02-25 14:10:27,666 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/25d3485a-79ea-4101-b357-392e26716aa0 2026-02-25 14:10:27,673 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1414217d-b038-4ae1-a06c-f444eeb95c03 2026-02-25 14:10:27,679 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1414217d-b038-4ae1-a06c-f444eeb95c03 2026-02-25 14:10:27,685 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/54793bd4-c55c-4d47-aafd-68ad5b8970fa 2026-02-25 14:10:27,690 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-25 14:10:27,690 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/25d3485a-79ea-4101-b357-392e26716aa0 2026-02-25 14:10:27,697 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1414217d-b038-4ae1-a06c-f444eeb95c03 2026-02-25 14:10:27,707 - INFO - Verified VN network id 12 for VN 25d3485a-79ea-4101-b357-392e26716aa0 2026-02-25 14:10:27,707 - INFO - Verifications in API Server for VN ctest-vn-00572337 passed 2026-02-25 14:10:27,707 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/25d3485a-79ea-4101-b357-392e26716aa0 2026-02-25 14:10:27,714 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1414217d-b038-4ae1-a06c-f444eeb95c03 2026-02-25 14:10:27,720 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1414217d-b038-4ae1-a06c-f444eeb95c03 2026-02-25 14:10:27,725 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/54793bd4-c55c-4d47-aafd-68ad5b8970fa 2026-02-25 14:10:27,734 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-00572337', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07373058', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2725601752918933761', 'uuid-lslong': '12922860526139173536'}, 'enable': 'true', 'created': '2026-02-25T14:10:25', 'last-modified': '2026-02-25T14:10:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.322231'} 2026-02-25 14:10:27,739 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-25 14:10:27,739 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00572337 passed 2026-02-25 14:10:27,739 - DEBUG - ====Verifying policy data for ctest-vn-00572337 in API_Server ====== 2026-02-25 14:10:27,739 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-25 14:10:27,744 - DEBUG - Requesting: http://10.0.0.129:8082/domain/a870835a-deb6-4d41-be5e-3c5a2efc8cc4 2026-02-25 14:10:27,755 - DEBUG - Requesting: http://10.0.0.129:8082/project/ed49fc7e-d203-45a1-bb56-85f04d1328a1 2026-02-25 14:10:27,824 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/25d3485a-79ea-4101-b357-392e26716aa0 2026-02-25 14:10:27,833 - DEBUG - ==>Verifying data for policy with id: 150750b8-65c7-41d3-bbb9-546bf3c60ac0, fqn: ['default-domain', 'ctest-TestBasicPolicy-07373058', 'ctest-policy-allow-all-98768735'] 2026-02-25 14:10:27,833 - INFO - VN ctest-vn-00572337 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-25 14:10:27,833 - DEBUG - Verifying the vn in opserver 2026-02-25 14:10:27,833 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-00572337 virtual network link through opserver 10.0.0.129 2026-02-25 14:10:27,833 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-25 14:10:27,842 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-00572337', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-00572337?flat'} 2026-02-25 14:10:27,842 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-00572337 is found in opserver 2026-02-25 14:10:27,850 - DEBUG - Do not have enough data to verify VN in agent 2026-02-25 14:10:27,854 - DEBUG - VRF ids for VN ctest-vn-00572337: {} 2026-02-25 14:10:27,909 - DEBUG - Services list from nova: [, , ] 2026-02-25 14:10:28,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5396-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5396-1) 2026-02-25 14:10:29,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5396-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5396-1) 2026-02-25 14:10:29,943 - INFO - Waiting for VM ctest-TestBasicPolicy-07373058-85051636 to be up.. 2026-02-25 14:10:30,011 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-25 14:10:35,085 - DEBUG - VM is in ACTIVE state now 2026-02-25 14:10:35,085 - INFO - VM name : ctest-TestBasicPolicy-07373058-85051636 2026-02-25 14:10:35,155 - DEBUG - VM ctest-TestBasicPolicy-07373058-85051636 ID is 2dca7e72-3ae3-485c-a75c-0d4de7a47db1 2026-02-25 14:10:35,172 - DEBUG - VM ctest-TestBasicPolicy-07373058-85051636 launched on Node cn-jenkins-deploy-platform-ansible-os-5396-1 2026-02-25 14:10:35,257 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/2dca7e72-3ae3-485c-a75c-0d4de7a47db1 2026-02-25 14:10:35,264 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/83f62778-e576-4b68-b838-3bf743bc8a99 2026-02-25 14:10:38,530 - 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 1019ms') 2026-02-25 14:10:38,531 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07373058-85051636 failed! 2026-02-25 14:10:38,582 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07373058:ctest-vn-56367629 is 138.59.208.1 and allocation pool is NOT set 2026-02-25 14:10:40,641 - 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=6.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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.414/3.691/6.968/3.277 ms') 2026-02-25 14:10:40,641 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07373058-85051636 passed 2026-02-25 14:10:40,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-25 14:10:40,787 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07373058-85051636, IP 138.59.208.3, Port 22 2026-02-25 14:10:40,951 - DEBUG - VM ctest-TestBasicPolicy-07373058-85051636 is ready for SSH connections 2026-02-25 14:10:40,951 - INFO - Waiting for VM ctest-TestBasicPolicy-07373058-59460904 to be up.. 2026-02-25 14:10:41,050 - DEBUG - VM is in ACTIVE state now 2026-02-25 14:10:41,050 - INFO - VM name : ctest-TestBasicPolicy-07373058-59460904 2026-02-25 14:10:41,136 - DEBUG - VM ctest-TestBasicPolicy-07373058-59460904 ID is 68607aad-82b1-4668-b1cf-55d012d10099 2026-02-25 14:10:41,136 - DEBUG - VM ctest-TestBasicPolicy-07373058-59460904 launched on Node cn-jenkins-deploy-platform-ansible-os-5396-1 2026-02-25 14:10:41,222 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/68607aad-82b1-4668-b1cf-55d012d10099 2026-02-25 14:10:41,232 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/0cc1763c-3040-42e1-b3c3-efcc49a9fac1 2026-02-25 14:10:42,484 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.581 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.581/1.823/3.066/1.242 ms') 2026-02-25 14:10:42,484 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07373058-59460904 passed 2026-02-25 14:10:42,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-25 14:10:42,639 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07373058-59460904, IP 158.243.237.131, Port 22 2026-02-25 14:10:42,804 - DEBUG - VM ctest-TestBasicPolicy-07373058-59460904 is ready for SSH connections 2026-02-25 14:10:42,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-25 14:10:42,805 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.243.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-02-25 14:10:42,805 - DEBUG - ping -s 56 -c 3 -W 1 158.243.237.131 2026-02-25 14:10:46,863 - DEBUG - PING 158.243.237.131 (158.243.237.131): 56 data bytes 64 bytes from 158.243.237.131: seq=0 ttl=63 time=3.172 ms 64 bytes from 158.243.237.131: seq=1 ttl=63 time=0.861 ms 64 bytes from 158.243.237.131: seq=2 ttl=63 time=0.950 ms --- 158.243.237.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.861/1.661/3.172 ms 2026-02-25 14:10:46,863 - INFO - Ping to IP 158.243.237.131 from VM ctest-TestBasicPolicy-07373058-85051636 passed 2026-02-25 14:10:47,030 - DEBUG - Policy Update Response {"network-policy": {"uuid": "150750b8-65c7-41d3-bbb9-546bf3c60ac0", "href": "http://10.0.0.129:8082/network-policy/150750b8-65c7-41d3-bbb9-546bf3c60ac0"}} 2026-02-25 14:10:47,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-25 14:10:47,031 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.243.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-02-25 14:10:47,031 - DEBUG - ping -s 56 -c 3 -W 1 158.243.237.131 2026-02-25 14:10:50,254 - DEBUG - PING 158.243.237.131 (158.243.237.131): 56 data bytes --- 158.243.237.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-25 14:10:50,254 - WARNING - Ping to IP 158.243.237.131 from VM ctest-TestBasicPolicy-07373058-85051636 failed 2026-02-25 14:10:50,255 - INFO - Deleting VM ctest-TestBasicPolicy-07373058-59460904 2026-02-25 14:10:50,347 - INFO - Deleting VM ctest-TestBasicPolicy-07373058-85051636 2026-02-25 14:10:50,806 - INFO - Deleted policy ctest-policy-allow-all-98768735 2026-02-25 14:10:50,807 - INFO - Deleting VN ctest-vn-00572337 2026-02-25 14:10:50,846 - DEBUG - VN 25d3485a-79ea-4101-b357-392e26716aa0 still in use: Unable to complete operation on network 25d3485a-79ea-4101-b357-392e26716aa0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-51625ba9-a6fc-47ac-9491-3b82ea51d9a1'] 2026-02-25 14:10:50,846 - WARNING - Deleting VN ctest-vn-00572337 failed..Will retry 2026-02-25 14:10:52,944 - DEBUG - Response for deleting network () 2026-02-25 14:10:52,944 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/1414217d-b038-4ae1-a06c-f444eeb95c03 2026-02-25 14:10:52,949 - DEBUG - Response Code: 404 2026-02-25 14:10:52,950 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-25 14:10:52,954 - DEBUG - Requesting: http://10.0.0.129:8082/domain/a870835a-deb6-4d41-be5e-3c5a2efc8cc4 2026-02-25 14:10:53,008 - DEBUG - Requesting: http://10.0.0.129:8082/project/ed49fc7e-d203-45a1-bb56-85f04d1328a1 2026-02-25 14:10:53,073 - INFO - Validated that VN ctest-vn-00572337 is not found in API Server 2026-02-25 14:10:53,082 - DEBUG - VN ctest-vn-00572337 is not present in Agent 10.0.0.129 2026-02-25 14:10:53,082 - INFO - Validated that VN ctest-vn-00572337 is not in any agent 2026-02-25 14:10:53,094 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00572337 info 2026-02-25 14:10:53,094 - INFO - Deleting VN ctest-vn-56367629 2026-02-25 14:10:53,183 - DEBUG - Response for deleting network () 2026-02-25 14:10:53,183 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/24b84f19-ecde-4525-a73b-93bcda643a85 2026-02-25 14:10:53,187 - DEBUG - Response Code: 404 2026-02-25 14:10:53,187 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-25 14:10:53,192 - DEBUG - Requesting: http://10.0.0.129:8082/domain/a870835a-deb6-4d41-be5e-3c5a2efc8cc4 2026-02-25 14:10:53,243 - DEBUG - Requesting: http://10.0.0.129:8082/project/ed49fc7e-d203-45a1-bb56-85f04d1328a1 2026-02-25 14:10:53,313 - INFO - Validated that VN ctest-vn-56367629 is not found in API Server 2026-02-25 14:10:53,323 - DEBUG - VN ctest-vn-56367629 is not present in Agent 10.0.0.129 2026-02-25 14:10:53,323 - INFO - Validated that VN ctest-vn-56367629 is not in any agent 2026-02-25 14:10:53,336 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56367629 info 2026-02-25 14:10:53,591 - DEBUG - No XMPP flaps were noticed during the test
2026-02-25 14:10:53,591 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-25 14:10:53,591 - INFO - -------------------------------------------------------------------------------- 2026-02-25 14:10:54,258 - INFO - Deleted project: ctest-TestBasicPolicy-07373058, ID : ed49fc7e-d203-45a1-bb56-85f04d1328a1