2026-11-08 21:09:13,508 - INFO - Domain Default found not creating
2026-11-08 21:09:13,703 - INFO - Project ctest-TestBasicPolicy-96830693 not found, creating it
2026-11-08 21:09:14,219 - INFO - Created Project:ctest-TestBasicPolicy-96830693, ID : 88357426-0687-4b0c-9cff-f68981f1ec00
2026-11-08 21:09:15,971 - INFO - ================================================================================
2026-11-08 21:09:15,972 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-08 21:09:15,972 - 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-11-08 21:09:16,242 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with
2026-11-08 21:09:16,242 - INFO - Initial checks done. Running the testcase now
2026-11-08 21:09:16,242 - INFO -
2026-11-08 21:09:16,871 - DEBUG - Response for create_network : {'network': {'id': '9efdccf1-381e-4a64-b881-de4f485bdc7c', 'name': 'ctest-vn-20754581', 'tenant_id': '8835742606874b0c9cfff68981f1ec00', 'project_id': '8835742606874b0c9cfff68981f1ec00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96830693', 'ctest-vn-20754581'], 'port_security_enabled': True, 'description': ''}}
2026-11-08 21:09:17,032 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e213957-c469-4965-8480-f810b1ff75fb', 'name': '', 'tenant_id': '8835742606874b0c9cfff68981f1ec00', 'network_id': '9efdccf1-381e-4a64-b881-de4f485bdc7c', 'ip_version': 4, 'cidr': '24.34.186.64/26', 'allocation_pools': [{'start': '24.34.186.66', 'end': '24.34.186.126'}], 'gateway_ip': '24.34.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.34.186.66', 'tags': [], 'project_id': '8835742606874b0c9cfff68981f1ec00'}}
2026-11-08 21:09:17,051 - INFO - Created VN ctest-vn-20754581
2026-11-08 21:09:17,102 - DEBUG - VN ctest-vn-20754581 UUID is 9efdccf1-381e-4a64-b881-de4f485bdc7c
2026-11-08 21:09:17,393 - DEBUG - Response for create_network : {'network': {'id': '76e18629-58a7-40ed-9b36-11bf82e54152', 'name': 'ctest-vn-99331896', 'tenant_id': '8835742606874b0c9cfff68981f1ec00', 'project_id': '8835742606874b0c9cfff68981f1ec00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96830693', 'ctest-vn-99331896'], 'port_security_enabled': True, 'description': ''}}
2026-11-08 21:09:17,612 - DEBUG - Response for create_subnet : {'subnet': {'id': '0834a6de-e4d4-4709-bf62-80875938977b', 'name': '', 'tenant_id': '8835742606874b0c9cfff68981f1ec00', 'network_id': '76e18629-58a7-40ed-9b36-11bf82e54152', 'ip_version': 4, 'cidr': '115.215.133.128/26', 'allocation_pools': [{'start': '115.215.133.130', 'end': '115.215.133.190'}], 'gateway_ip': '115.215.133.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.215.133.130', 'tags': [], 'project_id': '8835742606874b0c9cfff68981f1ec00'}}
2026-11-08 21:09:17,632 - INFO - Created VN ctest-vn-99331896
2026-11-08 21:09:17,686 - DEBUG - VN ctest-vn-99331896 UUID is 76e18629-58a7-40ed-9b36-11bf82e54152
2026-11-08 21:09:17,806 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-20754581, 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-96830693:ctest-vn-99331896, 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-11-08 21:09:18,111 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9efdccf1-381e-4a64-b881-de4f485bdc7c', 'name': 'ctest-vn-20754581', 'tenant_id': '8835742606874b0c9cfff68981f1ec00', 'project_id': '8835742606874b0c9cfff68981f1ec00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9e213957-c469-4965-8480-f810b1ff75fb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96830693', 'ctest-vn-20754581'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96830693', 'ctest-policy-allow-all-29739200']], 'subnet_ipam': [{'subnet_cidr': '24.34.186.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-08 21:09:18,348 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '76e18629-58a7-40ed-9b36-11bf82e54152', 'name': 'ctest-vn-99331896', 'tenant_id': '8835742606874b0c9cfff68981f1ec00', 'project_id': '8835742606874b0c9cfff68981f1ec00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0834a6de-e4d4-4709-bf62-80875938977b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96830693', 'ctest-vn-99331896'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96830693', 'ctest-policy-allow-all-29739200']], 'subnet_ipam': [{'subnet_cidr': '115.215.133.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-08 21:09:18,522 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-11-08 21:09:18,914 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-11-08 21:09:18,947 - DEBUG - Requesting: http://10.0.0.185:8082/domain/0448e5a9-7a6a-4f45-912f-ee98dbea47f3
2026-11-08 21:09:18,960 - DEBUG - Requesting: http://10.0.0.185:8082/project/88357426-0687-4b0c-9cff-f68981f1ec00
2026-11-08 21:09:19,032 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/9efdccf1-381e-4a64-b881-de4f485bdc7c
2026-11-08 21:09:19,045 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/9efdccf1-381e-4a64-b881-de4f485bdc7c
2026-11-08 21:09:19,055 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9e430ecb-0ec0-4576-b765-0c7e598efa57
2026-11-08 21:09:19,064 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9e430ecb-0ec0-4576-b765-0c7e598efa57
2026-11-08 21:09:19,071 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/e1268c19-37c7-4af5-9209-b2a161a51994
2026-11-08 21:09:19,078 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-08 21:09:19,078 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/9efdccf1-381e-4a64-b881-de4f485bdc7c
2026-11-08 21:09:19,088 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9e430ecb-0ec0-4576-b765-0c7e598efa57
2026-11-08 21:09:19,103 - INFO - Verified VN network id 12 for VN 9efdccf1-381e-4a64-b881-de4f485bdc7c
2026-11-08 21:09:19,104 - INFO - Verifications in API Server for VN ctest-vn-20754581 passed
2026-11-08 21:09:19,104 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/9efdccf1-381e-4a64-b881-de4f485bdc7c
2026-11-08 21:09:19,115 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9e430ecb-0ec0-4576-b765-0c7e598efa57
2026-11-08 21:09:19,122 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9e430ecb-0ec0-4576-b765-0c7e598efa57
2026-11-08 21:09:19,131 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/e1268c19-37c7-4af5-9209-b2a161a51994
2026-11-08 21:09:19,145 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-20754581', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96830693', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11456538363501103716', 'uuid-lslong': '13295152007072177276'}, 'enable': 'true', 'created': '2026-11-08T21:09:16', 'last-modified': '2026-11-08T21:09:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.055262'}
2026-11-08 21:09:19,153 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-08 21:09:19,153 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20754581 passed
2026-11-08 21:09:19,153 - DEBUG - ====Verifying policy data for ctest-vn-20754581 in API_Server ======
2026-11-08 21:09:19,154 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-11-08 21:09:19,159 - DEBUG - Requesting: http://10.0.0.185:8082/domain/0448e5a9-7a6a-4f45-912f-ee98dbea47f3
2026-11-08 21:09:19,172 - DEBUG - Requesting: http://10.0.0.185:8082/project/88357426-0687-4b0c-9cff-f68981f1ec00
2026-11-08 21:09:19,247 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/9efdccf1-381e-4a64-b881-de4f485bdc7c
2026-11-08 21:09:19,258 - DEBUG - ==>Verifying data for policy with id: a8b4e1b4-0785-44d8-a88d-44853093e2a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-96830693', 'ctest-policy-allow-all-29739200']
2026-11-08 21:09:19,258 - INFO - VN ctest-vn-20754581 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-08 21:09:19,258 - DEBUG - Verifying the vn in opserver
2026-11-08 21:09:19,258 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-20754581 virtual network link through opserver 10.0.0.185
2026-11-08 21:09:19,259 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-11-08 21:09:19,629 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-11-08 21:09:19,689 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-20754581', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-20754581?flat'}
2026-11-08 21:09:19,689 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-20754581 is found in opserver
2026-11-08 21:09:19,701 - DEBUG - Do not have enough data to verify VN in agent
2026-11-08 21:09:19,706 - DEBUG - VRF ids for VN ctest-vn-20754581: {}
2026-11-08 21:09:19,706 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-11-08 21:09:19,712 - DEBUG - Requesting: http://10.0.0.185:8082/domain/0448e5a9-7a6a-4f45-912f-ee98dbea47f3
2026-11-08 21:09:19,723 - DEBUG - Requesting: http://10.0.0.185:8082/project/88357426-0687-4b0c-9cff-f68981f1ec00
2026-11-08 21:09:19,794 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/76e18629-58a7-40ed-9b36-11bf82e54152
2026-11-08 21:09:19,807 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/76e18629-58a7-40ed-9b36-11bf82e54152
2026-11-08 21:09:19,820 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/0eed6be7-2b62-429f-8271-cda716494302
2026-11-08 21:09:19,829 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/0eed6be7-2b62-429f-8271-cda716494302
2026-11-08 21:09:19,837 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/602464da-ef15-4e3d-bded-364953628dac
2026-11-08 21:09:19,843 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-08 21:09:19,843 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/76e18629-58a7-40ed-9b36-11bf82e54152
2026-11-08 21:09:19,853 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/0eed6be7-2b62-429f-8271-cda716494302
2026-11-08 21:09:19,869 - INFO - Verified VN network id 13 for VN 76e18629-58a7-40ed-9b36-11bf82e54152
2026-11-08 21:09:19,869 - INFO - Verifications in API Server for VN ctest-vn-99331896 passed
2026-11-08 21:09:19,869 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/76e18629-58a7-40ed-9b36-11bf82e54152
2026-11-08 21:09:19,879 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/0eed6be7-2b62-429f-8271-cda716494302
2026-11-08 21:09:19,886 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/0eed6be7-2b62-429f-8271-cda716494302
2026-11-08 21:09:19,894 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/602464da-ef15-4e3d-bded-364953628dac
2026-11-08 21:09:19,908 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-99331896', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96830693', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8566275478374531309', 'uuid-lslong': '11184146238853693778'}, 'enable': 'true', 'created': '2026-11-08T21:09:17', 'last-modified': '2026-11-08T21:09:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.582462'}
2026-11-08 21:09:19,917 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-08 21:09:19,917 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99331896 passed
2026-11-08 21:09:19,917 - DEBUG - ====Verifying policy data for ctest-vn-99331896 in API_Server ======
2026-11-08 21:09:19,917 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-11-08 21:09:19,923 - DEBUG - Requesting: http://10.0.0.185:8082/domain/0448e5a9-7a6a-4f45-912f-ee98dbea47f3
2026-11-08 21:09:19,936 - DEBUG - Requesting: http://10.0.0.185:8082/project/88357426-0687-4b0c-9cff-f68981f1ec00
2026-11-08 21:09:20,008 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/76e18629-58a7-40ed-9b36-11bf82e54152
2026-11-08 21:09:20,020 - DEBUG - ==>Verifying data for policy with id: a8b4e1b4-0785-44d8-a88d-44853093e2a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-96830693', 'ctest-policy-allow-all-29739200']
2026-11-08 21:09:20,020 - INFO - VN ctest-vn-99331896 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-08 21:09:20,020 - DEBUG - Verifying the vn in opserver
2026-11-08 21:09:20,020 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-99331896 virtual network link through opserver 10.0.0.185
2026-11-08 21:09:20,020 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-11-08 21:09:20,031 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-99331896', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-99331896?flat'}
2026-11-08 21:09:20,031 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-99331896 is found in opserver
2026-11-08 21:09:20,043 - DEBUG - Do not have enough data to verify VN in agent
2026-11-08 21:09:20,049 - DEBUG - VRF ids for VN ctest-vn-99331896: {}
2026-11-08 21:09:20,115 - DEBUG - Services list from nova: [