2026-03-13 16:59:59,401 - INFO - Domain Default found not creating
2026-03-13 16:59:59,560 - INFO - Project ctest-TestBasicPolicy-19057897 not found, creating it
2026-03-13 17:00:00,020 - INFO - Created Project:ctest-TestBasicPolicy-19057897, ID : dc64f79e-dfa6-4e32-af10-49c5accf8d58
2026-03-13 17:00:01,499 - INFO - ================================================================================
2026-03-13 17:00:01,499 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-13 17:00:01,499 - 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-13 17:00:01,751 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with
2026-03-13 17:00:01,751 - INFO - Initial checks done. Running the testcase now
2026-03-13 17:00:01,751 - INFO -
2026-03-13 17:00:02,307 - DEBUG - Response for create_network : {'network': {'id': 'c4047824-2261-443c-b495-889d0d39bd2f', 'name': 'ctest-vn-07111491', 'tenant_id': 'dc64f79edfa64e32af1049c5accf8d58', 'project_id': 'dc64f79edfa64e32af1049c5accf8d58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19057897', 'ctest-vn-07111491'], 'port_security_enabled': True, 'description': ''}}
2026-03-13 17:00:02,526 - DEBUG - Response for create_subnet : {'subnet': {'id': '602bfe72-e128-4119-b1eb-b742c22313e2', 'name': '', 'tenant_id': 'dc64f79edfa64e32af1049c5accf8d58', 'network_id': 'c4047824-2261-443c-b495-889d0d39bd2f', 'ip_version': 4, 'cidr': '120.214.179.192/26', 'allocation_pools': [{'start': '120.214.179.194', 'end': '120.214.179.254'}], 'gateway_ip': '120.214.179.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.214.179.194', 'tags': [], 'project_id': 'dc64f79edfa64e32af1049c5accf8d58'}}
2026-03-13 17:00:02,547 - INFO - Created VN ctest-vn-07111491
2026-03-13 17:00:02,602 - DEBUG - VN ctest-vn-07111491 UUID is c4047824-2261-443c-b495-889d0d39bd2f
2026-03-13 17:00:02,919 - DEBUG - Response for create_network : {'network': {'id': '5a3dd540-fc8b-40a3-9ad5-21ee75cc700b', 'name': 'ctest-vn-89903879', 'tenant_id': 'dc64f79edfa64e32af1049c5accf8d58', 'project_id': 'dc64f79edfa64e32af1049c5accf8d58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19057897', 'ctest-vn-89903879'], 'port_security_enabled': True, 'description': ''}}
2026-03-13 17:00:03,119 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd93a55c8-9995-4dee-8bf3-12ff54cd8ca5', 'name': '', 'tenant_id': 'dc64f79edfa64e32af1049c5accf8d58', 'network_id': '5a3dd540-fc8b-40a3-9ad5-21ee75cc700b', 'ip_version': 4, 'cidr': '111.136.97.0/26', 'allocation_pools': [{'start': '111.136.97.2', 'end': '111.136.97.62'}], 'gateway_ip': '111.136.97.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.136.97.2', 'tags': [], 'project_id': 'dc64f79edfa64e32af1049c5accf8d58'}}
2026-03-13 17:00:03,137 - INFO - Created VN ctest-vn-89903879
2026-03-13 17:00:03,189 - DEBUG - VN ctest-vn-89903879 UUID is 5a3dd540-fc8b-40a3-9ad5-21ee75cc700b
2026-03-13 17:00:03,301 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-07111491, 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-19057897:ctest-vn-89903879, 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-13 17:00:03,588 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c4047824-2261-443c-b495-889d0d39bd2f', 'name': 'ctest-vn-07111491', 'tenant_id': 'dc64f79edfa64e32af1049c5accf8d58', 'project_id': 'dc64f79edfa64e32af1049c5accf8d58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['602bfe72-e128-4119-b1eb-b742c22313e2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19057897', 'ctest-vn-07111491'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19057897', 'ctest-policy-allow-all-12099989']], 'subnet_ipam': [{'subnet_cidr': '120.214.179.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-13 17:00:03,819 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5a3dd540-fc8b-40a3-9ad5-21ee75cc700b', 'name': 'ctest-vn-89903879', 'tenant_id': 'dc64f79edfa64e32af1049c5accf8d58', 'project_id': 'dc64f79edfa64e32af1049c5accf8d58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d93a55c8-9995-4dee-8bf3-12ff54cd8ca5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19057897', 'ctest-vn-89903879'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19057897', 'ctest-policy-allow-all-12099989']], 'subnet_ipam': [{'subnet_cidr': '111.136.97.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-13 17:00:03,994 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-13 17:00:04,290 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-13 17:00:04,322 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1b68e2e2-4ba1-472e-a4dd-fb4f06ac3e4b
2026-03-13 17:00:04,334 - DEBUG - Requesting: http://10.0.0.33:8082/project/dc64f79e-dfa6-4e32-af10-49c5accf8d58
2026-03-13 17:00:04,405 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c4047824-2261-443c-b495-889d0d39bd2f
2026-03-13 17:00:04,416 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c4047824-2261-443c-b495-889d0d39bd2f
2026-03-13 17:00:04,425 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/328c1905-f946-4ae4-aeb5-75c8b6ff93ed
2026-03-13 17:00:04,432 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/328c1905-f946-4ae4-aeb5-75c8b6ff93ed
2026-03-13 17:00:04,439 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/028819c9-4a75-48a8-9479-261680298ade
2026-03-13 17:00:04,447 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-13 17:00:04,447 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c4047824-2261-443c-b495-889d0d39bd2f
2026-03-13 17:00:04,456 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/328c1905-f946-4ae4-aeb5-75c8b6ff93ed
2026-03-13 17:00:04,470 - INFO - Verified VN network id 11 for VN c4047824-2261-443c-b495-889d0d39bd2f
2026-03-13 17:00:04,470 - INFO - Verifications in API Server for VN ctest-vn-07111491 passed
2026-03-13 17:00:04,471 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c4047824-2261-443c-b495-889d0d39bd2f
2026-03-13 17:00:04,479 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/328c1905-f946-4ae4-aeb5-75c8b6ff93ed
2026-03-13 17:00:04,487 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/328c1905-f946-4ae4-aeb5-75c8b6ff93ed
2026-03-13 17:00:04,495 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/028819c9-4a75-48a8-9479-261680298ade
2026-03-13 17:00:04,508 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-07111491', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19057897', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14124546427931673660', 'uuid-lslong': '13012456906470047023'}, 'enable': 'true', 'created': '2026-03-13T17:00:02', 'last-modified': '2026-03-13T17:00:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.940890'}
2026-03-13 17:00:04,514 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-13 17:00:04,514 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07111491 passed
2026-03-13 17:00:04,514 - DEBUG - ====Verifying policy data for ctest-vn-07111491 in API_Server ======
2026-03-13 17:00:04,514 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-13 17:00:04,519 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1b68e2e2-4ba1-472e-a4dd-fb4f06ac3e4b
2026-03-13 17:00:04,531 - DEBUG - Requesting: http://10.0.0.33:8082/project/dc64f79e-dfa6-4e32-af10-49c5accf8d58
2026-03-13 17:00:04,610 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c4047824-2261-443c-b495-889d0d39bd2f
2026-03-13 17:00:04,619 - DEBUG - ==>Verifying data for policy with id: 309dcdcd-7554-462f-9e66-52ddd28825f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-19057897', 'ctest-policy-allow-all-12099989']
2026-03-13 17:00:04,619 - INFO - VN ctest-vn-07111491 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-13 17:00:04,619 - DEBUG - Verifying the vn in opserver
2026-03-13 17:00:04,619 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-07111491 virtual network link through opserver 10.0.0.33
2026-03-13 17:00:04,619 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-13 17:00:04,911 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-13 17:00:04,976 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-07111491', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-07111491?flat'}
2026-03-13 17:00:04,976 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-07111491 is found in opserver
2026-03-13 17:00:04,985 - DEBUG - Do not have enough data to verify VN in agent
2026-03-13 17:00:04,990 - DEBUG - VRF ids for VN ctest-vn-07111491: {}
2026-03-13 17:00:04,990 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-13 17:00:04,995 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1b68e2e2-4ba1-472e-a4dd-fb4f06ac3e4b
2026-03-13 17:00:05,006 - DEBUG - Requesting: http://10.0.0.33:8082/project/dc64f79e-dfa6-4e32-af10-49c5accf8d58
2026-03-13 17:00:05,076 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5a3dd540-fc8b-40a3-9ad5-21ee75cc700b
2026-03-13 17:00:05,089 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5a3dd540-fc8b-40a3-9ad5-21ee75cc700b
2026-03-13 17:00:05,099 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dfa0f6b4-3c9f-4a56-a106-20a317ba09c7
2026-03-13 17:00:05,107 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dfa0f6b4-3c9f-4a56-a106-20a317ba09c7
2026-03-13 17:00:05,115 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/720c7c7f-ad52-4f05-ad68-7c700a7f374f
2026-03-13 17:00:05,122 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-13 17:00:05,122 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5a3dd540-fc8b-40a3-9ad5-21ee75cc700b
2026-03-13 17:00:05,133 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dfa0f6b4-3c9f-4a56-a106-20a317ba09c7
2026-03-13 17:00:05,150 - INFO - Verified VN network id 12 for VN 5a3dd540-fc8b-40a3-9ad5-21ee75cc700b
2026-03-13 17:00:05,150 - INFO - Verifications in API Server for VN ctest-vn-89903879 passed
2026-03-13 17:00:05,150 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5a3dd540-fc8b-40a3-9ad5-21ee75cc700b
2026-03-13 17:00:05,160 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dfa0f6b4-3c9f-4a56-a106-20a317ba09c7
2026-03-13 17:00:05,167 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dfa0f6b4-3c9f-4a56-a106-20a317ba09c7
2026-03-13 17:00:05,176 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/720c7c7f-ad52-4f05-ad68-7c700a7f374f
2026-03-13 17:00:05,189 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-89903879', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19057897', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6502587912084471971', 'uuid-lslong': '11156860959942537227'}, 'enable': 'true', 'created': '2026-03-13T17:00:02', 'last-modified': '2026-03-13T17:00:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.396526'}
2026-03-13 17:00:05,195 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-13 17:00:05,195 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89903879 passed
2026-03-13 17:00:05,196 - DEBUG - ====Verifying policy data for ctest-vn-89903879 in API_Server ======
2026-03-13 17:00:05,196 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-13 17:00:05,202 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1b68e2e2-4ba1-472e-a4dd-fb4f06ac3e4b
2026-03-13 17:00:05,212 - DEBUG - Requesting: http://10.0.0.33:8082/project/dc64f79e-dfa6-4e32-af10-49c5accf8d58
2026-03-13 17:00:05,277 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5a3dd540-fc8b-40a3-9ad5-21ee75cc700b
2026-03-13 17:00:05,285 - DEBUG - ==>Verifying data for policy with id: 309dcdcd-7554-462f-9e66-52ddd28825f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-19057897', 'ctest-policy-allow-all-12099989']
2026-03-13 17:00:05,286 - INFO - VN ctest-vn-89903879 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-13 17:00:05,286 - DEBUG - Verifying the vn in opserver
2026-03-13 17:00:05,286 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-89903879 virtual network link through opserver 10.0.0.33
2026-03-13 17:00:05,286 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-13 17:00:05,295 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-89903879', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-89903879?flat'}
2026-03-13 17:00:05,295 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19057897:ctest-vn-89903879 is found in opserver
2026-03-13 17:00:05,304 - DEBUG - Do not have enough data to verify VN in agent
2026-03-13 17:00:05,308 - DEBUG - VRF ids for VN ctest-vn-89903879: {}
2026-03-13 17:00:05,361 - DEBUG - Services list from nova: [