2026-02-12 16:25:17,048 - INFO - Domain Default found not creating
2026-02-12 16:25:17,206 - INFO - Project ctest-TestBasicPolicy-24599241 not found, creating it
2026-02-12 16:25:17,669 - INFO - Created Project:ctest-TestBasicPolicy-24599241, ID : cfc88e03-e632-4c1c-9341-5a865d4a52bf
2026-02-12 16:25:19,178 - INFO - ================================================================================
2026-02-12 16:25:19,178 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-12 16:25:19,178 - 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-12 16:25:19,438 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-02-12 16:25:19,438 - INFO - Initial checks done. Running the testcase now
2026-02-12 16:25:19,438 - INFO -
2026-02-12 16:25:20,006 - DEBUG - Response for create_network : {'network': {'id': '0dfe733c-e92f-4c2c-92a2-8a161ab35065', 'name': 'ctest-vn-83954292', 'tenant_id': 'cfc88e03e6324c1c93415a865d4a52bf', 'project_id': 'cfc88e03e6324c1c93415a865d4a52bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24599241', 'ctest-vn-83954292'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 16:25:20,172 - DEBUG - Response for create_subnet : {'subnet': {'id': '663d7b6f-aedf-450d-a29e-c25c5a7d321d', 'name': '', 'tenant_id': 'cfc88e03e6324c1c93415a865d4a52bf', 'network_id': '0dfe733c-e92f-4c2c-92a2-8a161ab35065', 'ip_version': 4, 'cidr': '1.102.174.0/26', 'allocation_pools': [{'start': '1.102.174.2', 'end': '1.102.174.62'}], 'gateway_ip': '1.102.174.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.102.174.2', 'tags': [], 'project_id': 'cfc88e03e6324c1c93415a865d4a52bf'}}
2026-02-12 16:25:20,191 - INFO - Created VN ctest-vn-83954292
2026-02-12 16:25:20,243 - DEBUG - VN ctest-vn-83954292 UUID is 0dfe733c-e92f-4c2c-92a2-8a161ab35065
2026-02-12 16:25:20,582 - DEBUG - Response for create_network : {'network': {'id': 'af7f7782-a337-4825-b16d-5ec0dcae358b', 'name': 'ctest-vn-31738521', 'tenant_id': 'cfc88e03e6324c1c93415a865d4a52bf', 'project_id': 'cfc88e03e6324c1c93415a865d4a52bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24599241', 'ctest-vn-31738521'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 16:25:20,781 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d73fe6e-297b-47e2-b632-fc721760702a', 'name': '', 'tenant_id': 'cfc88e03e6324c1c93415a865d4a52bf', 'network_id': 'af7f7782-a337-4825-b16d-5ec0dcae358b', 'ip_version': 4, 'cidr': '19.222.243.0/26', 'allocation_pools': [{'start': '19.222.243.2', 'end': '19.222.243.62'}], 'gateway_ip': '19.222.243.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.222.243.2', 'tags': [], 'project_id': 'cfc88e03e6324c1c93415a865d4a52bf'}}
2026-02-12 16:25:20,799 - INFO - Created VN ctest-vn-31738521
2026-02-12 16:25:20,851 - DEBUG - VN ctest-vn-31738521 UUID is af7f7782-a337-4825-b16d-5ec0dcae358b
2026-02-12 16:25:20,970 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24599241:ctest-vn-83954292, 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-24599241:ctest-vn-31738521, 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-12 16:25:21,263 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0dfe733c-e92f-4c2c-92a2-8a161ab35065', 'name': 'ctest-vn-83954292', 'tenant_id': 'cfc88e03e6324c1c93415a865d4a52bf', 'project_id': 'cfc88e03e6324c1c93415a865d4a52bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['663d7b6f-aedf-450d-a29e-c25c5a7d321d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24599241', 'ctest-vn-83954292'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24599241', 'ctest-policy-allow-all-18919443']], 'subnet_ipam': [{'subnet_cidr': '1.102.174.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 16:25:21,488 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af7f7782-a337-4825-b16d-5ec0dcae358b', 'name': 'ctest-vn-31738521', 'tenant_id': 'cfc88e03e6324c1c93415a865d4a52bf', 'project_id': 'cfc88e03e6324c1c93415a865d4a52bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1d73fe6e-297b-47e2-b632-fc721760702a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24599241', 'ctest-vn-31738521'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24599241', 'ctest-policy-allow-all-18919443']], 'subnet_ipam': [{'subnet_cidr': '19.222.243.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 16:25:21,643 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-12 16:25:21,938 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-12 16:25:21,969 - DEBUG - Requesting: http://10.0.0.38:8082/domain/eb7189ad-c31e-42ff-8f4a-7174600316f4
2026-02-12 16:25:21,980 - DEBUG - Requesting: http://10.0.0.38:8082/project/cfc88e03-e632-4c1c-9341-5a865d4a52bf
2026-02-12 16:25:22,049 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0dfe733c-e92f-4c2c-92a2-8a161ab35065
2026-02-12 16:25:22,059 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0dfe733c-e92f-4c2c-92a2-8a161ab35065
2026-02-12 16:25:22,068 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4cad7d8a-59b2-4e1f-946e-23735a823cf7
2026-02-12 16:25:22,075 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4cad7d8a-59b2-4e1f-946e-23735a823cf7
2026-02-12 16:25:22,080 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/15be2efa-a8b5-47a8-8c9c-22a7346c99e4
2026-02-12 16:25:22,086 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 16:25:22,086 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0dfe733c-e92f-4c2c-92a2-8a161ab35065
2026-02-12 16:25:22,094 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4cad7d8a-59b2-4e1f-946e-23735a823cf7
2026-02-12 16:25:22,107 - INFO - Verified VN network id 12 for VN 0dfe733c-e92f-4c2c-92a2-8a161ab35065
2026-02-12 16:25:22,107 - INFO - Verifications in API Server for VN ctest-vn-83954292 passed
2026-02-12 16:25:22,108 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0dfe733c-e92f-4c2c-92a2-8a161ab35065
2026-02-12 16:25:22,116 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4cad7d8a-59b2-4e1f-946e-23735a823cf7
2026-02-12 16:25:22,122 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4cad7d8a-59b2-4e1f-946e-23735a823cf7
2026-02-12 16:25:22,128 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/15be2efa-a8b5-47a8-8c9c-22a7346c99e4
2026-02-12 16:25:22,139 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24599241:ctest-vn-83954292', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24599241', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1008370072024992812', 'uuid-lslong': '10566159503306477669'}, 'enable': 'true', 'created': '2026-02-12T16:25:19', 'last-modified': '2026-02-12T16:25:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.902153'}
2026-02-12 16:25:22,144 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 16:25:22,144 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83954292 passed
2026-02-12 16:25:22,145 - DEBUG - ====Verifying policy data for ctest-vn-83954292 in API_Server ======
2026-02-12 16:25:22,145 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-12 16:25:22,150 - DEBUG - Requesting: http://10.0.0.38:8082/domain/eb7189ad-c31e-42ff-8f4a-7174600316f4
2026-02-12 16:25:22,161 - DEBUG - Requesting: http://10.0.0.38:8082/project/cfc88e03-e632-4c1c-9341-5a865d4a52bf
2026-02-12 16:25:22,227 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0dfe733c-e92f-4c2c-92a2-8a161ab35065
2026-02-12 16:25:22,236 - DEBUG - ==>Verifying data for policy with id: 8fee1925-8280-432c-8699-c4bbee1d8a1e, fqn: ['default-domain', 'ctest-TestBasicPolicy-24599241', 'ctest-policy-allow-all-18919443']
2026-02-12 16:25:22,236 - INFO - VN ctest-vn-83954292 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 16:25:22,236 - DEBUG - Verifying the vn in opserver
2026-02-12 16:25:22,236 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24599241:ctest-vn-83954292 virtual network link through opserver 10.0.0.38
2026-02-12 16:25:22,237 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-12 16:25:22,529 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-12 16:25:22,587 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24599241:ctest-vn-83954292', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24599241:ctest-vn-83954292?flat'}
2026-02-12 16:25:22,587 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24599241:ctest-vn-83954292 is found in opserver
2026-02-12 16:25:22,597 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 16:25:22,601 - DEBUG - VRF ids for VN ctest-vn-83954292: {}
2026-02-12 16:25:22,601 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-12 16:25:22,605 - DEBUG - Requesting: http://10.0.0.38:8082/domain/eb7189ad-c31e-42ff-8f4a-7174600316f4
2026-02-12 16:25:22,615 - DEBUG - Requesting: http://10.0.0.38:8082/project/cfc88e03-e632-4c1c-9341-5a865d4a52bf
2026-02-12 16:25:22,682 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/af7f7782-a337-4825-b16d-5ec0dcae358b
2026-02-12 16:25:22,693 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/af7f7782-a337-4825-b16d-5ec0dcae358b
2026-02-12 16:25:22,701 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fc1a558b-3128-44ea-a4c0-72cb267af0cc
2026-02-12 16:25:22,708 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fc1a558b-3128-44ea-a4c0-72cb267af0cc
2026-02-12 16:25:22,714 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d953a183-dec1-4795-8c44-d845f119e7b7
2026-02-12 16:25:22,721 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 16:25:22,721 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/af7f7782-a337-4825-b16d-5ec0dcae358b
2026-02-12 16:25:22,730 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fc1a558b-3128-44ea-a4c0-72cb267af0cc
2026-02-12 16:25:22,744 - INFO - Verified VN network id 13 for VN af7f7782-a337-4825-b16d-5ec0dcae358b
2026-02-12 16:25:22,744 - INFO - Verifications in API Server for VN ctest-vn-31738521 passed
2026-02-12 16:25:22,744 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/af7f7782-a337-4825-b16d-5ec0dcae358b
2026-02-12 16:25:22,752 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fc1a558b-3128-44ea-a4c0-72cb267af0cc
2026-02-12 16:25:22,758 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fc1a558b-3128-44ea-a4c0-72cb267af0cc
2026-02-12 16:25:22,764 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d953a183-dec1-4795-8c44-d845f119e7b7
2026-02-12 16:25:22,774 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24599241:ctest-vn-31738521', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24599241', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12645957681647405093', 'uuid-lslong': '12784979099603842443'}, 'enable': 'true', 'created': '2026-02-12T16:25:20', 'last-modified': '2026-02-12T16:25:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.313798'}
2026-02-12 16:25:22,780 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 16:25:22,780 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31738521 passed
2026-02-12 16:25:22,780 - DEBUG - ====Verifying policy data for ctest-vn-31738521 in API_Server ======
2026-02-12 16:25:22,781 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-12 16:25:22,787 - DEBUG - Requesting: http://10.0.0.38:8082/domain/eb7189ad-c31e-42ff-8f4a-7174600316f4
2026-02-12 16:25:22,797 - DEBUG - Requesting: http://10.0.0.38:8082/project/cfc88e03-e632-4c1c-9341-5a865d4a52bf
2026-02-12 16:25:22,867 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/af7f7782-a337-4825-b16d-5ec0dcae358b
2026-02-12 16:25:22,876 - DEBUG - ==>Verifying data for policy with id: 8fee1925-8280-432c-8699-c4bbee1d8a1e, fqn: ['default-domain', 'ctest-TestBasicPolicy-24599241', 'ctest-policy-allow-all-18919443']
2026-02-12 16:25:22,877 - INFO - VN ctest-vn-31738521 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 16:25:22,877 - DEBUG - Verifying the vn in opserver
2026-02-12 16:25:22,877 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24599241:ctest-vn-31738521 virtual network link through opserver 10.0.0.38
2026-02-12 16:25:22,877 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-12 16:25:22,886 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24599241:ctest-vn-31738521', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24599241:ctest-vn-31738521?flat'}
2026-02-12 16:25:22,886 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24599241:ctest-vn-31738521 is found in opserver
2026-02-12 16:25:22,895 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 16:25:22,899 - DEBUG - VRF ids for VN ctest-vn-31738521: {}
2026-02-12 16:25:22,953 - DEBUG - Services list from nova: [