2025-12-22 02:19:14,294 - INFO - Domain Default found not creating
2025-12-22 02:19:14,472 - INFO - Project ctest-TestBasicPolicy-63547027 not found, creating it
2025-12-22 02:19:14,947 - INFO - Created Project:ctest-TestBasicPolicy-63547027, ID : 5f96f560-cf88-420f-9921-10183f7382e0
2025-12-22 02:19:16,484 - INFO - ================================================================================
2025-12-22 02:19:16,485 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-22 02:19:16,485 - 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
2025-12-22 02:19:16,741 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.242': '0'}} with
2025-12-22 02:19:16,741 - INFO - Initial checks done. Running the testcase now
2025-12-22 02:19:16,741 - INFO -
2025-12-22 02:19:17,321 - DEBUG - Response for create_network : {'network': {'id': 'dfd16e91-c631-45c6-9534-181f0d6fa7bb', 'name': 'ctest-vn-31926062', 'tenant_id': '5f96f560cf88420f992110183f7382e0', 'project_id': '5f96f560cf88420f992110183f7382e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63547027', 'ctest-vn-31926062'], 'port_security_enabled': True, 'description': ''}}
2025-12-22 02:19:17,469 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2570bf4-a358-4e92-af87-3abb67ce0cc7', 'name': '', 'tenant_id': '5f96f560cf88420f992110183f7382e0', 'network_id': 'dfd16e91-c631-45c6-9534-181f0d6fa7bb', 'ip_version': 4, 'cidr': '73.1.212.128/26', 'allocation_pools': [{'start': '73.1.212.130', 'end': '73.1.212.190'}], 'gateway_ip': '73.1.212.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.1.212.130', 'tags': [], 'project_id': '5f96f560cf88420f992110183f7382e0'}}
2025-12-22 02:19:17,487 - INFO - Created VN ctest-vn-31926062
2025-12-22 02:19:17,539 - DEBUG - VN ctest-vn-31926062 UUID is dfd16e91-c631-45c6-9534-181f0d6fa7bb
2025-12-22 02:19:17,825 - DEBUG - Response for create_network : {'network': {'id': '3a1b59a3-f733-488a-b62a-ae433f206ad0', 'name': 'ctest-vn-65389471', 'tenant_id': '5f96f560cf88420f992110183f7382e0', 'project_id': '5f96f560cf88420f992110183f7382e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63547027', 'ctest-vn-65389471'], 'port_security_enabled': True, 'description': ''}}
2025-12-22 02:19:17,990 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b71b7dc6-6be7-4533-9ad1-ff61e59d0686', 'name': '', 'tenant_id': '5f96f560cf88420f992110183f7382e0', 'network_id': '3a1b59a3-f733-488a-b62a-ae433f206ad0', 'ip_version': 4, 'cidr': '175.198.33.128/26', 'allocation_pools': [{'start': '175.198.33.130', 'end': '175.198.33.190'}], 'gateway_ip': '175.198.33.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.198.33.130', 'tags': [], 'project_id': '5f96f560cf88420f992110183f7382e0'}}
2025-12-22 02:19:18,008 - INFO - Created VN ctest-vn-65389471
2025-12-22 02:19:18,059 - DEBUG - VN ctest-vn-65389471 UUID is 3a1b59a3-f733-488a-b62a-ae433f206ad0
2025-12-22 02:19:18,180 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-31926062, 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-63547027:ctest-vn-65389471, 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]
2025-12-22 02:19:18,479 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dfd16e91-c631-45c6-9534-181f0d6fa7bb', 'name': 'ctest-vn-31926062', 'tenant_id': '5f96f560cf88420f992110183f7382e0', 'project_id': '5f96f560cf88420f992110183f7382e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d2570bf4-a358-4e92-af87-3abb67ce0cc7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63547027', 'ctest-vn-31926062'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63547027', 'ctest-policy-allow-all-30733358']], 'subnet_ipam': [{'subnet_cidr': '73.1.212.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-22 02:19:18,707 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a1b59a3-f733-488a-b62a-ae433f206ad0', 'name': 'ctest-vn-65389471', 'tenant_id': '5f96f560cf88420f992110183f7382e0', 'project_id': '5f96f560cf88420f992110183f7382e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b71b7dc6-6be7-4533-9ad1-ff61e59d0686'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63547027', 'ctest-vn-65389471'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63547027', 'ctest-policy-allow-all-30733358']], 'subnet_ipam': [{'subnet_cidr': '175.198.33.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-22 02:19:18,859 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-22 02:19:19,170 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-22 02:19:19,206 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d7d786fd-4fd7-42a5-b62e-06c5e0c5ff6b
2025-12-22 02:19:19,219 - DEBUG - Requesting: http://10.0.0.38:8082/project/5f96f560-cf88-420f-9921-10183f7382e0
2025-12-22 02:19:19,293 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dfd16e91-c631-45c6-9534-181f0d6fa7bb
2025-12-22 02:19:19,304 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dfd16e91-c631-45c6-9534-181f0d6fa7bb
2025-12-22 02:19:19,314 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4b2e287e-f09f-44fe-b82b-517dfd781397
2025-12-22 02:19:19,322 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4b2e287e-f09f-44fe-b82b-517dfd781397
2025-12-22 02:19:19,329 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7477657d-51f4-4172-ab4d-1a03f66d0284
2025-12-22 02:19:19,335 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-22 02:19:19,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dfd16e91-c631-45c6-9534-181f0d6fa7bb
2025-12-22 02:19:19,344 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4b2e287e-f09f-44fe-b82b-517dfd781397
2025-12-22 02:19:19,359 - INFO - Verified VN network id 11 for VN dfd16e91-c631-45c6-9534-181f0d6fa7bb
2025-12-22 02:19:19,359 - INFO - Verifications in API Server for VN ctest-vn-31926062 passed
2025-12-22 02:19:19,359 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dfd16e91-c631-45c6-9534-181f0d6fa7bb
2025-12-22 02:19:19,369 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4b2e287e-f09f-44fe-b82b-517dfd781397
2025-12-22 02:19:19,377 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4b2e287e-f09f-44fe-b82b-517dfd781397
2025-12-22 02:19:19,383 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7477657d-51f4-4172-ab4d-1a03f66d0284
2025-12-22 02:19:19,399 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-31926062', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63547027', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16127793312964888006', 'uuid-lslong': '10751244732088690619'}, 'enable': 'true', 'created': '2025-12-22T02:19:17', 'last-modified': '2025-12-22T02:19:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.940936'}
2025-12-22 02:19:19,407 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-22 02:19:19,407 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31926062 passed
2025-12-22 02:19:19,407 - DEBUG - ====Verifying policy data for ctest-vn-31926062 in API_Server ======
2025-12-22 02:19:19,407 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-22 02:19:19,414 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d7d786fd-4fd7-42a5-b62e-06c5e0c5ff6b
2025-12-22 02:19:19,424 - DEBUG - Requesting: http://10.0.0.38:8082/project/5f96f560-cf88-420f-9921-10183f7382e0
2025-12-22 02:19:19,498 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/dfd16e91-c631-45c6-9534-181f0d6fa7bb
2025-12-22 02:19:19,508 - DEBUG - ==>Verifying data for policy with id: 33685530-c631-454a-9b6b-01aa22732c8e, fqn: ['default-domain', 'ctest-TestBasicPolicy-63547027', 'ctest-policy-allow-all-30733358']
2025-12-22 02:19:19,508 - INFO - VN ctest-vn-31926062 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-22 02:19:19,508 - DEBUG - Verifying the vn in opserver
2025-12-22 02:19:19,508 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-31926062 virtual network link through opserver 10.0.0.38
2025-12-22 02:19:19,508 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-22 02:19:19,827 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-22 02:19:19,904 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-31926062', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-31926062?flat'}
2025-12-22 02:19:19,904 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-31926062 is found in opserver
2025-12-22 02:19:19,916 - DEBUG - Do not have enough data to verify VN in agent
2025-12-22 02:19:19,920 - DEBUG - VRF ids for VN ctest-vn-31926062: {}
2025-12-22 02:19:19,921 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-22 02:19:19,927 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d7d786fd-4fd7-42a5-b62e-06c5e0c5ff6b
2025-12-22 02:19:19,939 - DEBUG - Requesting: http://10.0.0.38:8082/project/5f96f560-cf88-420f-9921-10183f7382e0
2025-12-22 02:19:20,010 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3a1b59a3-f733-488a-b62a-ae433f206ad0
2025-12-22 02:19:20,024 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3a1b59a3-f733-488a-b62a-ae433f206ad0
2025-12-22 02:19:20,034 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87e6e91e-79d1-4bde-baf8-412ad70b11ff
2025-12-22 02:19:20,042 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87e6e91e-79d1-4bde-baf8-412ad70b11ff
2025-12-22 02:19:20,050 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/47dec648-ae1f-47bc-848f-791551e183e0
2025-12-22 02:19:20,057 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-22 02:19:20,058 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3a1b59a3-f733-488a-b62a-ae433f206ad0
2025-12-22 02:19:20,067 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87e6e91e-79d1-4bde-baf8-412ad70b11ff
2025-12-22 02:19:20,083 - INFO - Verified VN network id 12 for VN 3a1b59a3-f733-488a-b62a-ae433f206ad0
2025-12-22 02:19:20,084 - INFO - Verifications in API Server for VN ctest-vn-65389471 passed
2025-12-22 02:19:20,084 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3a1b59a3-f733-488a-b62a-ae433f206ad0
2025-12-22 02:19:20,095 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87e6e91e-79d1-4bde-baf8-412ad70b11ff
2025-12-22 02:19:20,104 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/87e6e91e-79d1-4bde-baf8-412ad70b11ff
2025-12-22 02:19:20,111 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/47dec648-ae1f-47bc-848f-791551e183e0
2025-12-22 02:19:20,130 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-65389471', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63547027', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4187038839332882570', 'uuid-lslong': '13126495667769862864'}, 'enable': 'true', 'created': '2025-12-22T02:19:17', 'last-modified': '2025-12-22T02:19:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.440385'}
2025-12-22 02:19:20,136 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-22 02:19:20,136 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65389471 passed
2025-12-22 02:19:20,136 - DEBUG - ====Verifying policy data for ctest-vn-65389471 in API_Server ======
2025-12-22 02:19:20,136 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-22 02:19:20,142 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d7d786fd-4fd7-42a5-b62e-06c5e0c5ff6b
2025-12-22 02:19:20,155 - DEBUG - Requesting: http://10.0.0.38:8082/project/5f96f560-cf88-420f-9921-10183f7382e0
2025-12-22 02:19:20,229 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3a1b59a3-f733-488a-b62a-ae433f206ad0
2025-12-22 02:19:20,238 - DEBUG - ==>Verifying data for policy with id: 33685530-c631-454a-9b6b-01aa22732c8e, fqn: ['default-domain', 'ctest-TestBasicPolicy-63547027', 'ctest-policy-allow-all-30733358']
2025-12-22 02:19:20,238 - INFO - VN ctest-vn-65389471 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-22 02:19:20,238 - DEBUG - Verifying the vn in opserver
2025-12-22 02:19:20,238 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-65389471 virtual network link through opserver 10.0.0.38
2025-12-22 02:19:20,238 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-22 02:19:20,250 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-65389471', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-65389471?flat'}
2025-12-22 02:19:20,250 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63547027:ctest-vn-65389471 is found in opserver
2025-12-22 02:19:20,264 - DEBUG - Do not have enough data to verify VN in agent
2025-12-22 02:19:20,270 - DEBUG - VRF ids for VN ctest-vn-65389471: {}
2025-12-22 02:19:20,342 - DEBUG - Services list from nova: [