2026-06-05 11:41:27,449 - INFO - Domain Default found not creating
2026-06-05 11:41:27,705 - INFO - Project ctest-TestBasicPolicy-28427109 not found, creating it
2026-06-05 11:41:28,240 - INFO - Created Project:ctest-TestBasicPolicy-28427109, ID : f591c937-f63d-4752-8ca5-5778b1941735
2026-06-05 11:41:30,218 - INFO - ================================================================================
2026-06-05 11:41:30,218 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-05 11:41:30,218 - 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-06-05 11:41:30,496 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.18': '0'}} with
2026-06-05 11:41:30,496 - INFO - Initial checks done. Running the testcase now
2026-06-05 11:41:30,496 - INFO -
2026-06-05 11:41:31,371 - DEBUG - Response for create_network : {'network': {'id': 'd4745e1b-10ce-4735-b746-15a2c8137938', 'name': 'ctest-vn-98631591', 'tenant_id': 'f591c937f63d47528ca55778b1941735', 'project_id': 'f591c937f63d47528ca55778b1941735', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28427109', 'ctest-vn-98631591'], 'port_security_enabled': True, 'description': ''}}
2026-06-05 11:41:31,630 - DEBUG - Response for create_subnet : {'subnet': {'id': '11f35600-0218-4252-acc3-085c96c7e023', 'name': '', 'tenant_id': 'f591c937f63d47528ca55778b1941735', 'network_id': 'd4745e1b-10ce-4735-b746-15a2c8137938', 'ip_version': 4, 'cidr': '129.233.22.128/26', 'allocation_pools': [{'start': '129.233.22.130', 'end': '129.233.22.190'}], 'gateway_ip': '129.233.22.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.233.22.130', 'tags': [], 'project_id': 'f591c937f63d47528ca55778b1941735'}}
2026-06-05 11:41:31,663 - INFO - Created VN ctest-vn-98631591
2026-06-05 11:41:31,722 - DEBUG - VN ctest-vn-98631591 UUID is d4745e1b-10ce-4735-b746-15a2c8137938
2026-06-05 11:41:32,096 - DEBUG - Response for create_network : {'network': {'id': 'f610ca63-d875-419a-9ece-ad32ff1b16fe', 'name': 'ctest-vn-79041576', 'tenant_id': 'f591c937f63d47528ca55778b1941735', 'project_id': 'f591c937f63d47528ca55778b1941735', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28427109', 'ctest-vn-79041576'], 'port_security_enabled': True, 'description': ''}}
2026-06-05 11:41:32,285 - DEBUG - Response for create_subnet : {'subnet': {'id': 'edd82898-01ee-43ec-bdbf-5bdb6a4ed211', 'name': '', 'tenant_id': 'f591c937f63d47528ca55778b1941735', 'network_id': 'f610ca63-d875-419a-9ece-ad32ff1b16fe', 'ip_version': 4, 'cidr': '164.181.137.192/26', 'allocation_pools': [{'start': '164.181.137.194', 'end': '164.181.137.254'}], 'gateway_ip': '164.181.137.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.181.137.194', 'tags': [], 'project_id': 'f591c937f63d47528ca55778b1941735'}}
2026-06-05 11:41:32,308 - INFO - Created VN ctest-vn-79041576
2026-06-05 11:41:32,362 - DEBUG - VN ctest-vn-79041576 UUID is f610ca63-d875-419a-9ece-ad32ff1b16fe
2026-06-05 11:41:32,499 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28427109:ctest-vn-98631591, 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-28427109:ctest-vn-79041576, 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-06-05 11:41:32,834 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd4745e1b-10ce-4735-b746-15a2c8137938', 'name': 'ctest-vn-98631591', 'tenant_id': 'f591c937f63d47528ca55778b1941735', 'project_id': 'f591c937f63d47528ca55778b1941735', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['11f35600-0218-4252-acc3-085c96c7e023'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28427109', 'ctest-vn-98631591'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28427109', 'ctest-policy-allow-all-12915796']], 'subnet_ipam': [{'subnet_cidr': '129.233.22.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-05 11:41:33,106 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f610ca63-d875-419a-9ece-ad32ff1b16fe', 'name': 'ctest-vn-79041576', 'tenant_id': 'f591c937f63d47528ca55778b1941735', 'project_id': 'f591c937f63d47528ca55778b1941735', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['edd82898-01ee-43ec-bdbf-5bdb6a4ed211'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28427109', 'ctest-vn-79041576'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28427109', 'ctest-policy-allow-all-12915796']], 'subnet_ipam': [{'subnet_cidr': '164.181.137.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-05 11:41:33,290 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-06-05 11:41:33,592 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-06-05 11:41:33,633 - DEBUG - Requesting: http://10.0.0.241:8082/domain/011161ab-46f2-4fc2-bbbf-1e57d7f10ac4
2026-06-05 11:41:33,648 - DEBUG - Requesting: http://10.0.0.241:8082/project/f591c937-f63d-4752-8ca5-5778b1941735
2026-06-05 11:41:33,726 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d4745e1b-10ce-4735-b746-15a2c8137938
2026-06-05 11:41:33,741 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d4745e1b-10ce-4735-b746-15a2c8137938
2026-06-05 11:41:33,752 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e63ffd20-d17c-4283-9067-9baf575a5e31
2026-06-05 11:41:33,761 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e63ffd20-d17c-4283-9067-9baf575a5e31
2026-06-05 11:41:33,770 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/f2f51e5c-81b1-4fc4-9813-2f3220e02ab1
2026-06-05 11:41:33,779 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-05 11:41:33,779 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d4745e1b-10ce-4735-b746-15a2c8137938
2026-06-05 11:41:33,790 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e63ffd20-d17c-4283-9067-9baf575a5e31
2026-06-05 11:41:33,811 - INFO - Verified VN network id 11 for VN d4745e1b-10ce-4735-b746-15a2c8137938
2026-06-05 11:41:33,812 - INFO - Verifications in API Server for VN ctest-vn-98631591 passed
2026-06-05 11:41:33,812 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d4745e1b-10ce-4735-b746-15a2c8137938
2026-06-05 11:41:33,823 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e63ffd20-d17c-4283-9067-9baf575a5e31
2026-06-05 11:41:33,833 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/e63ffd20-d17c-4283-9067-9baf575a5e31
2026-06-05 11:41:33,844 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/f2f51e5c-81b1-4fc4-9813-2f3220e02ab1
2026-06-05 11:41:33,861 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28427109:ctest-vn-98631591', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28427109', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15308964503678240565', 'uuid-lslong': '13206266746196162872'}, 'enable': 'true', 'created': '2026-06-05T11:41:31', 'last-modified': '2026-06-05T11:41:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.053296'}
2026-06-05 11:41:33,870 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-05 11:41:33,870 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98631591 passed
2026-06-05 11:41:33,870 - DEBUG - ====Verifying policy data for ctest-vn-98631591 in API_Server ======
2026-06-05 11:41:33,870 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-06-05 11:41:33,878 - DEBUG - Requesting: http://10.0.0.241:8082/domain/011161ab-46f2-4fc2-bbbf-1e57d7f10ac4
2026-06-05 11:41:33,891 - DEBUG - Requesting: http://10.0.0.241:8082/project/f591c937-f63d-4752-8ca5-5778b1941735
2026-06-05 11:41:33,971 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d4745e1b-10ce-4735-b746-15a2c8137938
2026-06-05 11:41:33,981 - DEBUG - ==>Verifying data for policy with id: 1eadd07d-554b-4be1-87b3-6c52b8ae64b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-28427109', 'ctest-policy-allow-all-12915796']
2026-06-05 11:41:33,982 - INFO - VN ctest-vn-98631591 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-05 11:41:33,982 - DEBUG - Verifying the vn in opserver
2026-06-05 11:41:33,982 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28427109:ctest-vn-98631591 virtual network link through opserver 10.0.0.241
2026-06-05 11:41:33,982 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-06-05 11:41:34,282 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-06-05 11:41:34,366 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28427109:ctest-vn-98631591', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28427109:ctest-vn-98631591?flat'}
2026-06-05 11:41:34,366 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28427109:ctest-vn-98631591 is found in opserver
2026-06-05 11:41:34,380 - DEBUG - Do not have enough data to verify VN in agent
2026-06-05 11:41:34,387 - DEBUG - VRF ids for VN ctest-vn-98631591: {}
2026-06-05 11:41:34,387 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-06-05 11:41:34,394 - DEBUG - Requesting: http://10.0.0.241:8082/domain/011161ab-46f2-4fc2-bbbf-1e57d7f10ac4
2026-06-05 11:41:34,412 - DEBUG - Requesting: http://10.0.0.241:8082/project/f591c937-f63d-4752-8ca5-5778b1941735
2026-06-05 11:41:34,498 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/f610ca63-d875-419a-9ece-ad32ff1b16fe
2026-06-05 11:41:34,518 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/f610ca63-d875-419a-9ece-ad32ff1b16fe
2026-06-05 11:41:34,534 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/64c8094f-438e-4fb4-ae4b-8f3e013e760b
2026-06-05 11:41:34,546 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/64c8094f-438e-4fb4-ae4b-8f3e013e760b
2026-06-05 11:41:34,558 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/73939e9c-5123-478f-b649-33c6162de573
2026-06-05 11:41:34,568 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-05 11:41:34,568 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/f610ca63-d875-419a-9ece-ad32ff1b16fe
2026-06-05 11:41:34,581 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/64c8094f-438e-4fb4-ae4b-8f3e013e760b
2026-06-05 11:41:34,603 - INFO - Verified VN network id 12 for VN f610ca63-d875-419a-9ece-ad32ff1b16fe
2026-06-05 11:41:34,603 - INFO - Verifications in API Server for VN ctest-vn-79041576 passed
2026-06-05 11:41:34,603 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/f610ca63-d875-419a-9ece-ad32ff1b16fe
2026-06-05 11:41:34,613 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/64c8094f-438e-4fb4-ae4b-8f3e013e760b
2026-06-05 11:41:34,625 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/64c8094f-438e-4fb4-ae4b-8f3e013e760b
2026-06-05 11:41:34,635 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/73939e9c-5123-478f-b649-33c6162de573
2026-06-05 11:41:34,650 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28427109:ctest-vn-79041576', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28427109', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17730894263139778970', 'uuid-lslong': '11443274137734944510'}, 'enable': 'true', 'created': '2026-06-05T11:41:32', 'last-modified': '2026-06-05T11:41:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.568494'}
2026-06-05 11:41:34,657 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-05 11:41:34,657 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79041576 passed
2026-06-05 11:41:34,657 - DEBUG - ====Verifying policy data for ctest-vn-79041576 in API_Server ======
2026-06-05 11:41:34,657 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-06-05 11:41:34,666 - DEBUG - Requesting: http://10.0.0.241:8082/domain/011161ab-46f2-4fc2-bbbf-1e57d7f10ac4
2026-06-05 11:41:34,680 - DEBUG - Requesting: http://10.0.0.241:8082/project/f591c937-f63d-4752-8ca5-5778b1941735
2026-06-05 11:41:34,758 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/f610ca63-d875-419a-9ece-ad32ff1b16fe
2026-06-05 11:41:34,770 - DEBUG - ==>Verifying data for policy with id: 1eadd07d-554b-4be1-87b3-6c52b8ae64b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-28427109', 'ctest-policy-allow-all-12915796']
2026-06-05 11:41:34,770 - INFO - VN ctest-vn-79041576 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-05 11:41:34,770 - DEBUG - Verifying the vn in opserver
2026-06-05 11:41:34,770 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28427109:ctest-vn-79041576 virtual network link through opserver 10.0.0.241
2026-06-05 11:41:34,770 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-06-05 11:41:34,783 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28427109:ctest-vn-79041576', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28427109:ctest-vn-79041576?flat'}
2026-06-05 11:41:34,783 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28427109:ctest-vn-79041576 is found in opserver
2026-06-05 11:41:34,794 - DEBUG - Do not have enough data to verify VN in agent
2026-06-05 11:41:34,799 - DEBUG - VRF ids for VN ctest-vn-79041576: {}
2026-06-05 11:41:34,879 - DEBUG - Services list from nova: [