2026-02-16 14:28:58,396 - INFO - Domain Default found not creating
2026-02-16 14:28:58,544 - INFO - Project ctest-TestBasicPolicy-73945128 not found, creating it
2026-02-16 14:28:58,972 - INFO - Created Project:ctest-TestBasicPolicy-73945128, ID : 1830bbca-232c-4a3f-a979-46f2541f6e08
2026-02-16 14:29:00,473 - INFO - ================================================================================
2026-02-16 14:29:00,473 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-16 14:29:00,473 - 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 14:29:00,733 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with
2026-02-16 14:29:00,733 - INFO - Initial checks done. Running the testcase now
2026-02-16 14:29:00,733 - INFO -
2026-02-16 14:29:01,251 - DEBUG - Response for create_network : {'network': {'id': 'a9b9d852-9ee0-4a67-a294-437e73fe9467', 'name': 'ctest-vn-14162773', 'tenant_id': '1830bbca232c4a3fa97946f2541f6e08', 'project_id': '1830bbca232c4a3fa97946f2541f6e08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73945128', 'ctest-vn-14162773'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 14:29:01,434 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbc00f83-7dc1-4505-9393-1d10f42a40d9', 'name': '', 'tenant_id': '1830bbca232c4a3fa97946f2541f6e08', 'network_id': 'a9b9d852-9ee0-4a67-a294-437e73fe9467', 'ip_version': 4, 'cidr': '21.87.77.0/26', 'allocation_pools': [{'start': '21.87.77.2', 'end': '21.87.77.62'}], 'gateway_ip': '21.87.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.87.77.2', 'tags': [], 'project_id': '1830bbca232c4a3fa97946f2541f6e08'}}
2026-02-16 14:29:01,451 - INFO - Created VN ctest-vn-14162773
2026-02-16 14:29:01,507 - DEBUG - VN ctest-vn-14162773 UUID is a9b9d852-9ee0-4a67-a294-437e73fe9467
2026-02-16 14:29:01,840 - DEBUG - Response for create_network : {'network': {'id': 'a290f17c-7af7-4e15-8317-f156125a3667', 'name': 'ctest-vn-33485289', 'tenant_id': '1830bbca232c4a3fa97946f2541f6e08', 'project_id': '1830bbca232c4a3fa97946f2541f6e08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73945128', 'ctest-vn-33485289'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 14:29:02,042 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c4b350d-eda0-45f3-9c62-2f0a2d523ba3', 'name': '', 'tenant_id': '1830bbca232c4a3fa97946f2541f6e08', 'network_id': 'a290f17c-7af7-4e15-8317-f156125a3667', 'ip_version': 4, 'cidr': '75.137.23.128/26', 'allocation_pools': [{'start': '75.137.23.130', 'end': '75.137.23.190'}], 'gateway_ip': '75.137.23.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.137.23.130', 'tags': [], 'project_id': '1830bbca232c4a3fa97946f2541f6e08'}}
2026-02-16 14:29:02,057 - INFO - Created VN ctest-vn-33485289
2026-02-16 14:29:02,107 - DEBUG - VN ctest-vn-33485289 UUID is a290f17c-7af7-4e15-8317-f156125a3667
2026-02-16 14:29:02,247 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73945128:ctest-vn-14162773, 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-73945128:ctest-vn-33485289, 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 14:29:02,524 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a9b9d852-9ee0-4a67-a294-437e73fe9467', 'name': 'ctest-vn-14162773', 'tenant_id': '1830bbca232c4a3fa97946f2541f6e08', 'project_id': '1830bbca232c4a3fa97946f2541f6e08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fbc00f83-7dc1-4505-9393-1d10f42a40d9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73945128', 'ctest-vn-14162773'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73945128', 'ctest-policy-allow-all-89025481']], 'subnet_ipam': [{'subnet_cidr': '21.87.77.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-16 14:29:02,736 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a290f17c-7af7-4e15-8317-f156125a3667', 'name': 'ctest-vn-33485289', 'tenant_id': '1830bbca232c4a3fa97946f2541f6e08', 'project_id': '1830bbca232c4a3fa97946f2541f6e08', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0c4b350d-eda0-45f3-9c62-2f0a2d523ba3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73945128', 'ctest-vn-33485289'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73945128', 'ctest-policy-allow-all-89025481']], 'subnet_ipam': [{'subnet_cidr': '75.137.23.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-16 14:29:02,883 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-16 14:29:03,175 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-16 14:29:03,202 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7bcbe08c-9307-4caf-9f14-0ef09591ea4f
2026-02-16 14:29:03,212 - DEBUG - Requesting: http://10.0.0.33:8082/project/1830bbca-232c-4a3f-a979-46f2541f6e08
2026-02-16 14:29:03,288 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a9b9d852-9ee0-4a67-a294-437e73fe9467
2026-02-16 14:29:03,300 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a9b9d852-9ee0-4a67-a294-437e73fe9467
2026-02-16 14:29:03,308 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/46586227-12b4-4c12-915e-59a42963aacf
2026-02-16 14:29:03,315 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/46586227-12b4-4c12-915e-59a42963aacf
2026-02-16 14:29:03,321 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0443cca6-2281-49b7-83bd-a43383b1d6b4
2026-02-16 14:29:03,326 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-16 14:29:03,326 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a9b9d852-9ee0-4a67-a294-437e73fe9467
2026-02-16 14:29:03,333 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/46586227-12b4-4c12-915e-59a42963aacf
2026-02-16 14:29:03,346 - INFO - Verified VN network id 11 for VN a9b9d852-9ee0-4a67-a294-437e73fe9467
2026-02-16 14:29:03,346 - INFO - Verifications in API Server for VN ctest-vn-14162773 passed
2026-02-16 14:29:03,346 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a9b9d852-9ee0-4a67-a294-437e73fe9467
2026-02-16 14:29:03,353 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/46586227-12b4-4c12-915e-59a42963aacf
2026-02-16 14:29:03,359 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/46586227-12b4-4c12-915e-59a42963aacf
2026-02-16 14:29:03,365 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0443cca6-2281-49b7-83bd-a43383b1d6b4
2026-02-16 14:29:03,376 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73945128:ctest-vn-14162773', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73945128', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12230044112465709671', 'uuid-lslong': '11715062741088506983'}, 'enable': 'true', 'created': '2026-02-16T14:29:01', 'last-modified': '2026-02-16T14:29:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.870695'}
2026-02-16 14:29:03,381 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-16 14:29:03,383 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14162773 passed
2026-02-16 14:29:03,383 - DEBUG - ====Verifying policy data for ctest-vn-14162773 in API_Server ======
2026-02-16 14:29:03,383 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-16 14:29:03,388 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7bcbe08c-9307-4caf-9f14-0ef09591ea4f
2026-02-16 14:29:03,398 - DEBUG - Requesting: http://10.0.0.33:8082/project/1830bbca-232c-4a3f-a979-46f2541f6e08
2026-02-16 14:29:03,465 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a9b9d852-9ee0-4a67-a294-437e73fe9467
2026-02-16 14:29:03,473 - DEBUG - ==>Verifying data for policy with id: 2ce00bfa-a1b4-44eb-959f-c044ec3443e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-73945128', 'ctest-policy-allow-all-89025481']
2026-02-16 14:29:03,473 - INFO - VN ctest-vn-14162773 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-16 14:29:03,473 - DEBUG - Verifying the vn in opserver
2026-02-16 14:29:03,473 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73945128:ctest-vn-14162773 virtual network link through opserver 10.0.0.33
2026-02-16 14:29:03,474 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-16 14:29:03,764 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-16 14:29:03,818 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73945128:ctest-vn-14162773', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73945128:ctest-vn-14162773?flat'}
2026-02-16 14:29:03,818 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73945128:ctest-vn-14162773 is found in opserver
2026-02-16 14:29:03,827 - DEBUG - Do not have enough data to verify VN in agent
2026-02-16 14:29:03,831 - DEBUG - VRF ids for VN ctest-vn-14162773: {}
2026-02-16 14:29:03,831 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-16 14:29:03,836 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7bcbe08c-9307-4caf-9f14-0ef09591ea4f
2026-02-16 14:29:03,846 - DEBUG - Requesting: http://10.0.0.33:8082/project/1830bbca-232c-4a3f-a979-46f2541f6e08
2026-02-16 14:29:03,916 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a290f17c-7af7-4e15-8317-f156125a3667
2026-02-16 14:29:03,927 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a290f17c-7af7-4e15-8317-f156125a3667
2026-02-16 14:29:03,935 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0a545b73-065b-4018-93b8-2d669d6d8f08
2026-02-16 14:29:03,941 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0a545b73-065b-4018-93b8-2d669d6d8f08
2026-02-16 14:29:03,946 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0ca00012-ad1c-4b41-bdcc-752dec7f6e66
2026-02-16 14:29:03,952 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-16 14:29:03,953 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a290f17c-7af7-4e15-8317-f156125a3667
2026-02-16 14:29:03,960 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0a545b73-065b-4018-93b8-2d669d6d8f08
2026-02-16 14:29:03,972 - INFO - Verified VN network id 12 for VN a290f17c-7af7-4e15-8317-f156125a3667
2026-02-16 14:29:03,972 - INFO - Verifications in API Server for VN ctest-vn-33485289 passed
2026-02-16 14:29:03,972 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a290f17c-7af7-4e15-8317-f156125a3667
2026-02-16 14:29:03,980 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0a545b73-065b-4018-93b8-2d669d6d8f08
2026-02-16 14:29:03,985 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0a545b73-065b-4018-93b8-2d669d6d8f08
2026-02-16 14:29:03,990 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0ca00012-ad1c-4b41-bdcc-752dec7f6e66
2026-02-16 14:29:03,999 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73945128:ctest-vn-33485289', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73945128', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11714128147731926549', 'uuid-lslong': '9446284095410288231'}, 'enable': 'true', 'created': '2026-02-16T14:29:01', 'last-modified': '2026-02-16T14:29:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.281930'}
2026-02-16 14:29:04,004 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-16 14:29:04,004 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33485289 passed
2026-02-16 14:29:04,005 - DEBUG - ====Verifying policy data for ctest-vn-33485289 in API_Server ======
2026-02-16 14:29:04,005 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-16 14:29:04,009 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7bcbe08c-9307-4caf-9f14-0ef09591ea4f
2026-02-16 14:29:04,019 - DEBUG - Requesting: http://10.0.0.33:8082/project/1830bbca-232c-4a3f-a979-46f2541f6e08
2026-02-16 14:29:04,088 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a290f17c-7af7-4e15-8317-f156125a3667
2026-02-16 14:29:04,097 - DEBUG - ==>Verifying data for policy with id: 2ce00bfa-a1b4-44eb-959f-c044ec3443e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-73945128', 'ctest-policy-allow-all-89025481']
2026-02-16 14:29:04,097 - INFO - VN ctest-vn-33485289 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-16 14:29:04,097 - DEBUG - Verifying the vn in opserver
2026-02-16 14:29:04,097 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73945128:ctest-vn-33485289 virtual network link through opserver 10.0.0.33
2026-02-16 14:29:04,097 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-16 14:29:04,106 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73945128:ctest-vn-33485289', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73945128:ctest-vn-33485289?flat'}
2026-02-16 14:29:04,106 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73945128:ctest-vn-33485289 is found in opserver
2026-02-16 14:29:04,114 - DEBUG - Do not have enough data to verify VN in agent
2026-02-16 14:29:04,118 - DEBUG - VRF ids for VN ctest-vn-33485289: {}
2026-02-16 14:29:04,170 - DEBUG - Services list from nova: [