2026-03-17 12:54:02,550 - INFO - Domain Default found not creating
2026-03-17 12:54:02,776 - INFO - Project ctest-TestBasicPolicy-65309457 not found, creating it
2026-03-17 12:54:03,299 - INFO - Created Project:ctest-TestBasicPolicy-65309457, ID : 734d52cf-0bd9-4277-a2f4-95f20297a242
2026-03-17 12:54:04,932 - INFO - ================================================================================
2026-03-17 12:54:04,933 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-17 12:54:04,933 - 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-17 12:54:05,206 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2026-03-17 12:54:05,206 - INFO - Initial checks done. Running the testcase now
2026-03-17 12:54:05,206 - INFO -
2026-03-17 12:54:05,873 - DEBUG - Response for create_network : {'network': {'id': 'b145524c-67d0-41a5-9631-714ceb6d1b51', 'name': 'ctest-vn-92113579', 'tenant_id': '734d52cf0bd94277a2f495f20297a242', 'project_id': '734d52cf0bd94277a2f495f20297a242', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65309457', 'ctest-vn-92113579'], 'port_security_enabled': True, 'description': ''}}
2026-03-17 12:54:06,084 - DEBUG - Response for create_subnet : {'subnet': {'id': '6bdacbc6-b3fe-45c5-8012-53fb7d55f58a', 'name': '', 'tenant_id': '734d52cf0bd94277a2f495f20297a242', 'network_id': 'b145524c-67d0-41a5-9631-714ceb6d1b51', 'ip_version': 4, 'cidr': '7.164.228.128/26', 'allocation_pools': [{'start': '7.164.228.130', 'end': '7.164.228.190'}], 'gateway_ip': '7.164.228.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.164.228.130', 'tags': [], 'project_id': '734d52cf0bd94277a2f495f20297a242'}}
2026-03-17 12:54:06,107 - INFO - Created VN ctest-vn-92113579
2026-03-17 12:54:06,161 - DEBUG - VN ctest-vn-92113579 UUID is b145524c-67d0-41a5-9631-714ceb6d1b51
2026-03-17 12:54:06,531 - DEBUG - Response for create_network : {'network': {'id': '0d1e591c-683f-469c-99f1-b3a73289baf5', 'name': 'ctest-vn-69867413', 'tenant_id': '734d52cf0bd94277a2f495f20297a242', 'project_id': '734d52cf0bd94277a2f495f20297a242', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65309457', 'ctest-vn-69867413'], 'port_security_enabled': True, 'description': ''}}
2026-03-17 12:54:06,766 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfda291b-185b-4bc0-a425-4317058ff8a1', 'name': '', 'tenant_id': '734d52cf0bd94277a2f495f20297a242', 'network_id': '0d1e591c-683f-469c-99f1-b3a73289baf5', 'ip_version': 4, 'cidr': '208.68.62.192/26', 'allocation_pools': [{'start': '208.68.62.194', 'end': '208.68.62.254'}], 'gateway_ip': '208.68.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.68.62.194', 'tags': [], 'project_id': '734d52cf0bd94277a2f495f20297a242'}}
2026-03-17 12:54:06,791 - INFO - Created VN ctest-vn-69867413
2026-03-17 12:54:06,844 - DEBUG - VN ctest-vn-69867413 UUID is 0d1e591c-683f-469c-99f1-b3a73289baf5
2026-03-17 12:54:06,979 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65309457:ctest-vn-92113579, 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-65309457:ctest-vn-69867413, 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-17 12:54:07,303 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b145524c-67d0-41a5-9631-714ceb6d1b51', 'name': 'ctest-vn-92113579', 'tenant_id': '734d52cf0bd94277a2f495f20297a242', 'project_id': '734d52cf0bd94277a2f495f20297a242', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6bdacbc6-b3fe-45c5-8012-53fb7d55f58a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65309457', 'ctest-vn-92113579'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65309457', 'ctest-policy-allow-all-91390479']], 'subnet_ipam': [{'subnet_cidr': '7.164.228.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-17 12:54:07,536 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0d1e591c-683f-469c-99f1-b3a73289baf5', 'name': 'ctest-vn-69867413', 'tenant_id': '734d52cf0bd94277a2f495f20297a242', 'project_id': '734d52cf0bd94277a2f495f20297a242', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dfda291b-185b-4bc0-a425-4317058ff8a1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65309457', 'ctest-vn-69867413'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65309457', 'ctest-policy-allow-all-91390479']], 'subnet_ipam': [{'subnet_cidr': '208.68.62.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-17 12:54:07,704 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-17 12:54:08,007 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-17 12:54:08,049 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ca1867ad-ddd2-4b08-a4e5-2048c59534f7
2026-03-17 12:54:08,062 - DEBUG - Requesting: http://10.0.0.33:8082/project/734d52cf-0bd9-4277-a2f4-95f20297a242
2026-03-17 12:54:08,143 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b145524c-67d0-41a5-9631-714ceb6d1b51
2026-03-17 12:54:08,155 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b145524c-67d0-41a5-9631-714ceb6d1b51
2026-03-17 12:54:08,165 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9000c7e3-7b82-48ed-9f77-0e6709ffbab5
2026-03-17 12:54:08,176 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9000c7e3-7b82-48ed-9f77-0e6709ffbab5
2026-03-17 12:54:08,184 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ce03cf82-9fd0-4097-a836-e58012eb22ef
2026-03-17 12:54:08,191 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-17 12:54:08,191 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b145524c-67d0-41a5-9631-714ceb6d1b51
2026-03-17 12:54:08,201 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9000c7e3-7b82-48ed-9f77-0e6709ffbab5
2026-03-17 12:54:08,219 - INFO - Verified VN network id 11 for VN b145524c-67d0-41a5-9631-714ceb6d1b51
2026-03-17 12:54:08,219 - INFO - Verifications in API Server for VN ctest-vn-92113579 passed
2026-03-17 12:54:08,219 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b145524c-67d0-41a5-9631-714ceb6d1b51
2026-03-17 12:54:08,231 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9000c7e3-7b82-48ed-9f77-0e6709ffbab5
2026-03-17 12:54:08,239 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9000c7e3-7b82-48ed-9f77-0e6709ffbab5
2026-03-17 12:54:08,246 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ce03cf82-9fd0-4097-a836-e58012eb22ef
2026-03-17 12:54:08,259 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65309457:ctest-vn-92113579', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65309457', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12773706406218973605', 'uuid-lslong': '10822555954729261905'}, 'enable': 'true', 'created': '2026-03-17T12:54:05', 'last-modified': '2026-03-17T12:54:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.983980'}
2026-03-17 12:54:08,266 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-17 12:54:08,266 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92113579 passed
2026-03-17 12:54:08,266 - DEBUG - ====Verifying policy data for ctest-vn-92113579 in API_Server ======
2026-03-17 12:54:08,266 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-17 12:54:08,272 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ca1867ad-ddd2-4b08-a4e5-2048c59534f7
2026-03-17 12:54:08,285 - DEBUG - Requesting: http://10.0.0.33:8082/project/734d52cf-0bd9-4277-a2f4-95f20297a242
2026-03-17 12:54:08,360 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b145524c-67d0-41a5-9631-714ceb6d1b51
2026-03-17 12:54:08,370 - DEBUG - ==>Verifying data for policy with id: 7e4cff1d-a49a-427e-9ab2-631031a990cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-65309457', 'ctest-policy-allow-all-91390479']
2026-03-17 12:54:08,370 - INFO - VN ctest-vn-92113579 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-17 12:54:08,370 - DEBUG - Verifying the vn in opserver
2026-03-17 12:54:08,370 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65309457:ctest-vn-92113579 virtual network link through opserver 10.0.0.33
2026-03-17 12:54:08,370 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-17 12:54:08,669 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-17 12:54:08,751 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65309457:ctest-vn-92113579', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65309457:ctest-vn-92113579?flat'}
2026-03-17 12:54:08,752 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65309457:ctest-vn-92113579 is found in opserver
2026-03-17 12:54:08,762 - DEBUG - Do not have enough data to verify VN in agent
2026-03-17 12:54:08,767 - DEBUG - VRF ids for VN ctest-vn-92113579: {}
2026-03-17 12:54:08,767 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-17 12:54:08,774 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ca1867ad-ddd2-4b08-a4e5-2048c59534f7
2026-03-17 12:54:08,786 - DEBUG - Requesting: http://10.0.0.33:8082/project/734d52cf-0bd9-4277-a2f4-95f20297a242
2026-03-17 12:54:08,865 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0d1e591c-683f-469c-99f1-b3a73289baf5
2026-03-17 12:54:08,880 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0d1e591c-683f-469c-99f1-b3a73289baf5
2026-03-17 12:54:08,890 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1576f005-bcb2-480e-b8e9-9308b24d4afd
2026-03-17 12:54:08,924 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1576f005-bcb2-480e-b8e9-9308b24d4afd
2026-03-17 12:54:08,931 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2a9d6489-d0b2-4fac-bae2-db6e2d6a4219
2026-03-17 12:54:08,939 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-17 12:54:08,939 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0d1e591c-683f-469c-99f1-b3a73289baf5
2026-03-17 12:54:08,949 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1576f005-bcb2-480e-b8e9-9308b24d4afd
2026-03-17 12:54:08,968 - INFO - Verified VN network id 12 for VN 0d1e591c-683f-469c-99f1-b3a73289baf5
2026-03-17 12:54:08,968 - INFO - Verifications in API Server for VN ctest-vn-69867413 passed
2026-03-17 12:54:08,968 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0d1e591c-683f-469c-99f1-b3a73289baf5
2026-03-17 12:54:08,981 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1576f005-bcb2-480e-b8e9-9308b24d4afd
2026-03-17 12:54:08,991 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1576f005-bcb2-480e-b8e9-9308b24d4afd
2026-03-17 12:54:09,000 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2a9d6489-d0b2-4fac-bae2-db6e2d6a4219
2026-03-17 12:54:09,040 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65309457:ctest-vn-69867413', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65309457', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '945290950337316508', 'uuid-lslong': '11092844887879039733'}, 'enable': 'true', 'created': '2026-03-17T12:54:06', 'last-modified': '2026-03-17T12:54:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.527734'}
2026-03-17 12:54:09,048 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-17 12:54:09,048 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69867413 passed
2026-03-17 12:54:09,048 - DEBUG - ====Verifying policy data for ctest-vn-69867413 in API_Server ======
2026-03-17 12:54:09,048 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-17 12:54:09,055 - DEBUG - Requesting: http://10.0.0.33:8082/domain/ca1867ad-ddd2-4b08-a4e5-2048c59534f7
2026-03-17 12:54:09,067 - DEBUG - Requesting: http://10.0.0.33:8082/project/734d52cf-0bd9-4277-a2f4-95f20297a242
2026-03-17 12:54:09,138 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0d1e591c-683f-469c-99f1-b3a73289baf5
2026-03-17 12:54:09,148 - DEBUG - ==>Verifying data for policy with id: 7e4cff1d-a49a-427e-9ab2-631031a990cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-65309457', 'ctest-policy-allow-all-91390479']
2026-03-17 12:54:09,148 - INFO - VN ctest-vn-69867413 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-17 12:54:09,148 - DEBUG - Verifying the vn in opserver
2026-03-17 12:54:09,148 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65309457:ctest-vn-69867413 virtual network link through opserver 10.0.0.33
2026-03-17 12:54:09,148 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-17 12:54:09,158 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65309457:ctest-vn-69867413', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65309457:ctest-vn-69867413?flat'}
2026-03-17 12:54:09,158 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65309457:ctest-vn-69867413 is found in opserver
2026-03-17 12:54:09,168 - DEBUG - Do not have enough data to verify VN in agent
2026-03-17 12:54:09,174 - DEBUG - VRF ids for VN ctest-vn-69867413: {}
2026-03-17 12:54:09,263 - DEBUG - Services list from nova: [