2026-02-16 02:31:37,104 - INFO - Domain Default found not creating 2026-02-16 02:31:37,425 - INFO - Project ctest-TestBasicPolicy-23887598 not found, creating it 2026-02-16 02:31:38,067 - INFO - Created Project:ctest-TestBasicPolicy-23887598, ID : 73142a7d-2c30-4c54-b311-d1540b4ce02b 2026-02-16 02:31:39,648 - INFO - ================================================================================ 2026-02-16 02:31:39,648 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-16 02:31:39,648 - 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-16 02:31:40,909 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0', '10.20.0.129': '0'}, '10.0.0.65': {'10.20.0.129': '0', '10.20.0.254': '0'}} with 2026-02-16 02:31:40,909 - INFO - Initial checks done. Running the testcase now 2026-02-16 02:31:40,909 - INFO - 2026-02-16 02:31:41,566 - DEBUG - Response for create_network : {'network': {'id': '4d61cbc7-23f9-4813-91a7-35aa2407fe35', 'name': 'ctest-vn-68004794', 'tenant_id': '73142a7d2c304c54b311d1540b4ce02b', 'project_id': '73142a7d2c304c54b311d1540b4ce02b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23887598', 'ctest-vn-68004794'], 'port_security_enabled': True, 'description': ''}} 2026-02-16 02:31:41,862 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbea4114-dbe6-42e7-bd04-86527da9cd50', 'name': '', 'tenant_id': '73142a7d2c304c54b311d1540b4ce02b', 'network_id': '4d61cbc7-23f9-4813-91a7-35aa2407fe35', 'ip_version': 4, 'cidr': '123.83.229.192/26', 'allocation_pools': [{'start': '123.83.229.194', 'end': '123.83.229.254'}], 'gateway_ip': '123.83.229.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.83.229.194', 'tags': [], 'project_id': '73142a7d2c304c54b311d1540b4ce02b'}} 2026-02-16 02:31:41,888 - INFO - Created VN ctest-vn-68004794 2026-02-16 02:31:41,898 - DEBUG - VN ctest-vn-68004794 UUID is 4d61cbc7-23f9-4813-91a7-35aa2407fe35 2026-02-16 02:31:42,253 - DEBUG - Response for create_network : {'network': {'id': 'a765324a-4b97-460a-bb32-e94d61b85987', 'name': 'ctest-vn-82762098', 'tenant_id': '73142a7d2c304c54b311d1540b4ce02b', 'project_id': '73142a7d2c304c54b311d1540b4ce02b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23887598', 'ctest-vn-82762098'], 'port_security_enabled': True, 'description': ''}} 2026-02-16 02:31:42,459 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a6f1715-245e-4b0f-933a-ba6ff63d1110', 'name': '', 'tenant_id': '73142a7d2c304c54b311d1540b4ce02b', 'network_id': 'a765324a-4b97-460a-bb32-e94d61b85987', 'ip_version': 4, 'cidr': '26.51.237.0/26', 'allocation_pools': [{'start': '26.51.237.2', 'end': '26.51.237.62'}], 'gateway_ip': '26.51.237.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.51.237.2', 'tags': [], 'project_id': '73142a7d2c304c54b311d1540b4ce02b'}} 2026-02-16 02:31:42,479 - INFO - Created VN ctest-vn-82762098 2026-02-16 02:31:42,489 - DEBUG - VN ctest-vn-82762098 UUID is a765324a-4b97-460a-bb32-e94d61b85987 2026-02-16 02:31:42,572 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794, 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-23887598:ctest-vn-82762098, 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-16 02:31:42,883 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4d61cbc7-23f9-4813-91a7-35aa2407fe35', 'name': 'ctest-vn-68004794', 'tenant_id': '73142a7d2c304c54b311d1540b4ce02b', 'project_id': '73142a7d2c304c54b311d1540b4ce02b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fbea4114-dbe6-42e7-bd04-86527da9cd50'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23887598', 'ctest-vn-68004794'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23887598', 'ctest-policy-allow-all-73171023']], 'subnet_ipam': [{'subnet_cidr': '123.83.229.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-16 02:31:43,096 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a765324a-4b97-460a-bb32-e94d61b85987', 'name': 'ctest-vn-82762098', 'tenant_id': '73142a7d2c304c54b311d1540b4ce02b', 'project_id': '73142a7d2c304c54b311d1540b4ce02b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6a6f1715-245e-4b0f-933a-ba6ff63d1110'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23887598', 'ctest-vn-82762098'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23887598', 'ctest-policy-allow-all-73171023']], 'subnet_ipam': [{'subnet_cidr': '26.51.237.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-16 02:31:43,184 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-16 02:31:43,501 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-16 02:31:43,529 - DEBUG - Requesting: http://10.0.0.27:8082/domain/026ea67f-9b7a-4f1c-a755-90b25d4ac1dc 2026-02-16 02:31:43,542 - DEBUG - Requesting: http://10.0.0.27:8082/project/73142a7d-2c30-4c54-b311-d1540b4ce02b 2026-02-16 02:31:43,651 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4d61cbc7-23f9-4813-91a7-35aa2407fe35 2026-02-16 02:31:43,666 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4d61cbc7-23f9-4813-91a7-35aa2407fe35 2026-02-16 02:31:43,676 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0dfb914c-015c-4482-8263-ee6438c3636f 2026-02-16 02:31:43,684 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0dfb914c-015c-4482-8263-ee6438c3636f 2026-02-16 02:31:43,691 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/1eb3f1ab-ffe1-42f4-8a92-cac58439ffa6 2026-02-16 02:31:43,700 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-16 02:31:43,700 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4d61cbc7-23f9-4813-91a7-35aa2407fe35 2026-02-16 02:31:43,709 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0dfb914c-015c-4482-8263-ee6438c3636f 2026-02-16 02:31:43,731 - INFO - Verified VN network id 14 for VN 4d61cbc7-23f9-4813-91a7-35aa2407fe35 2026-02-16 02:31:43,731 - INFO - Verifications in API Server for VN ctest-vn-68004794 passed 2026-02-16 02:31:43,731 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4d61cbc7-23f9-4813-91a7-35aa2407fe35 2026-02-16 02:31:43,740 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0dfb914c-015c-4482-8263-ee6438c3636f 2026-02-16 02:31:43,748 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0dfb914c-015c-4482-8263-ee6438c3636f 2026-02-16 02:31:43,755 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/1eb3f1ab-ffe1-42f4-8a92-cac58439ffa6 2026-02-16 02:31:43,767 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23887598', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5575961869823854611', 'uuid-lslong': '10495416461475446325'}, 'enable': 'true', 'created': '2026-02-16T02:31:41', 'last-modified': '2026-02-16T02:31:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.918155'} 2026-02-16 02:31:43,772 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-16 02:31:43,777 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23887598', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5575961869823854611', 'uuid-lslong': '10495416461475446325'}, 'enable': 'true', 'created': '2026-02-16T02:31:41', 'last-modified': '2026-02-16T02:31:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.923829'} 2026-02-16 02:31:43,782 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-16 02:31:43,788 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23887598', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5575961869823854611', 'uuid-lslong': '10495416461475446325'}, 'enable': 'true', 'created': '2026-02-16T02:31:41', 'last-modified': '2026-02-16T02:31:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.938824'} 2026-02-16 02:31:43,793 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-16 02:31:43,793 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68004794 passed 2026-02-16 02:31:43,793 - DEBUG - ====Verifying policy data for ctest-vn-68004794 in API_Server ====== 2026-02-16 02:31:43,793 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-16 02:31:43,804 - DEBUG - Requesting: http://10.0.0.27:8082/domain/026ea67f-9b7a-4f1c-a755-90b25d4ac1dc 2026-02-16 02:31:43,815 - DEBUG - Requesting: http://10.0.0.27:8082/project/73142a7d-2c30-4c54-b311-d1540b4ce02b 2026-02-16 02:31:43,906 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4d61cbc7-23f9-4813-91a7-35aa2407fe35 2026-02-16 02:31:43,915 - DEBUG - ==>Verifying data for policy with id: 04190e4c-766c-4ab2-bebb-70e78212b3c2, fqn: ['default-domain', 'ctest-TestBasicPolicy-23887598', 'ctest-policy-allow-all-73171023'] 2026-02-16 02:31:43,915 - INFO - VN ctest-vn-68004794 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-16 02:31:43,915 - DEBUG - Verifying the vn in opserver 2026-02-16 02:31:43,915 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794 virtual network link through opserver 10.0.0.27 2026-02-16 02:31:43,915 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-02-16 02:31:44,210 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-02-16 02:31:44,267 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794?flat'} 2026-02-16 02:31:44,267 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794 virtual network link through opserver 10.0.0.50 2026-02-16 02:31:44,268 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-16 02:31:44,572 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-16 02:31:44,639 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794?flat'} 2026-02-16 02:31:44,640 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794 virtual network link through opserver 10.0.0.23 2026-02-16 02:31:44,640 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-16 02:31:44,983 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-16 02:31:45,055 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794?flat'} 2026-02-16 02:31:45,056 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794 is found in opserver 2026-02-16 02:31:45,078 - DEBUG - Do not have enough data to verify VN in agent 2026-02-16 02:31:45,087 - DEBUG - VRF ids for VN ctest-vn-68004794: {} 2026-02-16 02:31:45,088 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-16 02:31:45,094 - DEBUG - Requesting: http://10.0.0.27:8082/domain/026ea67f-9b7a-4f1c-a755-90b25d4ac1dc 2026-02-16 02:31:45,105 - DEBUG - Requesting: http://10.0.0.27:8082/project/73142a7d-2c30-4c54-b311-d1540b4ce02b 2026-02-16 02:31:45,203 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a765324a-4b97-460a-bb32-e94d61b85987 2026-02-16 02:31:45,220 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a765324a-4b97-460a-bb32-e94d61b85987 2026-02-16 02:31:45,233 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/87f8ced3-8261-41ee-af6f-9976294dd641 2026-02-16 02:31:45,243 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/87f8ced3-8261-41ee-af6f-9976294dd641 2026-02-16 02:31:45,253 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/a890775c-7d68-40bd-825d-fc5f25714021 2026-02-16 02:31:45,259 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-16 02:31:45,259 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a765324a-4b97-460a-bb32-e94d61b85987 2026-02-16 02:31:45,269 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/87f8ced3-8261-41ee-af6f-9976294dd641 2026-02-16 02:31:45,285 - INFO - Verified VN network id 15 for VN a765324a-4b97-460a-bb32-e94d61b85987 2026-02-16 02:31:45,286 - INFO - Verifications in API Server for VN ctest-vn-82762098 passed 2026-02-16 02:31:45,286 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a765324a-4b97-460a-bb32-e94d61b85987 2026-02-16 02:31:45,297 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/87f8ced3-8261-41ee-af6f-9976294dd641 2026-02-16 02:31:45,305 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/87f8ced3-8261-41ee-af6f-9976294dd641 2026-02-16 02:31:45,314 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/a890775c-7d68-40bd-825d-fc5f25714021 2026-02-16 02:31:45,326 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-82762098', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23887598', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12062102471658915338', 'uuid-lslong': '13489100352489281927'}, 'enable': 'true', 'created': '2026-02-16T02:31:42', 'last-modified': '2026-02-16T02:31:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.268125'} 2026-02-16 02:31:45,332 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-16 02:31:45,337 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-82762098', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23887598', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12062102471658915338', 'uuid-lslong': '13489100352489281927'}, 'enable': 'true', 'created': '2026-02-16T02:31:42', 'last-modified': '2026-02-16T02:31:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.273686'} 2026-02-16 02:31:45,343 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-16 02:31:45,348 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-82762098', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23887598', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12062102471658915338', 'uuid-lslong': '13489100352489281927'}, 'enable': 'true', 'created': '2026-02-16T02:31:42', 'last-modified': '2026-02-16T02:31:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.290667'} 2026-02-16 02:31:45,355 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-02-16 02:31:45,355 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82762098 passed 2026-02-16 02:31:45,355 - DEBUG - ====Verifying policy data for ctest-vn-82762098 in API_Server ====== 2026-02-16 02:31:45,355 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-16 02:31:45,361 - DEBUG - Requesting: http://10.0.0.27:8082/domain/026ea67f-9b7a-4f1c-a755-90b25d4ac1dc 2026-02-16 02:31:45,371 - DEBUG - Requesting: http://10.0.0.27:8082/project/73142a7d-2c30-4c54-b311-d1540b4ce02b 2026-02-16 02:31:45,465 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a765324a-4b97-460a-bb32-e94d61b85987 2026-02-16 02:31:45,475 - DEBUG - ==>Verifying data for policy with id: 04190e4c-766c-4ab2-bebb-70e78212b3c2, fqn: ['default-domain', 'ctest-TestBasicPolicy-23887598', 'ctest-policy-allow-all-73171023'] 2026-02-16 02:31:45,475 - INFO - VN ctest-vn-82762098 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-16 02:31:45,475 - DEBUG - Verifying the vn in opserver 2026-02-16 02:31:45,475 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-82762098 virtual network link through opserver 10.0.0.27 2026-02-16 02:31:45,475 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-02-16 02:31:45,556 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-82762098', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-82762098?flat'} 2026-02-16 02:31:45,556 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-82762098 virtual network link through opserver 10.0.0.50 2026-02-16 02:31:45,556 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-16 02:31:45,617 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-82762098', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-82762098?flat'} 2026-02-16 02:31:45,617 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-82762098 virtual network link through opserver 10.0.0.23 2026-02-16 02:31:45,617 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-02-16 02:31:45,681 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-82762098', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-82762098?flat'} 2026-02-16 02:31:45,681 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-82762098 is found in opserver 2026-02-16 02:31:45,705 - DEBUG - Do not have enough data to verify VN in agent 2026-02-16 02:31:45,714 - DEBUG - VRF ids for VN ctest-vn-82762098: {} 2026-02-16 02:31:45,777 - DEBUG - Services list from nova: [, , , ] 2026-02-16 02:31:46,883 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5329-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5329-1) 2026-02-16 02:31:48,225 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5329-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5329-2) 2026-02-16 02:31:48,225 - INFO - Waiting for VM ctest-TestBasicPolicy-23887598-35861532 to be up.. 2026-02-16 02:31:48,310 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-16 02:31:53,389 - DEBUG - VM is in ACTIVE state now 2026-02-16 02:31:53,389 - INFO - VM name : ctest-TestBasicPolicy-23887598-35861532 2026-02-16 02:31:53,468 - DEBUG - VM ctest-TestBasicPolicy-23887598-35861532 ID is 078c092c-6b1b-4bfa-9033-f0c031c34047 2026-02-16 02:31:53,500 - DEBUG - VM ctest-TestBasicPolicy-23887598-35861532 launched on Node an-jenkins-deploy-platform-ansible-os-5329-1 2026-02-16 02:31:53,580 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/078c092c-6b1b-4bfa-9033-f0c031c34047 2026-02-16 02:31:53,878 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/078c092c-6b1b-4bfa-9033-f0c031c34047 2026-02-16 02:31:53,912 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/760d9069-a4ec-4011-9c16-3dda2f19444f 2026-02-16 02:31:57,097 - 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-16 02:31:57,097 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23887598-35861532 failed! 2026-02-16 02:31:57,109 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794 is 123.83.229.193 and allocation pool is NOT set 2026-02-16 02:32:01,203 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2026-02-16 02:32:01,203 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23887598-35861532 failed! 2026-02-16 02:32:01,218 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794 is 123.83.229.193 and allocation pool is NOT set 2026-02-16 02:32:05,291 - 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 1011ms') 2026-02-16 02:32:05,291 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23887598-35861532 failed! 2026-02-16 02:32:05,305 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794 is 123.83.229.193 and allocation pool is NOT set 2026-02-16 02:32:09,394 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2026-02-16 02:32:09,394 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23887598-35861532 failed! 2026-02-16 02:32:09,408 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794 is 123.83.229.193 and allocation pool is NOT set 2026-02-16 02:32:13,486 - 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-02-16 02:32:13,486 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23887598-35861532 failed! 2026-02-16 02:32:13,500 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794 is 123.83.229.193 and allocation pool is NOT set 2026-02-16 02:32:17,576 - 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-16 02:32:17,576 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23887598-35861532 failed! 2026-02-16 02:32:17,590 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794 is 123.83.229.193 and allocation pool is NOT set 2026-02-16 02:32:21,680 - 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 1023ms') 2026-02-16 02:32:21,680 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23887598-35861532 failed! 2026-02-16 02:32:21,692 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794 is 123.83.229.193 and allocation pool is NOT set 2026-02-16 02:32:25,773 - 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 1020ms') 2026-02-16 02:32:25,773 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23887598-35861532 failed! 2026-02-16 02:32:25,786 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23887598:ctest-vn-68004794 is 123.83.229.193 and allocation pool is NOT set 2026-02-16 02:32:27,846 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.71 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 = 2.712/3.783/4.855/1.071 ms') 2026-02-16 02:32:27,846 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23887598-35861532 passed 2026-02-16 02:32:27,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 02:32:27,910 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23887598-35861532, IP 123.83.229.195, Port 22 2026-02-16 02:32:27,974 - 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-02-16 02:32:28,056 - DEBUG - VM ctest-TestBasicPolicy-23887598-35861532 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-16 02:32:33,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 02:32:33,057 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23887598-35861532, IP 123.83.229.195, Port 22 2026-02-16 02:32:33,123 - 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-02-16 02:32:33,208 - DEBUG - VM ctest-TestBasicPolicy-23887598-35861532 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-16 02:32:38,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 02:32:38,209 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23887598-35861532, IP 123.83.229.195, Port 22 2026-02-16 02:32:38,279 - 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-02-16 02:32:38,370 - DEBUG - VM ctest-TestBasicPolicy-23887598-35861532 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-16 02:32:43,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 02:32:43,372 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23887598-35861532, IP 123.83.229.195, Port 22 2026-02-16 02:32:43,539 - DEBUG - VM ctest-TestBasicPolicy-23887598-35861532 is ready for SSH connections 2026-02-16 02:32:43,539 - INFO - Waiting for VM ctest-TestBasicPolicy-23887598-18838240 to be up.. 2026-02-16 02:32:43,625 - DEBUG - VM is in ACTIVE state now 2026-02-16 02:32:43,625 - INFO - VM name : ctest-TestBasicPolicy-23887598-18838240 2026-02-16 02:32:43,704 - DEBUG - VM ctest-TestBasicPolicy-23887598-18838240 ID is e694b8bf-5e0e-4a53-a1f0-d6de7da76903 2026-02-16 02:32:43,704 - DEBUG - VM ctest-TestBasicPolicy-23887598-18838240 launched on Node an-jenkins-deploy-platform-ansible-os-5329-2 2026-02-16 02:32:43,782 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e694b8bf-5e0e-4a53-a1f0-d6de7da76903 2026-02-16 02:32:43,792 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/79438901-4930-4200-82b4-1a48d45c4484 2026-02-16 02:32:44,946 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.90 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 = 1.904/3.122/4.341/1.218 ms') 2026-02-16 02:32:44,946 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23887598-18838240 passed 2026-02-16 02:32:45,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 02:32:45,016 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23887598-18838240, IP 26.51.237.3, Port 22 2026-02-16 02:32:45,083 - 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-02-16 02:32:45,272 - DEBUG - VM ctest-TestBasicPolicy-23887598-18838240 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-16 02:32:50,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 02:32:50,273 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23887598-18838240, IP 26.51.237.3, Port 22 2026-02-16 02:32:50,439 - DEBUG - VM ctest-TestBasicPolicy-23887598-18838240 is ready for SSH connections 2026-02-16 02:32:50,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 02:32:50,440 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.51.237.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-16 02:32:50,440 - DEBUG - ping -s 56 -c 3 -W 1 26.51.237.3 2026-02-16 02:33:07,533 - DEBUG - PING 26.51.237.3 (26.51.237.3) 56(84) bytes of data. 64 bytes from 26.51.237.3: icmp_req=1 ttl=63 time=7.04 ms 64 bytes from 26.51.237.3: icmp_req=2 ttl=63 time=2.87 ms 64 bytes from 26.51.237.3: icmp_req=3 ttl=63 time=1.05 ms --- 26.51.237.3 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.051/3.655/7.044/2.508 ms 2026-02-16 02:33:07,533 - INFO - Ping to IP 26.51.237.3 from VM ctest-TestBasicPolicy-23887598-35861532 passed 2026-02-16 02:33:07,730 - DEBUG - Policy Update Response {"network-policy": {"uuid": "04190e4c-766c-4ab2-bebb-70e78212b3c2", "href": "http://10.0.0.23:8082/network-policy/04190e4c-766c-4ab2-bebb-70e78212b3c2"}} 2026-02-16 02:33:07,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 02:33:07,730 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.51.237.3, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-16 02:33:07,730 - DEBUG - ping -s 56 -c 3 -W 1 26.51.237.3 2026-02-16 02:33:11,177 - DEBUG - PING 26.51.237.3 (26.51.237.3) 56(84) bytes of data. 64 bytes from 26.51.237.3: icmp_req=1 ttl=63 time=4.88 ms --- 26.51.237.3 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2009ms rtt min/avg/max/mdev = 4.884/4.884/4.884/0.000 ms 2026-02-16 02:33:11,178 - WARNING - Ping to IP 26.51.237.3 from VM ctest-TestBasicPolicy-23887598-35861532 failed 2026-02-16 02:33:11,178 - INFO - Deleting VM ctest-TestBasicPolicy-23887598-18838240 2026-02-16 02:33:11,250 - INFO - Deleting VM ctest-TestBasicPolicy-23887598-35861532 2026-02-16 02:33:11,679 - INFO - Deleted policy ctest-policy-allow-all-73171023 2026-02-16 02:33:11,679 - INFO - Deleting VN ctest-vn-82762098 2026-02-16 02:33:11,726 - DEBUG - VN a765324a-4b97-460a-bb32-e94d61b85987 still in use: Unable to complete operation on network a765324a-4b97-460a-bb32-e94d61b85987. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-12fdcd3e-e06b-42ee-9b01-6c43bbd71177'] 2026-02-16 02:33:11,726 - WARNING - Deleting VN ctest-vn-82762098 failed..Will retry 2026-02-16 02:33:13,885 - DEBUG - Response for deleting network () 2026-02-16 02:33:13,885 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/87f8ced3-8261-41ee-af6f-9976294dd641 2026-02-16 02:33:13,891 - DEBUG - Response Code: 404 2026-02-16 02:33:13,891 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-16 02:33:13,896 - DEBUG - Requesting: http://10.0.0.27:8082/domain/026ea67f-9b7a-4f1c-a755-90b25d4ac1dc 2026-02-16 02:33:13,921 - DEBUG - Requesting: http://10.0.0.27:8082/project/73142a7d-2c30-4c54-b311-d1540b4ce02b 2026-02-16 02:33:14,011 - INFO - Validated that VN ctest-vn-82762098 is not found in API Server 2026-02-16 02:33:14,021 - DEBUG - VN ctest-vn-82762098 is not present in Agent 10.0.0.38 2026-02-16 02:33:14,031 - DEBUG - VN ctest-vn-82762098 is not present in Agent 10.0.0.65 2026-02-16 02:33:14,031 - INFO - Validated that VN ctest-vn-82762098 is not in any agent 2026-02-16 02:33:14,057 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82762098 info 2026-02-16 02:33:14,057 - INFO - Deleting VN ctest-vn-68004794 2026-02-16 02:33:14,196 - DEBUG - Response for deleting network () 2026-02-16 02:33:14,196 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/0dfb914c-015c-4482-8263-ee6438c3636f 2026-02-16 02:33:14,201 - DEBUG - Response Code: 404 2026-02-16 02:33:14,202 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-02-16 02:33:14,207 - DEBUG - Requesting: http://10.0.0.27:8082/domain/026ea67f-9b7a-4f1c-a755-90b25d4ac1dc 2026-02-16 02:33:14,231 - DEBUG - Requesting: http://10.0.0.27:8082/project/73142a7d-2c30-4c54-b311-d1540b4ce02b 2026-02-16 02:33:14,317 - INFO - Validated that VN ctest-vn-68004794 is not found in API Server 2026-02-16 02:33:14,329 - DEBUG - VN ctest-vn-68004794 is not present in Agent 10.0.0.38 2026-02-16 02:33:14,341 - DEBUG - VN ctest-vn-68004794 is not present in Agent 10.0.0.65 2026-02-16 02:33:14,341 - INFO - Validated that VN ctest-vn-68004794 is not in any agent 2026-02-16 02:33:14,369 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68004794 info 2026-02-16 02:33:15,643 - DEBUG - No XMPP flaps were noticed during the test 2026-02-16 02:33:15,643 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:36] 2026-02-16 02:33:15,643 - INFO - -------------------------------------------------------------------------------- 2026-02-16 02:33:16,384 - INFO - Deleted project: ctest-TestBasicPolicy-23887598, ID : 73142a7d-2c30-4c54-b311-d1540b4ce02b