2026-10-13 08:06:49,986 - INFO - Domain Default found not creating
2026-10-13 08:06:50,122 - INFO - Project ctest-TestBasicPolicy-65820173 not found, creating it
2026-10-13 08:06:50,555 - INFO - Created Project:ctest-TestBasicPolicy-65820173, ID : a14dd55d-a6af-4ab1-91b3-c52a33b7a3c4
2026-10-13 08:06:52,148 - INFO - ================================================================================
2026-10-13 08:06:52,149 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-13 08:06:52,149 - 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-10-13 08:06:52,403 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with
2026-10-13 08:06:52,403 - INFO - Initial checks done. Running the testcase now
2026-10-13 08:06:52,403 - INFO -
2026-10-13 08:06:52,995 - DEBUG - Response for create_network : {'network': {'id': '22bf4c95-cbe9-4c93-bc99-75f9634e37a7', 'name': 'ctest-vn-64300747', 'tenant_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'project_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65820173', 'ctest-vn-64300747'], 'port_security_enabled': True, 'description': ''}}
2026-10-13 08:06:53,167 - DEBUG - Response for create_subnet : {'subnet': {'id': '1255469a-450d-4f2f-ae91-2bc472bba88d', 'name': '', 'tenant_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'network_id': '22bf4c95-cbe9-4c93-bc99-75f9634e37a7', 'ip_version': 4, 'cidr': '152.88.30.0/26', 'allocation_pools': [{'start': '152.88.30.2', 'end': '152.88.30.62'}], 'gateway_ip': '152.88.30.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.88.30.2', 'tags': [], 'project_id': 'a14dd55da6af4ab191b3c52a33b7a3c4'}}
2026-10-13 08:06:53,180 - INFO - Created VN ctest-vn-64300747
2026-10-13 08:06:53,237 - DEBUG - VN ctest-vn-64300747 UUID is 22bf4c95-cbe9-4c93-bc99-75f9634e37a7
2026-10-13 08:06:53,540 - DEBUG - Response for create_network : {'network': {'id': 'c7a13d75-8a7d-4a58-b421-0a9b30fe8e32', 'name': 'ctest-vn-31228150', 'tenant_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'project_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65820173', 'ctest-vn-31228150'], 'port_security_enabled': True, 'description': ''}}
2026-10-13 08:06:53,728 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c788d05-3c85-4867-8e84-595d5447b27f', 'name': '', 'tenant_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'network_id': 'c7a13d75-8a7d-4a58-b421-0a9b30fe8e32', 'ip_version': 4, 'cidr': '128.219.143.0/26', 'allocation_pools': [{'start': '128.219.143.2', 'end': '128.219.143.62'}], 'gateway_ip': '128.219.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.219.143.2', 'tags': [], 'project_id': 'a14dd55da6af4ab191b3c52a33b7a3c4'}}
2026-10-13 08:06:53,743 - INFO - Created VN ctest-vn-31228150
2026-10-13 08:06:53,793 - DEBUG - VN ctest-vn-31228150 UUID is c7a13d75-8a7d-4a58-b421-0a9b30fe8e32
2026-10-13 08:06:53,938 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-64300747, 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-65820173:ctest-vn-31228150, 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-10-13 08:06:54,231 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '22bf4c95-cbe9-4c93-bc99-75f9634e37a7', 'name': 'ctest-vn-64300747', 'tenant_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'project_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1255469a-450d-4f2f-ae91-2bc472bba88d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65820173', 'ctest-vn-64300747'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65820173', 'ctest-policy-allow-all-43538515']], 'subnet_ipam': [{'subnet_cidr': '152.88.30.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-13 08:06:54,448 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c7a13d75-8a7d-4a58-b421-0a9b30fe8e32', 'name': 'ctest-vn-31228150', 'tenant_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'project_id': 'a14dd55da6af4ab191b3c52a33b7a3c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['8c788d05-3c85-4867-8e84-595d5447b27f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65820173', 'ctest-vn-31228150'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65820173', 'ctest-policy-allow-all-43538515']], 'subnet_ipam': [{'subnet_cidr': '128.219.143.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-13 08:06:54,606 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-13 08:06:54,986 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-13 08:06:55,011 - DEBUG - Requesting: http://10.0.0.185:8082/domain/78b56cbc-1501-4971-be3e-84d6b062bdff
2026-10-13 08:06:55,044 - DEBUG - Requesting: http://10.0.0.185:8082/project/a14dd55d-a6af-4ab1-91b3-c52a33b7a3c4
2026-10-13 08:06:55,120 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/22bf4c95-cbe9-4c93-bc99-75f9634e37a7
2026-10-13 08:06:55,130 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/22bf4c95-cbe9-4c93-bc99-75f9634e37a7
2026-10-13 08:06:55,138 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/6c05793e-e246-447d-ba07-485b6677d8ef
2026-10-13 08:06:55,144 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/6c05793e-e246-447d-ba07-485b6677d8ef
2026-10-13 08:06:55,150 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/da14bfad-b29e-4487-8faf-be806aff790f
2026-10-13 08:06:55,155 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-13 08:06:55,155 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/22bf4c95-cbe9-4c93-bc99-75f9634e37a7
2026-10-13 08:06:55,163 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/6c05793e-e246-447d-ba07-485b6677d8ef
2026-10-13 08:06:55,174 - INFO - Verified VN network id 12 for VN 22bf4c95-cbe9-4c93-bc99-75f9634e37a7
2026-10-13 08:06:55,174 - INFO - Verifications in API Server for VN ctest-vn-64300747 passed
2026-10-13 08:06:55,174 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/22bf4c95-cbe9-4c93-bc99-75f9634e37a7
2026-10-13 08:06:55,182 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/6c05793e-e246-447d-ba07-485b6677d8ef
2026-10-13 08:06:55,187 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/6c05793e-e246-447d-ba07-485b6677d8ef
2026-10-13 08:06:55,192 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/da14bfad-b29e-4487-8faf-be806aff790f
2026-10-13 08:06:55,203 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-64300747', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65820173', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2503804124096187539', 'uuid-lslong': '13590023064540559271'}, 'enable': 'true', 'created': '2026-10-13T08:06:52', 'last-modified': '2026-10-13T08:06:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999002'}
2026-10-13 08:06:55,209 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-13 08:06:55,209 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64300747 passed
2026-10-13 08:06:55,209 - DEBUG - ====Verifying policy data for ctest-vn-64300747 in API_Server ======
2026-10-13 08:06:55,209 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-13 08:06:55,213 - DEBUG - Requesting: http://10.0.0.185:8082/domain/78b56cbc-1501-4971-be3e-84d6b062bdff
2026-10-13 08:06:55,222 - DEBUG - Requesting: http://10.0.0.185:8082/project/a14dd55d-a6af-4ab1-91b3-c52a33b7a3c4
2026-10-13 08:06:55,290 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/22bf4c95-cbe9-4c93-bc99-75f9634e37a7
2026-10-13 08:06:55,298 - DEBUG - ==>Verifying data for policy with id: 6a639019-f8ee-4b8a-ad9a-4d1713599beb, fqn: ['default-domain', 'ctest-TestBasicPolicy-65820173', 'ctest-policy-allow-all-43538515']
2026-10-13 08:06:55,298 - INFO - VN ctest-vn-64300747 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-13 08:06:55,298 - DEBUG - Verifying the vn in opserver
2026-10-13 08:06:55,298 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-64300747 virtual network link through opserver 10.0.0.185
2026-10-13 08:06:55,298 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-13 08:06:55,660 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-13 08:06:55,707 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-64300747', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-64300747?flat'}
2026-10-13 08:06:55,707 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-64300747 is found in opserver
2026-10-13 08:06:55,716 - DEBUG - Do not have enough data to verify VN in agent
2026-10-13 08:06:55,722 - DEBUG - VRF ids for VN ctest-vn-64300747: {}
2026-10-13 08:06:55,722 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-13 08:06:55,727 - DEBUG - Requesting: http://10.0.0.185:8082/domain/78b56cbc-1501-4971-be3e-84d6b062bdff
2026-10-13 08:06:55,738 - DEBUG - Requesting: http://10.0.0.185:8082/project/a14dd55d-a6af-4ab1-91b3-c52a33b7a3c4
2026-10-13 08:06:55,808 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c7a13d75-8a7d-4a58-b421-0a9b30fe8e32
2026-10-13 08:06:55,820 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c7a13d75-8a7d-4a58-b421-0a9b30fe8e32
2026-10-13 08:06:55,830 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9bbcf0c2-7679-46a6-970c-0a64168dff7e
2026-10-13 08:06:55,836 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9bbcf0c2-7679-46a6-970c-0a64168dff7e
2026-10-13 08:06:55,842 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/74fce349-5f9a-413f-a8d2-f69c95d0fc8b
2026-10-13 08:06:55,847 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-13 08:06:55,847 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c7a13d75-8a7d-4a58-b421-0a9b30fe8e32
2026-10-13 08:06:55,855 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9bbcf0c2-7679-46a6-970c-0a64168dff7e
2026-10-13 08:06:55,867 - INFO - Verified VN network id 13 for VN c7a13d75-8a7d-4a58-b421-0a9b30fe8e32
2026-10-13 08:06:55,867 - INFO - Verifications in API Server for VN ctest-vn-31228150 passed
2026-10-13 08:06:55,867 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c7a13d75-8a7d-4a58-b421-0a9b30fe8e32
2026-10-13 08:06:55,876 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9bbcf0c2-7679-46a6-970c-0a64168dff7e
2026-10-13 08:06:55,881 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9bbcf0c2-7679-46a6-970c-0a64168dff7e
2026-10-13 08:06:55,887 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/74fce349-5f9a-413f-a8d2-f69c95d0fc8b
2026-10-13 08:06:55,899 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-31228150', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65820173', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14384846259842009688', 'uuid-lslong': '12979667262716677682'}, 'enable': 'true', 'created': '2026-10-13T08:06:53', 'last-modified': '2026-10-13T08:06:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.466402'}
2026-10-13 08:06:55,905 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-13 08:06:55,905 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31228150 passed
2026-10-13 08:06:55,905 - DEBUG - ====Verifying policy data for ctest-vn-31228150 in API_Server ======
2026-10-13 08:06:55,905 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-13 08:06:55,911 - DEBUG - Requesting: http://10.0.0.185:8082/domain/78b56cbc-1501-4971-be3e-84d6b062bdff
2026-10-13 08:06:55,921 - DEBUG - Requesting: http://10.0.0.185:8082/project/a14dd55d-a6af-4ab1-91b3-c52a33b7a3c4
2026-10-13 08:06:55,993 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c7a13d75-8a7d-4a58-b421-0a9b30fe8e32
2026-10-13 08:06:56,001 - DEBUG - ==>Verifying data for policy with id: 6a639019-f8ee-4b8a-ad9a-4d1713599beb, fqn: ['default-domain', 'ctest-TestBasicPolicy-65820173', 'ctest-policy-allow-all-43538515']
2026-10-13 08:06:56,001 - INFO - VN ctest-vn-31228150 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-13 08:06:56,001 - DEBUG - Verifying the vn in opserver
2026-10-13 08:06:56,001 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-31228150 virtual network link through opserver 10.0.0.185
2026-10-13 08:06:56,001 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-13 08:06:56,010 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-31228150', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-31228150?flat'}
2026-10-13 08:06:56,010 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65820173:ctest-vn-31228150 is found in opserver
2026-10-13 08:06:56,019 - DEBUG - Do not have enough data to verify VN in agent
2026-10-13 08:06:56,023 - DEBUG - VRF ids for VN ctest-vn-31228150: {}
2026-10-13 08:06:56,075 - DEBUG - Services list from nova: [