2026-05-27 16:24:06,751 - INFO - Domain Default found not creating
2026-05-27 16:24:06,931 - INFO - Project ctest-TestBasicPolicy-05295955 not found, creating it
2026-05-27 16:24:07,401 - INFO - Created Project:ctest-TestBasicPolicy-05295955, ID : baf2beaa-2dc0-436d-8cf2-6b18485e41f5
2026-05-27 16:24:08,873 - INFO - ================================================================================
2026-05-27 16:24:08,873 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-27 16:24:08,874 - 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-27 16:24:09,127 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0'}} with
2026-05-27 16:24:09,127 - INFO - Initial checks done. Running the testcase now
2026-05-27 16:24:09,127 - INFO -
2026-05-27 16:24:09,676 - DEBUG - Response for create_network : {'network': {'id': '7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7', 'name': 'ctest-vn-68034738', 'tenant_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'project_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05295955', 'ctest-vn-68034738'], 'port_security_enabled': True, 'description': ''}}
2026-05-27 16:24:09,894 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c197e980-14cd-411b-8d3a-268a02efef47', 'name': '', 'tenant_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'network_id': '7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7', 'ip_version': 4, 'cidr': '87.227.50.0/26', 'allocation_pools': [{'start': '87.227.50.2', 'end': '87.227.50.62'}], 'gateway_ip': '87.227.50.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.227.50.2', 'tags': [], 'project_id': 'baf2beaa2dc0436d8cf26b18485e41f5'}}
2026-05-27 16:24:09,910 - INFO - Created VN ctest-vn-68034738
2026-05-27 16:24:09,961 - DEBUG - VN ctest-vn-68034738 UUID is 7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7
2026-05-27 16:24:10,276 - DEBUG - Response for create_network : {'network': {'id': 'fa542fb5-cd66-4138-b553-ea293456ec3d', 'name': 'ctest-vn-79440792', 'tenant_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'project_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05295955', 'ctest-vn-79440792'], 'port_security_enabled': True, 'description': ''}}
2026-05-27 16:24:10,450 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af647414-25ce-4db9-b73a-42d28a0a478f', 'name': '', 'tenant_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'network_id': 'fa542fb5-cd66-4138-b553-ea293456ec3d', 'ip_version': 4, 'cidr': '210.67.6.0/26', 'allocation_pools': [{'start': '210.67.6.2', 'end': '210.67.6.62'}], 'gateway_ip': '210.67.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.67.6.2', 'tags': [], 'project_id': 'baf2beaa2dc0436d8cf26b18485e41f5'}}
2026-05-27 16:24:10,467 - INFO - Created VN ctest-vn-79440792
2026-05-27 16:24:10,517 - DEBUG - VN ctest-vn-79440792 UUID is fa542fb5-cd66-4138-b553-ea293456ec3d
2026-05-27 16:24:10,634 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-68034738, 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-05295955:ctest-vn-79440792, 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-27 16:24:10,933 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7', 'name': 'ctest-vn-68034738', 'tenant_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'project_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c197e980-14cd-411b-8d3a-268a02efef47'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05295955', 'ctest-vn-68034738'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05295955', 'ctest-policy-allow-all-87036956']], 'subnet_ipam': [{'subnet_cidr': '87.227.50.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-27 16:24:11,161 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fa542fb5-cd66-4138-b553-ea293456ec3d', 'name': 'ctest-vn-79440792', 'tenant_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'project_id': 'baf2beaa2dc0436d8cf26b18485e41f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['af647414-25ce-4db9-b73a-42d28a0a478f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05295955', 'ctest-vn-79440792'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05295955', 'ctest-policy-allow-all-87036956']], 'subnet_ipam': [{'subnet_cidr': '210.67.6.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-27 16:24:11,325 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-05-27 16:24:11,620 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-05-27 16:24:11,655 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b1935a7c-2485-4e97-8396-41f45e2a6ab0
2026-05-27 16:24:11,666 - DEBUG - Requesting: http://10.0.0.141:8082/project/baf2beaa-2dc0-436d-8cf2-6b18485e41f5
2026-05-27 16:24:11,737 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7
2026-05-27 16:24:11,748 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7
2026-05-27 16:24:11,756 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/297d6ea4-96d3-488b-9282-14d9f0167161
2026-05-27 16:24:11,763 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/297d6ea4-96d3-488b-9282-14d9f0167161
2026-05-27 16:24:11,770 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/153ac7d9-eaee-481c-91ce-7484812c4af5
2026-05-27 16:24:11,777 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-27 16:24:11,777 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7
2026-05-27 16:24:11,785 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/297d6ea4-96d3-488b-9282-14d9f0167161
2026-05-27 16:24:11,799 - INFO - Verified VN network id 11 for VN 7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7
2026-05-27 16:24:11,799 - INFO - Verifications in API Server for VN ctest-vn-68034738 passed
2026-05-27 16:24:11,799 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7
2026-05-27 16:24:11,810 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/297d6ea4-96d3-488b-9282-14d9f0167161
2026-05-27 16:24:11,817 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/297d6ea4-96d3-488b-9282-14d9f0167161
2026-05-27 16:24:11,824 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/153ac7d9-eaee-481c-91ce-7484812c4af5
2026-05-27 16:24:11,835 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-68034738', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05295955', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9039854488790912227', 'uuid-lslong': '11518955344077107943'}, 'enable': 'true', 'created': '2026-05-27T16:24:09', 'last-modified': '2026-05-27T16:24:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.922442'}
2026-05-27 16:24:11,841 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-27 16:24:11,841 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68034738 passed
2026-05-27 16:24:11,841 - DEBUG - ====Verifying policy data for ctest-vn-68034738 in API_Server ======
2026-05-27 16:24:11,841 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-05-27 16:24:11,846 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b1935a7c-2485-4e97-8396-41f45e2a6ab0
2026-05-27 16:24:11,857 - DEBUG - Requesting: http://10.0.0.141:8082/project/baf2beaa-2dc0-436d-8cf2-6b18485e41f5
2026-05-27 16:24:11,929 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/7d7403c3-299a-4ce3-9fdb-8cdafb4db2e7
2026-05-27 16:24:11,938 - DEBUG - ==>Verifying data for policy with id: 7a910dc8-e733-413a-9013-785f60fce133, fqn: ['default-domain', 'ctest-TestBasicPolicy-05295955', 'ctest-policy-allow-all-87036956']
2026-05-27 16:24:11,938 - INFO - VN ctest-vn-68034738 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-27 16:24:11,938 - DEBUG - Verifying the vn in opserver
2026-05-27 16:24:11,938 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-68034738 virtual network link through opserver 10.0.0.141
2026-05-27 16:24:11,938 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-05-27 16:24:12,255 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-05-27 16:24:12,334 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-68034738', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-68034738?flat'}
2026-05-27 16:24:12,334 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-68034738 is found in opserver
2026-05-27 16:24:12,344 - DEBUG - Do not have enough data to verify VN in agent
2026-05-27 16:24:12,349 - DEBUG - VRF ids for VN ctest-vn-68034738: {}
2026-05-27 16:24:12,349 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-05-27 16:24:12,355 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b1935a7c-2485-4e97-8396-41f45e2a6ab0
2026-05-27 16:24:12,367 - DEBUG - Requesting: http://10.0.0.141:8082/project/baf2beaa-2dc0-436d-8cf2-6b18485e41f5
2026-05-27 16:24:12,440 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa542fb5-cd66-4138-b553-ea293456ec3d
2026-05-27 16:24:12,453 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa542fb5-cd66-4138-b553-ea293456ec3d
2026-05-27 16:24:12,464 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7e41c1b3-bf3e-469d-99bc-88ae3dedf5d8
2026-05-27 16:24:12,472 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7e41c1b3-bf3e-469d-99bc-88ae3dedf5d8
2026-05-27 16:24:12,480 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/4b66acf2-e216-470a-b5da-39d8fa7146dd
2026-05-27 16:24:12,487 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-27 16:24:12,487 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa542fb5-cd66-4138-b553-ea293456ec3d
2026-05-27 16:24:12,498 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7e41c1b3-bf3e-469d-99bc-88ae3dedf5d8
2026-05-27 16:24:12,515 - INFO - Verified VN network id 12 for VN fa542fb5-cd66-4138-b553-ea293456ec3d
2026-05-27 16:24:12,515 - INFO - Verifications in API Server for VN ctest-vn-79440792 passed
2026-05-27 16:24:12,515 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa542fb5-cd66-4138-b553-ea293456ec3d
2026-05-27 16:24:12,525 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7e41c1b3-bf3e-469d-99bc-88ae3dedf5d8
2026-05-27 16:24:12,533 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/7e41c1b3-bf3e-469d-99bc-88ae3dedf5d8
2026-05-27 16:24:12,540 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/4b66acf2-e216-470a-b5da-39d8fa7146dd
2026-05-27 16:24:12,552 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-79440792', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05295955', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18038094865407295800', 'uuid-lslong': '13066044406624611389'}, 'enable': 'true', 'created': '2026-05-27T16:24:10', 'last-modified': '2026-05-27T16:24:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.409281'}
2026-05-27 16:24:12,557 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-27 16:24:12,557 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79440792 passed
2026-05-27 16:24:12,557 - DEBUG - ====Verifying policy data for ctest-vn-79440792 in API_Server ======
2026-05-27 16:24:12,557 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-05-27 16:24:12,562 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b1935a7c-2485-4e97-8396-41f45e2a6ab0
2026-05-27 16:24:12,573 - DEBUG - Requesting: http://10.0.0.141:8082/project/baf2beaa-2dc0-436d-8cf2-6b18485e41f5
2026-05-27 16:24:12,641 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/fa542fb5-cd66-4138-b553-ea293456ec3d
2026-05-27 16:24:12,650 - DEBUG - ==>Verifying data for policy with id: 7a910dc8-e733-413a-9013-785f60fce133, fqn: ['default-domain', 'ctest-TestBasicPolicy-05295955', 'ctest-policy-allow-all-87036956']
2026-05-27 16:24:12,650 - INFO - VN ctest-vn-79440792 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-27 16:24:12,650 - DEBUG - Verifying the vn in opserver
2026-05-27 16:24:12,650 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-79440792 virtual network link through opserver 10.0.0.141
2026-05-27 16:24:12,650 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-05-27 16:24:12,659 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-79440792', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-79440792?flat'}
2026-05-27 16:24:12,659 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05295955:ctest-vn-79440792 is found in opserver
2026-05-27 16:24:12,667 - DEBUG - Do not have enough data to verify VN in agent
2026-05-27 16:24:12,671 - DEBUG - VRF ids for VN ctest-vn-79440792: {}
2026-05-27 16:24:12,732 - DEBUG - Services list from nova: [