2026-02-10 10:11:43,311 - INFO - Domain Default found not creating
2026-02-10 10:11:43,503 - INFO - Project ctest-TestBasicPolicy-32538873 not found, creating it
2026-02-10 10:11:44,330 - INFO - Created Project:ctest-TestBasicPolicy-32538873, ID : cdfb05ce-398f-4e10-8133-f43c4fe7c896
2026-02-10 10:11:45,903 - INFO - ================================================================================
2026-02-10 10:11:45,903 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 10:11:45,903 - 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-10 10:11:46,167 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-10 10:11:46,167 - INFO - Initial checks done. Running the testcase now
2026-02-10 10:11:46,167 - INFO -
2026-02-10 10:11:46,771 - DEBUG - Response for create_network : {'network': {'id': '76cacc9f-7d04-4ec7-b319-a7e65a023dd3', 'name': 'ctest-vn-76668994', 'tenant_id': 'cdfb05ce398f4e108133f43c4fe7c896', 'project_id': 'cdfb05ce398f4e108133f43c4fe7c896', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32538873', 'ctest-vn-76668994'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 10:11:46,935 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dec23a61-76d4-4610-9ca7-f5de031e972b', 'name': '', 'tenant_id': 'cdfb05ce398f4e108133f43c4fe7c896', 'network_id': '76cacc9f-7d04-4ec7-b319-a7e65a023dd3', 'ip_version': 4, 'cidr': '220.179.214.64/26', 'allocation_pools': [{'start': '220.179.214.66', 'end': '220.179.214.126'}], 'gateway_ip': '220.179.214.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.179.214.66', 'tags': [], 'project_id': 'cdfb05ce398f4e108133f43c4fe7c896'}}
2026-02-10 10:11:46,955 - INFO - Created VN ctest-vn-76668994
2026-02-10 10:11:47,008 - DEBUG - VN ctest-vn-76668994 UUID is 76cacc9f-7d04-4ec7-b319-a7e65a023dd3
2026-02-10 10:11:47,333 - DEBUG - Response for create_network : {'network': {'id': '91cf51e0-b53c-4e5a-9b95-1fd12f5360d8', 'name': 'ctest-vn-09886541', 'tenant_id': 'cdfb05ce398f4e108133f43c4fe7c896', 'project_id': 'cdfb05ce398f4e108133f43c4fe7c896', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32538873', 'ctest-vn-09886541'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 10:11:47,505 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9b6b61a-f927-439e-9f54-8f17386c45ee', 'name': '', 'tenant_id': 'cdfb05ce398f4e108133f43c4fe7c896', 'network_id': '91cf51e0-b53c-4e5a-9b95-1fd12f5360d8', 'ip_version': 4, 'cidr': '18.219.14.192/26', 'allocation_pools': [{'start': '18.219.14.194', 'end': '18.219.14.254'}], 'gateway_ip': '18.219.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.219.14.194', 'tags': [], 'project_id': 'cdfb05ce398f4e108133f43c4fe7c896'}}
2026-02-10 10:11:47,521 - INFO - Created VN ctest-vn-09886541
2026-02-10 10:11:47,572 - DEBUG - VN ctest-vn-09886541 UUID is 91cf51e0-b53c-4e5a-9b95-1fd12f5360d8
2026-02-10 10:11:47,683 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32538873:ctest-vn-76668994, 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-32538873:ctest-vn-09886541, 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-10 10:11:47,970 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '76cacc9f-7d04-4ec7-b319-a7e65a023dd3', 'name': 'ctest-vn-76668994', 'tenant_id': 'cdfb05ce398f4e108133f43c4fe7c896', 'project_id': 'cdfb05ce398f4e108133f43c4fe7c896', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dec23a61-76d4-4610-9ca7-f5de031e972b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32538873', 'ctest-vn-76668994'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32538873', 'ctest-policy-allow-all-34575542']], 'subnet_ipam': [{'subnet_cidr': '220.179.214.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 10:11:48,197 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '91cf51e0-b53c-4e5a-9b95-1fd12f5360d8', 'name': 'ctest-vn-09886541', 'tenant_id': 'cdfb05ce398f4e108133f43c4fe7c896', 'project_id': 'cdfb05ce398f4e108133f43c4fe7c896', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d9b6b61a-f927-439e-9f54-8f17386c45ee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32538873', 'ctest-vn-09886541'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32538873', 'ctest-policy-allow-all-34575542']], 'subnet_ipam': [{'subnet_cidr': '18.219.14.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 10:11:48,356 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 10:11:48,652 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 10:11:48,683 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ca8d23fb-e1ea-44c6-9ebe-4b8499c6844e
2026-02-10 10:11:48,695 - DEBUG - Requesting: http://10.0.0.38:8082/project/cdfb05ce-398f-4e10-8133-f43c4fe7c896
2026-02-10 10:11:48,776 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/76cacc9f-7d04-4ec7-b319-a7e65a023dd3
2026-02-10 10:11:48,788 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/76cacc9f-7d04-4ec7-b319-a7e65a023dd3
2026-02-10 10:11:48,802 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9e27f721-f2b0-40c7-930d-d97ae4adfb39
2026-02-10 10:11:48,810 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9e27f721-f2b0-40c7-930d-d97ae4adfb39
2026-02-10 10:11:48,818 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a636fd3a-c222-4e57-bcc2-220ef10ef469
2026-02-10 10:11:48,825 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 10:11:48,825 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/76cacc9f-7d04-4ec7-b319-a7e65a023dd3
2026-02-10 10:11:48,836 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9e27f721-f2b0-40c7-930d-d97ae4adfb39
2026-02-10 10:11:48,851 - INFO - Verified VN network id 12 for VN 76cacc9f-7d04-4ec7-b319-a7e65a023dd3
2026-02-10 10:11:48,851 - INFO - Verifications in API Server for VN ctest-vn-76668994 passed
2026-02-10 10:11:48,851 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/76cacc9f-7d04-4ec7-b319-a7e65a023dd3
2026-02-10 10:11:48,861 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9e27f721-f2b0-40c7-930d-d97ae4adfb39
2026-02-10 10:11:48,870 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9e27f721-f2b0-40c7-930d-d97ae4adfb39
2026-02-10 10:11:48,878 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a636fd3a-c222-4e57-bcc2-220ef10ef469
2026-02-10 10:11:48,893 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32538873:ctest-vn-76668994', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32538873', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8559879027140349639', 'uuid-lslong': '12905530815001279955'}, 'enable': 'true', 'created': '2026-02-10T10:11:46', 'last-modified': '2026-02-10T10:11:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.944634'}
2026-02-10 10:11:48,900 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 10:11:48,900 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76668994 passed
2026-02-10 10:11:48,900 - DEBUG - ====Verifying policy data for ctest-vn-76668994 in API_Server ======
2026-02-10 10:11:48,900 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 10:11:48,906 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ca8d23fb-e1ea-44c6-9ebe-4b8499c6844e
2026-02-10 10:11:48,917 - DEBUG - Requesting: http://10.0.0.38:8082/project/cdfb05ce-398f-4e10-8133-f43c4fe7c896
2026-02-10 10:11:48,992 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/76cacc9f-7d04-4ec7-b319-a7e65a023dd3
2026-02-10 10:11:49,001 - DEBUG - ==>Verifying data for policy with id: e2423a66-cdf6-4413-84cd-7b8069ffabb1, fqn: ['default-domain', 'ctest-TestBasicPolicy-32538873', 'ctest-policy-allow-all-34575542']
2026-02-10 10:11:49,001 - INFO - VN ctest-vn-76668994 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 10:11:49,002 - DEBUG - Verifying the vn in opserver
2026-02-10 10:11:49,002 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32538873:ctest-vn-76668994 virtual network link through opserver 10.0.0.38
2026-02-10 10:11:49,002 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-10 10:11:49,296 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-10 10:11:49,363 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32538873:ctest-vn-76668994', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32538873:ctest-vn-76668994?flat'}
2026-02-10 10:11:49,363 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32538873:ctest-vn-76668994 is found in opserver
2026-02-10 10:11:49,372 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 10:11:49,376 - DEBUG - VRF ids for VN ctest-vn-76668994: {}
2026-02-10 10:11:49,376 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 10:11:49,382 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ca8d23fb-e1ea-44c6-9ebe-4b8499c6844e
2026-02-10 10:11:49,392 - DEBUG - Requesting: http://10.0.0.38:8082/project/cdfb05ce-398f-4e10-8133-f43c4fe7c896
2026-02-10 10:11:49,460 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/91cf51e0-b53c-4e5a-9b95-1fd12f5360d8
2026-02-10 10:11:49,471 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/91cf51e0-b53c-4e5a-9b95-1fd12f5360d8
2026-02-10 10:11:49,480 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7997373-e1d9-4682-ba7b-e31fba4fa8a2
2026-02-10 10:11:49,488 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7997373-e1d9-4682-ba7b-e31fba4fa8a2
2026-02-10 10:11:49,495 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9b7b7654-bf53-4ffd-9900-d128904ead20
2026-02-10 10:11:49,501 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 10:11:49,502 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/91cf51e0-b53c-4e5a-9b95-1fd12f5360d8
2026-02-10 10:11:49,510 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7997373-e1d9-4682-ba7b-e31fba4fa8a2
2026-02-10 10:11:49,525 - INFO - Verified VN network id 13 for VN 91cf51e0-b53c-4e5a-9b95-1fd12f5360d8
2026-02-10 10:11:49,525 - INFO - Verifications in API Server for VN ctest-vn-09886541 passed
2026-02-10 10:11:49,525 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/91cf51e0-b53c-4e5a-9b95-1fd12f5360d8
2026-02-10 10:11:49,533 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7997373-e1d9-4682-ba7b-e31fba4fa8a2
2026-02-10 10:11:49,540 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d7997373-e1d9-4682-ba7b-e31fba4fa8a2
2026-02-10 10:11:49,553 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9b7b7654-bf53-4ffd-9900-d128904ead20
2026-02-10 10:11:49,567 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32538873:ctest-vn-09886541', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32538873', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10506706481233808986', 'uuid-lslong': '11210901830711337176'}, 'enable': 'true', 'created': '2026-02-10T10:11:47', 'last-modified': '2026-02-10T10:11:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.390442'}
2026-02-10 10:11:49,574 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 10:11:49,574 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09886541 passed
2026-02-10 10:11:49,574 - DEBUG - ====Verifying policy data for ctest-vn-09886541 in API_Server ======
2026-02-10 10:11:49,574 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-10 10:11:49,580 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ca8d23fb-e1ea-44c6-9ebe-4b8499c6844e
2026-02-10 10:11:49,590 - DEBUG - Requesting: http://10.0.0.38:8082/project/cdfb05ce-398f-4e10-8133-f43c4fe7c896
2026-02-10 10:11:49,664 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/91cf51e0-b53c-4e5a-9b95-1fd12f5360d8
2026-02-10 10:11:49,674 - DEBUG - ==>Verifying data for policy with id: e2423a66-cdf6-4413-84cd-7b8069ffabb1, fqn: ['default-domain', 'ctest-TestBasicPolicy-32538873', 'ctest-policy-allow-all-34575542']
2026-02-10 10:11:49,674 - INFO - VN ctest-vn-09886541 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 10:11:49,674 - DEBUG - Verifying the vn in opserver
2026-02-10 10:11:49,674 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32538873:ctest-vn-09886541 virtual network link through opserver 10.0.0.38
2026-02-10 10:11:49,675 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-10 10:11:49,684 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32538873:ctest-vn-09886541', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32538873:ctest-vn-09886541?flat'}
2026-02-10 10:11:49,684 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32538873:ctest-vn-09886541 is found in opserver
2026-02-10 10:11:49,694 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 10:11:49,701 - DEBUG - VRF ids for VN ctest-vn-09886541: {}
2026-02-10 10:11:49,761 - DEBUG - Services list from nova: [