2026-03-05 09:04:07,845 - INFO - Domain Default found not creating
2026-03-05 09:04:08,030 - INFO - Project ctest-TestBasicPolicy-76353999 not found, creating it
2026-03-05 09:04:08,527 - INFO - Created Project:ctest-TestBasicPolicy-76353999, ID : 270e9b15-6665-4288-b25e-30f0e72c4484
2026-03-05 09:04:10,061 - INFO - ================================================================================
2026-03-05 09:04:10,062 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-05 09:04:10,062 - 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-05 09:04:10,321 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-03-05 09:04:10,321 - INFO - Initial checks done. Running the testcase now
2026-03-05 09:04:10,321 - INFO -
2026-03-05 09:04:10,896 - DEBUG - Response for create_network : {'network': {'id': '9151cef2-235a-4200-a988-445e4e45004d', 'name': 'ctest-vn-38228653', 'tenant_id': '270e9b1566654288b25e30f0e72c4484', 'project_id': '270e9b1566654288b25e30f0e72c4484', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76353999', 'ctest-vn-38228653'], 'port_security_enabled': True, 'description': ''}}
2026-03-05 09:04:11,074 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3f85408-2070-43ce-b0db-d7829e973efd', 'name': '', 'tenant_id': '270e9b1566654288b25e30f0e72c4484', 'network_id': '9151cef2-235a-4200-a988-445e4e45004d', 'ip_version': 4, 'cidr': '188.234.114.0/26', 'allocation_pools': [{'start': '188.234.114.2', 'end': '188.234.114.62'}], 'gateway_ip': '188.234.114.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.234.114.2', 'tags': [], 'project_id': '270e9b1566654288b25e30f0e72c4484'}}
2026-03-05 09:04:11,092 - INFO - Created VN ctest-vn-38228653
2026-03-05 09:04:11,143 - DEBUG - VN ctest-vn-38228653 UUID is 9151cef2-235a-4200-a988-445e4e45004d
2026-03-05 09:04:11,441 - DEBUG - Response for create_network : {'network': {'id': '321bae53-7c8d-414d-b3af-9254ed74da60', 'name': 'ctest-vn-34229074', 'tenant_id': '270e9b1566654288b25e30f0e72c4484', 'project_id': '270e9b1566654288b25e30f0e72c4484', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76353999', 'ctest-vn-34229074'], 'port_security_enabled': True, 'description': ''}}
2026-03-05 09:04:11,600 - DEBUG - Response for create_subnet : {'subnet': {'id': '66dfb927-0c67-4e99-99b6-54821ea1971c', 'name': '', 'tenant_id': '270e9b1566654288b25e30f0e72c4484', 'network_id': '321bae53-7c8d-414d-b3af-9254ed74da60', 'ip_version': 4, 'cidr': '154.46.210.192/26', 'allocation_pools': [{'start': '154.46.210.194', 'end': '154.46.210.254'}], 'gateway_ip': '154.46.210.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.46.210.194', 'tags': [], 'project_id': '270e9b1566654288b25e30f0e72c4484'}}
2026-03-05 09:04:11,618 - INFO - Created VN ctest-vn-34229074
2026-03-05 09:04:11,671 - DEBUG - VN ctest-vn-34229074 UUID is 321bae53-7c8d-414d-b3af-9254ed74da60
2026-03-05 09:04:11,790 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76353999:ctest-vn-38228653, 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-76353999:ctest-vn-34229074, 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-05 09:04:12,086 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9151cef2-235a-4200-a988-445e4e45004d', 'name': 'ctest-vn-38228653', 'tenant_id': '270e9b1566654288b25e30f0e72c4484', 'project_id': '270e9b1566654288b25e30f0e72c4484', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e3f85408-2070-43ce-b0db-d7829e973efd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76353999', 'ctest-vn-38228653'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76353999', 'ctest-policy-allow-all-44586630']], 'subnet_ipam': [{'subnet_cidr': '188.234.114.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-05 09:04:12,321 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '321bae53-7c8d-414d-b3af-9254ed74da60', 'name': 'ctest-vn-34229074', 'tenant_id': '270e9b1566654288b25e30f0e72c4484', 'project_id': '270e9b1566654288b25e30f0e72c4484', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['66dfb927-0c67-4e99-99b6-54821ea1971c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76353999', 'ctest-vn-34229074'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76353999', 'ctest-policy-allow-all-44586630']], 'subnet_ipam': [{'subnet_cidr': '154.46.210.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-05 09:04:12,487 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-05 09:04:12,790 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-05 09:04:12,822 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f33196d4-65e2-4442-bb7b-daa83caa4dfe
2026-03-05 09:04:12,835 - DEBUG - Requesting: http://10.0.0.33:8082/project/270e9b15-6665-4288-b25e-30f0e72c4484
2026-03-05 09:04:12,909 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9151cef2-235a-4200-a988-445e4e45004d
2026-03-05 09:04:12,920 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9151cef2-235a-4200-a988-445e4e45004d
2026-03-05 09:04:12,929 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c21fc3e3-ad74-408a-840f-06b018253217
2026-03-05 09:04:12,936 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c21fc3e3-ad74-408a-840f-06b018253217
2026-03-05 09:04:12,943 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/69b757e2-6310-43f1-bc68-65ac55081bf7
2026-03-05 09:04:12,950 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-05 09:04:12,950 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9151cef2-235a-4200-a988-445e4e45004d
2026-03-05 09:04:12,961 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c21fc3e3-ad74-408a-840f-06b018253217
2026-03-05 09:04:12,977 - INFO - Verified VN network id 11 for VN 9151cef2-235a-4200-a988-445e4e45004d
2026-03-05 09:04:12,977 - INFO - Verifications in API Server for VN ctest-vn-38228653 passed
2026-03-05 09:04:12,977 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9151cef2-235a-4200-a988-445e4e45004d
2026-03-05 09:04:12,987 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c21fc3e3-ad74-408a-840f-06b018253217
2026-03-05 09:04:12,994 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c21fc3e3-ad74-408a-840f-06b018253217
2026-03-05 09:04:13,001 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/69b757e2-6310-43f1-bc68-65ac55081bf7
2026-03-05 09:04:13,014 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76353999:ctest-vn-38228653', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76353999', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10471378147983639040', 'uuid-lslong': '12216089161073229901'}, 'enable': 'true', 'created': '2026-03-05T09:04:10', 'last-modified': '2026-03-05T09:04:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.949792'}
2026-03-05 09:04:13,019 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-05 09:04:13,019 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38228653 passed
2026-03-05 09:04:13,020 - DEBUG - ====Verifying policy data for ctest-vn-38228653 in API_Server ======
2026-03-05 09:04:13,020 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-05 09:04:13,026 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f33196d4-65e2-4442-bb7b-daa83caa4dfe
2026-03-05 09:04:13,038 - DEBUG - Requesting: http://10.0.0.33:8082/project/270e9b15-6665-4288-b25e-30f0e72c4484
2026-03-05 09:04:13,107 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9151cef2-235a-4200-a988-445e4e45004d
2026-03-05 09:04:13,119 - DEBUG - ==>Verifying data for policy with id: c675d10e-f6a6-4582-a58a-e838ac1aa6c5, fqn: ['default-domain', 'ctest-TestBasicPolicy-76353999', 'ctest-policy-allow-all-44586630']
2026-03-05 09:04:13,119 - INFO - VN ctest-vn-38228653 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-05 09:04:13,119 - DEBUG - Verifying the vn in opserver
2026-03-05 09:04:13,119 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76353999:ctest-vn-38228653 virtual network link through opserver 10.0.0.33
2026-03-05 09:04:13,120 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-05 09:04:13,416 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-05 09:04:13,481 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76353999:ctest-vn-38228653', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76353999:ctest-vn-38228653?flat'}
2026-03-05 09:04:13,481 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76353999:ctest-vn-38228653 is found in opserver
2026-03-05 09:04:13,491 - DEBUG - Do not have enough data to verify VN in agent
2026-03-05 09:04:13,496 - DEBUG - VRF ids for VN ctest-vn-38228653: {}
2026-03-05 09:04:13,496 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-05 09:04:13,503 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f33196d4-65e2-4442-bb7b-daa83caa4dfe
2026-03-05 09:04:13,515 - DEBUG - Requesting: http://10.0.0.33:8082/project/270e9b15-6665-4288-b25e-30f0e72c4484
2026-03-05 09:04:13,594 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/321bae53-7c8d-414d-b3af-9254ed74da60
2026-03-05 09:04:13,605 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/321bae53-7c8d-414d-b3af-9254ed74da60
2026-03-05 09:04:13,614 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dd981497-3c0a-4978-93cc-ffb47047dc3d
2026-03-05 09:04:13,622 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dd981497-3c0a-4978-93cc-ffb47047dc3d
2026-03-05 09:04:13,628 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/86605a96-c643-4350-8ae8-4a0182061b60
2026-03-05 09:04:13,635 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-05 09:04:13,635 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/321bae53-7c8d-414d-b3af-9254ed74da60
2026-03-05 09:04:13,644 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dd981497-3c0a-4978-93cc-ffb47047dc3d
2026-03-05 09:04:13,658 - INFO - Verified VN network id 12 for VN 321bae53-7c8d-414d-b3af-9254ed74da60
2026-03-05 09:04:13,658 - INFO - Verifications in API Server for VN ctest-vn-34229074 passed
2026-03-05 09:04:13,658 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/321bae53-7c8d-414d-b3af-9254ed74da60
2026-03-05 09:04:13,667 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dd981497-3c0a-4978-93cc-ffb47047dc3d
2026-03-05 09:04:13,674 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dd981497-3c0a-4978-93cc-ffb47047dc3d
2026-03-05 09:04:13,684 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/86605a96-c643-4350-8ae8-4a0182061b60
2026-03-05 09:04:13,696 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76353999:ctest-vn-34229074', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76353999', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3610671199862735181', 'uuid-lslong': '12947728347172231776'}, 'enable': 'true', 'created': '2026-03-05T09:04:11', 'last-modified': '2026-03-05T09:04:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.390362'}
2026-03-05 09:04:13,702 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-05 09:04:13,702 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34229074 passed
2026-03-05 09:04:13,702 - DEBUG - ====Verifying policy data for ctest-vn-34229074 in API_Server ======
2026-03-05 09:04:13,702 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-05 09:04:13,710 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f33196d4-65e2-4442-bb7b-daa83caa4dfe
2026-03-05 09:04:13,722 - DEBUG - Requesting: http://10.0.0.33:8082/project/270e9b15-6665-4288-b25e-30f0e72c4484
2026-03-05 09:04:13,792 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/321bae53-7c8d-414d-b3af-9254ed74da60
2026-03-05 09:04:13,801 - DEBUG - ==>Verifying data for policy with id: c675d10e-f6a6-4582-a58a-e838ac1aa6c5, fqn: ['default-domain', 'ctest-TestBasicPolicy-76353999', 'ctest-policy-allow-all-44586630']
2026-03-05 09:04:13,801 - INFO - VN ctest-vn-34229074 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-05 09:04:13,801 - DEBUG - Verifying the vn in opserver
2026-03-05 09:04:13,801 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76353999:ctest-vn-34229074 virtual network link through opserver 10.0.0.33
2026-03-05 09:04:13,802 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-05 09:04:13,812 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76353999:ctest-vn-34229074', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76353999:ctest-vn-34229074?flat'}
2026-03-05 09:04:13,812 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76353999:ctest-vn-34229074 is found in opserver
2026-03-05 09:04:13,824 - DEBUG - Do not have enough data to verify VN in agent
2026-03-05 09:04:13,829 - DEBUG - VRF ids for VN ctest-vn-34229074: {}
2026-03-05 09:04:13,892 - DEBUG - Services list from nova: [