2026-03-02 02:09:07,150 - INFO - Domain Default found not creating
2026-03-02 02:09:07,319 - INFO - Project ctest-TestBasicPolicy-37877792 not found, creating it
2026-03-02 02:09:07,787 - INFO - Created Project:ctest-TestBasicPolicy-37877792, ID : cfde915d-629a-4ded-be84-eb3709b8cec8
2026-03-02 02:09:09,361 - INFO - ================================================================================
2026-03-02 02:09:09,361 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-02 02:09:09,361 - 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-02 02:09:09,631 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.18': '0'}} with
2026-03-02 02:09:09,631 - INFO - Initial checks done. Running the testcase now
2026-03-02 02:09:09,631 - INFO -
2026-03-02 02:09:10,223 - DEBUG - Response for create_network : {'network': {'id': '41dc294d-94b0-4ddc-b2e4-5f36657ae334', 'name': 'ctest-vn-23021284', 'tenant_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'project_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37877792', 'ctest-vn-23021284'], 'port_security_enabled': True, 'description': ''}}
2026-03-02 02:09:10,419 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1bd2110-8e2e-481d-ba09-0bd9e5535d18', 'name': '', 'tenant_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'network_id': '41dc294d-94b0-4ddc-b2e4-5f36657ae334', 'ip_version': 4, 'cidr': '26.16.6.0/26', 'allocation_pools': [{'start': '26.16.6.2', 'end': '26.16.6.62'}], 'gateway_ip': '26.16.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.16.6.2', 'tags': [], 'project_id': 'cfde915d629a4dedbe84eb3709b8cec8'}}
2026-03-02 02:09:10,436 - INFO - Created VN ctest-vn-23021284
2026-03-02 02:09:10,489 - DEBUG - VN ctest-vn-23021284 UUID is 41dc294d-94b0-4ddc-b2e4-5f36657ae334
2026-03-02 02:09:10,819 - DEBUG - Response for create_network : {'network': {'id': '825ca470-bb5b-4af5-8e71-98f286bd7218', 'name': 'ctest-vn-96079676', 'tenant_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'project_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37877792', 'ctest-vn-96079676'], 'port_security_enabled': True, 'description': ''}}
2026-03-02 02:09:11,019 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b0e1223-ff69-463e-b7b2-b557a946dae4', 'name': '', 'tenant_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'network_id': '825ca470-bb5b-4af5-8e71-98f286bd7218', 'ip_version': 4, 'cidr': '143.123.50.64/26', 'allocation_pools': [{'start': '143.123.50.66', 'end': '143.123.50.126'}], 'gateway_ip': '143.123.50.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.123.50.66', 'tags': [], 'project_id': 'cfde915d629a4dedbe84eb3709b8cec8'}}
2026-03-02 02:09:11,037 - INFO - Created VN ctest-vn-96079676
2026-03-02 02:09:11,089 - DEBUG - VN ctest-vn-96079676 UUID is 825ca470-bb5b-4af5-8e71-98f286bd7218
2026-03-02 02:09:11,204 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-23021284, 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-37877792:ctest-vn-96079676, 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-02 02:09:11,498 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '41dc294d-94b0-4ddc-b2e4-5f36657ae334', 'name': 'ctest-vn-23021284', 'tenant_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'project_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e1bd2110-8e2e-481d-ba09-0bd9e5535d18'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37877792', 'ctest-vn-23021284'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37877792', 'ctest-policy-allow-all-20252682']], 'subnet_ipam': [{'subnet_cidr': '26.16.6.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-02 02:09:11,731 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '825ca470-bb5b-4af5-8e71-98f286bd7218', 'name': 'ctest-vn-96079676', 'tenant_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'project_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4b0e1223-ff69-463e-b7b2-b557a946dae4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37877792', 'ctest-vn-96079676'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37877792', 'ctest-policy-allow-all-20252682']], 'subnet_ipam': [{'subnet_cidr': '143.123.50.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-02 02:09:11,889 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-02 02:09:12,224 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-02 02:09:12,255 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b54b7cb7-eae6-4368-ae34-de2688c65f9c
2026-03-02 02:09:12,267 - DEBUG - Requesting: http://10.0.0.249:8082/project/cfde915d-629a-4ded-be84-eb3709b8cec8
2026-03-02 02:09:12,338 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/41dc294d-94b0-4ddc-b2e4-5f36657ae334
2026-03-02 02:09:12,349 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/41dc294d-94b0-4ddc-b2e4-5f36657ae334
2026-03-02 02:09:12,358 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0b08092f-fcfd-4770-a729-4b44e2d5e52f
2026-03-02 02:09:12,365 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0b08092f-fcfd-4770-a729-4b44e2d5e52f
2026-03-02 02:09:12,373 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/23de06ea-d2ad-4e12-be1d-8e1578f9ad82
2026-03-02 02:09:12,381 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-02 02:09:12,381 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/41dc294d-94b0-4ddc-b2e4-5f36657ae334
2026-03-02 02:09:12,390 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0b08092f-fcfd-4770-a729-4b44e2d5e52f
2026-03-02 02:09:12,404 - INFO - Verified VN network id 11 for VN 41dc294d-94b0-4ddc-b2e4-5f36657ae334
2026-03-02 02:09:12,404 - INFO - Verifications in API Server for VN ctest-vn-23021284 passed
2026-03-02 02:09:12,404 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/41dc294d-94b0-4ddc-b2e4-5f36657ae334
2026-03-02 02:09:12,413 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0b08092f-fcfd-4770-a729-4b44e2d5e52f
2026-03-02 02:09:12,420 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0b08092f-fcfd-4770-a729-4b44e2d5e52f
2026-03-02 02:09:12,426 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/23de06ea-d2ad-4e12-be1d-8e1578f9ad82
2026-03-02 02:09:12,438 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-23021284', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37877792', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4745713520525463004', 'uuid-lslong': '12890532720676627252'}, 'enable': 'true', 'created': '2026-03-02T02:09:10', 'last-modified': '2026-03-02T02:09:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.967391'}
2026-03-02 02:09:12,444 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-02 02:09:12,444 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23021284 passed
2026-03-02 02:09:12,444 - DEBUG - ====Verifying policy data for ctest-vn-23021284 in API_Server ======
2026-03-02 02:09:12,444 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-02 02:09:12,450 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b54b7cb7-eae6-4368-ae34-de2688c65f9c
2026-03-02 02:09:12,461 - DEBUG - Requesting: http://10.0.0.249:8082/project/cfde915d-629a-4ded-be84-eb3709b8cec8
2026-03-02 02:09:12,539 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/41dc294d-94b0-4ddc-b2e4-5f36657ae334
2026-03-02 02:09:12,550 - DEBUG - ==>Verifying data for policy with id: 207d2ee1-1be9-4ead-afa7-b14cb2c52643, fqn: ['default-domain', 'ctest-TestBasicPolicy-37877792', 'ctest-policy-allow-all-20252682']
2026-03-02 02:09:12,550 - INFO - VN ctest-vn-23021284 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-02 02:09:12,550 - DEBUG - Verifying the vn in opserver
2026-03-02 02:09:12,550 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-23021284 virtual network link through opserver 10.0.0.249
2026-03-02 02:09:12,551 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-03-02 02:09:12,887 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-03-02 02:09:12,951 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-23021284', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-23021284?flat'}
2026-03-02 02:09:12,951 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-23021284 is found in opserver
2026-03-02 02:09:12,961 - DEBUG - Do not have enough data to verify VN in agent
2026-03-02 02:09:12,966 - DEBUG - VRF ids for VN ctest-vn-23021284: {}
2026-03-02 02:09:12,966 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-02 02:09:12,971 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b54b7cb7-eae6-4368-ae34-de2688c65f9c
2026-03-02 02:09:12,982 - DEBUG - Requesting: http://10.0.0.249:8082/project/cfde915d-629a-4ded-be84-eb3709b8cec8
2026-03-02 02:09:13,053 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/825ca470-bb5b-4af5-8e71-98f286bd7218
2026-03-02 02:09:13,067 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/825ca470-bb5b-4af5-8e71-98f286bd7218
2026-03-02 02:09:13,080 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8aa769b4-425f-402b-9660-6a30e4da7380
2026-03-02 02:09:13,090 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8aa769b4-425f-402b-9660-6a30e4da7380
2026-03-02 02:09:13,099 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/11616c0e-02d3-4e77-8887-6e41e0b3754e
2026-03-02 02:09:13,107 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-02 02:09:13,107 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/825ca470-bb5b-4af5-8e71-98f286bd7218
2026-03-02 02:09:13,116 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8aa769b4-425f-402b-9660-6a30e4da7380
2026-03-02 02:09:13,131 - INFO - Verified VN network id 12 for VN 825ca470-bb5b-4af5-8e71-98f286bd7218
2026-03-02 02:09:13,131 - INFO - Verifications in API Server for VN ctest-vn-96079676 passed
2026-03-02 02:09:13,131 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/825ca470-bb5b-4af5-8e71-98f286bd7218
2026-03-02 02:09:13,142 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8aa769b4-425f-402b-9660-6a30e4da7380
2026-03-02 02:09:13,151 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8aa769b4-425f-402b-9660-6a30e4da7380
2026-03-02 02:09:13,159 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/11616c0e-02d3-4e77-8887-6e41e0b3754e
2026-03-02 02:09:13,176 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-96079676', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37877792', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9393563726874626805', 'uuid-lslong': '10264153193164141080'}, 'enable': 'true', 'created': '2026-03-02T02:09:10', 'last-modified': '2026-03-02T02:09:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.468731'}
2026-03-02 02:09:13,183 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-02 02:09:13,183 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96079676 passed
2026-03-02 02:09:13,183 - DEBUG - ====Verifying policy data for ctest-vn-96079676 in API_Server ======
2026-03-02 02:09:13,183 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-02 02:09:13,191 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b54b7cb7-eae6-4368-ae34-de2688c65f9c
2026-03-02 02:09:13,206 - DEBUG - Requesting: http://10.0.0.249:8082/project/cfde915d-629a-4ded-be84-eb3709b8cec8
2026-03-02 02:09:13,277 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/825ca470-bb5b-4af5-8e71-98f286bd7218
2026-03-02 02:09:13,287 - DEBUG - ==>Verifying data for policy with id: 207d2ee1-1be9-4ead-afa7-b14cb2c52643, fqn: ['default-domain', 'ctest-TestBasicPolicy-37877792', 'ctest-policy-allow-all-20252682']
2026-03-02 02:09:13,287 - INFO - VN ctest-vn-96079676 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-02 02:09:13,287 - DEBUG - Verifying the vn in opserver
2026-03-02 02:09:13,287 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-96079676 virtual network link through opserver 10.0.0.249
2026-03-02 02:09:13,287 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-03-02 02:09:13,297 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-96079676', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-96079676?flat'}
2026-03-02 02:09:13,297 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-96079676 is found in opserver
2026-03-02 02:09:13,307 - DEBUG - Do not have enough data to verify VN in agent
2026-03-02 02:09:13,311 - DEBUG - VRF ids for VN ctest-vn-96079676: {}
2026-03-02 02:09:13,374 - DEBUG - Services list from nova: [