2026-08-17 12:55:33,699 - INFO - Domain Default found not creating
2026-08-17 12:55:33,873 - INFO - Project ctest-TestBasicPolicy-93571701 not found, creating it
2026-08-17 12:55:34,350 - INFO - Created Project:ctest-TestBasicPolicy-93571701, ID : 4a010d9a-d62b-47d1-a042-36ed95bfe8bd
2026-08-17 12:55:36,046 - INFO - ================================================================================
2026-08-17 12:55:36,046 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-17 12:55:36,046 - 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-08-17 12:55:36,318 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2026-08-17 12:55:36,318 - INFO - Initial checks done. Running the testcase now
2026-08-17 12:55:36,319 - INFO -
2026-08-17 12:55:36,957 - DEBUG - Response for create_network : {'network': {'id': 'ac730b10-0da0-4cf9-8ef7-501153de9af7', 'name': 'ctest-vn-91785159', 'tenant_id': '4a010d9ad62b47d1a04236ed95bfe8bd', 'project_id': '4a010d9ad62b47d1a04236ed95bfe8bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93571701', 'ctest-vn-91785159'], 'port_security_enabled': True, 'description': ''}}
2026-08-17 12:55:37,165 - DEBUG - Response for create_subnet : {'subnet': {'id': '9cc57685-6a88-42d7-9434-87c19b033183', 'name': '', 'tenant_id': '4a010d9ad62b47d1a04236ed95bfe8bd', 'network_id': 'ac730b10-0da0-4cf9-8ef7-501153de9af7', 'ip_version': 4, 'cidr': '154.72.137.64/26', 'allocation_pools': [{'start': '154.72.137.66', 'end': '154.72.137.126'}], 'gateway_ip': '154.72.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.72.137.66', 'tags': [], 'project_id': '4a010d9ad62b47d1a04236ed95bfe8bd'}}
2026-08-17 12:55:37,181 - INFO - Created VN ctest-vn-91785159
2026-08-17 12:55:37,231 - DEBUG - VN ctest-vn-91785159 UUID is ac730b10-0da0-4cf9-8ef7-501153de9af7
2026-08-17 12:55:37,573 - DEBUG - Response for create_network : {'network': {'id': '2b7be3ab-6d61-4b05-b938-18e7ce815387', 'name': 'ctest-vn-93795258', 'tenant_id': '4a010d9ad62b47d1a04236ed95bfe8bd', 'project_id': '4a010d9ad62b47d1a04236ed95bfe8bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93571701', 'ctest-vn-93795258'], 'port_security_enabled': True, 'description': ''}}
2026-08-17 12:55:37,719 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2ede4bf-06b3-4ee3-8b8a-76d905c6656d', 'name': '', 'tenant_id': '4a010d9ad62b47d1a04236ed95bfe8bd', 'network_id': '2b7be3ab-6d61-4b05-b938-18e7ce815387', 'ip_version': 4, 'cidr': '105.19.151.0/26', 'allocation_pools': [{'start': '105.19.151.2', 'end': '105.19.151.62'}], 'gateway_ip': '105.19.151.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.19.151.2', 'tags': [], 'project_id': '4a010d9ad62b47d1a04236ed95bfe8bd'}}
2026-08-17 12:55:37,737 - INFO - Created VN ctest-vn-93795258
2026-08-17 12:55:37,787 - DEBUG - VN ctest-vn-93795258 UUID is 2b7be3ab-6d61-4b05-b938-18e7ce815387
2026-08-17 12:55:37,935 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93571701:ctest-vn-91785159, 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-93571701:ctest-vn-93795258, 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-08-17 12:55:38,246 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ac730b10-0da0-4cf9-8ef7-501153de9af7', 'name': 'ctest-vn-91785159', 'tenant_id': '4a010d9ad62b47d1a04236ed95bfe8bd', 'project_id': '4a010d9ad62b47d1a04236ed95bfe8bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9cc57685-6a88-42d7-9434-87c19b033183'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93571701', 'ctest-vn-91785159'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93571701', 'ctest-policy-allow-all-83793689']], 'subnet_ipam': [{'subnet_cidr': '154.72.137.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-17 12:55:38,494 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2b7be3ab-6d61-4b05-b938-18e7ce815387', 'name': 'ctest-vn-93795258', 'tenant_id': '4a010d9ad62b47d1a04236ed95bfe8bd', 'project_id': '4a010d9ad62b47d1a04236ed95bfe8bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b2ede4bf-06b3-4ee3-8b8a-76d905c6656d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93571701', 'ctest-vn-93795258'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93571701', 'ctest-policy-allow-all-83793689']], 'subnet_ipam': [{'subnet_cidr': '105.19.151.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-17 12:55:38,656 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-08-17 12:55:39,029 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-08-17 12:55:39,057 - DEBUG - Requesting: http://10.0.0.19:8082/domain/1a209ccb-caea-46f0-be44-9feb50676ccf
2026-08-17 12:55:39,071 - DEBUG - Requesting: http://10.0.0.19:8082/project/4a010d9a-d62b-47d1-a042-36ed95bfe8bd
2026-08-17 12:55:39,152 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ac730b10-0da0-4cf9-8ef7-501153de9af7
2026-08-17 12:55:39,165 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ac730b10-0da0-4cf9-8ef7-501153de9af7
2026-08-17 12:55:39,179 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f89af080-6327-44f6-83d8-9ac34172cd98
2026-08-17 12:55:39,189 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f89af080-6327-44f6-83d8-9ac34172cd98
2026-08-17 12:55:39,196 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/119776a7-a8f5-4b27-838c-07a7766ace20
2026-08-17 12:55:39,203 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-17 12:55:39,203 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ac730b10-0da0-4cf9-8ef7-501153de9af7
2026-08-17 12:55:39,214 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f89af080-6327-44f6-83d8-9ac34172cd98
2026-08-17 12:55:39,231 - INFO - Verified VN network id 11 for VN ac730b10-0da0-4cf9-8ef7-501153de9af7
2026-08-17 12:55:39,231 - INFO - Verifications in API Server for VN ctest-vn-91785159 passed
2026-08-17 12:55:39,231 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ac730b10-0da0-4cf9-8ef7-501153de9af7
2026-08-17 12:55:39,241 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f89af080-6327-44f6-83d8-9ac34172cd98
2026-08-17 12:55:39,249 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f89af080-6327-44f6-83d8-9ac34172cd98
2026-08-17 12:55:39,256 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/119776a7-a8f5-4b27-838c-07a7766ace20
2026-08-17 12:55:39,269 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93571701:ctest-vn-91785159', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93571701', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12426287960421321977', 'uuid-lslong': '10301790707985062647'}, 'enable': 'true', 'created': '2026-08-17T12:55:36', 'last-modified': '2026-08-17T12:55:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.050011'}
2026-08-17 12:55:39,277 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-17 12:55:39,278 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91785159 passed
2026-08-17 12:55:39,278 - DEBUG - ====Verifying policy data for ctest-vn-91785159 in API_Server ======
2026-08-17 12:55:39,278 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-08-17 12:55:39,284 - DEBUG - Requesting: http://10.0.0.19:8082/domain/1a209ccb-caea-46f0-be44-9feb50676ccf
2026-08-17 12:55:39,295 - DEBUG - Requesting: http://10.0.0.19:8082/project/4a010d9a-d62b-47d1-a042-36ed95bfe8bd
2026-08-17 12:55:39,375 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ac730b10-0da0-4cf9-8ef7-501153de9af7
2026-08-17 12:55:39,386 - DEBUG - ==>Verifying data for policy with id: cb6b265b-a989-4eef-8c17-4f134ad600da, fqn: ['default-domain', 'ctest-TestBasicPolicy-93571701', 'ctest-policy-allow-all-83793689']
2026-08-17 12:55:39,386 - INFO - VN ctest-vn-91785159 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-17 12:55:39,386 - DEBUG - Verifying the vn in opserver
2026-08-17 12:55:39,386 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93571701:ctest-vn-91785159 virtual network link through opserver 10.0.0.19
2026-08-17 12:55:39,387 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-08-17 12:55:39,759 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-08-17 12:55:39,824 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93571701:ctest-vn-91785159', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93571701:ctest-vn-91785159?flat'}
2026-08-17 12:55:39,824 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93571701:ctest-vn-91785159 is found in opserver
2026-08-17 12:55:39,835 - DEBUG - Do not have enough data to verify VN in agent
2026-08-17 12:55:39,841 - DEBUG - VRF ids for VN ctest-vn-91785159: {}
2026-08-17 12:55:39,841 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-08-17 12:55:39,847 - DEBUG - Requesting: http://10.0.0.19:8082/domain/1a209ccb-caea-46f0-be44-9feb50676ccf
2026-08-17 12:55:39,858 - DEBUG - Requesting: http://10.0.0.19:8082/project/4a010d9a-d62b-47d1-a042-36ed95bfe8bd
2026-08-17 12:55:39,934 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2b7be3ab-6d61-4b05-b938-18e7ce815387
2026-08-17 12:55:39,946 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2b7be3ab-6d61-4b05-b938-18e7ce815387
2026-08-17 12:55:39,956 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/de13621f-b6c5-442f-8335-90287b5be073
2026-08-17 12:55:39,963 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/de13621f-b6c5-442f-8335-90287b5be073
2026-08-17 12:55:39,970 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/b53dcc1a-c9bd-489e-869b-160df9b13d76
2026-08-17 12:55:39,977 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-17 12:55:39,977 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2b7be3ab-6d61-4b05-b938-18e7ce815387
2026-08-17 12:55:39,987 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/de13621f-b6c5-442f-8335-90287b5be073
2026-08-17 12:55:40,001 - INFO - Verified VN network id 12 for VN 2b7be3ab-6d61-4b05-b938-18e7ce815387
2026-08-17 12:55:40,001 - INFO - Verifications in API Server for VN ctest-vn-93795258 passed
2026-08-17 12:55:40,001 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2b7be3ab-6d61-4b05-b938-18e7ce815387
2026-08-17 12:55:40,012 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/de13621f-b6c5-442f-8335-90287b5be073
2026-08-17 12:55:40,023 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/de13621f-b6c5-442f-8335-90287b5be073
2026-08-17 12:55:40,035 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/b53dcc1a-c9bd-489e-869b-160df9b13d76
2026-08-17 12:55:40,049 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93571701:ctest-vn-93795258', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93571701', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3133348291180317445', 'uuid-lslong': '13346444879593558919'}, 'enable': 'true', 'created': '2026-08-17T12:55:37', 'last-modified': '2026-08-17T12:55:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.585020'}
2026-08-17 12:55:40,056 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-17 12:55:40,056 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93795258 passed
2026-08-17 12:55:40,056 - DEBUG - ====Verifying policy data for ctest-vn-93795258 in API_Server ======
2026-08-17 12:55:40,056 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-08-17 12:55:40,062 - DEBUG - Requesting: http://10.0.0.19:8082/domain/1a209ccb-caea-46f0-be44-9feb50676ccf
2026-08-17 12:55:40,074 - DEBUG - Requesting: http://10.0.0.19:8082/project/4a010d9a-d62b-47d1-a042-36ed95bfe8bd
2026-08-17 12:55:40,150 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2b7be3ab-6d61-4b05-b938-18e7ce815387
2026-08-17 12:55:40,160 - DEBUG - ==>Verifying data for policy with id: cb6b265b-a989-4eef-8c17-4f134ad600da, fqn: ['default-domain', 'ctest-TestBasicPolicy-93571701', 'ctest-policy-allow-all-83793689']
2026-08-17 12:55:40,160 - INFO - VN ctest-vn-93795258 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-17 12:55:40,160 - DEBUG - Verifying the vn in opserver
2026-08-17 12:55:40,160 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93571701:ctest-vn-93795258 virtual network link through opserver 10.0.0.19
2026-08-17 12:55:40,160 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-08-17 12:55:40,171 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93571701:ctest-vn-93795258', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93571701:ctest-vn-93795258?flat'}
2026-08-17 12:55:40,171 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93571701:ctest-vn-93795258 is found in opserver
2026-08-17 12:55:40,183 - DEBUG - Do not have enough data to verify VN in agent
2026-08-17 12:55:40,188 - DEBUG - VRF ids for VN ctest-vn-93795258: {}
2026-08-17 12:55:40,251 - DEBUG - Services list from nova: [