2026-10-28 11:59:17,777 - INFO - Domain Default found not creating
2026-10-28 11:59:18,071 - INFO - Project ctest-TestBasicPolicy-68793656 not found, creating it
2026-10-28 11:59:18,668 - INFO - Created Project:ctest-TestBasicPolicy-68793656, ID : c4434d76-184d-406a-a192-544343c065f6
2026-10-28 11:59:20,878 - INFO - ================================================================================
2026-10-28 11:59:20,878 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-28 11:59:20,878 - 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-28 11:59:21,158 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.29': '0'}} with
2026-10-28 11:59:21,158 - INFO - Initial checks done. Running the testcase now
2026-10-28 11:59:21,158 - INFO -
2026-10-28 11:59:21,926 - DEBUG - Response for create_network : {'network': {'id': 'de0cbdb2-74df-48be-896b-cc0061b48ece', 'name': 'ctest-vn-20738318', 'tenant_id': 'c4434d76184d406aa192544343c065f6', 'project_id': 'c4434d76184d406aa192544343c065f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68793656', 'ctest-vn-20738318'], 'port_security_enabled': True, 'description': ''}}
2026-10-28 11:59:22,205 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e6c5f61-05fb-4f0b-be38-6825e5666caf', 'name': '', 'tenant_id': 'c4434d76184d406aa192544343c065f6', 'network_id': 'de0cbdb2-74df-48be-896b-cc0061b48ece', 'ip_version': 4, 'cidr': '70.126.114.192/26', 'allocation_pools': [{'start': '70.126.114.194', 'end': '70.126.114.254'}], 'gateway_ip': '70.126.114.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.126.114.194', 'tags': [], 'project_id': 'c4434d76184d406aa192544343c065f6'}}
2026-10-28 11:59:22,228 - INFO - Created VN ctest-vn-20738318
2026-10-28 11:59:22,287 - DEBUG - VN ctest-vn-20738318 UUID is de0cbdb2-74df-48be-896b-cc0061b48ece
2026-10-28 11:59:22,730 - DEBUG - Response for create_network : {'network': {'id': 'cbd7c270-f20e-4c87-984d-d5a590a0df5c', 'name': 'ctest-vn-91643423', 'tenant_id': 'c4434d76184d406aa192544343c065f6', 'project_id': 'c4434d76184d406aa192544343c065f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68793656', 'ctest-vn-91643423'], 'port_security_enabled': True, 'description': ''}}
2026-10-28 11:59:23,073 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c315688-9bb8-4cb4-ab37-2d29e9415b81', 'name': '', 'tenant_id': 'c4434d76184d406aa192544343c065f6', 'network_id': 'cbd7c270-f20e-4c87-984d-d5a590a0df5c', 'ip_version': 4, 'cidr': '161.41.82.192/26', 'allocation_pools': [{'start': '161.41.82.194', 'end': '161.41.82.254'}], 'gateway_ip': '161.41.82.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.41.82.194', 'tags': [], 'project_id': 'c4434d76184d406aa192544343c065f6'}}
2026-10-28 11:59:23,095 - INFO - Created VN ctest-vn-91643423
2026-10-28 11:59:23,151 - DEBUG - VN ctest-vn-91643423 UUID is cbd7c270-f20e-4c87-984d-d5a590a0df5c
2026-10-28 11:59:23,279 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68793656:ctest-vn-20738318, 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-68793656:ctest-vn-91643423, 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-28 11:59:23,664 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'de0cbdb2-74df-48be-896b-cc0061b48ece', 'name': 'ctest-vn-20738318', 'tenant_id': 'c4434d76184d406aa192544343c065f6', 'project_id': 'c4434d76184d406aa192544343c065f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0e6c5f61-05fb-4f0b-be38-6825e5666caf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68793656', 'ctest-vn-20738318'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68793656', 'ctest-policy-allow-all-99401787']], 'subnet_ipam': [{'subnet_cidr': '70.126.114.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-28 11:59:23,973 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cbd7c270-f20e-4c87-984d-d5a590a0df5c', 'name': 'ctest-vn-91643423', 'tenant_id': 'c4434d76184d406aa192544343c065f6', 'project_id': 'c4434d76184d406aa192544343c065f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1c315688-9bb8-4cb4-ab37-2d29e9415b81'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68793656', 'ctest-vn-91643423'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68793656', 'ctest-policy-allow-all-99401787']], 'subnet_ipam': [{'subnet_cidr': '161.41.82.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-28 11:59:24,152 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-28 11:59:24,562 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-28 11:59:24,605 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9ec75fe0-c97a-4293-ab8e-ca4a53461a08
2026-10-28 11:59:24,625 - DEBUG - Requesting: http://10.0.0.38:8082/project/c4434d76-184d-406a-a192-544343c065f6
2026-10-28 11:59:24,714 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/de0cbdb2-74df-48be-896b-cc0061b48ece
2026-10-28 11:59:24,729 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/de0cbdb2-74df-48be-896b-cc0061b48ece
2026-10-28 11:59:24,741 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e55ea925-b25f-4556-a155-f57599b9b69c
2026-10-28 11:59:24,752 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e55ea925-b25f-4556-a155-f57599b9b69c
2026-10-28 11:59:24,763 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fa1fda11-f55b-40da-b72c-115028f83bc5
2026-10-28 11:59:24,775 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-28 11:59:24,776 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/de0cbdb2-74df-48be-896b-cc0061b48ece
2026-10-28 11:59:24,791 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e55ea925-b25f-4556-a155-f57599b9b69c
2026-10-28 11:59:24,815 - INFO - Verified VN network id 12 for VN de0cbdb2-74df-48be-896b-cc0061b48ece
2026-10-28 11:59:24,815 - INFO - Verifications in API Server for VN ctest-vn-20738318 passed
2026-10-28 11:59:24,816 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/de0cbdb2-74df-48be-896b-cc0061b48ece
2026-10-28 11:59:24,830 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e55ea925-b25f-4556-a155-f57599b9b69c
2026-10-28 11:59:24,841 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e55ea925-b25f-4556-a155-f57599b9b69c
2026-10-28 11:59:24,853 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fa1fda11-f55b-40da-b72c-115028f83bc5
2026-10-28 11:59:24,877 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68793656:ctest-vn-20738318', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68793656', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16000372150303148222', 'uuid-lslong': '9902232507715456718'}, 'enable': 'true', 'created': '2026-10-28T11:59:21', 'last-modified': '2026-10-28T11:59:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.248623'}
2026-10-28 11:59:24,890 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-28 11:59:24,891 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20738318 passed
2026-10-28 11:59:24,891 - DEBUG - ====Verifying policy data for ctest-vn-20738318 in API_Server ======
2026-10-28 11:59:24,891 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-28 11:59:24,899 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9ec75fe0-c97a-4293-ab8e-ca4a53461a08
2026-10-28 11:59:24,918 - DEBUG - Requesting: http://10.0.0.38:8082/project/c4434d76-184d-406a-a192-544343c065f6
2026-10-28 11:59:25,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/de0cbdb2-74df-48be-896b-cc0061b48ece
2026-10-28 11:59:25,024 - DEBUG - ==>Verifying data for policy with id: c2948567-5ac8-4e03-be4d-0568a08460e8, fqn: ['default-domain', 'ctest-TestBasicPolicy-68793656', 'ctest-policy-allow-all-99401787']
2026-10-28 11:59:25,025 - INFO - VN ctest-vn-20738318 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-28 11:59:25,025 - DEBUG - Verifying the vn in opserver
2026-10-28 11:59:25,025 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68793656:ctest-vn-20738318 virtual network link through opserver 10.0.0.38
2026-10-28 11:59:25,025 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-28 11:59:25,428 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-28 11:59:25,510 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68793656:ctest-vn-20738318', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68793656:ctest-vn-20738318?flat'}
2026-10-28 11:59:25,510 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68793656:ctest-vn-20738318 is found in opserver
2026-10-28 11:59:25,527 - DEBUG - Do not have enough data to verify VN in agent
2026-10-28 11:59:25,535 - DEBUG - VRF ids for VN ctest-vn-20738318: {}
2026-10-28 11:59:25,535 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-28 11:59:25,543 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9ec75fe0-c97a-4293-ab8e-ca4a53461a08
2026-10-28 11:59:25,561 - DEBUG - Requesting: http://10.0.0.38:8082/project/c4434d76-184d-406a-a192-544343c065f6
2026-10-28 11:59:25,661 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cbd7c270-f20e-4c87-984d-d5a590a0df5c
2026-10-28 11:59:25,685 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cbd7c270-f20e-4c87-984d-d5a590a0df5c
2026-10-28 11:59:25,701 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d59c43f4-7217-4f1c-8393-c95ac9cc1e7e
2026-10-28 11:59:25,714 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d59c43f4-7217-4f1c-8393-c95ac9cc1e7e
2026-10-28 11:59:25,725 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5d7d37ee-f078-4374-a64b-a40b6c29ca48
2026-10-28 11:59:25,736 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-28 11:59:25,736 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cbd7c270-f20e-4c87-984d-d5a590a0df5c
2026-10-28 11:59:25,751 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d59c43f4-7217-4f1c-8393-c95ac9cc1e7e
2026-10-28 11:59:25,775 - INFO - Verified VN network id 13 for VN cbd7c270-f20e-4c87-984d-d5a590a0df5c
2026-10-28 11:59:25,775 - INFO - Verifications in API Server for VN ctest-vn-91643423 passed
2026-10-28 11:59:25,775 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cbd7c270-f20e-4c87-984d-d5a590a0df5c
2026-10-28 11:59:25,792 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d59c43f4-7217-4f1c-8393-c95ac9cc1e7e
2026-10-28 11:59:25,803 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d59c43f4-7217-4f1c-8393-c95ac9cc1e7e
2026-10-28 11:59:25,815 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5d7d37ee-f078-4374-a64b-a40b6c29ca48
2026-10-28 11:59:25,840 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68793656:ctest-vn-91643423', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68793656', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14688422500045311111', 'uuid-lslong': '10974662774044548956'}, 'enable': 'true', 'created': '2026-10-28T11:59:22', 'last-modified': '2026-10-28T11:59:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.936701'}
2026-10-28 11:59:25,848 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-28 11:59:25,848 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91643423 passed
2026-10-28 11:59:25,849 - DEBUG - ====Verifying policy data for ctest-vn-91643423 in API_Server ======
2026-10-28 11:59:25,849 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-28 11:59:25,858 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9ec75fe0-c97a-4293-ab8e-ca4a53461a08
2026-10-28 11:59:25,875 - DEBUG - Requesting: http://10.0.0.38:8082/project/c4434d76-184d-406a-a192-544343c065f6
2026-10-28 11:59:25,962 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cbd7c270-f20e-4c87-984d-d5a590a0df5c
2026-10-28 11:59:25,977 - DEBUG - ==>Verifying data for policy with id: c2948567-5ac8-4e03-be4d-0568a08460e8, fqn: ['default-domain', 'ctest-TestBasicPolicy-68793656', 'ctest-policy-allow-all-99401787']
2026-10-28 11:59:25,977 - INFO - VN ctest-vn-91643423 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-28 11:59:25,977 - DEBUG - Verifying the vn in opserver
2026-10-28 11:59:25,977 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68793656:ctest-vn-91643423 virtual network link through opserver 10.0.0.38
2026-10-28 11:59:25,977 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-28 11:59:25,991 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68793656:ctest-vn-91643423', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68793656:ctest-vn-91643423?flat'}
2026-10-28 11:59:25,991 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68793656:ctest-vn-91643423 is found in opserver
2026-10-28 11:59:26,007 - DEBUG - Do not have enough data to verify VN in agent
2026-10-28 11:59:26,013 - DEBUG - VRF ids for VN ctest-vn-91643423: {}
2026-10-28 11:59:26,106 - DEBUG - Services list from nova: [