2026-08-18 07:17:31,423 - INFO - Domain Default found not creating
2026-08-18 07:17:31,599 - INFO - Project ctest-TestBasicPolicy-16049541 not found, creating it
2026-08-18 07:17:32,091 - INFO - Created Project:ctest-TestBasicPolicy-16049541, ID : aefff977-687b-4096-a814-7b8c323a80f4
2026-08-18 07:17:33,795 - INFO - ================================================================================
2026-08-18 07:17:33,796 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-18 07:17:33,796 - 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-08-18 07:17:34,074 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0'}} with
2026-08-18 07:17:34,074 - INFO - Initial checks done. Running the testcase now
2026-08-18 07:17:34,075 - INFO -
2026-08-18 07:17:34,720 - DEBUG - Response for create_network : {'network': {'id': 'eb08bbb1-dbc4-4873-98d1-fcd47e7cfa5e', 'name': 'ctest-vn-49937270', 'tenant_id': 'aefff977687b4096a8147b8c323a80f4', 'project_id': 'aefff977687b4096a8147b8c323a80f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16049541', 'ctest-vn-49937270'], 'port_security_enabled': True, 'description': ''}}
2026-08-18 07:17:34,891 - DEBUG - Response for create_subnet : {'subnet': {'id': '737233d8-7eba-48eb-a255-6f832a108538', 'name': '', 'tenant_id': 'aefff977687b4096a8147b8c323a80f4', 'network_id': 'eb08bbb1-dbc4-4873-98d1-fcd47e7cfa5e', 'ip_version': 4, 'cidr': '185.180.172.0/26', 'allocation_pools': [{'start': '185.180.172.2', 'end': '185.180.172.62'}], 'gateway_ip': '185.180.172.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.180.172.2', 'tags': [], 'project_id': 'aefff977687b4096a8147b8c323a80f4'}}
2026-08-18 07:17:34,909 - INFO - Created VN ctest-vn-49937270
2026-08-18 07:17:34,964 - DEBUG - VN ctest-vn-49937270 UUID is eb08bbb1-dbc4-4873-98d1-fcd47e7cfa5e
2026-08-18 07:17:35,287 - DEBUG - Response for create_network : {'network': {'id': '47e69033-171b-4e04-bc7b-2dfaeba7ed40', 'name': 'ctest-vn-27540986', 'tenant_id': 'aefff977687b4096a8147b8c323a80f4', 'project_id': 'aefff977687b4096a8147b8c323a80f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16049541', 'ctest-vn-27540986'], 'port_security_enabled': True, 'description': ''}}
2026-08-18 07:17:35,457 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd030f782-41fb-4e18-900e-3b79fde1498f', 'name': '', 'tenant_id': 'aefff977687b4096a8147b8c323a80f4', 'network_id': '47e69033-171b-4e04-bc7b-2dfaeba7ed40', 'ip_version': 4, 'cidr': '174.101.203.192/26', 'allocation_pools': [{'start': '174.101.203.194', 'end': '174.101.203.254'}], 'gateway_ip': '174.101.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.101.203.194', 'tags': [], 'project_id': 'aefff977687b4096a8147b8c323a80f4'}}
2026-08-18 07:17:35,475 - INFO - Created VN ctest-vn-27540986
2026-08-18 07:17:35,528 - DEBUG - VN ctest-vn-27540986 UUID is 47e69033-171b-4e04-bc7b-2dfaeba7ed40
2026-08-18 07:17:35,684 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16049541:ctest-vn-49937270, 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-16049541:ctest-vn-27540986, 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-08-18 07:17:36,007 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb08bbb1-dbc4-4873-98d1-fcd47e7cfa5e', 'name': 'ctest-vn-49937270', 'tenant_id': 'aefff977687b4096a8147b8c323a80f4', 'project_id': 'aefff977687b4096a8147b8c323a80f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['737233d8-7eba-48eb-a255-6f832a108538'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16049541', 'ctest-vn-49937270'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16049541', 'ctest-policy-allow-all-79947323']], 'subnet_ipam': [{'subnet_cidr': '185.180.172.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-18 07:17:36,254 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47e69033-171b-4e04-bc7b-2dfaeba7ed40', 'name': 'ctest-vn-27540986', 'tenant_id': 'aefff977687b4096a8147b8c323a80f4', 'project_id': 'aefff977687b4096a8147b8c323a80f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d030f782-41fb-4e18-900e-3b79fde1498f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16049541', 'ctest-vn-27540986'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16049541', 'ctest-policy-allow-all-79947323']], 'subnet_ipam': [{'subnet_cidr': '174.101.203.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-18 07:17:36,420 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-08-18 07:17:36,794 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-08-18 07:17:36,828 - DEBUG - Requesting: http://10.0.0.19:8082/domain/666f98dc-567c-422a-b60e-25c7b36bf4c1
2026-08-18 07:17:36,841 - DEBUG - Requesting: http://10.0.0.19:8082/project/aefff977-687b-4096-a814-7b8c323a80f4
2026-08-18 07:17:36,942 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/eb08bbb1-dbc4-4873-98d1-fcd47e7cfa5e
2026-08-18 07:17:36,958 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/eb08bbb1-dbc4-4873-98d1-fcd47e7cfa5e
2026-08-18 07:17:36,971 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3e3629f4-f2ba-4665-9cb5-b727f10c2111
2026-08-18 07:17:36,982 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3e3629f4-f2ba-4665-9cb5-b727f10c2111
2026-08-18 07:17:36,992 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/a53383e7-a49f-4b7f-ba1e-2f27b1e885da
2026-08-18 07:17:37,001 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-18 07:17:37,001 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/eb08bbb1-dbc4-4873-98d1-fcd47e7cfa5e
2026-08-18 07:17:37,013 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3e3629f4-f2ba-4665-9cb5-b727f10c2111
2026-08-18 07:17:37,032 - INFO - Verified VN network id 11 for VN eb08bbb1-dbc4-4873-98d1-fcd47e7cfa5e
2026-08-18 07:17:37,032 - INFO - Verifications in API Server for VN ctest-vn-49937270 passed
2026-08-18 07:17:37,032 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/eb08bbb1-dbc4-4873-98d1-fcd47e7cfa5e
2026-08-18 07:17:37,044 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3e3629f4-f2ba-4665-9cb5-b727f10c2111
2026-08-18 07:17:37,053 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/3e3629f4-f2ba-4665-9cb5-b727f10c2111
2026-08-18 07:17:37,061 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/a53383e7-a49f-4b7f-ba1e-2f27b1e885da
2026-08-18 07:17:37,074 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16049541:ctest-vn-49937270', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16049541', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16935992771297429619', 'uuid-lslong': '11011860553482959454'}, 'enable': 'true', 'created': '2026-08-18T07:17:34', 'last-modified': '2026-08-18T07:17:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.092554'}
2026-08-18 07:17:37,082 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-18 07:17:37,082 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49937270 passed
2026-08-18 07:17:37,082 - DEBUG - ====Verifying policy data for ctest-vn-49937270 in API_Server ======
2026-08-18 07:17:37,082 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-08-18 07:17:37,088 - DEBUG - Requesting: http://10.0.0.19:8082/domain/666f98dc-567c-422a-b60e-25c7b36bf4c1
2026-08-18 07:17:37,101 - DEBUG - Requesting: http://10.0.0.19:8082/project/aefff977-687b-4096-a814-7b8c323a80f4
2026-08-18 07:17:37,184 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/eb08bbb1-dbc4-4873-98d1-fcd47e7cfa5e
2026-08-18 07:17:37,197 - DEBUG - ==>Verifying data for policy with id: 7d23339e-e9b8-45a4-a4bb-8a464f1c6b3b, fqn: ['default-domain', 'ctest-TestBasicPolicy-16049541', 'ctest-policy-allow-all-79947323']
2026-08-18 07:17:37,197 - INFO - VN ctest-vn-49937270 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-18 07:17:37,197 - DEBUG - Verifying the vn in opserver
2026-08-18 07:17:37,197 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16049541:ctest-vn-49937270 virtual network link through opserver 10.0.0.19
2026-08-18 07:17:37,197 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-08-18 07:17:37,570 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-08-18 07:17:37,625 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16049541:ctest-vn-49937270', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16049541:ctest-vn-49937270?flat'}
2026-08-18 07:17:37,625 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16049541:ctest-vn-49937270 is found in opserver
2026-08-18 07:17:37,638 - DEBUG - Do not have enough data to verify VN in agent
2026-08-18 07:17:37,644 - DEBUG - VRF ids for VN ctest-vn-49937270: {}
2026-08-18 07:17:37,644 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-08-18 07:17:37,651 - DEBUG - Requesting: http://10.0.0.19:8082/domain/666f98dc-567c-422a-b60e-25c7b36bf4c1
2026-08-18 07:17:37,662 - DEBUG - Requesting: http://10.0.0.19:8082/project/aefff977-687b-4096-a814-7b8c323a80f4
2026-08-18 07:17:37,740 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/47e69033-171b-4e04-bc7b-2dfaeba7ed40
2026-08-18 07:17:37,752 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/47e69033-171b-4e04-bc7b-2dfaeba7ed40
2026-08-18 07:17:37,763 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/dc4d54c1-82c4-422a-afaa-077aa7f8bbe9
2026-08-18 07:17:37,771 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/dc4d54c1-82c4-422a-afaa-077aa7f8bbe9
2026-08-18 07:17:37,779 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e5c182f4-fb23-41ae-a59d-9aa15bcc5023
2026-08-18 07:17:37,787 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-18 07:17:37,787 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/47e69033-171b-4e04-bc7b-2dfaeba7ed40
2026-08-18 07:17:37,796 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/dc4d54c1-82c4-422a-afaa-077aa7f8bbe9
2026-08-18 07:17:37,811 - INFO - Verified VN network id 12 for VN 47e69033-171b-4e04-bc7b-2dfaeba7ed40
2026-08-18 07:17:37,811 - INFO - Verifications in API Server for VN ctest-vn-27540986 passed
2026-08-18 07:17:37,811 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/47e69033-171b-4e04-bc7b-2dfaeba7ed40
2026-08-18 07:17:37,822 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/dc4d54c1-82c4-422a-afaa-077aa7f8bbe9
2026-08-18 07:17:37,830 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/dc4d54c1-82c4-422a-afaa-077aa7f8bbe9
2026-08-18 07:17:37,839 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e5c182f4-fb23-41ae-a59d-9aa15bcc5023
2026-08-18 07:17:37,853 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16049541:ctest-vn-27540986', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16049541', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5180986970441731588', 'uuid-lslong': '13581499656984587584'}, 'enable': 'true', 'created': '2026-08-18T07:17:35', 'last-modified': '2026-08-18T07:17:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.621999'}
2026-08-18 07:17:37,861 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-18 07:17:37,861 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27540986 passed
2026-08-18 07:17:37,861 - DEBUG - ====Verifying policy data for ctest-vn-27540986 in API_Server ======
2026-08-18 07:17:37,861 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-08-18 07:17:37,868 - DEBUG - Requesting: http://10.0.0.19:8082/domain/666f98dc-567c-422a-b60e-25c7b36bf4c1
2026-08-18 07:17:37,880 - DEBUG - Requesting: http://10.0.0.19:8082/project/aefff977-687b-4096-a814-7b8c323a80f4
2026-08-18 07:17:37,962 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/47e69033-171b-4e04-bc7b-2dfaeba7ed40
2026-08-18 07:17:37,972 - DEBUG - ==>Verifying data for policy with id: 7d23339e-e9b8-45a4-a4bb-8a464f1c6b3b, fqn: ['default-domain', 'ctest-TestBasicPolicy-16049541', 'ctest-policy-allow-all-79947323']
2026-08-18 07:17:37,972 - INFO - VN ctest-vn-27540986 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-18 07:17:37,972 - DEBUG - Verifying the vn in opserver
2026-08-18 07:17:37,972 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16049541:ctest-vn-27540986 virtual network link through opserver 10.0.0.19
2026-08-18 07:17:37,972 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-08-18 07:17:37,983 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16049541:ctest-vn-27540986', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16049541:ctest-vn-27540986?flat'}
2026-08-18 07:17:37,984 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16049541:ctest-vn-27540986 is found in opserver
2026-08-18 07:17:37,995 - DEBUG - Do not have enough data to verify VN in agent
2026-08-18 07:17:38,001 - DEBUG - VRF ids for VN ctest-vn-27540986: {}
2026-08-18 07:17:38,068 - DEBUG - Services list from nova: [