2026-07-29 15:03:46,320 - INFO - Domain Default found not creating
2026-07-29 15:03:46,558 - INFO - Project ctest-TestBasicPolicy-00437373 not found, creating it
2026-07-29 15:03:47,148 - INFO - Created Project:ctest-TestBasicPolicy-00437373, ID : 244333e5-b54c-492e-8826-068ff5605ade
2026-07-29 15:03:49,144 - INFO - ================================================================================
2026-07-29 15:03:49,144 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-07-29 15:03:49,144 - 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-07-29 15:03:49,418 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with
2026-07-29 15:03:49,418 - INFO - Initial checks done. Running the testcase now
2026-07-29 15:03:49,418 - INFO -
2026-07-29 15:03:50,202 - DEBUG - Response for create_network : {'network': {'id': 'd4fbfcfb-593d-4a05-b765-95e5b9b92696', 'name': 'ctest-vn-69454916', 'tenant_id': '244333e5b54c492e8826068ff5605ade', 'project_id': '244333e5b54c492e8826068ff5605ade', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00437373', 'ctest-vn-69454916'], 'port_security_enabled': True, 'description': ''}}
2026-07-29 15:03:50,439 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fc12e8e-bd91-424c-a472-687553cc8751', 'name': '', 'tenant_id': '244333e5b54c492e8826068ff5605ade', 'network_id': 'd4fbfcfb-593d-4a05-b765-95e5b9b92696', 'ip_version': 4, 'cidr': '145.252.37.0/26', 'allocation_pools': [{'start': '145.252.37.2', 'end': '145.252.37.62'}], 'gateway_ip': '145.252.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.252.37.2', 'tags': [], 'project_id': '244333e5b54c492e8826068ff5605ade'}}
2026-07-29 15:03:50,464 - INFO - Created VN ctest-vn-69454916
2026-07-29 15:03:50,520 - DEBUG - VN ctest-vn-69454916 UUID is d4fbfcfb-593d-4a05-b765-95e5b9b92696
2026-07-29 15:03:50,890 - DEBUG - Response for create_network : {'network': {'id': '4ab79746-c7d2-4596-869a-038d1539cb60', 'name': 'ctest-vn-20262945', 'tenant_id': '244333e5b54c492e8826068ff5605ade', 'project_id': '244333e5b54c492e8826068ff5605ade', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00437373', 'ctest-vn-20262945'], 'port_security_enabled': True, 'description': ''}}
2026-07-29 15:03:51,161 - DEBUG - Response for create_subnet : {'subnet': {'id': '4df79d3f-5316-456f-8bb9-e562fcebfc2c', 'name': '', 'tenant_id': '244333e5b54c492e8826068ff5605ade', 'network_id': '4ab79746-c7d2-4596-869a-038d1539cb60', 'ip_version': 4, 'cidr': '197.255.200.128/26', 'allocation_pools': [{'start': '197.255.200.130', 'end': '197.255.200.190'}], 'gateway_ip': '197.255.200.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.255.200.130', 'tags': [], 'project_id': '244333e5b54c492e8826068ff5605ade'}}
2026-07-29 15:03:51,185 - INFO - Created VN ctest-vn-20262945
2026-07-29 15:03:51,240 - DEBUG - VN ctest-vn-20262945 UUID is 4ab79746-c7d2-4596-869a-038d1539cb60
2026-07-29 15:03:51,369 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-69454916, 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-00437373:ctest-vn-20262945, 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-07-29 15:03:51,739 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd4fbfcfb-593d-4a05-b765-95e5b9b92696', 'name': 'ctest-vn-69454916', 'tenant_id': '244333e5b54c492e8826068ff5605ade', 'project_id': '244333e5b54c492e8826068ff5605ade', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2fc12e8e-bd91-424c-a472-687553cc8751'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00437373', 'ctest-vn-69454916'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00437373', 'ctest-policy-allow-all-76967135']], 'subnet_ipam': [{'subnet_cidr': '145.252.37.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-29 15:03:52,018 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4ab79746-c7d2-4596-869a-038d1539cb60', 'name': 'ctest-vn-20262945', 'tenant_id': '244333e5b54c492e8826068ff5605ade', 'project_id': '244333e5b54c492e8826068ff5605ade', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4df79d3f-5316-456f-8bb9-e562fcebfc2c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00437373', 'ctest-vn-20262945'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00437373', 'ctest-policy-allow-all-76967135']], 'subnet_ipam': [{'subnet_cidr': '197.255.200.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-29 15:03:52,196 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-07-29 15:03:52,593 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-07-29 15:03:52,628 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f6235a01-974f-4b35-91af-124d5216d0d3
2026-07-29 15:03:52,646 - DEBUG - Requesting: http://10.0.0.22:8082/project/244333e5-b54c-492e-8826-068ff5605ade
2026-07-29 15:03:52,743 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d4fbfcfb-593d-4a05-b765-95e5b9b92696
2026-07-29 15:03:52,761 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d4fbfcfb-593d-4a05-b765-95e5b9b92696
2026-07-29 15:03:52,774 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1b2d5e0a-3ea6-4207-b1ee-b002ebcdebdb
2026-07-29 15:03:52,786 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1b2d5e0a-3ea6-4207-b1ee-b002ebcdebdb
2026-07-29 15:03:52,795 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/5b885dc0-d582-4e85-b57c-1c4f70ada051
2026-07-29 15:03:52,806 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-29 15:03:52,806 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d4fbfcfb-593d-4a05-b765-95e5b9b92696
2026-07-29 15:03:52,822 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1b2d5e0a-3ea6-4207-b1ee-b002ebcdebdb
2026-07-29 15:03:52,844 - INFO - Verified VN network id 11 for VN d4fbfcfb-593d-4a05-b765-95e5b9b92696
2026-07-29 15:03:52,845 - INFO - Verifications in API Server for VN ctest-vn-69454916 passed
2026-07-29 15:03:52,845 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d4fbfcfb-593d-4a05-b765-95e5b9b92696
2026-07-29 15:03:52,857 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1b2d5e0a-3ea6-4207-b1ee-b002ebcdebdb
2026-07-29 15:03:52,868 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1b2d5e0a-3ea6-4207-b1ee-b002ebcdebdb
2026-07-29 15:03:52,880 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/5b885dc0-d582-4e85-b57c-1c4f70ada051
2026-07-29 15:03:52,898 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-69454916', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00437373', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15347138311659276805', 'uuid-lslong': '13215133495484556950'}, 'enable': 'true', 'created': '2026-07-29T15:03:50', 'last-modified': '2026-07-29T15:03:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.196483'}
2026-07-29 15:03:52,909 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-29 15:03:52,909 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69454916 passed
2026-07-29 15:03:52,910 - DEBUG - ====Verifying policy data for ctest-vn-69454916 in API_Server ======
2026-07-29 15:03:52,910 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-07-29 15:03:52,916 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f6235a01-974f-4b35-91af-124d5216d0d3
2026-07-29 15:03:52,930 - DEBUG - Requesting: http://10.0.0.22:8082/project/244333e5-b54c-492e-8826-068ff5605ade
2026-07-29 15:03:53,015 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d4fbfcfb-593d-4a05-b765-95e5b9b92696
2026-07-29 15:03:53,028 - DEBUG - ==>Verifying data for policy with id: 65b9c76e-6646-4cd0-9aa4-6d6b8b1efad7, fqn: ['default-domain', 'ctest-TestBasicPolicy-00437373', 'ctest-policy-allow-all-76967135']
2026-07-29 15:03:53,028 - INFO - VN ctest-vn-69454916 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-29 15:03:53,028 - DEBUG - Verifying the vn in opserver
2026-07-29 15:03:53,028 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-69454916 virtual network link through opserver 10.0.0.22
2026-07-29 15:03:53,029 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-07-29 15:03:53,428 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-07-29 15:03:53,499 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-69454916', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-69454916?flat'}
2026-07-29 15:03:53,499 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-69454916 is found in opserver
2026-07-29 15:03:53,511 - DEBUG - Do not have enough data to verify VN in agent
2026-07-29 15:03:53,518 - DEBUG - VRF ids for VN ctest-vn-69454916: {}
2026-07-29 15:03:53,518 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-07-29 15:03:53,524 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f6235a01-974f-4b35-91af-124d5216d0d3
2026-07-29 15:03:53,537 - DEBUG - Requesting: http://10.0.0.22:8082/project/244333e5-b54c-492e-8826-068ff5605ade
2026-07-29 15:03:53,644 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4ab79746-c7d2-4596-869a-038d1539cb60
2026-07-29 15:03:53,663 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4ab79746-c7d2-4596-869a-038d1539cb60
2026-07-29 15:03:53,676 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7d68793d-06fe-44e4-b743-85c293123c88
2026-07-29 15:03:53,686 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7d68793d-06fe-44e4-b743-85c293123c88
2026-07-29 15:03:53,695 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1692d6f4-8320-4e4f-a23a-e320332ecae8
2026-07-29 15:03:53,704 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-29 15:03:53,704 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4ab79746-c7d2-4596-869a-038d1539cb60
2026-07-29 15:03:53,716 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7d68793d-06fe-44e4-b743-85c293123c88
2026-07-29 15:03:53,739 - INFO - Verified VN network id 12 for VN 4ab79746-c7d2-4596-869a-038d1539cb60
2026-07-29 15:03:53,739 - INFO - Verifications in API Server for VN ctest-vn-20262945 passed
2026-07-29 15:03:53,739 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4ab79746-c7d2-4596-869a-038d1539cb60
2026-07-29 15:03:53,754 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7d68793d-06fe-44e4-b743-85c293123c88
2026-07-29 15:03:53,765 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/7d68793d-06fe-44e4-b743-85c293123c88
2026-07-29 15:03:53,777 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1692d6f4-8320-4e4f-a23a-e320332ecae8
2026-07-29 15:03:53,796 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-20262945', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00437373', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5383938209800668566', 'uuid-lslong': '9699068651977165664'}, 'enable': 'true', 'created': '2026-07-29T15:03:50', 'last-modified': '2026-07-29T15:03:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.813296'}
2026-07-29 15:03:53,805 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-29 15:03:53,805 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20262945 passed
2026-07-29 15:03:53,805 - DEBUG - ====Verifying policy data for ctest-vn-20262945 in API_Server ======
2026-07-29 15:03:53,805 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-07-29 15:03:53,821 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f6235a01-974f-4b35-91af-124d5216d0d3
2026-07-29 15:03:53,837 - DEBUG - Requesting: http://10.0.0.22:8082/project/244333e5-b54c-492e-8826-068ff5605ade
2026-07-29 15:03:53,931 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4ab79746-c7d2-4596-869a-038d1539cb60
2026-07-29 15:03:53,945 - DEBUG - ==>Verifying data for policy with id: 65b9c76e-6646-4cd0-9aa4-6d6b8b1efad7, fqn: ['default-domain', 'ctest-TestBasicPolicy-00437373', 'ctest-policy-allow-all-76967135']
2026-07-29 15:03:53,945 - INFO - VN ctest-vn-20262945 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-29 15:03:53,945 - DEBUG - Verifying the vn in opserver
2026-07-29 15:03:53,945 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-20262945 virtual network link through opserver 10.0.0.22
2026-07-29 15:03:53,945 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-07-29 15:03:53,961 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-20262945', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-20262945?flat'}
2026-07-29 15:03:53,961 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00437373:ctest-vn-20262945 is found in opserver
2026-07-29 15:03:53,977 - DEBUG - Do not have enough data to verify VN in agent
2026-07-29 15:03:53,986 - DEBUG - VRF ids for VN ctest-vn-20262945: {}
2026-07-29 15:03:54,072 - DEBUG - Services list from nova: [