2026-06-18 14:58:42,099 - INFO - Domain Default found not creating
2026-06-18 14:58:42,226 - INFO - Project ctest-TestBasicPolicy-98902972 not found, creating it
2026-06-18 14:58:42,639 - INFO - Created Project:ctest-TestBasicPolicy-98902972, ID : 02a36a98-d4f1-4098-a126-55c30e3645e5
2026-06-18 14:58:44,010 - INFO - ================================================================================
2026-06-18 14:58:44,010 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-18 14:58:44,010 - 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-18 14:58:44,268 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-06-18 14:58:44,268 - INFO - Initial checks done. Running the testcase now
2026-06-18 14:58:44,269 - INFO -
2026-06-18 14:58:44,786 - DEBUG - Response for create_network : {'network': {'id': '5468b294-10e4-4365-97b9-d54a04b254f4', 'name': 'ctest-vn-00514237', 'tenant_id': '02a36a98d4f14098a12655c30e3645e5', 'project_id': '02a36a98d4f14098a12655c30e3645e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98902972', 'ctest-vn-00514237'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 14:58:44,994 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a4d609f-7886-416c-bf74-89cf4b8dad7e', 'name': '', 'tenant_id': '02a36a98d4f14098a12655c30e3645e5', 'network_id': '5468b294-10e4-4365-97b9-d54a04b254f4', 'ip_version': 4, 'cidr': '176.148.177.192/26', 'allocation_pools': [{'start': '176.148.177.194', 'end': '176.148.177.254'}], 'gateway_ip': '176.148.177.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.148.177.194', 'tags': [], 'project_id': '02a36a98d4f14098a12655c30e3645e5'}}
2026-06-18 14:58:45,006 - INFO - Created VN ctest-vn-00514237
2026-06-18 14:58:45,059 - DEBUG - VN ctest-vn-00514237 UUID is 5468b294-10e4-4365-97b9-d54a04b254f4
2026-06-18 14:58:45,342 - DEBUG - Response for create_network : {'network': {'id': 'efc8f890-f7e9-4fc9-84f3-81011baa44f7', 'name': 'ctest-vn-27930306', 'tenant_id': '02a36a98d4f14098a12655c30e3645e5', 'project_id': '02a36a98d4f14098a12655c30e3645e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98902972', 'ctest-vn-27930306'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 14:58:45,519 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e09d518f-ee3b-4870-a3b5-18666ca5ea89', 'name': '', 'tenant_id': '02a36a98d4f14098a12655c30e3645e5', 'network_id': 'efc8f890-f7e9-4fc9-84f3-81011baa44f7', 'ip_version': 4, 'cidr': '57.128.228.64/26', 'allocation_pools': [{'start': '57.128.228.66', 'end': '57.128.228.126'}], 'gateway_ip': '57.128.228.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.128.228.66', 'tags': [], 'project_id': '02a36a98d4f14098a12655c30e3645e5'}}
2026-06-18 14:58:45,532 - INFO - Created VN ctest-vn-27930306
2026-06-18 14:58:45,583 - DEBUG - VN ctest-vn-27930306 UUID is efc8f890-f7e9-4fc9-84f3-81011baa44f7
2026-06-18 14:58:45,715 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98902972:ctest-vn-00514237, 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-98902972:ctest-vn-27930306, 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-18 14:58:45,976 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5468b294-10e4-4365-97b9-d54a04b254f4', 'name': 'ctest-vn-00514237', 'tenant_id': '02a36a98d4f14098a12655c30e3645e5', 'project_id': '02a36a98d4f14098a12655c30e3645e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2a4d609f-7886-416c-bf74-89cf4b8dad7e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98902972', 'ctest-vn-00514237'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98902972', 'ctest-policy-allow-all-90782379']], 'subnet_ipam': [{'subnet_cidr': '176.148.177.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-18 14:58:46,192 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'efc8f890-f7e9-4fc9-84f3-81011baa44f7', 'name': 'ctest-vn-27930306', 'tenant_id': '02a36a98d4f14098a12655c30e3645e5', 'project_id': '02a36a98d4f14098a12655c30e3645e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e09d518f-ee3b-4870-a3b5-18666ca5ea89'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98902972', 'ctest-vn-27930306'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98902972', 'ctest-policy-allow-all-90782379']], 'subnet_ipam': [{'subnet_cidr': '57.128.228.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-18 14:58:46,355 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-18 14:58:46,667 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-18 14:58:46,689 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9685a3ee-9a60-4f5d-a54a-83280f625c37
2026-06-18 14:58:46,699 - DEBUG - Requesting: http://10.0.0.33:8082/project/02a36a98-d4f1-4098-a126-55c30e3645e5
2026-06-18 14:58:46,767 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5468b294-10e4-4365-97b9-d54a04b254f4
2026-06-18 14:58:46,776 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5468b294-10e4-4365-97b9-d54a04b254f4
2026-06-18 14:58:46,783 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b816796a-6f37-4d3b-b469-5bb03b2fb5a2
2026-06-18 14:58:46,789 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b816796a-6f37-4d3b-b469-5bb03b2fb5a2
2026-06-18 14:58:46,794 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7884bbc0-eaa9-43ed-814e-8650c81c1f4e
2026-06-18 14:58:46,799 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-18 14:58:46,799 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5468b294-10e4-4365-97b9-d54a04b254f4
2026-06-18 14:58:46,806 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b816796a-6f37-4d3b-b469-5bb03b2fb5a2
2026-06-18 14:58:46,816 - INFO - Verified VN network id 11 for VN 5468b294-10e4-4365-97b9-d54a04b254f4
2026-06-18 14:58:46,816 - INFO - Verifications in API Server for VN ctest-vn-00514237 passed
2026-06-18 14:58:46,816 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5468b294-10e4-4365-97b9-d54a04b254f4
2026-06-18 14:58:46,822 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b816796a-6f37-4d3b-b469-5bb03b2fb5a2
2026-06-18 14:58:46,827 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b816796a-6f37-4d3b-b469-5bb03b2fb5a2
2026-06-18 14:58:46,832 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7884bbc0-eaa9-43ed-814e-8650c81c1f4e
2026-06-18 14:58:46,840 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98902972:ctest-vn-00514237', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98902972', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6082307645772153701', 'uuid-lslong': '10933004084301681908'}, 'enable': 'true', 'created': '2026-06-18T14:58:44', 'last-modified': '2026-06-18T14:58:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.881934'}
2026-06-18 14:58:46,845 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-18 14:58:46,845 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00514237 passed
2026-06-18 14:58:46,845 - DEBUG - ====Verifying policy data for ctest-vn-00514237 in API_Server ======
2026-06-18 14:58:46,845 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-18 14:58:46,849 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9685a3ee-9a60-4f5d-a54a-83280f625c37
2026-06-18 14:58:46,857 - DEBUG - Requesting: http://10.0.0.33:8082/project/02a36a98-d4f1-4098-a126-55c30e3645e5
2026-06-18 14:58:46,921 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5468b294-10e4-4365-97b9-d54a04b254f4
2026-06-18 14:58:46,930 - DEBUG - ==>Verifying data for policy with id: b4ec00dc-7201-42f7-ac47-9ac8c22bad4f, fqn: ['default-domain', 'ctest-TestBasicPolicy-98902972', 'ctest-policy-allow-all-90782379']
2026-06-18 14:58:46,930 - INFO - VN ctest-vn-00514237 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-18 14:58:46,930 - DEBUG - Verifying the vn in opserver
2026-06-18 14:58:46,930 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98902972:ctest-vn-00514237 virtual network link through opserver 10.0.0.33
2026-06-18 14:58:46,930 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-18 14:58:47,254 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-18 14:58:47,295 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98902972:ctest-vn-00514237', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98902972:ctest-vn-00514237?flat'}
2026-06-18 14:58:47,295 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98902972:ctest-vn-00514237 is found in opserver
2026-06-18 14:58:47,303 - DEBUG - Do not have enough data to verify VN in agent
2026-06-18 14:58:47,307 - DEBUG - VRF ids for VN ctest-vn-00514237: {}
2026-06-18 14:58:47,307 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-18 14:58:47,311 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9685a3ee-9a60-4f5d-a54a-83280f625c37
2026-06-18 14:58:47,321 - DEBUG - Requesting: http://10.0.0.33:8082/project/02a36a98-d4f1-4098-a126-55c30e3645e5
2026-06-18 14:58:47,384 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/efc8f890-f7e9-4fc9-84f3-81011baa44f7
2026-06-18 14:58:47,394 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/efc8f890-f7e9-4fc9-84f3-81011baa44f7
2026-06-18 14:58:47,401 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c185c4d9-4507-42a1-aee2-8b84f8b8874b
2026-06-18 14:58:47,407 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c185c4d9-4507-42a1-aee2-8b84f8b8874b
2026-06-18 14:58:47,412 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/95a08f3c-4290-454b-aec4-6414e9ca1ea0
2026-06-18 14:58:47,416 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-18 14:58:47,416 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/efc8f890-f7e9-4fc9-84f3-81011baa44f7
2026-06-18 14:58:47,423 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c185c4d9-4507-42a1-aee2-8b84f8b8874b
2026-06-18 14:58:47,441 - INFO - Verified VN network id 12 for VN efc8f890-f7e9-4fc9-84f3-81011baa44f7
2026-06-18 14:58:47,441 - INFO - Verifications in API Server for VN ctest-vn-27930306 passed
2026-06-18 14:58:47,442 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/efc8f890-f7e9-4fc9-84f3-81011baa44f7
2026-06-18 14:58:47,451 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c185c4d9-4507-42a1-aee2-8b84f8b8874b
2026-06-18 14:58:47,459 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c185c4d9-4507-42a1-aee2-8b84f8b8874b
2026-06-18 14:58:47,466 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/95a08f3c-4290-454b-aec4-6414e9ca1ea0
2026-06-18 14:58:47,477 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98902972:ctest-vn-27930306', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98902972', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17278333271925149641', 'uuid-lslong': '9580142674106270967'}, 'enable': 'true', 'created': '2026-06-18T14:58:45', 'last-modified': '2026-06-18T14:58:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.305238'}
2026-06-18 14:58:47,482 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-18 14:58:47,482 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27930306 passed
2026-06-18 14:58:47,482 - DEBUG - ====Verifying policy data for ctest-vn-27930306 in API_Server ======
2026-06-18 14:58:47,482 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-18 14:58:47,486 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9685a3ee-9a60-4f5d-a54a-83280f625c37
2026-06-18 14:58:47,495 - DEBUG - Requesting: http://10.0.0.33:8082/project/02a36a98-d4f1-4098-a126-55c30e3645e5
2026-06-18 14:58:47,563 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/efc8f890-f7e9-4fc9-84f3-81011baa44f7
2026-06-18 14:58:47,570 - DEBUG - ==>Verifying data for policy with id: b4ec00dc-7201-42f7-ac47-9ac8c22bad4f, fqn: ['default-domain', 'ctest-TestBasicPolicy-98902972', 'ctest-policy-allow-all-90782379']
2026-06-18 14:58:47,570 - INFO - VN ctest-vn-27930306 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-18 14:58:47,570 - DEBUG - Verifying the vn in opserver
2026-06-18 14:58:47,570 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98902972:ctest-vn-27930306 virtual network link through opserver 10.0.0.33
2026-06-18 14:58:47,571 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-18 14:58:47,578 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98902972:ctest-vn-27930306', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98902972:ctest-vn-27930306?flat'}
2026-06-18 14:58:47,578 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98902972:ctest-vn-27930306 is found in opserver
2026-06-18 14:58:47,586 - DEBUG - Do not have enough data to verify VN in agent
2026-06-18 14:58:47,590 - DEBUG - VRF ids for VN ctest-vn-27930306: {}
2026-06-18 14:58:47,636 - DEBUG - Services list from nova: [