2026-11-02 18:02:09,008 - INFO - Domain Default found not creating
2026-11-02 18:02:09,180 - INFO - Project ctest-TestBasicPolicy-30138943 not found, creating it
2026-11-02 18:02:09,652 - INFO - Created Project:ctest-TestBasicPolicy-30138943, ID : eae9276c-7d6a-492d-80bc-1b1f57f1ab2f
2026-11-02 18:02:11,176 - INFO - ================================================================================
2026-11-02 18:02:11,176 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-02 18:02:11,176 - 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-11-02 18:02:11,435 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.17': '0'}} with
2026-11-02 18:02:11,435 - INFO - Initial checks done. Running the testcase now
2026-11-02 18:02:11,435 - INFO -
2026-11-02 18:02:11,992 - DEBUG - Response for create_network : {'network': {'id': '11dd1bb1-18db-41f1-9dbf-3341d3aff02b', 'name': 'ctest-vn-65740180', 'tenant_id': 'eae9276c7d6a492d80bc1b1f57f1ab2f', 'project_id': 'eae9276c7d6a492d80bc1b1f57f1ab2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30138943', 'ctest-vn-65740180'], 'port_security_enabled': True, 'description': ''}}
2026-11-02 18:02:12,190 - DEBUG - Response for create_subnet : {'subnet': {'id': '907276ea-7583-4e2f-be4f-6eb375441ee0', 'name': '', 'tenant_id': 'eae9276c7d6a492d80bc1b1f57f1ab2f', 'network_id': '11dd1bb1-18db-41f1-9dbf-3341d3aff02b', 'ip_version': 4, 'cidr': '194.22.106.192/26', 'allocation_pools': [{'start': '194.22.106.194', 'end': '194.22.106.254'}], 'gateway_ip': '194.22.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.22.106.194', 'tags': [], 'project_id': 'eae9276c7d6a492d80bc1b1f57f1ab2f'}}
2026-11-02 18:02:12,204 - INFO - Created VN ctest-vn-65740180
2026-11-02 18:02:12,254 - DEBUG - VN ctest-vn-65740180 UUID is 11dd1bb1-18db-41f1-9dbf-3341d3aff02b
2026-11-02 18:02:12,573 - DEBUG - Response for create_network : {'network': {'id': '722de22d-4540-4de0-9d96-02a40e5bb24b', 'name': 'ctest-vn-53901479', 'tenant_id': 'eae9276c7d6a492d80bc1b1f57f1ab2f', 'project_id': 'eae9276c7d6a492d80bc1b1f57f1ab2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30138943', 'ctest-vn-53901479'], 'port_security_enabled': True, 'description': ''}}
2026-11-02 18:02:12,759 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a3c64d9-fefd-47fa-87fe-01b2cacf9c54', 'name': '', 'tenant_id': 'eae9276c7d6a492d80bc1b1f57f1ab2f', 'network_id': '722de22d-4540-4de0-9d96-02a40e5bb24b', 'ip_version': 4, 'cidr': '156.244.22.0/26', 'allocation_pools': [{'start': '156.244.22.2', 'end': '156.244.22.62'}], 'gateway_ip': '156.244.22.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.244.22.2', 'tags': [], 'project_id': 'eae9276c7d6a492d80bc1b1f57f1ab2f'}}
2026-11-02 18:02:12,773 - INFO - Created VN ctest-vn-53901479
2026-11-02 18:02:12,826 - DEBUG - VN ctest-vn-53901479 UUID is 722de22d-4540-4de0-9d96-02a40e5bb24b
2026-11-02 18:02:12,970 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30138943:ctest-vn-65740180, 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-30138943:ctest-vn-53901479, 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-11-02 18:02:13,266 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '11dd1bb1-18db-41f1-9dbf-3341d3aff02b', 'name': 'ctest-vn-65740180', 'tenant_id': 'eae9276c7d6a492d80bc1b1f57f1ab2f', 'project_id': 'eae9276c7d6a492d80bc1b1f57f1ab2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['907276ea-7583-4e2f-be4f-6eb375441ee0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30138943', 'ctest-vn-65740180'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30138943', 'ctest-policy-allow-all-45566963']], 'subnet_ipam': [{'subnet_cidr': '194.22.106.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-02 18:02:13,493 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '722de22d-4540-4de0-9d96-02a40e5bb24b', 'name': 'ctest-vn-53901479', 'tenant_id': 'eae9276c7d6a492d80bc1b1f57f1ab2f', 'project_id': 'eae9276c7d6a492d80bc1b1f57f1ab2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1a3c64d9-fefd-47fa-87fe-01b2cacf9c54'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30138943', 'ctest-vn-53901479'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30138943', 'ctest-policy-allow-all-45566963']], 'subnet_ipam': [{'subnet_cidr': '156.244.22.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-02 18:02:13,658 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-11-02 18:02:13,976 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-11-02 18:02:14,001 - DEBUG - Requesting: http://10.0.0.190:8082/domain/e653c4e9-8252-47a7-ab36-05b15ee11f71
2026-11-02 18:02:14,012 - DEBUG - Requesting: http://10.0.0.190:8082/project/eae9276c-7d6a-492d-80bc-1b1f57f1ab2f
2026-11-02 18:02:14,081 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/11dd1bb1-18db-41f1-9dbf-3341d3aff02b
2026-11-02 18:02:14,092 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/11dd1bb1-18db-41f1-9dbf-3341d3aff02b
2026-11-02 18:02:14,100 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ce8ac15a-d98b-4c93-9437-14fccd12ed0b
2026-11-02 18:02:14,108 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ce8ac15a-d98b-4c93-9437-14fccd12ed0b
2026-11-02 18:02:14,114 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/0cdae493-1674-4cc6-a26e-5f859d0fb8d0
2026-11-02 18:02:14,119 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-02 18:02:14,119 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/11dd1bb1-18db-41f1-9dbf-3341d3aff02b
2026-11-02 18:02:14,128 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ce8ac15a-d98b-4c93-9437-14fccd12ed0b
2026-11-02 18:02:14,140 - INFO - Verified VN network id 12 for VN 11dd1bb1-18db-41f1-9dbf-3341d3aff02b
2026-11-02 18:02:14,140 - INFO - Verifications in API Server for VN ctest-vn-65740180 passed
2026-11-02 18:02:14,141 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/11dd1bb1-18db-41f1-9dbf-3341d3aff02b
2026-11-02 18:02:14,149 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ce8ac15a-d98b-4c93-9437-14fccd12ed0b
2026-11-02 18:02:14,156 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ce8ac15a-d98b-4c93-9437-14fccd12ed0b
2026-11-02 18:02:14,163 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/0cdae493-1674-4cc6-a26e-5f859d0fb8d0
2026-11-02 18:02:14,175 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30138943:ctest-vn-65740180', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30138943', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1287215515938013681', 'uuid-lslong': '11366860342323834923'}, 'enable': 'true', 'created': '2026-11-02T18:02:11', 'last-modified': '2026-11-02T18:02:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930747'}
2026-11-02 18:02:14,182 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-02 18:02:14,182 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65740180 passed
2026-11-02 18:02:14,182 - DEBUG - ====Verifying policy data for ctest-vn-65740180 in API_Server ======
2026-11-02 18:02:14,182 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-11-02 18:02:14,187 - DEBUG - Requesting: http://10.0.0.190:8082/domain/e653c4e9-8252-47a7-ab36-05b15ee11f71
2026-11-02 18:02:14,196 - DEBUG - Requesting: http://10.0.0.190:8082/project/eae9276c-7d6a-492d-80bc-1b1f57f1ab2f
2026-11-02 18:02:14,265 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/11dd1bb1-18db-41f1-9dbf-3341d3aff02b
2026-11-02 18:02:14,273 - DEBUG - ==>Verifying data for policy with id: c1b48ffc-68f8-4e26-bacc-cb472db0e3df, fqn: ['default-domain', 'ctest-TestBasicPolicy-30138943', 'ctest-policy-allow-all-45566963']
2026-11-02 18:02:14,273 - INFO - VN ctest-vn-65740180 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-02 18:02:14,273 - DEBUG - Verifying the vn in opserver
2026-11-02 18:02:14,273 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30138943:ctest-vn-65740180 virtual network link through opserver 10.0.0.190
2026-11-02 18:02:14,273 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-11-02 18:02:14,593 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-11-02 18:02:14,643 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30138943:ctest-vn-65740180', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30138943:ctest-vn-65740180?flat'}
2026-11-02 18:02:14,643 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30138943:ctest-vn-65740180 is found in opserver
2026-11-02 18:02:14,654 - DEBUG - Do not have enough data to verify VN in agent
2026-11-02 18:02:14,658 - DEBUG - VRF ids for VN ctest-vn-65740180: {}
2026-11-02 18:02:14,658 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-11-02 18:02:14,663 - DEBUG - Requesting: http://10.0.0.190:8082/domain/e653c4e9-8252-47a7-ab36-05b15ee11f71
2026-11-02 18:02:14,672 - DEBUG - Requesting: http://10.0.0.190:8082/project/eae9276c-7d6a-492d-80bc-1b1f57f1ab2f
2026-11-02 18:02:14,744 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/722de22d-4540-4de0-9d96-02a40e5bb24b
2026-11-02 18:02:14,755 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/722de22d-4540-4de0-9d96-02a40e5bb24b
2026-11-02 18:02:14,765 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ec66e696-e2c9-4d70-b0d6-5b85b0e3e734
2026-11-02 18:02:14,772 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ec66e696-e2c9-4d70-b0d6-5b85b0e3e734
2026-11-02 18:02:14,779 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/667081e2-832f-4ec8-8623-b5fb22cff328
2026-11-02 18:02:14,785 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-02 18:02:14,785 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/722de22d-4540-4de0-9d96-02a40e5bb24b
2026-11-02 18:02:14,794 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ec66e696-e2c9-4d70-b0d6-5b85b0e3e734
2026-11-02 18:02:14,807 - INFO - Verified VN network id 13 for VN 722de22d-4540-4de0-9d96-02a40e5bb24b
2026-11-02 18:02:14,808 - INFO - Verifications in API Server for VN ctest-vn-53901479 passed
2026-11-02 18:02:14,808 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/722de22d-4540-4de0-9d96-02a40e5bb24b
2026-11-02 18:02:14,816 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ec66e696-e2c9-4d70-b0d6-5b85b0e3e734
2026-11-02 18:02:14,825 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ec66e696-e2c9-4d70-b0d6-5b85b0e3e734
2026-11-02 18:02:14,835 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/667081e2-832f-4ec8-8623-b5fb22cff328
2026-11-02 18:02:14,846 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30138943:ctest-vn-53901479', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30138943', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8227480778339012064', 'uuid-lslong': '11355266414100066891'}, 'enable': 'true', 'created': '2026-11-02T18:02:12', 'last-modified': '2026-11-02T18:02:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.376639'}
2026-11-02 18:02:14,853 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-02 18:02:14,853 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53901479 passed
2026-11-02 18:02:14,853 - DEBUG - ====Verifying policy data for ctest-vn-53901479 in API_Server ======
2026-11-02 18:02:14,853 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-11-02 18:02:14,858 - DEBUG - Requesting: http://10.0.0.190:8082/domain/e653c4e9-8252-47a7-ab36-05b15ee11f71
2026-11-02 18:02:14,868 - DEBUG - Requesting: http://10.0.0.190:8082/project/eae9276c-7d6a-492d-80bc-1b1f57f1ab2f
2026-11-02 18:02:14,942 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/722de22d-4540-4de0-9d96-02a40e5bb24b
2026-11-02 18:02:14,951 - DEBUG - ==>Verifying data for policy with id: c1b48ffc-68f8-4e26-bacc-cb472db0e3df, fqn: ['default-domain', 'ctest-TestBasicPolicy-30138943', 'ctest-policy-allow-all-45566963']
2026-11-02 18:02:14,951 - INFO - VN ctest-vn-53901479 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-02 18:02:14,951 - DEBUG - Verifying the vn in opserver
2026-11-02 18:02:14,951 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30138943:ctest-vn-53901479 virtual network link through opserver 10.0.0.190
2026-11-02 18:02:14,951 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-11-02 18:02:14,960 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30138943:ctest-vn-53901479', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30138943:ctest-vn-53901479?flat'}
2026-11-02 18:02:14,960 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30138943:ctest-vn-53901479 is found in opserver
2026-11-02 18:02:14,971 - DEBUG - Do not have enough data to verify VN in agent
2026-11-02 18:02:14,975 - DEBUG - VRF ids for VN ctest-vn-53901479: {}
2026-11-02 18:02:15,028 - DEBUG - Services list from nova: [