2026-11-03 03:00:51,395 - INFO - Domain Default found not creating
2026-11-03 03:00:51,572 - INFO - Project ctest-TestBasicPolicy-84068184 not found, creating it
2026-11-03 03:00:52,076 - INFO - Created Project:ctest-TestBasicPolicy-84068184, ID : e26a6557-2229-4f76-98a3-4373e4ae1548
2026-11-03 03:00:53,599 - INFO - ================================================================================
2026-11-03 03:00:53,600 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-03 03:00:53,600 - 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-11-03 03:00:53,863 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-11-03 03:00:53,863 - INFO - Initial checks done. Running the testcase now
2026-11-03 03:00:53,863 - INFO -
2026-11-03 03:00:54,430 - DEBUG - Response for create_network : {'network': {'id': 'cdda0d26-db40-487e-919b-e6d71e66c72e', 'name': 'ctest-vn-46693562', 'tenant_id': 'e26a655722294f7698a34373e4ae1548', 'project_id': 'e26a655722294f7698a34373e4ae1548', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84068184', 'ctest-vn-46693562'], 'port_security_enabled': True, 'description': ''}}
2026-11-03 03:00:54,612 - DEBUG - Response for create_subnet : {'subnet': {'id': '17898e06-4f30-4202-981b-38f65b57ad0c', 'name': '', 'tenant_id': 'e26a655722294f7698a34373e4ae1548', 'network_id': 'cdda0d26-db40-487e-919b-e6d71e66c72e', 'ip_version': 4, 'cidr': '132.87.247.192/26', 'allocation_pools': [{'start': '132.87.247.194', 'end': '132.87.247.254'}], 'gateway_ip': '132.87.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.87.247.194', 'tags': [], 'project_id': 'e26a655722294f7698a34373e4ae1548'}}
2026-11-03 03:00:54,628 - INFO - Created VN ctest-vn-46693562
2026-11-03 03:00:54,680 - DEBUG - VN ctest-vn-46693562 UUID is cdda0d26-db40-487e-919b-e6d71e66c72e
2026-11-03 03:00:54,995 - DEBUG - Response for create_network : {'network': {'id': '01842d9c-b6fc-458b-9a8a-95a8a13406f4', 'name': 'ctest-vn-31577915', 'tenant_id': 'e26a655722294f7698a34373e4ae1548', 'project_id': 'e26a655722294f7698a34373e4ae1548', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84068184', 'ctest-vn-31577915'], 'port_security_enabled': True, 'description': ''}}
2026-11-03 03:00:55,202 - DEBUG - Response for create_subnet : {'subnet': {'id': '38c8262d-139f-4714-90af-675b99c6da1a', 'name': '', 'tenant_id': 'e26a655722294f7698a34373e4ae1548', 'network_id': '01842d9c-b6fc-458b-9a8a-95a8a13406f4', 'ip_version': 4, 'cidr': '74.200.134.64/26', 'allocation_pools': [{'start': '74.200.134.66', 'end': '74.200.134.126'}], 'gateway_ip': '74.200.134.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.200.134.66', 'tags': [], 'project_id': 'e26a655722294f7698a34373e4ae1548'}}
2026-11-03 03:00:55,217 - INFO - Created VN ctest-vn-31577915
2026-11-03 03:00:55,268 - DEBUG - VN ctest-vn-31577915 UUID is 01842d9c-b6fc-458b-9a8a-95a8a13406f4
2026-11-03 03:00:55,412 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84068184:ctest-vn-46693562, 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-84068184:ctest-vn-31577915, 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-11-03 03:00:55,702 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cdda0d26-db40-487e-919b-e6d71e66c72e', 'name': 'ctest-vn-46693562', 'tenant_id': 'e26a655722294f7698a34373e4ae1548', 'project_id': 'e26a655722294f7698a34373e4ae1548', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['17898e06-4f30-4202-981b-38f65b57ad0c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84068184', 'ctest-vn-46693562'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84068184', 'ctest-policy-allow-all-13924373']], 'subnet_ipam': [{'subnet_cidr': '132.87.247.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-03 03:00:55,929 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '01842d9c-b6fc-458b-9a8a-95a8a13406f4', 'name': 'ctest-vn-31577915', 'tenant_id': 'e26a655722294f7698a34373e4ae1548', 'project_id': 'e26a655722294f7698a34373e4ae1548', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['38c8262d-139f-4714-90af-675b99c6da1a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84068184', 'ctest-vn-31577915'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84068184', 'ctest-policy-allow-all-13924373']], 'subnet_ipam': [{'subnet_cidr': '74.200.134.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-03 03:00:56,056 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-11-03 03:00:56,378 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-11-03 03:00:56,403 - DEBUG - Requesting: http://10.0.0.33:8082/domain/43d5604c-f18a-49b1-839d-f312dd59ff7d
2026-11-03 03:00:56,415 - DEBUG - Requesting: http://10.0.0.33:8082/project/e26a6557-2229-4f76-98a3-4373e4ae1548
2026-11-03 03:00:56,489 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cdda0d26-db40-487e-919b-e6d71e66c72e
2026-11-03 03:00:56,500 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cdda0d26-db40-487e-919b-e6d71e66c72e
2026-11-03 03:00:56,508 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cb0cc7bf-a8a5-42ab-b8e2-11fb65fc55d6
2026-11-03 03:00:56,514 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cb0cc7bf-a8a5-42ab-b8e2-11fb65fc55d6
2026-11-03 03:00:56,520 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/fb3aa0d3-75e1-4c23-9248-1b3c49a06097
2026-11-03 03:00:56,525 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-03 03:00:56,525 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cdda0d26-db40-487e-919b-e6d71e66c72e
2026-11-03 03:00:56,533 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cb0cc7bf-a8a5-42ab-b8e2-11fb65fc55d6
2026-11-03 03:00:56,544 - INFO - Verified VN network id 12 for VN cdda0d26-db40-487e-919b-e6d71e66c72e
2026-11-03 03:00:56,544 - INFO - Verifications in API Server for VN ctest-vn-46693562 passed
2026-11-03 03:00:56,544 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cdda0d26-db40-487e-919b-e6d71e66c72e
2026-11-03 03:00:56,552 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cb0cc7bf-a8a5-42ab-b8e2-11fb65fc55d6
2026-11-03 03:00:56,558 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cb0cc7bf-a8a5-42ab-b8e2-11fb65fc55d6
2026-11-03 03:00:56,563 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/fb3aa0d3-75e1-4c23-9248-1b3c49a06097
2026-11-03 03:00:56,574 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84068184:ctest-vn-46693562', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84068184', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14833182783236491390', 'uuid-lslong': '10492233568492111662'}, 'enable': 'true', 'created': '2026-11-03T03:00:54', 'last-modified': '2026-11-03T03:00:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.891641'}
2026-11-03 03:00:56,581 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-03 03:00:56,581 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46693562 passed
2026-11-03 03:00:56,581 - DEBUG - ====Verifying policy data for ctest-vn-46693562 in API_Server ======
2026-11-03 03:00:56,581 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-11-03 03:00:56,586 - DEBUG - Requesting: http://10.0.0.33:8082/domain/43d5604c-f18a-49b1-839d-f312dd59ff7d
2026-11-03 03:00:56,596 - DEBUG - Requesting: http://10.0.0.33:8082/project/e26a6557-2229-4f76-98a3-4373e4ae1548
2026-11-03 03:00:56,664 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cdda0d26-db40-487e-919b-e6d71e66c72e
2026-11-03 03:00:56,672 - DEBUG - ==>Verifying data for policy with id: d428eb50-d139-40d4-b19c-f720c92a9e2b, fqn: ['default-domain', 'ctest-TestBasicPolicy-84068184', 'ctest-policy-allow-all-13924373']
2026-11-03 03:00:56,672 - INFO - VN ctest-vn-46693562 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-03 03:00:56,672 - DEBUG - Verifying the vn in opserver
2026-11-03 03:00:56,672 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84068184:ctest-vn-46693562 virtual network link through opserver 10.0.0.33
2026-11-03 03:00:56,672 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-11-03 03:00:56,998 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-11-03 03:00:57,049 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84068184:ctest-vn-46693562', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84068184:ctest-vn-46693562?flat'}
2026-11-03 03:00:57,049 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84068184:ctest-vn-46693562 is found in opserver
2026-11-03 03:00:57,059 - DEBUG - Do not have enough data to verify VN in agent
2026-11-03 03:00:57,064 - DEBUG - VRF ids for VN ctest-vn-46693562: {}
2026-11-03 03:00:57,065 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-11-03 03:00:57,070 - DEBUG - Requesting: http://10.0.0.33:8082/domain/43d5604c-f18a-49b1-839d-f312dd59ff7d
2026-11-03 03:00:57,081 - DEBUG - Requesting: http://10.0.0.33:8082/project/e26a6557-2229-4f76-98a3-4373e4ae1548
2026-11-03 03:00:57,154 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/01842d9c-b6fc-458b-9a8a-95a8a13406f4
2026-11-03 03:00:57,164 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/01842d9c-b6fc-458b-9a8a-95a8a13406f4
2026-11-03 03:00:57,172 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/50cf4976-168b-44cb-beab-12423ed0b1b9
2026-11-03 03:00:57,178 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/50cf4976-168b-44cb-beab-12423ed0b1b9
2026-11-03 03:00:57,183 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e4985fe6-963c-4404-b617-f601676852f4
2026-11-03 03:00:57,188 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-03 03:00:57,188 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/01842d9c-b6fc-458b-9a8a-95a8a13406f4
2026-11-03 03:00:57,195 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/50cf4976-168b-44cb-beab-12423ed0b1b9
2026-11-03 03:00:57,207 - INFO - Verified VN network id 13 for VN 01842d9c-b6fc-458b-9a8a-95a8a13406f4
2026-11-03 03:00:57,207 - INFO - Verifications in API Server for VN ctest-vn-31577915 passed
2026-11-03 03:00:57,207 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/01842d9c-b6fc-458b-9a8a-95a8a13406f4
2026-11-03 03:00:57,214 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/50cf4976-168b-44cb-beab-12423ed0b1b9
2026-11-03 03:00:57,220 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/50cf4976-168b-44cb-beab-12423ed0b1b9
2026-11-03 03:00:57,225 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e4985fe6-963c-4404-b617-f601676852f4
2026-11-03 03:00:57,239 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84068184:ctest-vn-31577915', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84068184', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '109262442071868811', 'uuid-lslong': '11135877580118558452'}, 'enable': 'true', 'created': '2026-11-03T03:00:54', 'last-modified': '2026-11-03T03:00:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.328749'}
2026-11-03 03:00:57,245 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-03 03:00:57,245 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31577915 passed
2026-11-03 03:00:57,245 - DEBUG - ====Verifying policy data for ctest-vn-31577915 in API_Server ======
2026-11-03 03:00:57,245 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-11-03 03:00:57,249 - DEBUG - Requesting: http://10.0.0.33:8082/domain/43d5604c-f18a-49b1-839d-f312dd59ff7d
2026-11-03 03:00:57,260 - DEBUG - Requesting: http://10.0.0.33:8082/project/e26a6557-2229-4f76-98a3-4373e4ae1548
2026-11-03 03:00:57,333 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/01842d9c-b6fc-458b-9a8a-95a8a13406f4
2026-11-03 03:00:57,343 - DEBUG - ==>Verifying data for policy with id: d428eb50-d139-40d4-b19c-f720c92a9e2b, fqn: ['default-domain', 'ctest-TestBasicPolicy-84068184', 'ctest-policy-allow-all-13924373']
2026-11-03 03:00:57,343 - INFO - VN ctest-vn-31577915 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-03 03:00:57,343 - DEBUG - Verifying the vn in opserver
2026-11-03 03:00:57,343 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84068184:ctest-vn-31577915 virtual network link through opserver 10.0.0.33
2026-11-03 03:00:57,343 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-11-03 03:00:57,353 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84068184:ctest-vn-31577915', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84068184:ctest-vn-31577915?flat'}
2026-11-03 03:00:57,353 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84068184:ctest-vn-31577915 is found in opserver
2026-11-03 03:00:57,363 - DEBUG - Do not have enough data to verify VN in agent
2026-11-03 03:00:57,367 - DEBUG - VRF ids for VN ctest-vn-31577915: {}
2026-11-03 03:00:57,423 - DEBUG - Services list from nova: [