2026-01-12 02:07:36,264 - INFO - Domain Default found not creating
2026-01-12 02:07:36,445 - INFO - Project ctest-TestBasicPolicy-51177675 not found, creating it
2026-01-12 02:07:36,927 - INFO - Created Project:ctest-TestBasicPolicy-51177675, ID : 5f383d9c-a926-4667-a17d-e3d941a4aa70
2026-01-12 02:07:38,605 - INFO - ================================================================================
2026-01-12 02:07:38,605 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-12 02:07:38,605 - 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-01-12 02:07:38,859 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0'}} with
2026-01-12 02:07:38,860 - INFO - Initial checks done. Running the testcase now
2026-01-12 02:07:38,860 - INFO -
2026-01-12 02:07:39,477 - DEBUG - Response for create_network : {'network': {'id': 'eb91a316-e9d7-4bcc-b38e-f2920526e3ac', 'name': 'ctest-vn-08747367', 'tenant_id': '5f383d9ca9264667a17de3d941a4aa70', 'project_id': '5f383d9ca9264667a17de3d941a4aa70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51177675', 'ctest-vn-08747367'], 'port_security_enabled': True, 'description': ''}}
2026-01-12 02:07:39,680 - DEBUG - Response for create_subnet : {'subnet': {'id': '970c5278-ebf9-4dd4-951c-e24606cc376d', 'name': '', 'tenant_id': '5f383d9ca9264667a17de3d941a4aa70', 'network_id': 'eb91a316-e9d7-4bcc-b38e-f2920526e3ac', 'ip_version': 4, 'cidr': '89.78.81.0/26', 'allocation_pools': [{'start': '89.78.81.2', 'end': '89.78.81.62'}], 'gateway_ip': '89.78.81.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.78.81.2', 'tags': [], 'project_id': '5f383d9ca9264667a17de3d941a4aa70'}}
2026-01-12 02:07:39,699 - INFO - Created VN ctest-vn-08747367
2026-01-12 02:07:39,754 - DEBUG - VN ctest-vn-08747367 UUID is eb91a316-e9d7-4bcc-b38e-f2920526e3ac
2026-01-12 02:07:40,069 - DEBUG - Response for create_network : {'network': {'id': 'd89adc10-e2fd-4a41-a10a-b622a8dacc84', 'name': 'ctest-vn-82525089', 'tenant_id': '5f383d9ca9264667a17de3d941a4aa70', 'project_id': '5f383d9ca9264667a17de3d941a4aa70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51177675', 'ctest-vn-82525089'], 'port_security_enabled': True, 'description': ''}}
2026-01-12 02:07:40,279 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db1ac7e4-85f9-42aa-a576-2b6ba1a3aea9', 'name': '', 'tenant_id': '5f383d9ca9264667a17de3d941a4aa70', 'network_id': 'd89adc10-e2fd-4a41-a10a-b622a8dacc84', 'ip_version': 4, 'cidr': '62.6.229.64/26', 'allocation_pools': [{'start': '62.6.229.66', 'end': '62.6.229.126'}], 'gateway_ip': '62.6.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.6.229.66', 'tags': [], 'project_id': '5f383d9ca9264667a17de3d941a4aa70'}}
2026-01-12 02:07:40,299 - INFO - Created VN ctest-vn-82525089
2026-01-12 02:07:40,350 - DEBUG - VN ctest-vn-82525089 UUID is d89adc10-e2fd-4a41-a10a-b622a8dacc84
2026-01-12 02:07:40,466 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-08747367, 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-51177675:ctest-vn-82525089, 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-01-12 02:07:40,781 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb91a316-e9d7-4bcc-b38e-f2920526e3ac', 'name': 'ctest-vn-08747367', 'tenant_id': '5f383d9ca9264667a17de3d941a4aa70', 'project_id': '5f383d9ca9264667a17de3d941a4aa70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['970c5278-ebf9-4dd4-951c-e24606cc376d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51177675', 'ctest-vn-08747367'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51177675', 'ctest-policy-allow-all-05594379']], 'subnet_ipam': [{'subnet_cidr': '89.78.81.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-12 02:07:41,009 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd89adc10-e2fd-4a41-a10a-b622a8dacc84', 'name': 'ctest-vn-82525089', 'tenant_id': '5f383d9ca9264667a17de3d941a4aa70', 'project_id': '5f383d9ca9264667a17de3d941a4aa70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['db1ac7e4-85f9-42aa-a576-2b6ba1a3aea9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51177675', 'ctest-vn-82525089'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51177675', 'ctest-policy-allow-all-05594379']], 'subnet_ipam': [{'subnet_cidr': '62.6.229.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-12 02:07:41,134 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-12 02:07:41,480 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-12 02:07:41,516 - DEBUG - Requesting: http://10.0.0.141:8082/domain/d749fb7f-152a-44bd-a047-307afc2e3811
2026-01-12 02:07:41,530 - DEBUG - Requesting: http://10.0.0.141:8082/project/5f383d9c-a926-4667-a17d-e3d941a4aa70
2026-01-12 02:07:41,604 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/eb91a316-e9d7-4bcc-b38e-f2920526e3ac
2026-01-12 02:07:41,616 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/eb91a316-e9d7-4bcc-b38e-f2920526e3ac
2026-01-12 02:07:41,626 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/69fee35a-3d11-4e2f-b793-d6918c888205
2026-01-12 02:07:41,634 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/69fee35a-3d11-4e2f-b793-d6918c888205
2026-01-12 02:07:41,640 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/717abfb1-c45f-4fa6-a4f0-4c5ada4797b0
2026-01-12 02:07:41,647 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-12 02:07:41,647 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/eb91a316-e9d7-4bcc-b38e-f2920526e3ac
2026-01-12 02:07:41,656 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/69fee35a-3d11-4e2f-b793-d6918c888205
2026-01-12 02:07:41,670 - INFO - Verified VN network id 12 for VN eb91a316-e9d7-4bcc-b38e-f2920526e3ac
2026-01-12 02:07:41,670 - INFO - Verifications in API Server for VN ctest-vn-08747367 passed
2026-01-12 02:07:41,670 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/eb91a316-e9d7-4bcc-b38e-f2920526e3ac
2026-01-12 02:07:41,680 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/69fee35a-3d11-4e2f-b793-d6918c888205
2026-01-12 02:07:41,687 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/69fee35a-3d11-4e2f-b793-d6918c888205
2026-01-12 02:07:41,694 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/717abfb1-c45f-4fa6-a4f0-4c5ada4797b0
2026-01-12 02:07:41,707 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-08747367', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51177675', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16974527789343919052', 'uuid-lslong': '12938545488447595436'}, 'enable': 'true', 'created': '2026-01-12T02:07:39', 'last-modified': '2026-01-12T02:07:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.956296'}
2026-01-12 02:07:41,715 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-12 02:07:41,715 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08747367 passed
2026-01-12 02:07:41,715 - DEBUG - ====Verifying policy data for ctest-vn-08747367 in API_Server ======
2026-01-12 02:07:41,715 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-12 02:07:41,722 - DEBUG - Requesting: http://10.0.0.141:8082/domain/d749fb7f-152a-44bd-a047-307afc2e3811
2026-01-12 02:07:41,733 - DEBUG - Requesting: http://10.0.0.141:8082/project/5f383d9c-a926-4667-a17d-e3d941a4aa70
2026-01-12 02:07:41,822 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/eb91a316-e9d7-4bcc-b38e-f2920526e3ac
2026-01-12 02:07:41,837 - DEBUG - ==>Verifying data for policy with id: 0a6c65c0-69fe-4c81-9a73-8ae14faa51e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-51177675', 'ctest-policy-allow-all-05594379']
2026-01-12 02:07:41,837 - INFO - VN ctest-vn-08747367 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-12 02:07:41,837 - DEBUG - Verifying the vn in opserver
2026-01-12 02:07:41,837 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-08747367 virtual network link through opserver 10.0.0.141
2026-01-12 02:07:41,837 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-01-12 02:07:42,196 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-01-12 02:07:42,265 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-08747367', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-08747367?flat'}
2026-01-12 02:07:42,265 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-08747367 is found in opserver
2026-01-12 02:07:42,277 - DEBUG - Do not have enough data to verify VN in agent
2026-01-12 02:07:42,284 - DEBUG - VRF ids for VN ctest-vn-08747367: {}
2026-01-12 02:07:42,284 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-12 02:07:42,292 - DEBUG - Requesting: http://10.0.0.141:8082/domain/d749fb7f-152a-44bd-a047-307afc2e3811
2026-01-12 02:07:42,308 - DEBUG - Requesting: http://10.0.0.141:8082/project/5f383d9c-a926-4667-a17d-e3d941a4aa70
2026-01-12 02:07:42,382 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d89adc10-e2fd-4a41-a10a-b622a8dacc84
2026-01-12 02:07:42,394 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d89adc10-e2fd-4a41-a10a-b622a8dacc84
2026-01-12 02:07:42,404 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/86ce889a-4197-4556-96c0-d1f01b5848ea
2026-01-12 02:07:42,411 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/86ce889a-4197-4556-96c0-d1f01b5848ea
2026-01-12 02:07:42,418 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/bc35e2a4-843d-412f-bff2-0ad049d6e45f
2026-01-12 02:07:42,425 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-12 02:07:42,425 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d89adc10-e2fd-4a41-a10a-b622a8dacc84
2026-01-12 02:07:42,434 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/86ce889a-4197-4556-96c0-d1f01b5848ea
2026-01-12 02:07:42,451 - INFO - Verified VN network id 13 for VN d89adc10-e2fd-4a41-a10a-b622a8dacc84
2026-01-12 02:07:42,451 - INFO - Verifications in API Server for VN ctest-vn-82525089 passed
2026-01-12 02:07:42,451 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d89adc10-e2fd-4a41-a10a-b622a8dacc84
2026-01-12 02:07:42,463 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/86ce889a-4197-4556-96c0-d1f01b5848ea
2026-01-12 02:07:42,470 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/86ce889a-4197-4556-96c0-d1f01b5848ea
2026-01-12 02:07:42,477 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/bc35e2a4-843d-412f-bff2-0ad049d6e45f
2026-01-12 02:07:42,490 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-82525089', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51177675', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15608029423691713089', 'uuid-lslong': '11604287649851559044'}, 'enable': 'true', 'created': '2026-01-12T02:07:40', 'last-modified': '2026-01-12T02:07:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.510407'}
2026-01-12 02:07:42,495 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-12 02:07:42,495 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82525089 passed
2026-01-12 02:07:42,496 - DEBUG - ====Verifying policy data for ctest-vn-82525089 in API_Server ======
2026-01-12 02:07:42,496 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-12 02:07:42,501 - DEBUG - Requesting: http://10.0.0.141:8082/domain/d749fb7f-152a-44bd-a047-307afc2e3811
2026-01-12 02:07:42,512 - DEBUG - Requesting: http://10.0.0.141:8082/project/5f383d9c-a926-4667-a17d-e3d941a4aa70
2026-01-12 02:07:42,586 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d89adc10-e2fd-4a41-a10a-b622a8dacc84
2026-01-12 02:07:42,601 - DEBUG - ==>Verifying data for policy with id: 0a6c65c0-69fe-4c81-9a73-8ae14faa51e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-51177675', 'ctest-policy-allow-all-05594379']
2026-01-12 02:07:42,601 - INFO - VN ctest-vn-82525089 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-12 02:07:42,601 - DEBUG - Verifying the vn in opserver
2026-01-12 02:07:42,601 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-82525089 virtual network link through opserver 10.0.0.141
2026-01-12 02:07:42,601 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-01-12 02:07:42,612 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-82525089', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-82525089?flat'}
2026-01-12 02:07:42,613 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51177675:ctest-vn-82525089 is found in opserver
2026-01-12 02:07:42,623 - DEBUG - Do not have enough data to verify VN in agent
2026-01-12 02:07:42,629 - DEBUG - VRF ids for VN ctest-vn-82525089: {}
2026-01-12 02:07:42,694 - DEBUG - Services list from nova: [