2026-05-28 16:05:29,763 - INFO - Domain Default found not creating 2026-05-28 16:05:30,399 - INFO - Project ctest-TestBasicPolicy-36080637 not found, creating it 2026-05-28 16:05:31,062 - INFO - Created Project:ctest-TestBasicPolicy-36080637, ID : 036a5ffb-0656-4b61-a6db-2dfcbabbd4cb 2026-05-28 16:05:32,726 - INFO - ================================================================================ 2026-05-28 16:05:32,727 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-28 16:05:32,727 - 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-05-28 16:05:34,020 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0', '10.20.0.254': '0'}, '10.0.0.73': {'10.20.0.25': '0', '10.20.0.254': '0'}} with 2026-05-28 16:05:34,020 - INFO - Initial checks done. Running the testcase now 2026-05-28 16:05:34,020 - INFO - 2026-05-28 16:05:34,730 - DEBUG - Response for create_network : {'network': {'id': 'daf6ab72-a34e-4641-a18b-25d31d64f96e', 'name': 'ctest-vn-94978363', 'tenant_id': '036a5ffb06564b61a6db2dfcbabbd4cb', 'project_id': '036a5ffb06564b61a6db2dfcbabbd4cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36080637', 'ctest-vn-94978363'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 16:05:34,979 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cdd1c842-f2ed-42e6-8f10-64db48d344fb', 'name': '', 'tenant_id': '036a5ffb06564b61a6db2dfcbabbd4cb', 'network_id': 'daf6ab72-a34e-4641-a18b-25d31d64f96e', 'ip_version': 4, 'cidr': '132.12.84.64/26', 'allocation_pools': [{'start': '132.12.84.66', 'end': '132.12.84.126'}], 'gateway_ip': '132.12.84.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.12.84.66', 'tags': [], 'project_id': '036a5ffb06564b61a6db2dfcbabbd4cb'}} 2026-05-28 16:05:35,007 - INFO - Created VN ctest-vn-94978363 2026-05-28 16:05:35,026 - DEBUG - VN ctest-vn-94978363 UUID is daf6ab72-a34e-4641-a18b-25d31d64f96e 2026-05-28 16:05:35,432 - DEBUG - Response for create_network : {'network': {'id': '7f989d39-619c-4688-ac6a-7619c1fe10f1', 'name': 'ctest-vn-72574874', 'tenant_id': '036a5ffb06564b61a6db2dfcbabbd4cb', 'project_id': '036a5ffb06564b61a6db2dfcbabbd4cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36080637', 'ctest-vn-72574874'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 16:05:35,730 - DEBUG - Response for create_subnet : {'subnet': {'id': '50bc409d-0efc-4d72-8d2c-d8758bcb1196', 'name': '', 'tenant_id': '036a5ffb06564b61a6db2dfcbabbd4cb', 'network_id': '7f989d39-619c-4688-ac6a-7619c1fe10f1', 'ip_version': 4, 'cidr': '214.61.13.192/26', 'allocation_pools': [{'start': '214.61.13.194', 'end': '214.61.13.254'}], 'gateway_ip': '214.61.13.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.61.13.194', 'tags': [], 'project_id': '036a5ffb06564b61a6db2dfcbabbd4cb'}} 2026-05-28 16:05:35,756 - INFO - Created VN ctest-vn-72574874 2026-05-28 16:05:35,768 - DEBUG - VN ctest-vn-72574874 UUID is 7f989d39-619c-4688-ac6a-7619c1fe10f1 2026-05-28 16:05:35,853 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363, 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-36080637:ctest-vn-72574874, 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-05-28 16:05:36,222 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'daf6ab72-a34e-4641-a18b-25d31d64f96e', 'name': 'ctest-vn-94978363', 'tenant_id': '036a5ffb06564b61a6db2dfcbabbd4cb', 'project_id': '036a5ffb06564b61a6db2dfcbabbd4cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cdd1c842-f2ed-42e6-8f10-64db48d344fb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36080637', 'ctest-vn-94978363'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36080637', 'ctest-policy-allow-all-46403050']], 'subnet_ipam': [{'subnet_cidr': '132.12.84.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-28 16:05:36,475 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f989d39-619c-4688-ac6a-7619c1fe10f1', 'name': 'ctest-vn-72574874', 'tenant_id': '036a5ffb06564b61a6db2dfcbabbd4cb', 'project_id': '036a5ffb06564b61a6db2dfcbabbd4cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['50bc409d-0efc-4d72-8d2c-d8758bcb1196'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36080637', 'ctest-vn-72574874'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36080637', 'ctest-policy-allow-all-46403050']], 'subnet_ipam': [{'subnet_cidr': '214.61.13.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-28 16:05:36,579 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-28 16:05:36,890 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-28 16:05:36,923 - DEBUG - Requesting: http://10.0.0.23:8082/domain/91e0a21d-5e29-457b-800b-759f9f8a74a1 2026-05-28 16:05:36,941 - DEBUG - Requesting: http://10.0.0.23:8082/project/036a5ffb-0656-4b61-a6db-2dfcbabbd4cb 2026-05-28 16:05:37,038 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/daf6ab72-a34e-4641-a18b-25d31d64f96e 2026-05-28 16:05:37,052 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/daf6ab72-a34e-4641-a18b-25d31d64f96e 2026-05-28 16:05:37,062 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/6dfd7776-9d20-4079-92a9-bc58ac2db798 2026-05-28 16:05:37,071 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/6dfd7776-9d20-4079-92a9-bc58ac2db798 2026-05-28 16:05:37,079 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/d203fab4-c865-4fd3-b68e-699bda8f8012 2026-05-28 16:05:37,087 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 16:05:37,087 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/daf6ab72-a34e-4641-a18b-25d31d64f96e 2026-05-28 16:05:37,103 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/6dfd7776-9d20-4079-92a9-bc58ac2db798 2026-05-28 16:05:37,121 - INFO - Verified VN network id 13 for VN daf6ab72-a34e-4641-a18b-25d31d64f96e 2026-05-28 16:05:37,121 - INFO - Verifications in API Server for VN ctest-vn-94978363 passed 2026-05-28 16:05:37,121 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/daf6ab72-a34e-4641-a18b-25d31d64f96e 2026-05-28 16:05:37,131 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/6dfd7776-9d20-4079-92a9-bc58ac2db798 2026-05-28 16:05:37,140 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/6dfd7776-9d20-4079-92a9-bc58ac2db798 2026-05-28 16:05:37,148 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/d203fab4-c865-4fd3-b68e-699bda8f8012 2026-05-28 16:05:37,166 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36080637', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15777986853393548865', 'uuid-lslong': '11640439250530662766'}, 'enable': 'true', 'created': '2026-05-28T16:05:34', 'last-modified': '2026-05-28T16:05:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.001914'} 2026-05-28 16:05:37,172 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 16:05:37,179 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36080637', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15777986853393548865', 'uuid-lslong': '11640439250530662766'}, 'enable': 'true', 'created': '2026-05-28T16:05:34', 'last-modified': '2026-05-28T16:05:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.017767'} 2026-05-28 16:05:37,187 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 16:05:37,195 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36080637', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15777986853393548865', 'uuid-lslong': '11640439250530662766'}, 'enable': 'true', 'created': '2026-05-28T16:05:34', 'last-modified': '2026-05-28T16:05:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.034883'} 2026-05-28 16:05:37,204 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 16:05:37,204 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94978363 passed 2026-05-28 16:05:37,204 - DEBUG - ====Verifying policy data for ctest-vn-94978363 in API_Server ====== 2026-05-28 16:05:37,204 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-28 16:05:37,212 - DEBUG - Requesting: http://10.0.0.23:8082/domain/91e0a21d-5e29-457b-800b-759f9f8a74a1 2026-05-28 16:05:37,226 - DEBUG - Requesting: http://10.0.0.23:8082/project/036a5ffb-0656-4b61-a6db-2dfcbabbd4cb 2026-05-28 16:05:37,332 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/daf6ab72-a34e-4641-a18b-25d31d64f96e 2026-05-28 16:05:37,344 - DEBUG - ==>Verifying data for policy with id: 9d4a9497-a336-4bbd-8842-b20bb3b98e47, fqn: ['default-domain', 'ctest-TestBasicPolicy-36080637', 'ctest-policy-allow-all-46403050'] 2026-05-28 16:05:37,344 - INFO - VN ctest-vn-94978363 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 16:05:37,344 - DEBUG - Verifying the vn in opserver 2026-05-28 16:05:37,345 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363 virtual network link through opserver 10.0.0.23 2026-05-28 16:05:37,345 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-05-28 16:05:37,639 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-05-28 16:05:37,707 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363?flat'} 2026-05-28 16:05:37,707 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363 virtual network link through opserver 10.0.0.22 2026-05-28 16:05:37,707 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-28 16:05:38,000 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-28 16:05:38,063 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363?flat'} 2026-05-28 16:05:38,064 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363 virtual network link through opserver 10.0.0.33 2026-05-28 16:05:38,064 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-05-28 16:05:38,362 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-05-28 16:05:38,432 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363?flat'} 2026-05-28 16:05:38,432 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363 is found in opserver 2026-05-28 16:05:38,454 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 16:05:38,467 - DEBUG - VRF ids for VN ctest-vn-94978363: {} 2026-05-28 16:05:38,467 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-28 16:05:38,473 - DEBUG - Requesting: http://10.0.0.23:8082/domain/91e0a21d-5e29-457b-800b-759f9f8a74a1 2026-05-28 16:05:38,483 - DEBUG - Requesting: http://10.0.0.23:8082/project/036a5ffb-0656-4b61-a6db-2dfcbabbd4cb 2026-05-28 16:05:38,592 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7f989d39-619c-4688-ac6a-7619c1fe10f1 2026-05-28 16:05:38,609 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7f989d39-619c-4688-ac6a-7619c1fe10f1 2026-05-28 16:05:38,626 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/8b313cb1-6aad-4f33-a2f3-dbed49be35c6 2026-05-28 16:05:38,639 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/8b313cb1-6aad-4f33-a2f3-dbed49be35c6 2026-05-28 16:05:38,650 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/7e44f851-0ca0-45d2-955a-1140c6de7f0b 2026-05-28 16:05:38,661 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-28 16:05:38,661 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7f989d39-619c-4688-ac6a-7619c1fe10f1 2026-05-28 16:05:38,677 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/8b313cb1-6aad-4f33-a2f3-dbed49be35c6 2026-05-28 16:05:38,698 - INFO - Verified VN network id 14 for VN 7f989d39-619c-4688-ac6a-7619c1fe10f1 2026-05-28 16:05:38,698 - INFO - Verifications in API Server for VN ctest-vn-72574874 passed 2026-05-28 16:05:38,698 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7f989d39-619c-4688-ac6a-7619c1fe10f1 2026-05-28 16:05:38,712 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/8b313cb1-6aad-4f33-a2f3-dbed49be35c6 2026-05-28 16:05:38,721 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/8b313cb1-6aad-4f33-a2f3-dbed49be35c6 2026-05-28 16:05:38,729 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/7e44f851-0ca0-45d2-955a-1140c6de7f0b 2026-05-28 16:05:38,741 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-72574874', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36080637', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9194271509053195912', 'uuid-lslong': '12423872375055847665'}, 'enable': 'true', 'created': '2026-05-28T16:05:35', 'last-modified': '2026-05-28T16:05:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.305915'} 2026-05-28 16:05:38,748 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-28 16:05:38,756 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-72574874', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36080637', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9194271509053195912', 'uuid-lslong': '12423872375055847665'}, 'enable': 'true', 'created': '2026-05-28T16:05:35', 'last-modified': '2026-05-28T16:05:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.324424'} 2026-05-28 16:05:38,764 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-28 16:05:38,773 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-72574874', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36080637', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9194271509053195912', 'uuid-lslong': '12423872375055847665'}, 'enable': 'true', 'created': '2026-05-28T16:05:35', 'last-modified': '2026-05-28T16:05:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.342710'} 2026-05-28 16:05:38,782 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-05-28 16:05:38,782 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72574874 passed 2026-05-28 16:05:38,782 - DEBUG - ====Verifying policy data for ctest-vn-72574874 in API_Server ====== 2026-05-28 16:05:38,782 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-28 16:05:38,789 - DEBUG - Requesting: http://10.0.0.23:8082/domain/91e0a21d-5e29-457b-800b-759f9f8a74a1 2026-05-28 16:05:38,802 - DEBUG - Requesting: http://10.0.0.23:8082/project/036a5ffb-0656-4b61-a6db-2dfcbabbd4cb 2026-05-28 16:05:38,907 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/7f989d39-619c-4688-ac6a-7619c1fe10f1 2026-05-28 16:05:38,921 - DEBUG - ==>Verifying data for policy with id: 9d4a9497-a336-4bbd-8842-b20bb3b98e47, fqn: ['default-domain', 'ctest-TestBasicPolicy-36080637', 'ctest-policy-allow-all-46403050'] 2026-05-28 16:05:38,921 - INFO - VN ctest-vn-72574874 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 16:05:38,921 - DEBUG - Verifying the vn in opserver 2026-05-28 16:05:38,921 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-72574874 virtual network link through opserver 10.0.0.23 2026-05-28 16:05:38,921 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2026-05-28 16:05:38,987 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-72574874', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-72574874?flat'} 2026-05-28 16:05:38,987 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-72574874 virtual network link through opserver 10.0.0.22 2026-05-28 16:05:38,987 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-28 16:05:39,052 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-72574874', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-72574874?flat'} 2026-05-28 16:05:39,052 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-72574874 virtual network link through opserver 10.0.0.33 2026-05-28 16:05:39,052 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-05-28 16:05:39,119 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-72574874', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-72574874?flat'} 2026-05-28 16:05:39,119 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-72574874 is found in opserver 2026-05-28 16:05:39,143 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 16:05:39,155 - DEBUG - VRF ids for VN ctest-vn-72574874: {} 2026-05-28 16:05:39,225 - DEBUG - Services list from nova: [, , , ] 2026-05-28 16:05:40,379 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5845-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5845-1) 2026-05-28 16:05:41,779 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5845-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5845-2) 2026-05-28 16:05:41,779 - INFO - Waiting for VM ctest-TestBasicPolicy-36080637-25828583 to be up.. 2026-05-28 16:05:41,889 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 16:05:46,982 - DEBUG - VM is in ACTIVE state now 2026-05-28 16:05:46,982 - INFO - VM name : ctest-TestBasicPolicy-36080637-25828583 2026-05-28 16:05:47,096 - DEBUG - VM ctest-TestBasicPolicy-36080637-25828583 ID is 69ba3614-ad7d-4fc0-a308-d41d0b692181 2026-05-28 16:05:47,132 - DEBUG - VM ctest-TestBasicPolicy-36080637-25828583 launched on Node an-jenkins-deploy-platform-ansible-os-5845-1 2026-05-28 16:05:47,245 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/69ba3614-ad7d-4fc0-a308-d41d0b692181 2026-05-28 16:05:47,562 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/69ba3614-ad7d-4fc0-a308-d41d0b692181 2026-05-28 16:05:47,607 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/81987536-ed17-47c3-94f6-724dfdd23d05 2026-05-28 16:05:50,809 - 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-05-28 16:05:50,810 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36080637-25828583 failed! 2026-05-28 16:05:50,827 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363 is 132.12.84.65 and allocation pool is NOT set 2026-05-28 16:05:54,905 - 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 1017ms') 2026-05-28 16:05:54,905 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36080637-25828583 failed! 2026-05-28 16:05:54,921 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363 is 132.12.84.65 and allocation pool is NOT set 2026-05-28 16:05:59,006 - 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 1014ms') 2026-05-28 16:05:59,006 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36080637-25828583 failed! 2026-05-28 16:05:59,025 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363 is 132.12.84.65 and allocation pool is NOT set 2026-05-28 16:06:03,098 - 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 1008ms') 2026-05-28 16:06:03,098 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36080637-25828583 failed! 2026-05-28 16:06:03,118 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363 is 132.12.84.65 and allocation pool is NOT set 2026-05-28 16:06:07,197 - 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 1012ms') 2026-05-28 16:06:07,197 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36080637-25828583 failed! 2026-05-28 16:06:07,212 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363 is 132.12.84.65 and allocation pool is NOT set 2026-05-28 16:06:11,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 1017ms') 2026-05-28 16:06:11,287 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36080637-25828583 failed! 2026-05-28 16:06:11,303 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363 is 132.12.84.65 and allocation pool is NOT set 2026-05-28 16:06:15,388 - 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-05-28 16:06:15,388 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36080637-25828583 failed! 2026-05-28 16:06:15,405 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363 is 132.12.84.65 and allocation pool is NOT set 2026-05-28 16:06:19,479 - 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-05-28 16:06:19,479 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36080637-25828583 failed! 2026-05-28 16:06:19,494 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363 is 132.12.84.65 and allocation pool is NOT set 2026-05-28 16:06:23,578 - 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-05-28 16:06:23,578 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36080637-25828583 failed! 2026-05-28 16:06:23,593 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36080637:ctest-vn-94978363 is 132.12.84.65 and allocation pool is NOT set 2026-05-28 16:06:25,662 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=6.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.11 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 = 3.108/4.586/6.065/1.478 ms') 2026-05-28 16:06:25,663 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36080637-25828583 passed 2026-05-28 16:06:25,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:06:25,738 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36080637-25828583, IP 132.12.84.67, Port 22 2026-05-28 16:06:25,807 - 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-05-28 16:06:26,013 - DEBUG - VM ctest-TestBasicPolicy-36080637-25828583 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 16:06:31,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:06:31,014 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36080637-25828583, IP 132.12.84.67, Port 22 2026-05-28 16:06:31,082 - 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-05-28 16:06:31,267 - DEBUG - VM ctest-TestBasicPolicy-36080637-25828583 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 16:06:36,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:06:36,269 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36080637-25828583, IP 132.12.84.67, Port 22 2026-05-28 16:06:36,334 - 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-05-28 16:06:36,431 - DEBUG - VM ctest-TestBasicPolicy-36080637-25828583 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 16:06:41,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:06:41,433 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36080637-25828583, IP 132.12.84.67, Port 22 2026-05-28 16:06:41,500 - 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-05-28 16:06:41,586 - DEBUG - VM ctest-TestBasicPolicy-36080637-25828583 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 16:06:46,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:06:46,587 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36080637-25828583, IP 132.12.84.67, Port 22 2026-05-28 16:06:46,748 - DEBUG - VM ctest-TestBasicPolicy-36080637-25828583 is ready for SSH connections 2026-05-28 16:06:46,748 - INFO - Waiting for VM ctest-TestBasicPolicy-36080637-02049279 to be up.. 2026-05-28 16:06:46,836 - DEBUG - VM is in ACTIVE state now 2026-05-28 16:06:46,836 - INFO - VM name : ctest-TestBasicPolicy-36080637-02049279 2026-05-28 16:06:46,918 - DEBUG - VM ctest-TestBasicPolicy-36080637-02049279 ID is 4fcf036c-4bb4-4747-8858-0e93127ad52e 2026-05-28 16:06:46,918 - DEBUG - VM ctest-TestBasicPolicy-36080637-02049279 launched on Node an-jenkins-deploy-platform-ansible-os-5845-2 2026-05-28 16:06:47,020 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4fcf036c-4bb4-4747-8858-0e93127ad52e 2026-05-28 16:06:47,031 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/aa5ca3ca-e739-47e7-aafe-967a086a6448 2026-05-28 16:06:48,201 - 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=2.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.638 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.638/1.689/2.741/1.051 ms') 2026-05-28 16:06:48,202 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36080637-02049279 passed 2026-05-28 16:06:48,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:06:48,273 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36080637-02049279, IP 214.61.13.195, Port 22 2026-05-28 16:06:48,440 - DEBUG - VM ctest-TestBasicPolicy-36080637-02049279 is ready for SSH connections 2026-05-28 16:06:48,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:06:48,441 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.61.13.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-05-28 16:06:48,441 - DEBUG - ping -s 56 -c 3 -W 1 214.61.13.195 2026-05-28 16:07:11,752 - DEBUG - PING 214.61.13.195 (214.61.13.195) 56(84) bytes of data. 64 bytes from 214.61.13.195: icmp_req=1 ttl=63 time=12.0 ms 64 bytes from 214.61.13.195: icmp_req=2 ttl=63 time=1.85 ms 64 bytes from 214.61.13.195: icmp_req=3 ttl=63 time=1.37 ms --- 214.61.13.195 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 1.370/5.084/12.025/4.912 ms 2026-05-28 16:07:11,753 - INFO - Ping to IP 214.61.13.195 from VM ctest-TestBasicPolicy-36080637-25828583 passed 2026-05-28 16:07:11,999 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9d4a9497-a336-4bbd-8842-b20bb3b98e47", "href": "http://10.0.0.33:8082/network-policy/9d4a9497-a336-4bbd-8842-b20bb3b98e47"}} 2026-05-28 16:07:11,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 16:07:11,999 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.61.13.195, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-05-28 16:07:11,999 - DEBUG - ping -s 56 -c 3 -W 1 214.61.13.195 2026-05-28 16:07:16,014 - DEBUG - PING 214.61.13.195 (214.61.13.195) 56(84) bytes of data. --- 214.61.13.195 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms 2026-05-28 16:07:16,014 - WARNING - Ping to IP 214.61.13.195 from VM ctest-TestBasicPolicy-36080637-25828583 failed 2026-05-28 16:07:16,015 - INFO - Deleting VM ctest-TestBasicPolicy-36080637-02049279 2026-05-28 16:07:16,092 - INFO - Deleting VM ctest-TestBasicPolicy-36080637-25828583 2026-05-28 16:07:16,616 - INFO - Deleted policy ctest-policy-allow-all-46403050 2026-05-28 16:07:16,616 - INFO - Deleting VN ctest-vn-72574874 2026-05-28 16:07:16,675 - DEBUG - VN 7f989d39-619c-4688-ac6a-7619c1fe10f1 still in use: Unable to complete operation on network 7f989d39-619c-4688-ac6a-7619c1fe10f1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-26a6f9c5-1735-48c2-834a-d4e186cf37ff'] 2026-05-28 16:07:16,675 - WARNING - Deleting VN ctest-vn-72574874 failed..Will retry 2026-05-28 16:07:18,900 - DEBUG - Response for deleting network () 2026-05-28 16:07:18,900 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/8b313cb1-6aad-4f33-a2f3-dbed49be35c6 2026-05-28 16:07:18,906 - DEBUG - Response Code: 404 2026-05-28 16:07:18,907 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-28 16:07:18,912 - DEBUG - Requesting: http://10.0.0.23:8082/domain/91e0a21d-5e29-457b-800b-759f9f8a74a1 2026-05-28 16:07:18,926 - DEBUG - Requesting: http://10.0.0.23:8082/project/036a5ffb-0656-4b61-a6db-2dfcbabbd4cb 2026-05-28 16:07:19,020 - INFO - Validated that VN ctest-vn-72574874 is not found in API Server 2026-05-28 16:07:19,032 - DEBUG - VN ctest-vn-72574874 is not present in Agent 10.0.0.130 2026-05-28 16:07:19,043 - DEBUG - VN ctest-vn-72574874 is not present in Agent 10.0.0.73 2026-05-28 16:07:19,043 - INFO - Validated that VN ctest-vn-72574874 is not in any agent 2026-05-28 16:07:19,080 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72574874 info 2026-05-28 16:07:19,080 - INFO - Deleting VN ctest-vn-94978363 2026-05-28 16:07:19,273 - DEBUG - Response for deleting network () 2026-05-28 16:07:19,273 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/6dfd7776-9d20-4079-92a9-bc58ac2db798 2026-05-28 16:07:19,280 - DEBUG - Response Code: 404 2026-05-28 16:07:19,281 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2026-05-28 16:07:19,299 - DEBUG - Requesting: http://10.0.0.23:8082/domain/91e0a21d-5e29-457b-800b-759f9f8a74a1 2026-05-28 16:07:19,360 - DEBUG - Requesting: http://10.0.0.23:8082/project/036a5ffb-0656-4b61-a6db-2dfcbabbd4cb 2026-05-28 16:07:19,476 - INFO - Validated that VN ctest-vn-94978363 is not found in API Server 2026-05-28 16:07:19,487 - DEBUG - VN ctest-vn-94978363 is not present in Agent 10.0.0.130 2026-05-28 16:07:19,498 - DEBUG - VN ctest-vn-94978363 is not present in Agent 10.0.0.73 2026-05-28 16:07:19,498 - INFO - Validated that VN ctest-vn-94978363 is not in any agent 2026-05-28 16:07:19,536 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94978363 info 2026-05-28 16:07:20,830 - DEBUG - No XMPP flaps were noticed during the test 2026-05-28 16:07:20,831 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:48] 2026-05-28 16:07:20,831 - INFO - -------------------------------------------------------------------------------- 2026-05-28 16:07:21,637 - INFO - Deleted project: ctest-TestBasicPolicy-36080637, ID : 036a5ffb-0656-4b61-a6db-2dfcbabbd4cb