2026-02-19 02:12:39,906 - INFO - Domain Default found not creating
2026-02-19 02:12:40,076 - INFO - Project ctest-TestBasicPolicy-59682914 not found, creating it
2026-02-19 02:12:40,505 - INFO - Created Project:ctest-TestBasicPolicy-59682914, ID : 8daf22c8-fe6c-4f42-85aa-f1d3d96e54dd
2026-02-19 02:12:42,019 - INFO - ================================================================================
2026-02-19 02:12:42,019 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-19 02:12:42,019 - 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-02-19 02:12:42,272 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.254': '0'}} with
2026-02-19 02:12:42,272 - INFO - Initial checks done. Running the testcase now
2026-02-19 02:12:42,272 - INFO -
2026-02-19 02:12:42,832 - DEBUG - Response for create_network : {'network': {'id': '209dc307-4bd8-4309-a50c-ebc308f3cba8', 'name': 'ctest-vn-21345991', 'tenant_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'project_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59682914', 'ctest-vn-21345991'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 02:12:43,006 - DEBUG - Response for create_subnet : {'subnet': {'id': '870f3645-7575-4f17-906d-4c6ed79613c5', 'name': '', 'tenant_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'network_id': '209dc307-4bd8-4309-a50c-ebc308f3cba8', 'ip_version': 4, 'cidr': '73.75.25.64/26', 'allocation_pools': [{'start': '73.75.25.66', 'end': '73.75.25.126'}], 'gateway_ip': '73.75.25.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.75.25.66', 'tags': [], 'project_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd'}}
2026-02-19 02:12:43,033 - INFO - Created VN ctest-vn-21345991
2026-02-19 02:12:43,086 - DEBUG - VN ctest-vn-21345991 UUID is 209dc307-4bd8-4309-a50c-ebc308f3cba8
2026-02-19 02:12:43,397 - DEBUG - Response for create_network : {'network': {'id': 'e2db659b-6fbd-43dc-9e0a-2256aae9fa95', 'name': 'ctest-vn-42358309', 'tenant_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'project_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59682914', 'ctest-vn-42358309'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 02:12:43,618 - DEBUG - Response for create_subnet : {'subnet': {'id': '696431f0-9756-417a-921e-94a6ae1e272c', 'name': '', 'tenant_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'network_id': 'e2db659b-6fbd-43dc-9e0a-2256aae9fa95', 'ip_version': 4, 'cidr': '195.84.39.192/26', 'allocation_pools': [{'start': '195.84.39.194', 'end': '195.84.39.254'}], 'gateway_ip': '195.84.39.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.84.39.194', 'tags': [], 'project_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd'}}
2026-02-19 02:12:43,643 - INFO - Created VN ctest-vn-42358309
2026-02-19 02:12:43,702 - DEBUG - VN ctest-vn-42358309 UUID is e2db659b-6fbd-43dc-9e0a-2256aae9fa95
2026-02-19 02:12:43,829 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-21345991, 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-59682914:ctest-vn-42358309, 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-02-19 02:12:44,110 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '209dc307-4bd8-4309-a50c-ebc308f3cba8', 'name': 'ctest-vn-21345991', 'tenant_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'project_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['870f3645-7575-4f17-906d-4c6ed79613c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59682914', 'ctest-vn-21345991'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59682914', 'ctest-policy-allow-all-77886683']], 'subnet_ipam': [{'subnet_cidr': '73.75.25.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 02:12:44,331 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e2db659b-6fbd-43dc-9e0a-2256aae9fa95', 'name': 'ctest-vn-42358309', 'tenant_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'project_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['696431f0-9756-417a-921e-94a6ae1e272c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59682914', 'ctest-vn-42358309'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59682914', 'ctest-policy-allow-all-77886683']], 'subnet_ipam': [{'subnet_cidr': '195.84.39.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 02:12:44,494 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-02-19 02:12:44,795 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-02-19 02:12:44,829 - DEBUG - Requesting: http://10.0.0.73:8082/domain/a019755e-f901-41d8-a8e2-8005c9c1abd3
2026-02-19 02:12:44,840 - DEBUG - Requesting: http://10.0.0.73:8082/project/8daf22c8-fe6c-4f42-85aa-f1d3d96e54dd
2026-02-19 02:12:44,909 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/209dc307-4bd8-4309-a50c-ebc308f3cba8
2026-02-19 02:12:44,919 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/209dc307-4bd8-4309-a50c-ebc308f3cba8
2026-02-19 02:12:44,928 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/9f89b351-3abc-4179-9248-a8f54592e05e
2026-02-19 02:12:44,935 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/9f89b351-3abc-4179-9248-a8f54592e05e
2026-02-19 02:12:44,941 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/9439a8fc-77f3-4ae5-a538-b3a486462482
2026-02-19 02:12:44,947 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 02:12:44,947 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/209dc307-4bd8-4309-a50c-ebc308f3cba8
2026-02-19 02:12:44,956 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/9f89b351-3abc-4179-9248-a8f54592e05e
2026-02-19 02:12:44,972 - INFO - Verified VN network id 10 for VN 209dc307-4bd8-4309-a50c-ebc308f3cba8
2026-02-19 02:12:44,973 - INFO - Verifications in API Server for VN ctest-vn-21345991 passed
2026-02-19 02:12:44,973 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/209dc307-4bd8-4309-a50c-ebc308f3cba8
2026-02-19 02:12:44,984 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/9f89b351-3abc-4179-9248-a8f54592e05e
2026-02-19 02:12:44,990 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/9f89b351-3abc-4179-9248-a8f54592e05e
2026-02-19 02:12:44,997 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/9439a8fc-77f3-4ae5-a538-b3a486462482
2026-02-19 02:12:45,010 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-21345991', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59682914', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2350249016661918473', 'uuid-lslong': '11893139938879982504'}, 'enable': 'true', 'created': '2026-02-19T02:12:42', 'last-modified': '2026-02-19T02:12:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.920699'}
2026-02-19 02:12:45,016 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 02:12:45,016 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21345991 passed
2026-02-19 02:12:45,016 - DEBUG - ====Verifying policy data for ctest-vn-21345991 in API_Server ======
2026-02-19 02:12:45,016 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-02-19 02:12:45,022 - DEBUG - Requesting: http://10.0.0.73:8082/domain/a019755e-f901-41d8-a8e2-8005c9c1abd3
2026-02-19 02:12:45,034 - DEBUG - Requesting: http://10.0.0.73:8082/project/8daf22c8-fe6c-4f42-85aa-f1d3d96e54dd
2026-02-19 02:12:45,104 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/209dc307-4bd8-4309-a50c-ebc308f3cba8
2026-02-19 02:12:45,114 - DEBUG - ==>Verifying data for policy with id: 61f195e1-9c3d-4757-9237-a1aebcb6ea92, fqn: ['default-domain', 'ctest-TestBasicPolicy-59682914', 'ctest-policy-allow-all-77886683']
2026-02-19 02:12:45,114 - INFO - VN ctest-vn-21345991 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 02:12:45,114 - DEBUG - Verifying the vn in opserver
2026-02-19 02:12:45,114 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-21345991 virtual network link through opserver 10.0.0.73
2026-02-19 02:12:45,114 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-02-19 02:12:45,416 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-02-19 02:12:45,482 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-21345991', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-21345991?flat'}
2026-02-19 02:12:45,482 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-21345991 is found in opserver
2026-02-19 02:12:45,492 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 02:12:45,497 - DEBUG - VRF ids for VN ctest-vn-21345991: {}
2026-02-19 02:12:45,497 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-02-19 02:12:45,503 - DEBUG - Requesting: http://10.0.0.73:8082/domain/a019755e-f901-41d8-a8e2-8005c9c1abd3
2026-02-19 02:12:45,514 - DEBUG - Requesting: http://10.0.0.73:8082/project/8daf22c8-fe6c-4f42-85aa-f1d3d96e54dd
2026-02-19 02:12:45,583 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/e2db659b-6fbd-43dc-9e0a-2256aae9fa95
2026-02-19 02:12:45,593 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/e2db659b-6fbd-43dc-9e0a-2256aae9fa95
2026-02-19 02:12:45,603 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ec03776e-f021-4dc0-8bfa-5e7551a2f9aa
2026-02-19 02:12:45,610 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ec03776e-f021-4dc0-8bfa-5e7551a2f9aa
2026-02-19 02:12:45,616 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/45e94bec-de07-47f7-8909-988b2d1493c4
2026-02-19 02:12:45,623 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 02:12:45,623 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/e2db659b-6fbd-43dc-9e0a-2256aae9fa95
2026-02-19 02:12:45,633 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ec03776e-f021-4dc0-8bfa-5e7551a2f9aa
2026-02-19 02:12:45,646 - INFO - Verified VN network id 11 for VN e2db659b-6fbd-43dc-9e0a-2256aae9fa95
2026-02-19 02:12:45,646 - INFO - Verifications in API Server for VN ctest-vn-42358309 passed
2026-02-19 02:12:45,646 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/e2db659b-6fbd-43dc-9e0a-2256aae9fa95
2026-02-19 02:12:45,655 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ec03776e-f021-4dc0-8bfa-5e7551a2f9aa
2026-02-19 02:12:45,662 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ec03776e-f021-4dc0-8bfa-5e7551a2f9aa
2026-02-19 02:12:45,668 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/45e94bec-de07-47f7-8909-988b2d1493c4
2026-02-19 02:12:45,679 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-42358309', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59682914', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16346770990740358108', 'uuid-lslong': '11387952363389713045'}, 'enable': 'true', 'created': '2026-02-19T02:12:43', 'last-modified': '2026-02-19T02:12:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.365921'}
2026-02-19 02:12:45,685 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 02:12:45,685 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42358309 passed
2026-02-19 02:12:45,685 - DEBUG - ====Verifying policy data for ctest-vn-42358309 in API_Server ======
2026-02-19 02:12:45,685 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-02-19 02:12:45,691 - DEBUG - Requesting: http://10.0.0.73:8082/domain/a019755e-f901-41d8-a8e2-8005c9c1abd3
2026-02-19 02:12:45,701 - DEBUG - Requesting: http://10.0.0.73:8082/project/8daf22c8-fe6c-4f42-85aa-f1d3d96e54dd
2026-02-19 02:12:45,772 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/e2db659b-6fbd-43dc-9e0a-2256aae9fa95
2026-02-19 02:12:45,781 - DEBUG - ==>Verifying data for policy with id: 61f195e1-9c3d-4757-9237-a1aebcb6ea92, fqn: ['default-domain', 'ctest-TestBasicPolicy-59682914', 'ctest-policy-allow-all-77886683']
2026-02-19 02:12:45,781 - INFO - VN ctest-vn-42358309 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 02:12:45,781 - DEBUG - Verifying the vn in opserver
2026-02-19 02:12:45,781 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-42358309 virtual network link through opserver 10.0.0.73
2026-02-19 02:12:45,781 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-02-19 02:12:45,790 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-42358309', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-42358309?flat'}
2026-02-19 02:12:45,790 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-42358309 is found in opserver
2026-02-19 02:12:45,801 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 02:12:45,807 - DEBUG - VRF ids for VN ctest-vn-42358309: {}
2026-02-19 02:12:45,860 - DEBUG - Services list from nova: [