2026-03-06 05:24:33,112 - INFO - Domain Default found not creating
2026-03-06 05:24:33,271 - INFO - Project ctest-TestBasicPolicy-61165812 not found, creating it
2026-03-06 05:24:33,709 - INFO - Created Project:ctest-TestBasicPolicy-61165812, ID : 4fedb1ee-88a4-40ab-bc7d-6001e4e1baa1
2026-03-06 05:24:35,378 - INFO - ================================================================================
2026-03-06 05:24:35,379 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-06 05:24:35,379 - 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-03-06 05:24:35,634 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-03-06 05:24:35,634 - INFO - Initial checks done. Running the testcase now
2026-03-06 05:24:35,634 - INFO -
2026-03-06 05:24:36,213 - DEBUG - Response for create_network : {'network': {'id': '7293a4b8-c137-40fa-a7f1-e6b294327c38', 'name': 'ctest-vn-45352966', 'tenant_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'project_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61165812', 'ctest-vn-45352966'], 'port_security_enabled': True, 'description': ''}}
2026-03-06 05:24:36,422 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a26556a-8413-4aa1-970c-59ab61744a07', 'name': '', 'tenant_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'network_id': '7293a4b8-c137-40fa-a7f1-e6b294327c38', 'ip_version': 4, 'cidr': '211.232.7.192/26', 'allocation_pools': [{'start': '211.232.7.194', 'end': '211.232.7.254'}], 'gateway_ip': '211.232.7.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.232.7.194', 'tags': [], 'project_id': '4fedb1ee88a440abbc7d6001e4e1baa1'}}
2026-03-06 05:24:36,440 - INFO - Created VN ctest-vn-45352966
2026-03-06 05:24:36,492 - DEBUG - VN ctest-vn-45352966 UUID is 7293a4b8-c137-40fa-a7f1-e6b294327c38
2026-03-06 05:24:36,777 - DEBUG - Response for create_network : {'network': {'id': 'eee01303-f204-40a2-b9eb-96ca1d7acc3b', 'name': 'ctest-vn-30640397', 'tenant_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'project_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61165812', 'ctest-vn-30640397'], 'port_security_enabled': True, 'description': ''}}
2026-03-06 05:24:36,951 - DEBUG - Response for create_subnet : {'subnet': {'id': '55ac62fb-0031-42db-84e9-33c480b84a12', 'name': '', 'tenant_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'network_id': 'eee01303-f204-40a2-b9eb-96ca1d7acc3b', 'ip_version': 4, 'cidr': '1.166.112.128/26', 'allocation_pools': [{'start': '1.166.112.130', 'end': '1.166.112.190'}], 'gateway_ip': '1.166.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.166.112.130', 'tags': [], 'project_id': '4fedb1ee88a440abbc7d6001e4e1baa1'}}
2026-03-06 05:24:36,971 - INFO - Created VN ctest-vn-30640397
2026-03-06 05:24:37,024 - DEBUG - VN ctest-vn-30640397 UUID is eee01303-f204-40a2-b9eb-96ca1d7acc3b
2026-03-06 05:24:37,172 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-45352966, 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-61165812:ctest-vn-30640397, 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-03-06 05:24:37,450 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7293a4b8-c137-40fa-a7f1-e6b294327c38', 'name': 'ctest-vn-45352966', 'tenant_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'project_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7a26556a-8413-4aa1-970c-59ab61744a07'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61165812', 'ctest-vn-45352966'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61165812', 'ctest-policy-allow-all-12833559']], 'subnet_ipam': [{'subnet_cidr': '211.232.7.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-06 05:24:37,683 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eee01303-f204-40a2-b9eb-96ca1d7acc3b', 'name': 'ctest-vn-30640397', 'tenant_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'project_id': '4fedb1ee88a440abbc7d6001e4e1baa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['55ac62fb-0031-42db-84e9-33c480b84a12'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61165812', 'ctest-vn-30640397'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61165812', 'ctest-policy-allow-all-12833559']], 'subnet_ipam': [{'subnet_cidr': '1.166.112.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-06 05:24:37,808 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-06 05:24:38,105 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-06 05:24:38,142 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8e062cac-a287-47c7-bf36-3d306af41172
2026-03-06 05:24:38,158 - DEBUG - Requesting: http://10.0.0.38:8082/project/4fedb1ee-88a4-40ab-bc7d-6001e4e1baa1
2026-03-06 05:24:38,239 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7293a4b8-c137-40fa-a7f1-e6b294327c38
2026-03-06 05:24:38,250 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7293a4b8-c137-40fa-a7f1-e6b294327c38
2026-03-06 05:24:38,259 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9a4f8506-59d7-40cc-8273-a5351de97827
2026-03-06 05:24:38,266 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9a4f8506-59d7-40cc-8273-a5351de97827
2026-03-06 05:24:38,272 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/73e190bc-d960-428f-9cf7-5f3ddc1795a4
2026-03-06 05:24:38,278 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-06 05:24:38,278 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7293a4b8-c137-40fa-a7f1-e6b294327c38
2026-03-06 05:24:38,287 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9a4f8506-59d7-40cc-8273-a5351de97827
2026-03-06 05:24:38,300 - INFO - Verified VN network id 9 for VN 7293a4b8-c137-40fa-a7f1-e6b294327c38
2026-03-06 05:24:38,300 - INFO - Verifications in API Server for VN ctest-vn-45352966 passed
2026-03-06 05:24:38,300 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7293a4b8-c137-40fa-a7f1-e6b294327c38
2026-03-06 05:24:38,309 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9a4f8506-59d7-40cc-8273-a5351de97827
2026-03-06 05:24:38,315 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9a4f8506-59d7-40cc-8273-a5351de97827
2026-03-06 05:24:38,321 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/73e190bc-d960-428f-9cf7-5f3ddc1795a4
2026-03-06 05:24:38,331 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-45352966', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61165812', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8256123655322812666', 'uuid-lslong': '12101707328386137144'}, 'enable': 'true', 'created': '2026-03-06T05:24:36', 'last-modified': '2026-03-06T05:24:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.900541'}
2026-03-06 05:24:38,337 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-06 05:24:38,337 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45352966 passed
2026-03-06 05:24:38,338 - DEBUG - ====Verifying policy data for ctest-vn-45352966 in API_Server ======
2026-03-06 05:24:38,338 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-06 05:24:38,343 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8e062cac-a287-47c7-bf36-3d306af41172
2026-03-06 05:24:38,353 - DEBUG - Requesting: http://10.0.0.38:8082/project/4fedb1ee-88a4-40ab-bc7d-6001e4e1baa1
2026-03-06 05:24:38,420 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7293a4b8-c137-40fa-a7f1-e6b294327c38
2026-03-06 05:24:38,429 - DEBUG - ==>Verifying data for policy with id: 8635181f-954c-40bc-bb1b-4d4f6ff4b7b7, fqn: ['default-domain', 'ctest-TestBasicPolicy-61165812', 'ctest-policy-allow-all-12833559']
2026-03-06 05:24:38,429 - INFO - VN ctest-vn-45352966 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-06 05:24:38,429 - DEBUG - Verifying the vn in opserver
2026-03-06 05:24:38,429 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-45352966 virtual network link through opserver 10.0.0.38
2026-03-06 05:24:38,429 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-06 05:24:38,722 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-06 05:24:38,782 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-45352966', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-45352966?flat'}
2026-03-06 05:24:38,782 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-45352966 is found in opserver
2026-03-06 05:24:38,791 - DEBUG - Do not have enough data to verify VN in agent
2026-03-06 05:24:38,795 - DEBUG - VRF ids for VN ctest-vn-45352966: {}
2026-03-06 05:24:38,795 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-06 05:24:38,800 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8e062cac-a287-47c7-bf36-3d306af41172
2026-03-06 05:24:38,809 - DEBUG - Requesting: http://10.0.0.38:8082/project/4fedb1ee-88a4-40ab-bc7d-6001e4e1baa1
2026-03-06 05:24:38,876 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eee01303-f204-40a2-b9eb-96ca1d7acc3b
2026-03-06 05:24:38,887 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eee01303-f204-40a2-b9eb-96ca1d7acc3b
2026-03-06 05:24:38,896 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/488bae9e-9a24-4482-94b1-962de41904aa
2026-03-06 05:24:38,903 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/488bae9e-9a24-4482-94b1-962de41904aa
2026-03-06 05:24:38,910 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b6f65554-964b-42ec-8243-90578b4924ce
2026-03-06 05:24:38,916 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-06 05:24:38,916 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eee01303-f204-40a2-b9eb-96ca1d7acc3b
2026-03-06 05:24:38,926 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/488bae9e-9a24-4482-94b1-962de41904aa
2026-03-06 05:24:38,941 - INFO - Verified VN network id 10 for VN eee01303-f204-40a2-b9eb-96ca1d7acc3b
2026-03-06 05:24:38,941 - INFO - Verifications in API Server for VN ctest-vn-30640397 passed
2026-03-06 05:24:38,941 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eee01303-f204-40a2-b9eb-96ca1d7acc3b
2026-03-06 05:24:38,950 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/488bae9e-9a24-4482-94b1-962de41904aa
2026-03-06 05:24:38,956 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/488bae9e-9a24-4482-94b1-962de41904aa
2026-03-06 05:24:38,962 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b6f65554-964b-42ec-8243-90578b4924ce
2026-03-06 05:24:38,973 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-30640397', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61165812', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17212778683476230306', 'uuid-lslong': '13396967311365819451'}, 'enable': 'true', 'created': '2026-03-06T05:24:36', 'last-modified': '2026-03-06T05:24:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.310192'}
2026-03-06 05:24:38,978 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-06 05:24:38,979 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30640397 passed
2026-03-06 05:24:38,979 - DEBUG - ====Verifying policy data for ctest-vn-30640397 in API_Server ======
2026-03-06 05:24:38,979 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-03-06 05:24:38,984 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8e062cac-a287-47c7-bf36-3d306af41172
2026-03-06 05:24:38,993 - DEBUG - Requesting: http://10.0.0.38:8082/project/4fedb1ee-88a4-40ab-bc7d-6001e4e1baa1
2026-03-06 05:24:39,062 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eee01303-f204-40a2-b9eb-96ca1d7acc3b
2026-03-06 05:24:39,071 - DEBUG - ==>Verifying data for policy with id: 8635181f-954c-40bc-bb1b-4d4f6ff4b7b7, fqn: ['default-domain', 'ctest-TestBasicPolicy-61165812', 'ctest-policy-allow-all-12833559']
2026-03-06 05:24:39,071 - INFO - VN ctest-vn-30640397 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-06 05:24:39,071 - DEBUG - Verifying the vn in opserver
2026-03-06 05:24:39,071 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-30640397 virtual network link through opserver 10.0.0.38
2026-03-06 05:24:39,072 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-03-06 05:24:39,082 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-30640397', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-30640397?flat'}
2026-03-06 05:24:39,082 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61165812:ctest-vn-30640397 is found in opserver
2026-03-06 05:24:39,092 - DEBUG - Do not have enough data to verify VN in agent
2026-03-06 05:24:39,097 - DEBUG - VRF ids for VN ctest-vn-30640397: {}
2026-03-06 05:24:39,154 - DEBUG - Services list from nova: [