2026-02-08 16:14:02,627 - INFO - Domain Default found not creating
2026-02-08 16:14:02,786 - INFO - Project ctest-TestBasicPolicy-83259544 not found, creating it
2026-02-08 16:14:03,225 - INFO - Created Project:ctest-TestBasicPolicy-83259544, ID : 11866322-79f7-481c-bcaf-0a68dfeb872f
2026-02-08 16:14:04,642 - INFO - ================================================================================
2026-02-08 16:14:04,642 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-08 16:14:04,642 - 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-02-08 16:14:04,895 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-08 16:14:04,895 - INFO - Initial checks done. Running the testcase now
2026-02-08 16:14:04,895 - INFO -
2026-02-08 16:14:05,425 - DEBUG - Response for create_network : {'network': {'id': '4a2a769f-42a6-42a6-9012-dd056cf18289', 'name': 'ctest-vn-20209413', 'tenant_id': '1186632279f7481cbcaf0a68dfeb872f', 'project_id': '1186632279f7481cbcaf0a68dfeb872f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83259544', 'ctest-vn-20209413'], 'port_security_enabled': True, 'description': ''}}
2026-02-08 16:14:05,586 - DEBUG - Response for create_subnet : {'subnet': {'id': '05226064-8cb5-4af8-b2a2-d4b0e9a62468', 'name': '', 'tenant_id': '1186632279f7481cbcaf0a68dfeb872f', 'network_id': '4a2a769f-42a6-42a6-9012-dd056cf18289', 'ip_version': 4, 'cidr': '211.158.141.64/26', 'allocation_pools': [{'start': '211.158.141.66', 'end': '211.158.141.126'}], 'gateway_ip': '211.158.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.158.141.66', 'tags': [], 'project_id': '1186632279f7481cbcaf0a68dfeb872f'}}
2026-02-08 16:14:05,604 - INFO - Created VN ctest-vn-20209413
2026-02-08 16:14:05,657 - DEBUG - VN ctest-vn-20209413 UUID is 4a2a769f-42a6-42a6-9012-dd056cf18289
2026-02-08 16:14:05,994 - DEBUG - Response for create_network : {'network': {'id': 'f6cb6478-bdbd-403d-b6e0-13b7aa3f91cc', 'name': 'ctest-vn-34222450', 'tenant_id': '1186632279f7481cbcaf0a68dfeb872f', 'project_id': '1186632279f7481cbcaf0a68dfeb872f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83259544', 'ctest-vn-34222450'], 'port_security_enabled': True, 'description': ''}}
2026-02-08 16:14:06,187 - DEBUG - Response for create_subnet : {'subnet': {'id': '2711f78f-dcaf-4d1d-9820-0552dd6e8457', 'name': '', 'tenant_id': '1186632279f7481cbcaf0a68dfeb872f', 'network_id': 'f6cb6478-bdbd-403d-b6e0-13b7aa3f91cc', 'ip_version': 4, 'cidr': '88.183.41.0/26', 'allocation_pools': [{'start': '88.183.41.2', 'end': '88.183.41.62'}], 'gateway_ip': '88.183.41.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.183.41.2', 'tags': [], 'project_id': '1186632279f7481cbcaf0a68dfeb872f'}}
2026-02-08 16:14:06,204 - INFO - Created VN ctest-vn-34222450
2026-02-08 16:14:06,257 - DEBUG - VN ctest-vn-34222450 UUID is f6cb6478-bdbd-403d-b6e0-13b7aa3f91cc
2026-02-08 16:14:06,366 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83259544:ctest-vn-20209413, 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-83259544:ctest-vn-34222450, 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-02-08 16:14:06,652 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4a2a769f-42a6-42a6-9012-dd056cf18289', 'name': 'ctest-vn-20209413', 'tenant_id': '1186632279f7481cbcaf0a68dfeb872f', 'project_id': '1186632279f7481cbcaf0a68dfeb872f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['05226064-8cb5-4af8-b2a2-d4b0e9a62468'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83259544', 'ctest-vn-20209413'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83259544', 'ctest-policy-allow-all-43842733']], 'subnet_ipam': [{'subnet_cidr': '211.158.141.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-08 16:14:06,878 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f6cb6478-bdbd-403d-b6e0-13b7aa3f91cc', 'name': 'ctest-vn-34222450', 'tenant_id': '1186632279f7481cbcaf0a68dfeb872f', 'project_id': '1186632279f7481cbcaf0a68dfeb872f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2711f78f-dcaf-4d1d-9820-0552dd6e8457'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83259544', 'ctest-vn-34222450'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83259544', 'ctest-policy-allow-all-43842733']], 'subnet_ipam': [{'subnet_cidr': '88.183.41.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-08 16:14:07,033 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-08 16:14:07,324 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-08 16:14:07,354 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3f5e9004-03ca-43a1-a41a-70b25589b98f
2026-02-08 16:14:07,365 - DEBUG - Requesting: http://10.0.0.50:8082/project/11866322-79f7-481c-bcaf-0a68dfeb872f
2026-02-08 16:14:07,433 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4a2a769f-42a6-42a6-9012-dd056cf18289
2026-02-08 16:14:07,443 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4a2a769f-42a6-42a6-9012-dd056cf18289
2026-02-08 16:14:07,451 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0943cf4f-0937-413b-8d19-5c687013ff9b
2026-02-08 16:14:07,457 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0943cf4f-0937-413b-8d19-5c687013ff9b
2026-02-08 16:14:07,463 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f34fdaeb-df44-4493-931a-9d33f741a354
2026-02-08 16:14:07,469 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-08 16:14:07,469 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4a2a769f-42a6-42a6-9012-dd056cf18289
2026-02-08 16:14:07,476 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0943cf4f-0937-413b-8d19-5c687013ff9b
2026-02-08 16:14:07,487 - INFO - Verified VN network id 11 for VN 4a2a769f-42a6-42a6-9012-dd056cf18289
2026-02-08 16:14:07,487 - INFO - Verifications in API Server for VN ctest-vn-20209413 passed
2026-02-08 16:14:07,487 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4a2a769f-42a6-42a6-9012-dd056cf18289
2026-02-08 16:14:07,495 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0943cf4f-0937-413b-8d19-5c687013ff9b
2026-02-08 16:14:07,500 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0943cf4f-0937-413b-8d19-5c687013ff9b
2026-02-08 16:14:07,505 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f34fdaeb-df44-4493-931a-9d33f741a354
2026-02-08 16:14:07,521 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83259544:ctest-vn-20209413', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83259544', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5344214334218584742', 'uuid-lslong': '10381603106414756489'}, 'enable': 'true', 'created': '2026-02-08T16:14:05', 'last-modified': '2026-02-08T16:14:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.890506'}
2026-02-08 16:14:07,526 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-08 16:14:07,526 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20209413 passed
2026-02-08 16:14:07,526 - DEBUG - ====Verifying policy data for ctest-vn-20209413 in API_Server ======
2026-02-08 16:14:07,526 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-08 16:14:07,531 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3f5e9004-03ca-43a1-a41a-70b25589b98f
2026-02-08 16:14:07,540 - DEBUG - Requesting: http://10.0.0.50:8082/project/11866322-79f7-481c-bcaf-0a68dfeb872f
2026-02-08 16:14:07,603 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4a2a769f-42a6-42a6-9012-dd056cf18289
2026-02-08 16:14:07,611 - DEBUG - ==>Verifying data for policy with id: c3064bf7-1cab-4d40-8fe4-6fc28f0395e4, fqn: ['default-domain', 'ctest-TestBasicPolicy-83259544', 'ctest-policy-allow-all-43842733']
2026-02-08 16:14:07,611 - INFO - VN ctest-vn-20209413 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-08 16:14:07,611 - DEBUG - Verifying the vn in opserver
2026-02-08 16:14:07,611 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83259544:ctest-vn-20209413 virtual network link through opserver 10.0.0.50
2026-02-08 16:14:07,611 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-08 16:14:07,904 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-08 16:14:07,964 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83259544:ctest-vn-20209413', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83259544:ctest-vn-20209413?flat'}
2026-02-08 16:14:07,964 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83259544:ctest-vn-20209413 is found in opserver
2026-02-08 16:14:07,973 - DEBUG - Do not have enough data to verify VN in agent
2026-02-08 16:14:07,977 - DEBUG - VRF ids for VN ctest-vn-20209413: {}
2026-02-08 16:14:07,977 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-08 16:14:07,982 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3f5e9004-03ca-43a1-a41a-70b25589b98f
2026-02-08 16:14:07,992 - DEBUG - Requesting: http://10.0.0.50:8082/project/11866322-79f7-481c-bcaf-0a68dfeb872f
2026-02-08 16:14:08,055 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f6cb6478-bdbd-403d-b6e0-13b7aa3f91cc
2026-02-08 16:14:08,066 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f6cb6478-bdbd-403d-b6e0-13b7aa3f91cc
2026-02-08 16:14:08,074 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1bd29871-1b8d-41d6-87b0-5a5f116493d3
2026-02-08 16:14:08,080 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1bd29871-1b8d-41d6-87b0-5a5f116493d3
2026-02-08 16:14:08,086 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a591b31b-0cb7-4aa4-a5b0-c6bc9599a35e
2026-02-08 16:14:08,091 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-08 16:14:08,091 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f6cb6478-bdbd-403d-b6e0-13b7aa3f91cc
2026-02-08 16:14:08,099 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1bd29871-1b8d-41d6-87b0-5a5f116493d3
2026-02-08 16:14:08,111 - INFO - Verified VN network id 12 for VN f6cb6478-bdbd-403d-b6e0-13b7aa3f91cc
2026-02-08 16:14:08,111 - INFO - Verifications in API Server for VN ctest-vn-34222450 passed
2026-02-08 16:14:08,111 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f6cb6478-bdbd-403d-b6e0-13b7aa3f91cc
2026-02-08 16:14:08,119 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1bd29871-1b8d-41d6-87b0-5a5f116493d3
2026-02-08 16:14:08,125 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/1bd29871-1b8d-41d6-87b0-5a5f116493d3
2026-02-08 16:14:08,131 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a591b31b-0cb7-4aa4-a5b0-c6bc9599a35e
2026-02-08 16:14:08,142 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83259544:ctest-vn-34222450', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83259544', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17783418023344685117', 'uuid-lslong': '13177554189242307020'}, 'enable': 'true', 'created': '2026-02-08T16:14:05', 'last-modified': '2026-02-08T16:14:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.287110'}
2026-02-08 16:14:08,147 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-08 16:14:08,147 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34222450 passed
2026-02-08 16:14:08,147 - DEBUG - ====Verifying policy data for ctest-vn-34222450 in API_Server ======
2026-02-08 16:14:08,147 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-08 16:14:08,151 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3f5e9004-03ca-43a1-a41a-70b25589b98f
2026-02-08 16:14:08,162 - DEBUG - Requesting: http://10.0.0.50:8082/project/11866322-79f7-481c-bcaf-0a68dfeb872f
2026-02-08 16:14:08,229 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f6cb6478-bdbd-403d-b6e0-13b7aa3f91cc
2026-02-08 16:14:08,237 - DEBUG - ==>Verifying data for policy with id: c3064bf7-1cab-4d40-8fe4-6fc28f0395e4, fqn: ['default-domain', 'ctest-TestBasicPolicy-83259544', 'ctest-policy-allow-all-43842733']
2026-02-08 16:14:08,237 - INFO - VN ctest-vn-34222450 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-08 16:14:08,237 - DEBUG - Verifying the vn in opserver
2026-02-08 16:14:08,237 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83259544:ctest-vn-34222450 virtual network link through opserver 10.0.0.50
2026-02-08 16:14:08,238 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-08 16:14:08,246 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83259544:ctest-vn-34222450', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83259544:ctest-vn-34222450?flat'}
2026-02-08 16:14:08,246 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83259544:ctest-vn-34222450 is found in opserver
2026-02-08 16:14:08,254 - DEBUG - Do not have enough data to verify VN in agent
2026-02-08 16:14:08,259 - DEBUG - VRF ids for VN ctest-vn-34222450: {}
2026-02-08 16:14:08,314 - DEBUG - Services list from nova: [