2026-02-19 16:11:40,954 - INFO - Domain Default found not creating
2026-02-19 16:11:41,105 - INFO - Project ctest-TestBasicPolicy-72392059 not found, creating it
2026-02-19 16:11:41,539 - INFO - Created Project:ctest-TestBasicPolicy-72392059, ID : 5c85d592-be1a-489f-a900-489db0a67448
2026-02-19 16:11:42,935 - INFO - ================================================================================
2026-02-19 16:11:42,935 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-19 16:11:42,935 - 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 16:11:43,189 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with
2026-02-19 16:11:43,189 - INFO - Initial checks done. Running the testcase now
2026-02-19 16:11:43,189 - INFO -
2026-02-19 16:11:43,736 - DEBUG - Response for create_network : {'network': {'id': '3bd68304-ae81-4729-a06d-460c03e4004d', 'name': 'ctest-vn-08314177', 'tenant_id': '5c85d592be1a489fa900489db0a67448', 'project_id': '5c85d592be1a489fa900489db0a67448', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72392059', 'ctest-vn-08314177'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 16:11:43,931 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1ec721b-1e1e-43fd-8c4f-5ed25a2946d4', 'name': '', 'tenant_id': '5c85d592be1a489fa900489db0a67448', 'network_id': '3bd68304-ae81-4729-a06d-460c03e4004d', 'ip_version': 4, 'cidr': '186.189.64.64/26', 'allocation_pools': [{'start': '186.189.64.66', 'end': '186.189.64.126'}], 'gateway_ip': '186.189.64.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.189.64.66', 'tags': [], 'project_id': '5c85d592be1a489fa900489db0a67448'}}
2026-02-19 16:11:43,946 - INFO - Created VN ctest-vn-08314177
2026-02-19 16:11:44,000 - DEBUG - VN ctest-vn-08314177 UUID is 3bd68304-ae81-4729-a06d-460c03e4004d
2026-02-19 16:11:44,315 - DEBUG - Response for create_network : {'network': {'id': '76918aac-a6e5-4cfd-bbcf-c4ab9f3636c6', 'name': 'ctest-vn-22920174', 'tenant_id': '5c85d592be1a489fa900489db0a67448', 'project_id': '5c85d592be1a489fa900489db0a67448', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72392059', 'ctest-vn-22920174'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 16:11:44,470 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a569fba4-4ccb-46ba-90e7-c8e2d9d40ac8', 'name': '', 'tenant_id': '5c85d592be1a489fa900489db0a67448', 'network_id': '76918aac-a6e5-4cfd-bbcf-c4ab9f3636c6', 'ip_version': 4, 'cidr': '105.15.39.192/26', 'allocation_pools': [{'start': '105.15.39.194', 'end': '105.15.39.254'}], 'gateway_ip': '105.15.39.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.15.39.194', 'tags': [], 'project_id': '5c85d592be1a489fa900489db0a67448'}}
2026-02-19 16:11:44,492 - INFO - Created VN ctest-vn-22920174
2026-02-19 16:11:44,544 - DEBUG - VN ctest-vn-22920174 UUID is 76918aac-a6e5-4cfd-bbcf-c4ab9f3636c6
2026-02-19 16:11:44,696 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72392059:ctest-vn-08314177, 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-72392059:ctest-vn-22920174, 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 16:11:44,969 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3bd68304-ae81-4729-a06d-460c03e4004d', 'name': 'ctest-vn-08314177', 'tenant_id': '5c85d592be1a489fa900489db0a67448', 'project_id': '5c85d592be1a489fa900489db0a67448', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b1ec721b-1e1e-43fd-8c4f-5ed25a2946d4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72392059', 'ctest-vn-08314177'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72392059', 'ctest-policy-allow-all-60617212']], 'subnet_ipam': [{'subnet_cidr': '186.189.64.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 16:11:45,177 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '76918aac-a6e5-4cfd-bbcf-c4ab9f3636c6', 'name': 'ctest-vn-22920174', 'tenant_id': '5c85d592be1a489fa900489db0a67448', 'project_id': '5c85d592be1a489fa900489db0a67448', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a569fba4-4ccb-46ba-90e7-c8e2d9d40ac8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72392059', 'ctest-vn-22920174'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72392059', 'ctest-policy-allow-all-60617212']], 'subnet_ipam': [{'subnet_cidr': '105.15.39.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 16:11:45,340 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-19 16:11:45,634 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-19 16:11:45,662 - DEBUG - Requesting: http://10.0.0.241:8082/domain/8e16f32f-fb12-4cdd-b9de-74578914a785
2026-02-19 16:11:45,673 - DEBUG - Requesting: http://10.0.0.241:8082/project/5c85d592-be1a-489f-a900-489db0a67448
2026-02-19 16:11:45,742 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3bd68304-ae81-4729-a06d-460c03e4004d
2026-02-19 16:11:45,751 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3bd68304-ae81-4729-a06d-460c03e4004d
2026-02-19 16:11:45,760 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/3bd514ab-03e0-4a25-aabc-b633e7bcd683
2026-02-19 16:11:45,765 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/3bd514ab-03e0-4a25-aabc-b633e7bcd683
2026-02-19 16:11:45,770 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/95953d74-d1fe-4c59-9ca1-77b4da414a10
2026-02-19 16:11:45,775 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 16:11:45,775 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3bd68304-ae81-4729-a06d-460c03e4004d
2026-02-19 16:11:45,782 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/3bd514ab-03e0-4a25-aabc-b633e7bcd683
2026-02-19 16:11:45,793 - INFO - Verified VN network id 11 for VN 3bd68304-ae81-4729-a06d-460c03e4004d
2026-02-19 16:11:45,793 - INFO - Verifications in API Server for VN ctest-vn-08314177 passed
2026-02-19 16:11:45,793 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3bd68304-ae81-4729-a06d-460c03e4004d
2026-02-19 16:11:45,800 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/3bd514ab-03e0-4a25-aabc-b633e7bcd683
2026-02-19 16:11:45,805 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/3bd514ab-03e0-4a25-aabc-b633e7bcd683
2026-02-19 16:11:45,810 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/95953d74-d1fe-4c59-9ca1-77b4da414a10
2026-02-19 16:11:45,819 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72392059:ctest-vn-08314177', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72392059', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4311777749384644393', 'uuid-lslong': '11559972835948757069'}, 'enable': 'true', 'created': '2026-02-19T16:11:43', 'last-modified': '2026-02-19T16:11:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.864891'}
2026-02-19 16:11:45,824 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 16:11:45,824 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08314177 passed
2026-02-19 16:11:45,824 - DEBUG - ====Verifying policy data for ctest-vn-08314177 in API_Server ======
2026-02-19 16:11:45,824 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-19 16:11:45,828 - DEBUG - Requesting: http://10.0.0.241:8082/domain/8e16f32f-fb12-4cdd-b9de-74578914a785
2026-02-19 16:11:45,837 - DEBUG - Requesting: http://10.0.0.241:8082/project/5c85d592-be1a-489f-a900-489db0a67448
2026-02-19 16:11:45,904 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/3bd68304-ae81-4729-a06d-460c03e4004d
2026-02-19 16:11:45,913 - DEBUG - ==>Verifying data for policy with id: 174695cf-a49b-413b-95c3-3f915f7ed901, fqn: ['default-domain', 'ctest-TestBasicPolicy-72392059', 'ctest-policy-allow-all-60617212']
2026-02-19 16:11:45,913 - INFO - VN ctest-vn-08314177 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 16:11:45,914 - DEBUG - Verifying the vn in opserver
2026-02-19 16:11:45,914 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72392059:ctest-vn-08314177 virtual network link through opserver 10.0.0.241
2026-02-19 16:11:45,914 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-02-19 16:11:46,213 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-02-19 16:11:46,270 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72392059:ctest-vn-08314177', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72392059:ctest-vn-08314177?flat'}
2026-02-19 16:11:46,270 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72392059:ctest-vn-08314177 is found in opserver
2026-02-19 16:11:46,279 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 16:11:46,282 - DEBUG - VRF ids for VN ctest-vn-08314177: {}
2026-02-19 16:11:46,282 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-19 16:11:46,287 - DEBUG - Requesting: http://10.0.0.241:8082/domain/8e16f32f-fb12-4cdd-b9de-74578914a785
2026-02-19 16:11:46,296 - DEBUG - Requesting: http://10.0.0.241:8082/project/5c85d592-be1a-489f-a900-489db0a67448
2026-02-19 16:11:46,369 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/76918aac-a6e5-4cfd-bbcf-c4ab9f3636c6
2026-02-19 16:11:46,378 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/76918aac-a6e5-4cfd-bbcf-c4ab9f3636c6
2026-02-19 16:11:46,386 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/5c326556-e491-4544-b559-a1872c42e9e3
2026-02-19 16:11:46,392 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/5c326556-e491-4544-b559-a1872c42e9e3
2026-02-19 16:11:46,398 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/1a85f42f-0206-4fa1-9444-6ad51eff0fa9
2026-02-19 16:11:46,402 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 16:11:46,402 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/76918aac-a6e5-4cfd-bbcf-c4ab9f3636c6
2026-02-19 16:11:46,410 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/5c326556-e491-4544-b559-a1872c42e9e3
2026-02-19 16:11:46,434 - INFO - Verified VN network id 12 for VN 76918aac-a6e5-4cfd-bbcf-c4ab9f3636c6
2026-02-19 16:11:46,434 - INFO - Verifications in API Server for VN ctest-vn-22920174 passed
2026-02-19 16:11:46,434 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/76918aac-a6e5-4cfd-bbcf-c4ab9f3636c6
2026-02-19 16:11:46,442 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/5c326556-e491-4544-b559-a1872c42e9e3
2026-02-19 16:11:46,448 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/5c326556-e491-4544-b559-a1872c42e9e3
2026-02-19 16:11:46,454 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/1a85f42f-0206-4fa1-9444-6ad51eff0fa9
2026-02-19 16:11:46,463 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72392059:ctest-vn-22920174', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72392059', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8543762442237594877', 'uuid-lslong': '13533251646661211846'}, 'enable': 'true', 'created': '2026-02-19T16:11:44', 'last-modified': '2026-02-19T16:11:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.304099'}
2026-02-19 16:11:46,469 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 16:11:46,470 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22920174 passed
2026-02-19 16:11:46,470 - DEBUG - ====Verifying policy data for ctest-vn-22920174 in API_Server ======
2026-02-19 16:11:46,470 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-19 16:11:46,474 - DEBUG - Requesting: http://10.0.0.241:8082/domain/8e16f32f-fb12-4cdd-b9de-74578914a785
2026-02-19 16:11:46,483 - DEBUG - Requesting: http://10.0.0.241:8082/project/5c85d592-be1a-489f-a900-489db0a67448
2026-02-19 16:11:46,557 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/76918aac-a6e5-4cfd-bbcf-c4ab9f3636c6
2026-02-19 16:11:46,565 - DEBUG - ==>Verifying data for policy with id: 174695cf-a49b-413b-95c3-3f915f7ed901, fqn: ['default-domain', 'ctest-TestBasicPolicy-72392059', 'ctest-policy-allow-all-60617212']
2026-02-19 16:11:46,565 - INFO - VN ctest-vn-22920174 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 16:11:46,565 - DEBUG - Verifying the vn in opserver
2026-02-19 16:11:46,565 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72392059:ctest-vn-22920174 virtual network link through opserver 10.0.0.241
2026-02-19 16:11:46,565 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-02-19 16:11:46,573 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72392059:ctest-vn-22920174', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72392059:ctest-vn-22920174?flat'}
2026-02-19 16:11:46,573 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72392059:ctest-vn-22920174 is found in opserver
2026-02-19 16:11:46,581 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 16:11:46,585 - DEBUG - VRF ids for VN ctest-vn-22920174: {}
2026-02-19 16:11:46,638 - DEBUG - Services list from nova: [