2026-01-28 17:03:27,914 - INFO - Domain Default found not creating
2026-01-28 17:03:28,105 - INFO - Project ctest-TestBasicPolicy-12574230 not found, creating it
2026-01-28 17:03:28,576 - INFO - Created Project:ctest-TestBasicPolicy-12574230, ID : 5256a44b-75d0-401f-982d-f6e0fee9b0fb
2026-01-28 17:03:30,104 - INFO - ================================================================================
2026-01-28 17:03:30,105 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-28 17:03:30,105 - 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-28 17:03:30,365 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with
2026-01-28 17:03:30,365 - INFO - Initial checks done. Running the testcase now
2026-01-28 17:03:30,366 - INFO -
2026-01-28 17:03:30,943 - DEBUG - Response for create_network : {'network': {'id': 'b42df2ab-9620-4976-a745-0c0e18afff75', 'name': 'ctest-vn-12558246', 'tenant_id': '5256a44b75d0401f982df6e0fee9b0fb', 'project_id': '5256a44b75d0401f982df6e0fee9b0fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12574230', 'ctest-vn-12558246'], 'port_security_enabled': True, 'description': ''}}
2026-01-28 17:03:31,184 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c450c9f4-2ea7-4910-b20a-d3c2c5aa2dd0', 'name': '', 'tenant_id': '5256a44b75d0401f982df6e0fee9b0fb', 'network_id': 'b42df2ab-9620-4976-a745-0c0e18afff75', 'ip_version': 4, 'cidr': '83.138.140.192/26', 'allocation_pools': [{'start': '83.138.140.194', 'end': '83.138.140.254'}], 'gateway_ip': '83.138.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.138.140.194', 'tags': [], 'project_id': '5256a44b75d0401f982df6e0fee9b0fb'}}
2026-01-28 17:03:31,201 - INFO - Created VN ctest-vn-12558246
2026-01-28 17:03:31,253 - DEBUG - VN ctest-vn-12558246 UUID is b42df2ab-9620-4976-a745-0c0e18afff75
2026-01-28 17:03:31,546 - DEBUG - Response for create_network : {'network': {'id': 'e9e64568-9d83-45cc-a5fc-3c56468e0aa7', 'name': 'ctest-vn-98432036', 'tenant_id': '5256a44b75d0401f982df6e0fee9b0fb', 'project_id': '5256a44b75d0401f982df6e0fee9b0fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12574230', 'ctest-vn-98432036'], 'port_security_enabled': True, 'description': ''}}
2026-01-28 17:03:31,756 - DEBUG - Response for create_subnet : {'subnet': {'id': '52e3f068-1b2d-4da8-87ed-e05e64eaec12', 'name': '', 'tenant_id': '5256a44b75d0401f982df6e0fee9b0fb', 'network_id': 'e9e64568-9d83-45cc-a5fc-3c56468e0aa7', 'ip_version': 4, 'cidr': '153.242.98.128/26', 'allocation_pools': [{'start': '153.242.98.130', 'end': '153.242.98.190'}], 'gateway_ip': '153.242.98.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.242.98.130', 'tags': [], 'project_id': '5256a44b75d0401f982df6e0fee9b0fb'}}
2026-01-28 17:03:31,773 - INFO - Created VN ctest-vn-98432036
2026-01-28 17:03:31,824 - DEBUG - VN ctest-vn-98432036 UUID is e9e64568-9d83-45cc-a5fc-3c56468e0aa7
2026-01-28 17:03:31,935 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-12558246, 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-12574230:ctest-vn-98432036, 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-28 17:03:32,245 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b42df2ab-9620-4976-a745-0c0e18afff75', 'name': 'ctest-vn-12558246', 'tenant_id': '5256a44b75d0401f982df6e0fee9b0fb', 'project_id': '5256a44b75d0401f982df6e0fee9b0fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c450c9f4-2ea7-4910-b20a-d3c2c5aa2dd0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12574230', 'ctest-vn-12558246'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12574230', 'ctest-policy-allow-all-37790794']], 'subnet_ipam': [{'subnet_cidr': '83.138.140.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-28 17:03:32,483 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e9e64568-9d83-45cc-a5fc-3c56468e0aa7', 'name': 'ctest-vn-98432036', 'tenant_id': '5256a44b75d0401f982df6e0fee9b0fb', 'project_id': '5256a44b75d0401f982df6e0fee9b0fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['52e3f068-1b2d-4da8-87ed-e05e64eaec12'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12574230', 'ctest-vn-98432036'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12574230', 'ctest-policy-allow-all-37790794']], 'subnet_ipam': [{'subnet_cidr': '153.242.98.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-28 17:03:32,645 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-28 17:03:32,954 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-28 17:03:32,988 - DEBUG - Requesting: http://10.0.0.27:8082/domain/726a90fb-7f4e-4c0e-ae8f-8254d9be9068
2026-01-28 17:03:33,001 - DEBUG - Requesting: http://10.0.0.27:8082/project/5256a44b-75d0-401f-982d-f6e0fee9b0fb
2026-01-28 17:03:33,075 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b42df2ab-9620-4976-a745-0c0e18afff75
2026-01-28 17:03:33,086 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b42df2ab-9620-4976-a745-0c0e18afff75
2026-01-28 17:03:33,096 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/876abfd7-3435-4167-91b6-511311cf0b4a
2026-01-28 17:03:33,104 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/876abfd7-3435-4167-91b6-511311cf0b4a
2026-01-28 17:03:33,111 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/2868e6e5-3917-4d94-ba90-a6fc5742f2c8
2026-01-28 17:03:33,118 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-28 17:03:33,118 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b42df2ab-9620-4976-a745-0c0e18afff75
2026-01-28 17:03:33,127 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/876abfd7-3435-4167-91b6-511311cf0b4a
2026-01-28 17:03:33,142 - INFO - Verified VN network id 11 for VN b42df2ab-9620-4976-a745-0c0e18afff75
2026-01-28 17:03:33,142 - INFO - Verifications in API Server for VN ctest-vn-12558246 passed
2026-01-28 17:03:33,142 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b42df2ab-9620-4976-a745-0c0e18afff75
2026-01-28 17:03:33,152 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/876abfd7-3435-4167-91b6-511311cf0b4a
2026-01-28 17:03:33,160 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/876abfd7-3435-4167-91b6-511311cf0b4a
2026-01-28 17:03:33,167 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/2868e6e5-3917-4d94-ba90-a6fc5742f2c8
2026-01-28 17:03:33,179 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-12558246', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12574230', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12983300119551035766', 'uuid-lslong': '12053053232410263413'}, 'enable': 'true', 'created': '2026-01-28T17:03:30', 'last-modified': '2026-01-28T17:03:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964091'}
2026-01-28 17:03:33,186 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-28 17:03:33,187 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12558246 passed
2026-01-28 17:03:33,187 - DEBUG - ====Verifying policy data for ctest-vn-12558246 in API_Server ======
2026-01-28 17:03:33,187 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-28 17:03:33,192 - DEBUG - Requesting: http://10.0.0.27:8082/domain/726a90fb-7f4e-4c0e-ae8f-8254d9be9068
2026-01-28 17:03:33,203 - DEBUG - Requesting: http://10.0.0.27:8082/project/5256a44b-75d0-401f-982d-f6e0fee9b0fb
2026-01-28 17:03:33,280 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b42df2ab-9620-4976-a745-0c0e18afff75
2026-01-28 17:03:33,289 - DEBUG - ==>Verifying data for policy with id: 26f93613-d9cd-45ca-a49e-60f351f96f62, fqn: ['default-domain', 'ctest-TestBasicPolicy-12574230', 'ctest-policy-allow-all-37790794']
2026-01-28 17:03:33,289 - INFO - VN ctest-vn-12558246 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-28 17:03:33,289 - DEBUG - Verifying the vn in opserver
2026-01-28 17:03:33,289 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-12558246 virtual network link through opserver 10.0.0.27
2026-01-28 17:03:33,289 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-01-28 17:03:33,597 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-01-28 17:03:33,657 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-12558246', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-12558246?flat'}
2026-01-28 17:03:33,657 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-12558246 is found in opserver
2026-01-28 17:03:33,666 - DEBUG - Do not have enough data to verify VN in agent
2026-01-28 17:03:33,670 - DEBUG - VRF ids for VN ctest-vn-12558246: {}
2026-01-28 17:03:33,671 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-28 17:03:33,676 - DEBUG - Requesting: http://10.0.0.27:8082/domain/726a90fb-7f4e-4c0e-ae8f-8254d9be9068
2026-01-28 17:03:33,686 - DEBUG - Requesting: http://10.0.0.27:8082/project/5256a44b-75d0-401f-982d-f6e0fee9b0fb
2026-01-28 17:03:33,755 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e9e64568-9d83-45cc-a5fc-3c56468e0aa7
2026-01-28 17:03:33,766 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e9e64568-9d83-45cc-a5fc-3c56468e0aa7
2026-01-28 17:03:33,774 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/821f3a64-0016-4800-9252-ec52fa54c727
2026-01-28 17:03:33,781 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/821f3a64-0016-4800-9252-ec52fa54c727
2026-01-28 17:03:33,788 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/3c9cb493-fc3c-4e4f-9f5a-f540d431af24
2026-01-28 17:03:33,795 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-28 17:03:33,795 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e9e64568-9d83-45cc-a5fc-3c56468e0aa7
2026-01-28 17:03:33,804 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/821f3a64-0016-4800-9252-ec52fa54c727
2026-01-28 17:03:33,819 - INFO - Verified VN network id 12 for VN e9e64568-9d83-45cc-a5fc-3c56468e0aa7
2026-01-28 17:03:33,819 - INFO - Verifications in API Server for VN ctest-vn-98432036 passed
2026-01-28 17:03:33,819 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e9e64568-9d83-45cc-a5fc-3c56468e0aa7
2026-01-28 17:03:33,828 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/821f3a64-0016-4800-9252-ec52fa54c727
2026-01-28 17:03:33,835 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/821f3a64-0016-4800-9252-ec52fa54c727
2026-01-28 17:03:33,843 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/3c9cb493-fc3c-4e4f-9f5a-f540d431af24
2026-01-28 17:03:33,855 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-98432036', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12574230', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16854234971102201292', 'uuid-lslong': '11960501051637762727'}, 'enable': 'true', 'created': '2026-01-28T17:03:31', 'last-modified': '2026-01-28T17:03:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.393049'}
2026-01-28 17:03:33,861 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-28 17:03:33,861 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98432036 passed
2026-01-28 17:03:33,862 - DEBUG - ====Verifying policy data for ctest-vn-98432036 in API_Server ======
2026-01-28 17:03:33,862 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-28 17:03:33,867 - DEBUG - Requesting: http://10.0.0.27:8082/domain/726a90fb-7f4e-4c0e-ae8f-8254d9be9068
2026-01-28 17:03:33,881 - DEBUG - Requesting: http://10.0.0.27:8082/project/5256a44b-75d0-401f-982d-f6e0fee9b0fb
2026-01-28 17:03:33,951 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e9e64568-9d83-45cc-a5fc-3c56468e0aa7
2026-01-28 17:03:33,961 - DEBUG - ==>Verifying data for policy with id: 26f93613-d9cd-45ca-a49e-60f351f96f62, fqn: ['default-domain', 'ctest-TestBasicPolicy-12574230', 'ctest-policy-allow-all-37790794']
2026-01-28 17:03:33,961 - INFO - VN ctest-vn-98432036 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-28 17:03:33,961 - DEBUG - Verifying the vn in opserver
2026-01-28 17:03:33,961 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-98432036 virtual network link through opserver 10.0.0.27
2026-01-28 17:03:33,961 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-01-28 17:03:33,969 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-98432036', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-98432036?flat'}
2026-01-28 17:03:33,969 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-98432036 is found in opserver
2026-01-28 17:03:33,978 - DEBUG - Do not have enough data to verify VN in agent
2026-01-28 17:03:33,982 - DEBUG - VRF ids for VN ctest-vn-98432036: {}
2026-01-28 17:03:34,037 - DEBUG - Services list from nova: [