2026-02-16 02:04:55,206 - INFO - Domain Default found not creating
2026-02-16 02:04:55,351 - INFO - Project ctest-TestBasicPolicy-36406844 not found, creating it
2026-02-16 02:04:55,779 - INFO - Created Project:ctest-TestBasicPolicy-36406844, ID : ef9547f6-4ec0-4714-955c-71f90291cae2
2026-02-16 02:04:57,186 - INFO - ================================================================================
2026-02-16 02:04:57,186 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-16 02:04:57,186 - 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-16 02:04:57,440 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.252': '0'}} with
2026-02-16 02:04:57,440 - INFO - Initial checks done. Running the testcase now
2026-02-16 02:04:57,440 - INFO -
2026-02-16 02:04:57,973 - DEBUG - Response for create_network : {'network': {'id': '2633480f-ce41-4588-aa9a-fed1d70a04a4', 'name': 'ctest-vn-59739344', 'tenant_id': 'ef9547f64ec04714955c71f90291cae2', 'project_id': 'ef9547f64ec04714955c71f90291cae2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36406844', 'ctest-vn-59739344'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 02:04:58,140 - DEBUG - Response for create_subnet : {'subnet': {'id': '98539448-f7f7-4bf1-94f6-9d43ad4c08d5', 'name': '', 'tenant_id': 'ef9547f64ec04714955c71f90291cae2', 'network_id': '2633480f-ce41-4588-aa9a-fed1d70a04a4', 'ip_version': 4, 'cidr': '17.32.126.192/26', 'allocation_pools': [{'start': '17.32.126.194', 'end': '17.32.126.254'}], 'gateway_ip': '17.32.126.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.32.126.194', 'tags': [], 'project_id': 'ef9547f64ec04714955c71f90291cae2'}}
2026-02-16 02:04:58,156 - INFO - Created VN ctest-vn-59739344
2026-02-16 02:04:58,208 - DEBUG - VN ctest-vn-59739344 UUID is 2633480f-ce41-4588-aa9a-fed1d70a04a4
2026-02-16 02:04:58,523 - DEBUG - Response for create_network : {'network': {'id': '4c37092a-cfd3-41c4-9171-92d04414298e', 'name': 'ctest-vn-04922813', 'tenant_id': 'ef9547f64ec04714955c71f90291cae2', 'project_id': 'ef9547f64ec04714955c71f90291cae2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36406844', 'ctest-vn-04922813'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 02:04:58,667 - DEBUG - Response for create_subnet : {'subnet': {'id': '2093b366-2d47-4762-99f1-6a54fff64a4d', 'name': '', 'tenant_id': 'ef9547f64ec04714955c71f90291cae2', 'network_id': '4c37092a-cfd3-41c4-9171-92d04414298e', 'ip_version': 4, 'cidr': '174.99.77.0/26', 'allocation_pools': [{'start': '174.99.77.2', 'end': '174.99.77.62'}], 'gateway_ip': '174.99.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.99.77.2', 'tags': [], 'project_id': 'ef9547f64ec04714955c71f90291cae2'}}
2026-02-16 02:04:58,682 - INFO - Created VN ctest-vn-04922813
2026-02-16 02:04:58,736 - DEBUG - VN ctest-vn-04922813 UUID is 4c37092a-cfd3-41c4-9171-92d04414298e
2026-02-16 02:04:58,884 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36406844:ctest-vn-59739344, 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-36406844:ctest-vn-04922813, 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-16 02:04:59,170 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2633480f-ce41-4588-aa9a-fed1d70a04a4', 'name': 'ctest-vn-59739344', 'tenant_id': 'ef9547f64ec04714955c71f90291cae2', 'project_id': 'ef9547f64ec04714955c71f90291cae2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['98539448-f7f7-4bf1-94f6-9d43ad4c08d5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36406844', 'ctest-vn-59739344'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36406844', 'ctest-policy-allow-all-82472128']], 'subnet_ipam': [{'subnet_cidr': '17.32.126.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-16 02:04:59,391 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4c37092a-cfd3-41c4-9171-92d04414298e', 'name': 'ctest-vn-04922813', 'tenant_id': 'ef9547f64ec04714955c71f90291cae2', 'project_id': 'ef9547f64ec04714955c71f90291cae2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2093b366-2d47-4762-99f1-6a54fff64a4d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36406844', 'ctest-vn-04922813'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36406844', 'ctest-policy-allow-all-82472128']], 'subnet_ipam': [{'subnet_cidr': '174.99.77.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-16 02:04:59,568 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-02-16 02:04:59,865 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-02-16 02:04:59,897 - DEBUG - Requesting: http://10.0.0.240:8082/domain/8aafcd2b-0b65-4a08-9d21-acfcbece5df8
2026-02-16 02:04:59,908 - DEBUG - Requesting: http://10.0.0.240:8082/project/ef9547f6-4ec0-4714-955c-71f90291cae2
2026-02-16 02:04:59,979 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/2633480f-ce41-4588-aa9a-fed1d70a04a4
2026-02-16 02:04:59,989 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/2633480f-ce41-4588-aa9a-fed1d70a04a4
2026-02-16 02:04:59,997 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/fdffe57b-0d21-4fc2-80a9-a04554755950
2026-02-16 02:05:00,004 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/fdffe57b-0d21-4fc2-80a9-a04554755950
2026-02-16 02:05:00,011 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/dfe0a0c9-3c02-40d7-bec9-c9f9d31ebda1
2026-02-16 02:05:00,018 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-16 02:05:00,018 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/2633480f-ce41-4588-aa9a-fed1d70a04a4
2026-02-16 02:05:00,028 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/fdffe57b-0d21-4fc2-80a9-a04554755950
2026-02-16 02:05:00,045 - INFO - Verified VN network id 11 for VN 2633480f-ce41-4588-aa9a-fed1d70a04a4
2026-02-16 02:05:00,045 - INFO - Verifications in API Server for VN ctest-vn-59739344 passed
2026-02-16 02:05:00,045 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/2633480f-ce41-4588-aa9a-fed1d70a04a4
2026-02-16 02:05:00,056 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/fdffe57b-0d21-4fc2-80a9-a04554755950
2026-02-16 02:05:00,064 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/fdffe57b-0d21-4fc2-80a9-a04554755950
2026-02-16 02:05:00,071 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/dfe0a0c9-3c02-40d7-bec9-c9f9d31ebda1
2026-02-16 02:05:00,085 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36406844:ctest-vn-59739344', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36406844', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2752623029975598472', 'uuid-lslong': '12293418310070568100'}, 'enable': 'true', 'created': '2026-02-16T02:04:57', 'last-modified': '2026-02-16T02:04:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.932980'}
2026-02-16 02:05:00,091 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-16 02:05:00,091 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59739344 passed
2026-02-16 02:05:00,091 - DEBUG - ====Verifying policy data for ctest-vn-59739344 in API_Server ======
2026-02-16 02:05:00,091 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-02-16 02:05:00,097 - DEBUG - Requesting: http://10.0.0.240:8082/domain/8aafcd2b-0b65-4a08-9d21-acfcbece5df8
2026-02-16 02:05:00,108 - DEBUG - Requesting: http://10.0.0.240:8082/project/ef9547f6-4ec0-4714-955c-71f90291cae2
2026-02-16 02:05:00,179 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/2633480f-ce41-4588-aa9a-fed1d70a04a4
2026-02-16 02:05:00,187 - DEBUG - ==>Verifying data for policy with id: b0fc2fb0-fded-486f-951f-79e5de9c4113, fqn: ['default-domain', 'ctest-TestBasicPolicy-36406844', 'ctest-policy-allow-all-82472128']
2026-02-16 02:05:00,187 - INFO - VN ctest-vn-59739344 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-16 02:05:00,187 - DEBUG - Verifying the vn in opserver
2026-02-16 02:05:00,187 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36406844:ctest-vn-59739344 virtual network link through opserver 10.0.0.240
2026-02-16 02:05:00,187 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2026-02-16 02:05:00,478 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2026-02-16 02:05:00,538 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36406844:ctest-vn-59739344', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36406844:ctest-vn-59739344?flat'}
2026-02-16 02:05:00,538 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36406844:ctest-vn-59739344 is found in opserver
2026-02-16 02:05:00,548 - DEBUG - Do not have enough data to verify VN in agent
2026-02-16 02:05:00,552 - DEBUG - VRF ids for VN ctest-vn-59739344: {}
2026-02-16 02:05:00,552 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-02-16 02:05:00,557 - DEBUG - Requesting: http://10.0.0.240:8082/domain/8aafcd2b-0b65-4a08-9d21-acfcbece5df8
2026-02-16 02:05:00,567 - DEBUG - Requesting: http://10.0.0.240:8082/project/ef9547f6-4ec0-4714-955c-71f90291cae2
2026-02-16 02:05:00,638 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/4c37092a-cfd3-41c4-9171-92d04414298e
2026-02-16 02:05:00,648 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/4c37092a-cfd3-41c4-9171-92d04414298e
2026-02-16 02:05:00,655 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/2bfe77f4-be19-4bf2-9690-e628864cc4f8
2026-02-16 02:05:00,661 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/2bfe77f4-be19-4bf2-9690-e628864cc4f8
2026-02-16 02:05:00,666 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/168d764d-1ae1-4cc9-90b7-8424313c2944
2026-02-16 02:05:00,671 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-16 02:05:00,671 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/4c37092a-cfd3-41c4-9171-92d04414298e
2026-02-16 02:05:00,677 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/2bfe77f4-be19-4bf2-9690-e628864cc4f8
2026-02-16 02:05:00,688 - INFO - Verified VN network id 12 for VN 4c37092a-cfd3-41c4-9171-92d04414298e
2026-02-16 02:05:00,688 - INFO - Verifications in API Server for VN ctest-vn-04922813 passed
2026-02-16 02:05:00,689 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/4c37092a-cfd3-41c4-9171-92d04414298e
2026-02-16 02:05:00,696 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/2bfe77f4-be19-4bf2-9690-e628864cc4f8
2026-02-16 02:05:00,701 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/2bfe77f4-be19-4bf2-9690-e628864cc4f8
2026-02-16 02:05:00,706 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/168d764d-1ae1-4cc9-90b7-8424313c2944
2026-02-16 02:05:00,715 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36406844:ctest-vn-04922813', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36406844', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5491868350081614276', 'uuid-lslong': '10480319231060879758'}, 'enable': 'true', 'created': '2026-02-16T02:04:58', 'last-modified': '2026-02-16T02:04:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.343014'}
2026-02-16 02:05:00,720 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-16 02:05:00,720 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04922813 passed
2026-02-16 02:05:00,720 - DEBUG - ====Verifying policy data for ctest-vn-04922813 in API_Server ======
2026-02-16 02:05:00,720 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-02-16 02:05:00,724 - DEBUG - Requesting: http://10.0.0.240:8082/domain/8aafcd2b-0b65-4a08-9d21-acfcbece5df8
2026-02-16 02:05:00,734 - DEBUG - Requesting: http://10.0.0.240:8082/project/ef9547f6-4ec0-4714-955c-71f90291cae2
2026-02-16 02:05:00,801 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/4c37092a-cfd3-41c4-9171-92d04414298e
2026-02-16 02:05:00,809 - DEBUG - ==>Verifying data for policy with id: b0fc2fb0-fded-486f-951f-79e5de9c4113, fqn: ['default-domain', 'ctest-TestBasicPolicy-36406844', 'ctest-policy-allow-all-82472128']
2026-02-16 02:05:00,809 - INFO - VN ctest-vn-04922813 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-16 02:05:00,809 - DEBUG - Verifying the vn in opserver
2026-02-16 02:05:00,809 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36406844:ctest-vn-04922813 virtual network link through opserver 10.0.0.240
2026-02-16 02:05:00,810 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2026-02-16 02:05:00,818 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36406844:ctest-vn-04922813', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36406844:ctest-vn-04922813?flat'}
2026-02-16 02:05:00,818 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36406844:ctest-vn-04922813 is found in opserver
2026-02-16 02:05:00,827 - DEBUG - Do not have enough data to verify VN in agent
2026-02-16 02:05:00,831 - DEBUG - VRF ids for VN ctest-vn-04922813: {}
2026-02-16 02:05:00,881 - DEBUG - Services list from nova: [