2026-01-26 02:09:36,882 - INFO - Domain Default found not creating
2026-01-26 02:09:37,091 - INFO - Project ctest-TestBasicPolicy-40608789 not found, creating it
2026-01-26 02:09:37,607 - INFO - Created Project:ctest-TestBasicPolicy-40608789, ID : c8e36d8d-489d-4d21-a098-434d55a44830
2026-01-26 02:09:39,280 - INFO - ================================================================================
2026-01-26 02:09:39,280 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-26 02:09:39,280 - 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-01-26 02:09:39,548 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with
2026-01-26 02:09:39,548 - INFO - Initial checks done. Running the testcase now
2026-01-26 02:09:39,548 - INFO -
2026-01-26 02:09:40,169 - DEBUG - Response for create_network : {'network': {'id': '9663d34f-85bf-4882-96cf-8513135431c5', 'name': 'ctest-vn-93512468', 'tenant_id': 'c8e36d8d489d4d21a098434d55a44830', 'project_id': 'c8e36d8d489d4d21a098434d55a44830', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40608789', 'ctest-vn-93512468'], 'port_security_enabled': True, 'description': ''}}
2026-01-26 02:09:40,321 - DEBUG - Response for create_subnet : {'subnet': {'id': '8684aa15-fefb-4af3-9064-7c502dab27ec', 'name': '', 'tenant_id': 'c8e36d8d489d4d21a098434d55a44830', 'network_id': '9663d34f-85bf-4882-96cf-8513135431c5', 'ip_version': 4, 'cidr': '112.104.99.192/26', 'allocation_pools': [{'start': '112.104.99.194', 'end': '112.104.99.254'}], 'gateway_ip': '112.104.99.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.104.99.194', 'tags': [], 'project_id': 'c8e36d8d489d4d21a098434d55a44830'}}
2026-01-26 02:09:40,341 - INFO - Created VN ctest-vn-93512468
2026-01-26 02:09:40,395 - DEBUG - VN ctest-vn-93512468 UUID is 9663d34f-85bf-4882-96cf-8513135431c5
2026-01-26 02:09:40,700 - DEBUG - Response for create_network : {'network': {'id': '20d438bc-9b38-4a03-b043-d9a441153252', 'name': 'ctest-vn-61928070', 'tenant_id': 'c8e36d8d489d4d21a098434d55a44830', 'project_id': 'c8e36d8d489d4d21a098434d55a44830', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40608789', 'ctest-vn-61928070'], 'port_security_enabled': True, 'description': ''}}
2026-01-26 02:09:40,954 - DEBUG - Response for create_subnet : {'subnet': {'id': '573eb54f-29ac-4194-8898-6dbd5cb507dc', 'name': '', 'tenant_id': 'c8e36d8d489d4d21a098434d55a44830', 'network_id': '20d438bc-9b38-4a03-b043-d9a441153252', 'ip_version': 4, 'cidr': '23.152.135.128/26', 'allocation_pools': [{'start': '23.152.135.130', 'end': '23.152.135.190'}], 'gateway_ip': '23.152.135.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.152.135.130', 'tags': [], 'project_id': 'c8e36d8d489d4d21a098434d55a44830'}}
2026-01-26 02:09:40,974 - INFO - Created VN ctest-vn-61928070
2026-01-26 02:09:41,031 - DEBUG - VN ctest-vn-61928070 UUID is 20d438bc-9b38-4a03-b043-d9a441153252
2026-01-26 02:09:41,147 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-93512468, 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-40608789:ctest-vn-61928070, 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-01-26 02:09:41,457 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9663d34f-85bf-4882-96cf-8513135431c5', 'name': 'ctest-vn-93512468', 'tenant_id': 'c8e36d8d489d4d21a098434d55a44830', 'project_id': 'c8e36d8d489d4d21a098434d55a44830', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8684aa15-fefb-4af3-9064-7c502dab27ec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40608789', 'ctest-vn-93512468'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40608789', 'ctest-policy-allow-all-05071974']], 'subnet_ipam': [{'subnet_cidr': '112.104.99.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-26 02:09:41,698 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '20d438bc-9b38-4a03-b043-d9a441153252', 'name': 'ctest-vn-61928070', 'tenant_id': 'c8e36d8d489d4d21a098434d55a44830', 'project_id': 'c8e36d8d489d4d21a098434d55a44830', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['573eb54f-29ac-4194-8898-6dbd5cb507dc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40608789', 'ctest-vn-61928070'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40608789', 'ctest-policy-allow-all-05071974']], 'subnet_ipam': [{'subnet_cidr': '23.152.135.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-26 02:09:41,855 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-26 02:09:42,180 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-26 02:09:42,221 - DEBUG - Requesting: http://10.0.0.27:8082/domain/86876349-3213-4255-84d6-1553c6e59d0b
2026-01-26 02:09:42,236 - DEBUG - Requesting: http://10.0.0.27:8082/project/c8e36d8d-489d-4d21-a098-434d55a44830
2026-01-26 02:09:42,317 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/9663d34f-85bf-4882-96cf-8513135431c5
2026-01-26 02:09:42,329 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/9663d34f-85bf-4882-96cf-8513135431c5
2026-01-26 02:09:42,340 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/aa0eccd5-d5ea-4d04-ab88-d91a3f2b0f32
2026-01-26 02:09:42,348 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/aa0eccd5-d5ea-4d04-ab88-d91a3f2b0f32
2026-01-26 02:09:42,357 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/bfc00bb2-0432-47a0-beda-eb8f37d3d164
2026-01-26 02:09:42,367 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-26 02:09:42,367 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/9663d34f-85bf-4882-96cf-8513135431c5
2026-01-26 02:09:42,378 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/aa0eccd5-d5ea-4d04-ab88-d91a3f2b0f32
2026-01-26 02:09:42,394 - INFO - Verified VN network id 11 for VN 9663d34f-85bf-4882-96cf-8513135431c5
2026-01-26 02:09:42,394 - INFO - Verifications in API Server for VN ctest-vn-93512468 passed
2026-01-26 02:09:42,395 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/9663d34f-85bf-4882-96cf-8513135431c5
2026-01-26 02:09:42,405 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/aa0eccd5-d5ea-4d04-ab88-d91a3f2b0f32
2026-01-26 02:09:42,412 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/aa0eccd5-d5ea-4d04-ab88-d91a3f2b0f32
2026-01-26 02:09:42,420 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/bfc00bb2-0432-47a0-beda-eb8f37d3d164
2026-01-26 02:09:42,435 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-93512468', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40608789', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10836737466883328130', 'uuid-lslong': '10867050742843453893'}, 'enable': 'true', 'created': '2026-01-26T02:09:40', 'last-modified': '2026-01-26T02:09:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.007813'}
2026-01-26 02:09:42,442 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-26 02:09:42,443 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93512468 passed
2026-01-26 02:09:42,443 - DEBUG - ====Verifying policy data for ctest-vn-93512468 in API_Server ======
2026-01-26 02:09:42,443 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-26 02:09:42,449 - DEBUG - Requesting: http://10.0.0.27:8082/domain/86876349-3213-4255-84d6-1553c6e59d0b
2026-01-26 02:09:42,462 - DEBUG - Requesting: http://10.0.0.27:8082/project/c8e36d8d-489d-4d21-a098-434d55a44830
2026-01-26 02:09:42,535 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/9663d34f-85bf-4882-96cf-8513135431c5
2026-01-26 02:09:42,546 - DEBUG - ==>Verifying data for policy with id: e4cc3af4-ef15-4b37-a05a-7446d1138f61, fqn: ['default-domain', 'ctest-TestBasicPolicy-40608789', 'ctest-policy-allow-all-05071974']
2026-01-26 02:09:42,546 - INFO - VN ctest-vn-93512468 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-26 02:09:42,546 - DEBUG - Verifying the vn in opserver
2026-01-26 02:09:42,546 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-93512468 virtual network link through opserver 10.0.0.27
2026-01-26 02:09:42,546 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-01-26 02:09:42,850 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-01-26 02:09:42,928 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-93512468', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-93512468?flat'}
2026-01-26 02:09:42,928 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-93512468 is found in opserver
2026-01-26 02:09:42,939 - DEBUG - Do not have enough data to verify VN in agent
2026-01-26 02:09:42,944 - DEBUG - VRF ids for VN ctest-vn-93512468: {}
2026-01-26 02:09:42,944 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-26 02:09:42,950 - DEBUG - Requesting: http://10.0.0.27:8082/domain/86876349-3213-4255-84d6-1553c6e59d0b
2026-01-26 02:09:42,961 - DEBUG - Requesting: http://10.0.0.27:8082/project/c8e36d8d-489d-4d21-a098-434d55a44830
2026-01-26 02:09:43,032 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/20d438bc-9b38-4a03-b043-d9a441153252
2026-01-26 02:09:43,048 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/20d438bc-9b38-4a03-b043-d9a441153252
2026-01-26 02:09:43,060 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bd32ff67-645c-4bca-bc1b-42a1588b9335
2026-01-26 02:09:43,069 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bd32ff67-645c-4bca-bc1b-42a1588b9335
2026-01-26 02:09:43,077 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/c7f53ca6-a49f-4de7-bc4c-e75c40e3aeb2
2026-01-26 02:09:43,086 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-26 02:09:43,086 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/20d438bc-9b38-4a03-b043-d9a441153252
2026-01-26 02:09:43,096 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bd32ff67-645c-4bca-bc1b-42a1588b9335
2026-01-26 02:09:43,114 - INFO - Verified VN network id 12 for VN 20d438bc-9b38-4a03-b043-d9a441153252
2026-01-26 02:09:43,114 - INFO - Verifications in API Server for VN ctest-vn-61928070 passed
2026-01-26 02:09:43,114 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/20d438bc-9b38-4a03-b043-d9a441153252
2026-01-26 02:09:43,126 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bd32ff67-645c-4bca-bc1b-42a1588b9335
2026-01-26 02:09:43,134 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bd32ff67-645c-4bca-bc1b-42a1588b9335
2026-01-26 02:09:43,143 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/c7f53ca6-a49f-4de7-bc4c-e75c40e3aeb2
2026-01-26 02:09:43,156 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-61928070', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40608789', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2365578086985517571', 'uuid-lslong': '12701234673604702802'}, 'enable': 'true', 'created': '2026-01-26T02:09:40', 'last-modified': '2026-01-26T02:09:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.479794'}
2026-01-26 02:09:43,163 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-26 02:09:43,163 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61928070 passed
2026-01-26 02:09:43,164 - DEBUG - ====Verifying policy data for ctest-vn-61928070 in API_Server ======
2026-01-26 02:09:43,164 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-01-26 02:09:43,172 - DEBUG - Requesting: http://10.0.0.27:8082/domain/86876349-3213-4255-84d6-1553c6e59d0b
2026-01-26 02:09:43,184 - DEBUG - Requesting: http://10.0.0.27:8082/project/c8e36d8d-489d-4d21-a098-434d55a44830
2026-01-26 02:09:43,259 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/20d438bc-9b38-4a03-b043-d9a441153252
2026-01-26 02:09:43,268 - DEBUG - ==>Verifying data for policy with id: e4cc3af4-ef15-4b37-a05a-7446d1138f61, fqn: ['default-domain', 'ctest-TestBasicPolicy-40608789', 'ctest-policy-allow-all-05071974']
2026-01-26 02:09:43,268 - INFO - VN ctest-vn-61928070 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-26 02:09:43,268 - DEBUG - Verifying the vn in opserver
2026-01-26 02:09:43,268 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-61928070 virtual network link through opserver 10.0.0.27
2026-01-26 02:09:43,269 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-01-26 02:09:43,280 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-61928070', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-61928070?flat'}
2026-01-26 02:09:43,280 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40608789:ctest-vn-61928070 is found in opserver
2026-01-26 02:09:43,290 - DEBUG - Do not have enough data to verify VN in agent
2026-01-26 02:09:43,296 - DEBUG - VRF ids for VN ctest-vn-61928070: {}
2026-01-26 02:09:43,367 - DEBUG - Services list from nova: [