2026-01-12 19:25:44,970 - INFO - Domain Default found not creating
2026-01-12 19:25:45,156 - INFO - Project ctest-TestBasicPolicy-57333019 not found, creating it
2026-01-12 19:25:45,669 - INFO - Created Project:ctest-TestBasicPolicy-57333019, ID : 2eaad850-3649-4dfd-a0ed-8760457792f3
2026-01-12 19:25:47,204 - INFO - ================================================================================
2026-01-12 19:25:47,205 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-12 19:25:47,205 - INFO - TEST DESCRIPTION :
Create 2 Vns and allow icmp traffic between them and validate with pings
Update the policy to deny the same traffic
Check that pings fail
2026-01-12 19:25:47,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-01-12 19:25:47,464 - INFO - Initial checks done. Running the testcase now
2026-01-12 19:25:47,464 - INFO -
2026-01-12 19:25:48,036 - DEBUG - Response for create_network : {'network': {'id': '7d87f135-2e9a-4e92-be28-c40f43424f3d', 'name': 'ctest-vn-33831398', 'tenant_id': '2eaad85036494dfda0ed8760457792f3', 'project_id': '2eaad85036494dfda0ed8760457792f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57333019', 'ctest-vn-33831398'], 'port_security_enabled': True, 'description': ''}}
2026-01-12 19:25:48,259 - DEBUG - Response for create_subnet : {'subnet': {'id': '53b4c372-1bdd-4315-8e75-465eaed6130b', 'name': '', 'tenant_id': '2eaad85036494dfda0ed8760457792f3', 'network_id': '7d87f135-2e9a-4e92-be28-c40f43424f3d', 'ip_version': 4, 'cidr': '146.141.168.0/26', 'allocation_pools': [{'start': '146.141.168.2', 'end': '146.141.168.62'}], 'gateway_ip': '146.141.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.141.168.2', 'tags': [], 'project_id': '2eaad85036494dfda0ed8760457792f3'}}
2026-01-12 19:25:48,278 - INFO - Created VN ctest-vn-33831398
2026-01-12 19:25:48,331 - DEBUG - VN ctest-vn-33831398 UUID is 7d87f135-2e9a-4e92-be28-c40f43424f3d
2026-01-12 19:25:48,636 - DEBUG - Response for create_network : {'network': {'id': 'f356b584-e84d-4e6a-beff-16a608354849', 'name': 'ctest-vn-75905674', 'tenant_id': '2eaad85036494dfda0ed8760457792f3', 'project_id': '2eaad85036494dfda0ed8760457792f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57333019', 'ctest-vn-75905674'], 'port_security_enabled': True, 'description': ''}}
2026-01-12 19:25:48,810 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf5000a9-ab4d-4d5e-a87f-7cfd82b6ba96', 'name': '', 'tenant_id': '2eaad85036494dfda0ed8760457792f3', 'network_id': 'f356b584-e84d-4e6a-beff-16a608354849', 'ip_version': 4, 'cidr': '174.217.208.64/26', 'allocation_pools': [{'start': '174.217.208.66', 'end': '174.217.208.126'}], 'gateway_ip': '174.217.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.217.208.66', 'tags': [], 'project_id': '2eaad85036494dfda0ed8760457792f3'}}
2026-01-12 19:25:48,830 - INFO - Created VN ctest-vn-75905674
2026-01-12 19:25:48,883 - DEBUG - VN ctest-vn-75905674 UUID is f356b584-e84d-4e6a-beff-16a608354849
2026-01-12 19:25:49,011 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-33831398, 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-57333019:ctest-vn-75905674, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None]
2026-01-12 19:25:49,313 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d87f135-2e9a-4e92-be28-c40f43424f3d', 'name': 'ctest-vn-33831398', 'tenant_id': '2eaad85036494dfda0ed8760457792f3', 'project_id': '2eaad85036494dfda0ed8760457792f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['53b4c372-1bdd-4315-8e75-465eaed6130b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57333019', 'ctest-vn-33831398'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57333019', 'ctest-policy-allow-all-57542902']], 'subnet_ipam': [{'subnet_cidr': '146.141.168.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-12 19:25:49,569 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f356b584-e84d-4e6a-beff-16a608354849', 'name': 'ctest-vn-75905674', 'tenant_id': '2eaad85036494dfda0ed8760457792f3', 'project_id': '2eaad85036494dfda0ed8760457792f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cf5000a9-ab4d-4d5e-a87f-7cfd82b6ba96'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57333019', 'ctest-vn-75905674'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57333019', 'ctest-policy-allow-all-57542902']], 'subnet_ipam': [{'subnet_cidr': '174.217.208.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-12 19:25:49,711 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-12 19:25:50,025 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-12 19:25:50,058 - DEBUG - Requesting: http://10.0.0.38:8082/domain/89530202-c0c2-4bce-b769-88aca3a3bccb
2026-01-12 19:25:50,071 - DEBUG - Requesting: http://10.0.0.38:8082/project/2eaad850-3649-4dfd-a0ed-8760457792f3
2026-01-12 19:25:50,145 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d87f135-2e9a-4e92-be28-c40f43424f3d
2026-01-12 19:25:50,158 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d87f135-2e9a-4e92-be28-c40f43424f3d
2026-01-12 19:25:50,168 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f620b127-0458-4209-9eaa-35185c750eca
2026-01-12 19:25:50,176 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f620b127-0458-4209-9eaa-35185c750eca
2026-01-12 19:25:50,184 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/49bb4dcb-c3e1-4ca9-bf8e-7e2fa599dc8d
2026-01-12 19:25:50,192 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-12 19:25:50,192 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d87f135-2e9a-4e92-be28-c40f43424f3d
2026-01-12 19:25:50,206 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f620b127-0458-4209-9eaa-35185c750eca
2026-01-12 19:25:50,227 - INFO - Verified VN network id 11 for VN 7d87f135-2e9a-4e92-be28-c40f43424f3d
2026-01-12 19:25:50,227 - INFO - Verifications in API Server for VN ctest-vn-33831398 passed
2026-01-12 19:25:50,227 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d87f135-2e9a-4e92-be28-c40f43424f3d
2026-01-12 19:25:50,240 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f620b127-0458-4209-9eaa-35185c750eca
2026-01-12 19:25:50,247 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f620b127-0458-4209-9eaa-35185c750eca
2026-01-12 19:25:50,254 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/49bb4dcb-c3e1-4ca9-bf8e-7e2fa599dc8d
2026-01-12 19:25:50,265 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-33831398', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57333019', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9045463587314355858', 'uuid-lslong': '13702417436106706749'}, 'enable': 'true', 'created': '2026-01-12T19:25:48', 'last-modified': '2026-01-12T19:25:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.972066'}
2026-01-12 19:25:50,271 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-12 19:25:50,271 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33831398 passed
2026-01-12 19:25:50,271 - DEBUG - ====Verifying policy data for ctest-vn-33831398 in API_Server ======
2026-01-12 19:25:50,271 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-12 19:25:50,276 - DEBUG - Requesting: http://10.0.0.38:8082/domain/89530202-c0c2-4bce-b769-88aca3a3bccb
2026-01-12 19:25:50,289 - DEBUG - Requesting: http://10.0.0.38:8082/project/2eaad850-3649-4dfd-a0ed-8760457792f3
2026-01-12 19:25:50,359 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d87f135-2e9a-4e92-be28-c40f43424f3d
2026-01-12 19:25:50,369 - DEBUG - ==>Verifying data for policy with id: 7aa11e6e-1585-4cda-aedb-c7c8d9bb1bb8, fqn: ['default-domain', 'ctest-TestBasicPolicy-57333019', 'ctest-policy-allow-all-57542902']
2026-01-12 19:25:50,369 - INFO - VN ctest-vn-33831398 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-12 19:25:50,369 - DEBUG - Verifying the vn in opserver
2026-01-12 19:25:50,370 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-33831398 virtual network link through opserver 10.0.0.38
2026-01-12 19:25:50,370 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-12 19:25:50,679 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-12 19:25:50,746 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-33831398', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-33831398?flat'}
2026-01-12 19:25:50,746 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-33831398 is found in opserver
2026-01-12 19:25:50,755 - DEBUG - Do not have enough data to verify VN in agent
2026-01-12 19:25:50,761 - DEBUG - VRF ids for VN ctest-vn-33831398: {}
2026-01-12 19:25:50,761 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-12 19:25:50,766 - DEBUG - Requesting: http://10.0.0.38:8082/domain/89530202-c0c2-4bce-b769-88aca3a3bccb
2026-01-12 19:25:50,776 - DEBUG - Requesting: http://10.0.0.38:8082/project/2eaad850-3649-4dfd-a0ed-8760457792f3
2026-01-12 19:25:50,850 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f356b584-e84d-4e6a-beff-16a608354849
2026-01-12 19:25:50,863 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f356b584-e84d-4e6a-beff-16a608354849
2026-01-12 19:25:50,872 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/61004efe-efb9-4839-a679-ba1671fac4d6
2026-01-12 19:25:50,879 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/61004efe-efb9-4839-a679-ba1671fac4d6
2026-01-12 19:25:50,885 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/af4bd97d-8234-4b6a-bcde-b5e348add1a8
2026-01-12 19:25:50,891 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-12 19:25:50,891 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f356b584-e84d-4e6a-beff-16a608354849
2026-01-12 19:25:50,900 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/61004efe-efb9-4839-a679-ba1671fac4d6
2026-01-12 19:25:50,914 - INFO - Verified VN network id 12 for VN f356b584-e84d-4e6a-beff-16a608354849
2026-01-12 19:25:50,914 - INFO - Verifications in API Server for VN ctest-vn-75905674 passed
2026-01-12 19:25:50,914 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f356b584-e84d-4e6a-beff-16a608354849
2026-01-12 19:25:50,923 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/61004efe-efb9-4839-a679-ba1671fac4d6
2026-01-12 19:25:50,930 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/61004efe-efb9-4839-a679-ba1671fac4d6
2026-01-12 19:25:50,936 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/af4bd97d-8234-4b6a-bcde-b5e348add1a8
2026-01-12 19:25:50,948 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-75905674', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57333019', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17534401781651295850', 'uuid-lslong': '13762743888625616969'}, 'enable': 'true', 'created': '2026-01-12T19:25:48', 'last-modified': '2026-01-12T19:25:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.410261'}
2026-01-12 19:25:50,954 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-12 19:25:50,954 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75905674 passed
2026-01-12 19:25:50,954 - DEBUG - ====Verifying policy data for ctest-vn-75905674 in API_Server ======
2026-01-12 19:25:50,954 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-12 19:25:50,960 - DEBUG - Requesting: http://10.0.0.38:8082/domain/89530202-c0c2-4bce-b769-88aca3a3bccb
2026-01-12 19:25:50,970 - DEBUG - Requesting: http://10.0.0.38:8082/project/2eaad850-3649-4dfd-a0ed-8760457792f3
2026-01-12 19:25:51,043 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f356b584-e84d-4e6a-beff-16a608354849
2026-01-12 19:25:51,052 - DEBUG - ==>Verifying data for policy with id: 7aa11e6e-1585-4cda-aedb-c7c8d9bb1bb8, fqn: ['default-domain', 'ctest-TestBasicPolicy-57333019', 'ctest-policy-allow-all-57542902']
2026-01-12 19:25:51,052 - INFO - VN ctest-vn-75905674 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-12 19:25:51,052 - DEBUG - Verifying the vn in opserver
2026-01-12 19:25:51,052 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-75905674 virtual network link through opserver 10.0.0.38
2026-01-12 19:25:51,052 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-12 19:25:51,061 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-75905674', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-75905674?flat'}
2026-01-12 19:25:51,061 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-75905674 is found in opserver
2026-01-12 19:25:51,072 - DEBUG - Do not have enough data to verify VN in agent
2026-01-12 19:25:51,077 - DEBUG - VRF ids for VN ctest-vn-75905674: {}
2026-01-12 19:25:51,147 - DEBUG - Services list from nova: [