2026-01-02 19:11:32,374 - INFO - Domain Default found not creating
2026-01-02 19:11:32,537 - INFO - Project ctest-TestBasicPolicy-23873008 not found, creating it
2026-01-02 19:11:32,975 - INFO - Created Project:ctest-TestBasicPolicy-23873008, ID : 6198705a-36ae-4f58-97bc-20d27b010ad6
2026-01-02 19:11:34,423 - INFO - ================================================================================
2026-01-02 19:11:34,423 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-02 19:11:34,423 - 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-01-02 19:11:34,685 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with
2026-01-02 19:11:34,685 - INFO - Initial checks done. Running the testcase now
2026-01-02 19:11:34,685 - INFO -
2026-01-02 19:11:35,243 - DEBUG - Response for create_network : {'network': {'id': '0574f0b4-c93e-45f8-85b3-038ca92ced88', 'name': 'ctest-vn-00947141', 'tenant_id': '6198705a36ae4f5897bc20d27b010ad6', 'project_id': '6198705a36ae4f5897bc20d27b010ad6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23873008', 'ctest-vn-00947141'], 'port_security_enabled': True, 'description': ''}}
2026-01-02 19:11:35,405 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4bd864c-949a-4734-9f66-1200e665b551', 'name': '', 'tenant_id': '6198705a36ae4f5897bc20d27b010ad6', 'network_id': '0574f0b4-c93e-45f8-85b3-038ca92ced88', 'ip_version': 4, 'cidr': '49.112.216.0/26', 'allocation_pools': [{'start': '49.112.216.2', 'end': '49.112.216.62'}], 'gateway_ip': '49.112.216.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.112.216.2', 'tags': [], 'project_id': '6198705a36ae4f5897bc20d27b010ad6'}}
2026-01-02 19:11:35,422 - INFO - Created VN ctest-vn-00947141
2026-01-02 19:11:35,471 - DEBUG - VN ctest-vn-00947141 UUID is 0574f0b4-c93e-45f8-85b3-038ca92ced88
2026-01-02 19:11:35,791 - DEBUG - Response for create_network : {'network': {'id': '3bc0f50a-4118-4a29-b1bb-d3f681db031c', 'name': 'ctest-vn-90371466', 'tenant_id': '6198705a36ae4f5897bc20d27b010ad6', 'project_id': '6198705a36ae4f5897bc20d27b010ad6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23873008', 'ctest-vn-90371466'], 'port_security_enabled': True, 'description': ''}}
2026-01-02 19:11:35,951 - DEBUG - Response for create_subnet : {'subnet': {'id': '0711fd8d-677e-4054-b46e-2eba4eaaa2e4', 'name': '', 'tenant_id': '6198705a36ae4f5897bc20d27b010ad6', 'network_id': '3bc0f50a-4118-4a29-b1bb-d3f681db031c', 'ip_version': 4, 'cidr': '110.148.215.64/26', 'allocation_pools': [{'start': '110.148.215.66', 'end': '110.148.215.126'}], 'gateway_ip': '110.148.215.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.148.215.66', 'tags': [], 'project_id': '6198705a36ae4f5897bc20d27b010ad6'}}
2026-01-02 19:11:35,968 - INFO - Created VN ctest-vn-90371466
2026-01-02 19:11:36,019 - DEBUG - VN ctest-vn-90371466 UUID is 3bc0f50a-4118-4a29-b1bb-d3f681db031c
2026-01-02 19:11:36,167 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-00947141, 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-23873008:ctest-vn-90371466, 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-01-02 19:11:36,445 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0574f0b4-c93e-45f8-85b3-038ca92ced88', 'name': 'ctest-vn-00947141', 'tenant_id': '6198705a36ae4f5897bc20d27b010ad6', 'project_id': '6198705a36ae4f5897bc20d27b010ad6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b4bd864c-949a-4734-9f66-1200e665b551'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23873008', 'ctest-vn-00947141'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23873008', 'ctest-policy-allow-all-80501524']], 'subnet_ipam': [{'subnet_cidr': '49.112.216.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-02 19:11:36,661 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3bc0f50a-4118-4a29-b1bb-d3f681db031c', 'name': 'ctest-vn-90371466', 'tenant_id': '6198705a36ae4f5897bc20d27b010ad6', 'project_id': '6198705a36ae4f5897bc20d27b010ad6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0711fd8d-677e-4054-b46e-2eba4eaaa2e4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23873008', 'ctest-vn-90371466'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23873008', 'ctest-policy-allow-all-80501524']], 'subnet_ipam': [{'subnet_cidr': '110.148.215.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-02 19:11:36,807 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-02 19:11:37,102 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-02 19:11:37,130 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ce6651c1-f3ff-4d52-aecb-e9c96e07744b
2026-01-02 19:11:37,140 - DEBUG - Requesting: http://10.0.0.249:8082/project/6198705a-36ae-4f58-97bc-20d27b010ad6
2026-01-02 19:11:37,208 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0574f0b4-c93e-45f8-85b3-038ca92ced88
2026-01-02 19:11:37,217 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0574f0b4-c93e-45f8-85b3-038ca92ced88
2026-01-02 19:11:37,225 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d04c9396-3ad2-4cf7-bdd7-98b2ea834123
2026-01-02 19:11:37,231 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d04c9396-3ad2-4cf7-bdd7-98b2ea834123
2026-01-02 19:11:37,236 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c4b4e0fc-4bfe-4c90-8afc-b15142dfa4d4
2026-01-02 19:11:37,242 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-02 19:11:37,242 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0574f0b4-c93e-45f8-85b3-038ca92ced88
2026-01-02 19:11:37,249 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d04c9396-3ad2-4cf7-bdd7-98b2ea834123
2026-01-02 19:11:37,261 - INFO - Verified VN network id 10 for VN 0574f0b4-c93e-45f8-85b3-038ca92ced88
2026-01-02 19:11:37,261 - INFO - Verifications in API Server for VN ctest-vn-00947141 passed
2026-01-02 19:11:37,261 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0574f0b4-c93e-45f8-85b3-038ca92ced88
2026-01-02 19:11:37,269 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d04c9396-3ad2-4cf7-bdd7-98b2ea834123
2026-01-02 19:11:37,274 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d04c9396-3ad2-4cf7-bdd7-98b2ea834123
2026-01-02 19:11:37,280 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/c4b4e0fc-4bfe-4c90-8afc-b15142dfa4d4
2026-01-02 19:11:37,289 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-00947141', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23873008', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '393203726749156856', 'uuid-lslong': '9634047930544221576'}, 'enable': 'true', 'created': '2026-01-02T19:11:35', 'last-modified': '2026-01-02T19:11:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.865691'}
2026-01-02 19:11:37,294 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-02 19:11:37,294 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00947141 passed
2026-01-02 19:11:37,294 - DEBUG - ====Verifying policy data for ctest-vn-00947141 in API_Server ======
2026-01-02 19:11:37,295 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-02 19:11:37,299 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ce6651c1-f3ff-4d52-aecb-e9c96e07744b
2026-01-02 19:11:37,310 - DEBUG - Requesting: http://10.0.0.249:8082/project/6198705a-36ae-4f58-97bc-20d27b010ad6
2026-01-02 19:11:37,385 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0574f0b4-c93e-45f8-85b3-038ca92ced88
2026-01-02 19:11:37,396 - DEBUG - ==>Verifying data for policy with id: 983bcdb5-d1a9-4b15-9191-692e6eedd2ad, fqn: ['default-domain', 'ctest-TestBasicPolicy-23873008', 'ctest-policy-allow-all-80501524']
2026-01-02 19:11:37,396 - INFO - VN ctest-vn-00947141 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-02 19:11:37,396 - DEBUG - Verifying the vn in opserver
2026-01-02 19:11:37,396 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-00947141 virtual network link through opserver 10.0.0.249
2026-01-02 19:11:37,396 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-02 19:11:37,686 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-02 19:11:37,744 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-00947141', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-00947141?flat'}
2026-01-02 19:11:37,744 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-00947141 is found in opserver
2026-01-02 19:11:37,753 - DEBUG - Do not have enough data to verify VN in agent
2026-01-02 19:11:37,757 - DEBUG - VRF ids for VN ctest-vn-00947141: {}
2026-01-02 19:11:37,757 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-02 19:11:37,761 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ce6651c1-f3ff-4d52-aecb-e9c96e07744b
2026-01-02 19:11:37,772 - DEBUG - Requesting: http://10.0.0.249:8082/project/6198705a-36ae-4f58-97bc-20d27b010ad6
2026-01-02 19:11:37,838 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3bc0f50a-4118-4a29-b1bb-d3f681db031c
2026-01-02 19:11:37,847 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3bc0f50a-4118-4a29-b1bb-d3f681db031c
2026-01-02 19:11:37,855 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/661adce4-d863-4fdd-8571-e338b1a2a73d
2026-01-02 19:11:37,861 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/661adce4-d863-4fdd-8571-e338b1a2a73d
2026-01-02 19:11:37,867 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/4f5a0a70-cf60-4172-9ab5-23d4cb421d2f
2026-01-02 19:11:37,874 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-02 19:11:37,874 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3bc0f50a-4118-4a29-b1bb-d3f681db031c
2026-01-02 19:11:37,883 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/661adce4-d863-4fdd-8571-e338b1a2a73d
2026-01-02 19:11:37,896 - INFO - Verified VN network id 11 for VN 3bc0f50a-4118-4a29-b1bb-d3f681db031c
2026-01-02 19:11:37,896 - INFO - Verifications in API Server for VN ctest-vn-90371466 passed
2026-01-02 19:11:37,897 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3bc0f50a-4118-4a29-b1bb-d3f681db031c
2026-01-02 19:11:37,905 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/661adce4-d863-4fdd-8571-e338b1a2a73d
2026-01-02 19:11:37,913 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/661adce4-d863-4fdd-8571-e338b1a2a73d
2026-01-02 19:11:37,920 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/4f5a0a70-cf60-4172-9ab5-23d4cb421d2f
2026-01-02 19:11:37,935 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-90371466', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23873008', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4305710668156783145', 'uuid-lslong': '12807063021052166940'}, 'enable': 'true', 'created': '2026-01-02T19:11:35', 'last-modified': '2026-01-02T19:11:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.289212'}
2026-01-02 19:11:37,941 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-02 19:11:37,941 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90371466 passed
2026-01-02 19:11:37,941 - DEBUG - ====Verifying policy data for ctest-vn-90371466 in API_Server ======
2026-01-02 19:11:37,941 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-01-02 19:11:37,947 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ce6651c1-f3ff-4d52-aecb-e9c96e07744b
2026-01-02 19:11:37,957 - DEBUG - Requesting: http://10.0.0.249:8082/project/6198705a-36ae-4f58-97bc-20d27b010ad6
2026-01-02 19:11:38,026 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3bc0f50a-4118-4a29-b1bb-d3f681db031c
2026-01-02 19:11:38,035 - DEBUG - ==>Verifying data for policy with id: 983bcdb5-d1a9-4b15-9191-692e6eedd2ad, fqn: ['default-domain', 'ctest-TestBasicPolicy-23873008', 'ctest-policy-allow-all-80501524']
2026-01-02 19:11:38,035 - INFO - VN ctest-vn-90371466 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-02 19:11:38,035 - DEBUG - Verifying the vn in opserver
2026-01-02 19:11:38,035 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-90371466 virtual network link through opserver 10.0.0.249
2026-01-02 19:11:38,035 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-01-02 19:11:38,048 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-90371466', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-90371466?flat'}
2026-01-02 19:11:38,048 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23873008:ctest-vn-90371466 is found in opserver
2026-01-02 19:11:38,058 - DEBUG - Do not have enough data to verify VN in agent
2026-01-02 19:11:38,062 - DEBUG - VRF ids for VN ctest-vn-90371466: {}
2026-01-02 19:11:38,114 - DEBUG - Services list from nova: [