2026-11-01 00:53:57,610 - INFO - Domain Default found not creating
2026-11-01 00:53:57,760 - INFO - Project ctest-TestBasicPolicy-29722440 not found, creating it
2026-11-01 00:53:58,230 - INFO - Created Project:ctest-TestBasicPolicy-29722440, ID : a923471e-d7af-4e8d-92ee-72d10d050ef1
2026-11-01 00:53:59,905 - INFO - ================================================================================
2026-11-01 00:53:59,905 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-01 00:53:59,905 - 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-11-01 00:54:00,164 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2026-11-01 00:54:00,164 - INFO - Initial checks done. Running the testcase now
2026-11-01 00:54:00,165 - INFO -
2026-11-01 00:54:00,781 - DEBUG - Response for create_network : {'network': {'id': '1778dbd8-1698-4f2d-b4d4-26b4dbf604f1', 'name': 'ctest-vn-09141698', 'tenant_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'project_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29722440', 'ctest-vn-09141698'], 'port_security_enabled': True, 'description': ''}}
2026-11-01 00:54:00,944 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc91c7be-2a70-4e9f-ba53-4c9598f50d0f', 'name': '', 'tenant_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'network_id': '1778dbd8-1698-4f2d-b4d4-26b4dbf604f1', 'ip_version': 4, 'cidr': '134.247.103.64/26', 'allocation_pools': [{'start': '134.247.103.66', 'end': '134.247.103.126'}], 'gateway_ip': '134.247.103.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.247.103.66', 'tags': [], 'project_id': 'a923471ed7af4e8d92ee72d10d050ef1'}}
2026-11-01 00:54:00,959 - INFO - Created VN ctest-vn-09141698
2026-11-01 00:54:01,009 - DEBUG - VN ctest-vn-09141698 UUID is 1778dbd8-1698-4f2d-b4d4-26b4dbf604f1
2026-11-01 00:54:01,351 - DEBUG - Response for create_network : {'network': {'id': 'aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414', 'name': 'ctest-vn-99309218', 'tenant_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'project_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29722440', 'ctest-vn-99309218'], 'port_security_enabled': True, 'description': ''}}
2026-11-01 00:54:01,559 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a076852f-ee2e-41bf-b046-879206102399', 'name': '', 'tenant_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'network_id': 'aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414', 'ip_version': 4, 'cidr': '137.160.11.0/26', 'allocation_pools': [{'start': '137.160.11.2', 'end': '137.160.11.62'}], 'gateway_ip': '137.160.11.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.160.11.2', 'tags': [], 'project_id': 'a923471ed7af4e8d92ee72d10d050ef1'}}
2026-11-01 00:54:01,575 - INFO - Created VN ctest-vn-99309218
2026-11-01 00:54:01,625 - DEBUG - VN ctest-vn-99309218 UUID is aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414
2026-11-01 00:54:01,765 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-09141698, 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-29722440:ctest-vn-99309218, 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-11-01 00:54:02,074 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1778dbd8-1698-4f2d-b4d4-26b4dbf604f1', 'name': 'ctest-vn-09141698', 'tenant_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'project_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['bc91c7be-2a70-4e9f-ba53-4c9598f50d0f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29722440', 'ctest-vn-09141698'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29722440', 'ctest-policy-allow-all-01448130']], 'subnet_ipam': [{'subnet_cidr': '134.247.103.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-01 00:54:02,317 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414', 'name': 'ctest-vn-99309218', 'tenant_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'project_id': 'a923471ed7af4e8d92ee72d10d050ef1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a076852f-ee2e-41bf-b046-879206102399'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29722440', 'ctest-vn-99309218'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29722440', 'ctest-policy-allow-all-01448130']], 'subnet_ipam': [{'subnet_cidr': '137.160.11.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-01 00:54:02,493 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-11-01 00:54:02,854 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-11-01 00:54:02,879 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e5ea63c-1e1e-4e45-a3b8-04755df0e67b
2026-11-01 00:54:02,891 - DEBUG - Requesting: http://10.0.0.33:8082/project/a923471e-d7af-4e8d-92ee-72d10d050ef1
2026-11-01 00:54:02,965 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1778dbd8-1698-4f2d-b4d4-26b4dbf604f1
2026-11-01 00:54:02,976 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1778dbd8-1698-4f2d-b4d4-26b4dbf604f1
2026-11-01 00:54:02,985 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5764c6e6-ae17-4b2d-bcb7-69c73f58db4b
2026-11-01 00:54:02,992 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5764c6e6-ae17-4b2d-bcb7-69c73f58db4b
2026-11-01 00:54:02,999 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2083a75d-7f51-415d-81c6-bf974c27d884
2026-11-01 00:54:03,004 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-01 00:54:03,004 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1778dbd8-1698-4f2d-b4d4-26b4dbf604f1
2026-11-01 00:54:03,012 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5764c6e6-ae17-4b2d-bcb7-69c73f58db4b
2026-11-01 00:54:03,025 - INFO - Verified VN network id 11 for VN 1778dbd8-1698-4f2d-b4d4-26b4dbf604f1
2026-11-01 00:54:03,025 - INFO - Verifications in API Server for VN ctest-vn-09141698 passed
2026-11-01 00:54:03,025 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1778dbd8-1698-4f2d-b4d4-26b4dbf604f1
2026-11-01 00:54:03,033 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5764c6e6-ae17-4b2d-bcb7-69c73f58db4b
2026-11-01 00:54:03,038 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/5764c6e6-ae17-4b2d-bcb7-69c73f58db4b
2026-11-01 00:54:03,044 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2083a75d-7f51-415d-81c6-bf974c27d884
2026-11-01 00:54:03,054 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-09141698', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29722440', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1691343381216120621', 'uuid-lslong': '13030082180115989745'}, 'enable': 'true', 'created': '2026-11-01T00:54:00', 'last-modified': '2026-11-01T00:54:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.012905'}
2026-11-01 00:54:03,059 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-01 00:54:03,060 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09141698 passed
2026-11-01 00:54:03,060 - DEBUG - ====Verifying policy data for ctest-vn-09141698 in API_Server ======
2026-11-01 00:54:03,060 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-11-01 00:54:03,064 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e5ea63c-1e1e-4e45-a3b8-04755df0e67b
2026-11-01 00:54:03,073 - DEBUG - Requesting: http://10.0.0.33:8082/project/a923471e-d7af-4e8d-92ee-72d10d050ef1
2026-11-01 00:54:03,144 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1778dbd8-1698-4f2d-b4d4-26b4dbf604f1
2026-11-01 00:54:03,153 - DEBUG - ==>Verifying data for policy with id: c5140c6d-57e4-401f-9e96-140965ca5cef, fqn: ['default-domain', 'ctest-TestBasicPolicy-29722440', 'ctest-policy-allow-all-01448130']
2026-11-01 00:54:03,153 - INFO - VN ctest-vn-09141698 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-01 00:54:03,153 - DEBUG - Verifying the vn in opserver
2026-11-01 00:54:03,153 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-09141698 virtual network link through opserver 10.0.0.33
2026-11-01 00:54:03,153 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-11-01 00:54:03,514 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-11-01 00:54:03,566 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-09141698', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-09141698?flat'}
2026-11-01 00:54:03,566 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-09141698 is found in opserver
2026-11-01 00:54:03,577 - DEBUG - Do not have enough data to verify VN in agent
2026-11-01 00:54:03,582 - DEBUG - VRF ids for VN ctest-vn-09141698: {}
2026-11-01 00:54:03,582 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-11-01 00:54:03,587 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e5ea63c-1e1e-4e45-a3b8-04755df0e67b
2026-11-01 00:54:03,597 - DEBUG - Requesting: http://10.0.0.33:8082/project/a923471e-d7af-4e8d-92ee-72d10d050ef1
2026-11-01 00:54:03,672 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414
2026-11-01 00:54:03,683 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414
2026-11-01 00:54:03,691 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4bfd9140-4331-4a87-b186-9621858a3292
2026-11-01 00:54:03,697 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4bfd9140-4331-4a87-b186-9621858a3292
2026-11-01 00:54:03,702 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/210924ab-e839-4e34-8d33-ea1eb8f89e75
2026-11-01 00:54:03,707 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-01 00:54:03,708 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414
2026-11-01 00:54:03,715 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4bfd9140-4331-4a87-b186-9621858a3292
2026-11-01 00:54:03,728 - INFO - Verified VN network id 12 for VN aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414
2026-11-01 00:54:03,728 - INFO - Verifications in API Server for VN ctest-vn-99309218 passed
2026-11-01 00:54:03,728 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414
2026-11-01 00:54:03,738 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4bfd9140-4331-4a87-b186-9621858a3292
2026-11-01 00:54:03,747 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4bfd9140-4331-4a87-b186-9621858a3292
2026-11-01 00:54:03,752 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/210924ab-e839-4e34-8d33-ea1eb8f89e75
2026-11-01 00:54:03,763 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-99309218', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29722440', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12298657272523869348', 'uuid-lslong': '13641954394746565652'}, 'enable': 'true', 'created': '2026-11-01T00:54:01', 'last-modified': '2026-11-01T00:54:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.477306'}
2026-11-01 00:54:03,768 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-01 00:54:03,769 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99309218 passed
2026-11-01 00:54:03,769 - DEBUG - ====Verifying policy data for ctest-vn-99309218 in API_Server ======
2026-11-01 00:54:03,769 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-11-01 00:54:03,774 - DEBUG - Requesting: http://10.0.0.33:8082/domain/3e5ea63c-1e1e-4e45-a3b8-04755df0e67b
2026-11-01 00:54:03,783 - DEBUG - Requesting: http://10.0.0.33:8082/project/a923471e-d7af-4e8d-92ee-72d10d050ef1
2026-11-01 00:54:03,856 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/aaad9ba0-d70f-4ca4-bd51-f53e6cf2b414
2026-11-01 00:54:03,865 - DEBUG - ==>Verifying data for policy with id: c5140c6d-57e4-401f-9e96-140965ca5cef, fqn: ['default-domain', 'ctest-TestBasicPolicy-29722440', 'ctest-policy-allow-all-01448130']
2026-11-01 00:54:03,865 - INFO - VN ctest-vn-99309218 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-01 00:54:03,865 - DEBUG - Verifying the vn in opserver
2026-11-01 00:54:03,865 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-99309218 virtual network link through opserver 10.0.0.33
2026-11-01 00:54:03,865 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-11-01 00:54:03,874 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-99309218', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-99309218?flat'}
2026-11-01 00:54:03,874 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29722440:ctest-vn-99309218 is found in opserver
2026-11-01 00:54:03,886 - DEBUG - Do not have enough data to verify VN in agent
2026-11-01 00:54:03,892 - DEBUG - VRF ids for VN ctest-vn-99309218: {}
2026-11-01 00:54:03,947 - DEBUG - Services list from nova: [