2026-04-30 12:11:03,239 - INFO - Domain Default found not creating
2026-04-30 12:11:03,406 - INFO - Project ctest-TestBasicPolicy-87624442 not found, creating it
2026-04-30 12:11:03,869 - INFO - Created Project:ctest-TestBasicPolicy-87624442, ID : bb4eb425-c360-4c9e-9988-b0ebdfec81e0
2026-04-30 12:11:05,350 - INFO - ================================================================================
2026-04-30 12:11:05,350 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-04-30 12:11:05,350 - 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-04-30 12:11:05,603 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2026-04-30 12:11:05,603 - INFO - Initial checks done. Running the testcase now
2026-04-30 12:11:05,603 - INFO -
2026-04-30 12:11:06,128 - DEBUG - Response for create_network : {'network': {'id': 'dc3a54a7-0645-4124-a5d6-0adad8ece692', 'name': 'ctest-vn-42895751', 'tenant_id': 'bb4eb425c3604c9e9988b0ebdfec81e0', 'project_id': 'bb4eb425c3604c9e9988b0ebdfec81e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87624442', 'ctest-vn-42895751'], 'port_security_enabled': True, 'description': ''}}
2026-04-30 12:11:06,313 - DEBUG - Response for create_subnet : {'subnet': {'id': 'efc71d01-04e3-45c6-801b-0439740b9f1e', 'name': '', 'tenant_id': 'bb4eb425c3604c9e9988b0ebdfec81e0', 'network_id': 'dc3a54a7-0645-4124-a5d6-0adad8ece692', 'ip_version': 4, 'cidr': '223.26.161.64/26', 'allocation_pools': [{'start': '223.26.161.66', 'end': '223.26.161.126'}], 'gateway_ip': '223.26.161.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.26.161.66', 'tags': [], 'project_id': 'bb4eb425c3604c9e9988b0ebdfec81e0'}}
2026-04-30 12:11:06,331 - INFO - Created VN ctest-vn-42895751
2026-04-30 12:11:06,382 - DEBUG - VN ctest-vn-42895751 UUID is dc3a54a7-0645-4124-a5d6-0adad8ece692
2026-04-30 12:11:06,665 - DEBUG - Response for create_network : {'network': {'id': 'fbe77415-8b39-4e7b-86b8-cbdcc256ccda', 'name': 'ctest-vn-65173019', 'tenant_id': 'bb4eb425c3604c9e9988b0ebdfec81e0', 'project_id': 'bb4eb425c3604c9e9988b0ebdfec81e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87624442', 'ctest-vn-65173019'], 'port_security_enabled': True, 'description': ''}}
2026-04-30 12:11:06,839 - DEBUG - Response for create_subnet : {'subnet': {'id': '010e7e4c-64b5-43fa-990c-9a38e361dfa1', 'name': '', 'tenant_id': 'bb4eb425c3604c9e9988b0ebdfec81e0', 'network_id': 'fbe77415-8b39-4e7b-86b8-cbdcc256ccda', 'ip_version': 4, 'cidr': '188.146.61.192/26', 'allocation_pools': [{'start': '188.146.61.194', 'end': '188.146.61.254'}], 'gateway_ip': '188.146.61.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.146.61.194', 'tags': [], 'project_id': 'bb4eb425c3604c9e9988b0ebdfec81e0'}}
2026-04-30 12:11:06,856 - INFO - Created VN ctest-vn-65173019
2026-04-30 12:11:06,910 - DEBUG - VN ctest-vn-65173019 UUID is fbe77415-8b39-4e7b-86b8-cbdcc256ccda
2026-04-30 12:11:07,062 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87624442:ctest-vn-42895751, 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-87624442:ctest-vn-65173019, 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-04-30 12:11:07,356 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dc3a54a7-0645-4124-a5d6-0adad8ece692', 'name': 'ctest-vn-42895751', 'tenant_id': 'bb4eb425c3604c9e9988b0ebdfec81e0', 'project_id': 'bb4eb425c3604c9e9988b0ebdfec81e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['efc71d01-04e3-45c6-801b-0439740b9f1e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87624442', 'ctest-vn-42895751'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87624442', 'ctest-policy-allow-all-62136091']], 'subnet_ipam': [{'subnet_cidr': '223.26.161.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-30 12:11:07,581 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fbe77415-8b39-4e7b-86b8-cbdcc256ccda', 'name': 'ctest-vn-65173019', 'tenant_id': 'bb4eb425c3604c9e9988b0ebdfec81e0', 'project_id': 'bb4eb425c3604c9e9988b0ebdfec81e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['010e7e4c-64b5-43fa-990c-9a38e361dfa1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87624442', 'ctest-vn-65173019'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87624442', 'ctest-policy-allow-all-62136091']], 'subnet_ipam': [{'subnet_cidr': '188.146.61.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-30 12:11:07,746 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-04-30 12:11:08,042 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-04-30 12:11:08,073 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2816e54d-1135-46a1-8d7e-c3af28dfd954
2026-04-30 12:11:08,085 - DEBUG - Requesting: http://10.0.0.19:8082/project/bb4eb425-c360-4c9e-9988-b0ebdfec81e0
2026-04-30 12:11:08,156 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dc3a54a7-0645-4124-a5d6-0adad8ece692
2026-04-30 12:11:08,166 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dc3a54a7-0645-4124-a5d6-0adad8ece692
2026-04-30 12:11:08,175 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2754d391-6349-486a-971d-b989c324465e
2026-04-30 12:11:08,183 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2754d391-6349-486a-971d-b989c324465e
2026-04-30 12:11:08,189 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6d173120-77b0-4c7e-a91e-bd58055443ba
2026-04-30 12:11:08,196 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-30 12:11:08,196 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dc3a54a7-0645-4124-a5d6-0adad8ece692
2026-04-30 12:11:08,205 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2754d391-6349-486a-971d-b989c324465e
2026-04-30 12:11:08,218 - INFO - Verified VN network id 11 for VN dc3a54a7-0645-4124-a5d6-0adad8ece692
2026-04-30 12:11:08,218 - INFO - Verifications in API Server for VN ctest-vn-42895751 passed
2026-04-30 12:11:08,218 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dc3a54a7-0645-4124-a5d6-0adad8ece692
2026-04-30 12:11:08,227 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2754d391-6349-486a-971d-b989c324465e
2026-04-30 12:11:08,233 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/2754d391-6349-486a-971d-b989c324465e
2026-04-30 12:11:08,240 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/6d173120-77b0-4c7e-a91e-bd58055443ba
2026-04-30 12:11:08,254 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87624442:ctest-vn-42895751', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87624442', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15869089313334837540', 'uuid-lslong': '11949750596332742290'}, 'enable': 'true', 'created': '2026-04-30T12:11:06', 'last-modified': '2026-04-30T12:11:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.918054'}
2026-04-30 12:11:08,260 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-30 12:11:08,260 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42895751 passed
2026-04-30 12:11:08,260 - DEBUG - ====Verifying policy data for ctest-vn-42895751 in API_Server ======
2026-04-30 12:11:08,260 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-04-30 12:11:08,265 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2816e54d-1135-46a1-8d7e-c3af28dfd954
2026-04-30 12:11:08,275 - DEBUG - Requesting: http://10.0.0.19:8082/project/bb4eb425-c360-4c9e-9988-b0ebdfec81e0
2026-04-30 12:11:08,340 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/dc3a54a7-0645-4124-a5d6-0adad8ece692
2026-04-30 12:11:08,349 - DEBUG - ==>Verifying data for policy with id: f34ed491-527c-47f6-b575-ebf2b90c3993, fqn: ['default-domain', 'ctest-TestBasicPolicy-87624442', 'ctest-policy-allow-all-62136091']
2026-04-30 12:11:08,350 - INFO - VN ctest-vn-42895751 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-30 12:11:08,350 - DEBUG - Verifying the vn in opserver
2026-04-30 12:11:08,350 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87624442:ctest-vn-42895751 virtual network link through opserver 10.0.0.19
2026-04-30 12:11:08,350 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-04-30 12:11:08,641 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-04-30 12:11:08,697 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87624442:ctest-vn-42895751', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87624442:ctest-vn-42895751?flat'}
2026-04-30 12:11:08,697 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87624442:ctest-vn-42895751 is found in opserver
2026-04-30 12:11:08,706 - DEBUG - Do not have enough data to verify VN in agent
2026-04-30 12:11:08,710 - DEBUG - VRF ids for VN ctest-vn-42895751: {}
2026-04-30 12:11:08,710 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-04-30 12:11:08,715 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2816e54d-1135-46a1-8d7e-c3af28dfd954
2026-04-30 12:11:08,725 - DEBUG - Requesting: http://10.0.0.19:8082/project/bb4eb425-c360-4c9e-9988-b0ebdfec81e0
2026-04-30 12:11:08,792 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/fbe77415-8b39-4e7b-86b8-cbdcc256ccda
2026-04-30 12:11:08,803 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/fbe77415-8b39-4e7b-86b8-cbdcc256ccda
2026-04-30 12:11:08,812 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/a8fee1ec-be46-442e-a183-93867eb3ecfc
2026-04-30 12:11:08,818 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/a8fee1ec-be46-442e-a183-93867eb3ecfc
2026-04-30 12:11:08,824 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/18fed8bd-fad1-449c-aac5-a65d3a8b5e96
2026-04-30 12:11:08,831 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-30 12:11:08,831 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/fbe77415-8b39-4e7b-86b8-cbdcc256ccda
2026-04-30 12:11:08,840 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/a8fee1ec-be46-442e-a183-93867eb3ecfc
2026-04-30 12:11:08,853 - INFO - Verified VN network id 12 for VN fbe77415-8b39-4e7b-86b8-cbdcc256ccda
2026-04-30 12:11:08,853 - INFO - Verifications in API Server for VN ctest-vn-65173019 passed
2026-04-30 12:11:08,853 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/fbe77415-8b39-4e7b-86b8-cbdcc256ccda
2026-04-30 12:11:08,861 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/a8fee1ec-be46-442e-a183-93867eb3ecfc
2026-04-30 12:11:08,868 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/a8fee1ec-be46-442e-a183-93867eb3ecfc
2026-04-30 12:11:08,875 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/18fed8bd-fad1-449c-aac5-a65d3a8b5e96
2026-04-30 12:11:08,886 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87624442:ctest-vn-65173019', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87624442', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18151604459018997371', 'uuid-lslong': '9707733145810816218'}, 'enable': 'true', 'created': '2026-04-30T12:11:06', 'last-modified': '2026-04-30T12:11:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.327038'}
2026-04-30 12:11:08,891 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-30 12:11:08,891 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65173019 passed
2026-04-30 12:11:08,891 - DEBUG - ====Verifying policy data for ctest-vn-65173019 in API_Server ======
2026-04-30 12:11:08,892 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-04-30 12:11:08,897 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2816e54d-1135-46a1-8d7e-c3af28dfd954
2026-04-30 12:11:08,912 - DEBUG - Requesting: http://10.0.0.19:8082/project/bb4eb425-c360-4c9e-9988-b0ebdfec81e0
2026-04-30 12:11:08,979 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/fbe77415-8b39-4e7b-86b8-cbdcc256ccda
2026-04-30 12:11:08,988 - DEBUG - ==>Verifying data for policy with id: f34ed491-527c-47f6-b575-ebf2b90c3993, fqn: ['default-domain', 'ctest-TestBasicPolicy-87624442', 'ctest-policy-allow-all-62136091']
2026-04-30 12:11:08,988 - INFO - VN ctest-vn-65173019 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-30 12:11:08,988 - DEBUG - Verifying the vn in opserver
2026-04-30 12:11:08,988 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87624442:ctest-vn-65173019 virtual network link through opserver 10.0.0.19
2026-04-30 12:11:08,988 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-04-30 12:11:08,997 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87624442:ctest-vn-65173019', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87624442:ctest-vn-65173019?flat'}
2026-04-30 12:11:08,997 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87624442:ctest-vn-65173019 is found in opserver
2026-04-30 12:11:09,006 - DEBUG - Do not have enough data to verify VN in agent
2026-04-30 12:11:09,010 - DEBUG - VRF ids for VN ctest-vn-65173019: {}
2026-04-30 12:11:09,063 - DEBUG - Services list from nova: [