2026-10-27 20:43:07,720 - INFO - Domain Default found not creating
2026-10-27 20:43:07,886 - INFO - Project ctest-TestBasicPolicy-42050976 not found, creating it
2026-10-27 20:43:08,341 - INFO - Created Project:ctest-TestBasicPolicy-42050976, ID : c3d1053d-22a6-4ff1-9884-ad1da5ee9281
2026-10-27 20:43:10,045 - INFO - ================================================================================
2026-10-27 20:43:10,045 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-27 20:43:10,045 - 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-10-27 20:43:10,299 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-10-27 20:43:10,299 - INFO - Initial checks done. Running the testcase now
2026-10-27 20:43:10,299 - INFO -
2026-10-27 20:43:10,911 - DEBUG - Response for create_network : {'network': {'id': 'fd646603-3329-47a2-9676-b47be11deae3', 'name': 'ctest-vn-77744412', 'tenant_id': 'c3d1053d22a64ff19884ad1da5ee9281', 'project_id': 'c3d1053d22a64ff19884ad1da5ee9281', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42050976', 'ctest-vn-77744412'], 'port_security_enabled': True, 'description': ''}}
2026-10-27 20:43:11,139 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9023a1e-9c6a-4999-88e2-2be00171e7d3', 'name': '', 'tenant_id': 'c3d1053d22a64ff19884ad1da5ee9281', 'network_id': 'fd646603-3329-47a2-9676-b47be11deae3', 'ip_version': 4, 'cidr': '157.219.216.64/26', 'allocation_pools': [{'start': '157.219.216.66', 'end': '157.219.216.126'}], 'gateway_ip': '157.219.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.219.216.66', 'tags': [], 'project_id': 'c3d1053d22a64ff19884ad1da5ee9281'}}
2026-10-27 20:43:11,156 - INFO - Created VN ctest-vn-77744412
2026-10-27 20:43:11,213 - DEBUG - VN ctest-vn-77744412 UUID is fd646603-3329-47a2-9676-b47be11deae3
2026-10-27 20:43:11,543 - DEBUG - Response for create_network : {'network': {'id': '53e76a46-41ba-4e6e-943c-2b9683c6de96', 'name': 'ctest-vn-04469082', 'tenant_id': 'c3d1053d22a64ff19884ad1da5ee9281', 'project_id': 'c3d1053d22a64ff19884ad1da5ee9281', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42050976', 'ctest-vn-04469082'], 'port_security_enabled': True, 'description': ''}}
2026-10-27 20:43:11,713 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a82f773c-a6e1-433f-9359-118b1987d480', 'name': '', 'tenant_id': 'c3d1053d22a64ff19884ad1da5ee9281', 'network_id': '53e76a46-41ba-4e6e-943c-2b9683c6de96', 'ip_version': 4, 'cidr': '177.17.49.0/26', 'allocation_pools': [{'start': '177.17.49.2', 'end': '177.17.49.62'}], 'gateway_ip': '177.17.49.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.17.49.2', 'tags': [], 'project_id': 'c3d1053d22a64ff19884ad1da5ee9281'}}
2026-10-27 20:43:11,728 - INFO - Created VN ctest-vn-04469082
2026-10-27 20:43:11,781 - DEBUG - VN ctest-vn-04469082 UUID is 53e76a46-41ba-4e6e-943c-2b9683c6de96
2026-10-27 20:43:11,925 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-42050976:ctest-vn-77744412, 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-42050976:ctest-vn-04469082, 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-10-27 20:43:12,219 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fd646603-3329-47a2-9676-b47be11deae3', 'name': 'ctest-vn-77744412', 'tenant_id': 'c3d1053d22a64ff19884ad1da5ee9281', 'project_id': 'c3d1053d22a64ff19884ad1da5ee9281', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f9023a1e-9c6a-4999-88e2-2be00171e7d3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42050976', 'ctest-vn-77744412'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42050976', 'ctest-policy-allow-all-77610948']], 'subnet_ipam': [{'subnet_cidr': '157.219.216.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-27 20:43:12,439 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '53e76a46-41ba-4e6e-943c-2b9683c6de96', 'name': 'ctest-vn-04469082', 'tenant_id': 'c3d1053d22a64ff19884ad1da5ee9281', 'project_id': 'c3d1053d22a64ff19884ad1da5ee9281', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a82f773c-a6e1-433f-9359-118b1987d480'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42050976', 'ctest-vn-04469082'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42050976', 'ctest-policy-allow-all-77610948']], 'subnet_ipam': [{'subnet_cidr': '177.17.49.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-27 20:43:12,605 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-27 20:43:12,966 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-27 20:43:12,995 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4a077ec8-b70c-4458-98fb-b787e2d7dc83
2026-10-27 20:43:13,009 - DEBUG - Requesting: http://10.0.0.38:8082/project/c3d1053d-22a6-4ff1-9884-ad1da5ee9281
2026-10-27 20:43:13,082 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fd646603-3329-47a2-9676-b47be11deae3
2026-10-27 20:43:13,093 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fd646603-3329-47a2-9676-b47be11deae3
2026-10-27 20:43:13,102 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/08e9b89a-7312-482e-b756-34aa3158b2bc
2026-10-27 20:43:13,108 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/08e9b89a-7312-482e-b756-34aa3158b2bc
2026-10-27 20:43:13,114 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/db288852-8bb4-4944-a19a-75f62929fdd4
2026-10-27 20:43:13,119 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-27 20:43:13,119 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fd646603-3329-47a2-9676-b47be11deae3
2026-10-27 20:43:13,127 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/08e9b89a-7312-482e-b756-34aa3158b2bc
2026-10-27 20:43:13,139 - INFO - Verified VN network id 12 for VN fd646603-3329-47a2-9676-b47be11deae3
2026-10-27 20:43:13,139 - INFO - Verifications in API Server for VN ctest-vn-77744412 passed
2026-10-27 20:43:13,139 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fd646603-3329-47a2-9676-b47be11deae3
2026-10-27 20:43:13,147 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/08e9b89a-7312-482e-b756-34aa3158b2bc
2026-10-27 20:43:13,153 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/08e9b89a-7312-482e-b756-34aa3158b2bc
2026-10-27 20:43:13,159 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/db288852-8bb4-4944-a19a-75f62929fdd4
2026-10-27 20:43:13,169 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42050976:ctest-vn-77744412', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42050976', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18258830953196111778', 'uuid-lslong': '10842051597091859171'}, 'enable': 'true', 'created': '2026-10-27T20:43:10', 'last-modified': '2026-10-27T20:43:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.972373'}
2026-10-27 20:43:13,176 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-27 20:43:13,177 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77744412 passed
2026-10-27 20:43:13,177 - DEBUG - ====Verifying policy data for ctest-vn-77744412 in API_Server ======
2026-10-27 20:43:13,177 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-27 20:43:13,182 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4a077ec8-b70c-4458-98fb-b787e2d7dc83
2026-10-27 20:43:13,192 - DEBUG - Requesting: http://10.0.0.38:8082/project/c3d1053d-22a6-4ff1-9884-ad1da5ee9281
2026-10-27 20:43:13,259 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fd646603-3329-47a2-9676-b47be11deae3
2026-10-27 20:43:13,269 - DEBUG - ==>Verifying data for policy with id: eb6be311-19ab-43b7-a6c9-12fb96f4c9ec, fqn: ['default-domain', 'ctest-TestBasicPolicy-42050976', 'ctest-policy-allow-all-77610948']
2026-10-27 20:43:13,269 - INFO - VN ctest-vn-77744412 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-27 20:43:13,269 - DEBUG - Verifying the vn in opserver
2026-10-27 20:43:13,269 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42050976:ctest-vn-77744412 virtual network link through opserver 10.0.0.38
2026-10-27 20:43:13,269 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-27 20:43:13,632 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-27 20:43:13,681 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42050976:ctest-vn-77744412', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42050976:ctest-vn-77744412?flat'}
2026-10-27 20:43:13,681 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42050976:ctest-vn-77744412 is found in opserver
2026-10-27 20:43:13,691 - DEBUG - Do not have enough data to verify VN in agent
2026-10-27 20:43:13,696 - DEBUG - VRF ids for VN ctest-vn-77744412: {}
2026-10-27 20:43:13,696 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-27 20:43:13,701 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4a077ec8-b70c-4458-98fb-b787e2d7dc83
2026-10-27 20:43:13,710 - DEBUG - Requesting: http://10.0.0.38:8082/project/c3d1053d-22a6-4ff1-9884-ad1da5ee9281
2026-10-27 20:43:13,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/53e76a46-41ba-4e6e-943c-2b9683c6de96
2026-10-27 20:43:13,793 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/53e76a46-41ba-4e6e-943c-2b9683c6de96
2026-10-27 20:43:13,801 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ec71ed1-f6a5-4cbb-854d-5f97c03fc92f
2026-10-27 20:43:13,808 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ec71ed1-f6a5-4cbb-854d-5f97c03fc92f
2026-10-27 20:43:13,813 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/406e01cf-079a-4d80-83ef-b6d5120d7d9d
2026-10-27 20:43:13,819 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-27 20:43:13,819 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/53e76a46-41ba-4e6e-943c-2b9683c6de96
2026-10-27 20:43:13,827 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ec71ed1-f6a5-4cbb-854d-5f97c03fc92f
2026-10-27 20:43:13,838 - INFO - Verified VN network id 13 for VN 53e76a46-41ba-4e6e-943c-2b9683c6de96
2026-10-27 20:43:13,838 - INFO - Verifications in API Server for VN ctest-vn-04469082 passed
2026-10-27 20:43:13,839 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/53e76a46-41ba-4e6e-943c-2b9683c6de96
2026-10-27 20:43:13,848 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ec71ed1-f6a5-4cbb-854d-5f97c03fc92f
2026-10-27 20:43:13,854 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6ec71ed1-f6a5-4cbb-854d-5f97c03fc92f
2026-10-27 20:43:13,860 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/406e01cf-079a-4d80-83ef-b6d5120d7d9d
2026-10-27 20:43:13,872 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42050976:ctest-vn-04469082', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42050976', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6045917874751164014', 'uuid-lslong': '10681460341671911062'}, 'enable': 'true', 'created': '2026-10-27T20:43:11', 'last-modified': '2026-10-27T20:43:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.456081'}
2026-10-27 20:43:13,878 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-27 20:43:13,879 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04469082 passed
2026-10-27 20:43:13,879 - DEBUG - ====Verifying policy data for ctest-vn-04469082 in API_Server ======
2026-10-27 20:43:13,879 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-27 20:43:13,883 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4a077ec8-b70c-4458-98fb-b787e2d7dc83
2026-10-27 20:43:13,892 - DEBUG - Requesting: http://10.0.0.38:8082/project/c3d1053d-22a6-4ff1-9884-ad1da5ee9281
2026-10-27 20:43:13,966 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/53e76a46-41ba-4e6e-943c-2b9683c6de96
2026-10-27 20:43:13,976 - DEBUG - ==>Verifying data for policy with id: eb6be311-19ab-43b7-a6c9-12fb96f4c9ec, fqn: ['default-domain', 'ctest-TestBasicPolicy-42050976', 'ctest-policy-allow-all-77610948']
2026-10-27 20:43:13,976 - INFO - VN ctest-vn-04469082 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-27 20:43:13,976 - DEBUG - Verifying the vn in opserver
2026-10-27 20:43:13,976 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42050976:ctest-vn-04469082 virtual network link through opserver 10.0.0.38
2026-10-27 20:43:13,976 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-27 20:43:13,985 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42050976:ctest-vn-04469082', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42050976:ctest-vn-04469082?flat'}
2026-10-27 20:43:13,985 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42050976:ctest-vn-04469082 is found in opserver
2026-10-27 20:43:13,994 - DEBUG - Do not have enough data to verify VN in agent
2026-10-27 20:43:13,998 - DEBUG - VRF ids for VN ctest-vn-04469082: {}
2026-10-27 20:43:14,057 - DEBUG - Services list from nova: [