2026-02-04 21:40:44,418 - INFO - Domain Default found not creating
2026-02-04 21:40:44,591 - INFO - Project ctest-TestBasicPolicy-12505686 not found, creating it
2026-02-04 21:40:45,051 - INFO - Created Project:ctest-TestBasicPolicy-12505686, ID : 190cad8b-6823-4888-9bf2-203db06cf42c
2026-02-04 21:40:46,521 - INFO - ================================================================================
2026-02-04 21:40:46,521 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-04 21:40:46,521 - 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-04 21:40:46,783 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-04 21:40:46,783 - INFO - Initial checks done. Running the testcase now
2026-02-04 21:40:46,784 - INFO -
2026-02-04 21:40:47,338 - DEBUG - Response for create_network : {'network': {'id': 'ac7e7729-62d0-4d35-8ef5-ff463746b57c', 'name': 'ctest-vn-07318518', 'tenant_id': '190cad8b682348889bf2203db06cf42c', 'project_id': '190cad8b682348889bf2203db06cf42c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12505686', 'ctest-vn-07318518'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 21:40:47,478 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0d00c98-5698-4093-829e-1f109b6fc9b7', 'name': '', 'tenant_id': '190cad8b682348889bf2203db06cf42c', 'network_id': 'ac7e7729-62d0-4d35-8ef5-ff463746b57c', 'ip_version': 4, 'cidr': '187.141.192.64/26', 'allocation_pools': [{'start': '187.141.192.66', 'end': '187.141.192.126'}], 'gateway_ip': '187.141.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.141.192.66', 'tags': [], 'project_id': '190cad8b682348889bf2203db06cf42c'}}
2026-02-04 21:40:47,493 - INFO - Created VN ctest-vn-07318518
2026-02-04 21:40:47,546 - DEBUG - VN ctest-vn-07318518 UUID is ac7e7729-62d0-4d35-8ef5-ff463746b57c
2026-02-04 21:40:47,813 - DEBUG - Response for create_network : {'network': {'id': 'bea2e418-58e0-4d4e-9a81-146a5c1f8b6c', 'name': 'ctest-vn-30286728', 'tenant_id': '190cad8b682348889bf2203db06cf42c', 'project_id': '190cad8b682348889bf2203db06cf42c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12505686', 'ctest-vn-30286728'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 21:40:48,004 - DEBUG - Response for create_subnet : {'subnet': {'id': '939d9503-456e-4e5e-8497-534dc2aa363b', 'name': '', 'tenant_id': '190cad8b682348889bf2203db06cf42c', 'network_id': 'bea2e418-58e0-4d4e-9a81-146a5c1f8b6c', 'ip_version': 4, 'cidr': '133.95.220.64/26', 'allocation_pools': [{'start': '133.95.220.66', 'end': '133.95.220.126'}], 'gateway_ip': '133.95.220.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.95.220.66', 'tags': [], 'project_id': '190cad8b682348889bf2203db06cf42c'}}
2026-02-04 21:40:48,021 - INFO - Created VN ctest-vn-30286728
2026-02-04 21:40:48,074 - DEBUG - VN ctest-vn-30286728 UUID is bea2e418-58e0-4d4e-9a81-146a5c1f8b6c
2026-02-04 21:40:48,195 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-07318518, 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-12505686:ctest-vn-30286728, 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-04 21:40:48,491 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ac7e7729-62d0-4d35-8ef5-ff463746b57c', 'name': 'ctest-vn-07318518', 'tenant_id': '190cad8b682348889bf2203db06cf42c', 'project_id': '190cad8b682348889bf2203db06cf42c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d0d00c98-5698-4093-829e-1f109b6fc9b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12505686', 'ctest-vn-07318518'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12505686', 'ctest-policy-allow-all-54095939']], 'subnet_ipam': [{'subnet_cidr': '187.141.192.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-04 21:40:48,721 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bea2e418-58e0-4d4e-9a81-146a5c1f8b6c', 'name': 'ctest-vn-30286728', 'tenant_id': '190cad8b682348889bf2203db06cf42c', 'project_id': '190cad8b682348889bf2203db06cf42c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['939d9503-456e-4e5e-8497-534dc2aa363b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12505686', 'ctest-vn-30286728'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12505686', 'ctest-policy-allow-all-54095939']], 'subnet_ipam': [{'subnet_cidr': '133.95.220.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-04 21:40:48,870 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-04 21:40:49,176 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-04 21:40:49,209 - DEBUG - Requesting: http://10.0.0.50:8082/domain/010506cc-b7cf-4ee8-b41e-b3fdd3161dd8
2026-02-04 21:40:49,221 - DEBUG - Requesting: http://10.0.0.50:8082/project/190cad8b-6823-4888-9bf2-203db06cf42c
2026-02-04 21:40:49,295 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ac7e7729-62d0-4d35-8ef5-ff463746b57c
2026-02-04 21:40:49,304 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ac7e7729-62d0-4d35-8ef5-ff463746b57c
2026-02-04 21:40:49,312 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0f71fe93-6343-44d2-970a-bb0525738caf
2026-02-04 21:40:49,318 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0f71fe93-6343-44d2-970a-bb0525738caf
2026-02-04 21:40:49,323 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4b8fd5f6-aef7-478c-9f08-4c8cad862f21
2026-02-04 21:40:49,329 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-04 21:40:49,329 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ac7e7729-62d0-4d35-8ef5-ff463746b57c
2026-02-04 21:40:49,336 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0f71fe93-6343-44d2-970a-bb0525738caf
2026-02-04 21:40:49,347 - INFO - Verified VN network id 11 for VN ac7e7729-62d0-4d35-8ef5-ff463746b57c
2026-02-04 21:40:49,347 - INFO - Verifications in API Server for VN ctest-vn-07318518 passed
2026-02-04 21:40:49,348 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ac7e7729-62d0-4d35-8ef5-ff463746b57c
2026-02-04 21:40:49,355 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0f71fe93-6343-44d2-970a-bb0525738caf
2026-02-04 21:40:49,360 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0f71fe93-6343-44d2-970a-bb0525738caf
2026-02-04 21:40:49,365 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4b8fd5f6-aef7-478c-9f08-4c8cad862f21
2026-02-04 21:40:49,375 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-07318518', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12505686', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12429503041224330549', 'uuid-lslong': '10301420399720052092'}, 'enable': 'true', 'created': '2026-02-04T21:40:47', 'last-modified': '2026-02-04T21:40:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907751'}
2026-02-04 21:40:49,380 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-04 21:40:49,380 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07318518 passed
2026-02-04 21:40:49,380 - DEBUG - ====Verifying policy data for ctest-vn-07318518 in API_Server ======
2026-02-04 21:40:49,380 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-04 21:40:49,385 - DEBUG - Requesting: http://10.0.0.50:8082/domain/010506cc-b7cf-4ee8-b41e-b3fdd3161dd8
2026-02-04 21:40:49,394 - DEBUG - Requesting: http://10.0.0.50:8082/project/190cad8b-6823-4888-9bf2-203db06cf42c
2026-02-04 21:40:49,462 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ac7e7729-62d0-4d35-8ef5-ff463746b57c
2026-02-04 21:40:49,470 - DEBUG - ==>Verifying data for policy with id: 9d683467-d449-42c8-84a8-a0770a00996b, fqn: ['default-domain', 'ctest-TestBasicPolicy-12505686', 'ctest-policy-allow-all-54095939']
2026-02-04 21:40:49,470 - INFO - VN ctest-vn-07318518 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-04 21:40:49,470 - DEBUG - Verifying the vn in opserver
2026-02-04 21:40:49,471 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-07318518 virtual network link through opserver 10.0.0.50
2026-02-04 21:40:49,471 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-04 21:40:49,764 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-04 21:40:49,825 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-07318518', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-07318518?flat'}
2026-02-04 21:40:49,825 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-07318518 is found in opserver
2026-02-04 21:40:49,834 - DEBUG - Do not have enough data to verify VN in agent
2026-02-04 21:40:49,838 - DEBUG - VRF ids for VN ctest-vn-07318518: {}
2026-02-04 21:40:49,838 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-04 21:40:49,843 - DEBUG - Requesting: http://10.0.0.50:8082/domain/010506cc-b7cf-4ee8-b41e-b3fdd3161dd8
2026-02-04 21:40:49,853 - DEBUG - Requesting: http://10.0.0.50:8082/project/190cad8b-6823-4888-9bf2-203db06cf42c
2026-02-04 21:40:49,928 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bea2e418-58e0-4d4e-9a81-146a5c1f8b6c
2026-02-04 21:40:49,939 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bea2e418-58e0-4d4e-9a81-146a5c1f8b6c
2026-02-04 21:40:49,947 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1e02dc55-588e-4f0d-94be-90856e12ba20
2026-02-04 21:40:49,953 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1e02dc55-588e-4f0d-94be-90856e12ba20
2026-02-04 21:40:49,960 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a314a970-7be9-4cb9-90c8-dd32acd696ed
2026-02-04 21:40:49,966 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-04 21:40:49,966 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bea2e418-58e0-4d4e-9a81-146a5c1f8b6c
2026-02-04 21:40:49,973 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1e02dc55-588e-4f0d-94be-90856e12ba20
2026-02-04 21:40:49,984 - INFO - Verified VN network id 12 for VN bea2e418-58e0-4d4e-9a81-146a5c1f8b6c
2026-02-04 21:40:49,984 - INFO - Verifications in API Server for VN ctest-vn-30286728 passed
2026-02-04 21:40:49,984 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bea2e418-58e0-4d4e-9a81-146a5c1f8b6c
2026-02-04 21:40:49,992 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1e02dc55-588e-4f0d-94be-90856e12ba20
2026-02-04 21:40:49,998 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1e02dc55-588e-4f0d-94be-90856e12ba20
2026-02-04 21:40:50,003 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a314a970-7be9-4cb9-90c8-dd32acd696ed
2026-02-04 21:40:50,014 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-30286728', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12505686', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13736792606654877006', 'uuid-lslong': '11133202200881236844'}, 'enable': 'true', 'created': '2026-02-04T21:40:47', 'last-modified': '2026-02-04T21:40:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.315860'}
2026-02-04 21:40:50,019 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-04 21:40:50,019 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30286728 passed
2026-02-04 21:40:50,019 - DEBUG - ====Verifying policy data for ctest-vn-30286728 in API_Server ======
2026-02-04 21:40:50,019 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-04 21:40:50,025 - DEBUG - Requesting: http://10.0.0.50:8082/domain/010506cc-b7cf-4ee8-b41e-b3fdd3161dd8
2026-02-04 21:40:50,035 - DEBUG - Requesting: http://10.0.0.50:8082/project/190cad8b-6823-4888-9bf2-203db06cf42c
2026-02-04 21:40:50,105 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bea2e418-58e0-4d4e-9a81-146a5c1f8b6c
2026-02-04 21:40:50,114 - DEBUG - ==>Verifying data for policy with id: 9d683467-d449-42c8-84a8-a0770a00996b, fqn: ['default-domain', 'ctest-TestBasicPolicy-12505686', 'ctest-policy-allow-all-54095939']
2026-02-04 21:40:50,114 - INFO - VN ctest-vn-30286728 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-04 21:40:50,114 - DEBUG - Verifying the vn in opserver
2026-02-04 21:40:50,114 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-30286728 virtual network link through opserver 10.0.0.50
2026-02-04 21:40:50,114 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-04 21:40:50,123 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-30286728', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-30286728?flat'}
2026-02-04 21:40:50,123 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12505686:ctest-vn-30286728 is found in opserver
2026-02-04 21:40:50,132 - DEBUG - Do not have enough data to verify VN in agent
2026-02-04 21:40:50,135 - DEBUG - VRF ids for VN ctest-vn-30286728: {}
2026-02-04 21:40:50,195 - DEBUG - Services list from nova: [