2026-06-01 03:01:08,571 - INFO - Domain Default found not creating
2026-06-01 03:01:08,793 - INFO - Project ctest-TestBasicPolicy-97632874 not found, creating it
2026-06-01 03:01:09,317 - INFO - Created Project:ctest-TestBasicPolicy-97632874, ID : 8c67621c-8b3c-4570-b22b-5ecfb274540f
2026-06-01 03:01:11,057 - INFO - ================================================================================
2026-06-01 03:01:11,057 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-01 03:01:11,057 - 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-06-01 03:01:11,323 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-06-01 03:01:11,324 - INFO - Initial checks done. Running the testcase now
2026-06-01 03:01:11,324 - INFO -
2026-06-01 03:01:11,979 - DEBUG - Response for create_network : {'network': {'id': '7d26bcbd-648b-45d0-9bf5-497d2d231fe6', 'name': 'ctest-vn-11692340', 'tenant_id': '8c67621c8b3c4570b22b5ecfb274540f', 'project_id': '8c67621c8b3c4570b22b5ecfb274540f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97632874', 'ctest-vn-11692340'], 'port_security_enabled': True, 'description': ''}}
2026-06-01 03:01:12,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f31c002-52aa-40a8-b4f8-c4a4c78f1d1f', 'name': '', 'tenant_id': '8c67621c8b3c4570b22b5ecfb274540f', 'network_id': '7d26bcbd-648b-45d0-9bf5-497d2d231fe6', 'ip_version': 4, 'cidr': '166.76.56.128/26', 'allocation_pools': [{'start': '166.76.56.130', 'end': '166.76.56.190'}], 'gateway_ip': '166.76.56.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.76.56.130', 'tags': [], 'project_id': '8c67621c8b3c4570b22b5ecfb274540f'}}
2026-06-01 03:01:12,248 - INFO - Created VN ctest-vn-11692340
2026-06-01 03:01:12,303 - DEBUG - VN ctest-vn-11692340 UUID is 7d26bcbd-648b-45d0-9bf5-497d2d231fe6
2026-06-01 03:01:12,660 - DEBUG - Response for create_network : {'network': {'id': 'ee87bb7d-f11a-4744-9c36-2af2d7401f8e', 'name': 'ctest-vn-09732825', 'tenant_id': '8c67621c8b3c4570b22b5ecfb274540f', 'project_id': '8c67621c8b3c4570b22b5ecfb274540f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97632874', 'ctest-vn-09732825'], 'port_security_enabled': True, 'description': ''}}
2026-06-01 03:01:12,841 - DEBUG - Response for create_subnet : {'subnet': {'id': '4606ad3e-9224-4eb6-8f0c-3a81b5e1f2ea', 'name': '', 'tenant_id': '8c67621c8b3c4570b22b5ecfb274540f', 'network_id': 'ee87bb7d-f11a-4744-9c36-2af2d7401f8e', 'ip_version': 4, 'cidr': '6.205.188.128/26', 'allocation_pools': [{'start': '6.205.188.130', 'end': '6.205.188.190'}], 'gateway_ip': '6.205.188.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.205.188.130', 'tags': [], 'project_id': '8c67621c8b3c4570b22b5ecfb274540f'}}
2026-06-01 03:01:12,861 - INFO - Created VN ctest-vn-09732825
2026-06-01 03:01:12,915 - DEBUG - VN ctest-vn-09732825 UUID is ee87bb7d-f11a-4744-9c36-2af2d7401f8e
2026-06-01 03:01:13,046 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-11692340, 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-97632874:ctest-vn-09732825, 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-06-01 03:01:13,392 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d26bcbd-648b-45d0-9bf5-497d2d231fe6', 'name': 'ctest-vn-11692340', 'tenant_id': '8c67621c8b3c4570b22b5ecfb274540f', 'project_id': '8c67621c8b3c4570b22b5ecfb274540f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4f31c002-52aa-40a8-b4f8-c4a4c78f1d1f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97632874', 'ctest-vn-11692340'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97632874', 'ctest-policy-allow-all-59048416']], 'subnet_ipam': [{'subnet_cidr': '166.76.56.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-01 03:01:13,645 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee87bb7d-f11a-4744-9c36-2af2d7401f8e', 'name': 'ctest-vn-09732825', 'tenant_id': '8c67621c8b3c4570b22b5ecfb274540f', 'project_id': '8c67621c8b3c4570b22b5ecfb274540f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4606ad3e-9224-4eb6-8f0c-3a81b5e1f2ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97632874', 'ctest-vn-09732825'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97632874', 'ctest-policy-allow-all-59048416']], 'subnet_ipam': [{'subnet_cidr': '6.205.188.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-01 03:01:13,819 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-01 03:01:14,123 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-01 03:01:14,168 - DEBUG - Requesting: http://10.0.0.38:8082/domain/22450c7e-77f4-484e-8b9f-a3508b9b2d4e
2026-06-01 03:01:14,189 - DEBUG - Requesting: http://10.0.0.38:8082/project/8c67621c-8b3c-4570-b22b-5ecfb274540f
2026-06-01 03:01:14,272 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d26bcbd-648b-45d0-9bf5-497d2d231fe6
2026-06-01 03:01:14,287 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d26bcbd-648b-45d0-9bf5-497d2d231fe6
2026-06-01 03:01:14,298 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e3f2ffd8-1b9f-4f06-a06b-af74d25e1b8e
2026-06-01 03:01:14,309 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e3f2ffd8-1b9f-4f06-a06b-af74d25e1b8e
2026-06-01 03:01:14,318 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3e0821e6-7439-4919-8ad5-567690a2ef0a
2026-06-01 03:01:14,327 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-01 03:01:14,327 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d26bcbd-648b-45d0-9bf5-497d2d231fe6
2026-06-01 03:01:14,337 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e3f2ffd8-1b9f-4f06-a06b-af74d25e1b8e
2026-06-01 03:01:14,354 - INFO - Verified VN network id 11 for VN 7d26bcbd-648b-45d0-9bf5-497d2d231fe6
2026-06-01 03:01:14,354 - INFO - Verifications in API Server for VN ctest-vn-11692340 passed
2026-06-01 03:01:14,354 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d26bcbd-648b-45d0-9bf5-497d2d231fe6
2026-06-01 03:01:14,367 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e3f2ffd8-1b9f-4f06-a06b-af74d25e1b8e
2026-06-01 03:01:14,374 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e3f2ffd8-1b9f-4f06-a06b-af74d25e1b8e
2026-06-01 03:01:14,381 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3e0821e6-7439-4919-8ad5-567690a2ef0a
2026-06-01 03:01:14,395 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-11692340', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97632874', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9018102825477686736', 'uuid-lslong': '11237969247149957094'}, 'enable': 'true', 'created': '2026-06-01T03:01:11', 'last-modified': '2026-06-01T03:01:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.023765'}
2026-06-01 03:01:14,402 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-01 03:01:14,402 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11692340 passed
2026-06-01 03:01:14,402 - DEBUG - ====Verifying policy data for ctest-vn-11692340 in API_Server ======
2026-06-01 03:01:14,402 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-01 03:01:14,409 - DEBUG - Requesting: http://10.0.0.38:8082/domain/22450c7e-77f4-484e-8b9f-a3508b9b2d4e
2026-06-01 03:01:14,421 - DEBUG - Requesting: http://10.0.0.38:8082/project/8c67621c-8b3c-4570-b22b-5ecfb274540f
2026-06-01 03:01:14,502 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d26bcbd-648b-45d0-9bf5-497d2d231fe6
2026-06-01 03:01:14,513 - DEBUG - ==>Verifying data for policy with id: af7b3a8d-f67d-427d-bd35-2f61cca149e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-97632874', 'ctest-policy-allow-all-59048416']
2026-06-01 03:01:14,513 - INFO - VN ctest-vn-11692340 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-01 03:01:14,513 - DEBUG - Verifying the vn in opserver
2026-06-01 03:01:14,513 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-11692340 virtual network link through opserver 10.0.0.38
2026-06-01 03:01:14,513 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-01 03:01:14,834 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-01 03:01:14,928 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-11692340', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-11692340?flat'}
2026-06-01 03:01:14,929 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-11692340 is found in opserver
2026-06-01 03:01:14,942 - DEBUG - Do not have enough data to verify VN in agent
2026-06-01 03:01:14,948 - DEBUG - VRF ids for VN ctest-vn-11692340: {}
2026-06-01 03:01:14,948 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-01 03:01:14,955 - DEBUG - Requesting: http://10.0.0.38:8082/domain/22450c7e-77f4-484e-8b9f-a3508b9b2d4e
2026-06-01 03:01:14,967 - DEBUG - Requesting: http://10.0.0.38:8082/project/8c67621c-8b3c-4570-b22b-5ecfb274540f
2026-06-01 03:01:15,056 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee87bb7d-f11a-4744-9c36-2af2d7401f8e
2026-06-01 03:01:15,072 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee87bb7d-f11a-4744-9c36-2af2d7401f8e
2026-06-01 03:01:15,091 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/602d257c-e6b2-492b-b9c8-1620c244d864
2026-06-01 03:01:15,103 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/602d257c-e6b2-492b-b9c8-1620c244d864
2026-06-01 03:01:15,115 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a1c475d2-7908-46cc-a999-38793e1ffcbc
2026-06-01 03:01:15,124 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-01 03:01:15,124 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee87bb7d-f11a-4744-9c36-2af2d7401f8e
2026-06-01 03:01:15,135 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/602d257c-e6b2-492b-b9c8-1620c244d864
2026-06-01 03:01:15,157 - INFO - Verified VN network id 12 for VN ee87bb7d-f11a-4744-9c36-2af2d7401f8e
2026-06-01 03:01:15,157 - INFO - Verifications in API Server for VN ctest-vn-09732825 passed
2026-06-01 03:01:15,157 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee87bb7d-f11a-4744-9c36-2af2d7401f8e
2026-06-01 03:01:15,172 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/602d257c-e6b2-492b-b9c8-1620c244d864
2026-06-01 03:01:15,183 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/602d257c-e6b2-492b-b9c8-1620c244d864
2026-06-01 03:01:15,192 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a1c475d2-7908-46cc-a999-38793e1ffcbc
2026-06-01 03:01:15,210 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-09732825', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97632874', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17187912652473124676', 'uuid-lslong': '11256231541140889486'}, 'enable': 'true', 'created': '2026-06-01T03:01:12', 'last-modified': '2026-06-01T03:01:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.588615'}
2026-06-01 03:01:15,217 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-01 03:01:15,218 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09732825 passed
2026-06-01 03:01:15,218 - DEBUG - ====Verifying policy data for ctest-vn-09732825 in API_Server ======
2026-06-01 03:01:15,218 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-01 03:01:15,226 - DEBUG - Requesting: http://10.0.0.38:8082/domain/22450c7e-77f4-484e-8b9f-a3508b9b2d4e
2026-06-01 03:01:15,241 - DEBUG - Requesting: http://10.0.0.38:8082/project/8c67621c-8b3c-4570-b22b-5ecfb274540f
2026-06-01 03:01:15,324 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ee87bb7d-f11a-4744-9c36-2af2d7401f8e
2026-06-01 03:01:15,336 - DEBUG - ==>Verifying data for policy with id: af7b3a8d-f67d-427d-bd35-2f61cca149e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-97632874', 'ctest-policy-allow-all-59048416']
2026-06-01 03:01:15,336 - INFO - VN ctest-vn-09732825 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-01 03:01:15,336 - DEBUG - Verifying the vn in opserver
2026-06-01 03:01:15,336 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-09732825 virtual network link through opserver 10.0.0.38
2026-06-01 03:01:15,337 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-01 03:01:15,352 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-09732825', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-09732825?flat'}
2026-06-01 03:01:15,352 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97632874:ctest-vn-09732825 is found in opserver
2026-06-01 03:01:15,364 - DEBUG - Do not have enough data to verify VN in agent
2026-06-01 03:01:15,371 - DEBUG - VRF ids for VN ctest-vn-09732825: {}
2026-06-01 03:01:15,458 - DEBUG - Services list from nova: [