2026-01-22 16:13:20,497 - INFO - Domain Default found not creating 2026-01-22 16:13:20,672 - INFO - Project ctest-TestBasicPolicy-61505830 not found, creating it 2026-01-22 16:13:21,243 - INFO - Created Project:ctest-TestBasicPolicy-61505830, ID : 98f30fe8-b282-4cd1-a6cb-1e708e55aa0c 2026-01-22 16:13:22,728 - INFO - ================================================================================ 2026-01-22 16:13:22,728 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-22 16:13:22,728 - 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-22 16:13:24,028 - WARNING - Test is running with cores: {'10.0.0.65': ['core.contrail-collec.1.cn-jenkins-deploy-platform-ansible-os-5062-3.1769096738']} 2026-01-22 16:13:24,042 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.252': '0', '10.20.0.249': '0'}, '10.0.0.73': {'10.20.0.5': '0', '10.20.0.252': '0'}} with 2026-01-22 16:13:24,042 - INFO - Initial checks done. Running the testcase now 2026-01-22 16:13:24,042 - INFO - 2026-01-22 16:13:24,784 - DEBUG - Response for create_network : {'network': {'id': '61a84a1a-7949-4f20-8ee1-761e0d895eee', 'name': 'ctest-vn-56411536', 'tenant_id': '98f30fe8b2824cd1a6cb1e708e55aa0c', 'project_id': '98f30fe8b2824cd1a6cb1e708e55aa0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61505830', 'ctest-vn-56411536'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 16:13:25,083 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4a8668f-f3c0-49e8-ba55-7e60629ff695', 'name': '', 'tenant_id': '98f30fe8b2824cd1a6cb1e708e55aa0c', 'network_id': '61a84a1a-7949-4f20-8ee1-761e0d895eee', 'ip_version': 4, 'cidr': '206.168.151.64/26', 'allocation_pools': [{'start': '206.168.151.66', 'end': '206.168.151.126'}], 'gateway_ip': '206.168.151.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.168.151.66', 'tags': [], 'project_id': '98f30fe8b2824cd1a6cb1e708e55aa0c'}} 2026-01-22 16:13:25,110 - INFO - Created VN ctest-vn-56411536 2026-01-22 16:13:25,127 - DEBUG - VN ctest-vn-56411536 UUID is 61a84a1a-7949-4f20-8ee1-761e0d895eee 2026-01-22 16:13:25,558 - DEBUG - Response for create_network : {'network': {'id': 'fedc3112-2db2-49b9-b23a-6034231809ab', 'name': 'ctest-vn-00056913', 'tenant_id': '98f30fe8b2824cd1a6cb1e708e55aa0c', 'project_id': '98f30fe8b2824cd1a6cb1e708e55aa0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61505830', 'ctest-vn-00056913'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 16:13:25,801 - DEBUG - Response for create_subnet : {'subnet': {'id': '16b88862-d128-4735-ba46-bc13a3e2719e', 'name': '', 'tenant_id': '98f30fe8b2824cd1a6cb1e708e55aa0c', 'network_id': 'fedc3112-2db2-49b9-b23a-6034231809ab', 'ip_version': 4, 'cidr': '116.172.31.0/26', 'allocation_pools': [{'start': '116.172.31.2', 'end': '116.172.31.62'}], 'gateway_ip': '116.172.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.172.31.2', 'tags': [], 'project_id': '98f30fe8b2824cd1a6cb1e708e55aa0c'}} 2026-01-22 16:13:25,827 - INFO - Created VN ctest-vn-00056913 2026-01-22 16:13:25,841 - DEBUG - VN ctest-vn-00056913 UUID is fedc3112-2db2-49b9-b23a-6034231809ab 2026-01-22 16:13:25,961 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-56411536, 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-61505830:ctest-vn-00056913, 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-22 16:13:26,328 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '61a84a1a-7949-4f20-8ee1-761e0d895eee', 'name': 'ctest-vn-56411536', 'tenant_id': '98f30fe8b2824cd1a6cb1e708e55aa0c', 'project_id': '98f30fe8b2824cd1a6cb1e708e55aa0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f4a8668f-f3c0-49e8-ba55-7e60629ff695'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61505830', 'ctest-vn-56411536'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61505830', 'ctest-policy-allow-all-26396160']], 'subnet_ipam': [{'subnet_cidr': '206.168.151.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-22 16:13:26,551 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fedc3112-2db2-49b9-b23a-6034231809ab', 'name': 'ctest-vn-00056913', 'tenant_id': '98f30fe8b2824cd1a6cb1e708e55aa0c', 'project_id': '98f30fe8b2824cd1a6cb1e708e55aa0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['16b88862-d128-4735-ba46-bc13a3e2719e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61505830', 'ctest-vn-00056913'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61505830', 'ctest-policy-allow-all-26396160']], 'subnet_ipam': [{'subnet_cidr': '116.172.31.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-22 16:13:26,684 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-22 16:13:27,118 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-22 16:13:27,153 - DEBUG - Requesting: http://10.0.0.23:8082/domain/801ea07a-2288-434f-a602-075a9d2169e6 2026-01-22 16:13:27,174 - DEBUG - Requesting: http://10.0.0.23:8082/project/98f30fe8-b282-4cd1-a6cb-1e708e55aa0c 2026-01-22 16:13:27,308 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/61a84a1a-7949-4f20-8ee1-761e0d895eee 2026-01-22 16:13:27,327 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/61a84a1a-7949-4f20-8ee1-761e0d895eee 2026-01-22 16:13:27,341 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a55b337e-11e1-46be-8e4d-9d24732ec4fe 2026-01-22 16:13:27,350 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a55b337e-11e1-46be-8e4d-9d24732ec4fe 2026-01-22 16:13:27,357 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/e1782e99-7737-406c-8814-edb0e6503c4b 2026-01-22 16:13:27,365 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 16:13:27,365 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/61a84a1a-7949-4f20-8ee1-761e0d895eee 2026-01-22 16:13:27,374 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a55b337e-11e1-46be-8e4d-9d24732ec4fe 2026-01-22 16:13:27,395 - INFO - Verified VN network id 11 for VN 61a84a1a-7949-4f20-8ee1-761e0d895eee 2026-01-22 16:13:27,395 - INFO - Verifications in API Server for VN ctest-vn-56411536 passed 2026-01-22 16:13:27,395 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/61a84a1a-7949-4f20-8ee1-761e0d895eee 2026-01-22 16:13:27,406 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a55b337e-11e1-46be-8e4d-9d24732ec4fe 2026-01-22 16:13:27,414 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a55b337e-11e1-46be-8e4d-9d24732ec4fe 2026-01-22 16:13:27,422 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/e1782e99-7737-406c-8814-edb0e6503c4b 2026-01-22 16:13:27,436 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-56411536', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61505830', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7036955895330852640', 'uuid-lslong': '10295640094593867502'}, 'enable': 'true', 'created': '2026-01-22T16:13:24', 'last-modified': '2026-01-22T16:13:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.147667'} 2026-01-22 16:13:27,442 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 16:13:27,449 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-56411536', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61505830', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7036955895330852640', 'uuid-lslong': '10295640094593867502'}, 'enable': 'true', 'created': '2026-01-22T16:13:24', 'last-modified': '2026-01-22T16:13:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.164191'} 2026-01-22 16:13:27,455 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 16:13:27,461 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-56411536', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61505830', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7036955895330852640', 'uuid-lslong': '10295640094593867502'}, 'enable': 'true', 'created': '2026-01-22T16:13:24', 'last-modified': '2026-01-22T16:13:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.177092'} 2026-01-22 16:13:27,467 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 16:13:27,467 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56411536 passed 2026-01-22 16:13:27,468 - DEBUG - ====Verifying policy data for ctest-vn-56411536 in API_Server ====== 2026-01-22 16:13:27,468 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-22 16:13:27,475 - DEBUG - Requesting: http://10.0.0.23:8082/domain/801ea07a-2288-434f-a602-075a9d2169e6 2026-01-22 16:13:27,487 - DEBUG - Requesting: http://10.0.0.23:8082/project/98f30fe8-b282-4cd1-a6cb-1e708e55aa0c 2026-01-22 16:13:27,586 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/61a84a1a-7949-4f20-8ee1-761e0d895eee 2026-01-22 16:13:27,596 - DEBUG - ==>Verifying data for policy with id: b919e2fb-0341-46d7-b785-ec7226cdbf08, fqn: ['default-domain', 'ctest-TestBasicPolicy-61505830', 'ctest-policy-allow-all-26396160'] 2026-01-22 16:13:27,596 - INFO - VN ctest-vn-56411536 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-22 16:13:27,597 - DEBUG - Verifying the vn in opserver 2026-01-22 16:13:27,597 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-56411536 virtual network link through opserver 10.0.0.23 2026-01-22 16:13:27,597 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-22 16:13:27,902 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-22 16:13:28,026 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-56411536', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-56411536?flat'} 2026-01-22 16:13:28,026 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-56411536 virtual network link through opserver 10.0.0.240 2026-01-22 16:13:28,026 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-01-22 16:13:28,359 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-01-22 16:13:28,443 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-56411536', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-56411536?flat'} 2026-01-22 16:13:28,443 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-56411536 virtual network link through opserver 10.0.0.65 2026-01-22 16:13:28,443 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-01-22 16:13:28,745 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-01-22 16:13:28,837 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-56411536', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-56411536?flat'} 2026-01-22 16:13:28,837 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-56411536 is found in opserver 2026-01-22 16:13:28,858 - DEBUG - Do not have enough data to verify VN in agent 2026-01-22 16:13:28,868 - DEBUG - VRF ids for VN ctest-vn-56411536: {} 2026-01-22 16:13:28,868 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-22 16:13:28,875 - DEBUG - Requesting: http://10.0.0.23:8082/domain/801ea07a-2288-434f-a602-075a9d2169e6 2026-01-22 16:13:28,888 - DEBUG - Requesting: http://10.0.0.23:8082/project/98f30fe8-b282-4cd1-a6cb-1e708e55aa0c 2026-01-22 16:13:28,998 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fedc3112-2db2-49b9-b23a-6034231809ab 2026-01-22 16:13:29,016 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fedc3112-2db2-49b9-b23a-6034231809ab 2026-01-22 16:13:29,026 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/94e7deb7-5596-4190-b111-34de117ee09c 2026-01-22 16:13:29,036 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/94e7deb7-5596-4190-b111-34de117ee09c 2026-01-22 16:13:29,045 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/c01bc6a2-03f6-4fae-ab21-d796627cfb5d 2026-01-22 16:13:29,052 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-22 16:13:29,052 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fedc3112-2db2-49b9-b23a-6034231809ab 2026-01-22 16:13:29,062 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/94e7deb7-5596-4190-b111-34de117ee09c 2026-01-22 16:13:29,080 - INFO - Verified VN network id 12 for VN fedc3112-2db2-49b9-b23a-6034231809ab 2026-01-22 16:13:29,080 - INFO - Verifications in API Server for VN ctest-vn-00056913 passed 2026-01-22 16:13:29,081 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fedc3112-2db2-49b9-b23a-6034231809ab 2026-01-22 16:13:29,094 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/94e7deb7-5596-4190-b111-34de117ee09c 2026-01-22 16:13:29,104 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/94e7deb7-5596-4190-b111-34de117ee09c 2026-01-22 16:13:29,114 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/c01bc6a2-03f6-4fae-ab21-d796627cfb5d 2026-01-22 16:13:29,132 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-00056913', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61505830', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18364607334655871417', 'uuid-lslong': '12842683064443734443'}, 'enable': 'true', 'created': '2026-01-22T16:13:25', 'last-modified': '2026-01-22T16:13:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.624618'} 2026-01-22 16:13:29,137 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-22 16:13:29,143 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-00056913', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61505830', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18364607334655871417', 'uuid-lslong': '12842683064443734443'}, 'enable': 'true', 'created': '2026-01-22T16:13:25', 'last-modified': '2026-01-22T16:13:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.640429'} 2026-01-22 16:13:29,149 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-22 16:13:29,157 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-00056913', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61505830', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18364607334655871417', 'uuid-lslong': '12842683064443734443'}, 'enable': 'true', 'created': '2026-01-22T16:13:25', 'last-modified': '2026-01-22T16:13:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.651069'} 2026-01-22 16:13:29,165 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-01-22 16:13:29,166 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00056913 passed 2026-01-22 16:13:29,166 - DEBUG - ====Verifying policy data for ctest-vn-00056913 in API_Server ====== 2026-01-22 16:13:29,166 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-22 16:13:29,174 - DEBUG - Requesting: http://10.0.0.23:8082/domain/801ea07a-2288-434f-a602-075a9d2169e6 2026-01-22 16:13:29,189 - DEBUG - Requesting: http://10.0.0.23:8082/project/98f30fe8-b282-4cd1-a6cb-1e708e55aa0c 2026-01-22 16:13:29,285 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/fedc3112-2db2-49b9-b23a-6034231809ab 2026-01-22 16:13:29,306 - DEBUG - ==>Verifying data for policy with id: b919e2fb-0341-46d7-b785-ec7226cdbf08, fqn: ['default-domain', 'ctest-TestBasicPolicy-61505830', 'ctest-policy-allow-all-26396160'] 2026-01-22 16:13:29,306 - INFO - VN ctest-vn-00056913 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-22 16:13:29,306 - DEBUG - Verifying the vn in opserver 2026-01-22 16:13:29,306 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-00056913 virtual network link through opserver 10.0.0.23 2026-01-22 16:13:29,307 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-01-22 16:13:29,413 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-00056913', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-00056913?flat'} 2026-01-22 16:13:29,413 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-00056913 virtual network link through opserver 10.0.0.240 2026-01-22 16:13:29,413 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-01-22 16:13:29,478 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-00056913', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-00056913?flat'} 2026-01-22 16:13:29,479 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-00056913 virtual network link through opserver 10.0.0.65 2026-01-22 16:13:29,479 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-01-22 16:13:29,551 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-00056913', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-00056913?flat'} 2026-01-22 16:13:29,551 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-00056913 is found in opserver 2026-01-22 16:13:29,572 - DEBUG - Do not have enough data to verify VN in agent 2026-01-22 16:13:29,582 - DEBUG - VRF ids for VN ctest-vn-00056913: {} 2026-01-22 16:13:29,644 - DEBUG - Services list from nova: [, , , ] 2026-01-22 16:13:30,796 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5062-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5062-2) 2026-01-22 16:13:32,270 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5062-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5062-1) 2026-01-22 16:13:32,270 - INFO - Waiting for VM ctest-TestBasicPolicy-61505830-67628429 to be up.. 2026-01-22 16:13:32,373 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-22 16:13:37,470 - DEBUG - VM is in ACTIVE state now 2026-01-22 16:13:37,470 - INFO - VM name : ctest-TestBasicPolicy-61505830-67628429 2026-01-22 16:13:37,601 - DEBUG - VM ctest-TestBasicPolicy-61505830-67628429 ID is c0511684-574f-47bd-9b8e-1964a6d729e5 2026-01-22 16:13:37,625 - DEBUG - VM ctest-TestBasicPolicy-61505830-67628429 launched on Node an-jenkins-deploy-platform-ansible-os-5062-2 2026-01-22 16:13:37,723 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/c0511684-574f-47bd-9b8e-1964a6d729e5 2026-01-22 16:13:38,038 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/c0511684-574f-47bd-9b8e-1964a6d729e5 2026-01-22 16:13:38,094 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/4fa93f2a-aefb-4731-9e17-77c52bdbd6df 2026-01-22 16:13:41,342 - 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 1003ms') 2026-01-22 16:13:41,343 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61505830-67628429 failed! 2026-01-22 16:13:41,368 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61505830:ctest-vn-56411536 is 206.168.151.65 and allocation pool is NOT set 2026-01-22 16:13:43,430 - 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=4.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.535 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.535/2.334/4.133/1.799 ms') 2026-01-22 16:13:43,430 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61505830-67628429 passed 2026-01-22 16:13:43,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:13:43,548 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61505830-67628429, IP 206.168.151.67, Port 22 2026-01-22 16:13:43,715 - DEBUG - VM ctest-TestBasicPolicy-61505830-67628429 is ready for SSH connections 2026-01-22 16:13:43,715 - INFO - Waiting for VM ctest-TestBasicPolicy-61505830-03742961 to be up.. 2026-01-22 16:13:43,818 - DEBUG - VM is in ACTIVE state now 2026-01-22 16:13:43,818 - INFO - VM name : ctest-TestBasicPolicy-61505830-03742961 2026-01-22 16:13:43,938 - DEBUG - VM ctest-TestBasicPolicy-61505830-03742961 ID is 00e16ca7-5b86-4f4b-bf73-e3e92220a79c 2026-01-22 16:13:43,939 - DEBUG - VM ctest-TestBasicPolicy-61505830-03742961 launched on Node an-jenkins-deploy-platform-ansible-os-5062-1 2026-01-22 16:13:44,038 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/00e16ca7-5b86-4f4b-bf73-e3e92220a79c 2026-01-22 16:13:44,050 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/396f67c9-0833-4157-8940-8d942735a67a 2026-01-22 16:13:45,256 - 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.392 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.392/1.882/3.373/1.490 ms') 2026-01-22 16:13:45,256 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61505830-03742961 passed 2026-01-22 16:13:45,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:13:45,374 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61505830-03742961, IP 116.172.31.3, Port 22 2026-01-22 16:13:45,545 - DEBUG - VM ctest-TestBasicPolicy-61505830-03742961 is ready for SSH connections 2026-01-22 16:13:45,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:13:45,545 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.172.31.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-01-22 16:13:45,546 - DEBUG - ping -s 56 -c 3 -W 1 116.172.31.3 2026-01-22 16:13:49,498 - DEBUG - PING 116.172.31.3 (116.172.31.3): 56 data bytes 64 bytes from 116.172.31.3: seq=0 ttl=63 time=7.213 ms 64 bytes from 116.172.31.3: seq=1 ttl=63 time=1.341 ms 64 bytes from 116.172.31.3: seq=2 ttl=63 time=1.191 ms --- 116.172.31.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.191/3.248/7.213 ms 2026-01-22 16:13:49,498 - INFO - Ping to IP 116.172.31.3 from VM ctest-TestBasicPolicy-61505830-67628429 passed 2026-01-22 16:13:49,717 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b919e2fb-0341-46d7-b785-ec7226cdbf08", "href": "http://10.0.0.65:8082/network-policy/b919e2fb-0341-46d7-b785-ec7226cdbf08"}} 2026-01-22 16:13:49,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:13:49,717 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.172.31.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-01-22 16:13:49,717 - DEBUG - ping -s 56 -c 3 -W 1 116.172.31.3 2026-01-22 16:13:52,932 - DEBUG - PING 116.172.31.3 (116.172.31.3): 56 data bytes --- 116.172.31.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-22 16:13:52,932 - WARNING - Ping to IP 116.172.31.3 from VM ctest-TestBasicPolicy-61505830-67628429 failed 2026-01-22 16:13:52,932 - INFO - Deleting VM ctest-TestBasicPolicy-61505830-03742961 2026-01-22 16:13:53,007 - INFO - Deleting VM ctest-TestBasicPolicy-61505830-67628429 2026-01-22 16:13:53,493 - INFO - Deleted policy ctest-policy-allow-all-26396160 2026-01-22 16:13:53,493 - INFO - Deleting VN ctest-vn-00056913 2026-01-22 16:13:53,543 - DEBUG - VN fedc3112-2db2-49b9-b23a-6034231809ab still in use: Unable to complete operation on network fedc3112-2db2-49b9-b23a-6034231809ab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9f945cbe-6455-427a-9d05-ada31def82cf'] 2026-01-22 16:13:53,544 - WARNING - Deleting VN ctest-vn-00056913 failed..Will retry 2026-01-22 16:13:55,790 - DEBUG - Response for deleting network () 2026-01-22 16:13:55,790 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/94e7deb7-5596-4190-b111-34de117ee09c 2026-01-22 16:13:55,797 - DEBUG - Response Code: 404 2026-01-22 16:13:55,797 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-22 16:13:55,804 - DEBUG - Requesting: http://10.0.0.23:8082/domain/801ea07a-2288-434f-a602-075a9d2169e6 2026-01-22 16:13:55,859 - DEBUG - Requesting: http://10.0.0.23:8082/project/98f30fe8-b282-4cd1-a6cb-1e708e55aa0c 2026-01-22 16:13:55,967 - INFO - Validated that VN ctest-vn-00056913 is not found in API Server 2026-01-22 16:13:55,977 - DEBUG - VN ctest-vn-00056913 is not present in Agent 10.0.0.130 2026-01-22 16:13:55,987 - DEBUG - VN ctest-vn-00056913 is not present in Agent 10.0.0.73 2026-01-22 16:13:55,987 - INFO - Validated that VN ctest-vn-00056913 is not in any agent 2026-01-22 16:13:56,026 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00056913 info 2026-01-22 16:13:56,026 - INFO - Deleting VN ctest-vn-56411536 2026-01-22 16:13:56,229 - DEBUG - Response for deleting network () 2026-01-22 16:13:56,229 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/a55b337e-11e1-46be-8e4d-9d24732ec4fe 2026-01-22 16:13:56,245 - DEBUG - Response Code: 404 2026-01-22 16:13:56,245 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-01-22 16:13:56,254 - DEBUG - Requesting: http://10.0.0.23:8082/domain/801ea07a-2288-434f-a602-075a9d2169e6 2026-01-22 16:13:56,267 - DEBUG - Requesting: http://10.0.0.23:8082/project/98f30fe8-b282-4cd1-a6cb-1e708e55aa0c 2026-01-22 16:13:56,367 - INFO - Validated that VN ctest-vn-56411536 is not found in API Server 2026-01-22 16:13:56,378 - DEBUG - VN ctest-vn-56411536 is not present in Agent 10.0.0.130 2026-01-22 16:13:56,390 - DEBUG - VN ctest-vn-56411536 is not present in Agent 10.0.0.73 2026-01-22 16:13:56,390 - INFO - Validated that VN ctest-vn-56411536 is not in any agent 2026-01-22 16:13:56,421 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56411536 info 2026-01-22 16:13:57,756 - DEBUG - No XMPP flaps were noticed during the test
2026-01-22 16:13:57,756 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-01-22 16:13:57,756 - INFO - -------------------------------------------------------------------------------- 2026-01-22 16:13:58,597 - INFO - Deleted project: ctest-TestBasicPolicy-61505830, ID : 98f30fe8-b282-4cd1-a6cb-1e708e55aa0c