2026-06-18 14:11:13,120 - INFO - Domain Default found not creating
2026-06-18 14:11:13,284 - INFO - Project ctest-TestBasicPolicy-05376387 not found, creating it
2026-06-18 14:11:13,737 - INFO - Created Project:ctest-TestBasicPolicy-05376387, ID : 75c4c06e-4e2b-419b-966a-c2e52cf341ec
2026-06-18 14:11:15,329 - INFO - ================================================================================
2026-06-18 14:11:15,329 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-18 14:11:15,329 - 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-06-18 14:11:15,584 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-06-18 14:11:15,585 - INFO - Initial checks done. Running the testcase now
2026-06-18 14:11:15,585 - INFO -
2026-06-18 14:11:16,181 - DEBUG - Response for create_network : {'network': {'id': 'e7021cb8-ef74-4259-abb4-11503ef5bf7c', 'name': 'ctest-vn-50691767', 'tenant_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'project_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05376387', 'ctest-vn-50691767'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 14:11:16,375 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6e3fe95-cebd-45fd-a176-de7a58fea062', 'name': '', 'tenant_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'network_id': 'e7021cb8-ef74-4259-abb4-11503ef5bf7c', 'ip_version': 4, 'cidr': '121.170.44.192/26', 'allocation_pools': [{'start': '121.170.44.194', 'end': '121.170.44.254'}], 'gateway_ip': '121.170.44.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.170.44.194', 'tags': [], 'project_id': '75c4c06e4e2b419b966ac2e52cf341ec'}}
2026-06-18 14:11:16,391 - INFO - Created VN ctest-vn-50691767
2026-06-18 14:11:16,443 - DEBUG - VN ctest-vn-50691767 UUID is e7021cb8-ef74-4259-abb4-11503ef5bf7c
2026-06-18 14:11:16,743 - DEBUG - Response for create_network : {'network': {'id': 'b4f2fa65-22bf-4025-9300-83845a02faeb', 'name': 'ctest-vn-03060978', 'tenant_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'project_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05376387', 'ctest-vn-03060978'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 14:11:16,936 - DEBUG - Response for create_subnet : {'subnet': {'id': '91d20a0a-811d-4fa1-96d9-6e1a90a5e4b5', 'name': '', 'tenant_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'network_id': 'b4f2fa65-22bf-4025-9300-83845a02faeb', 'ip_version': 4, 'cidr': '62.182.169.192/26', 'allocation_pools': [{'start': '62.182.169.194', 'end': '62.182.169.254'}], 'gateway_ip': '62.182.169.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.182.169.194', 'tags': [], 'project_id': '75c4c06e4e2b419b966ac2e52cf341ec'}}
2026-06-18 14:11:16,950 - INFO - Created VN ctest-vn-03060978
2026-06-18 14:11:17,003 - DEBUG - VN ctest-vn-03060978 UUID is b4f2fa65-22bf-4025-9300-83845a02faeb
2026-06-18 14:11:17,147 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-50691767, 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-05376387:ctest-vn-03060978, 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-06-18 14:11:17,428 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e7021cb8-ef74-4259-abb4-11503ef5bf7c', 'name': 'ctest-vn-50691767', 'tenant_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'project_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b6e3fe95-cebd-45fd-a176-de7a58fea062'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05376387', 'ctest-vn-50691767'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05376387', 'ctest-policy-allow-all-75846299']], 'subnet_ipam': [{'subnet_cidr': '121.170.44.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-18 14:11:17,650 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b4f2fa65-22bf-4025-9300-83845a02faeb', 'name': 'ctest-vn-03060978', 'tenant_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'project_id': '75c4c06e4e2b419b966ac2e52cf341ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['91d20a0a-811d-4fa1-96d9-6e1a90a5e4b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05376387', 'ctest-vn-03060978'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05376387', 'ctest-policy-allow-all-75846299']], 'subnet_ipam': [{'subnet_cidr': '62.182.169.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-18 14:11:17,803 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-18 14:11:18,167 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-18 14:11:18,193 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fbd3fc36-612d-4093-a3df-8730abea2e9c
2026-06-18 14:11:18,204 - DEBUG - Requesting: http://10.0.0.38:8082/project/75c4c06e-4e2b-419b-966a-c2e52cf341ec
2026-06-18 14:11:18,273 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e7021cb8-ef74-4259-abb4-11503ef5bf7c
2026-06-18 14:11:18,284 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e7021cb8-ef74-4259-abb4-11503ef5bf7c
2026-06-18 14:11:18,292 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/02752c11-e2be-438a-a5f8-b3872dd2df0f
2026-06-18 14:11:18,299 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/02752c11-e2be-438a-a5f8-b3872dd2df0f
2026-06-18 14:11:18,305 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2c8aa3b4-51a4-4ed1-850a-abcc34e65d10
2026-06-18 14:11:18,310 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-18 14:11:18,310 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e7021cb8-ef74-4259-abb4-11503ef5bf7c
2026-06-18 14:11:18,318 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/02752c11-e2be-438a-a5f8-b3872dd2df0f
2026-06-18 14:11:18,329 - INFO - Verified VN network id 11 for VN e7021cb8-ef74-4259-abb4-11503ef5bf7c
2026-06-18 14:11:18,329 - INFO - Verifications in API Server for VN ctest-vn-50691767 passed
2026-06-18 14:11:18,329 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e7021cb8-ef74-4259-abb4-11503ef5bf7c
2026-06-18 14:11:18,336 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/02752c11-e2be-438a-a5f8-b3872dd2df0f
2026-06-18 14:11:18,342 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/02752c11-e2be-438a-a5f8-b3872dd2df0f
2026-06-18 14:11:18,348 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2c8aa3b4-51a4-4ed1-850a-abcc34e65d10
2026-06-18 14:11:18,358 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-50691767', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05376387', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16645898753331708505', 'uuid-lslong': '12372533112644943740'}, 'enable': 'true', 'created': '2026-06-18T14:11:16', 'last-modified': '2026-06-18T14:11:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945622'}
2026-06-18 14:11:18,363 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-18 14:11:18,363 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50691767 passed
2026-06-18 14:11:18,364 - DEBUG - ====Verifying policy data for ctest-vn-50691767 in API_Server ======
2026-06-18 14:11:18,364 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-18 14:11:18,368 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fbd3fc36-612d-4093-a3df-8730abea2e9c
2026-06-18 14:11:18,381 - DEBUG - Requesting: http://10.0.0.38:8082/project/75c4c06e-4e2b-419b-966a-c2e52cf341ec
2026-06-18 14:11:18,458 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e7021cb8-ef74-4259-abb4-11503ef5bf7c
2026-06-18 14:11:18,466 - DEBUG - ==>Verifying data for policy with id: 0b173484-9042-4b1b-8236-9a8875cee827, fqn: ['default-domain', 'ctest-TestBasicPolicy-05376387', 'ctest-policy-allow-all-75846299']
2026-06-18 14:11:18,466 - INFO - VN ctest-vn-50691767 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-18 14:11:18,466 - DEBUG - Verifying the vn in opserver
2026-06-18 14:11:18,466 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-50691767 virtual network link through opserver 10.0.0.38
2026-06-18 14:11:18,466 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-18 14:11:18,824 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-18 14:11:18,905 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-50691767', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-50691767?flat'}
2026-06-18 14:11:18,905 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-50691767 is found in opserver
2026-06-18 14:11:18,914 - DEBUG - Do not have enough data to verify VN in agent
2026-06-18 14:11:18,919 - DEBUG - VRF ids for VN ctest-vn-50691767: {}
2026-06-18 14:11:18,919 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-18 14:11:18,941 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fbd3fc36-612d-4093-a3df-8730abea2e9c
2026-06-18 14:11:18,985 - DEBUG - Requesting: http://10.0.0.38:8082/project/75c4c06e-4e2b-419b-966a-c2e52cf341ec
2026-06-18 14:11:19,085 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4f2fa65-22bf-4025-9300-83845a02faeb
2026-06-18 14:11:19,101 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4f2fa65-22bf-4025-9300-83845a02faeb
2026-06-18 14:11:19,113 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/10ce7b55-5be8-4aa4-b20c-d6355f652adc
2026-06-18 14:11:19,129 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/10ce7b55-5be8-4aa4-b20c-d6355f652adc
2026-06-18 14:11:19,136 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3a00c1e9-dd8a-4e37-9312-c949ebdfd1af
2026-06-18 14:11:19,146 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-18 14:11:19,146 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4f2fa65-22bf-4025-9300-83845a02faeb
2026-06-18 14:11:19,158 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/10ce7b55-5be8-4aa4-b20c-d6355f652adc
2026-06-18 14:11:19,184 - INFO - Verified VN network id 12 for VN b4f2fa65-22bf-4025-9300-83845a02faeb
2026-06-18 14:11:19,184 - INFO - Verifications in API Server for VN ctest-vn-03060978 passed
2026-06-18 14:11:19,185 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4f2fa65-22bf-4025-9300-83845a02faeb
2026-06-18 14:11:19,196 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/10ce7b55-5be8-4aa4-b20c-d6355f652adc
2026-06-18 14:11:19,211 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/10ce7b55-5be8-4aa4-b20c-d6355f652adc
2026-06-18 14:11:19,218 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3a00c1e9-dd8a-4e37-9312-c949ebdfd1af
2026-06-18 14:11:19,234 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-03060978', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05376387', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13038759183472607269', 'uuid-lslong': '10592610928044473067'}, 'enable': 'true', 'created': '2026-06-18T14:11:16', 'last-modified': '2026-06-18T14:11:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.607558'}
2026-06-18 14:11:19,240 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-18 14:11:19,240 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03060978 passed
2026-06-18 14:11:19,240 - DEBUG - ====Verifying policy data for ctest-vn-03060978 in API_Server ======
2026-06-18 14:11:19,240 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-18 14:11:19,252 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fbd3fc36-612d-4093-a3df-8730abea2e9c
2026-06-18 14:11:19,310 - DEBUG - Requesting: http://10.0.0.38:8082/project/75c4c06e-4e2b-419b-966a-c2e52cf341ec
2026-06-18 14:11:19,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b4f2fa65-22bf-4025-9300-83845a02faeb
2026-06-18 14:11:19,426 - DEBUG - ==>Verifying data for policy with id: 0b173484-9042-4b1b-8236-9a8875cee827, fqn: ['default-domain', 'ctest-TestBasicPolicy-05376387', 'ctest-policy-allow-all-75846299']
2026-06-18 14:11:19,426 - INFO - VN ctest-vn-03060978 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-18 14:11:19,426 - DEBUG - Verifying the vn in opserver
2026-06-18 14:11:19,426 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-03060978 virtual network link through opserver 10.0.0.38
2026-06-18 14:11:19,426 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-18 14:11:19,441 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-03060978', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-03060978?flat'}
2026-06-18 14:11:19,441 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05376387:ctest-vn-03060978 is found in opserver
2026-06-18 14:11:19,456 - DEBUG - Do not have enough data to verify VN in agent
2026-06-18 14:11:19,460 - DEBUG - VRF ids for VN ctest-vn-03060978: {}
2026-06-18 14:11:19,534 - DEBUG - Services list from nova: [