2026-03-18 17:08:58,121 - INFO - Domain Default found not creating
2026-03-18 17:08:58,326 - INFO - Project ctest-TestBasicPolicy-25982012 not found, creating it
2026-03-18 17:08:58,837 - INFO - Created Project:ctest-TestBasicPolicy-25982012, ID : 02a4414c-576e-40f2-8c84-48d485f3841d
2026-03-18 17:09:00,422 - INFO - ================================================================================
2026-03-18 17:09:00,422 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-18 17:09:00,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-03-18 17:09:00,675 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-03-18 17:09:00,675 - INFO - Initial checks done. Running the testcase now
2026-03-18 17:09:00,675 - INFO -
2026-03-18 17:09:01,255 - DEBUG - Response for create_network : {'network': {'id': '1897cd58-8abc-4c60-9de4-ee874147ab7c', 'name': 'ctest-vn-06699835', 'tenant_id': '02a4414c576e40f28c8448d485f3841d', 'project_id': '02a4414c576e40f28c8448d485f3841d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25982012', 'ctest-vn-06699835'], 'port_security_enabled': True, 'description': ''}}
2026-03-18 17:09:01,470 - DEBUG - Response for create_subnet : {'subnet': {'id': '06853561-f9e8-4eda-b64d-22f6983d0193', 'name': '', 'tenant_id': '02a4414c576e40f28c8448d485f3841d', 'network_id': '1897cd58-8abc-4c60-9de4-ee874147ab7c', 'ip_version': 4, 'cidr': '204.40.213.64/26', 'allocation_pools': [{'start': '204.40.213.66', 'end': '204.40.213.126'}], 'gateway_ip': '204.40.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.40.213.66', 'tags': [], 'project_id': '02a4414c576e40f28c8448d485f3841d'}}
2026-03-18 17:09:01,489 - INFO - Created VN ctest-vn-06699835
2026-03-18 17:09:01,545 - DEBUG - VN ctest-vn-06699835 UUID is 1897cd58-8abc-4c60-9de4-ee874147ab7c
2026-03-18 17:09:01,858 - DEBUG - Response for create_network : {'network': {'id': '75ff5007-c4f4-47ce-9391-000551235fac', 'name': 'ctest-vn-57896500', 'tenant_id': '02a4414c576e40f28c8448d485f3841d', 'project_id': '02a4414c576e40f28c8448d485f3841d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25982012', 'ctest-vn-57896500'], 'port_security_enabled': True, 'description': ''}}
2026-03-18 17:09:02,054 - DEBUG - Response for create_subnet : {'subnet': {'id': '22655f26-4f5c-4f4f-a218-a25520c1af0e', 'name': '', 'tenant_id': '02a4414c576e40f28c8448d485f3841d', 'network_id': '75ff5007-c4f4-47ce-9391-000551235fac', 'ip_version': 4, 'cidr': '112.215.116.0/26', 'allocation_pools': [{'start': '112.215.116.2', 'end': '112.215.116.62'}], 'gateway_ip': '112.215.116.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.215.116.2', 'tags': [], 'project_id': '02a4414c576e40f28c8448d485f3841d'}}
2026-03-18 17:09:02,074 - INFO - Created VN ctest-vn-57896500
2026-03-18 17:09:02,129 - DEBUG - VN ctest-vn-57896500 UUID is 75ff5007-c4f4-47ce-9391-000551235fac
2026-03-18 17:09:02,258 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-06699835, 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-25982012:ctest-vn-57896500, 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-03-18 17:09:02,564 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1897cd58-8abc-4c60-9de4-ee874147ab7c', 'name': 'ctest-vn-06699835', 'tenant_id': '02a4414c576e40f28c8448d485f3841d', 'project_id': '02a4414c576e40f28c8448d485f3841d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['06853561-f9e8-4eda-b64d-22f6983d0193'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25982012', 'ctest-vn-06699835'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25982012', 'ctest-policy-allow-all-11634962']], 'subnet_ipam': [{'subnet_cidr': '204.40.213.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-18 17:09:02,811 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '75ff5007-c4f4-47ce-9391-000551235fac', 'name': 'ctest-vn-57896500', 'tenant_id': '02a4414c576e40f28c8448d485f3841d', 'project_id': '02a4414c576e40f28c8448d485f3841d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['22655f26-4f5c-4f4f-a218-a25520c1af0e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25982012', 'ctest-vn-57896500'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25982012', 'ctest-policy-allow-all-11634962']], 'subnet_ipam': [{'subnet_cidr': '112.215.116.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-18 17:09:02,981 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-18 17:09:03,283 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-18 17:09:03,322 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a26233b-a09f-4051-bd45-e53d533a39be
2026-03-18 17:09:03,334 - DEBUG - Requesting: http://10.0.0.38:8082/project/02a4414c-576e-40f2-8c84-48d485f3841d
2026-03-18 17:09:03,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1897cd58-8abc-4c60-9de4-ee874147ab7c
2026-03-18 17:09:03,433 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1897cd58-8abc-4c60-9de4-ee874147ab7c
2026-03-18 17:09:03,446 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0c4524c-65b1-49c0-b277-b700fca1913b
2026-03-18 17:09:03,455 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0c4524c-65b1-49c0-b277-b700fca1913b
2026-03-18 17:09:03,463 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/764117b0-794c-4fd6-a7be-86e52b25e525
2026-03-18 17:09:03,470 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-18 17:09:03,470 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1897cd58-8abc-4c60-9de4-ee874147ab7c
2026-03-18 17:09:03,482 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0c4524c-65b1-49c0-b277-b700fca1913b
2026-03-18 17:09:03,500 - INFO - Verified VN network id 11 for VN 1897cd58-8abc-4c60-9de4-ee874147ab7c
2026-03-18 17:09:03,500 - INFO - Verifications in API Server for VN ctest-vn-06699835 passed
2026-03-18 17:09:03,500 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1897cd58-8abc-4c60-9de4-ee874147ab7c
2026-03-18 17:09:03,515 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0c4524c-65b1-49c0-b277-b700fca1913b
2026-03-18 17:09:03,523 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0c4524c-65b1-49c0-b277-b700fca1913b
2026-03-18 17:09:03,531 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/764117b0-794c-4fd6-a7be-86e52b25e525
2026-03-18 17:09:03,547 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-06699835', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25982012', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1772110758561991776', 'uuid-lslong': '11377480823327927164'}, 'enable': 'true', 'created': '2026-03-18T17:09:01', 'last-modified': '2026-03-18T17:09:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.008623'}
2026-03-18 17:09:03,554 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-18 17:09:03,554 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06699835 passed
2026-03-18 17:09:03,554 - DEBUG - ====Verifying policy data for ctest-vn-06699835 in API_Server ======
2026-03-18 17:09:03,554 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-18 17:09:03,559 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a26233b-a09f-4051-bd45-e53d533a39be
2026-03-18 17:09:03,572 - DEBUG - Requesting: http://10.0.0.38:8082/project/02a4414c-576e-40f2-8c84-48d485f3841d
2026-03-18 17:09:03,643 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1897cd58-8abc-4c60-9de4-ee874147ab7c
2026-03-18 17:09:03,654 - DEBUG - ==>Verifying data for policy with id: 195733b9-945b-47f2-9180-4dd21b347f4a, fqn: ['default-domain', 'ctest-TestBasicPolicy-25982012', 'ctest-policy-allow-all-11634962']
2026-03-18 17:09:03,654 - INFO - VN ctest-vn-06699835 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-18 17:09:03,654 - DEBUG - Verifying the vn in opserver
2026-03-18 17:09:03,654 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-06699835 virtual network link through opserver 10.0.0.38
2026-03-18 17:09:03,654 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-18 17:09:03,955 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-18 17:09:04,030 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-06699835', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-06699835?flat'}
2026-03-18 17:09:04,030 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-06699835 is found in opserver
2026-03-18 17:09:04,039 - DEBUG - Do not have enough data to verify VN in agent
2026-03-18 17:09:04,044 - DEBUG - VRF ids for VN ctest-vn-06699835: {}
2026-03-18 17:09:04,044 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-18 17:09:04,050 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a26233b-a09f-4051-bd45-e53d533a39be
2026-03-18 17:09:04,063 - DEBUG - Requesting: http://10.0.0.38:8082/project/02a4414c-576e-40f2-8c84-48d485f3841d
2026-03-18 17:09:04,132 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/75ff5007-c4f4-47ce-9391-000551235fac
2026-03-18 17:09:04,145 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/75ff5007-c4f4-47ce-9391-000551235fac
2026-03-18 17:09:04,156 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/66887f24-7484-4793-b1cd-be1c26cb7175
2026-03-18 17:09:04,164 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/66887f24-7484-4793-b1cd-be1c26cb7175
2026-03-18 17:09:04,172 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/68350fcc-54f6-4ec1-aff9-77b6224aad70
2026-03-18 17:09:04,180 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-18 17:09:04,180 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/75ff5007-c4f4-47ce-9391-000551235fac
2026-03-18 17:09:04,190 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/66887f24-7484-4793-b1cd-be1c26cb7175
2026-03-18 17:09:04,205 - INFO - Verified VN network id 12 for VN 75ff5007-c4f4-47ce-9391-000551235fac
2026-03-18 17:09:04,205 - INFO - Verifications in API Server for VN ctest-vn-57896500 passed
2026-03-18 17:09:04,206 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/75ff5007-c4f4-47ce-9391-000551235fac
2026-03-18 17:09:04,215 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/66887f24-7484-4793-b1cd-be1c26cb7175
2026-03-18 17:09:04,222 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/66887f24-7484-4793-b1cd-be1c26cb7175
2026-03-18 17:09:04,232 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/68350fcc-54f6-4ec1-aff9-77b6224aad70
2026-03-18 17:09:04,245 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-57896500', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25982012', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8502602615798122446', 'uuid-lslong': '10633280218034560940'}, 'enable': 'true', 'created': '2026-03-18T17:09:01', 'last-modified': '2026-03-18T17:09:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.458637'}
2026-03-18 17:09:04,252 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-18 17:09:04,252 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57896500 passed
2026-03-18 17:09:04,252 - DEBUG - ====Verifying policy data for ctest-vn-57896500 in API_Server ======
2026-03-18 17:09:04,252 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-18 17:09:04,260 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a26233b-a09f-4051-bd45-e53d533a39be
2026-03-18 17:09:04,272 - DEBUG - Requesting: http://10.0.0.38:8082/project/02a4414c-576e-40f2-8c84-48d485f3841d
2026-03-18 17:09:04,344 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/75ff5007-c4f4-47ce-9391-000551235fac
2026-03-18 17:09:04,354 - DEBUG - ==>Verifying data for policy with id: 195733b9-945b-47f2-9180-4dd21b347f4a, fqn: ['default-domain', 'ctest-TestBasicPolicy-25982012', 'ctest-policy-allow-all-11634962']
2026-03-18 17:09:04,355 - INFO - VN ctest-vn-57896500 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-18 17:09:04,355 - DEBUG - Verifying the vn in opserver
2026-03-18 17:09:04,355 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-57896500 virtual network link through opserver 10.0.0.38
2026-03-18 17:09:04,355 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-18 17:09:04,366 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-57896500', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-57896500?flat'}
2026-03-18 17:09:04,366 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25982012:ctest-vn-57896500 is found in opserver
2026-03-18 17:09:04,377 - DEBUG - Do not have enough data to verify VN in agent
2026-03-18 17:09:04,383 - DEBUG - VRF ids for VN ctest-vn-57896500: {}
2026-03-18 17:09:04,448 - DEBUG - Services list from nova: [