2026-06-15 02:26:12,119 - INFO - Domain Default found not creating 2026-06-15 02:26:12,285 - INFO - Project ctest-TestBasicPolicy-48976246 not found, creating it 2026-06-15 02:26:12,786 - INFO - Created Project:ctest-TestBasicPolicy-48976246, ID : 7a70a46a-f5a6-4537-952f-c3e6de11f341 2026-06-15 02:26:14,214 - INFO - ================================================================================ 2026-06-15 02:26:14,214 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-15 02:26:14,214 - 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-06-15 02:26:15,502 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0', '10.20.0.25': '0'}, '10.0.0.130': {'10.20.0.25': '0', '10.20.0.129': '0'}} with 2026-06-15 02:26:15,502 - INFO - Initial checks done. Running the testcase now 2026-06-15 02:26:15,502 - INFO - 2026-06-15 02:26:16,134 - DEBUG - Response for create_network : {'network': {'id': '2547effa-e196-4052-a2b1-ffa20a843762', 'name': 'ctest-vn-49586317', 'tenant_id': '7a70a46af5a64537952fc3e6de11f341', 'project_id': '7a70a46af5a64537952fc3e6de11f341', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48976246', 'ctest-vn-49586317'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 02:26:16,405 - DEBUG - Response for create_subnet : {'subnet': {'id': '3080f198-7c33-4382-a9f5-7f16cd1bc4e7', 'name': '', 'tenant_id': '7a70a46af5a64537952fc3e6de11f341', 'network_id': '2547effa-e196-4052-a2b1-ffa20a843762', 'ip_version': 4, 'cidr': '132.71.125.64/26', 'allocation_pools': [{'start': '132.71.125.66', 'end': '132.71.125.126'}], 'gateway_ip': '132.71.125.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.71.125.66', 'tags': [], 'project_id': '7a70a46af5a64537952fc3e6de11f341'}} 2026-06-15 02:26:16,423 - INFO - Created VN ctest-vn-49586317 2026-06-15 02:26:16,437 - DEBUG - VN ctest-vn-49586317 UUID is 2547effa-e196-4052-a2b1-ffa20a843762 2026-06-15 02:26:16,790 - DEBUG - Response for create_network : {'network': {'id': '1ba3f2cc-ed46-4766-84c1-0254d2fba022', 'name': 'ctest-vn-42325467', 'tenant_id': '7a70a46af5a64537952fc3e6de11f341', 'project_id': '7a70a46af5a64537952fc3e6de11f341', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48976246', 'ctest-vn-42325467'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 02:26:17,001 - DEBUG - Response for create_subnet : {'subnet': {'id': '45e3956d-20fd-4fab-8a51-a3972d006dc6', 'name': '', 'tenant_id': '7a70a46af5a64537952fc3e6de11f341', 'network_id': '1ba3f2cc-ed46-4766-84c1-0254d2fba022', 'ip_version': 4, 'cidr': '198.197.128.64/26', 'allocation_pools': [{'start': '198.197.128.66', 'end': '198.197.128.126'}], 'gateway_ip': '198.197.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.197.128.66', 'tags': [], 'project_id': '7a70a46af5a64537952fc3e6de11f341'}} 2026-06-15 02:26:17,022 - INFO - Created VN ctest-vn-42325467 2026-06-15 02:26:17,035 - DEBUG - VN ctest-vn-42325467 UUID is 1ba3f2cc-ed46-4766-84c1-0254d2fba022 2026-06-15 02:26:17,112 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317, 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-48976246:ctest-vn-42325467, 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-06-15 02:26:17,430 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2547effa-e196-4052-a2b1-ffa20a843762', 'name': 'ctest-vn-49586317', 'tenant_id': '7a70a46af5a64537952fc3e6de11f341', 'project_id': '7a70a46af5a64537952fc3e6de11f341', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3080f198-7c33-4382-a9f5-7f16cd1bc4e7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48976246', 'ctest-vn-49586317'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48976246', 'ctest-policy-allow-all-68771469']], 'subnet_ipam': [{'subnet_cidr': '132.71.125.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-15 02:26:17,599 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1ba3f2cc-ed46-4766-84c1-0254d2fba022', 'name': 'ctest-vn-42325467', 'tenant_id': '7a70a46af5a64537952fc3e6de11f341', 'project_id': '7a70a46af5a64537952fc3e6de11f341', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['45e3956d-20fd-4fab-8a51-a3972d006dc6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48976246', 'ctest-vn-42325467'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48976246', 'ctest-policy-allow-all-68771469']], 'subnet_ipam': [{'subnet_cidr': '198.197.128.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-15 02:26:17,696 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-06-15 02:26:17,984 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-06-15 02:26:18,008 - DEBUG - Requesting: http://10.0.0.23:8082/domain/3390ac60-5c4f-4526-adeb-e44fba34e75e 2026-06-15 02:26:18,021 - DEBUG - Requesting: http://10.0.0.23:8082/project/7a70a46a-f5a6-4537-952f-c3e6de11f341 2026-06-15 02:26:18,118 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/2547effa-e196-4052-a2b1-ffa20a843762 2026-06-15 02:26:18,131 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/2547effa-e196-4052-a2b1-ffa20a843762 2026-06-15 02:26:18,143 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/4d42f452-3253-4801-be7e-d327c6e9def5 2026-06-15 02:26:18,151 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/4d42f452-3253-4801-be7e-d327c6e9def5 2026-06-15 02:26:18,158 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/f976f712-78d6-4ad5-b7d0-0607eb6afab6 2026-06-15 02:26:18,168 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-15 02:26:18,169 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/2547effa-e196-4052-a2b1-ffa20a843762 2026-06-15 02:26:18,180 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/4d42f452-3253-4801-be7e-d327c6e9def5 2026-06-15 02:26:18,196 - INFO - Verified VN network id 11 for VN 2547effa-e196-4052-a2b1-ffa20a843762 2026-06-15 02:26:18,196 - INFO - Verifications in API Server for VN ctest-vn-49586317 passed 2026-06-15 02:26:18,196 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/2547effa-e196-4052-a2b1-ffa20a843762 2026-06-15 02:26:18,206 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/4d42f452-3253-4801-be7e-d327c6e9def5 2026-06-15 02:26:18,215 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/4d42f452-3253-4801-be7e-d327c6e9def5 2026-06-15 02:26:18,223 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/f976f712-78d6-4ad5-b7d0-0607eb6afab6 2026-06-15 02:26:18,234 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48976246', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2686379563555373138', 'uuid-lslong': '11723432376448333666'}, 'enable': 'true', 'created': '2026-06-15T02:26:16', 'last-modified': '2026-06-15T02:26:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.835080'} 2026-06-15 02:26:18,239 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-15 02:26:18,244 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48976246', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2686379563555373138', 'uuid-lslong': '11723432376448333666'}, 'enable': 'true', 'created': '2026-06-15T02:26:16', 'last-modified': '2026-06-15T02:26:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.846604'} 2026-06-15 02:26:18,250 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-15 02:26:18,257 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48976246', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2686379563555373138', 'uuid-lslong': '11723432376448333666'}, 'enable': 'true', 'created': '2026-06-15T02:26:16', 'last-modified': '2026-06-15T02:26:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.866014'} 2026-06-15 02:26:18,263 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-15 02:26:18,263 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49586317 passed 2026-06-15 02:26:18,264 - DEBUG - ====Verifying policy data for ctest-vn-49586317 in API_Server ====== 2026-06-15 02:26:18,264 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-06-15 02:26:18,270 - DEBUG - Requesting: http://10.0.0.23:8082/domain/3390ac60-5c4f-4526-adeb-e44fba34e75e 2026-06-15 02:26:18,281 - DEBUG - Requesting: http://10.0.0.23:8082/project/7a70a46a-f5a6-4537-952f-c3e6de11f341 2026-06-15 02:26:18,374 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/2547effa-e196-4052-a2b1-ffa20a843762 2026-06-15 02:26:18,386 - DEBUG - ==>Verifying data for policy with id: 4d8c7041-977b-4851-913d-91e57ac31be6, fqn: ['default-domain', 'ctest-TestBasicPolicy-48976246', 'ctest-policy-allow-all-68771469'] 2026-06-15 02:26:18,387 - INFO - VN ctest-vn-49586317 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-15 02:26:18,387 - DEBUG - Verifying the vn in opserver 2026-06-15 02:26:18,387 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317 virtual network link through opserver 10.0.0.23 2026-06-15 02:26:18,387 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-06-15 02:26:18,675 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-06-15 02:26:18,729 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317?flat'} 2026-06-15 02:26:18,730 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317 virtual network link through opserver 10.0.0.33 2026-06-15 02:26:18,730 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-15 02:26:19,020 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-15 02:26:19,077 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317?flat'} 2026-06-15 02:26:19,077 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317 virtual network link through opserver 10.0.0.65 2026-06-15 02:26:19,077 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-06-15 02:26:19,368 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-06-15 02:26:19,418 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317?flat'} 2026-06-15 02:26:19,418 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317 is found in opserver 2026-06-15 02:26:19,439 - DEBUG - Do not have enough data to verify VN in agent 2026-06-15 02:26:19,450 - DEBUG - VRF ids for VN ctest-vn-49586317: {} 2026-06-15 02:26:19,450 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-06-15 02:26:19,457 - DEBUG - Requesting: http://10.0.0.23:8082/domain/3390ac60-5c4f-4526-adeb-e44fba34e75e 2026-06-15 02:26:19,470 - DEBUG - Requesting: http://10.0.0.23:8082/project/7a70a46a-f5a6-4537-952f-c3e6de11f341 2026-06-15 02:26:19,585 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/1ba3f2cc-ed46-4766-84c1-0254d2fba022 2026-06-15 02:26:19,600 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/1ba3f2cc-ed46-4766-84c1-0254d2fba022 2026-06-15 02:26:19,611 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1e00374c-efc5-46f1-8685-bfd230f2d08f 2026-06-15 02:26:19,620 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1e00374c-efc5-46f1-8685-bfd230f2d08f 2026-06-15 02:26:19,628 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/a50ae6a6-841a-4045-9be7-cc25bd8e912c 2026-06-15 02:26:19,636 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-15 02:26:19,636 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/1ba3f2cc-ed46-4766-84c1-0254d2fba022 2026-06-15 02:26:19,648 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1e00374c-efc5-46f1-8685-bfd230f2d08f 2026-06-15 02:26:19,667 - INFO - Verified VN network id 12 for VN 1ba3f2cc-ed46-4766-84c1-0254d2fba022 2026-06-15 02:26:19,667 - INFO - Verifications in API Server for VN ctest-vn-42325467 passed 2026-06-15 02:26:19,667 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/1ba3f2cc-ed46-4766-84c1-0254d2fba022 2026-06-15 02:26:19,679 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1e00374c-efc5-46f1-8685-bfd230f2d08f 2026-06-15 02:26:19,688 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1e00374c-efc5-46f1-8685-bfd230f2d08f 2026-06-15 02:26:19,696 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/a50ae6a6-841a-4045-9be7-cc25bd8e912c 2026-06-15 02:26:19,708 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-42325467', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48976246', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1991702422195947366', 'uuid-lslong': '9565929646851858466'}, 'enable': 'true', 'created': '2026-06-15T02:26:16', 'last-modified': '2026-06-15T02:26:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.134433'} 2026-06-15 02:26:19,713 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-15 02:26:19,720 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-42325467', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48976246', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1991702422195947366', 'uuid-lslong': '9565929646851858466'}, 'enable': 'true', 'created': '2026-06-15T02:26:16', 'last-modified': '2026-06-15T02:26:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.145894'} 2026-06-15 02:26:19,727 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-15 02:26:19,732 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-42325467', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48976246', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1991702422195947366', 'uuid-lslong': '9565929646851858466'}, 'enable': 'true', 'created': '2026-06-15T02:26:16', 'last-modified': '2026-06-15T02:26:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.155644'} 2026-06-15 02:26:19,738 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-15 02:26:19,738 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42325467 passed 2026-06-15 02:26:19,738 - DEBUG - ====Verifying policy data for ctest-vn-42325467 in API_Server ====== 2026-06-15 02:26:19,738 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-06-15 02:26:19,748 - DEBUG - Requesting: http://10.0.0.23:8082/domain/3390ac60-5c4f-4526-adeb-e44fba34e75e 2026-06-15 02:26:19,764 - DEBUG - Requesting: http://10.0.0.23:8082/project/7a70a46a-f5a6-4537-952f-c3e6de11f341 2026-06-15 02:26:19,880 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/1ba3f2cc-ed46-4766-84c1-0254d2fba022 2026-06-15 02:26:19,897 - DEBUG - ==>Verifying data for policy with id: 4d8c7041-977b-4851-913d-91e57ac31be6, fqn: ['default-domain', 'ctest-TestBasicPolicy-48976246', 'ctest-policy-allow-all-68771469'] 2026-06-15 02:26:19,897 - INFO - VN ctest-vn-42325467 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-15 02:26:19,897 - DEBUG - Verifying the vn in opserver 2026-06-15 02:26:19,897 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-42325467 virtual network link through opserver 10.0.0.23 2026-06-15 02:26:19,897 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-06-15 02:26:19,951 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-42325467', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-42325467?flat'} 2026-06-15 02:26:19,951 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-42325467 virtual network link through opserver 10.0.0.33 2026-06-15 02:26:19,951 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-06-15 02:26:19,991 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-42325467', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-42325467?flat'} 2026-06-15 02:26:19,991 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-42325467 virtual network link through opserver 10.0.0.65 2026-06-15 02:26:19,991 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2026-06-15 02:26:20,039 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-42325467', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-42325467?flat'} 2026-06-15 02:26:20,039 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-42325467 is found in opserver 2026-06-15 02:26:20,064 - DEBUG - Do not have enough data to verify VN in agent 2026-06-15 02:26:20,076 - DEBUG - VRF ids for VN ctest-vn-42325467: {} 2026-06-15 02:26:20,135 - DEBUG - Services list from nova: [, , , ] 2026-06-15 02:26:21,146 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5940-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5940-1) 2026-06-15 02:26:22,284 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5940-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5940-2) 2026-06-15 02:26:22,284 - INFO - Waiting for VM ctest-TestBasicPolicy-48976246-41188079 to be up.. 2026-06-15 02:26:22,353 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 02:26:27,435 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 02:26:32,512 - DEBUG - VM is in ACTIVE state now 2026-06-15 02:26:32,512 - INFO - VM name : ctest-TestBasicPolicy-48976246-41188079 2026-06-15 02:26:32,605 - DEBUG - VM ctest-TestBasicPolicy-48976246-41188079 ID is a67ee3f6-afda-4c34-a7b1-553589298787 2026-06-15 02:26:32,630 - DEBUG - VM ctest-TestBasicPolicy-48976246-41188079 launched on Node an-jenkins-deploy-platform-ansible-os-5940-1 2026-06-15 02:26:32,716 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a67ee3f6-afda-4c34-a7b1-553589298787 2026-06-15 02:26:33,016 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a67ee3f6-afda-4c34-a7b1-553589298787 2026-06-15 02:26:33,050 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/d08d1280-90d2-478d-870f-9ad0ff5070a0 2026-06-15 02:26:36,258 - 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 1030ms') 2026-06-15 02:26:36,258 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48976246-41188079 failed! 2026-06-15 02:26:36,276 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317 is 132.71.125.65 and allocation pool is NOT set 2026-06-15 02:26:40,359 - 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-06-15 02:26:40,359 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48976246-41188079 failed! 2026-06-15 02:26:40,386 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317 is 132.71.125.65 and allocation pool is NOT set 2026-06-15 02:26:44,452 - 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-06-15 02:26:44,452 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48976246-41188079 failed! 2026-06-15 02:26:44,465 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317 is 132.71.125.65 and allocation pool is NOT set 2026-06-15 02:26:48,550 - 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 1021ms') 2026-06-15 02:26:48,550 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48976246-41188079 failed! 2026-06-15 02:26:48,563 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317 is 132.71.125.65 and allocation pool is NOT set 2026-06-15 02:26:52,648 - 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 1013ms') 2026-06-15 02:26:52,649 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48976246-41188079 failed! 2026-06-15 02:26:52,663 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317 is 132.71.125.65 and allocation pool is NOT set 2026-06-15 02:26:56,740 - 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 1015ms') 2026-06-15 02:26:56,740 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48976246-41188079 failed! 2026-06-15 02:26:56,754 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48976246:ctest-vn-49586317 is 132.71.125.65 and allocation pool is NOT set 2026-06-15 02:26:58,817 - 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=13.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.08 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.080/7.241/13.403/6.161 ms') 2026-06-15 02:26:58,817 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48976246-41188079 passed 2026-06-15 02:26:58,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 02:26:58,884 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48976246-41188079, IP 132.71.125.67, Port 22 2026-06-15 02:26:58,957 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-15 02:26:59,046 - DEBUG - VM ctest-TestBasicPolicy-48976246-41188079 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-15 02:27:04,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 02:27:04,047 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48976246-41188079, IP 132.71.125.67, Port 22 2026-06-15 02:27:04,116 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-15 02:27:04,224 - DEBUG - VM ctest-TestBasicPolicy-48976246-41188079 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-15 02:27:09,224 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 02:27:09,225 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48976246-41188079, IP 132.71.125.67, Port 22 2026-06-15 02:27:09,392 - DEBUG - VM ctest-TestBasicPolicy-48976246-41188079 is ready for SSH connections 2026-06-15 02:27:09,392 - INFO - Waiting for VM ctest-TestBasicPolicy-48976246-79807738 to be up.. 2026-06-15 02:27:09,472 - DEBUG - VM is in ACTIVE state now 2026-06-15 02:27:09,472 - INFO - VM name : ctest-TestBasicPolicy-48976246-79807738 2026-06-15 02:27:09,556 - DEBUG - VM ctest-TestBasicPolicy-48976246-79807738 ID is 262e07f6-f179-41a2-b8e7-fe1679a36347 2026-06-15 02:27:09,556 - DEBUG - VM ctest-TestBasicPolicy-48976246-79807738 launched on Node an-jenkins-deploy-platform-ansible-os-5940-2 2026-06-15 02:27:09,645 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/262e07f6-f179-41a2-b8e7-fe1679a36347 2026-06-15 02:27:09,656 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/9ca4e250-dc9a-457a-9126-d2361a653aac 2026-06-15 02:27:10,825 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.99 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.990/3.305/3.621/0.315 ms') 2026-06-15 02:27:10,825 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48976246-79807738 passed 2026-06-15 02:27:10,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 02:27:10,892 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48976246-79807738, IP 198.197.128.67, Port 22 2026-06-15 02:27:10,959 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-15 02:27:11,032 - DEBUG - VM ctest-TestBasicPolicy-48976246-79807738 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-15 02:27:16,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 02:27:16,033 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48976246-79807738, IP 198.197.128.67, Port 22 2026-06-15 02:27:16,226 - DEBUG - VM ctest-TestBasicPolicy-48976246-79807738 is ready for SSH connections 2026-06-15 02:27:16,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 02:27:16,226 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.197.128.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-06-15 02:27:16,226 - DEBUG - ping -s 56 -c 3 -W 1 198.197.128.67 2026-06-15 02:27:58,412 - DEBUG - PING 198.197.128.67 (198.197.128.67) 56(84) bytes of data. 64 bytes from 198.197.128.67: icmp_req=1 ttl=63 time=8.85 ms 64 bytes from 198.197.128.67: icmp_req=2 ttl=63 time=1.29 ms 64 bytes from 198.197.128.67: icmp_req=3 ttl=63 time=1.33 ms --- 198.197.128.67 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.293/3.828/8.857/3.556 ms 2026-06-15 02:27:58,412 - INFO - Ping to IP 198.197.128.67 from VM ctest-TestBasicPolicy-48976246-41188079 passed 2026-06-15 02:27:58,612 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4d8c7041-977b-4851-913d-91e57ac31be6", "href": "http://10.0.0.65:8082/network-policy/4d8c7041-977b-4851-913d-91e57ac31be6"}} 2026-06-15 02:27:58,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 02:27:58,612 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.197.128.67, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-06-15 02:27:58,612 - DEBUG - ping -s 56 -c 3 -W 1 198.197.128.67 2026-06-15 02:28:01,835 - DEBUG - PING 198.197.128.67 (198.197.128.67) 56(84) bytes of data. 64 bytes from 198.197.128.67: icmp_req=1 ttl=63 time=4.04 ms --- 198.197.128.67 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2001ms rtt min/avg/max/mdev = 4.044/4.044/4.044/0.000 ms 2026-06-15 02:28:01,836 - WARNING - Ping to IP 198.197.128.67 from VM ctest-TestBasicPolicy-48976246-41188079 failed 2026-06-15 02:28:01,836 - INFO - Deleting VM ctest-TestBasicPolicy-48976246-79807738 2026-06-15 02:28:01,911 - INFO - Deleting VM ctest-TestBasicPolicy-48976246-41188079 2026-06-15 02:28:02,399 - INFO - Deleted policy ctest-policy-allow-all-68771469 2026-06-15 02:28:02,399 - INFO - Deleting VN ctest-vn-42325467 2026-06-15 02:28:02,453 - DEBUG - VN 1ba3f2cc-ed46-4766-84c1-0254d2fba022 still in use: Unable to complete operation on network 1ba3f2cc-ed46-4766-84c1-0254d2fba022. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-03a99306-7bb4-4495-b333-ea645dd08f5e'] 2026-06-15 02:28:02,453 - WARNING - Deleting VN ctest-vn-42325467 failed..Will retry 2026-06-15 02:28:04,617 - DEBUG - Response for deleting network () 2026-06-15 02:28:04,617 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1e00374c-efc5-46f1-8685-bfd230f2d08f 2026-06-15 02:28:04,627 - DEBUG - Response Code: 404 2026-06-15 02:28:04,627 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-06-15 02:28:04,633 - DEBUG - Requesting: http://10.0.0.23:8082/domain/3390ac60-5c4f-4526-adeb-e44fba34e75e 2026-06-15 02:28:04,649 - DEBUG - Requesting: http://10.0.0.23:8082/project/7a70a46a-f5a6-4537-952f-c3e6de11f341 2026-06-15 02:28:04,741 - INFO - Validated that VN ctest-vn-42325467 is not found in API Server 2026-06-15 02:28:04,752 - DEBUG - VN ctest-vn-42325467 is not present in Agent 10.0.0.141 2026-06-15 02:28:04,764 - DEBUG - VN ctest-vn-42325467 is not present in Agent 10.0.0.130 2026-06-15 02:28:04,764 - INFO - Validated that VN ctest-vn-42325467 is not in any agent 2026-06-15 02:28:04,798 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42325467 info 2026-06-15 02:28:04,798 - INFO - Deleting VN ctest-vn-49586317 2026-06-15 02:28:04,939 - DEBUG - Response for deleting network () 2026-06-15 02:28:04,939 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/4d42f452-3253-4801-be7e-d327c6e9def5 2026-06-15 02:28:04,946 - DEBUG - Response Code: 404 2026-06-15 02:28:04,946 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-06-15 02:28:04,954 - DEBUG - Requesting: http://10.0.0.23:8082/domain/3390ac60-5c4f-4526-adeb-e44fba34e75e 2026-06-15 02:28:04,988 - DEBUG - Requesting: http://10.0.0.23:8082/project/7a70a46a-f5a6-4537-952f-c3e6de11f341 2026-06-15 02:28:05,095 - INFO - Validated that VN ctest-vn-49586317 is not found in API Server 2026-06-15 02:28:05,106 - DEBUG - VN ctest-vn-49586317 is not present in Agent 10.0.0.141 2026-06-15 02:28:05,119 - DEBUG - VN ctest-vn-49586317 is not present in Agent 10.0.0.130 2026-06-15 02:28:05,119 - INFO - Validated that VN ctest-vn-49586317 is not in any agent 2026-06-15 02:28:05,158 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49586317 info 2026-06-15 02:28:06,448 - DEBUG - No XMPP flaps were noticed during the test 2026-06-15 02:28:06,448 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:52] 2026-06-15 02:28:06,448 - INFO - -------------------------------------------------------------------------------- 2026-06-15 02:28:07,181 - INFO - Deleted project: ctest-TestBasicPolicy-48976246, ID : 7a70a46a-f5a6-4537-952f-c3e6de11f341