2026-10-29 18:50:31,184 - INFO - Domain Default found not creating
2026-10-29 18:50:31,328 - INFO - Project ctest-TestBasicPolicy-86971446 not found, creating it
2026-10-29 18:50:31,802 - INFO - Created Project:ctest-TestBasicPolicy-86971446, ID : 3d9ebc7b-aa45-4117-9c28-2c4f7bc68431
2026-10-29 18:50:33,405 - INFO - ================================================================================
2026-10-29 18:50:33,405 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-29 18:50:33,405 - 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-29 18:50:33,672 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.25': '0'}} with
2026-10-29 18:50:33,672 - INFO - Initial checks done. Running the testcase now
2026-10-29 18:50:33,672 - INFO -
2026-10-29 18:50:34,259 - DEBUG - Response for create_network : {'network': {'id': '732faf62-89f6-495e-8cfa-bba4908e7b15', 'name': 'ctest-vn-15301465', 'tenant_id': '3d9ebc7baa4541179c282c4f7bc68431', 'project_id': '3d9ebc7baa4541179c282c4f7bc68431', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86971446', 'ctest-vn-15301465'], 'port_security_enabled': True, 'description': ''}}
2026-10-29 18:50:34,470 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ad1b848-ed56-4b83-89ef-41f591db5927', 'name': '', 'tenant_id': '3d9ebc7baa4541179c282c4f7bc68431', 'network_id': '732faf62-89f6-495e-8cfa-bba4908e7b15', 'ip_version': 4, 'cidr': '29.188.42.0/26', 'allocation_pools': [{'start': '29.188.42.2', 'end': '29.188.42.62'}], 'gateway_ip': '29.188.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.188.42.2', 'tags': [], 'project_id': '3d9ebc7baa4541179c282c4f7bc68431'}}
2026-10-29 18:50:34,484 - INFO - Created VN ctest-vn-15301465
2026-10-29 18:50:34,535 - DEBUG - VN ctest-vn-15301465 UUID is 732faf62-89f6-495e-8cfa-bba4908e7b15
2026-10-29 18:50:34,836 - DEBUG - Response for create_network : {'network': {'id': 'cd3076ad-a312-4a55-94be-12752b1c5123', 'name': 'ctest-vn-33156519', 'tenant_id': '3d9ebc7baa4541179c282c4f7bc68431', 'project_id': '3d9ebc7baa4541179c282c4f7bc68431', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86971446', 'ctest-vn-33156519'], 'port_security_enabled': True, 'description': ''}}
2026-10-29 18:50:35,012 - DEBUG - Response for create_subnet : {'subnet': {'id': '52f4fe42-26ec-4942-b019-4a5e0615e3ba', 'name': '', 'tenant_id': '3d9ebc7baa4541179c282c4f7bc68431', 'network_id': 'cd3076ad-a312-4a55-94be-12752b1c5123', 'ip_version': 4, 'cidr': '206.4.78.128/26', 'allocation_pools': [{'start': '206.4.78.130', 'end': '206.4.78.190'}], 'gateway_ip': '206.4.78.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.4.78.130', 'tags': [], 'project_id': '3d9ebc7baa4541179c282c4f7bc68431'}}
2026-10-29 18:50:35,024 - INFO - Created VN ctest-vn-33156519
2026-10-29 18:50:35,075 - DEBUG - VN ctest-vn-33156519 UUID is cd3076ad-a312-4a55-94be-12752b1c5123
2026-10-29 18:50:35,214 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-15301465, 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-86971446:ctest-vn-33156519, 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-29 18:50:35,504 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '732faf62-89f6-495e-8cfa-bba4908e7b15', 'name': 'ctest-vn-15301465', 'tenant_id': '3d9ebc7baa4541179c282c4f7bc68431', 'project_id': '3d9ebc7baa4541179c282c4f7bc68431', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5ad1b848-ed56-4b83-89ef-41f591db5927'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86971446', 'ctest-vn-15301465'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86971446', 'ctest-policy-allow-all-44745971']], 'subnet_ipam': [{'subnet_cidr': '29.188.42.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-29 18:50:35,721 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cd3076ad-a312-4a55-94be-12752b1c5123', 'name': 'ctest-vn-33156519', 'tenant_id': '3d9ebc7baa4541179c282c4f7bc68431', 'project_id': '3d9ebc7baa4541179c282c4f7bc68431', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['52f4fe42-26ec-4942-b019-4a5e0615e3ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86971446', 'ctest-vn-33156519'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86971446', 'ctest-policy-allow-all-44745971']], 'subnet_ipam': [{'subnet_cidr': '206.4.78.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-29 18:50:35,846 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-10-29 18:50:36,207 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-10-29 18:50:36,229 - DEBUG - Requesting: http://10.0.0.248:8082/domain/8c2f7ba6-295f-455e-86f7-68fec335b17b
2026-10-29 18:50:36,240 - DEBUG - Requesting: http://10.0.0.248:8082/project/3d9ebc7b-aa45-4117-9c28-2c4f7bc68431
2026-10-29 18:50:36,312 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/732faf62-89f6-495e-8cfa-bba4908e7b15
2026-10-29 18:50:36,323 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/732faf62-89f6-495e-8cfa-bba4908e7b15
2026-10-29 18:50:36,331 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/6a6aba93-378a-4fc8-a31e-7b44871e8ee4
2026-10-29 18:50:36,336 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/6a6aba93-378a-4fc8-a31e-7b44871e8ee4
2026-10-29 18:50:36,341 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/39ecf98c-c5e3-404c-9ad0-840c77073f67
2026-10-29 18:50:36,346 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-29 18:50:36,346 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/732faf62-89f6-495e-8cfa-bba4908e7b15
2026-10-29 18:50:36,353 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/6a6aba93-378a-4fc8-a31e-7b44871e8ee4
2026-10-29 18:50:36,364 - INFO - Verified VN network id 12 for VN 732faf62-89f6-495e-8cfa-bba4908e7b15
2026-10-29 18:50:36,364 - INFO - Verifications in API Server for VN ctest-vn-15301465 passed
2026-10-29 18:50:36,364 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/732faf62-89f6-495e-8cfa-bba4908e7b15
2026-10-29 18:50:36,371 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/6a6aba93-378a-4fc8-a31e-7b44871e8ee4
2026-10-29 18:50:36,376 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/6a6aba93-378a-4fc8-a31e-7b44871e8ee4
2026-10-29 18:50:36,381 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/39ecf98c-c5e3-404c-9ad0-840c77073f67
2026-10-29 18:50:36,391 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-15301465', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86971446', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8300045476023388510', 'uuid-lslong': '10158638224961862421'}, 'enable': 'true', 'created': '2026-10-29T18:50:34', 'last-modified': '2026-10-29T18:50:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.906499'}
2026-10-29 18:50:36,397 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-29 18:50:36,397 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15301465 passed
2026-10-29 18:50:36,397 - DEBUG - ====Verifying policy data for ctest-vn-15301465 in API_Server ======
2026-10-29 18:50:36,397 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-10-29 18:50:36,401 - DEBUG - Requesting: http://10.0.0.248:8082/domain/8c2f7ba6-295f-455e-86f7-68fec335b17b
2026-10-29 18:50:36,409 - DEBUG - Requesting: http://10.0.0.248:8082/project/3d9ebc7b-aa45-4117-9c28-2c4f7bc68431
2026-10-29 18:50:36,479 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/732faf62-89f6-495e-8cfa-bba4908e7b15
2026-10-29 18:50:36,489 - DEBUG - ==>Verifying data for policy with id: 5608650e-2c7d-4969-b8c9-c46b2a53b427, fqn: ['default-domain', 'ctest-TestBasicPolicy-86971446', 'ctest-policy-allow-all-44745971']
2026-10-29 18:50:36,489 - INFO - VN ctest-vn-15301465 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-29 18:50:36,489 - DEBUG - Verifying the vn in opserver
2026-10-29 18:50:36,489 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-15301465 virtual network link through opserver 10.0.0.248
2026-10-29 18:50:36,489 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-10-29 18:50:36,845 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-10-29 18:50:36,890 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-15301465', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-15301465?flat'}
2026-10-29 18:50:36,890 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-15301465 is found in opserver
2026-10-29 18:50:36,900 - DEBUG - Do not have enough data to verify VN in agent
2026-10-29 18:50:36,904 - DEBUG - VRF ids for VN ctest-vn-15301465: {}
2026-10-29 18:50:36,904 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-10-29 18:50:36,910 - DEBUG - Requesting: http://10.0.0.248:8082/domain/8c2f7ba6-295f-455e-86f7-68fec335b17b
2026-10-29 18:50:36,918 - DEBUG - Requesting: http://10.0.0.248:8082/project/3d9ebc7b-aa45-4117-9c28-2c4f7bc68431
2026-10-29 18:50:36,991 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/cd3076ad-a312-4a55-94be-12752b1c5123
2026-10-29 18:50:37,000 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/cd3076ad-a312-4a55-94be-12752b1c5123
2026-10-29 18:50:37,008 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e9e6e975-0214-437e-9c38-7a124ba372b3
2026-10-29 18:50:37,013 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e9e6e975-0214-437e-9c38-7a124ba372b3
2026-10-29 18:50:37,018 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/0fa27a84-bbf4-4252-b590-634723bc5d22
2026-10-29 18:50:37,024 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-29 18:50:37,024 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/cd3076ad-a312-4a55-94be-12752b1c5123
2026-10-29 18:50:37,032 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e9e6e975-0214-437e-9c38-7a124ba372b3
2026-10-29 18:50:37,043 - INFO - Verified VN network id 13 for VN cd3076ad-a312-4a55-94be-12752b1c5123
2026-10-29 18:50:37,043 - INFO - Verifications in API Server for VN ctest-vn-33156519 passed
2026-10-29 18:50:37,043 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/cd3076ad-a312-4a55-94be-12752b1c5123
2026-10-29 18:50:37,050 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e9e6e975-0214-437e-9c38-7a124ba372b3
2026-10-29 18:50:37,055 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/e9e6e975-0214-437e-9c38-7a124ba372b3
2026-10-29 18:50:37,060 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/0fa27a84-bbf4-4252-b590-634723bc5d22
2026-10-29 18:50:37,071 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-33156519', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86971446', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14785448064794643029', 'uuid-lslong': '10718024457632108835'}, 'enable': 'true', 'created': '2026-10-29T18:50:34', 'last-modified': '2026-10-29T18:50:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.366270'}
2026-10-29 18:50:37,076 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-29 18:50:37,076 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33156519 passed
2026-10-29 18:50:37,077 - DEBUG - ====Verifying policy data for ctest-vn-33156519 in API_Server ======
2026-10-29 18:50:37,077 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-10-29 18:50:37,081 - DEBUG - Requesting: http://10.0.0.248:8082/domain/8c2f7ba6-295f-455e-86f7-68fec335b17b
2026-10-29 18:50:37,089 - DEBUG - Requesting: http://10.0.0.248:8082/project/3d9ebc7b-aa45-4117-9c28-2c4f7bc68431
2026-10-29 18:50:37,158 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/cd3076ad-a312-4a55-94be-12752b1c5123
2026-10-29 18:50:37,167 - DEBUG - ==>Verifying data for policy with id: 5608650e-2c7d-4969-b8c9-c46b2a53b427, fqn: ['default-domain', 'ctest-TestBasicPolicy-86971446', 'ctest-policy-allow-all-44745971']
2026-10-29 18:50:37,167 - INFO - VN ctest-vn-33156519 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-29 18:50:37,167 - DEBUG - Verifying the vn in opserver
2026-10-29 18:50:37,167 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-33156519 virtual network link through opserver 10.0.0.248
2026-10-29 18:50:37,167 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-10-29 18:50:37,175 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-33156519', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-33156519?flat'}
2026-10-29 18:50:37,175 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86971446:ctest-vn-33156519 is found in opserver
2026-10-29 18:50:37,186 - DEBUG - Do not have enough data to verify VN in agent
2026-10-29 18:50:37,189 - DEBUG - VRF ids for VN ctest-vn-33156519: {}
2026-10-29 18:50:37,238 - DEBUG - Services list from nova: [