2026-05-14 15:51:51,084 - INFO - Domain Default found not creating
2026-05-14 15:51:51,264 - INFO - Project ctest-TestBasicPolicy-00985874 not found, creating it
2026-05-14 15:51:51,748 - INFO - Created Project:ctest-TestBasicPolicy-00985874, ID : 63d8df64-441a-4ac6-aff0-c2312ad38201
2026-05-14 15:51:53,284 - INFO - ================================================================================
2026-05-14 15:51:53,285 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-14 15:51:53,285 - 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-05-14 15:51:53,543 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-05-14 15:51:53,543 - INFO - Initial checks done. Running the testcase now
2026-05-14 15:51:53,543 - INFO -
2026-05-14 15:51:54,099 - DEBUG - Response for create_network : {'network': {'id': 'e16ecf43-e702-47d6-9de6-628bb0f989ca', 'name': 'ctest-vn-07552160', 'tenant_id': '63d8df64441a4ac6aff0c2312ad38201', 'project_id': '63d8df64441a4ac6aff0c2312ad38201', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00985874', 'ctest-vn-07552160'], 'port_security_enabled': True, 'description': ''}}
2026-05-14 15:51:54,279 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf6068bc-329d-47ec-a430-5401dbe35dcd', 'name': '', 'tenant_id': '63d8df64441a4ac6aff0c2312ad38201', 'network_id': 'e16ecf43-e702-47d6-9de6-628bb0f989ca', 'ip_version': 4, 'cidr': '159.198.255.192/26', 'allocation_pools': [{'start': '159.198.255.194', 'end': '159.198.255.254'}], 'gateway_ip': '159.198.255.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.198.255.194', 'tags': [], 'project_id': '63d8df64441a4ac6aff0c2312ad38201'}}
2026-05-14 15:51:54,298 - INFO - Created VN ctest-vn-07552160
2026-05-14 15:51:54,350 - DEBUG - VN ctest-vn-07552160 UUID is e16ecf43-e702-47d6-9de6-628bb0f989ca
2026-05-14 15:51:54,644 - DEBUG - Response for create_network : {'network': {'id': '0755e3bd-4267-47ce-a808-8fa2ac2a0ff5', 'name': 'ctest-vn-66155657', 'tenant_id': '63d8df64441a4ac6aff0c2312ad38201', 'project_id': '63d8df64441a4ac6aff0c2312ad38201', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00985874', 'ctest-vn-66155657'], 'port_security_enabled': True, 'description': ''}}
2026-05-14 15:51:54,829 - DEBUG - Response for create_subnet : {'subnet': {'id': '56e099ad-fc2e-4ee6-bbbb-e1eb82420f29', 'name': '', 'tenant_id': '63d8df64441a4ac6aff0c2312ad38201', 'network_id': '0755e3bd-4267-47ce-a808-8fa2ac2a0ff5', 'ip_version': 4, 'cidr': '125.32.24.192/26', 'allocation_pools': [{'start': '125.32.24.194', 'end': '125.32.24.254'}], 'gateway_ip': '125.32.24.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.32.24.194', 'tags': [], 'project_id': '63d8df64441a4ac6aff0c2312ad38201'}}
2026-05-14 15:51:54,846 - INFO - Created VN ctest-vn-66155657
2026-05-14 15:51:54,898 - DEBUG - VN ctest-vn-66155657 UUID is 0755e3bd-4267-47ce-a808-8fa2ac2a0ff5
2026-05-14 15:51:55,025 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-07552160, 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-00985874:ctest-vn-66155657, 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-05-14 15:51:55,320 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e16ecf43-e702-47d6-9de6-628bb0f989ca', 'name': 'ctest-vn-07552160', 'tenant_id': '63d8df64441a4ac6aff0c2312ad38201', 'project_id': '63d8df64441a4ac6aff0c2312ad38201', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bf6068bc-329d-47ec-a430-5401dbe35dcd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00985874', 'ctest-vn-07552160'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00985874', 'ctest-policy-allow-all-38337559']], 'subnet_ipam': [{'subnet_cidr': '159.198.255.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-14 15:51:55,565 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0755e3bd-4267-47ce-a808-8fa2ac2a0ff5', 'name': 'ctest-vn-66155657', 'tenant_id': '63d8df64441a4ac6aff0c2312ad38201', 'project_id': '63d8df64441a4ac6aff0c2312ad38201', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['56e099ad-fc2e-4ee6-bbbb-e1eb82420f29'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00985874', 'ctest-vn-66155657'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00985874', 'ctest-policy-allow-all-38337559']], 'subnet_ipam': [{'subnet_cidr': '125.32.24.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-14 15:51:55,726 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-14 15:51:56,038 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-14 15:51:56,071 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568c3dd6-5d48-4841-ac35-3bf812d5a441
2026-05-14 15:51:56,086 - DEBUG - Requesting: http://10.0.0.50:8082/project/63d8df64-441a-4ac6-aff0-c2312ad38201
2026-05-14 15:51:56,167 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e16ecf43-e702-47d6-9de6-628bb0f989ca
2026-05-14 15:51:56,183 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e16ecf43-e702-47d6-9de6-628bb0f989ca
2026-05-14 15:51:56,197 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/170b03b1-5d81-4a43-a182-0a862c1e4f23
2026-05-14 15:51:56,207 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/170b03b1-5d81-4a43-a182-0a862c1e4f23
2026-05-14 15:51:56,215 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/11e15ff0-c587-4320-b4ab-2e807e6f6550
2026-05-14 15:51:56,222 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-14 15:51:56,222 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e16ecf43-e702-47d6-9de6-628bb0f989ca
2026-05-14 15:51:56,232 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/170b03b1-5d81-4a43-a182-0a862c1e4f23
2026-05-14 15:51:56,247 - INFO - Verified VN network id 11 for VN e16ecf43-e702-47d6-9de6-628bb0f989ca
2026-05-14 15:51:56,247 - INFO - Verifications in API Server for VN ctest-vn-07552160 passed
2026-05-14 15:51:56,247 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e16ecf43-e702-47d6-9de6-628bb0f989ca
2026-05-14 15:51:56,257 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/170b03b1-5d81-4a43-a182-0a862c1e4f23
2026-05-14 15:51:56,264 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/170b03b1-5d81-4a43-a182-0a862c1e4f23
2026-05-14 15:51:56,272 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/11e15ff0-c587-4320-b4ab-2e807e6f6550
2026-05-14 15:51:56,285 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-07552160', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00985874', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16244148796517402582', 'uuid-lslong': '11377889860707256778'}, 'enable': 'true', 'created': '2026-05-14T15:51:54', 'last-modified': '2026-05-14T15:51:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.984848'}
2026-05-14 15:51:56,294 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-14 15:51:56,294 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07552160 passed
2026-05-14 15:51:56,294 - DEBUG - ====Verifying policy data for ctest-vn-07552160 in API_Server ======
2026-05-14 15:51:56,294 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-14 15:51:56,303 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568c3dd6-5d48-4841-ac35-3bf812d5a441
2026-05-14 15:51:56,314 - DEBUG - Requesting: http://10.0.0.50:8082/project/63d8df64-441a-4ac6-aff0-c2312ad38201
2026-05-14 15:51:56,389 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e16ecf43-e702-47d6-9de6-628bb0f989ca
2026-05-14 15:51:56,400 - DEBUG - ==>Verifying data for policy with id: fc4e1d2f-953f-4b9a-ad20-bd749b6d8ec4, fqn: ['default-domain', 'ctest-TestBasicPolicy-00985874', 'ctest-policy-allow-all-38337559']
2026-05-14 15:51:56,400 - INFO - VN ctest-vn-07552160 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-14 15:51:56,400 - DEBUG - Verifying the vn in opserver
2026-05-14 15:51:56,400 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-07552160 virtual network link through opserver 10.0.0.50
2026-05-14 15:51:56,400 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-14 15:51:56,695 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-14 15:51:56,767 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-07552160', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-07552160?flat'}
2026-05-14 15:51:56,767 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-07552160 is found in opserver
2026-05-14 15:51:56,777 - DEBUG - Do not have enough data to verify VN in agent
2026-05-14 15:51:56,782 - DEBUG - VRF ids for VN ctest-vn-07552160: {}
2026-05-14 15:51:56,782 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-14 15:51:56,787 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568c3dd6-5d48-4841-ac35-3bf812d5a441
2026-05-14 15:51:56,798 - DEBUG - Requesting: http://10.0.0.50:8082/project/63d8df64-441a-4ac6-aff0-c2312ad38201
2026-05-14 15:51:56,873 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0755e3bd-4267-47ce-a808-8fa2ac2a0ff5
2026-05-14 15:51:56,884 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0755e3bd-4267-47ce-a808-8fa2ac2a0ff5
2026-05-14 15:51:56,893 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c72545ed-0e6d-4e01-9155-83a4573588b6
2026-05-14 15:51:56,900 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c72545ed-0e6d-4e01-9155-83a4573588b6
2026-05-14 15:51:56,907 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c8df7d8f-59e1-4bc8-98b4-a2bf05fd2985
2026-05-14 15:51:56,914 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-14 15:51:56,914 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0755e3bd-4267-47ce-a808-8fa2ac2a0ff5
2026-05-14 15:51:56,923 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c72545ed-0e6d-4e01-9155-83a4573588b6
2026-05-14 15:51:56,938 - INFO - Verified VN network id 12 for VN 0755e3bd-4267-47ce-a808-8fa2ac2a0ff5
2026-05-14 15:51:56,938 - INFO - Verifications in API Server for VN ctest-vn-66155657 passed
2026-05-14 15:51:56,938 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0755e3bd-4267-47ce-a808-8fa2ac2a0ff5
2026-05-14 15:51:56,949 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c72545ed-0e6d-4e01-9155-83a4573588b6
2026-05-14 15:51:56,957 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c72545ed-0e6d-4e01-9155-83a4573588b6
2026-05-14 15:51:56,964 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c8df7d8f-59e1-4bc8-98b4-a2bf05fd2985
2026-05-14 15:51:56,976 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-66155657', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00985874', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '528578933288290254', 'uuid-lslong': '12108085527021490165'}, 'enable': 'true', 'created': '2026-05-14T15:51:54', 'last-modified': '2026-05-14T15:51:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.438467'}
2026-05-14 15:51:56,982 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-14 15:51:56,982 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66155657 passed
2026-05-14 15:51:56,983 - DEBUG - ====Verifying policy data for ctest-vn-66155657 in API_Server ======
2026-05-14 15:51:56,983 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-14 15:51:56,988 - DEBUG - Requesting: http://10.0.0.50:8082/domain/568c3dd6-5d48-4841-ac35-3bf812d5a441
2026-05-14 15:51:56,999 - DEBUG - Requesting: http://10.0.0.50:8082/project/63d8df64-441a-4ac6-aff0-c2312ad38201
2026-05-14 15:51:57,072 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0755e3bd-4267-47ce-a808-8fa2ac2a0ff5
2026-05-14 15:51:57,082 - DEBUG - ==>Verifying data for policy with id: fc4e1d2f-953f-4b9a-ad20-bd749b6d8ec4, fqn: ['default-domain', 'ctest-TestBasicPolicy-00985874', 'ctest-policy-allow-all-38337559']
2026-05-14 15:51:57,082 - INFO - VN ctest-vn-66155657 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-14 15:51:57,083 - DEBUG - Verifying the vn in opserver
2026-05-14 15:51:57,083 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-66155657 virtual network link through opserver 10.0.0.50
2026-05-14 15:51:57,083 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-14 15:51:57,096 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-66155657', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-66155657?flat'}
2026-05-14 15:51:57,096 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00985874:ctest-vn-66155657 is found in opserver
2026-05-14 15:51:57,106 - DEBUG - Do not have enough data to verify VN in agent
2026-05-14 15:51:57,112 - DEBUG - VRF ids for VN ctest-vn-66155657: {}
2026-05-14 15:51:57,190 - DEBUG - Services list from nova: [