2026-10-12 02:53:33,190 - INFO - Domain Default found not creating 2026-10-12 02:53:33,368 - INFO - Project ctest-TestBasicPolicy-26836818 not found, creating it 2026-10-12 02:53:33,883 - INFO - Created Project:ctest-TestBasicPolicy-26836818, ID : cacc18d5-516a-4ec5-a5c7-d7223c6e04e7 2026-10-12 02:53:35,422 - INFO - ================================================================================ 2026-10-12 02:53:35,422 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-12 02:53:35,422 - 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-10-12 02:53:36,682 - DEBUG - Nothing to compare xmpp stats {'10.0.0.188': {'10.20.0.30': '0', '10.20.0.25': '0'}, '10.0.0.189': {'10.20.0.30': '0', '10.20.0.25': '0'}} with 2026-10-12 02:53:36,682 - INFO - Initial checks done. Running the testcase now 2026-10-12 02:53:36,682 - INFO - 2026-10-12 02:53:37,365 - DEBUG - Response for create_network : {'network': {'id': '46dec546-3d6d-4b5d-91eb-3261fca77154', 'name': 'ctest-vn-03113912', 'tenant_id': 'cacc18d5516a4ec5a5c7d7223c6e04e7', 'project_id': 'cacc18d5516a4ec5a5c7d7223c6e04e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26836818', 'ctest-vn-03113912'], 'port_security_enabled': True, 'description': ''}} 2026-10-12 02:53:37,638 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfd4c644-e770-4407-9131-77ddd5539a50', 'name': '', 'tenant_id': 'cacc18d5516a4ec5a5c7d7223c6e04e7', 'network_id': '46dec546-3d6d-4b5d-91eb-3261fca77154', 'ip_version': 4, 'cidr': '95.130.126.192/26', 'allocation_pools': [{'start': '95.130.126.194', 'end': '95.130.126.254'}], 'gateway_ip': '95.130.126.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.130.126.194', 'tags': [], 'project_id': 'cacc18d5516a4ec5a5c7d7223c6e04e7'}} 2026-10-12 02:53:37,655 - INFO - Created VN ctest-vn-03113912 2026-10-12 02:53:37,666 - DEBUG - VN ctest-vn-03113912 UUID is 46dec546-3d6d-4b5d-91eb-3261fca77154 2026-10-12 02:53:37,971 - DEBUG - Response for create_network : {'network': {'id': '47c70510-26b6-415c-b223-54cd4022310b', 'name': 'ctest-vn-95905295', 'tenant_id': 'cacc18d5516a4ec5a5c7d7223c6e04e7', 'project_id': 'cacc18d5516a4ec5a5c7d7223c6e04e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26836818', 'ctest-vn-95905295'], 'port_security_enabled': True, 'description': ''}} 2026-10-12 02:53:38,179 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ffb89905-a396-45bc-9023-3312a519349f', 'name': '', 'tenant_id': 'cacc18d5516a4ec5a5c7d7223c6e04e7', 'network_id': '47c70510-26b6-415c-b223-54cd4022310b', 'ip_version': 4, 'cidr': '9.241.241.192/26', 'allocation_pools': [{'start': '9.241.241.194', 'end': '9.241.241.254'}], 'gateway_ip': '9.241.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.241.241.194', 'tags': [], 'project_id': 'cacc18d5516a4ec5a5c7d7223c6e04e7'}} 2026-10-12 02:53:38,197 - INFO - Created VN ctest-vn-95905295 2026-10-12 02:53:38,208 - DEBUG - VN ctest-vn-95905295 UUID is 47c70510-26b6-415c-b223-54cd4022310b 2026-10-12 02:53:38,311 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912, 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-26836818:ctest-vn-95905295, 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-10-12 02:53:38,602 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '46dec546-3d6d-4b5d-91eb-3261fca77154', 'name': 'ctest-vn-03113912', 'tenant_id': 'cacc18d5516a4ec5a5c7d7223c6e04e7', 'project_id': 'cacc18d5516a4ec5a5c7d7223c6e04e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['dfd4c644-e770-4407-9131-77ddd5539a50'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26836818', 'ctest-vn-03113912'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26836818', 'ctest-policy-allow-all-31175738']], 'subnet_ipam': [{'subnet_cidr': '95.130.126.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-12 02:53:38,786 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47c70510-26b6-415c-b223-54cd4022310b', 'name': 'ctest-vn-95905295', 'tenant_id': 'cacc18d5516a4ec5a5c7d7223c6e04e7', 'project_id': 'cacc18d5516a4ec5a5c7d7223c6e04e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['ffb89905-a396-45bc-9023-3312a519349f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26836818', 'ctest-vn-95905295'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26836818', 'ctest-policy-allow-all-31175738']], 'subnet_ipam': [{'subnet_cidr': '9.241.241.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-12 02:53:38,885 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-12 02:53:39,243 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-12 02:53:39,265 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e7595c33-d9f2-4727-95af-2f5d18bc40e3 2026-10-12 02:53:39,278 - DEBUG - Requesting: http://10.0.0.38:8082/project/cacc18d5-516a-4ec5-a5c7-d7223c6e04e7 2026-10-12 02:53:39,361 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46dec546-3d6d-4b5d-91eb-3261fca77154 2026-10-12 02:53:39,371 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46dec546-3d6d-4b5d-91eb-3261fca77154 2026-10-12 02:53:39,380 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/de568107-587f-4932-9c62-d1e900dc7880 2026-10-12 02:53:39,386 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/de568107-587f-4932-9c62-d1e900dc7880 2026-10-12 02:53:39,392 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/eae519c6-2e40-40d6-a36f-a9a715164064 2026-10-12 02:53:39,398 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-12 02:53:39,398 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46dec546-3d6d-4b5d-91eb-3261fca77154 2026-10-12 02:53:39,405 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/de568107-587f-4932-9c62-d1e900dc7880 2026-10-12 02:53:39,419 - INFO - Verified VN network id 15 for VN 46dec546-3d6d-4b5d-91eb-3261fca77154 2026-10-12 02:53:39,419 - INFO - Verifications in API Server for VN ctest-vn-03113912 passed 2026-10-12 02:53:39,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46dec546-3d6d-4b5d-91eb-3261fca77154 2026-10-12 02:53:39,426 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/de568107-587f-4932-9c62-d1e900dc7880 2026-10-12 02:53:39,433 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/de568107-587f-4932-9c62-d1e900dc7880 2026-10-12 02:53:39,439 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/eae519c6-2e40-40d6-a36f-a9a715164064 2026-10-12 02:53:39,450 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26836818', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5106735932953676637', 'uuid-lslong': '10514553151458603348'}, 'enable': 'true', 'created': '2026-10-12T02:53:37', 'last-modified': '2026-10-12T02:53:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.881397'} 2026-10-12 02:53:39,456 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-12 02:53:39,462 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26836818', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5106735932953676637', 'uuid-lslong': '10514553151458603348'}, 'enable': 'true', 'created': '2026-10-12T02:53:37', 'last-modified': '2026-10-12T02:53:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.898354'} 2026-10-12 02:53:39,467 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-12 02:53:39,472 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26836818', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5106735932953676637', 'uuid-lslong': '10514553151458603348'}, 'enable': 'true', 'created': '2026-10-12T02:53:37', 'last-modified': '2026-10-12T02:53:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.906742'} 2026-10-12 02:53:39,477 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-12 02:53:39,477 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03113912 passed 2026-10-12 02:53:39,478 - DEBUG - ====Verifying policy data for ctest-vn-03113912 in API_Server ====== 2026-10-12 02:53:39,478 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-12 02:53:39,482 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e7595c33-d9f2-4727-95af-2f5d18bc40e3 2026-10-12 02:53:39,492 - DEBUG - Requesting: http://10.0.0.38:8082/project/cacc18d5-516a-4ec5-a5c7-d7223c6e04e7 2026-10-12 02:53:39,578 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/46dec546-3d6d-4b5d-91eb-3261fca77154 2026-10-12 02:53:39,586 - DEBUG - ==>Verifying data for policy with id: d941ab44-9598-474a-b036-ec5d4c8ea445, fqn: ['default-domain', 'ctest-TestBasicPolicy-26836818', 'ctest-policy-allow-all-31175738'] 2026-10-12 02:53:39,586 - INFO - VN ctest-vn-03113912 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-12 02:53:39,586 - DEBUG - Verifying the vn in opserver 2026-10-12 02:53:39,586 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912 virtual network link through opserver 10.0.0.38 2026-10-12 02:53:39,586 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-12 02:53:39,942 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-12 02:53:39,987 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912?flat'} 2026-10-12 02:53:39,987 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912 virtual network link through opserver 10.0.0.50 2026-10-12 02:53:39,987 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-12 02:53:40,342 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-12 02:53:40,390 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912?flat'} 2026-10-12 02:53:40,390 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912 virtual network link through opserver 10.0.0.191 2026-10-12 02:53:40,390 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-10-12 02:53:40,745 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-10-12 02:53:40,788 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912?flat'} 2026-10-12 02:53:40,788 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912 is found in opserver 2026-10-12 02:53:40,807 - DEBUG - Do not have enough data to verify VN in agent 2026-10-12 02:53:40,815 - DEBUG - VRF ids for VN ctest-vn-03113912: {} 2026-10-12 02:53:40,815 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-12 02:53:40,820 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e7595c33-d9f2-4727-95af-2f5d18bc40e3 2026-10-12 02:53:40,830 - DEBUG - Requesting: http://10.0.0.38:8082/project/cacc18d5-516a-4ec5-a5c7-d7223c6e04e7 2026-10-12 02:53:40,916 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/47c70510-26b6-415c-b223-54cd4022310b 2026-10-12 02:53:40,926 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/47c70510-26b6-415c-b223-54cd4022310b 2026-10-12 02:53:40,935 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a6cfe00-95e0-4fdb-9cc8-88df41d1e0d2 2026-10-12 02:53:40,942 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a6cfe00-95e0-4fdb-9cc8-88df41d1e0d2 2026-10-12 02:53:40,948 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e2ade357-daae-4550-b829-ad004c5b645d 2026-10-12 02:53:40,954 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-10-12 02:53:40,954 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/47c70510-26b6-415c-b223-54cd4022310b 2026-10-12 02:53:40,963 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a6cfe00-95e0-4fdb-9cc8-88df41d1e0d2 2026-10-12 02:53:40,977 - INFO - Verified VN network id 16 for VN 47c70510-26b6-415c-b223-54cd4022310b 2026-10-12 02:53:40,977 - INFO - Verifications in API Server for VN ctest-vn-95905295 passed 2026-10-12 02:53:40,977 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/47c70510-26b6-415c-b223-54cd4022310b 2026-10-12 02:53:40,986 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a6cfe00-95e0-4fdb-9cc8-88df41d1e0d2 2026-10-12 02:53:40,992 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a6cfe00-95e0-4fdb-9cc8-88df41d1e0d2 2026-10-12 02:53:40,997 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e2ade357-daae-4550-b829-ad004c5b645d 2026-10-12 02:53:41,007 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-95905295', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26836818', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5172108263985398108', 'uuid-lslong': '12836196603457057035'}, 'enable': 'true', 'created': '2026-10-12T02:53:37', 'last-modified': '2026-10-12T02:53:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.262707'} 2026-10-12 02:53:41,013 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-10-12 02:53:41,018 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-95905295', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26836818', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5172108263985398108', 'uuid-lslong': '12836196603457057035'}, 'enable': 'true', 'created': '2026-10-12T02:53:37', 'last-modified': '2026-10-12T02:53:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.270253'} 2026-10-12 02:53:41,023 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-10-12 02:53:41,028 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-95905295', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26836818', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5172108263985398108', 'uuid-lslong': '12836196603457057035'}, 'enable': 'true', 'created': '2026-10-12T02:53:37', 'last-modified': '2026-10-12T02:53:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.283570'} 2026-10-12 02:53:41,033 - DEBUG - Route Targets: ['target:64512:8000007'] 2026-10-12 02:53:41,033 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95905295 passed 2026-10-12 02:53:41,033 - DEBUG - ====Verifying policy data for ctest-vn-95905295 in API_Server ====== 2026-10-12 02:53:41,033 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-12 02:53:41,038 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e7595c33-d9f2-4727-95af-2f5d18bc40e3 2026-10-12 02:53:41,047 - DEBUG - Requesting: http://10.0.0.38:8082/project/cacc18d5-516a-4ec5-a5c7-d7223c6e04e7 2026-10-12 02:53:41,122 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/47c70510-26b6-415c-b223-54cd4022310b 2026-10-12 02:53:41,134 - DEBUG - ==>Verifying data for policy with id: d941ab44-9598-474a-b036-ec5d4c8ea445, fqn: ['default-domain', 'ctest-TestBasicPolicy-26836818', 'ctest-policy-allow-all-31175738'] 2026-10-12 02:53:41,134 - INFO - VN ctest-vn-95905295 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-12 02:53:41,134 - DEBUG - Verifying the vn in opserver 2026-10-12 02:53:41,134 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-95905295 virtual network link through opserver 10.0.0.38 2026-10-12 02:53:41,134 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-10-12 02:53:41,179 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-95905295', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-95905295?flat'} 2026-10-12 02:53:41,179 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-95905295 virtual network link through opserver 10.0.0.50 2026-10-12 02:53:41,179 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-10-12 02:53:41,217 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-95905295', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-95905295?flat'} 2026-10-12 02:53:41,217 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-95905295 virtual network link through opserver 10.0.0.191 2026-10-12 02:53:41,217 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-10-12 02:53:41,267 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-95905295', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-95905295?flat'} 2026-10-12 02:53:41,267 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-95905295 is found in opserver 2026-10-12 02:53:41,286 - DEBUG - Do not have enough data to verify VN in agent 2026-10-12 02:53:41,294 - DEBUG - VRF ids for VN ctest-vn-95905295: {} 2026-10-12 02:53:41,342 - DEBUG - Services list from nova: [, , , ] 2026-10-12 02:53:41,665 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6357-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6357-1) 2026-10-12 02:53:42,065 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6357-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6357-2) 2026-10-12 02:53:42,065 - INFO - Waiting for VM ctest-TestBasicPolicy-26836818-17746864 to be up.. 2026-10-12 02:53:42,106 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:53:47,176 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:53:52,242 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:53:57,315 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:54:02,385 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:54:07,454 - DEBUG - VM is in ACTIVE state now 2026-10-12 02:54:07,455 - INFO - VM name : ctest-TestBasicPolicy-26836818-17746864 2026-10-12 02:54:07,526 - DEBUG - VM ctest-TestBasicPolicy-26836818-17746864 ID is 43284fe4-c14a-4d42-9104-9094858dae34 2026-10-12 02:54:07,547 - DEBUG - VM ctest-TestBasicPolicy-26836818-17746864 launched on Node an-jenkins-deploy-platform-ansible-os-6357-1 2026-10-12 02:54:07,608 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/43284fe4-c14a-4d42-9104-9094858dae34 2026-10-12 02:54:07,997 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/43284fe4-c14a-4d42-9104-9094858dae34 2026-10-12 02:54:08,023 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/15f2b889-ad17-4842-84fc-f09b1bcec3cb 2026-10-12 02:54:11,195 - 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 1022ms') 2026-10-12 02:54:11,196 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26836818-17746864 failed! 2026-10-12 02:54:11,208 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912 is 95.130.126.193 and allocation pool is NOT set 2026-10-12 02:54:15,287 - 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 1016ms') 2026-10-12 02:54:15,287 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26836818-17746864 failed! 2026-10-12 02:54:15,301 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912 is 95.130.126.193 and allocation pool is NOT set 2026-10-12 02:54:19,380 - 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-10-12 02:54:19,380 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26836818-17746864 failed! 2026-10-12 02:54:19,392 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912 is 95.130.126.193 and allocation pool is NOT set 2026-10-12 02:54:23,477 - 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 1026ms') 2026-10-12 02:54:23,477 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26836818-17746864 failed! 2026-10-12 02:54:23,492 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912 is 95.130.126.193 and allocation pool is NOT set 2026-10-12 02:54:27,577 - 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 1022ms') 2026-10-12 02:54:27,577 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26836818-17746864 failed! 2026-10-12 02:54:27,592 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912 is 95.130.126.193 and allocation pool is NOT set 2026-10-12 02:54:31,672 - 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-10-12 02:54:31,672 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26836818-17746864 failed! 2026-10-12 02:54:31,685 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26836818:ctest-vn-03113912 is 95.130.126.193 and allocation pool is NOT set 2026-10-12 02:54:35,767 - 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=2 ttl=63 time=4.83 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 4.831/4.831/4.831/0.000 ms') 2026-10-12 02:54:35,767 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26836818-17746864 passed 2026-10-12 02:54:35,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:54:35,830 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26836818-17746864, IP 95.130.126.195, Port 22 2026-10-12 02:54:35,898 - 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-10-12 02:54:35,966 - DEBUG - VM ctest-TestBasicPolicy-26836818-17746864 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-12 02:54:40,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:54:40,967 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26836818-17746864, IP 95.130.126.195, Port 22 2026-10-12 02:54:41,039 - 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-10-12 02:54:41,105 - DEBUG - VM ctest-TestBasicPolicy-26836818-17746864 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-12 02:54:46,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:54:46,106 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26836818-17746864, IP 95.130.126.195, Port 22 2026-10-12 02:54:46,274 - DEBUG - VM ctest-TestBasicPolicy-26836818-17746864 is ready for SSH connections 2026-10-12 02:54:46,274 - INFO - Waiting for VM ctest-TestBasicPolicy-26836818-47470822 to be up.. 2026-10-12 02:54:46,344 - DEBUG - VM is in ACTIVE state now 2026-10-12 02:54:46,345 - INFO - VM name : ctest-TestBasicPolicy-26836818-47470822 2026-10-12 02:54:46,407 - DEBUG - VM ctest-TestBasicPolicy-26836818-47470822 ID is 2299c5d7-3ab1-4672-9e82-36b6ac336367 2026-10-12 02:54:46,407 - DEBUG - VM ctest-TestBasicPolicy-26836818-47470822 launched on Node an-jenkins-deploy-platform-ansible-os-6357-2 2026-10-12 02:54:46,481 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/2299c5d7-3ab1-4672-9e82-36b6ac336367 2026-10-12 02:54:46,489 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/a30de6dc-7880-4168-add6-2f303bf4888d 2026-10-12 02:54:47,636 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.39 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.393/2.307/3.222/0.914 ms') 2026-10-12 02:54:47,636 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26836818-47470822 passed 2026-10-12 02:54:47,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:54:47,702 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26836818-47470822, IP 9.241.241.195, Port 22 2026-10-12 02:54:47,875 - DEBUG - VM ctest-TestBasicPolicy-26836818-47470822 is ready for SSH connections 2026-10-12 02:54:47,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:54:47,876 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.241.241.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-10-12 02:54:47,876 - DEBUG - ping -s 56 -c 3 -W 1 9.241.241.195 2026-10-12 02:54:56,163 - DEBUG - PING 9.241.241.195 (9.241.241.195) 56(84) bytes of data. 64 bytes from 9.241.241.195: icmp_req=1 ttl=63 time=10.3 ms 64 bytes from 9.241.241.195: icmp_req=2 ttl=63 time=1.10 ms 64 bytes from 9.241.241.195: icmp_req=3 ttl=63 time=3.52 ms --- 9.241.241.195 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.109/4.991/10.344/3.911 ms 2026-10-12 02:54:56,163 - INFO - Ping to IP 9.241.241.195 from VM ctest-TestBasicPolicy-26836818-17746864 passed 2026-10-12 02:54:56,351 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d941ab44-9598-474a-b036-ec5d4c8ea445", "href": "http://10.0.0.191:8082/network-policy/d941ab44-9598-474a-b036-ec5d4c8ea445"}} 2026-10-12 02:54:56,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:54:56,351 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.241.241.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-10-12 02:54:56,351 - DEBUG - ping -s 56 -c 3 -W 1 9.241.241.195 2026-10-12 02:54:59,745 - DEBUG - PING 9.241.241.195 (9.241.241.195) 56(84) bytes of data. 64 bytes from 9.241.241.195: icmp_req=1 ttl=63 time=3.10 ms --- 9.241.241.195 ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2011ms rtt min/avg/max/mdev = 3.106/3.106/3.106/0.000 ms 2026-10-12 02:54:59,746 - WARNING - Ping to IP 9.241.241.195 from VM ctest-TestBasicPolicy-26836818-17746864 failed 2026-10-12 02:54:59,746 - INFO - Deleting VM ctest-TestBasicPolicy-26836818-47470822 2026-10-12 02:54:59,816 - INFO - Deleting VM ctest-TestBasicPolicy-26836818-17746864 2026-10-12 02:55:00,287 - INFO - Deleted policy ctest-policy-allow-all-31175738 2026-10-12 02:55:00,287 - INFO - Deleting VN ctest-vn-95905295 2026-10-12 02:55:00,341 - DEBUG - VN 47c70510-26b6-415c-b223-54cd4022310b still in use: Unable to complete operation on network 47c70510-26b6-415c-b223-54cd4022310b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d26adadb-4d32-43d1-8fcc-13c54e1fcd55'] 2026-10-12 02:55:00,341 - WARNING - Deleting VN ctest-vn-95905295 failed..Will retry 2026-10-12 02:55:02,484 - DEBUG - Response for deleting network () 2026-10-12 02:55:02,484 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a6cfe00-95e0-4fdb-9cc8-88df41d1e0d2 2026-10-12 02:55:02,491 - DEBUG - Response Code: 404 2026-10-12 02:55:02,491 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-12 02:55:02,495 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e7595c33-d9f2-4727-95af-2f5d18bc40e3 2026-10-12 02:55:02,508 - DEBUG - Requesting: http://10.0.0.38:8082/project/cacc18d5-516a-4ec5-a5c7-d7223c6e04e7 2026-10-12 02:55:02,602 - INFO - Validated that VN ctest-vn-95905295 is not found in API Server 2026-10-12 02:55:02,614 - DEBUG - VN ctest-vn-95905295 is not present in Agent 10.0.0.188 2026-10-12 02:55:02,623 - DEBUG - VN ctest-vn-95905295 is not present in Agent 10.0.0.189 2026-10-12 02:55:02,623 - INFO - Validated that VN ctest-vn-95905295 is not in any agent 2026-10-12 02:55:02,650 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95905295 info 2026-10-12 02:55:02,650 - INFO - Deleting VN ctest-vn-03113912 2026-10-12 02:55:02,777 - DEBUG - Response for deleting network () 2026-10-12 02:55:02,777 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/de568107-587f-4932-9c62-d1e900dc7880 2026-10-12 02:55:02,783 - DEBUG - Response Code: 404 2026-10-12 02:55:02,783 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-10-12 02:55:02,788 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e7595c33-d9f2-4727-95af-2f5d18bc40e3 2026-10-12 02:55:02,847 - DEBUG - Requesting: http://10.0.0.38:8082/project/cacc18d5-516a-4ec5-a5c7-d7223c6e04e7 2026-10-12 02:55:02,933 - INFO - Validated that VN ctest-vn-03113912 is not found in API Server 2026-10-12 02:55:02,942 - DEBUG - VN ctest-vn-03113912 is not present in Agent 10.0.0.188 2026-10-12 02:55:02,951 - DEBUG - VN ctest-vn-03113912 is not present in Agent 10.0.0.189 2026-10-12 02:55:02,951 - INFO - Validated that VN ctest-vn-03113912 is not in any agent 2026-10-12 02:55:02,985 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03113912 info 2026-10-12 02:55:04,247 - DEBUG - No XMPP flaps were noticed during the test
2026-10-12 02:55:04,247 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:29]
2026-10-12 02:55:04,247 - INFO - -------------------------------------------------------------------------------- 2026-10-12 02:55:05,002 - INFO - Deleted project: ctest-TestBasicPolicy-26836818, ID : cacc18d5-516a-4ec5-a5c7-d7223c6e04e7