2026-02-10 14:35:55,401 - INFO - Domain Default found not creating
2026-02-10 14:35:55,572 - INFO - Project ctest-TestBasicPolicy-46704530 not found, creating it
2026-02-10 14:35:56,025 - INFO - Created Project:ctest-TestBasicPolicy-46704530, ID : e6e436ba-8a22-45c7-a917-378bf2a66674
2026-02-10 14:35:57,479 - INFO - ================================================================================
2026-02-10 14:35:57,479 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 14:35:57,479 - 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-10 14:35:57,734 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2026-02-10 14:35:57,734 - INFO - Initial checks done. Running the testcase now
2026-02-10 14:35:57,734 - INFO -
2026-02-10 14:35:58,276 - DEBUG - Response for create_network : {'network': {'id': '28c284c3-9cbb-4057-a94b-5d819a21a770', 'name': 'ctest-vn-23276900', 'tenant_id': 'e6e436ba8a2245c7a917378bf2a66674', 'project_id': 'e6e436ba8a2245c7a917378bf2a66674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46704530', 'ctest-vn-23276900'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 14:35:58,491 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af5739bc-6369-436e-866d-6258109ab875', 'name': '', 'tenant_id': 'e6e436ba8a2245c7a917378bf2a66674', 'network_id': '28c284c3-9cbb-4057-a94b-5d819a21a770', 'ip_version': 4, 'cidr': '205.176.12.64/26', 'allocation_pools': [{'start': '205.176.12.66', 'end': '205.176.12.126'}], 'gateway_ip': '205.176.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.176.12.66', 'tags': [], 'project_id': 'e6e436ba8a2245c7a917378bf2a66674'}}
2026-02-10 14:35:58,508 - INFO - Created VN ctest-vn-23276900
2026-02-10 14:35:58,560 - DEBUG - VN ctest-vn-23276900 UUID is 28c284c3-9cbb-4057-a94b-5d819a21a770
2026-02-10 14:35:58,843 - DEBUG - Response for create_network : {'network': {'id': 'cc4def4e-0cb1-4e32-959e-7e557cab6612', 'name': 'ctest-vn-35020156', 'tenant_id': 'e6e436ba8a2245c7a917378bf2a66674', 'project_id': 'e6e436ba8a2245c7a917378bf2a66674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46704530', 'ctest-vn-35020156'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 14:35:58,998 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5142b59-160a-456f-ac11-0bc9ea9bc46c', 'name': '', 'tenant_id': 'e6e436ba8a2245c7a917378bf2a66674', 'network_id': 'cc4def4e-0cb1-4e32-959e-7e557cab6612', 'ip_version': 4, 'cidr': '90.240.238.192/26', 'allocation_pools': [{'start': '90.240.238.194', 'end': '90.240.238.254'}], 'gateway_ip': '90.240.238.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.240.238.194', 'tags': [], 'project_id': 'e6e436ba8a2245c7a917378bf2a66674'}}
2026-02-10 14:35:59,015 - INFO - Created VN ctest-vn-35020156
2026-02-10 14:35:59,064 - DEBUG - VN ctest-vn-35020156 UUID is cc4def4e-0cb1-4e32-959e-7e557cab6612
2026-02-10 14:35:59,176 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46704530:ctest-vn-23276900, 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-46704530:ctest-vn-35020156, 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-10 14:35:59,458 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '28c284c3-9cbb-4057-a94b-5d819a21a770', 'name': 'ctest-vn-23276900', 'tenant_id': 'e6e436ba8a2245c7a917378bf2a66674', 'project_id': 'e6e436ba8a2245c7a917378bf2a66674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['af5739bc-6369-436e-866d-6258109ab875'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46704530', 'ctest-vn-23276900'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46704530', 'ctest-policy-allow-all-43175987']], 'subnet_ipam': [{'subnet_cidr': '205.176.12.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 14:35:59,672 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cc4def4e-0cb1-4e32-959e-7e557cab6612', 'name': 'ctest-vn-35020156', 'tenant_id': 'e6e436ba8a2245c7a917378bf2a66674', 'project_id': 'e6e436ba8a2245c7a917378bf2a66674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e5142b59-160a-456f-ac11-0bc9ea9bc46c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46704530', 'ctest-vn-35020156'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46704530', 'ctest-policy-allow-all-43175987']], 'subnet_ipam': [{'subnet_cidr': '90.240.238.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 14:35:59,864 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-10 14:36:00,159 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-10 14:36:00,188 - DEBUG - Requesting: http://10.0.0.242:8082/domain/cee25aa8-5e53-4ebd-9617-023a9c533b53
2026-02-10 14:36:00,200 - DEBUG - Requesting: http://10.0.0.242:8082/project/e6e436ba-8a22-45c7-a917-378bf2a66674
2026-02-10 14:36:00,277 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/28c284c3-9cbb-4057-a94b-5d819a21a770
2026-02-10 14:36:00,288 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/28c284c3-9cbb-4057-a94b-5d819a21a770
2026-02-10 14:36:00,296 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2d019bef-68f9-4201-bda1-f4da735269a9
2026-02-10 14:36:00,304 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2d019bef-68f9-4201-bda1-f4da735269a9
2026-02-10 14:36:00,310 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/82a03939-3d9e-4025-acd3-4d67f9e2a9f4
2026-02-10 14:36:00,317 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 14:36:00,317 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/28c284c3-9cbb-4057-a94b-5d819a21a770
2026-02-10 14:36:00,327 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2d019bef-68f9-4201-bda1-f4da735269a9
2026-02-10 14:36:00,343 - INFO - Verified VN network id 12 for VN 28c284c3-9cbb-4057-a94b-5d819a21a770
2026-02-10 14:36:00,343 - INFO - Verifications in API Server for VN ctest-vn-23276900 passed
2026-02-10 14:36:00,343 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/28c284c3-9cbb-4057-a94b-5d819a21a770
2026-02-10 14:36:00,352 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2d019bef-68f9-4201-bda1-f4da735269a9
2026-02-10 14:36:00,359 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2d019bef-68f9-4201-bda1-f4da735269a9
2026-02-10 14:36:00,365 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/82a03939-3d9e-4025-acd3-4d67f9e2a9f4
2026-02-10 14:36:00,378 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46704530:ctest-vn-23276900', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46704530', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2937055882681991255', 'uuid-lslong': '12198946826881181552'}, 'enable': 'true', 'created': '2026-02-10T14:35:58', 'last-modified': '2026-02-10T14:35:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.941904'}
2026-02-10 14:36:00,384 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 14:36:00,385 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23276900 passed
2026-02-10 14:36:00,385 - DEBUG - ====Verifying policy data for ctest-vn-23276900 in API_Server ======
2026-02-10 14:36:00,385 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-10 14:36:00,391 - DEBUG - Requesting: http://10.0.0.242:8082/domain/cee25aa8-5e53-4ebd-9617-023a9c533b53
2026-02-10 14:36:00,403 - DEBUG - Requesting: http://10.0.0.242:8082/project/e6e436ba-8a22-45c7-a917-378bf2a66674
2026-02-10 14:36:00,477 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/28c284c3-9cbb-4057-a94b-5d819a21a770
2026-02-10 14:36:00,486 - DEBUG - ==>Verifying data for policy with id: 8fe54bee-9b02-444e-8a81-65f59c780233, fqn: ['default-domain', 'ctest-TestBasicPolicy-46704530', 'ctest-policy-allow-all-43175987']
2026-02-10 14:36:00,486 - INFO - VN ctest-vn-23276900 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 14:36:00,487 - DEBUG - Verifying the vn in opserver
2026-02-10 14:36:00,487 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46704530:ctest-vn-23276900 virtual network link through opserver 10.0.0.242
2026-02-10 14:36:00,487 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-10 14:36:00,779 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-10 14:36:00,842 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46704530:ctest-vn-23276900', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46704530:ctest-vn-23276900?flat'}
2026-02-10 14:36:00,842 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46704530:ctest-vn-23276900 is found in opserver
2026-02-10 14:36:00,852 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 14:36:00,858 - DEBUG - VRF ids for VN ctest-vn-23276900: {}
2026-02-10 14:36:00,858 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-10 14:36:00,864 - DEBUG - Requesting: http://10.0.0.242:8082/domain/cee25aa8-5e53-4ebd-9617-023a9c533b53
2026-02-10 14:36:00,877 - DEBUG - Requesting: http://10.0.0.242:8082/project/e6e436ba-8a22-45c7-a917-378bf2a66674
2026-02-10 14:36:00,947 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cc4def4e-0cb1-4e32-959e-7e557cab6612
2026-02-10 14:36:00,958 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cc4def4e-0cb1-4e32-959e-7e557cab6612
2026-02-10 14:36:00,967 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ef16da8d-ca6a-4534-b156-1c5bf3a4bbd3
2026-02-10 14:36:00,974 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ef16da8d-ca6a-4534-b156-1c5bf3a4bbd3
2026-02-10 14:36:00,984 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/68d6966f-c06c-41ee-85c2-3f532402e340
2026-02-10 14:36:00,991 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 14:36:00,991 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cc4def4e-0cb1-4e32-959e-7e557cab6612
2026-02-10 14:36:01,000 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ef16da8d-ca6a-4534-b156-1c5bf3a4bbd3
2026-02-10 14:36:01,013 - INFO - Verified VN network id 13 for VN cc4def4e-0cb1-4e32-959e-7e557cab6612
2026-02-10 14:36:01,013 - INFO - Verifications in API Server for VN ctest-vn-35020156 passed
2026-02-10 14:36:01,013 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cc4def4e-0cb1-4e32-959e-7e557cab6612
2026-02-10 14:36:01,023 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ef16da8d-ca6a-4534-b156-1c5bf3a4bbd3
2026-02-10 14:36:01,030 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ef16da8d-ca6a-4534-b156-1c5bf3a4bbd3
2026-02-10 14:36:01,037 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/68d6966f-c06c-41ee-85c2-3f532402e340
2026-02-10 14:36:01,049 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46704530:ctest-vn-35020156', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46704530', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14721685875443453490', 'uuid-lslong': '10781193463600473618'}, 'enable': 'true', 'created': '2026-02-10T14:35:58', 'last-modified': '2026-02-10T14:35:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.396778'}
2026-02-10 14:36:01,055 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 14:36:01,055 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35020156 passed
2026-02-10 14:36:01,055 - DEBUG - ====Verifying policy data for ctest-vn-35020156 in API_Server ======
2026-02-10 14:36:01,055 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-02-10 14:36:01,061 - DEBUG - Requesting: http://10.0.0.242:8082/domain/cee25aa8-5e53-4ebd-9617-023a9c533b53
2026-02-10 14:36:01,071 - DEBUG - Requesting: http://10.0.0.242:8082/project/e6e436ba-8a22-45c7-a917-378bf2a66674
2026-02-10 14:36:01,150 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cc4def4e-0cb1-4e32-959e-7e557cab6612
2026-02-10 14:36:01,162 - DEBUG - ==>Verifying data for policy with id: 8fe54bee-9b02-444e-8a81-65f59c780233, fqn: ['default-domain', 'ctest-TestBasicPolicy-46704530', 'ctest-policy-allow-all-43175987']
2026-02-10 14:36:01,162 - INFO - VN ctest-vn-35020156 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 14:36:01,162 - DEBUG - Verifying the vn in opserver
2026-02-10 14:36:01,162 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46704530:ctest-vn-35020156 virtual network link through opserver 10.0.0.242
2026-02-10 14:36:01,162 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-02-10 14:36:01,173 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46704530:ctest-vn-35020156', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46704530:ctest-vn-35020156?flat'}
2026-02-10 14:36:01,173 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46704530:ctest-vn-35020156 is found in opserver
2026-02-10 14:36:01,183 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 14:36:01,188 - DEBUG - VRF ids for VN ctest-vn-35020156: {}
2026-02-10 14:36:01,243 - DEBUG - Services list from nova: [