2026-02-19 16:50:53,306 - INFO - Domain Default found not creating
2026-02-19 16:50:53,548 - INFO - Project ctest-TestBasicPolicy-73404616 not found, creating it
2026-02-19 16:50:54,091 - INFO - Created Project:ctest-TestBasicPolicy-73404616, ID : f7f5d81d-2cfd-48d1-8ffd-41eaa0cf2516
2026-02-19 16:50:56,011 - INFO - ================================================================================
2026-02-19 16:50:56,011 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-19 16:50:56,011 - 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-19 16:50:56,333 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-02-19 16:50:56,333 - INFO - Initial checks done. Running the testcase now
2026-02-19 16:50:56,333 - INFO -
2026-02-19 16:50:57,217 - DEBUG - Response for create_network : {'network': {'id': 'd7de20f3-60d4-4516-ae27-058a5fef0033', 'name': 'ctest-vn-74637396', 'tenant_id': 'f7f5d81d2cfd48d18ffd41eaa0cf2516', 'project_id': 'f7f5d81d2cfd48d18ffd41eaa0cf2516', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73404616', 'ctest-vn-74637396'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 16:50:57,445 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b422ba71-5f27-4015-bf3a-58a5df4284a5', 'name': '', 'tenant_id': 'f7f5d81d2cfd48d18ffd41eaa0cf2516', 'network_id': 'd7de20f3-60d4-4516-ae27-058a5fef0033', 'ip_version': 4, 'cidr': '92.137.217.128/26', 'allocation_pools': [{'start': '92.137.217.130', 'end': '92.137.217.190'}], 'gateway_ip': '92.137.217.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.137.217.130', 'tags': [], 'project_id': 'f7f5d81d2cfd48d18ffd41eaa0cf2516'}}
2026-02-19 16:50:57,471 - INFO - Created VN ctest-vn-74637396
2026-02-19 16:50:57,527 - DEBUG - VN ctest-vn-74637396 UUID is d7de20f3-60d4-4516-ae27-058a5fef0033
2026-02-19 16:50:57,948 - DEBUG - Response for create_network : {'network': {'id': 'cf59a629-f411-4dc3-92e9-5dc7b3618924', 'name': 'ctest-vn-22421624', 'tenant_id': 'f7f5d81d2cfd48d18ffd41eaa0cf2516', 'project_id': 'f7f5d81d2cfd48d18ffd41eaa0cf2516', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73404616', 'ctest-vn-22421624'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 16:50:58,145 - DEBUG - Response for create_subnet : {'subnet': {'id': '61b1d2d1-5dc2-4ee0-b6f3-64a3d149f8f1', 'name': '', 'tenant_id': 'f7f5d81d2cfd48d18ffd41eaa0cf2516', 'network_id': 'cf59a629-f411-4dc3-92e9-5dc7b3618924', 'ip_version': 4, 'cidr': '18.3.196.128/26', 'allocation_pools': [{'start': '18.3.196.130', 'end': '18.3.196.190'}], 'gateway_ip': '18.3.196.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.3.196.130', 'tags': [], 'project_id': 'f7f5d81d2cfd48d18ffd41eaa0cf2516'}}
2026-02-19 16:50:58,167 - INFO - Created VN ctest-vn-22421624
2026-02-19 16:50:58,223 - DEBUG - VN ctest-vn-22421624 UUID is cf59a629-f411-4dc3-92e9-5dc7b3618924
2026-02-19 16:50:58,378 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73404616:ctest-vn-74637396, 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-73404616:ctest-vn-22421624, 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-19 16:50:58,715 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd7de20f3-60d4-4516-ae27-058a5fef0033', 'name': 'ctest-vn-74637396', 'tenant_id': 'f7f5d81d2cfd48d18ffd41eaa0cf2516', 'project_id': 'f7f5d81d2cfd48d18ffd41eaa0cf2516', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b422ba71-5f27-4015-bf3a-58a5df4284a5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73404616', 'ctest-vn-74637396'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73404616', 'ctest-policy-allow-all-17639920']], 'subnet_ipam': [{'subnet_cidr': '92.137.217.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 16:50:58,993 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf59a629-f411-4dc3-92e9-5dc7b3618924', 'name': 'ctest-vn-22421624', 'tenant_id': 'f7f5d81d2cfd48d18ffd41eaa0cf2516', 'project_id': 'f7f5d81d2cfd48d18ffd41eaa0cf2516', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['61b1d2d1-5dc2-4ee0-b6f3-64a3d149f8f1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73404616', 'ctest-vn-22421624'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73404616', 'ctest-policy-allow-all-17639920']], 'subnet_ipam': [{'subnet_cidr': '18.3.196.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 16:50:59,163 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-19 16:50:59,472 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-19 16:50:59,523 - DEBUG - Requesting: http://10.0.0.50:8082/domain/677a5200-3f8a-4e3a-b585-3b0c2b7dd878
2026-02-19 16:50:59,541 - DEBUG - Requesting: http://10.0.0.50:8082/project/f7f5d81d-2cfd-48d1-8ffd-41eaa0cf2516
2026-02-19 16:50:59,644 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d7de20f3-60d4-4516-ae27-058a5fef0033
2026-02-19 16:50:59,665 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d7de20f3-60d4-4516-ae27-058a5fef0033
2026-02-19 16:50:59,687 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/389e16f8-a5b5-4eb8-906a-88779854c118
2026-02-19 16:50:59,704 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/389e16f8-a5b5-4eb8-906a-88779854c118
2026-02-19 16:50:59,716 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9b9692f5-86be-4c55-a851-727f44f89986
2026-02-19 16:50:59,729 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 16:50:59,729 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d7de20f3-60d4-4516-ae27-058a5fef0033
2026-02-19 16:50:59,750 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/389e16f8-a5b5-4eb8-906a-88779854c118
2026-02-19 16:50:59,788 - INFO - Verified VN network id 9 for VN d7de20f3-60d4-4516-ae27-058a5fef0033
2026-02-19 16:50:59,788 - INFO - Verifications in API Server for VN ctest-vn-74637396 passed
2026-02-19 16:50:59,788 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d7de20f3-60d4-4516-ae27-058a5fef0033
2026-02-19 16:50:59,803 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/389e16f8-a5b5-4eb8-906a-88779854c118
2026-02-19 16:50:59,816 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/389e16f8-a5b5-4eb8-906a-88779854c118
2026-02-19 16:50:59,829 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9b9692f5-86be-4c55-a851-727f44f89986
2026-02-19 16:50:59,857 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73404616:ctest-vn-74637396', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73404616', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15554906392657937686', 'uuid-lslong': '12549004978564300851'}, 'enable': 'true', 'created': '2026-02-19T16:50:57', 'last-modified': '2026-02-19T16:50:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.166606'}
2026-02-19 16:50:59,875 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 16:50:59,876 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74637396 passed
2026-02-19 16:50:59,876 - DEBUG - ====Verifying policy data for ctest-vn-74637396 in API_Server ======
2026-02-19 16:50:59,877 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-19 16:50:59,895 - DEBUG - Requesting: http://10.0.0.50:8082/domain/677a5200-3f8a-4e3a-b585-3b0c2b7dd878
2026-02-19 16:50:59,919 - DEBUG - Requesting: http://10.0.0.50:8082/project/f7f5d81d-2cfd-48d1-8ffd-41eaa0cf2516
2026-02-19 16:51:00,006 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d7de20f3-60d4-4516-ae27-058a5fef0033
2026-02-19 16:51:00,026 - DEBUG - ==>Verifying data for policy with id: 50c39e48-d329-4952-97b9-94140c74eb18, fqn: ['default-domain', 'ctest-TestBasicPolicy-73404616', 'ctest-policy-allow-all-17639920']
2026-02-19 16:51:00,026 - INFO - VN ctest-vn-74637396 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 16:51:00,027 - DEBUG - Verifying the vn in opserver
2026-02-19 16:51:00,027 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73404616:ctest-vn-74637396 virtual network link through opserver 10.0.0.50
2026-02-19 16:51:00,027 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-19 16:51:00,331 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-19 16:51:00,423 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73404616:ctest-vn-74637396', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73404616:ctest-vn-74637396?flat'}
2026-02-19 16:51:00,423 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73404616:ctest-vn-74637396 is found in opserver
2026-02-19 16:51:00,437 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 16:51:00,442 - DEBUG - VRF ids for VN ctest-vn-74637396: {}
2026-02-19 16:51:00,442 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-19 16:51:00,450 - DEBUG - Requesting: http://10.0.0.50:8082/domain/677a5200-3f8a-4e3a-b585-3b0c2b7dd878
2026-02-19 16:51:00,471 - DEBUG - Requesting: http://10.0.0.50:8082/project/f7f5d81d-2cfd-48d1-8ffd-41eaa0cf2516
2026-02-19 16:51:00,571 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf59a629-f411-4dc3-92e9-5dc7b3618924
2026-02-19 16:51:00,594 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf59a629-f411-4dc3-92e9-5dc7b3618924
2026-02-19 16:51:00,611 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d83719ae-8d2f-4578-89d7-3eb791c247d6
2026-02-19 16:51:00,633 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d83719ae-8d2f-4578-89d7-3eb791c247d6
2026-02-19 16:51:00,650 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2ad9e188-332e-4ab4-a5c8-d4d80093a43d
2026-02-19 16:51:00,666 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 16:51:00,666 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf59a629-f411-4dc3-92e9-5dc7b3618924
2026-02-19 16:51:00,680 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d83719ae-8d2f-4578-89d7-3eb791c247d6
2026-02-19 16:51:00,698 - INFO - Verified VN network id 10 for VN cf59a629-f411-4dc3-92e9-5dc7b3618924
2026-02-19 16:51:00,698 - INFO - Verifications in API Server for VN ctest-vn-22421624 passed
2026-02-19 16:51:00,699 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf59a629-f411-4dc3-92e9-5dc7b3618924
2026-02-19 16:51:00,718 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d83719ae-8d2f-4578-89d7-3eb791c247d6
2026-02-19 16:51:00,727 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d83719ae-8d2f-4578-89d7-3eb791c247d6
2026-02-19 16:51:00,736 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2ad9e188-332e-4ab4-a5c8-d4d80093a43d
2026-02-19 16:51:00,750 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73404616:ctest-vn-22421624', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73404616', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14941155937896975811', 'uuid-lslong': '10586095511400450340'}, 'enable': 'true', 'created': '2026-02-19T16:50:57', 'last-modified': '2026-02-19T16:50:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.794916'}
2026-02-19 16:51:00,757 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 16:51:00,757 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22421624 passed
2026-02-19 16:51:00,757 - DEBUG - ====Verifying policy data for ctest-vn-22421624 in API_Server ======
2026-02-19 16:51:00,757 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-19 16:51:00,764 - DEBUG - Requesting: http://10.0.0.50:8082/domain/677a5200-3f8a-4e3a-b585-3b0c2b7dd878
2026-02-19 16:51:00,775 - DEBUG - Requesting: http://10.0.0.50:8082/project/f7f5d81d-2cfd-48d1-8ffd-41eaa0cf2516
2026-02-19 16:51:00,863 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf59a629-f411-4dc3-92e9-5dc7b3618924
2026-02-19 16:51:00,881 - DEBUG - ==>Verifying data for policy with id: 50c39e48-d329-4952-97b9-94140c74eb18, fqn: ['default-domain', 'ctest-TestBasicPolicy-73404616', 'ctest-policy-allow-all-17639920']
2026-02-19 16:51:00,881 - INFO - VN ctest-vn-22421624 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 16:51:00,882 - DEBUG - Verifying the vn in opserver
2026-02-19 16:51:00,882 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73404616:ctest-vn-22421624 virtual network link through opserver 10.0.0.50
2026-02-19 16:51:00,882 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-19 16:51:00,897 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73404616:ctest-vn-22421624', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73404616:ctest-vn-22421624?flat'}
2026-02-19 16:51:00,897 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73404616:ctest-vn-22421624 is found in opserver
2026-02-19 16:51:00,911 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 16:51:00,918 - DEBUG - VRF ids for VN ctest-vn-22421624: {}
2026-02-19 16:51:00,993 - DEBUG - Services list from nova: [