2025-12-09 22:12:30,836 - INFO - Domain Default found not creating
2025-12-09 22:12:30,997 - INFO - Project ctest-TestBasicPolicy-23837029 not found, creating it
2025-12-09 22:12:31,469 - INFO - Created Project:ctest-TestBasicPolicy-23837029, ID : d80756a8-934f-4e33-8ab1-9627f240f6cc
2025-12-09 22:12:32,939 - INFO - ================================================================================
2025-12-09 22:12:32,939 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-09 22:12:32,939 - 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
2025-12-09 22:12:33,194 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with
2025-12-09 22:12:33,194 - INFO - Initial checks done. Running the testcase now
2025-12-09 22:12:33,195 - INFO -
2025-12-09 22:12:33,725 - DEBUG - Response for create_network : {'network': {'id': 'ecc673dd-3f76-4610-aa81-c4b1ef311dce', 'name': 'ctest-vn-97465271', 'tenant_id': 'd80756a8934f4e338ab19627f240f6cc', 'project_id': 'd80756a8934f4e338ab19627f240f6cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23837029', 'ctest-vn-97465271'], 'port_security_enabled': True, 'description': ''}}
2025-12-09 22:12:33,881 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ef3202e-9d87-4804-a32a-3083e2e53ff6', 'name': '', 'tenant_id': 'd80756a8934f4e338ab19627f240f6cc', 'network_id': 'ecc673dd-3f76-4610-aa81-c4b1ef311dce', 'ip_version': 4, 'cidr': '71.85.250.192/26', 'allocation_pools': [{'start': '71.85.250.194', 'end': '71.85.250.254'}], 'gateway_ip': '71.85.250.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.85.250.194', 'tags': [], 'project_id': 'd80756a8934f4e338ab19627f240f6cc'}}
2025-12-09 22:12:33,898 - INFO - Created VN ctest-vn-97465271
2025-12-09 22:12:33,953 - DEBUG - VN ctest-vn-97465271 UUID is ecc673dd-3f76-4610-aa81-c4b1ef311dce
2025-12-09 22:12:34,292 - DEBUG - Response for create_network : {'network': {'id': 'c676c0ef-a69c-427d-a6cc-ec2bb6e3560b', 'name': 'ctest-vn-00609437', 'tenant_id': 'd80756a8934f4e338ab19627f240f6cc', 'project_id': 'd80756a8934f4e338ab19627f240f6cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23837029', 'ctest-vn-00609437'], 'port_security_enabled': True, 'description': ''}}
2025-12-09 22:12:34,460 - DEBUG - Response for create_subnet : {'subnet': {'id': '052c5c84-ef3c-49a0-a08d-4b3900a01d37', 'name': '', 'tenant_id': 'd80756a8934f4e338ab19627f240f6cc', 'network_id': 'c676c0ef-a69c-427d-a6cc-ec2bb6e3560b', 'ip_version': 4, 'cidr': '1.117.37.192/26', 'allocation_pools': [{'start': '1.117.37.194', 'end': '1.117.37.254'}], 'gateway_ip': '1.117.37.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.117.37.194', 'tags': [], 'project_id': 'd80756a8934f4e338ab19627f240f6cc'}}
2025-12-09 22:12:34,478 - INFO - Created VN ctest-vn-00609437
2025-12-09 22:12:34,529 - DEBUG - VN ctest-vn-00609437 UUID is c676c0ef-a69c-427d-a6cc-ec2bb6e3560b
2025-12-09 22:12:34,677 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-97465271, 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-23837029:ctest-vn-00609437, 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]
2025-12-09 22:12:35,074 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ecc673dd-3f76-4610-aa81-c4b1ef311dce', 'name': 'ctest-vn-97465271', 'tenant_id': 'd80756a8934f4e338ab19627f240f6cc', 'project_id': 'd80756a8934f4e338ab19627f240f6cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1ef3202e-9d87-4804-a32a-3083e2e53ff6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23837029', 'ctest-vn-97465271'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23837029', 'ctest-policy-allow-all-20481265']], 'subnet_ipam': [{'subnet_cidr': '71.85.250.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-09 22:12:35,386 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c676c0ef-a69c-427d-a6cc-ec2bb6e3560b', 'name': 'ctest-vn-00609437', 'tenant_id': 'd80756a8934f4e338ab19627f240f6cc', 'project_id': 'd80756a8934f4e338ab19627f240f6cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['052c5c84-ef3c-49a0-a08d-4b3900a01d37'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23837029', 'ctest-vn-00609437'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23837029', 'ctest-policy-allow-all-20481265']], 'subnet_ipam': [{'subnet_cidr': '1.117.37.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-09 22:12:35,517 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-09 22:12:35,818 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-09 22:12:35,850 - DEBUG - Requesting: http://10.0.0.19:8082/domain/801b6e3b-8689-4746-bbce-2865015eaf9a
2025-12-09 22:12:35,861 - DEBUG - Requesting: http://10.0.0.19:8082/project/d80756a8-934f-4e33-8ab1-9627f240f6cc
2025-12-09 22:12:35,932 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ecc673dd-3f76-4610-aa81-c4b1ef311dce
2025-12-09 22:12:35,942 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ecc673dd-3f76-4610-aa81-c4b1ef311dce
2025-12-09 22:12:35,950 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e2551760-d087-4a31-9573-de247f6ca8ef
2025-12-09 22:12:35,956 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e2551760-d087-4a31-9573-de247f6ca8ef
2025-12-09 22:12:35,961 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/12e5b232-bd00-42a0-8b67-f59bd899e0f8
2025-12-09 22:12:35,966 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-09 22:12:35,966 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ecc673dd-3f76-4610-aa81-c4b1ef311dce
2025-12-09 22:12:35,974 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e2551760-d087-4a31-9573-de247f6ca8ef
2025-12-09 22:12:35,985 - INFO - Verified VN network id 9 for VN ecc673dd-3f76-4610-aa81-c4b1ef311dce
2025-12-09 22:12:35,985 - INFO - Verifications in API Server for VN ctest-vn-97465271 passed
2025-12-09 22:12:35,985 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ecc673dd-3f76-4610-aa81-c4b1ef311dce
2025-12-09 22:12:35,993 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e2551760-d087-4a31-9573-de247f6ca8ef
2025-12-09 22:12:35,999 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/e2551760-d087-4a31-9573-de247f6ca8ef
2025-12-09 22:12:36,005 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/12e5b232-bd00-42a0-8b67-f59bd899e0f8
2025-12-09 22:12:36,014 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-97465271', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23837029', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17061451632429385232', 'uuid-lslong': '12286317526944652750'}, 'enable': 'true', 'created': '2025-12-09T22:12:33', 'last-modified': '2025-12-09T22:12:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987543'}
2025-12-09 22:12:36,019 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-09 22:12:36,019 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97465271 passed
2025-12-09 22:12:36,020 - DEBUG - ====Verifying policy data for ctest-vn-97465271 in API_Server ======
2025-12-09 22:12:36,020 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-09 22:12:36,024 - DEBUG - Requesting: http://10.0.0.19:8082/domain/801b6e3b-8689-4746-bbce-2865015eaf9a
2025-12-09 22:12:36,033 - DEBUG - Requesting: http://10.0.0.19:8082/project/d80756a8-934f-4e33-8ab1-9627f240f6cc
2025-12-09 22:12:36,102 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ecc673dd-3f76-4610-aa81-c4b1ef311dce
2025-12-09 22:12:36,110 - DEBUG - ==>Verifying data for policy with id: 774cad21-1356-4df0-a4a8-c209bc1b7887, fqn: ['default-domain', 'ctest-TestBasicPolicy-23837029', 'ctest-policy-allow-all-20481265']
2025-12-09 22:12:36,110 - INFO - VN ctest-vn-97465271 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-09 22:12:36,110 - DEBUG - Verifying the vn in opserver
2025-12-09 22:12:36,110 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-97465271 virtual network link through opserver 10.0.0.19
2025-12-09 22:12:36,110 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-12-09 22:12:36,405 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-12-09 22:12:36,464 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-97465271', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-97465271?flat'}
2025-12-09 22:12:36,464 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-97465271 is found in opserver
2025-12-09 22:12:36,473 - DEBUG - Do not have enough data to verify VN in agent
2025-12-09 22:12:36,478 - DEBUG - VRF ids for VN ctest-vn-97465271: {}
2025-12-09 22:12:36,478 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-09 22:12:36,483 - DEBUG - Requesting: http://10.0.0.19:8082/domain/801b6e3b-8689-4746-bbce-2865015eaf9a
2025-12-09 22:12:36,493 - DEBUG - Requesting: http://10.0.0.19:8082/project/d80756a8-934f-4e33-8ab1-9627f240f6cc
2025-12-09 22:12:36,570 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c676c0ef-a69c-427d-a6cc-ec2bb6e3560b
2025-12-09 22:12:36,581 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c676c0ef-a69c-427d-a6cc-ec2bb6e3560b
2025-12-09 22:12:36,589 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/001f75fd-ca18-499e-a3f7-a82ef0389496
2025-12-09 22:12:36,595 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/001f75fd-ca18-499e-a3f7-a82ef0389496
2025-12-09 22:12:36,600 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/631a4873-79c8-450a-93d9-f0a26680de52
2025-12-09 22:12:36,606 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-09 22:12:36,606 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c676c0ef-a69c-427d-a6cc-ec2bb6e3560b
2025-12-09 22:12:36,614 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/001f75fd-ca18-499e-a3f7-a82ef0389496
2025-12-09 22:12:36,627 - INFO - Verified VN network id 10 for VN c676c0ef-a69c-427d-a6cc-ec2bb6e3560b
2025-12-09 22:12:36,627 - INFO - Verifications in API Server for VN ctest-vn-00609437 passed
2025-12-09 22:12:36,627 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c676c0ef-a69c-427d-a6cc-ec2bb6e3560b
2025-12-09 22:12:36,636 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/001f75fd-ca18-499e-a3f7-a82ef0389496
2025-12-09 22:12:36,642 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/001f75fd-ca18-499e-a3f7-a82ef0389496
2025-12-09 22:12:36,648 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/631a4873-79c8-450a-93d9-f0a26680de52
2025-12-09 22:12:36,658 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-00609437', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23837029', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14300829802286563965', 'uuid-lslong': '12019241178041112075'}, 'enable': 'true', 'created': '2025-12-09T22:12:34', 'last-modified': '2025-12-09T22:12:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.321032'}
2025-12-09 22:12:36,663 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-09 22:12:36,663 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00609437 passed
2025-12-09 22:12:36,663 - DEBUG - ====Verifying policy data for ctest-vn-00609437 in API_Server ======
2025-12-09 22:12:36,663 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-09 22:12:36,670 - DEBUG - Requesting: http://10.0.0.19:8082/domain/801b6e3b-8689-4746-bbce-2865015eaf9a
2025-12-09 22:12:36,680 - DEBUG - Requesting: http://10.0.0.19:8082/project/d80756a8-934f-4e33-8ab1-9627f240f6cc
2025-12-09 22:12:36,753 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c676c0ef-a69c-427d-a6cc-ec2bb6e3560b
2025-12-09 22:12:36,762 - DEBUG - ==>Verifying data for policy with id: 774cad21-1356-4df0-a4a8-c209bc1b7887, fqn: ['default-domain', 'ctest-TestBasicPolicy-23837029', 'ctest-policy-allow-all-20481265']
2025-12-09 22:12:36,762 - INFO - VN ctest-vn-00609437 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-09 22:12:36,762 - DEBUG - Verifying the vn in opserver
2025-12-09 22:12:36,762 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-00609437 virtual network link through opserver 10.0.0.19
2025-12-09 22:12:36,762 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-12-09 22:12:36,770 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-00609437', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-00609437?flat'}
2025-12-09 22:12:36,770 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23837029:ctest-vn-00609437 is found in opserver
2025-12-09 22:12:36,778 - DEBUG - Do not have enough data to verify VN in agent
2025-12-09 22:12:36,782 - DEBUG - VRF ids for VN ctest-vn-00609437: {}
2025-12-09 22:12:36,838 - DEBUG - Services list from nova: [