2026-06-03 16:29:56,888 - INFO - Domain Default found not creating
2026-06-03 16:29:57,080 - INFO - Project ctest-TestBasicPolicy-74894616 not found, creating it
2026-06-03 16:29:57,545 - INFO - Created Project:ctest-TestBasicPolicy-74894616, ID : b401b972-0807-4164-8b9e-4ebc445ba613
2026-06-03 16:29:59,065 - INFO - ================================================================================
2026-06-03 16:29:59,065 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-03 16:29:59,065 - 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-06-03 16:29:59,326 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-06-03 16:29:59,326 - INFO - Initial checks done. Running the testcase now
2026-06-03 16:29:59,326 - INFO -
2026-06-03 16:29:59,874 - DEBUG - Response for create_network : {'network': {'id': '3d90dd9f-78b8-4fb5-8228-765e53263718', 'name': 'ctest-vn-41808615', 'tenant_id': 'b401b972080741648b9e4ebc445ba613', 'project_id': 'b401b972080741648b9e4ebc445ba613', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74894616', 'ctest-vn-41808615'], 'port_security_enabled': True, 'description': ''}}
2026-06-03 16:30:00,100 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba222733-dfed-428b-92f4-b833b3b1f611', 'name': '', 'tenant_id': 'b401b972080741648b9e4ebc445ba613', 'network_id': '3d90dd9f-78b8-4fb5-8228-765e53263718', 'ip_version': 4, 'cidr': '186.6.106.192/26', 'allocation_pools': [{'start': '186.6.106.194', 'end': '186.6.106.254'}], 'gateway_ip': '186.6.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.6.106.194', 'tags': [], 'project_id': 'b401b972080741648b9e4ebc445ba613'}}
2026-06-03 16:30:00,118 - INFO - Created VN ctest-vn-41808615
2026-06-03 16:30:00,172 - DEBUG - VN ctest-vn-41808615 UUID is 3d90dd9f-78b8-4fb5-8228-765e53263718
2026-06-03 16:30:00,486 - DEBUG - Response for create_network : {'network': {'id': 'b6b5ca3c-58c7-4a46-b32a-c0b087499b36', 'name': 'ctest-vn-74265766', 'tenant_id': 'b401b972080741648b9e4ebc445ba613', 'project_id': 'b401b972080741648b9e4ebc445ba613', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74894616', 'ctest-vn-74265766'], 'port_security_enabled': True, 'description': ''}}
2026-06-03 16:30:00,717 - DEBUG - Response for create_subnet : {'subnet': {'id': '9cca4b56-56b4-493e-bd80-052ac3688ad4', 'name': '', 'tenant_id': 'b401b972080741648b9e4ebc445ba613', 'network_id': 'b6b5ca3c-58c7-4a46-b32a-c0b087499b36', 'ip_version': 4, 'cidr': '125.9.237.192/26', 'allocation_pools': [{'start': '125.9.237.194', 'end': '125.9.237.254'}], 'gateway_ip': '125.9.237.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.9.237.194', 'tags': [], 'project_id': 'b401b972080741648b9e4ebc445ba613'}}
2026-06-03 16:30:00,740 - INFO - Created VN ctest-vn-74265766
2026-06-03 16:30:00,795 - DEBUG - VN ctest-vn-74265766 UUID is b6b5ca3c-58c7-4a46-b32a-c0b087499b36
2026-06-03 16:30:00,919 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-41808615, 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-74894616:ctest-vn-74265766, 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-06-03 16:30:01,245 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3d90dd9f-78b8-4fb5-8228-765e53263718', 'name': 'ctest-vn-41808615', 'tenant_id': 'b401b972080741648b9e4ebc445ba613', 'project_id': 'b401b972080741648b9e4ebc445ba613', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ba222733-dfed-428b-92f4-b833b3b1f611'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74894616', 'ctest-vn-41808615'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74894616', 'ctest-policy-allow-all-64627630']], 'subnet_ipam': [{'subnet_cidr': '186.6.106.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-03 16:30:01,487 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b6b5ca3c-58c7-4a46-b32a-c0b087499b36', 'name': 'ctest-vn-74265766', 'tenant_id': 'b401b972080741648b9e4ebc445ba613', 'project_id': 'b401b972080741648b9e4ebc445ba613', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9cca4b56-56b4-493e-bd80-052ac3688ad4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74894616', 'ctest-vn-74265766'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74894616', 'ctest-policy-allow-all-64627630']], 'subnet_ipam': [{'subnet_cidr': '125.9.237.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-03 16:30:01,659 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-03 16:30:01,970 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-03 16:30:02,014 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8ee10716-e135-4ff7-be7b-20b6bc69ebc1
2026-06-03 16:30:02,029 - DEBUG - Requesting: http://10.0.0.33:8082/project/b401b972-0807-4164-8b9e-4ebc445ba613
2026-06-03 16:30:02,104 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3d90dd9f-78b8-4fb5-8228-765e53263718
2026-06-03 16:30:02,119 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3d90dd9f-78b8-4fb5-8228-765e53263718
2026-06-03 16:30:02,131 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d96d6fb-2018-4eba-9550-1ac90e67f519
2026-06-03 16:30:02,139 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d96d6fb-2018-4eba-9550-1ac90e67f519
2026-06-03 16:30:02,147 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d6c242f3-7a01-460a-bb7c-96838f91c6d7
2026-06-03 16:30:02,155 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-03 16:30:02,155 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3d90dd9f-78b8-4fb5-8228-765e53263718
2026-06-03 16:30:02,166 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d96d6fb-2018-4eba-9550-1ac90e67f519
2026-06-03 16:30:02,182 - INFO - Verified VN network id 11 for VN 3d90dd9f-78b8-4fb5-8228-765e53263718
2026-06-03 16:30:02,182 - INFO - Verifications in API Server for VN ctest-vn-41808615 passed
2026-06-03 16:30:02,182 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3d90dd9f-78b8-4fb5-8228-765e53263718
2026-06-03 16:30:02,192 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d96d6fb-2018-4eba-9550-1ac90e67f519
2026-06-03 16:30:02,199 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6d96d6fb-2018-4eba-9550-1ac90e67f519
2026-06-03 16:30:02,206 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d6c242f3-7a01-460a-bb7c-96838f91c6d7
2026-06-03 16:30:02,219 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-41808615', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74894616', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4436289309954822069', 'uuid-lslong': '9378876371493074712'}, 'enable': 'true', 'created': '2026-06-03T16:29:59', 'last-modified': '2026-06-03T16:30:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.010820'}
2026-06-03 16:30:02,226 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-03 16:30:02,226 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41808615 passed
2026-06-03 16:30:02,227 - DEBUG - ====Verifying policy data for ctest-vn-41808615 in API_Server ======
2026-06-03 16:30:02,227 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-03 16:30:02,233 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8ee10716-e135-4ff7-be7b-20b6bc69ebc1
2026-06-03 16:30:02,246 - DEBUG - Requesting: http://10.0.0.33:8082/project/b401b972-0807-4164-8b9e-4ebc445ba613
2026-06-03 16:30:02,324 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3d90dd9f-78b8-4fb5-8228-765e53263718
2026-06-03 16:30:02,334 - DEBUG - ==>Verifying data for policy with id: df93615e-589f-4df9-bc72-83e131f5cae3, fqn: ['default-domain', 'ctest-TestBasicPolicy-74894616', 'ctest-policy-allow-all-64627630']
2026-06-03 16:30:02,334 - INFO - VN ctest-vn-41808615 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-03 16:30:02,334 - DEBUG - Verifying the vn in opserver
2026-06-03 16:30:02,334 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-41808615 virtual network link through opserver 10.0.0.33
2026-06-03 16:30:02,334 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-03 16:30:02,631 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-03 16:30:02,704 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-41808615', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-41808615?flat'}
2026-06-03 16:30:02,704 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-41808615 is found in opserver
2026-06-03 16:30:02,716 - DEBUG - Do not have enough data to verify VN in agent
2026-06-03 16:30:02,723 - DEBUG - VRF ids for VN ctest-vn-41808615: {}
2026-06-03 16:30:02,723 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-03 16:30:02,730 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8ee10716-e135-4ff7-be7b-20b6bc69ebc1
2026-06-03 16:30:02,743 - DEBUG - Requesting: http://10.0.0.33:8082/project/b401b972-0807-4164-8b9e-4ebc445ba613
2026-06-03 16:30:02,817 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b6b5ca3c-58c7-4a46-b32a-c0b087499b36
2026-06-03 16:30:02,830 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b6b5ca3c-58c7-4a46-b32a-c0b087499b36
2026-06-03 16:30:02,841 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/225176e1-5f87-44b0-b8d0-af2892a7354a
2026-06-03 16:30:02,849 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/225176e1-5f87-44b0-b8d0-af2892a7354a
2026-06-03 16:30:02,857 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0dc300f4-f2eb-4cd3-be23-d0f0472d97db
2026-06-03 16:30:02,865 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-03 16:30:02,865 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b6b5ca3c-58c7-4a46-b32a-c0b087499b36
2026-06-03 16:30:02,875 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/225176e1-5f87-44b0-b8d0-af2892a7354a
2026-06-03 16:30:02,891 - INFO - Verified VN network id 12 for VN b6b5ca3c-58c7-4a46-b32a-c0b087499b36
2026-06-03 16:30:02,892 - INFO - Verifications in API Server for VN ctest-vn-74265766 passed
2026-06-03 16:30:02,892 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b6b5ca3c-58c7-4a46-b32a-c0b087499b36
2026-06-03 16:30:02,903 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/225176e1-5f87-44b0-b8d0-af2892a7354a
2026-06-03 16:30:02,911 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/225176e1-5f87-44b0-b8d0-af2892a7354a
2026-06-03 16:30:02,920 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0dc300f4-f2eb-4cd3-be23-d0f0472d97db
2026-06-03 16:30:02,934 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-74265766', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74894616', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13165651446223817286', 'uuid-lslong': '12910343146227473206'}, 'enable': 'true', 'created': '2026-06-03T16:30:00', 'last-modified': '2026-06-03T16:30:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.476206'}
2026-06-03 16:30:02,941 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-03 16:30:02,941 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74265766 passed
2026-06-03 16:30:02,941 - DEBUG - ====Verifying policy data for ctest-vn-74265766 in API_Server ======
2026-06-03 16:30:02,941 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-03 16:30:02,947 - DEBUG - Requesting: http://10.0.0.33:8082/domain/8ee10716-e135-4ff7-be7b-20b6bc69ebc1
2026-06-03 16:30:02,961 - DEBUG - Requesting: http://10.0.0.33:8082/project/b401b972-0807-4164-8b9e-4ebc445ba613
2026-06-03 16:30:03,040 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b6b5ca3c-58c7-4a46-b32a-c0b087499b36
2026-06-03 16:30:03,051 - DEBUG - ==>Verifying data for policy with id: df93615e-589f-4df9-bc72-83e131f5cae3, fqn: ['default-domain', 'ctest-TestBasicPolicy-74894616', 'ctest-policy-allow-all-64627630']
2026-06-03 16:30:03,051 - INFO - VN ctest-vn-74265766 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-03 16:30:03,051 - DEBUG - Verifying the vn in opserver
2026-06-03 16:30:03,051 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-74265766 virtual network link through opserver 10.0.0.33
2026-06-03 16:30:03,051 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-03 16:30:03,062 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-74265766', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-74265766?flat'}
2026-06-03 16:30:03,062 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74894616:ctest-vn-74265766 is found in opserver
2026-06-03 16:30:03,072 - DEBUG - Do not have enough data to verify VN in agent
2026-06-03 16:30:03,077 - DEBUG - VRF ids for VN ctest-vn-74265766: {}
2026-06-03 16:30:03,143 - DEBUG - Services list from nova: [