2026-09-28 18:37:03,836 - INFO - Domain Default found not creating
2026-09-28 18:37:04,106 - INFO - Project ctest-TestBasicPolicy-46241377 not found, creating it
2026-09-28 18:37:04,716 - INFO - Created Project:ctest-TestBasicPolicy-46241377, ID : 6d052c58-96b8-49ad-aba9-15a37c31932b
2026-09-28 18:37:06,720 - INFO - ================================================================================
2026-09-28 18:37:06,720 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-28 18:37:06,720 - 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-28 18:37:07,002 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with
2026-09-28 18:37:07,002 - INFO - Initial checks done. Running the testcase now
2026-09-28 18:37:07,002 - INFO -
2026-09-28 18:37:07,759 - DEBUG - Response for create_network : {'network': {'id': 'f70cd2ee-881c-4bbb-88f6-5f93987fec0f', 'name': 'ctest-vn-54189125', 'tenant_id': '6d052c5896b849adaba915a37c31932b', 'project_id': '6d052c5896b849adaba915a37c31932b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46241377', 'ctest-vn-54189125'], 'port_security_enabled': True, 'description': ''}}
2026-09-28 18:37:08,028 - DEBUG - Response for create_subnet : {'subnet': {'id': '96a797b5-5d07-404d-b36c-d4b8b1b71359', 'name': '', 'tenant_id': '6d052c5896b849adaba915a37c31932b', 'network_id': 'f70cd2ee-881c-4bbb-88f6-5f93987fec0f', 'ip_version': 4, 'cidr': '27.61.120.64/26', 'allocation_pools': [{'start': '27.61.120.66', 'end': '27.61.120.126'}], 'gateway_ip': '27.61.120.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.61.120.66', 'tags': [], 'project_id': '6d052c5896b849adaba915a37c31932b'}}
2026-09-28 18:37:08,054 - INFO - Created VN ctest-vn-54189125
2026-09-28 18:37:08,114 - DEBUG - VN ctest-vn-54189125 UUID is f70cd2ee-881c-4bbb-88f6-5f93987fec0f
2026-09-28 18:37:08,480 - DEBUG - Response for create_network : {'network': {'id': '8c527e85-2c1f-4c1f-8b50-cfb350cdcf6e', 'name': 'ctest-vn-63162631', 'tenant_id': '6d052c5896b849adaba915a37c31932b', 'project_id': '6d052c5896b849adaba915a37c31932b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46241377', 'ctest-vn-63162631'], 'port_security_enabled': True, 'description': ''}}
2026-09-28 18:37:08,725 - DEBUG - Response for create_subnet : {'subnet': {'id': '2899d491-dd0f-4bba-9b6e-c6261d9ce355', 'name': '', 'tenant_id': '6d052c5896b849adaba915a37c31932b', 'network_id': '8c527e85-2c1f-4c1f-8b50-cfb350cdcf6e', 'ip_version': 4, 'cidr': '35.248.238.0/26', 'allocation_pools': [{'start': '35.248.238.2', 'end': '35.248.238.62'}], 'gateway_ip': '35.248.238.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.248.238.2', 'tags': [], 'project_id': '6d052c5896b849adaba915a37c31932b'}}
2026-09-28 18:37:08,747 - INFO - Created VN ctest-vn-63162631
2026-09-28 18:37:08,806 - DEBUG - VN ctest-vn-63162631 UUID is 8c527e85-2c1f-4c1f-8b50-cfb350cdcf6e
2026-09-28 18:37:08,930 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46241377:ctest-vn-54189125, 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-46241377:ctest-vn-63162631, 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-28 18:37:09,314 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f70cd2ee-881c-4bbb-88f6-5f93987fec0f', 'name': 'ctest-vn-54189125', 'tenant_id': '6d052c5896b849adaba915a37c31932b', 'project_id': '6d052c5896b849adaba915a37c31932b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['96a797b5-5d07-404d-b36c-d4b8b1b71359'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46241377', 'ctest-vn-54189125'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46241377', 'ctest-policy-allow-all-62670733']], 'subnet_ipam': [{'subnet_cidr': '27.61.120.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-28 18:37:09,606 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8c527e85-2c1f-4c1f-8b50-cfb350cdcf6e', 'name': 'ctest-vn-63162631', 'tenant_id': '6d052c5896b849adaba915a37c31932b', 'project_id': '6d052c5896b849adaba915a37c31932b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2899d491-dd0f-4bba-9b6e-c6261d9ce355'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46241377', 'ctest-vn-63162631'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46241377', 'ctest-policy-allow-all-62670733']], 'subnet_ipam': [{'subnet_cidr': '35.248.238.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-28 18:37:09,786 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-28 18:37:10,217 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-28 18:37:10,280 - DEBUG - Requesting: http://10.0.0.177:8082/domain/a1333800-9c1e-4c41-8ab7-af60e3ff6387
2026-09-28 18:37:10,296 - DEBUG - Requesting: http://10.0.0.177:8082/project/6d052c58-96b8-49ad-aba9-15a37c31932b
2026-09-28 18:37:10,381 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f70cd2ee-881c-4bbb-88f6-5f93987fec0f
2026-09-28 18:37:10,397 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f70cd2ee-881c-4bbb-88f6-5f93987fec0f
2026-09-28 18:37:10,410 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/1cca1ec8-5040-4cac-b4f9-3f6daa7058f7
2026-09-28 18:37:10,420 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/1cca1ec8-5040-4cac-b4f9-3f6daa7058f7
2026-09-28 18:37:10,430 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/a0967727-b72e-41c1-a180-c277df051ae7
2026-09-28 18:37:10,439 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-28 18:37:10,439 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f70cd2ee-881c-4bbb-88f6-5f93987fec0f
2026-09-28 18:37:10,450 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/1cca1ec8-5040-4cac-b4f9-3f6daa7058f7
2026-09-28 18:37:10,471 - INFO - Verified VN network id 12 for VN f70cd2ee-881c-4bbb-88f6-5f93987fec0f
2026-09-28 18:37:10,472 - INFO - Verifications in API Server for VN ctest-vn-54189125 passed
2026-09-28 18:37:10,472 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f70cd2ee-881c-4bbb-88f6-5f93987fec0f
2026-09-28 18:37:10,486 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/1cca1ec8-5040-4cac-b4f9-3f6daa7058f7
2026-09-28 18:37:10,495 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/1cca1ec8-5040-4cac-b4f9-3f6daa7058f7
2026-09-28 18:37:10,504 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/a0967727-b72e-41c1-a180-c277df051ae7
2026-09-28 18:37:10,522 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46241377:ctest-vn-54189125', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46241377', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17801835349016333243', 'uuid-lslong': '9869180720952372239'}, 'enable': 'true', 'created': '2026-09-28T18:37:07', 'last-modified': '2026-09-28T18:37:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.254329'}
2026-09-28 18:37:10,531 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-28 18:37:10,532 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54189125 passed
2026-09-28 18:37:10,532 - DEBUG - ====Verifying policy data for ctest-vn-54189125 in API_Server ======
2026-09-28 18:37:10,532 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-28 18:37:10,539 - DEBUG - Requesting: http://10.0.0.177:8082/domain/a1333800-9c1e-4c41-8ab7-af60e3ff6387
2026-09-28 18:37:10,556 - DEBUG - Requesting: http://10.0.0.177:8082/project/6d052c58-96b8-49ad-aba9-15a37c31932b
2026-09-28 18:37:10,641 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f70cd2ee-881c-4bbb-88f6-5f93987fec0f
2026-09-28 18:37:10,653 - DEBUG - ==>Verifying data for policy with id: d0c44ba1-d510-4073-abeb-60b16ca7f1b8, fqn: ['default-domain', 'ctest-TestBasicPolicy-46241377', 'ctest-policy-allow-all-62670733']
2026-09-28 18:37:10,653 - INFO - VN ctest-vn-54189125 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-28 18:37:10,653 - DEBUG - Verifying the vn in opserver
2026-09-28 18:37:10,653 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46241377:ctest-vn-54189125 virtual network link through opserver 10.0.0.177
2026-09-28 18:37:10,654 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-28 18:37:11,031 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-28 18:37:11,107 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46241377:ctest-vn-54189125', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46241377:ctest-vn-54189125?flat'}
2026-09-28 18:37:11,107 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46241377:ctest-vn-54189125 is found in opserver
2026-09-28 18:37:11,121 - DEBUG - Do not have enough data to verify VN in agent
2026-09-28 18:37:11,127 - DEBUG - VRF ids for VN ctest-vn-54189125: {}
2026-09-28 18:37:11,127 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-28 18:37:11,136 - DEBUG - Requesting: http://10.0.0.177:8082/domain/a1333800-9c1e-4c41-8ab7-af60e3ff6387
2026-09-28 18:37:11,154 - DEBUG - Requesting: http://10.0.0.177:8082/project/6d052c58-96b8-49ad-aba9-15a37c31932b
2026-09-28 18:37:11,246 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/8c527e85-2c1f-4c1f-8b50-cfb350cdcf6e
2026-09-28 18:37:11,263 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/8c527e85-2c1f-4c1f-8b50-cfb350cdcf6e
2026-09-28 18:37:11,277 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2bd0f59e-6ffd-4e56-bfb3-28a5ff14e70f
2026-09-28 18:37:11,288 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2bd0f59e-6ffd-4e56-bfb3-28a5ff14e70f
2026-09-28 18:37:11,299 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/e2bd7e2b-f8d9-48f1-8a9e-c8db20de9700
2026-09-28 18:37:11,310 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-28 18:37:11,310 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/8c527e85-2c1f-4c1f-8b50-cfb350cdcf6e
2026-09-28 18:37:11,325 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2bd0f59e-6ffd-4e56-bfb3-28a5ff14e70f
2026-09-28 18:37:11,348 - INFO - Verified VN network id 13 for VN 8c527e85-2c1f-4c1f-8b50-cfb350cdcf6e
2026-09-28 18:37:11,348 - INFO - Verifications in API Server for VN ctest-vn-63162631 passed
2026-09-28 18:37:11,348 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/8c527e85-2c1f-4c1f-8b50-cfb350cdcf6e
2026-09-28 18:37:11,360 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2bd0f59e-6ffd-4e56-bfb3-28a5ff14e70f
2026-09-28 18:37:11,370 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/2bd0f59e-6ffd-4e56-bfb3-28a5ff14e70f
2026-09-28 18:37:11,380 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/e2bd7e2b-f8d9-48f1-8a9e-c8db20de9700
2026-09-28 18:37:11,402 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46241377:ctest-vn-63162631', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46241377', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10111283223836183583', 'uuid-lslong': '10038751938470596462'}, 'enable': 'true', 'created': '2026-09-28T18:37:08', 'last-modified': '2026-09-28T18:37:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.831420'}
2026-09-28 18:37:11,411 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-28 18:37:11,412 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63162631 passed
2026-09-28 18:37:11,412 - DEBUG - ====Verifying policy data for ctest-vn-63162631 in API_Server ======
2026-09-28 18:37:11,412 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-28 18:37:11,420 - DEBUG - Requesting: http://10.0.0.177:8082/domain/a1333800-9c1e-4c41-8ab7-af60e3ff6387
2026-09-28 18:37:11,437 - DEBUG - Requesting: http://10.0.0.177:8082/project/6d052c58-96b8-49ad-aba9-15a37c31932b
2026-09-28 18:37:11,520 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/8c527e85-2c1f-4c1f-8b50-cfb350cdcf6e
2026-09-28 18:37:11,536 - DEBUG - ==>Verifying data for policy with id: d0c44ba1-d510-4073-abeb-60b16ca7f1b8, fqn: ['default-domain', 'ctest-TestBasicPolicy-46241377', 'ctest-policy-allow-all-62670733']
2026-09-28 18:37:11,536 - INFO - VN ctest-vn-63162631 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-28 18:37:11,536 - DEBUG - Verifying the vn in opserver
2026-09-28 18:37:11,536 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46241377:ctest-vn-63162631 virtual network link through opserver 10.0.0.177
2026-09-28 18:37:11,536 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-28 18:37:11,551 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46241377:ctest-vn-63162631', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46241377:ctest-vn-63162631?flat'}
2026-09-28 18:37:11,551 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46241377:ctest-vn-63162631 is found in opserver
2026-09-28 18:37:11,567 - DEBUG - Do not have enough data to verify VN in agent
2026-09-28 18:37:11,575 - DEBUG - VRF ids for VN ctest-vn-63162631: {}
2026-09-28 18:37:11,652 - DEBUG - Services list from nova: [