2026-10-26 20:22:48,432 - INFO - Domain Default found not creating
2026-10-26 20:22:48,654 - INFO - Project ctest-TestBasicPolicy-12366204 not found, creating it
2026-10-26 20:22:49,187 - INFO - Created Project:ctest-TestBasicPolicy-12366204, ID : 60e378a7-8d34-433d-97b5-17c090a8ab5a
2026-10-26 20:22:51,282 - INFO - ================================================================================
2026-10-26 20:22:51,283 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-26 20:22:51,283 - 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-10-26 20:22:51,563 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with
2026-10-26 20:22:51,564 - INFO - Initial checks done. Running the testcase now
2026-10-26 20:22:51,564 - INFO -
2026-10-26 20:22:52,334 - DEBUG - Response for create_network : {'network': {'id': '35876ede-1b31-4ff5-aca6-a51118bda4ef', 'name': 'ctest-vn-71868780', 'tenant_id': '60e378a78d34433d97b517c090a8ab5a', 'project_id': '60e378a78d34433d97b517c090a8ab5a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12366204', 'ctest-vn-71868780'], 'port_security_enabled': True, 'description': ''}}
2026-10-26 20:22:52,534 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7fca137-f6ce-4cd3-95d9-be4fcbe3647b', 'name': '', 'tenant_id': '60e378a78d34433d97b517c090a8ab5a', 'network_id': '35876ede-1b31-4ff5-aca6-a51118bda4ef', 'ip_version': 4, 'cidr': '63.141.93.128/26', 'allocation_pools': [{'start': '63.141.93.130', 'end': '63.141.93.190'}], 'gateway_ip': '63.141.93.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.141.93.130', 'tags': [], 'project_id': '60e378a78d34433d97b517c090a8ab5a'}}
2026-10-26 20:22:52,555 - INFO - Created VN ctest-vn-71868780
2026-10-26 20:22:52,614 - DEBUG - VN ctest-vn-71868780 UUID is 35876ede-1b31-4ff5-aca6-a51118bda4ef
2026-10-26 20:22:53,125 - DEBUG - Response for create_network : {'network': {'id': '619116f1-669e-4bde-8fc8-30a64d27c85f', 'name': 'ctest-vn-02028878', 'tenant_id': '60e378a78d34433d97b517c090a8ab5a', 'project_id': '60e378a78d34433d97b517c090a8ab5a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12366204', 'ctest-vn-02028878'], 'port_security_enabled': True, 'description': ''}}
2026-10-26 20:22:53,381 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3f4cdfc-a6bc-4151-843c-fe56790e04ac', 'name': '', 'tenant_id': '60e378a78d34433d97b517c090a8ab5a', 'network_id': '619116f1-669e-4bde-8fc8-30a64d27c85f', 'ip_version': 4, 'cidr': '168.140.4.64/26', 'allocation_pools': [{'start': '168.140.4.66', 'end': '168.140.4.126'}], 'gateway_ip': '168.140.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.140.4.66', 'tags': [], 'project_id': '60e378a78d34433d97b517c090a8ab5a'}}
2026-10-26 20:22:53,402 - INFO - Created VN ctest-vn-02028878
2026-10-26 20:22:53,459 - DEBUG - VN ctest-vn-02028878 UUID is 619116f1-669e-4bde-8fc8-30a64d27c85f
2026-10-26 20:22:53,676 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-71868780, 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-12366204:ctest-vn-02028878, 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-10-26 20:22:54,059 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '35876ede-1b31-4ff5-aca6-a51118bda4ef', 'name': 'ctest-vn-71868780', 'tenant_id': '60e378a78d34433d97b517c090a8ab5a', 'project_id': '60e378a78d34433d97b517c090a8ab5a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b7fca137-f6ce-4cd3-95d9-be4fcbe3647b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12366204', 'ctest-vn-71868780'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12366204', 'ctest-policy-allow-all-46156284']], 'subnet_ipam': [{'subnet_cidr': '63.141.93.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-26 20:22:54,304 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '619116f1-669e-4bde-8fc8-30a64d27c85f', 'name': 'ctest-vn-02028878', 'tenant_id': '60e378a78d34433d97b517c090a8ab5a', 'project_id': '60e378a78d34433d97b517c090a8ab5a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b3f4cdfc-a6bc-4151-843c-fe56790e04ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12366204', 'ctest-vn-02028878'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12366204', 'ctest-policy-allow-all-46156284']], 'subnet_ipam': [{'subnet_cidr': '168.140.4.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-26 20:22:54,478 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-26 20:22:54,866 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-26 20:22:54,903 - DEBUG - Requesting: http://10.0.0.185:8082/domain/1cedbaa2-1d61-4432-a176-487c53cd4c23
2026-10-26 20:22:54,918 - DEBUG - Requesting: http://10.0.0.185:8082/project/60e378a7-8d34-433d-97b5-17c090a8ab5a
2026-10-26 20:22:55,005 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/35876ede-1b31-4ff5-aca6-a51118bda4ef
2026-10-26 20:22:55,024 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/35876ede-1b31-4ff5-aca6-a51118bda4ef
2026-10-26 20:22:55,038 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2f1e4ac4-c87e-478f-b9fb-85a3bc4eba0e
2026-10-26 20:22:55,050 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2f1e4ac4-c87e-478f-b9fb-85a3bc4eba0e
2026-10-26 20:22:55,059 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/a5f561a5-90ac-4f1c-8cfd-1fc26d5e520d
2026-10-26 20:22:55,068 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-26 20:22:55,069 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/35876ede-1b31-4ff5-aca6-a51118bda4ef
2026-10-26 20:22:55,083 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2f1e4ac4-c87e-478f-b9fb-85a3bc4eba0e
2026-10-26 20:22:55,103 - INFO - Verified VN network id 12 for VN 35876ede-1b31-4ff5-aca6-a51118bda4ef
2026-10-26 20:22:55,104 - INFO - Verifications in API Server for VN ctest-vn-71868780 passed
2026-10-26 20:22:55,104 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/35876ede-1b31-4ff5-aca6-a51118bda4ef
2026-10-26 20:22:55,117 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2f1e4ac4-c87e-478f-b9fb-85a3bc4eba0e
2026-10-26 20:22:55,126 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/2f1e4ac4-c87e-478f-b9fb-85a3bc4eba0e
2026-10-26 20:22:55,137 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/a5f561a5-90ac-4f1c-8cfd-1fc26d5e520d
2026-10-26 20:22:55,153 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-71868780', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12366204', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3857173506084130805', 'uuid-lslong': '12440812513505682671'}, 'enable': 'true', 'created': '2026-10-26T20:22:52', 'last-modified': '2026-10-26T20:22:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.127343'}
2026-10-26 20:22:55,163 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-26 20:22:55,163 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71868780 passed
2026-10-26 20:22:55,163 - DEBUG - ====Verifying policy data for ctest-vn-71868780 in API_Server ======
2026-10-26 20:22:55,163 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-26 20:22:55,172 - DEBUG - Requesting: http://10.0.0.185:8082/domain/1cedbaa2-1d61-4432-a176-487c53cd4c23
2026-10-26 20:22:55,191 - DEBUG - Requesting: http://10.0.0.185:8082/project/60e378a7-8d34-433d-97b5-17c090a8ab5a
2026-10-26 20:22:55,284 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/35876ede-1b31-4ff5-aca6-a51118bda4ef
2026-10-26 20:22:55,297 - DEBUG - ==>Verifying data for policy with id: ef7ae978-faf6-4e46-9259-d66e1aa3690f, fqn: ['default-domain', 'ctest-TestBasicPolicy-12366204', 'ctest-policy-allow-all-46156284']
2026-10-26 20:22:55,297 - INFO - VN ctest-vn-71868780 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-26 20:22:55,297 - DEBUG - Verifying the vn in opserver
2026-10-26 20:22:55,297 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-71868780 virtual network link through opserver 10.0.0.185
2026-10-26 20:22:55,298 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-26 20:22:55,677 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-26 20:22:55,741 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-71868780', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-71868780?flat'}
2026-10-26 20:22:55,741 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-71868780 is found in opserver
2026-10-26 20:22:55,755 - DEBUG - Do not have enough data to verify VN in agent
2026-10-26 20:22:55,762 - DEBUG - VRF ids for VN ctest-vn-71868780: {}
2026-10-26 20:22:55,762 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-26 20:22:55,770 - DEBUG - Requesting: http://10.0.0.185:8082/domain/1cedbaa2-1d61-4432-a176-487c53cd4c23
2026-10-26 20:22:55,783 - DEBUG - Requesting: http://10.0.0.185:8082/project/60e378a7-8d34-433d-97b5-17c090a8ab5a
2026-10-26 20:22:55,868 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/619116f1-669e-4bde-8fc8-30a64d27c85f
2026-10-26 20:22:55,883 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/619116f1-669e-4bde-8fc8-30a64d27c85f
2026-10-26 20:22:55,896 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/b91c9bab-51e5-492f-8de6-efcc44b23c9b
2026-10-26 20:22:55,907 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/b91c9bab-51e5-492f-8de6-efcc44b23c9b
2026-10-26 20:22:55,916 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/ab43986a-84a8-4900-bd70-c3c75a223cf3
2026-10-26 20:22:55,925 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-26 20:22:55,925 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/619116f1-669e-4bde-8fc8-30a64d27c85f
2026-10-26 20:22:55,938 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/b91c9bab-51e5-492f-8de6-efcc44b23c9b
2026-10-26 20:22:55,957 - INFO - Verified VN network id 13 for VN 619116f1-669e-4bde-8fc8-30a64d27c85f
2026-10-26 20:22:55,958 - INFO - Verifications in API Server for VN ctest-vn-02028878 passed
2026-10-26 20:22:55,958 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/619116f1-669e-4bde-8fc8-30a64d27c85f
2026-10-26 20:22:55,970 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/b91c9bab-51e5-492f-8de6-efcc44b23c9b
2026-10-26 20:22:55,979 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/b91c9bab-51e5-492f-8de6-efcc44b23c9b
2026-10-26 20:22:55,988 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/ab43986a-84a8-4900-bd70-c3c75a223cf3
2026-10-26 20:22:56,004 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-02028878', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12366204', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7030425719366634462', 'uuid-lslong': '10360584433582983263'}, 'enable': 'true', 'created': '2026-10-26T20:22:53', 'last-modified': '2026-10-26T20:22:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.735551'}
2026-10-26 20:22:56,011 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-26 20:22:56,011 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02028878 passed
2026-10-26 20:22:56,012 - DEBUG - ====Verifying policy data for ctest-vn-02028878 in API_Server ======
2026-10-26 20:22:56,012 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-26 20:22:56,019 - DEBUG - Requesting: http://10.0.0.185:8082/domain/1cedbaa2-1d61-4432-a176-487c53cd4c23
2026-10-26 20:22:56,034 - DEBUG - Requesting: http://10.0.0.185:8082/project/60e378a7-8d34-433d-97b5-17c090a8ab5a
2026-10-26 20:22:56,124 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/619116f1-669e-4bde-8fc8-30a64d27c85f
2026-10-26 20:22:56,139 - DEBUG - ==>Verifying data for policy with id: ef7ae978-faf6-4e46-9259-d66e1aa3690f, fqn: ['default-domain', 'ctest-TestBasicPolicy-12366204', 'ctest-policy-allow-all-46156284']
2026-10-26 20:22:56,140 - INFO - VN ctest-vn-02028878 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-26 20:22:56,140 - DEBUG - Verifying the vn in opserver
2026-10-26 20:22:56,140 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-02028878 virtual network link through opserver 10.0.0.185
2026-10-26 20:22:56,140 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-26 20:22:56,154 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-02028878', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-02028878?flat'}
2026-10-26 20:22:56,154 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12366204:ctest-vn-02028878 is found in opserver
2026-10-26 20:22:56,169 - DEBUG - Do not have enough data to verify VN in agent
2026-10-26 20:22:56,175 - DEBUG - VRF ids for VN ctest-vn-02028878: {}
2026-10-26 20:22:56,257 - DEBUG - Services list from nova: [