2026-02-11 14:15:43,736 - INFO - Domain Default found not creating
2026-02-11 14:15:43,930 - INFO - Project ctest-TestBasicPolicy-73596386 not found, creating it
2026-02-11 14:15:44,446 - INFO - Created Project:ctest-TestBasicPolicy-73596386, ID : a4066fa4-75e3-4438-a0fc-e3d1e5fc7862
2026-02-11 14:15:45,973 - INFO - ================================================================================
2026-02-11 14:15:45,973 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-11 14:15:45,973 - 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-11 14:15:46,229 - DEBUG - Nothing to compare xmpp stats {'10.0.0.128': {'10.20.0.254': '0'}} with
2026-02-11 14:15:46,229 - INFO - Initial checks done. Running the testcase now
2026-02-11 14:15:46,229 - INFO -
2026-02-11 14:15:46,785 - DEBUG - Response for create_network : {'network': {'id': 'de5d4004-3f10-4e62-8fc5-56ca90f69a22', 'name': 'ctest-vn-00719237', 'tenant_id': 'a4066fa475e34438a0fce3d1e5fc7862', 'project_id': 'a4066fa475e34438a0fce3d1e5fc7862', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73596386', 'ctest-vn-00719237'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 14:15:46,984 - DEBUG - Response for create_subnet : {'subnet': {'id': '53b5f6d4-b354-49f0-b24f-890958dbe5fc', 'name': '', 'tenant_id': 'a4066fa475e34438a0fce3d1e5fc7862', 'network_id': 'de5d4004-3f10-4e62-8fc5-56ca90f69a22', 'ip_version': 4, 'cidr': '8.145.128.0/26', 'allocation_pools': [{'start': '8.145.128.2', 'end': '8.145.128.62'}], 'gateway_ip': '8.145.128.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.145.128.2', 'tags': [], 'project_id': 'a4066fa475e34438a0fce3d1e5fc7862'}}
2026-02-11 14:15:47,004 - INFO - Created VN ctest-vn-00719237
2026-02-11 14:15:47,056 - DEBUG - VN ctest-vn-00719237 UUID is de5d4004-3f10-4e62-8fc5-56ca90f69a22
2026-02-11 14:15:47,351 - DEBUG - Response for create_network : {'network': {'id': '7813522b-1fb8-4924-bcc8-0407fb896666', 'name': 'ctest-vn-13766036', 'tenant_id': 'a4066fa475e34438a0fce3d1e5fc7862', 'project_id': 'a4066fa475e34438a0fce3d1e5fc7862', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73596386', 'ctest-vn-13766036'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 14:15:47,563 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3b52a12-e6c9-4e75-82bc-c640e871b5ea', 'name': '', 'tenant_id': 'a4066fa475e34438a0fce3d1e5fc7862', 'network_id': '7813522b-1fb8-4924-bcc8-0407fb896666', 'ip_version': 4, 'cidr': '119.249.148.128/26', 'allocation_pools': [{'start': '119.249.148.130', 'end': '119.249.148.190'}], 'gateway_ip': '119.249.148.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.249.148.130', 'tags': [], 'project_id': 'a4066fa475e34438a0fce3d1e5fc7862'}}
2026-02-11 14:15:47,585 - INFO - Created VN ctest-vn-13766036
2026-02-11 14:15:47,640 - DEBUG - VN ctest-vn-13766036 UUID is 7813522b-1fb8-4924-bcc8-0407fb896666
2026-02-11 14:15:47,759 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73596386:ctest-vn-00719237, 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-73596386:ctest-vn-13766036, 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-11 14:15:48,049 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'de5d4004-3f10-4e62-8fc5-56ca90f69a22', 'name': 'ctest-vn-00719237', 'tenant_id': 'a4066fa475e34438a0fce3d1e5fc7862', 'project_id': 'a4066fa475e34438a0fce3d1e5fc7862', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['53b5f6d4-b354-49f0-b24f-890958dbe5fc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73596386', 'ctest-vn-00719237'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73596386', 'ctest-policy-allow-all-74880281']], 'subnet_ipam': [{'subnet_cidr': '8.145.128.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 14:15:48,283 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7813522b-1fb8-4924-bcc8-0407fb896666', 'name': 'ctest-vn-13766036', 'tenant_id': 'a4066fa475e34438a0fce3d1e5fc7862', 'project_id': 'a4066fa475e34438a0fce3d1e5fc7862', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c3b52a12-e6c9-4e75-82bc-c640e871b5ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73596386', 'ctest-vn-13766036'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73596386', 'ctest-policy-allow-all-74880281']], 'subnet_ipam': [{'subnet_cidr': '119.249.148.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 14:15:48,436 - DEBUG - Requesting: http://10.0.0.128:8082/domains
2026-02-11 14:15:48,740 - DEBUG - Requesting: http://10.0.0.128:8082/domains
2026-02-11 14:15:48,774 - DEBUG - Requesting: http://10.0.0.128:8082/domain/eceaaea9-cc4a-4a20-81d8-a37593aaf5b7
2026-02-11 14:15:48,788 - DEBUG - Requesting: http://10.0.0.128:8082/project/a4066fa4-75e3-4438-a0fc-e3d1e5fc7862
2026-02-11 14:15:48,862 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/de5d4004-3f10-4e62-8fc5-56ca90f69a22
2026-02-11 14:15:48,874 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/de5d4004-3f10-4e62-8fc5-56ca90f69a22
2026-02-11 14:15:48,883 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/10ab50cb-3765-4eee-a2f6-db8935abbce5
2026-02-11 14:15:48,889 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/10ab50cb-3765-4eee-a2f6-db8935abbce5
2026-02-11 14:15:48,895 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/35697f02-2855-492e-b424-ea4defe1bd9b
2026-02-11 14:15:48,901 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 14:15:48,901 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/de5d4004-3f10-4e62-8fc5-56ca90f69a22
2026-02-11 14:15:48,910 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/10ab50cb-3765-4eee-a2f6-db8935abbce5
2026-02-11 14:15:48,924 - INFO - Verified VN network id 10 for VN de5d4004-3f10-4e62-8fc5-56ca90f69a22
2026-02-11 14:15:48,924 - INFO - Verifications in API Server for VN ctest-vn-00719237 passed
2026-02-11 14:15:48,924 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/de5d4004-3f10-4e62-8fc5-56ca90f69a22
2026-02-11 14:15:48,934 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/10ab50cb-3765-4eee-a2f6-db8935abbce5
2026-02-11 14:15:48,942 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/10ab50cb-3765-4eee-a2f6-db8935abbce5
2026-02-11 14:15:48,950 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/35697f02-2855-492e-b424-ea4defe1bd9b
2026-02-11 14:15:48,961 - DEBUG - Control-node 10.0.0.128 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73596386:ctest-vn-00719237', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73596386', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16023033436236172898', 'uuid-lslong': '10359781945851157026'}, 'enable': 'true', 'created': '2026-02-11T14:15:46', 'last-modified': '2026-02-11T14:15:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.933475'}
2026-02-11 14:15:48,968 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 14:15:48,968 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00719237 passed
2026-02-11 14:15:48,968 - DEBUG - ====Verifying policy data for ctest-vn-00719237 in API_Server ======
2026-02-11 14:15:48,968 - DEBUG - Requesting: http://10.0.0.128:8082/domains
2026-02-11 14:15:48,973 - DEBUG - Requesting: http://10.0.0.128:8082/domain/eceaaea9-cc4a-4a20-81d8-a37593aaf5b7
2026-02-11 14:15:48,984 - DEBUG - Requesting: http://10.0.0.128:8082/project/a4066fa4-75e3-4438-a0fc-e3d1e5fc7862
2026-02-11 14:15:49,054 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/de5d4004-3f10-4e62-8fc5-56ca90f69a22
2026-02-11 14:15:49,063 - DEBUG - ==>Verifying data for policy with id: 4a069e05-0127-4250-aa76-af245ac26a38, fqn: ['default-domain', 'ctest-TestBasicPolicy-73596386', 'ctest-policy-allow-all-74880281']
2026-02-11 14:15:49,063 - INFO - VN ctest-vn-00719237 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 14:15:49,064 - DEBUG - Verifying the vn in opserver
2026-02-11 14:15:49,064 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73596386:ctest-vn-00719237 virtual network link through opserver 10.0.0.128
2026-02-11 14:15:49,064 - DEBUG - Requesting: http://10.0.0.128:8081/analytics/uves/virtual-networks
2026-02-11 14:15:49,358 - DEBUG - Requesting: http://10.0.0.128:8081/analytics/uves/virtual-networks
2026-02-11 14:15:49,421 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73596386:ctest-vn-00719237', 'href': 'http://10.0.0.128:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73596386:ctest-vn-00719237?flat'}
2026-02-11 14:15:49,421 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73596386:ctest-vn-00719237 is found in opserver
2026-02-11 14:15:49,432 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 14:15:49,437 - DEBUG - VRF ids for VN ctest-vn-00719237: {}
2026-02-11 14:15:49,438 - DEBUG - Requesting: http://10.0.0.128:8082/domains
2026-02-11 14:15:49,443 - DEBUG - Requesting: http://10.0.0.128:8082/domain/eceaaea9-cc4a-4a20-81d8-a37593aaf5b7
2026-02-11 14:15:49,455 - DEBUG - Requesting: http://10.0.0.128:8082/project/a4066fa4-75e3-4438-a0fc-e3d1e5fc7862
2026-02-11 14:15:49,537 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/7813522b-1fb8-4924-bcc8-0407fb896666
2026-02-11 14:15:49,551 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/7813522b-1fb8-4924-bcc8-0407fb896666
2026-02-11 14:15:49,562 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/269c02c7-88dc-4b13-9dcd-ed9c8556333d
2026-02-11 14:15:49,570 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/269c02c7-88dc-4b13-9dcd-ed9c8556333d
2026-02-11 14:15:49,578 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/e9204252-5769-4915-99c3-4f4a825d820e
2026-02-11 14:15:49,585 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 14:15:49,586 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/7813522b-1fb8-4924-bcc8-0407fb896666
2026-02-11 14:15:49,594 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/269c02c7-88dc-4b13-9dcd-ed9c8556333d
2026-02-11 14:15:49,609 - INFO - Verified VN network id 11 for VN 7813522b-1fb8-4924-bcc8-0407fb896666
2026-02-11 14:15:49,609 - INFO - Verifications in API Server for VN ctest-vn-13766036 passed
2026-02-11 14:15:49,609 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/7813522b-1fb8-4924-bcc8-0407fb896666
2026-02-11 14:15:49,620 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/269c02c7-88dc-4b13-9dcd-ed9c8556333d
2026-02-11 14:15:49,628 - DEBUG - Requesting: http://10.0.0.128:8082/routing-instance/269c02c7-88dc-4b13-9dcd-ed9c8556333d
2026-02-11 14:15:49,635 - DEBUG - Requesting: http://10.0.0.128:8082/route-target/e9204252-5769-4915-99c3-4f4a825d820e
2026-02-11 14:15:49,647 - DEBUG - Control-node 10.0.0.128 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73596386:ctest-vn-13766036', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73596386', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8652349654278097188', 'uuid-lslong': '13603127106803951206'}, 'enable': 'true', 'created': '2026-02-11T14:15:47', 'last-modified': '2026-02-11T14:15:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.387063'}
2026-02-11 14:15:49,653 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 14:15:49,653 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13766036 passed
2026-02-11 14:15:49,654 - DEBUG - ====Verifying policy data for ctest-vn-13766036 in API_Server ======
2026-02-11 14:15:49,654 - DEBUG - Requesting: http://10.0.0.128:8082/domains
2026-02-11 14:15:49,661 - DEBUG - Requesting: http://10.0.0.128:8082/domain/eceaaea9-cc4a-4a20-81d8-a37593aaf5b7
2026-02-11 14:15:49,673 - DEBUG - Requesting: http://10.0.0.128:8082/project/a4066fa4-75e3-4438-a0fc-e3d1e5fc7862
2026-02-11 14:15:49,755 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-network/7813522b-1fb8-4924-bcc8-0407fb896666
2026-02-11 14:15:49,766 - DEBUG - ==>Verifying data for policy with id: 4a069e05-0127-4250-aa76-af245ac26a38, fqn: ['default-domain', 'ctest-TestBasicPolicy-73596386', 'ctest-policy-allow-all-74880281']
2026-02-11 14:15:49,766 - INFO - VN ctest-vn-13766036 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 14:15:49,766 - DEBUG - Verifying the vn in opserver
2026-02-11 14:15:49,766 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73596386:ctest-vn-13766036 virtual network link through opserver 10.0.0.128
2026-02-11 14:15:49,766 - DEBUG - Requesting: http://10.0.0.128:8081/analytics/uves/virtual-networks
2026-02-11 14:15:49,777 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73596386:ctest-vn-13766036', 'href': 'http://10.0.0.128:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73596386:ctest-vn-13766036?flat'}
2026-02-11 14:15:49,777 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73596386:ctest-vn-13766036 is found in opserver
2026-02-11 14:15:49,787 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 14:15:49,791 - DEBUG - VRF ids for VN ctest-vn-13766036: {}
2026-02-11 14:15:49,854 - DEBUG - Services list from nova: [