2026-10-30 00:26:32,271 - INFO - Domain Default found not creating
2026-10-30 00:26:32,397 - INFO - Project ctest-TestBasicPolicy-52942994 not found, creating it
2026-10-30 00:26:32,856 - INFO - Created Project:ctest-TestBasicPolicy-52942994, ID : 6c31cb3c-6df2-40fe-b69f-8def22c08b84
2026-10-30 00:26:34,265 - INFO - ================================================================================
2026-10-30 00:26:34,265 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-30 00:26:34,265 - 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-10-30 00:26:34,519 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.17': '0'}} with
2026-10-30 00:26:34,519 - INFO - Initial checks done. Running the testcase now
2026-10-30 00:26:34,519 - INFO -
2026-10-30 00:26:35,042 - DEBUG - Response for create_network : {'network': {'id': 'c1270011-0393-477c-a861-950cd0cb53b0', 'name': 'ctest-vn-51028883', 'tenant_id': '6c31cb3c6df240feb69f8def22c08b84', 'project_id': '6c31cb3c6df240feb69f8def22c08b84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52942994', 'ctest-vn-51028883'], 'port_security_enabled': True, 'description': ''}}
2026-10-30 00:26:35,195 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1737543-fc39-4f05-9212-7449a832d6c6', 'name': '', 'tenant_id': '6c31cb3c6df240feb69f8def22c08b84', 'network_id': 'c1270011-0393-477c-a861-950cd0cb53b0', 'ip_version': 4, 'cidr': '31.41.97.128/26', 'allocation_pools': [{'start': '31.41.97.130', 'end': '31.41.97.190'}], 'gateway_ip': '31.41.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.41.97.130', 'tags': [], 'project_id': '6c31cb3c6df240feb69f8def22c08b84'}}
2026-10-30 00:26:35,206 - INFO - Created VN ctest-vn-51028883
2026-10-30 00:26:35,254 - DEBUG - VN ctest-vn-51028883 UUID is c1270011-0393-477c-a861-950cd0cb53b0
2026-10-30 00:26:35,533 - DEBUG - Response for create_network : {'network': {'id': '65722af0-378c-466a-b22c-e88abe0f52ff', 'name': 'ctest-vn-93619656', 'tenant_id': '6c31cb3c6df240feb69f8def22c08b84', 'project_id': '6c31cb3c6df240feb69f8def22c08b84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52942994', 'ctest-vn-93619656'], 'port_security_enabled': True, 'description': ''}}
2026-10-30 00:26:35,675 - DEBUG - Response for create_subnet : {'subnet': {'id': '900266c8-ffaf-44f3-9a75-7408d3b13b46', 'name': '', 'tenant_id': '6c31cb3c6df240feb69f8def22c08b84', 'network_id': '65722af0-378c-466a-b22c-e88abe0f52ff', 'ip_version': 4, 'cidr': '198.197.223.192/26', 'allocation_pools': [{'start': '198.197.223.194', 'end': '198.197.223.254'}], 'gateway_ip': '198.197.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.197.223.194', 'tags': [], 'project_id': '6c31cb3c6df240feb69f8def22c08b84'}}
2026-10-30 00:26:35,687 - INFO - Created VN ctest-vn-93619656
2026-10-30 00:26:35,734 - DEBUG - VN ctest-vn-93619656 UUID is 65722af0-378c-466a-b22c-e88abe0f52ff
2026-10-30 00:26:35,866 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-51028883, 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-52942994:ctest-vn-93619656, 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-10-30 00:26:36,143 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c1270011-0393-477c-a861-950cd0cb53b0', 'name': 'ctest-vn-51028883', 'tenant_id': '6c31cb3c6df240feb69f8def22c08b84', 'project_id': '6c31cb3c6df240feb69f8def22c08b84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e1737543-fc39-4f05-9212-7449a832d6c6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52942994', 'ctest-vn-51028883'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52942994', 'ctest-policy-allow-all-16884208']], 'subnet_ipam': [{'subnet_cidr': '31.41.97.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-30 00:26:36,350 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65722af0-378c-466a-b22c-e88abe0f52ff', 'name': 'ctest-vn-93619656', 'tenant_id': '6c31cb3c6df240feb69f8def22c08b84', 'project_id': '6c31cb3c6df240feb69f8def22c08b84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['900266c8-ffaf-44f3-9a75-7408d3b13b46'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52942994', 'ctest-vn-93619656'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52942994', 'ctest-policy-allow-all-16884208']], 'subnet_ipam': [{'subnet_cidr': '198.197.223.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-30 00:26:36,502 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-10-30 00:26:36,813 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-10-30 00:26:36,842 - DEBUG - Requesting: http://10.0.0.250:8082/domain/8c71abcc-18f4-48d9-a920-d3c340a55008
2026-10-30 00:26:36,853 - DEBUG - Requesting: http://10.0.0.250:8082/project/6c31cb3c-6df2-40fe-b69f-8def22c08b84
2026-10-30 00:26:36,925 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/c1270011-0393-477c-a861-950cd0cb53b0
2026-10-30 00:26:36,934 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/c1270011-0393-477c-a861-950cd0cb53b0
2026-10-30 00:26:36,942 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d579587e-ebd6-4961-abf0-eab929b40c61
2026-10-30 00:26:36,947 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d579587e-ebd6-4961-abf0-eab929b40c61
2026-10-30 00:26:36,952 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/0abbc9f3-1400-44b6-957d-515c376539bb
2026-10-30 00:26:36,956 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-30 00:26:36,956 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/c1270011-0393-477c-a861-950cd0cb53b0
2026-10-30 00:26:36,962 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d579587e-ebd6-4961-abf0-eab929b40c61
2026-10-30 00:26:36,972 - INFO - Verified VN network id 12 for VN c1270011-0393-477c-a861-950cd0cb53b0
2026-10-30 00:26:36,972 - INFO - Verifications in API Server for VN ctest-vn-51028883 passed
2026-10-30 00:26:36,972 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/c1270011-0393-477c-a861-950cd0cb53b0
2026-10-30 00:26:36,979 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d579587e-ebd6-4961-abf0-eab929b40c61
2026-10-30 00:26:36,984 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d579587e-ebd6-4961-abf0-eab929b40c61
2026-10-30 00:26:36,989 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/0abbc9f3-1400-44b6-957d-515c376539bb
2026-10-30 00:26:36,998 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-51028883', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52942994', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13918093246486235004', 'uuid-lslong': '12133142753387959216'}, 'enable': 'true', 'created': '2026-10-30T00:26:35', 'last-modified': '2026-10-30T00:26:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.873896'}
2026-10-30 00:26:37,004 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-30 00:26:37,004 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51028883 passed
2026-10-30 00:26:37,004 - DEBUG - ====Verifying policy data for ctest-vn-51028883 in API_Server ======
2026-10-30 00:26:37,004 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-10-30 00:26:37,007 - DEBUG - Requesting: http://10.0.0.250:8082/domain/8c71abcc-18f4-48d9-a920-d3c340a55008
2026-10-30 00:26:37,015 - DEBUG - Requesting: http://10.0.0.250:8082/project/6c31cb3c-6df2-40fe-b69f-8def22c08b84
2026-10-30 00:26:37,087 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/c1270011-0393-477c-a861-950cd0cb53b0
2026-10-30 00:26:37,093 - DEBUG - ==>Verifying data for policy with id: 566a25db-6ff5-44e4-ae91-d3c96cd486d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-52942994', 'ctest-policy-allow-all-16884208']
2026-10-30 00:26:37,093 - INFO - VN ctest-vn-51028883 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-30 00:26:37,093 - DEBUG - Verifying the vn in opserver
2026-10-30 00:26:37,093 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-51028883 virtual network link through opserver 10.0.0.250
2026-10-30 00:26:37,094 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-10-30 00:26:37,404 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-10-30 00:26:37,444 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-51028883', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-51028883?flat'}
2026-10-30 00:26:37,444 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-51028883 is found in opserver
2026-10-30 00:26:37,452 - DEBUG - Do not have enough data to verify VN in agent
2026-10-30 00:26:37,455 - DEBUG - VRF ids for VN ctest-vn-51028883: {}
2026-10-30 00:26:37,456 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-10-30 00:26:37,459 - DEBUG - Requesting: http://10.0.0.250:8082/domain/8c71abcc-18f4-48d9-a920-d3c340a55008
2026-10-30 00:26:37,467 - DEBUG - Requesting: http://10.0.0.250:8082/project/6c31cb3c-6df2-40fe-b69f-8def22c08b84
2026-10-30 00:26:37,536 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/65722af0-378c-466a-b22c-e88abe0f52ff
2026-10-30 00:26:37,544 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/65722af0-378c-466a-b22c-e88abe0f52ff
2026-10-30 00:26:37,554 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/c52d6fb1-f393-4282-8842-6d8733d9edf3
2026-10-30 00:26:37,559 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/c52d6fb1-f393-4282-8842-6d8733d9edf3
2026-10-30 00:26:37,564 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/9c0ede6e-61fd-4b53-9aec-20e0f91f72e3
2026-10-30 00:26:37,568 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-30 00:26:37,568 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/65722af0-378c-466a-b22c-e88abe0f52ff
2026-10-30 00:26:37,575 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/c52d6fb1-f393-4282-8842-6d8733d9edf3
2026-10-30 00:26:37,584 - INFO - Verified VN network id 13 for VN 65722af0-378c-466a-b22c-e88abe0f52ff
2026-10-30 00:26:37,584 - INFO - Verifications in API Server for VN ctest-vn-93619656 passed
2026-10-30 00:26:37,584 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/65722af0-378c-466a-b22c-e88abe0f52ff
2026-10-30 00:26:37,591 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/c52d6fb1-f393-4282-8842-6d8733d9edf3
2026-10-30 00:26:37,596 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/c52d6fb1-f393-4282-8842-6d8733d9edf3
2026-10-30 00:26:37,600 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/9c0ede6e-61fd-4b53-9aec-20e0f91f72e3
2026-10-30 00:26:37,610 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-93619656', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52942994', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7309952356388193898', 'uuid-lslong': '12838892320318247679'}, 'enable': 'true', 'created': '2026-10-30T00:26:35', 'last-modified': '2026-10-30T00:26:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.279479'}
2026-10-30 00:26:37,616 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-30 00:26:37,616 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93619656 passed
2026-10-30 00:26:37,616 - DEBUG - ====Verifying policy data for ctest-vn-93619656 in API_Server ======
2026-10-30 00:26:37,616 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-10-30 00:26:37,621 - DEBUG - Requesting: http://10.0.0.250:8082/domain/8c71abcc-18f4-48d9-a920-d3c340a55008
2026-10-30 00:26:37,629 - DEBUG - Requesting: http://10.0.0.250:8082/project/6c31cb3c-6df2-40fe-b69f-8def22c08b84
2026-10-30 00:26:37,693 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/65722af0-378c-466a-b22c-e88abe0f52ff
2026-10-30 00:26:37,699 - DEBUG - ==>Verifying data for policy with id: 566a25db-6ff5-44e4-ae91-d3c96cd486d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-52942994', 'ctest-policy-allow-all-16884208']
2026-10-30 00:26:37,699 - INFO - VN ctest-vn-93619656 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-30 00:26:37,699 - DEBUG - Verifying the vn in opserver
2026-10-30 00:26:37,699 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-93619656 virtual network link through opserver 10.0.0.250
2026-10-30 00:26:37,699 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-10-30 00:26:37,706 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-93619656', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-93619656?flat'}
2026-10-30 00:26:37,706 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52942994:ctest-vn-93619656 is found in opserver
2026-10-30 00:26:37,715 - DEBUG - Do not have enough data to verify VN in agent
2026-10-30 00:26:37,719 - DEBUG - VRF ids for VN ctest-vn-93619656: {}
2026-10-30 00:26:37,762 - DEBUG - Services list from nova: [