2026-02-09 01:48:43,032 - INFO - Reading existing Domain with UUID 1675f465-2475-43b6-ab5c-695718ce05c3
2026-02-09 01:48:43,044 - INFO - Using existing domain ['admin_domain'](1675f465-2475-43b6-ab5c-695718ce05c3)
2026-02-09 01:48:43,291 - INFO - Project ctest-TestBasicPolicy-80174386 not found, creating it
2026-02-09 01:48:43,842 - INFO - Created Project:ctest-TestBasicPolicy-80174386, ID : d22c2de4-0fdc-40bf-979d-2d1a6340f789
2026-02-09 01:48:45,678 - INFO - ================================================================================
2026-02-09 01:48:45,679 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-09 01:48:45,679 - 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-09 01:48:46,070 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with
2026-02-09 01:48:46,070 - INFO - Initial checks done. Running the testcase now
2026-02-09 01:48:46,070 - INFO -
2026-02-09 01:48:46,929 - DEBUG - Response for create_network : {'network': {'id': '821956f8-6bb9-4200-99d5-05f7b34c8b99', 'name': 'ctest-vn-64411947', 'tenant_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'project_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-80174386', 'ctest-vn-64411947'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-02-09 01:48:47,213 - DEBUG - Response for create_subnet : {'subnet': {'id': '561b3c64-0ac2-48ed-9ec2-172bc493e1f8', 'name': '', 'tenant_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'network_id': '821956f8-6bb9-4200-99d5-05f7b34c8b99', 'ip_version': 4, 'cidr': '156.168.110.192/26', 'allocation_pools': [{'start': '156.168.110.194', 'end': '156.168.110.254'}], 'gateway_ip': '156.168.110.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-09T01:48:47.107092', 'updated_at': '2026-02-09T01:48:47.107092', 'dns_server_address': '156.168.110.194', 'tags': [], 'project_id': 'd22c2de40fdc40bf979d2d1a6340f789'}}
2026-02-09 01:48:47,274 - INFO - Created VN ctest-vn-64411947
2026-02-09 01:48:47,336 - DEBUG - VN ctest-vn-64411947 UUID is 821956f8-6bb9-4200-99d5-05f7b34c8b99
2026-02-09 01:48:47,858 - DEBUG - Response for create_network : {'network': {'id': '6abced34-6ba5-439c-8d03-c0b707be3036', 'name': 'ctest-vn-23940722', 'tenant_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'project_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-80174386', 'ctest-vn-23940722'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-02-09 01:48:48,129 - DEBUG - Response for create_subnet : {'subnet': {'id': '713832dd-e49d-47f8-ab66-85f66130bfc1', 'name': '', 'tenant_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'network_id': '6abced34-6ba5-439c-8d03-c0b707be3036', 'ip_version': 4, 'cidr': '195.58.239.0/26', 'allocation_pools': [{'start': '195.58.239.2', 'end': '195.58.239.62'}], 'gateway_ip': '195.58.239.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-09T01:48:48.024704', 'updated_at': '2026-02-09T01:48:48.024704', 'dns_server_address': '195.58.239.2', 'tags': [], 'project_id': 'd22c2de40fdc40bf979d2d1a6340f789'}}
2026-02-09 01:48:48,194 - INFO - Created VN ctest-vn-23940722
2026-02-09 01:48:48,252 - DEBUG - VN ctest-vn-23940722 UUID is 6abced34-6ba5-439c-8d03-c0b707be3036
2026-02-09 01:48:48,481 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-64411947, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-23940722, 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-09 01:48:48,912 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '821956f8-6bb9-4200-99d5-05f7b34c8b99', 'name': 'ctest-vn-64411947', 'tenant_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'project_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['561b3c64-0ac2-48ed-9ec2-172bc493e1f8'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-80174386', 'ctest-vn-64411947'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-80174386', 'ctest-policy-allow-all-92506540']], 'subnet_ipam': [{'subnet_cidr': '156.168.110.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-09T01:48:46.841183', 'updated_at': '2026-02-09T01:48:47.125952'}}
2026-02-09 01:48:49,333 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6abced34-6ba5-439c-8d03-c0b707be3036', 'name': 'ctest-vn-23940722', 'tenant_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'project_id': 'd22c2de40fdc40bf979d2d1a6340f789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['713832dd-e49d-47f8-ab66-85f66130bfc1'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-80174386', 'ctest-vn-23940722'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-80174386', 'ctest-policy-allow-all-92506540']], 'subnet_ipam': [{'subnet_cidr': '195.58.239.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-09T01:48:47.771487', 'updated_at': '2026-02-09T01:48:48.038774'}}
2026-02-09 01:48:49,529 - DEBUG - Requesting: https://10.0.0.241:8082/domains
2026-02-09 01:48:49,880 - DEBUG - Requesting: https://10.0.0.241:8082/domains
2026-02-09 01:48:49,961 - DEBUG - Requesting: https://10.0.0.241:8082/domain/1675f465-2475-43b6-ab5c-695718ce05c3
2026-02-09 01:48:50,021 - DEBUG - Requesting: https://10.0.0.241:8082/project/d22c2de4-0fdc-40bf-979d-2d1a6340f789
2026-02-09 01:48:50,101 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/821956f8-6bb9-4200-99d5-05f7b34c8b99
2026-02-09 01:48:50,163 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/821956f8-6bb9-4200-99d5-05f7b34c8b99
2026-02-09 01:48:50,222 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/fd1c7c03-60fb-4199-8c1b-1233eff81898
2026-02-09 01:48:50,282 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/fd1c7c03-60fb-4199-8c1b-1233eff81898
2026-02-09 01:48:50,341 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/6e7f6a4e-73a1-44fc-b097-11b1b1cccc0f
2026-02-09 01:48:50,397 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-09 01:48:50,397 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/821956f8-6bb9-4200-99d5-05f7b34c8b99
2026-02-09 01:48:50,454 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/fd1c7c03-60fb-4199-8c1b-1233eff81898
2026-02-09 01:48:50,522 - INFO - Verified VN network id 10 for VN 821956f8-6bb9-4200-99d5-05f7b34c8b99
2026-02-09 01:48:50,522 - INFO - Verifications in API Server for VN ctest-vn-64411947 passed
2026-02-09 01:48:50,522 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/821956f8-6bb9-4200-99d5-05f7b34c8b99
2026-02-09 01:48:50,586 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/fd1c7c03-60fb-4199-8c1b-1233eff81898
2026-02-09 01:48:50,645 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/fd1c7c03-60fb-4199-8c1b-1233eff81898
2026-02-09 01:48:50,701 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/6e7f6a4e-73a1-44fc-b097-11b1b1cccc0f
2026-02-09 01:48:50,806 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-64411947', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80174386', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9374619724307579392', 'uuid-lslong': '11084772619265543065'}, 'enable': 'true', 'created': '2026-02-09T01:48:46', 'last-modified': '2026-02-09T01:48:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.921104'}
2026-02-09 01:48:50,867 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-09 01:48:50,867 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64411947 passed
2026-02-09 01:48:50,868 - DEBUG - ====Verifying policy data for ctest-vn-64411947 in API_Server ======
2026-02-09 01:48:50,868 - DEBUG - Requesting: https://10.0.0.241:8082/domains
2026-02-09 01:48:50,921 - DEBUG - Requesting: https://10.0.0.241:8082/domain/1675f465-2475-43b6-ab5c-695718ce05c3
2026-02-09 01:48:50,985 - DEBUG - Requesting: https://10.0.0.241:8082/project/d22c2de4-0fdc-40bf-979d-2d1a6340f789
2026-02-09 01:48:51,088 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/821956f8-6bb9-4200-99d5-05f7b34c8b99
2026-02-09 01:48:51,150 - DEBUG - ==>Verifying data for policy with id: 042e10b6-0733-41b3-93b9-679c83f0028a, fqn: ['admin_domain', 'ctest-TestBasicPolicy-80174386', 'ctest-policy-allow-all-92506540']
2026-02-09 01:48:51,150 - INFO - VN ctest-vn-64411947 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-09 01:48:51,151 - DEBUG - Verifying the vn in opserver
2026-02-09 01:48:51,151 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-64411947 virtual network link through opserver 10.0.0.241
2026-02-09 01:48:51,151 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks
2026-02-09 01:48:51,521 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks
2026-02-09 01:48:51,653 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-64411947', 'href': 'https://10.0.0.241:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-64411947?flat'}
2026-02-09 01:48:51,653 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-64411947 is found in opserver
2026-02-09 01:48:51,769 - DEBUG - Do not have enough data to verify VN in agent
2026-02-09 01:48:51,821 - DEBUG - VRF ids for VN ctest-vn-64411947: {}
2026-02-09 01:48:51,821 - DEBUG - Requesting: https://10.0.0.241:8082/domains
2026-02-09 01:48:51,873 - DEBUG - Requesting: https://10.0.0.241:8082/domain/1675f465-2475-43b6-ab5c-695718ce05c3
2026-02-09 01:48:51,933 - DEBUG - Requesting: https://10.0.0.241:8082/project/d22c2de4-0fdc-40bf-979d-2d1a6340f789
2026-02-09 01:48:52,026 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6abced34-6ba5-439c-8d03-c0b707be3036
2026-02-09 01:48:52,086 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6abced34-6ba5-439c-8d03-c0b707be3036
2026-02-09 01:48:52,142 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/df36ab7d-feff-4ffb-bfe5-306d35e2b5ad
2026-02-09 01:48:52,199 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/df36ab7d-feff-4ffb-bfe5-306d35e2b5ad
2026-02-09 01:48:52,257 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/d59b6365-d82f-4082-8018-b9f5644d721e
2026-02-09 01:48:52,313 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-09 01:48:52,313 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6abced34-6ba5-439c-8d03-c0b707be3036
2026-02-09 01:48:52,370 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/df36ab7d-feff-4ffb-bfe5-306d35e2b5ad
2026-02-09 01:48:52,433 - INFO - Verified VN network id 11 for VN 6abced34-6ba5-439c-8d03-c0b707be3036
2026-02-09 01:48:52,434 - INFO - Verifications in API Server for VN ctest-vn-23940722 passed
2026-02-09 01:48:52,434 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6abced34-6ba5-439c-8d03-c0b707be3036
2026-02-09 01:48:52,495 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/df36ab7d-feff-4ffb-bfe5-306d35e2b5ad
2026-02-09 01:48:52,553 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/df36ab7d-feff-4ffb-bfe5-306d35e2b5ad
2026-02-09 01:48:52,609 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/d59b6365-d82f-4082-8018-b9f5644d721e
2026-02-09 01:48:52,717 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-23940722', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80174386', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7691283073042039708', 'uuid-lslong': '10161177076619423798'}, 'enable': 'true', 'created': '2026-02-09T01:48:47', 'last-modified': '2026-02-09T01:48:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.458911'}
2026-02-09 01:48:52,770 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-09 01:48:52,771 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23940722 passed
2026-02-09 01:48:52,772 - DEBUG - ====Verifying policy data for ctest-vn-23940722 in API_Server ======
2026-02-09 01:48:52,772 - DEBUG - Requesting: https://10.0.0.241:8082/domains
2026-02-09 01:48:52,825 - DEBUG - Requesting: https://10.0.0.241:8082/domain/1675f465-2475-43b6-ab5c-695718ce05c3
2026-02-09 01:48:52,885 - DEBUG - Requesting: https://10.0.0.241:8082/project/d22c2de4-0fdc-40bf-979d-2d1a6340f789
2026-02-09 01:48:52,962 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6abced34-6ba5-439c-8d03-c0b707be3036
2026-02-09 01:48:53,022 - DEBUG - ==>Verifying data for policy with id: 042e10b6-0733-41b3-93b9-679c83f0028a, fqn: ['admin_domain', 'ctest-TestBasicPolicy-80174386', 'ctest-policy-allow-all-92506540']
2026-02-09 01:48:53,022 - INFO - VN ctest-vn-23940722 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-09 01:48:53,022 - DEBUG - Verifying the vn in opserver
2026-02-09 01:48:53,022 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-23940722 virtual network link through opserver 10.0.0.241
2026-02-09 01:48:53,022 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks
2026-02-09 01:48:53,077 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-23940722', 'href': 'https://10.0.0.241:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-23940722?flat'}
2026-02-09 01:48:53,077 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-80174386:ctest-vn-23940722 is found in opserver
2026-02-09 01:48:53,177 - DEBUG - Do not have enough data to verify VN in agent
2026-02-09 01:48:53,234 - DEBUG - VRF ids for VN ctest-vn-23940722: {}
2026-02-09 01:48:53,304 - DEBUG - Services list from nova: [