2026-09-17 20:39:49,385 - INFO - Domain Default found not creating
2026-09-17 20:39:49,567 - INFO - Project ctest-TestBasicPolicy-90003900 not found, creating it
2026-09-17 20:39:50,064 - INFO - Created Project:ctest-TestBasicPolicy-90003900, ID : fe8e7c62-b643-4a24-9f89-96a53d976b31
2026-09-17 20:39:51,679 - INFO - ================================================================================
2026-09-17 20:39:51,679 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-17 20:39:51,679 - 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-09-17 20:39:51,942 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.17': '0'}} with
2026-09-17 20:39:51,943 - INFO - Initial checks done. Running the testcase now
2026-09-17 20:39:51,943 - INFO -
2026-09-17 20:39:52,551 - DEBUG - Response for create_network : {'network': {'id': '3f64b19c-bfd7-416b-b83a-5669b85ac368', 'name': 'ctest-vn-25650936', 'tenant_id': 'fe8e7c62b6434a249f8996a53d976b31', 'project_id': 'fe8e7c62b6434a249f8996a53d976b31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90003900', 'ctest-vn-25650936'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 20:39:52,781 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1e32615-39a8-4900-9143-90f325f6cf0f', 'name': '', 'tenant_id': 'fe8e7c62b6434a249f8996a53d976b31', 'network_id': '3f64b19c-bfd7-416b-b83a-5669b85ac368', 'ip_version': 4, 'cidr': '76.153.162.128/26', 'allocation_pools': [{'start': '76.153.162.130', 'end': '76.153.162.190'}], 'gateway_ip': '76.153.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.153.162.130', 'tags': [], 'project_id': 'fe8e7c62b6434a249f8996a53d976b31'}}
2026-09-17 20:39:52,799 - INFO - Created VN ctest-vn-25650936
2026-09-17 20:39:52,850 - DEBUG - VN ctest-vn-25650936 UUID is 3f64b19c-bfd7-416b-b83a-5669b85ac368
2026-09-17 20:39:53,144 - DEBUG - Response for create_network : {'network': {'id': '98ad9811-cb05-4e42-ad4e-51eb152de02c', 'name': 'ctest-vn-27102838', 'tenant_id': 'fe8e7c62b6434a249f8996a53d976b31', 'project_id': 'fe8e7c62b6434a249f8996a53d976b31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90003900', 'ctest-vn-27102838'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 20:39:53,367 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8369357-0d26-4d44-967e-e6863681e3bf', 'name': '', 'tenant_id': 'fe8e7c62b6434a249f8996a53d976b31', 'network_id': '98ad9811-cb05-4e42-ad4e-51eb152de02c', 'ip_version': 4, 'cidr': '147.85.242.128/26', 'allocation_pools': [{'start': '147.85.242.130', 'end': '147.85.242.190'}], 'gateway_ip': '147.85.242.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.85.242.130', 'tags': [], 'project_id': 'fe8e7c62b6434a249f8996a53d976b31'}}
2026-09-17 20:39:53,383 - INFO - Created VN ctest-vn-27102838
2026-09-17 20:39:53,434 - DEBUG - VN ctest-vn-27102838 UUID is 98ad9811-cb05-4e42-ad4e-51eb152de02c
2026-09-17 20:39:53,547 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-25650936, 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-90003900:ctest-vn-27102838, 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-09-17 20:39:53,874 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3f64b19c-bfd7-416b-b83a-5669b85ac368', 'name': 'ctest-vn-25650936', 'tenant_id': 'fe8e7c62b6434a249f8996a53d976b31', 'project_id': 'fe8e7c62b6434a249f8996a53d976b31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b1e32615-39a8-4900-9143-90f325f6cf0f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90003900', 'ctest-vn-25650936'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90003900', 'ctest-policy-allow-all-29802657']], 'subnet_ipam': [{'subnet_cidr': '76.153.162.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 20:39:54,119 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '98ad9811-cb05-4e42-ad4e-51eb152de02c', 'name': 'ctest-vn-27102838', 'tenant_id': 'fe8e7c62b6434a249f8996a53d976b31', 'project_id': 'fe8e7c62b6434a249f8996a53d976b31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b8369357-0d26-4d44-967e-e6863681e3bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90003900', 'ctest-vn-27102838'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90003900', 'ctest-policy-allow-all-29802657']], 'subnet_ipam': [{'subnet_cidr': '147.85.242.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 20:39:54,282 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-17 20:39:54,599 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-17 20:39:54,630 - DEBUG - Requesting: http://10.0.0.250:8082/domain/a2e54ebb-b2d3-4607-b2a9-b4dd4b8880ff
2026-09-17 20:39:54,644 - DEBUG - Requesting: http://10.0.0.250:8082/project/fe8e7c62-b643-4a24-9f89-96a53d976b31
2026-09-17 20:39:54,720 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/3f64b19c-bfd7-416b-b83a-5669b85ac368
2026-09-17 20:39:54,732 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/3f64b19c-bfd7-416b-b83a-5669b85ac368
2026-09-17 20:39:54,742 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/0c61cd09-4d0e-4e6a-836e-3ee602a3f006
2026-09-17 20:39:54,750 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/0c61cd09-4d0e-4e6a-836e-3ee602a3f006
2026-09-17 20:39:54,757 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/25173f41-4d45-4587-a087-52f65187490c
2026-09-17 20:39:54,764 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 20:39:54,764 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/3f64b19c-bfd7-416b-b83a-5669b85ac368
2026-09-17 20:39:54,775 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/0c61cd09-4d0e-4e6a-836e-3ee602a3f006
2026-09-17 20:39:54,789 - INFO - Verified VN network id 12 for VN 3f64b19c-bfd7-416b-b83a-5669b85ac368
2026-09-17 20:39:54,789 - INFO - Verifications in API Server for VN ctest-vn-25650936 passed
2026-09-17 20:39:54,789 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/3f64b19c-bfd7-416b-b83a-5669b85ac368
2026-09-17 20:39:54,798 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/0c61cd09-4d0e-4e6a-836e-3ee602a3f006
2026-09-17 20:39:54,804 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/0c61cd09-4d0e-4e6a-836e-3ee602a3f006
2026-09-17 20:39:54,813 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/25173f41-4d45-4587-a087-52f65187490c
2026-09-17 20:39:54,827 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-25650936', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90003900', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4567971208852095339', 'uuid-lslong': '13275017863692469096'}, 'enable': 'true', 'created': '2026-09-17T20:39:52', 'last-modified': '2026-09-17T20:39:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.985478'}
2026-09-17 20:39:54,834 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 20:39:54,834 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25650936 passed
2026-09-17 20:39:54,834 - DEBUG - ====Verifying policy data for ctest-vn-25650936 in API_Server ======
2026-09-17 20:39:54,834 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-17 20:39:54,841 - DEBUG - Requesting: http://10.0.0.250:8082/domain/a2e54ebb-b2d3-4607-b2a9-b4dd4b8880ff
2026-09-17 20:39:54,853 - DEBUG - Requesting: http://10.0.0.250:8082/project/fe8e7c62-b643-4a24-9f89-96a53d976b31
2026-09-17 20:39:54,925 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/3f64b19c-bfd7-416b-b83a-5669b85ac368
2026-09-17 20:39:54,936 - DEBUG - ==>Verifying data for policy with id: 6e8c8c14-b322-429a-a90b-fc37f4403259, fqn: ['default-domain', 'ctest-TestBasicPolicy-90003900', 'ctest-policy-allow-all-29802657']
2026-09-17 20:39:54,936 - INFO - VN ctest-vn-25650936 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 20:39:54,936 - DEBUG - Verifying the vn in opserver
2026-09-17 20:39:54,936 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-25650936 virtual network link through opserver 10.0.0.250
2026-09-17 20:39:54,937 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-09-17 20:39:55,257 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-09-17 20:39:55,317 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-25650936', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-25650936?flat'}
2026-09-17 20:39:55,318 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-25650936 is found in opserver
2026-09-17 20:39:55,329 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 20:39:55,333 - DEBUG - VRF ids for VN ctest-vn-25650936: {}
2026-09-17 20:39:55,333 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-17 20:39:55,339 - DEBUG - Requesting: http://10.0.0.250:8082/domain/a2e54ebb-b2d3-4607-b2a9-b4dd4b8880ff
2026-09-17 20:39:55,351 - DEBUG - Requesting: http://10.0.0.250:8082/project/fe8e7c62-b643-4a24-9f89-96a53d976b31
2026-09-17 20:39:55,430 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/98ad9811-cb05-4e42-ad4e-51eb152de02c
2026-09-17 20:39:55,443 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/98ad9811-cb05-4e42-ad4e-51eb152de02c
2026-09-17 20:39:55,454 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/a16dc2a3-d840-42f5-9d05-0dd6e0d18922
2026-09-17 20:39:55,463 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/a16dc2a3-d840-42f5-9d05-0dd6e0d18922
2026-09-17 20:39:55,472 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/ba8b8aef-3b2e-418e-9621-f07b09eeb465
2026-09-17 20:39:55,523 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 20:39:55,523 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/98ad9811-cb05-4e42-ad4e-51eb152de02c
2026-09-17 20:39:55,552 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/a16dc2a3-d840-42f5-9d05-0dd6e0d18922
2026-09-17 20:39:55,568 - INFO - Verified VN network id 13 for VN 98ad9811-cb05-4e42-ad4e-51eb152de02c
2026-09-17 20:39:55,569 - INFO - Verifications in API Server for VN ctest-vn-27102838 passed
2026-09-17 20:39:55,569 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/98ad9811-cb05-4e42-ad4e-51eb152de02c
2026-09-17 20:39:55,579 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/a16dc2a3-d840-42f5-9d05-0dd6e0d18922
2026-09-17 20:39:55,586 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/a16dc2a3-d840-42f5-9d05-0dd6e0d18922
2026-09-17 20:39:55,593 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/ba8b8aef-3b2e-418e-9621-f07b09eeb465
2026-09-17 20:39:55,607 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-27102838', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90003900', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11001616666923978306', 'uuid-lslong': '12488008886859456556'}, 'enable': 'true', 'created': '2026-09-17T20:39:53', 'last-modified': '2026-09-17T20:39:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.510235'}
2026-09-17 20:39:55,613 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 20:39:55,614 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27102838 passed
2026-09-17 20:39:55,614 - DEBUG - ====Verifying policy data for ctest-vn-27102838 in API_Server ======
2026-09-17 20:39:55,614 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-17 20:39:55,619 - DEBUG - Requesting: http://10.0.0.250:8082/domain/a2e54ebb-b2d3-4607-b2a9-b4dd4b8880ff
2026-09-17 20:39:55,630 - DEBUG - Requesting: http://10.0.0.250:8082/project/fe8e7c62-b643-4a24-9f89-96a53d976b31
2026-09-17 20:39:55,711 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/98ad9811-cb05-4e42-ad4e-51eb152de02c
2026-09-17 20:39:55,721 - DEBUG - ==>Verifying data for policy with id: 6e8c8c14-b322-429a-a90b-fc37f4403259, fqn: ['default-domain', 'ctest-TestBasicPolicy-90003900', 'ctest-policy-allow-all-29802657']
2026-09-17 20:39:55,721 - INFO - VN ctest-vn-27102838 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 20:39:55,721 - DEBUG - Verifying the vn in opserver
2026-09-17 20:39:55,722 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-27102838 virtual network link through opserver 10.0.0.250
2026-09-17 20:39:55,722 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-09-17 20:39:55,733 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-27102838', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-27102838?flat'}
2026-09-17 20:39:55,733 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-27102838 is found in opserver
2026-09-17 20:39:55,745 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 20:39:55,751 - DEBUG - VRF ids for VN ctest-vn-27102838: {}
2026-09-17 20:39:55,817 - DEBUG - Services list from nova: [