2026-02-10 18:27:40,371 - INFO - Domain Default found not creating
2026-02-10 18:27:40,716 - INFO - Project ctest-TestBasicPolicy-23871838 not found, creating it
2026-02-10 18:27:41,474 - INFO - Created Project:ctest-TestBasicPolicy-23871838, ID : 9c2c2e2a-a84f-4e87-afe9-27cfaa7c5831
2026-02-10 18:27:43,493 - INFO - ================================================================================
2026-02-10 18:27:43,493 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 18:27:43,494 - 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-02-10 18:27:43,809 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.252': '0'}} with
2026-02-10 18:27:43,810 - INFO - Initial checks done. Running the testcase now
2026-02-10 18:27:43,810 - INFO -
2026-02-10 18:27:44,619 - DEBUG - Response for create_network : {'network': {'id': '75fa37b8-7ee0-43df-bed9-3df3b51441ac', 'name': 'ctest-vn-98076602', 'tenant_id': '9c2c2e2aa84f4e87afe927cfaa7c5831', 'project_id': '9c2c2e2aa84f4e87afe927cfaa7c5831', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23871838', 'ctest-vn-98076602'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 18:27:44,841 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b91ac552-a1a3-4311-9f77-02b1dbbf373e', 'name': '', 'tenant_id': '9c2c2e2aa84f4e87afe927cfaa7c5831', 'network_id': '75fa37b8-7ee0-43df-bed9-3df3b51441ac', 'ip_version': 4, 'cidr': '208.242.217.0/26', 'allocation_pools': [{'start': '208.242.217.2', 'end': '208.242.217.62'}], 'gateway_ip': '208.242.217.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.242.217.2', 'tags': [], 'project_id': '9c2c2e2aa84f4e87afe927cfaa7c5831'}}
2026-02-10 18:27:44,863 - INFO - Created VN ctest-vn-98076602
2026-02-10 18:27:44,922 - DEBUG - VN ctest-vn-98076602 UUID is 75fa37b8-7ee0-43df-bed9-3df3b51441ac
2026-02-10 18:27:45,273 - DEBUG - Response for create_network : {'network': {'id': '95ece930-fa10-48e7-8954-0a74ed601fff', 'name': 'ctest-vn-92035322', 'tenant_id': '9c2c2e2aa84f4e87afe927cfaa7c5831', 'project_id': '9c2c2e2aa84f4e87afe927cfaa7c5831', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23871838', 'ctest-vn-92035322'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 18:27:45,506 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a547038a-1cf5-4291-b2ec-342955e5804d', 'name': '', 'tenant_id': '9c2c2e2aa84f4e87afe927cfaa7c5831', 'network_id': '95ece930-fa10-48e7-8954-0a74ed601fff', 'ip_version': 4, 'cidr': '130.117.107.128/26', 'allocation_pools': [{'start': '130.117.107.130', 'end': '130.117.107.190'}], 'gateway_ip': '130.117.107.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.117.107.130', 'tags': [], 'project_id': '9c2c2e2aa84f4e87afe927cfaa7c5831'}}
2026-02-10 18:27:45,533 - INFO - Created VN ctest-vn-92035322
2026-02-10 18:27:45,598 - DEBUG - VN ctest-vn-92035322 UUID is 95ece930-fa10-48e7-8954-0a74ed601fff
2026-02-10 18:27:45,764 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23871838:ctest-vn-98076602, 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-23871838:ctest-vn-92035322, 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-02-10 18:27:46,219 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '75fa37b8-7ee0-43df-bed9-3df3b51441ac', 'name': 'ctest-vn-98076602', 'tenant_id': '9c2c2e2aa84f4e87afe927cfaa7c5831', 'project_id': '9c2c2e2aa84f4e87afe927cfaa7c5831', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b91ac552-a1a3-4311-9f77-02b1dbbf373e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23871838', 'ctest-vn-98076602'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23871838', 'ctest-policy-allow-all-73413432']], 'subnet_ipam': [{'subnet_cidr': '208.242.217.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 18:27:46,548 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '95ece930-fa10-48e7-8954-0a74ed601fff', 'name': 'ctest-vn-92035322', 'tenant_id': '9c2c2e2aa84f4e87afe927cfaa7c5831', 'project_id': '9c2c2e2aa84f4e87afe927cfaa7c5831', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a547038a-1cf5-4291-b2ec-342955e5804d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23871838', 'ctest-vn-92035322'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23871838', 'ctest-policy-allow-all-73413432']], 'subnet_ipam': [{'subnet_cidr': '130.117.107.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 18:27:46,738 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-10 18:27:47,064 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-10 18:27:47,112 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1a7beebb-927b-46d1-b2e4-a8f0d4d2bb6d
2026-02-10 18:27:47,139 - DEBUG - Requesting: http://10.0.0.249:8082/project/9c2c2e2a-a84f-4e87-afe9-27cfaa7c5831
2026-02-10 18:27:47,255 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/75fa37b8-7ee0-43df-bed9-3df3b51441ac
2026-02-10 18:27:47,283 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/75fa37b8-7ee0-43df-bed9-3df3b51441ac
2026-02-10 18:27:47,307 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/126bb2bc-195a-4a1a-92f7-04bfe1cf24f9
2026-02-10 18:27:47,324 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/126bb2bc-195a-4a1a-92f7-04bfe1cf24f9
2026-02-10 18:27:47,338 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/4c043f4a-e77f-4707-8c4f-491a313a4126
2026-02-10 18:27:47,352 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 18:27:47,352 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/75fa37b8-7ee0-43df-bed9-3df3b51441ac
2026-02-10 18:27:47,380 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/126bb2bc-195a-4a1a-92f7-04bfe1cf24f9
2026-02-10 18:27:47,427 - INFO - Verified VN network id 10 for VN 75fa37b8-7ee0-43df-bed9-3df3b51441ac
2026-02-10 18:27:47,428 - INFO - Verifications in API Server for VN ctest-vn-98076602 passed
2026-02-10 18:27:47,428 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/75fa37b8-7ee0-43df-bed9-3df3b51441ac
2026-02-10 18:27:47,457 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/126bb2bc-195a-4a1a-92f7-04bfe1cf24f9
2026-02-10 18:27:47,470 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/126bb2bc-195a-4a1a-92f7-04bfe1cf24f9
2026-02-10 18:27:47,484 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/4c043f4a-e77f-4707-8c4f-491a313a4126
2026-02-10 18:27:47,505 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23871838:ctest-vn-98076602', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23871838', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8501168512157369311', 'uuid-lslong': '13752091054076871084'}, 'enable': 'true', 'created': '2026-02-10T18:27:44', 'last-modified': '2026-02-10T18:27:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.324805'}
2026-02-10 18:27:47,512 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 18:27:47,512 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98076602 passed
2026-02-10 18:27:47,512 - DEBUG - ====Verifying policy data for ctest-vn-98076602 in API_Server ======
2026-02-10 18:27:47,512 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-10 18:27:47,519 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1a7beebb-927b-46d1-b2e4-a8f0d4d2bb6d
2026-02-10 18:27:47,532 - DEBUG - Requesting: http://10.0.0.249:8082/project/9c2c2e2a-a84f-4e87-afe9-27cfaa7c5831
2026-02-10 18:27:47,632 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/75fa37b8-7ee0-43df-bed9-3df3b51441ac
2026-02-10 18:27:47,643 - DEBUG - ==>Verifying data for policy with id: edd55fd0-9447-43fc-9c4e-0567568c7621, fqn: ['default-domain', 'ctest-TestBasicPolicy-23871838', 'ctest-policy-allow-all-73413432']
2026-02-10 18:27:47,644 - INFO - VN ctest-vn-98076602 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 18:27:47,644 - DEBUG - Verifying the vn in opserver
2026-02-10 18:27:47,644 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23871838:ctest-vn-98076602 virtual network link through opserver 10.0.0.249
2026-02-10 18:27:47,644 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-02-10 18:27:47,946 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-02-10 18:27:48,077 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23871838:ctest-vn-98076602', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23871838:ctest-vn-98076602?flat'}
2026-02-10 18:27:48,077 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23871838:ctest-vn-98076602 is found in opserver
2026-02-10 18:27:48,097 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 18:27:48,108 - DEBUG - VRF ids for VN ctest-vn-98076602: {}
2026-02-10 18:27:48,108 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-10 18:27:48,118 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1a7beebb-927b-46d1-b2e4-a8f0d4d2bb6d
2026-02-10 18:27:48,132 - DEBUG - Requesting: http://10.0.0.249:8082/project/9c2c2e2a-a84f-4e87-afe9-27cfaa7c5831
2026-02-10 18:27:48,224 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/95ece930-fa10-48e7-8954-0a74ed601fff
2026-02-10 18:27:48,250 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/95ece930-fa10-48e7-8954-0a74ed601fff
2026-02-10 18:27:48,276 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fe435107-7aa3-4955-b278-14411e962c1d
2026-02-10 18:27:48,287 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fe435107-7aa3-4955-b278-14411e962c1d
2026-02-10 18:27:48,303 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c4c0c85b-91ca-4bb0-b2e0-c443e5397831
2026-02-10 18:27:48,317 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 18:27:48,317 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/95ece930-fa10-48e7-8954-0a74ed601fff
2026-02-10 18:27:48,344 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fe435107-7aa3-4955-b278-14411e962c1d
2026-02-10 18:27:48,376 - INFO - Verified VN network id 11 for VN 95ece930-fa10-48e7-8954-0a74ed601fff
2026-02-10 18:27:48,377 - INFO - Verifications in API Server for VN ctest-vn-92035322 passed
2026-02-10 18:27:48,377 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/95ece930-fa10-48e7-8954-0a74ed601fff
2026-02-10 18:27:48,398 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fe435107-7aa3-4955-b278-14411e962c1d
2026-02-10 18:27:48,415 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fe435107-7aa3-4955-b278-14411e962c1d
2026-02-10 18:27:48,434 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c4c0c85b-91ca-4bb0-b2e0-c443e5397831
2026-02-10 18:27:48,463 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23871838:ctest-vn-92035322', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23871838', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10803266002718050535', 'uuid-lslong': '9895545778554806271'}, 'enable': 'true', 'created': '2026-02-10T18:27:45', 'last-modified': '2026-02-10T18:27:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.963546'}
2026-02-10 18:27:48,480 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 18:27:48,481 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92035322 passed
2026-02-10 18:27:48,481 - DEBUG - ====Verifying policy data for ctest-vn-92035322 in API_Server ======
2026-02-10 18:27:48,481 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-02-10 18:27:48,494 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1a7beebb-927b-46d1-b2e4-a8f0d4d2bb6d
2026-02-10 18:27:48,520 - DEBUG - Requesting: http://10.0.0.249:8082/project/9c2c2e2a-a84f-4e87-afe9-27cfaa7c5831
2026-02-10 18:27:48,643 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/95ece930-fa10-48e7-8954-0a74ed601fff
2026-02-10 18:27:48,671 - DEBUG - ==>Verifying data for policy with id: edd55fd0-9447-43fc-9c4e-0567568c7621, fqn: ['default-domain', 'ctest-TestBasicPolicy-23871838', 'ctest-policy-allow-all-73413432']
2026-02-10 18:27:48,672 - INFO - VN ctest-vn-92035322 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 18:27:48,672 - DEBUG - Verifying the vn in opserver
2026-02-10 18:27:48,672 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23871838:ctest-vn-92035322 virtual network link through opserver 10.0.0.249
2026-02-10 18:27:48,672 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-02-10 18:27:48,697 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23871838:ctest-vn-92035322', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23871838:ctest-vn-92035322?flat'}
2026-02-10 18:27:48,697 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23871838:ctest-vn-92035322 is found in opserver
2026-02-10 18:27:48,723 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 18:27:48,735 - DEBUG - VRF ids for VN ctest-vn-92035322: {}
2026-02-10 18:27:48,870 - DEBUG - Services list from nova: [