2026-03-19 14:55:13,705 - INFO - Domain Default found not creating
2026-03-19 14:55:13,872 - INFO - Project ctest-TestBasicPolicy-51057950 not found, creating it
2026-03-19 14:55:14,331 - INFO - Created Project:ctest-TestBasicPolicy-51057950, ID : 78639736-1825-4fe1-bafc-c1ce2dad4798
2026-03-19 14:55:16,424 - INFO - ================================================================================
2026-03-19 14:55:16,424 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-19 14:55:16,424 - 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-19 14:55:16,687 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-03-19 14:55:16,687 - INFO - Initial checks done. Running the testcase now
2026-03-19 14:55:16,687 - INFO -
2026-03-19 14:55:17,221 - DEBUG - Response for create_network : {'network': {'id': '83a2af82-16a6-40da-8114-12b76ec3abf5', 'name': 'ctest-vn-78448488', 'tenant_id': '7863973618254fe1bafcc1ce2dad4798', 'project_id': '7863973618254fe1bafcc1ce2dad4798', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51057950', 'ctest-vn-78448488'], 'port_security_enabled': True, 'description': ''}}
2026-03-19 14:55:17,352 - DEBUG - Response for create_subnet : {'subnet': {'id': '72ef7ba2-71a0-4ded-8d7c-d725b6a410c9', 'name': '', 'tenant_id': '7863973618254fe1bafcc1ce2dad4798', 'network_id': '83a2af82-16a6-40da-8114-12b76ec3abf5', 'ip_version': 4, 'cidr': '150.251.238.0/26', 'allocation_pools': [{'start': '150.251.238.2', 'end': '150.251.238.62'}], 'gateway_ip': '150.251.238.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.251.238.2', 'tags': [], 'project_id': '7863973618254fe1bafcc1ce2dad4798'}}
2026-03-19 14:55:17,368 - INFO - Created VN ctest-vn-78448488
2026-03-19 14:55:17,417 - DEBUG - VN ctest-vn-78448488 UUID is 83a2af82-16a6-40da-8114-12b76ec3abf5
2026-03-19 14:55:17,728 - DEBUG - Response for create_network : {'network': {'id': '9570f174-fa88-4b5f-af89-ab7025037ee1', 'name': 'ctest-vn-23890327', 'tenant_id': '7863973618254fe1bafcc1ce2dad4798', 'project_id': '7863973618254fe1bafcc1ce2dad4798', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51057950', 'ctest-vn-23890327'], 'port_security_enabled': True, 'description': ''}}
2026-03-19 14:55:17,907 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca7c47fb-77e7-40dc-8e9b-1fb47ca2b5ce', 'name': '', 'tenant_id': '7863973618254fe1bafcc1ce2dad4798', 'network_id': '9570f174-fa88-4b5f-af89-ab7025037ee1', 'ip_version': 4, 'cidr': '28.1.104.192/26', 'allocation_pools': [{'start': '28.1.104.194', 'end': '28.1.104.254'}], 'gateway_ip': '28.1.104.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.1.104.194', 'tags': [], 'project_id': '7863973618254fe1bafcc1ce2dad4798'}}
2026-03-19 14:55:17,924 - INFO - Created VN ctest-vn-23890327
2026-03-19 14:55:17,977 - DEBUG - VN ctest-vn-23890327 UUID is 9570f174-fa88-4b5f-af89-ab7025037ee1
2026-03-19 14:55:18,121 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-78448488, 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-51057950:ctest-vn-23890327, 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-19 14:55:18,410 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '83a2af82-16a6-40da-8114-12b76ec3abf5', 'name': 'ctest-vn-78448488', 'tenant_id': '7863973618254fe1bafcc1ce2dad4798', 'project_id': '7863973618254fe1bafcc1ce2dad4798', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72ef7ba2-71a0-4ded-8d7c-d725b6a410c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51057950', 'ctest-vn-78448488'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51057950', 'ctest-policy-allow-all-83638653']], 'subnet_ipam': [{'subnet_cidr': '150.251.238.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-19 14:55:18,628 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9570f174-fa88-4b5f-af89-ab7025037ee1', 'name': 'ctest-vn-23890327', 'tenant_id': '7863973618254fe1bafcc1ce2dad4798', 'project_id': '7863973618254fe1bafcc1ce2dad4798', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ca7c47fb-77e7-40dc-8e9b-1fb47ca2b5ce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51057950', 'ctest-vn-23890327'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51057950', 'ctest-policy-allow-all-83638653']], 'subnet_ipam': [{'subnet_cidr': '28.1.104.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-19 14:55:18,773 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-19 14:55:19,090 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-19 14:55:19,118 - DEBUG - Requesting: http://10.0.0.38:8082/domain/29dc7456-3ee2-4d37-9dc9-7c8b1665796c
2026-03-19 14:55:19,129 - DEBUG - Requesting: http://10.0.0.38:8082/project/78639736-1825-4fe1-bafc-c1ce2dad4798
2026-03-19 14:55:19,197 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83a2af82-16a6-40da-8114-12b76ec3abf5
2026-03-19 14:55:19,207 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83a2af82-16a6-40da-8114-12b76ec3abf5
2026-03-19 14:55:19,216 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d4c3b0c-2cc7-44fc-8270-21ddef54e17f
2026-03-19 14:55:19,223 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d4c3b0c-2cc7-44fc-8270-21ddef54e17f
2026-03-19 14:55:19,230 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/82afd1c6-cb40-411e-a6b1-3668c398fabd
2026-03-19 14:55:19,235 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-19 14:55:19,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83a2af82-16a6-40da-8114-12b76ec3abf5
2026-03-19 14:55:19,243 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d4c3b0c-2cc7-44fc-8270-21ddef54e17f
2026-03-19 14:55:19,256 - INFO - Verified VN network id 10 for VN 83a2af82-16a6-40da-8114-12b76ec3abf5
2026-03-19 14:55:19,256 - INFO - Verifications in API Server for VN ctest-vn-78448488 passed
2026-03-19 14:55:19,256 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83a2af82-16a6-40da-8114-12b76ec3abf5
2026-03-19 14:55:19,265 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d4c3b0c-2cc7-44fc-8270-21ddef54e17f
2026-03-19 14:55:19,271 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d4c3b0c-2cc7-44fc-8270-21ddef54e17f
2026-03-19 14:55:19,277 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/82afd1c6-cb40-411e-a6b1-3668c398fabd
2026-03-19 14:55:19,287 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-78448488', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51057950', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9485336738456289498', 'uuid-lslong': '9301079709473549301'}, 'enable': 'true', 'created': '2026-03-19T14:55:17', 'last-modified': '2026-03-19T14:55:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.897597'}
2026-03-19 14:55:19,294 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-19 14:55:19,294 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78448488 passed
2026-03-19 14:55:19,294 - DEBUG - ====Verifying policy data for ctest-vn-78448488 in API_Server ======
2026-03-19 14:55:19,294 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-19 14:55:19,298 - DEBUG - Requesting: http://10.0.0.38:8082/domain/29dc7456-3ee2-4d37-9dc9-7c8b1665796c
2026-03-19 14:55:19,308 - DEBUG - Requesting: http://10.0.0.38:8082/project/78639736-1825-4fe1-bafc-c1ce2dad4798
2026-03-19 14:55:19,372 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83a2af82-16a6-40da-8114-12b76ec3abf5
2026-03-19 14:55:19,382 - DEBUG - ==>Verifying data for policy with id: fb148886-111f-4c4c-952d-e83f42806e58, fqn: ['default-domain', 'ctest-TestBasicPolicy-51057950', 'ctest-policy-allow-all-83638653']
2026-03-19 14:55:19,382 - INFO - VN ctest-vn-78448488 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-19 14:55:19,382 - DEBUG - Verifying the vn in opserver
2026-03-19 14:55:19,382 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-78448488 virtual network link through opserver 10.0.0.38
2026-03-19 14:55:19,382 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-19 14:55:19,675 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-19 14:55:19,731 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-78448488', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-78448488?flat'}
2026-03-19 14:55:19,731 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-78448488 is found in opserver
2026-03-19 14:55:19,739 - DEBUG - Do not have enough data to verify VN in agent
2026-03-19 14:55:19,744 - DEBUG - VRF ids for VN ctest-vn-78448488: {}
2026-03-19 14:55:19,744 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-19 14:55:19,749 - DEBUG - Requesting: http://10.0.0.38:8082/domain/29dc7456-3ee2-4d37-9dc9-7c8b1665796c
2026-03-19 14:55:19,767 - DEBUG - Requesting: http://10.0.0.38:8082/project/78639736-1825-4fe1-bafc-c1ce2dad4798
2026-03-19 14:55:19,839 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9570f174-fa88-4b5f-af89-ab7025037ee1
2026-03-19 14:55:19,852 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9570f174-fa88-4b5f-af89-ab7025037ee1
2026-03-19 14:55:19,861 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d64b198-c635-43dc-8cfb-2e8f38cf525d
2026-03-19 14:55:19,868 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d64b198-c635-43dc-8cfb-2e8f38cf525d
2026-03-19 14:55:19,875 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b414e083-3a3e-499d-9913-2c776fae3222
2026-03-19 14:55:19,881 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-19 14:55:19,881 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9570f174-fa88-4b5f-af89-ab7025037ee1
2026-03-19 14:55:19,889 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d64b198-c635-43dc-8cfb-2e8f38cf525d
2026-03-19 14:55:19,901 - INFO - Verified VN network id 11 for VN 9570f174-fa88-4b5f-af89-ab7025037ee1
2026-03-19 14:55:19,901 - INFO - Verifications in API Server for VN ctest-vn-23890327 passed
2026-03-19 14:55:19,901 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9570f174-fa88-4b5f-af89-ab7025037ee1
2026-03-19 14:55:19,909 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d64b198-c635-43dc-8cfb-2e8f38cf525d
2026-03-19 14:55:19,915 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d64b198-c635-43dc-8cfb-2e8f38cf525d
2026-03-19 14:55:19,922 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b414e083-3a3e-499d-9913-2c776fae3222
2026-03-19 14:55:19,933 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-23890327', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51057950', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10768372193764592479', 'uuid-lslong': '12648829526592421601'}, 'enable': 'true', 'created': '2026-03-19T14:55:17', 'last-modified': '2026-03-19T14:55:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.325044'}
2026-03-19 14:55:19,940 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-19 14:55:19,940 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23890327 passed
2026-03-19 14:55:19,940 - DEBUG - ====Verifying policy data for ctest-vn-23890327 in API_Server ======
2026-03-19 14:55:19,940 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-19 14:55:19,946 - DEBUG - Requesting: http://10.0.0.38:8082/domain/29dc7456-3ee2-4d37-9dc9-7c8b1665796c
2026-03-19 14:55:19,957 - DEBUG - Requesting: http://10.0.0.38:8082/project/78639736-1825-4fe1-bafc-c1ce2dad4798
2026-03-19 14:55:20,025 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9570f174-fa88-4b5f-af89-ab7025037ee1
2026-03-19 14:55:20,041 - DEBUG - ==>Verifying data for policy with id: fb148886-111f-4c4c-952d-e83f42806e58, fqn: ['default-domain', 'ctest-TestBasicPolicy-51057950', 'ctest-policy-allow-all-83638653']
2026-03-19 14:55:20,041 - INFO - VN ctest-vn-23890327 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-19 14:55:20,041 - DEBUG - Verifying the vn in opserver
2026-03-19 14:55:20,042 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-23890327 virtual network link through opserver 10.0.0.38
2026-03-19 14:55:20,042 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-19 14:55:20,051 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-23890327', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-23890327?flat'}
2026-03-19 14:55:20,051 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-23890327 is found in opserver
2026-03-19 14:55:20,060 - DEBUG - Do not have enough data to verify VN in agent
2026-03-19 14:55:20,064 - DEBUG - VRF ids for VN ctest-vn-23890327: {}
2026-03-19 14:55:20,116 - DEBUG - Services list from nova: [