2026-10-28 20:50:00,913 - INFO - Domain Default found not creating
2026-10-28 20:50:01,133 - INFO - Project ctest-TestBasicPolicy-12367862 not found, creating it
2026-10-28 20:50:01,640 - INFO - Created Project:ctest-TestBasicPolicy-12367862, ID : 58af6803-f592-4874-bb93-166313e45dba
2026-10-28 20:50:03,659 - INFO - ================================================================================
2026-10-28 20:50:03,659 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-28 20:50:03,659 - 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-10-28 20:50:03,923 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.29': '0'}} with
2026-10-28 20:50:03,923 - INFO - Initial checks done. Running the testcase now
2026-10-28 20:50:03,923 - INFO -
2026-10-28 20:50:04,642 - DEBUG - Response for create_network : {'network': {'id': 'b69c03c5-700f-4cf4-9b6b-f995367ad4b1', 'name': 'ctest-vn-40511061', 'tenant_id': '58af6803f5924874bb93166313e45dba', 'project_id': '58af6803f5924874bb93166313e45dba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12367862', 'ctest-vn-40511061'], 'port_security_enabled': True, 'description': ''}}
2026-10-28 20:50:04,867 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fc74176-1e9d-42cb-8feb-c633fd18f1c8', 'name': '', 'tenant_id': '58af6803f5924874bb93166313e45dba', 'network_id': 'b69c03c5-700f-4cf4-9b6b-f995367ad4b1', 'ip_version': 4, 'cidr': '186.251.20.64/26', 'allocation_pools': [{'start': '186.251.20.66', 'end': '186.251.20.126'}], 'gateway_ip': '186.251.20.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.251.20.66', 'tags': [], 'project_id': '58af6803f5924874bb93166313e45dba'}}
2026-10-28 20:50:04,888 - INFO - Created VN ctest-vn-40511061
2026-10-28 20:50:04,947 - DEBUG - VN ctest-vn-40511061 UUID is b69c03c5-700f-4cf4-9b6b-f995367ad4b1
2026-10-28 20:50:05,305 - DEBUG - Response for create_network : {'network': {'id': '09a9af66-e0f4-4e7f-88ba-5598f252a473', 'name': 'ctest-vn-61874547', 'tenant_id': '58af6803f5924874bb93166313e45dba', 'project_id': '58af6803f5924874bb93166313e45dba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12367862', 'ctest-vn-61874547'], 'port_security_enabled': True, 'description': ''}}
2026-10-28 20:50:05,499 - DEBUG - Response for create_subnet : {'subnet': {'id': '3528aa27-403e-41b3-adea-2809be5d8434', 'name': '', 'tenant_id': '58af6803f5924874bb93166313e45dba', 'network_id': '09a9af66-e0f4-4e7f-88ba-5598f252a473', 'ip_version': 4, 'cidr': '45.211.26.192/26', 'allocation_pools': [{'start': '45.211.26.194', 'end': '45.211.26.254'}], 'gateway_ip': '45.211.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.211.26.194', 'tags': [], 'project_id': '58af6803f5924874bb93166313e45dba'}}
2026-10-28 20:50:05,521 - INFO - Created VN ctest-vn-61874547
2026-10-28 20:50:05,579 - DEBUG - VN ctest-vn-61874547 UUID is 09a9af66-e0f4-4e7f-88ba-5598f252a473
2026-10-28 20:50:05,715 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12367862:ctest-vn-40511061, 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-12367862:ctest-vn-61874547, 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-10-28 20:50:06,056 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b69c03c5-700f-4cf4-9b6b-f995367ad4b1', 'name': 'ctest-vn-40511061', 'tenant_id': '58af6803f5924874bb93166313e45dba', 'project_id': '58af6803f5924874bb93166313e45dba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['3fc74176-1e9d-42cb-8feb-c633fd18f1c8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12367862', 'ctest-vn-40511061'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12367862', 'ctest-policy-allow-all-36395104']], 'subnet_ipam': [{'subnet_cidr': '186.251.20.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-28 20:50:06,316 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '09a9af66-e0f4-4e7f-88ba-5598f252a473', 'name': 'ctest-vn-61874547', 'tenant_id': '58af6803f5924874bb93166313e45dba', 'project_id': '58af6803f5924874bb93166313e45dba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['3528aa27-403e-41b3-adea-2809be5d8434'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12367862', 'ctest-vn-61874547'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12367862', 'ctest-policy-allow-all-36395104']], 'subnet_ipam': [{'subnet_cidr': '45.211.26.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-28 20:50:06,495 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-28 20:50:06,876 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-28 20:50:06,909 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e6129638-57ad-49b4-8665-634316040b20
2026-10-28 20:50:06,923 - DEBUG - Requesting: http://10.0.0.38:8082/project/58af6803-f592-4874-bb93-166313e45dba
2026-10-28 20:50:07,004 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b69c03c5-700f-4cf4-9b6b-f995367ad4b1
2026-10-28 20:50:07,020 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b69c03c5-700f-4cf4-9b6b-f995367ad4b1
2026-10-28 20:50:07,031 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c34efda0-718f-446c-87e4-cdce6c841482
2026-10-28 20:50:07,040 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c34efda0-718f-446c-87e4-cdce6c841482
2026-10-28 20:50:07,048 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9d9fb6d4-b48c-43af-b29d-39044c5bc690
2026-10-28 20:50:07,056 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-28 20:50:07,056 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b69c03c5-700f-4cf4-9b6b-f995367ad4b1
2026-10-28 20:50:07,067 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c34efda0-718f-446c-87e4-cdce6c841482
2026-10-28 20:50:07,087 - INFO - Verified VN network id 12 for VN b69c03c5-700f-4cf4-9b6b-f995367ad4b1
2026-10-28 20:50:07,087 - INFO - Verifications in API Server for VN ctest-vn-40511061 passed
2026-10-28 20:50:07,087 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b69c03c5-700f-4cf4-9b6b-f995367ad4b1
2026-10-28 20:50:07,101 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c34efda0-718f-446c-87e4-cdce6c841482
2026-10-28 20:50:07,110 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c34efda0-718f-446c-87e4-cdce6c841482
2026-10-28 20:50:07,118 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9d9fb6d4-b48c-43af-b29d-39044c5bc690
2026-10-28 20:50:07,131 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12367862:ctest-vn-40511061', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12367862', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13158396357793238260', 'uuid-lslong': '11199319317646333105'}, 'enable': 'true', 'created': '2026-10-28T20:50:04', 'last-modified': '2026-10-28T20:50:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.108099'}
2026-10-28 20:50:07,139 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-28 20:50:07,139 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40511061 passed
2026-10-28 20:50:07,139 - DEBUG - ====Verifying policy data for ctest-vn-40511061 in API_Server ======
2026-10-28 20:50:07,139 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-28 20:50:07,146 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e6129638-57ad-49b4-8665-634316040b20
2026-10-28 20:50:07,162 - DEBUG - Requesting: http://10.0.0.38:8082/project/58af6803-f592-4874-bb93-166313e45dba
2026-10-28 20:50:07,247 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b69c03c5-700f-4cf4-9b6b-f995367ad4b1
2026-10-28 20:50:07,258 - DEBUG - ==>Verifying data for policy with id: 598253bd-ad6f-47ac-98a8-be3a99f17ed1, fqn: ['default-domain', 'ctest-TestBasicPolicy-12367862', 'ctest-policy-allow-all-36395104']
2026-10-28 20:50:07,259 - INFO - VN ctest-vn-40511061 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-28 20:50:07,259 - DEBUG - Verifying the vn in opserver
2026-10-28 20:50:07,259 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12367862:ctest-vn-40511061 virtual network link through opserver 10.0.0.38
2026-10-28 20:50:07,259 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-28 20:50:07,644 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-28 20:50:07,720 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12367862:ctest-vn-40511061', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12367862:ctest-vn-40511061?flat'}
2026-10-28 20:50:07,720 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12367862:ctest-vn-40511061 is found in opserver
2026-10-28 20:50:07,732 - DEBUG - Do not have enough data to verify VN in agent
2026-10-28 20:50:07,738 - DEBUG - VRF ids for VN ctest-vn-40511061: {}
2026-10-28 20:50:07,738 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-28 20:50:07,746 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e6129638-57ad-49b4-8665-634316040b20
2026-10-28 20:50:07,762 - DEBUG - Requesting: http://10.0.0.38:8082/project/58af6803-f592-4874-bb93-166313e45dba
2026-10-28 20:50:07,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09a9af66-e0f4-4e7f-88ba-5598f252a473
2026-10-28 20:50:07,862 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09a9af66-e0f4-4e7f-88ba-5598f252a473
2026-10-28 20:50:07,875 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ab897052-f5a6-48d4-b5d9-46200c36ffbd
2026-10-28 20:50:07,884 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ab897052-f5a6-48d4-b5d9-46200c36ffbd
2026-10-28 20:50:07,891 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37e3043b-967e-46e8-b7f4-b0707147f3e8
2026-10-28 20:50:07,899 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-28 20:50:07,899 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09a9af66-e0f4-4e7f-88ba-5598f252a473
2026-10-28 20:50:07,910 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ab897052-f5a6-48d4-b5d9-46200c36ffbd
2026-10-28 20:50:07,928 - INFO - Verified VN network id 13 for VN 09a9af66-e0f4-4e7f-88ba-5598f252a473
2026-10-28 20:50:07,929 - INFO - Verifications in API Server for VN ctest-vn-61874547 passed
2026-10-28 20:50:07,929 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09a9af66-e0f4-4e7f-88ba-5598f252a473
2026-10-28 20:50:07,943 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ab897052-f5a6-48d4-b5d9-46200c36ffbd
2026-10-28 20:50:07,953 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ab897052-f5a6-48d4-b5d9-46200c36ffbd
2026-10-28 20:50:07,962 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37e3043b-967e-46e8-b7f4-b0707147f3e8
2026-10-28 20:50:07,978 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12367862:ctest-vn-61874547', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12367862', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '696280473801084543', 'uuid-lslong': '9852281250215273587'}, 'enable': 'true', 'created': '2026-10-28T20:50:05', 'last-modified': '2026-10-28T20:50:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.699425'}
2026-10-28 20:50:07,985 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-28 20:50:07,986 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61874547 passed
2026-10-28 20:50:07,986 - DEBUG - ====Verifying policy data for ctest-vn-61874547 in API_Server ======
2026-10-28 20:50:07,986 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-10-28 20:50:07,992 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e6129638-57ad-49b4-8665-634316040b20
2026-10-28 20:50:08,005 - DEBUG - Requesting: http://10.0.0.38:8082/project/58af6803-f592-4874-bb93-166313e45dba
2026-10-28 20:50:08,091 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/09a9af66-e0f4-4e7f-88ba-5598f252a473
2026-10-28 20:50:08,104 - DEBUG - ==>Verifying data for policy with id: 598253bd-ad6f-47ac-98a8-be3a99f17ed1, fqn: ['default-domain', 'ctest-TestBasicPolicy-12367862', 'ctest-policy-allow-all-36395104']
2026-10-28 20:50:08,104 - INFO - VN ctest-vn-61874547 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-28 20:50:08,104 - DEBUG - Verifying the vn in opserver
2026-10-28 20:50:08,104 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12367862:ctest-vn-61874547 virtual network link through opserver 10.0.0.38
2026-10-28 20:50:08,104 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-10-28 20:50:08,116 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12367862:ctest-vn-61874547', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12367862:ctest-vn-61874547?flat'}
2026-10-28 20:50:08,116 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12367862:ctest-vn-61874547 is found in opserver
2026-10-28 20:50:08,130 - DEBUG - Do not have enough data to verify VN in agent
2026-10-28 20:50:08,137 - DEBUG - VRF ids for VN ctest-vn-61874547: {}
2026-10-28 20:50:08,203 - DEBUG - Services list from nova: [