2026-02-16 16:23:03,617 - INFO - Domain Default found not creating
2026-02-16 16:23:03,784 - INFO - Project ctest-TestBasicPolicy-61016796 not found, creating it
2026-02-16 16:23:04,281 - INFO - Created Project:ctest-TestBasicPolicy-61016796, ID : 8f4c6211-0550-430e-ae9e-751828d38c13
2026-02-16 16:23:05,741 - INFO - ================================================================================
2026-02-16 16:23:05,741 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-16 16:23:05,741 - 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-16 16:23:05,996 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-02-16 16:23:05,996 - INFO - Initial checks done. Running the testcase now
2026-02-16 16:23:05,996 - INFO -
2026-02-16 16:23:06,538 - DEBUG - Response for create_network : {'network': {'id': 'f4140f03-bb11-4786-a608-788c4c8834bc', 'name': 'ctest-vn-56638475', 'tenant_id': '8f4c62110550430eae9e751828d38c13', 'project_id': '8f4c62110550430eae9e751828d38c13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61016796', 'ctest-vn-56638475'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 16:23:06,707 - DEBUG - Response for create_subnet : {'subnet': {'id': '18c82bd4-8435-463d-a1b6-61bd4c3130fe', 'name': '', 'tenant_id': '8f4c62110550430eae9e751828d38c13', 'network_id': 'f4140f03-bb11-4786-a608-788c4c8834bc', 'ip_version': 4, 'cidr': '159.234.235.128/26', 'allocation_pools': [{'start': '159.234.235.130', 'end': '159.234.235.190'}], 'gateway_ip': '159.234.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.234.235.130', 'tags': [], 'project_id': '8f4c62110550430eae9e751828d38c13'}}
2026-02-16 16:23:06,724 - INFO - Created VN ctest-vn-56638475
2026-02-16 16:23:06,775 - DEBUG - VN ctest-vn-56638475 UUID is f4140f03-bb11-4786-a608-788c4c8834bc
2026-02-16 16:23:07,087 - DEBUG - Response for create_network : {'network': {'id': 'a50c4e2d-8a4a-4a27-b910-383b686bd228', 'name': 'ctest-vn-90574270', 'tenant_id': '8f4c62110550430eae9e751828d38c13', 'project_id': '8f4c62110550430eae9e751828d38c13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61016796', 'ctest-vn-90574270'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 16:23:07,307 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d808903-36e4-47ca-ad80-5ed1bf7bf354', 'name': '', 'tenant_id': '8f4c62110550430eae9e751828d38c13', 'network_id': 'a50c4e2d-8a4a-4a27-b910-383b686bd228', 'ip_version': 4, 'cidr': '5.165.53.0/26', 'allocation_pools': [{'start': '5.165.53.2', 'end': '5.165.53.62'}], 'gateway_ip': '5.165.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.165.53.2', 'tags': [], 'project_id': '8f4c62110550430eae9e751828d38c13'}}
2026-02-16 16:23:07,323 - INFO - Created VN ctest-vn-90574270
2026-02-16 16:23:07,374 - DEBUG - VN ctest-vn-90574270 UUID is a50c4e2d-8a4a-4a27-b910-383b686bd228
2026-02-16 16:23:07,522 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-56638475, 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-61016796:ctest-vn-90574270, 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-16 16:23:07,803 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f4140f03-bb11-4786-a608-788c4c8834bc', 'name': 'ctest-vn-56638475', 'tenant_id': '8f4c62110550430eae9e751828d38c13', 'project_id': '8f4c62110550430eae9e751828d38c13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['18c82bd4-8435-463d-a1b6-61bd4c3130fe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61016796', 'ctest-vn-56638475'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61016796', 'ctest-policy-allow-all-40551927']], 'subnet_ipam': [{'subnet_cidr': '159.234.235.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-16 16:23:08,058 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a50c4e2d-8a4a-4a27-b910-383b686bd228', 'name': 'ctest-vn-90574270', 'tenant_id': '8f4c62110550430eae9e751828d38c13', 'project_id': '8f4c62110550430eae9e751828d38c13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d808903-36e4-47ca-ad80-5ed1bf7bf354'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61016796', 'ctest-vn-90574270'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61016796', 'ctest-policy-allow-all-40551927']], 'subnet_ipam': [{'subnet_cidr': '5.165.53.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-16 16:23:08,202 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-16 16:23:08,504 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-16 16:23:08,532 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d39b571e-7302-422e-bde5-fc68691256ab
2026-02-16 16:23:08,544 - DEBUG - Requesting: http://10.0.0.38:8082/project/8f4c6211-0550-430e-ae9e-751828d38c13
2026-02-16 16:23:08,613 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f4140f03-bb11-4786-a608-788c4c8834bc
2026-02-16 16:23:08,623 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f4140f03-bb11-4786-a608-788c4c8834bc
2026-02-16 16:23:08,633 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/80fdea6d-5cbb-4ce3-a556-1edc720e3da3
2026-02-16 16:23:08,640 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/80fdea6d-5cbb-4ce3-a556-1edc720e3da3
2026-02-16 16:23:08,646 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/07324037-3663-4b51-93c0-42476521d6dc
2026-02-16 16:23:08,652 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-16 16:23:08,652 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f4140f03-bb11-4786-a608-788c4c8834bc
2026-02-16 16:23:08,660 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/80fdea6d-5cbb-4ce3-a556-1edc720e3da3
2026-02-16 16:23:08,674 - INFO - Verified VN network id 11 for VN f4140f03-bb11-4786-a608-788c4c8834bc
2026-02-16 16:23:08,674 - INFO - Verifications in API Server for VN ctest-vn-56638475 passed
2026-02-16 16:23:08,675 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f4140f03-bb11-4786-a608-788c4c8834bc
2026-02-16 16:23:08,683 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/80fdea6d-5cbb-4ce3-a556-1edc720e3da3
2026-02-16 16:23:08,689 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/80fdea6d-5cbb-4ce3-a556-1edc720e3da3
2026-02-16 16:23:08,696 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/07324037-3663-4b51-93c0-42476521d6dc
2026-02-16 16:23:08,707 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-56638475', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61016796', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17587698953486419846', 'uuid-lslong': '11963944954084471996'}, 'enable': 'true', 'created': '2026-02-16T16:23:06', 'last-modified': '2026-02-16T16:23:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.926895'}
2026-02-16 16:23:08,714 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-16 16:23:08,714 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56638475 passed
2026-02-16 16:23:08,714 - DEBUG - ====Verifying policy data for ctest-vn-56638475 in API_Server ======
2026-02-16 16:23:08,714 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-16 16:23:08,720 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d39b571e-7302-422e-bde5-fc68691256ab
2026-02-16 16:23:08,732 - DEBUG - Requesting: http://10.0.0.38:8082/project/8f4c6211-0550-430e-ae9e-751828d38c13
2026-02-16 16:23:08,805 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f4140f03-bb11-4786-a608-788c4c8834bc
2026-02-16 16:23:08,814 - DEBUG - ==>Verifying data for policy with id: c801802b-b45d-4cf7-bc14-f0e993e6ead9, fqn: ['default-domain', 'ctest-TestBasicPolicy-61016796', 'ctest-policy-allow-all-40551927']
2026-02-16 16:23:08,814 - INFO - VN ctest-vn-56638475 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-16 16:23:08,815 - DEBUG - Verifying the vn in opserver
2026-02-16 16:23:08,815 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-56638475 virtual network link through opserver 10.0.0.38
2026-02-16 16:23:08,815 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-16 16:23:09,105 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-16 16:23:09,171 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-56638475', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-56638475?flat'}
2026-02-16 16:23:09,171 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-56638475 is found in opserver
2026-02-16 16:23:09,183 - DEBUG - Do not have enough data to verify VN in agent
2026-02-16 16:23:09,188 - DEBUG - VRF ids for VN ctest-vn-56638475: {}
2026-02-16 16:23:09,188 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-16 16:23:09,195 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d39b571e-7302-422e-bde5-fc68691256ab
2026-02-16 16:23:09,207 - DEBUG - Requesting: http://10.0.0.38:8082/project/8f4c6211-0550-430e-ae9e-751828d38c13
2026-02-16 16:23:09,278 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a50c4e2d-8a4a-4a27-b910-383b686bd228
2026-02-16 16:23:09,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a50c4e2d-8a4a-4a27-b910-383b686bd228
2026-02-16 16:23:09,299 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b58fcb74-6224-41e4-b773-f000ec44dcc5
2026-02-16 16:23:09,307 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b58fcb74-6224-41e4-b773-f000ec44dcc5
2026-02-16 16:23:09,313 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/95e17bec-8f5d-4d28-9037-dc40ce5114cf
2026-02-16 16:23:09,320 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-16 16:23:09,320 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a50c4e2d-8a4a-4a27-b910-383b686bd228
2026-02-16 16:23:09,330 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b58fcb74-6224-41e4-b773-f000ec44dcc5
2026-02-16 16:23:09,346 - INFO - Verified VN network id 12 for VN a50c4e2d-8a4a-4a27-b910-383b686bd228
2026-02-16 16:23:09,346 - INFO - Verifications in API Server for VN ctest-vn-90574270 passed
2026-02-16 16:23:09,346 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a50c4e2d-8a4a-4a27-b910-383b686bd228
2026-02-16 16:23:09,357 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b58fcb74-6224-41e4-b773-f000ec44dcc5
2026-02-16 16:23:09,365 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b58fcb74-6224-41e4-b773-f000ec44dcc5
2026-02-16 16:23:09,372 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/95e17bec-8f5d-4d28-9037-dc40ce5114cf
2026-02-16 16:23:09,386 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-90574270', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61016796', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11892966673479256615', 'uuid-lslong': '13335220324450161192'}, 'enable': 'true', 'created': '2026-02-16T16:23:07', 'last-modified': '2026-02-16T16:23:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.391115'}
2026-02-16 16:23:09,393 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-16 16:23:09,393 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90574270 passed
2026-02-16 16:23:09,393 - DEBUG - ====Verifying policy data for ctest-vn-90574270 in API_Server ======
2026-02-16 16:23:09,393 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-16 16:23:09,401 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d39b571e-7302-422e-bde5-fc68691256ab
2026-02-16 16:23:09,414 - DEBUG - Requesting: http://10.0.0.38:8082/project/8f4c6211-0550-430e-ae9e-751828d38c13
2026-02-16 16:23:09,487 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a50c4e2d-8a4a-4a27-b910-383b686bd228
2026-02-16 16:23:09,500 - DEBUG - ==>Verifying data for policy with id: c801802b-b45d-4cf7-bc14-f0e993e6ead9, fqn: ['default-domain', 'ctest-TestBasicPolicy-61016796', 'ctest-policy-allow-all-40551927']
2026-02-16 16:23:09,500 - INFO - VN ctest-vn-90574270 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-16 16:23:09,500 - DEBUG - Verifying the vn in opserver
2026-02-16 16:23:09,500 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-90574270 virtual network link through opserver 10.0.0.38
2026-02-16 16:23:09,500 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-16 16:23:09,513 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-90574270', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-90574270?flat'}
2026-02-16 16:23:09,513 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61016796:ctest-vn-90574270 is found in opserver
2026-02-16 16:23:09,526 - DEBUG - Do not have enough data to verify VN in agent
2026-02-16 16:23:09,531 - DEBUG - VRF ids for VN ctest-vn-90574270: {}
2026-02-16 16:23:09,600 - DEBUG - Services list from nova: [