2026-05-28 15:31:40,157 - INFO - Domain Default found not creating
2026-05-28 15:31:40,401 - INFO - Project ctest-TestBasicPolicy-46555395 not found, creating it
2026-05-28 15:31:40,903 - INFO - Created Project:ctest-TestBasicPolicy-46555395, ID : 3f8e69b8-86e4-40f0-acf0-33240d9fe9e3
2026-05-28 15:31:42,593 - INFO - ================================================================================
2026-05-28 15:31:42,593 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-28 15:31:42,593 - 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-05-28 15:31:42,873 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.17': '0'}} with
2026-05-28 15:31:42,874 - INFO - Initial checks done. Running the testcase now
2026-05-28 15:31:42,874 - INFO -
2026-05-28 15:31:43,504 - DEBUG - Response for create_network : {'network': {'id': 'b7461b1a-fc01-43e2-9685-edf28f279974', 'name': 'ctest-vn-95826861', 'tenant_id': '3f8e69b886e440f0acf033240d9fe9e3', 'project_id': '3f8e69b886e440f0acf033240d9fe9e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46555395', 'ctest-vn-95826861'], 'port_security_enabled': True, 'description': ''}}
2026-05-28 15:31:43,689 - DEBUG - Response for create_subnet : {'subnet': {'id': '87f7d969-4245-4c23-912b-0ac35fdcad8b', 'name': '', 'tenant_id': '3f8e69b886e440f0acf033240d9fe9e3', 'network_id': 'b7461b1a-fc01-43e2-9685-edf28f279974', 'ip_version': 4, 'cidr': '203.27.65.64/26', 'allocation_pools': [{'start': '203.27.65.66', 'end': '203.27.65.126'}], 'gateway_ip': '203.27.65.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.27.65.66', 'tags': [], 'project_id': '3f8e69b886e440f0acf033240d9fe9e3'}}
2026-05-28 15:31:43,708 - INFO - Created VN ctest-vn-95826861
2026-05-28 15:31:43,763 - DEBUG - VN ctest-vn-95826861 UUID is b7461b1a-fc01-43e2-9685-edf28f279974
2026-05-28 15:31:44,087 - DEBUG - Response for create_network : {'network': {'id': '7f71f5cc-0292-4ba4-b91c-f0e04b498a24', 'name': 'ctest-vn-53525960', 'tenant_id': '3f8e69b886e440f0acf033240d9fe9e3', 'project_id': '3f8e69b886e440f0acf033240d9fe9e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46555395', 'ctest-vn-53525960'], 'port_security_enabled': True, 'description': ''}}
2026-05-28 15:31:44,270 - DEBUG - Response for create_subnet : {'subnet': {'id': '37018acc-b33f-40e4-9b73-97dca3eb3304', 'name': '', 'tenant_id': '3f8e69b886e440f0acf033240d9fe9e3', 'network_id': '7f71f5cc-0292-4ba4-b91c-f0e04b498a24', 'ip_version': 4, 'cidr': '200.21.151.128/26', 'allocation_pools': [{'start': '200.21.151.130', 'end': '200.21.151.190'}], 'gateway_ip': '200.21.151.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.21.151.130', 'tags': [], 'project_id': '3f8e69b886e440f0acf033240d9fe9e3'}}
2026-05-28 15:31:44,289 - INFO - Created VN ctest-vn-53525960
2026-05-28 15:31:44,343 - DEBUG - VN ctest-vn-53525960 UUID is 7f71f5cc-0292-4ba4-b91c-f0e04b498a24
2026-05-28 15:31:44,463 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46555395:ctest-vn-95826861, 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-46555395:ctest-vn-53525960, 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-05-28 15:31:44,776 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b7461b1a-fc01-43e2-9685-edf28f279974', 'name': 'ctest-vn-95826861', 'tenant_id': '3f8e69b886e440f0acf033240d9fe9e3', 'project_id': '3f8e69b886e440f0acf033240d9fe9e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['87f7d969-4245-4c23-912b-0ac35fdcad8b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46555395', 'ctest-vn-95826861'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46555395', 'ctest-policy-allow-all-33814773']], 'subnet_ipam': [{'subnet_cidr': '203.27.65.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-28 15:31:45,017 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f71f5cc-0292-4ba4-b91c-f0e04b498a24', 'name': 'ctest-vn-53525960', 'tenant_id': '3f8e69b886e440f0acf033240d9fe9e3', 'project_id': '3f8e69b886e440f0acf033240d9fe9e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['37018acc-b33f-40e4-9b73-97dca3eb3304'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46555395', 'ctest-vn-53525960'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46555395', 'ctest-policy-allow-all-33814773']], 'subnet_ipam': [{'subnet_cidr': '200.21.151.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-28 15:31:45,195 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-05-28 15:31:45,509 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-05-28 15:31:45,548 - DEBUG - Requesting: http://10.0.0.240:8082/domain/1fc1fbf0-f12f-4903-83ac-30b3a8891417
2026-05-28 15:31:45,562 - DEBUG - Requesting: http://10.0.0.240:8082/project/3f8e69b8-86e4-40f0-acf0-33240d9fe9e3
2026-05-28 15:31:45,642 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/b7461b1a-fc01-43e2-9685-edf28f279974
2026-05-28 15:31:45,656 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/b7461b1a-fc01-43e2-9685-edf28f279974
2026-05-28 15:31:45,668 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/9c855525-dfae-4975-98ab-be1acd6191d3
2026-05-28 15:31:45,676 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/9c855525-dfae-4975-98ab-be1acd6191d3
2026-05-28 15:31:45,685 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/0c776af4-d341-4a10-912e-c77fed0fe527
2026-05-28 15:31:45,693 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-28 15:31:45,693 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/b7461b1a-fc01-43e2-9685-edf28f279974
2026-05-28 15:31:45,704 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/9c855525-dfae-4975-98ab-be1acd6191d3
2026-05-28 15:31:45,722 - INFO - Verified VN network id 11 for VN b7461b1a-fc01-43e2-9685-edf28f279974
2026-05-28 15:31:45,723 - INFO - Verifications in API Server for VN ctest-vn-95826861 passed
2026-05-28 15:31:45,723 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/b7461b1a-fc01-43e2-9685-edf28f279974
2026-05-28 15:31:45,734 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/9c855525-dfae-4975-98ab-be1acd6191d3
2026-05-28 15:31:45,743 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/9c855525-dfae-4975-98ab-be1acd6191d3
2026-05-28 15:31:45,751 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/0c776af4-d341-4a10-912e-c77fed0fe527
2026-05-28 15:31:45,765 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46555395:ctest-vn-95826861', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46555395', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13206272760021599202', 'uuid-lslong': '10846336903631313268'}, 'enable': 'true', 'created': '2026-05-28T15:31:43', 'last-modified': '2026-05-28T15:31:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.015357'}
2026-05-28 15:31:45,772 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-28 15:31:45,772 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95826861 passed
2026-05-28 15:31:45,772 - DEBUG - ====Verifying policy data for ctest-vn-95826861 in API_Server ======
2026-05-28 15:31:45,772 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-05-28 15:31:45,778 - DEBUG - Requesting: http://10.0.0.240:8082/domain/1fc1fbf0-f12f-4903-83ac-30b3a8891417
2026-05-28 15:31:45,792 - DEBUG - Requesting: http://10.0.0.240:8082/project/3f8e69b8-86e4-40f0-acf0-33240d9fe9e3
2026-05-28 15:31:45,866 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/b7461b1a-fc01-43e2-9685-edf28f279974
2026-05-28 15:31:45,876 - DEBUG - ==>Verifying data for policy with id: 8c355f6e-909f-4e34-8228-35333036ee19, fqn: ['default-domain', 'ctest-TestBasicPolicy-46555395', 'ctest-policy-allow-all-33814773']
2026-05-28 15:31:45,876 - INFO - VN ctest-vn-95826861 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-28 15:31:45,876 - DEBUG - Verifying the vn in opserver
2026-05-28 15:31:45,876 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46555395:ctest-vn-95826861 virtual network link through opserver 10.0.0.240
2026-05-28 15:31:45,876 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2026-05-28 15:31:46,181 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2026-05-28 15:31:46,262 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46555395:ctest-vn-95826861', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46555395:ctest-vn-95826861?flat'}
2026-05-28 15:31:46,262 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46555395:ctest-vn-95826861 is found in opserver
2026-05-28 15:31:46,273 - DEBUG - Do not have enough data to verify VN in agent
2026-05-28 15:31:46,278 - DEBUG - VRF ids for VN ctest-vn-95826861: {}
2026-05-28 15:31:46,278 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-05-28 15:31:46,284 - DEBUG - Requesting: http://10.0.0.240:8082/domain/1fc1fbf0-f12f-4903-83ac-30b3a8891417
2026-05-28 15:31:46,299 - DEBUG - Requesting: http://10.0.0.240:8082/project/3f8e69b8-86e4-40f0-acf0-33240d9fe9e3
2026-05-28 15:31:46,374 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/7f71f5cc-0292-4ba4-b91c-f0e04b498a24
2026-05-28 15:31:46,386 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/7f71f5cc-0292-4ba4-b91c-f0e04b498a24
2026-05-28 15:31:46,397 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/236c7661-c42b-4259-beaa-36b36f5f7b48
2026-05-28 15:31:46,406 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/236c7661-c42b-4259-beaa-36b36f5f7b48
2026-05-28 15:31:46,413 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/fa6cb00c-db04-4134-8118-6c909ccbfa08
2026-05-28 15:31:46,421 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-28 15:31:46,421 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/7f71f5cc-0292-4ba4-b91c-f0e04b498a24
2026-05-28 15:31:46,429 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/236c7661-c42b-4259-beaa-36b36f5f7b48
2026-05-28 15:31:46,446 - INFO - Verified VN network id 12 for VN 7f71f5cc-0292-4ba4-b91c-f0e04b498a24
2026-05-28 15:31:46,446 - INFO - Verifications in API Server for VN ctest-vn-53525960 passed
2026-05-28 15:31:46,446 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/7f71f5cc-0292-4ba4-b91c-f0e04b498a24
2026-05-28 15:31:46,456 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/236c7661-c42b-4259-beaa-36b36f5f7b48
2026-05-28 15:31:46,463 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/236c7661-c42b-4259-beaa-36b36f5f7b48
2026-05-28 15:31:46,470 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/fa6cb00c-db04-4134-8118-6c909ccbfa08
2026-05-28 15:31:46,484 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46555395:ctest-vn-53525960', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46555395', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9183391371750427556', 'uuid-lslong': '13338801042491017764'}, 'enable': 'true', 'created': '2026-05-28T15:31:44', 'last-modified': '2026-05-28T15:31:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.489345'}
2026-05-28 15:31:46,493 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-28 15:31:46,493 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53525960 passed
2026-05-28 15:31:46,493 - DEBUG - ====Verifying policy data for ctest-vn-53525960 in API_Server ======
2026-05-28 15:31:46,493 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-05-28 15:31:46,501 - DEBUG - Requesting: http://10.0.0.240:8082/domain/1fc1fbf0-f12f-4903-83ac-30b3a8891417
2026-05-28 15:31:46,513 - DEBUG - Requesting: http://10.0.0.240:8082/project/3f8e69b8-86e4-40f0-acf0-33240d9fe9e3
2026-05-28 15:31:46,584 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/7f71f5cc-0292-4ba4-b91c-f0e04b498a24
2026-05-28 15:31:46,594 - DEBUG - ==>Verifying data for policy with id: 8c355f6e-909f-4e34-8228-35333036ee19, fqn: ['default-domain', 'ctest-TestBasicPolicy-46555395', 'ctest-policy-allow-all-33814773']
2026-05-28 15:31:46,594 - INFO - VN ctest-vn-53525960 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-28 15:31:46,594 - DEBUG - Verifying the vn in opserver
2026-05-28 15:31:46,594 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46555395:ctest-vn-53525960 virtual network link through opserver 10.0.0.240
2026-05-28 15:31:46,594 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2026-05-28 15:31:46,606 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46555395:ctest-vn-53525960', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46555395:ctest-vn-53525960?flat'}
2026-05-28 15:31:46,606 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46555395:ctest-vn-53525960 is found in opserver
2026-05-28 15:31:46,619 - DEBUG - Do not have enough data to verify VN in agent
2026-05-28 15:31:46,625 - DEBUG - VRF ids for VN ctest-vn-53525960: {}
2026-05-28 15:31:46,696 - DEBUG - Services list from nova: [