2026-02-19 19:12:42,087 - INFO - Domain Default found not creating
2026-02-19 19:12:42,244 - INFO - Project ctest-TestBasicPolicy-60724315 not found, creating it
2026-02-19 19:12:42,674 - INFO - Created Project:ctest-TestBasicPolicy-60724315, ID : f6bd6c53-999e-441d-aed2-5627a28fdd2a
2026-02-19 19:12:44,120 - INFO - ================================================================================
2026-02-19 19:12:44,120 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-19 19:12:44,121 - 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 19:12:44,376 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-19 19:12:44,376 - INFO - Initial checks done. Running the testcase now
2026-02-19 19:12:44,376 - INFO -
2026-02-19 19:12:44,923 - DEBUG - Response for create_network : {'network': {'id': 'e70bf223-abee-4cf6-a081-3ad2c9d5131d', 'name': 'ctest-vn-69408619', 'tenant_id': 'f6bd6c53999e441daed25627a28fdd2a', 'project_id': 'f6bd6c53999e441daed25627a28fdd2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60724315', 'ctest-vn-69408619'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 19:12:45,075 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da2ed711-6837-4e42-b7f6-95da4f327b75', 'name': '', 'tenant_id': 'f6bd6c53999e441daed25627a28fdd2a', 'network_id': 'e70bf223-abee-4cf6-a081-3ad2c9d5131d', 'ip_version': 4, 'cidr': '186.44.212.64/26', 'allocation_pools': [{'start': '186.44.212.66', 'end': '186.44.212.126'}], 'gateway_ip': '186.44.212.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.44.212.66', 'tags': [], 'project_id': 'f6bd6c53999e441daed25627a28fdd2a'}}
2026-02-19 19:12:45,090 - INFO - Created VN ctest-vn-69408619
2026-02-19 19:12:45,146 - DEBUG - VN ctest-vn-69408619 UUID is e70bf223-abee-4cf6-a081-3ad2c9d5131d
2026-02-19 19:12:45,461 - DEBUG - Response for create_network : {'network': {'id': '96a217e1-09c2-464c-a798-4e7ac081ec80', 'name': 'ctest-vn-69396696', 'tenant_id': 'f6bd6c53999e441daed25627a28fdd2a', 'project_id': 'f6bd6c53999e441daed25627a28fdd2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60724315', 'ctest-vn-69396696'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 19:12:45,643 - DEBUG - Response for create_subnet : {'subnet': {'id': '84d31ba5-f4d1-4597-a7d4-f64b126c4f28', 'name': '', 'tenant_id': 'f6bd6c53999e441daed25627a28fdd2a', 'network_id': '96a217e1-09c2-464c-a798-4e7ac081ec80', 'ip_version': 4, 'cidr': '32.192.195.64/26', 'allocation_pools': [{'start': '32.192.195.66', 'end': '32.192.195.126'}], 'gateway_ip': '32.192.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.192.195.66', 'tags': [], 'project_id': 'f6bd6c53999e441daed25627a28fdd2a'}}
2026-02-19 19:12:45,661 - INFO - Created VN ctest-vn-69396696
2026-02-19 19:12:45,714 - DEBUG - VN ctest-vn-69396696 UUID is 96a217e1-09c2-464c-a798-4e7ac081ec80
2026-02-19 19:12:45,862 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60724315:ctest-vn-69408619, 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-60724315:ctest-vn-69396696, 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 19:12:46,138 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e70bf223-abee-4cf6-a081-3ad2c9d5131d', 'name': 'ctest-vn-69408619', 'tenant_id': 'f6bd6c53999e441daed25627a28fdd2a', 'project_id': 'f6bd6c53999e441daed25627a28fdd2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['da2ed711-6837-4e42-b7f6-95da4f327b75'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60724315', 'ctest-vn-69408619'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60724315', 'ctest-policy-allow-all-66822493']], 'subnet_ipam': [{'subnet_cidr': '186.44.212.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 19:12:46,412 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '96a217e1-09c2-464c-a798-4e7ac081ec80', 'name': 'ctest-vn-69396696', 'tenant_id': 'f6bd6c53999e441daed25627a28fdd2a', 'project_id': 'f6bd6c53999e441daed25627a28fdd2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84d31ba5-f4d1-4597-a7d4-f64b126c4f28'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60724315', 'ctest-vn-69396696'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60724315', 'ctest-policy-allow-all-66822493']], 'subnet_ipam': [{'subnet_cidr': '32.192.195.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 19:12:46,562 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-19 19:12:46,855 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-19 19:12:46,883 - DEBUG - Requesting: http://10.0.0.50:8082/domain/df877cc6-b76e-4297-8c11-c5ad3e639e3f
2026-02-19 19:12:46,894 - DEBUG - Requesting: http://10.0.0.50:8082/project/f6bd6c53-999e-441d-aed2-5627a28fdd2a
2026-02-19 19:12:46,965 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e70bf223-abee-4cf6-a081-3ad2c9d5131d
2026-02-19 19:12:46,975 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e70bf223-abee-4cf6-a081-3ad2c9d5131d
2026-02-19 19:12:46,984 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/703776d1-a8c8-4a53-8331-d5d79bb2cd04
2026-02-19 19:12:46,990 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/703776d1-a8c8-4a53-8331-d5d79bb2cd04
2026-02-19 19:12:46,996 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7c44fa6d-748d-4b16-9c34-80aac86981d2
2026-02-19 19:12:47,001 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 19:12:47,001 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e70bf223-abee-4cf6-a081-3ad2c9d5131d
2026-02-19 19:12:47,009 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/703776d1-a8c8-4a53-8331-d5d79bb2cd04
2026-02-19 19:12:47,020 - INFO - Verified VN network id 11 for VN e70bf223-abee-4cf6-a081-3ad2c9d5131d
2026-02-19 19:12:47,020 - INFO - Verifications in API Server for VN ctest-vn-69408619 passed
2026-02-19 19:12:47,021 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e70bf223-abee-4cf6-a081-3ad2c9d5131d
2026-02-19 19:12:47,029 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/703776d1-a8c8-4a53-8331-d5d79bb2cd04
2026-02-19 19:12:47,034 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/703776d1-a8c8-4a53-8331-d5d79bb2cd04
2026-02-19 19:12:47,040 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7c44fa6d-748d-4b16-9c34-80aac86981d2
2026-02-19 19:12:47,050 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60724315:ctest-vn-69408619', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60724315', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16648666682527468790', 'uuid-lslong': '11565589995067872029'}, 'enable': 'true', 'created': '2026-02-19T19:12:44', 'last-modified': '2026-02-19T19:12:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.928575'}
2026-02-19 19:12:47,057 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 19:12:47,057 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69408619 passed
2026-02-19 19:12:47,057 - DEBUG - ====Verifying policy data for ctest-vn-69408619 in API_Server ======
2026-02-19 19:12:47,057 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-19 19:12:47,063 - DEBUG - Requesting: http://10.0.0.50:8082/domain/df877cc6-b76e-4297-8c11-c5ad3e639e3f
2026-02-19 19:12:47,073 - DEBUG - Requesting: http://10.0.0.50:8082/project/f6bd6c53-999e-441d-aed2-5627a28fdd2a
2026-02-19 19:12:47,141 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e70bf223-abee-4cf6-a081-3ad2c9d5131d
2026-02-19 19:12:47,150 - DEBUG - ==>Verifying data for policy with id: b9c0dd23-1505-4d50-ba7b-a1d10e3fb23a, fqn: ['default-domain', 'ctest-TestBasicPolicy-60724315', 'ctest-policy-allow-all-66822493']
2026-02-19 19:12:47,150 - INFO - VN ctest-vn-69408619 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 19:12:47,150 - DEBUG - Verifying the vn in opserver
2026-02-19 19:12:47,151 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60724315:ctest-vn-69408619 virtual network link through opserver 10.0.0.50
2026-02-19 19:12:47,151 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-19 19:12:47,442 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-19 19:12:47,503 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60724315:ctest-vn-69408619', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60724315:ctest-vn-69408619?flat'}
2026-02-19 19:12:47,503 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60724315:ctest-vn-69408619 is found in opserver
2026-02-19 19:12:47,512 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 19:12:47,516 - DEBUG - VRF ids for VN ctest-vn-69408619: {}
2026-02-19 19:12:47,516 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-19 19:12:47,521 - DEBUG - Requesting: http://10.0.0.50:8082/domain/df877cc6-b76e-4297-8c11-c5ad3e639e3f
2026-02-19 19:12:47,532 - DEBUG - Requesting: http://10.0.0.50:8082/project/f6bd6c53-999e-441d-aed2-5627a28fdd2a
2026-02-19 19:12:47,601 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/96a217e1-09c2-464c-a798-4e7ac081ec80
2026-02-19 19:12:47,611 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/96a217e1-09c2-464c-a798-4e7ac081ec80
2026-02-19 19:12:47,619 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a84b2625-b084-4250-aeb4-2dfa978aacfe
2026-02-19 19:12:47,625 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a84b2625-b084-4250-aeb4-2dfa978aacfe
2026-02-19 19:12:47,630 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/259f4c02-d782-4728-a804-fc0e9cdf961f
2026-02-19 19:12:47,636 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 19:12:47,636 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/96a217e1-09c2-464c-a798-4e7ac081ec80
2026-02-19 19:12:47,643 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a84b2625-b084-4250-aeb4-2dfa978aacfe
2026-02-19 19:12:47,656 - INFO - Verified VN network id 12 for VN 96a217e1-09c2-464c-a798-4e7ac081ec80
2026-02-19 19:12:47,656 - INFO - Verifications in API Server for VN ctest-vn-69396696 passed
2026-02-19 19:12:47,656 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/96a217e1-09c2-464c-a798-4e7ac081ec80
2026-02-19 19:12:47,664 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a84b2625-b084-4250-aeb4-2dfa978aacfe
2026-02-19 19:12:47,670 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a84b2625-b084-4250-aeb4-2dfa978aacfe
2026-02-19 19:12:47,676 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/259f4c02-d782-4728-a804-fc0e9cdf961f
2026-02-19 19:12:47,687 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60724315:ctest-vn-69396696', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60724315', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10854264307215124044', 'uuid-lslong': '12076488689916701824'}, 'enable': 'true', 'created': '2026-02-19T19:12:45', 'last-modified': '2026-02-19T19:12:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.340136'}
2026-02-19 19:12:47,694 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 19:12:47,694 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69396696 passed
2026-02-19 19:12:47,694 - DEBUG - ====Verifying policy data for ctest-vn-69396696 in API_Server ======
2026-02-19 19:12:47,694 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-19 19:12:47,699 - DEBUG - Requesting: http://10.0.0.50:8082/domain/df877cc6-b76e-4297-8c11-c5ad3e639e3f
2026-02-19 19:12:47,711 - DEBUG - Requesting: http://10.0.0.50:8082/project/f6bd6c53-999e-441d-aed2-5627a28fdd2a
2026-02-19 19:12:47,781 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/96a217e1-09c2-464c-a798-4e7ac081ec80
2026-02-19 19:12:47,789 - DEBUG - ==>Verifying data for policy with id: b9c0dd23-1505-4d50-ba7b-a1d10e3fb23a, fqn: ['default-domain', 'ctest-TestBasicPolicy-60724315', 'ctest-policy-allow-all-66822493']
2026-02-19 19:12:47,789 - INFO - VN ctest-vn-69396696 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 19:12:47,789 - DEBUG - Verifying the vn in opserver
2026-02-19 19:12:47,789 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60724315:ctest-vn-69396696 virtual network link through opserver 10.0.0.50
2026-02-19 19:12:47,789 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-19 19:12:47,798 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60724315:ctest-vn-69396696', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60724315:ctest-vn-69396696?flat'}
2026-02-19 19:12:47,798 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60724315:ctest-vn-69396696 is found in opserver
2026-02-19 19:12:47,807 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 19:12:47,812 - DEBUG - VRF ids for VN ctest-vn-69396696: {}
2026-02-19 19:12:47,866 - DEBUG - Services list from nova: [