2026-02-12 04:25:16,617 - INFO - Domain Default found not creating
2026-02-12 04:25:16,813 - INFO - Project ctest-TestBasicPolicy-26024978 not found, creating it
2026-02-12 04:25:17,308 - INFO - Created Project:ctest-TestBasicPolicy-26024978, ID : d01946ca-b43b-4988-b5ae-12e48bcb8366
2026-02-12 04:25:18,972 - INFO - ================================================================================
2026-02-12 04:25:18,972 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-12 04:25:18,972 - 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-12 04:25:19,233 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-12 04:25:19,233 - INFO - Initial checks done. Running the testcase now
2026-02-12 04:25:19,233 - INFO -
2026-02-12 04:25:19,853 - DEBUG - Response for create_network : {'network': {'id': '195c10a9-5689-4aa6-af7a-7250d4e6b94c', 'name': 'ctest-vn-53199347', 'tenant_id': 'd01946cab43b4988b5ae12e48bcb8366', 'project_id': 'd01946cab43b4988b5ae12e48bcb8366', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26024978', 'ctest-vn-53199347'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 04:25:20,054 - DEBUG - Response for create_subnet : {'subnet': {'id': '765c9f91-db47-4557-8e59-882c895c1f4c', 'name': '', 'tenant_id': 'd01946cab43b4988b5ae12e48bcb8366', 'network_id': '195c10a9-5689-4aa6-af7a-7250d4e6b94c', 'ip_version': 4, 'cidr': '178.103.52.0/26', 'allocation_pools': [{'start': '178.103.52.2', 'end': '178.103.52.62'}], 'gateway_ip': '178.103.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.103.52.2', 'tags': [], 'project_id': 'd01946cab43b4988b5ae12e48bcb8366'}}
2026-02-12 04:25:20,072 - INFO - Created VN ctest-vn-53199347
2026-02-12 04:25:20,124 - DEBUG - VN ctest-vn-53199347 UUID is 195c10a9-5689-4aa6-af7a-7250d4e6b94c
2026-02-12 04:25:20,417 - DEBUG - Response for create_network : {'network': {'id': 'f6cf3fd0-357c-4603-86d3-80fdfb56b0fb', 'name': 'ctest-vn-46830418', 'tenant_id': 'd01946cab43b4988b5ae12e48bcb8366', 'project_id': 'd01946cab43b4988b5ae12e48bcb8366', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26024978', 'ctest-vn-46830418'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 04:25:20,615 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e301df0-a53d-4925-be31-9adfc080def2', 'name': '', 'tenant_id': 'd01946cab43b4988b5ae12e48bcb8366', 'network_id': 'f6cf3fd0-357c-4603-86d3-80fdfb56b0fb', 'ip_version': 4, 'cidr': '46.86.238.192/26', 'allocation_pools': [{'start': '46.86.238.194', 'end': '46.86.238.254'}], 'gateway_ip': '46.86.238.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.86.238.194', 'tags': [], 'project_id': 'd01946cab43b4988b5ae12e48bcb8366'}}
2026-02-12 04:25:20,637 - INFO - Created VN ctest-vn-46830418
2026-02-12 04:25:20,692 - DEBUG - VN ctest-vn-46830418 UUID is f6cf3fd0-357c-4603-86d3-80fdfb56b0fb
2026-02-12 04:25:20,813 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-53199347, 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-26024978:ctest-vn-46830418, 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-12 04:25:21,121 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '195c10a9-5689-4aa6-af7a-7250d4e6b94c', 'name': 'ctest-vn-53199347', 'tenant_id': 'd01946cab43b4988b5ae12e48bcb8366', 'project_id': 'd01946cab43b4988b5ae12e48bcb8366', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['765c9f91-db47-4557-8e59-882c895c1f4c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26024978', 'ctest-vn-53199347'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26024978', 'ctest-policy-allow-all-75985910']], 'subnet_ipam': [{'subnet_cidr': '178.103.52.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 04:25:21,408 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f6cf3fd0-357c-4603-86d3-80fdfb56b0fb', 'name': 'ctest-vn-46830418', 'tenant_id': 'd01946cab43b4988b5ae12e48bcb8366', 'project_id': 'd01946cab43b4988b5ae12e48bcb8366', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6e301df0-a53d-4925-be31-9adfc080def2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26024978', 'ctest-vn-46830418'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26024978', 'ctest-policy-allow-all-75985910']], 'subnet_ipam': [{'subnet_cidr': '46.86.238.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 04:25:21,544 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-12 04:25:21,883 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-12 04:25:21,919 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2186ef1e-7bf3-40c2-be0d-3d798505f86e
2026-02-12 04:25:21,933 - DEBUG - Requesting: http://10.0.0.38:8082/project/d01946ca-b43b-4988-b5ae-12e48bcb8366
2026-02-12 04:25:22,019 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/195c10a9-5689-4aa6-af7a-7250d4e6b94c
2026-02-12 04:25:22,030 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/195c10a9-5689-4aa6-af7a-7250d4e6b94c
2026-02-12 04:25:22,040 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da36373e-2b8c-4289-b5c4-7e63a364f9a4
2026-02-12 04:25:22,048 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da36373e-2b8c-4289-b5c4-7e63a364f9a4
2026-02-12 04:25:22,057 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fd8bd639-eb6d-4309-9d3c-2d9e2c90d3e0
2026-02-12 04:25:22,064 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 04:25:22,064 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/195c10a9-5689-4aa6-af7a-7250d4e6b94c
2026-02-12 04:25:22,074 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da36373e-2b8c-4289-b5c4-7e63a364f9a4
2026-02-12 04:25:22,089 - INFO - Verified VN network id 11 for VN 195c10a9-5689-4aa6-af7a-7250d4e6b94c
2026-02-12 04:25:22,090 - INFO - Verifications in API Server for VN ctest-vn-53199347 passed
2026-02-12 04:25:22,090 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/195c10a9-5689-4aa6-af7a-7250d4e6b94c
2026-02-12 04:25:22,100 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da36373e-2b8c-4289-b5c4-7e63a364f9a4
2026-02-12 04:25:22,108 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/da36373e-2b8c-4289-b5c4-7e63a364f9a4
2026-02-12 04:25:22,116 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fd8bd639-eb6d-4309-9d3c-2d9e2c90d3e0
2026-02-12 04:25:22,131 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-53199347', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26024978', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1827353868292934310', 'uuid-lslong': '12644544595290929484'}, 'enable': 'true', 'created': '2026-02-12T04:25:19', 'last-modified': '2026-02-12T04:25:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.041215'}
2026-02-12 04:25:22,137 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 04:25:22,137 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53199347 passed
2026-02-12 04:25:22,138 - DEBUG - ====Verifying policy data for ctest-vn-53199347 in API_Server ======
2026-02-12 04:25:22,138 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-12 04:25:22,143 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2186ef1e-7bf3-40c2-be0d-3d798505f86e
2026-02-12 04:25:22,156 - DEBUG - Requesting: http://10.0.0.38:8082/project/d01946ca-b43b-4988-b5ae-12e48bcb8366
2026-02-12 04:25:22,228 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/195c10a9-5689-4aa6-af7a-7250d4e6b94c
2026-02-12 04:25:22,239 - DEBUG - ==>Verifying data for policy with id: b8ef5282-6fa3-402d-9606-6f2ab27da2f1, fqn: ['default-domain', 'ctest-TestBasicPolicy-26024978', 'ctest-policy-allow-all-75985910']
2026-02-12 04:25:22,239 - INFO - VN ctest-vn-53199347 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 04:25:22,239 - DEBUG - Verifying the vn in opserver
2026-02-12 04:25:22,240 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-53199347 virtual network link through opserver 10.0.0.38
2026-02-12 04:25:22,240 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-12 04:25:22,575 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-12 04:25:22,644 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-53199347', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-53199347?flat'}
2026-02-12 04:25:22,645 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-53199347 is found in opserver
2026-02-12 04:25:22,655 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 04:25:22,661 - DEBUG - VRF ids for VN ctest-vn-53199347: {}
2026-02-12 04:25:22,661 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-12 04:25:22,668 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2186ef1e-7bf3-40c2-be0d-3d798505f86e
2026-02-12 04:25:22,680 - DEBUG - Requesting: http://10.0.0.38:8082/project/d01946ca-b43b-4988-b5ae-12e48bcb8366
2026-02-12 04:25:22,751 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f6cf3fd0-357c-4603-86d3-80fdfb56b0fb
2026-02-12 04:25:22,762 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f6cf3fd0-357c-4603-86d3-80fdfb56b0fb
2026-02-12 04:25:22,773 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eac37565-7c28-4a52-9b14-5d6b4d276bab
2026-02-12 04:25:22,781 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eac37565-7c28-4a52-9b14-5d6b4d276bab
2026-02-12 04:25:22,788 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/010eb876-d0ed-4ff8-b382-cac5e4b46643
2026-02-12 04:25:22,796 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 04:25:22,796 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f6cf3fd0-357c-4603-86d3-80fdfb56b0fb
2026-02-12 04:25:22,805 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eac37565-7c28-4a52-9b14-5d6b4d276bab
2026-02-12 04:25:22,821 - INFO - Verified VN network id 12 for VN f6cf3fd0-357c-4603-86d3-80fdfb56b0fb
2026-02-12 04:25:22,821 - INFO - Verifications in API Server for VN ctest-vn-46830418 passed
2026-02-12 04:25:22,821 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f6cf3fd0-357c-4603-86d3-80fdfb56b0fb
2026-02-12 04:25:22,833 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eac37565-7c28-4a52-9b14-5d6b4d276bab
2026-02-12 04:25:22,842 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eac37565-7c28-4a52-9b14-5d6b4d276bab
2026-02-12 04:25:22,850 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/010eb876-d0ed-4ff8-b382-cac5e4b46643
2026-02-12 04:25:22,863 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-46830418', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26024978', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17784503616992462339', 'uuid-lslong': '9715250649500135675'}, 'enable': 'true', 'created': '2026-02-12T04:25:20', 'last-modified': '2026-02-12T04:25:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.532383'}
2026-02-12 04:25:22,870 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 04:25:22,871 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46830418 passed
2026-02-12 04:25:22,871 - DEBUG - ====Verifying policy data for ctest-vn-46830418 in API_Server ======
2026-02-12 04:25:22,871 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-12 04:25:22,878 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2186ef1e-7bf3-40c2-be0d-3d798505f86e
2026-02-12 04:25:22,890 - DEBUG - Requesting: http://10.0.0.38:8082/project/d01946ca-b43b-4988-b5ae-12e48bcb8366
2026-02-12 04:25:22,964 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f6cf3fd0-357c-4603-86d3-80fdfb56b0fb
2026-02-12 04:25:22,976 - DEBUG - ==>Verifying data for policy with id: b8ef5282-6fa3-402d-9606-6f2ab27da2f1, fqn: ['default-domain', 'ctest-TestBasicPolicy-26024978', 'ctest-policy-allow-all-75985910']
2026-02-12 04:25:22,976 - INFO - VN ctest-vn-46830418 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 04:25:22,976 - DEBUG - Verifying the vn in opserver
2026-02-12 04:25:22,976 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-46830418 virtual network link through opserver 10.0.0.38
2026-02-12 04:25:22,976 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-12 04:25:22,986 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-46830418', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-46830418?flat'}
2026-02-12 04:25:22,986 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26024978:ctest-vn-46830418 is found in opserver
2026-02-12 04:25:22,996 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 04:25:23,000 - DEBUG - VRF ids for VN ctest-vn-46830418: {}
2026-02-12 04:25:23,063 - DEBUG - Services list from nova: [