2026-03-23 02:01:06,257 - INFO - Domain Default found not creating
2026-03-23 02:01:06,440 - INFO - Project ctest-TestBasicPolicy-90200023 not found, creating it
2026-03-23 02:01:06,891 - INFO - Created Project:ctest-TestBasicPolicy-90200023, ID : 925af656-10e2-43dc-9257-c391f68287a6
2026-03-23 02:01:08,309 - INFO - ================================================================================
2026-03-23 02:01:08,309 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-23 02:01:08,309 - 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-03-23 02:01:08,566 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-03-23 02:01:08,566 - INFO - Initial checks done. Running the testcase now
2026-03-23 02:01:08,566 - INFO -
2026-03-23 02:01:09,116 - DEBUG - Response for create_network : {'network': {'id': '4424db15-79ec-434e-967b-69db13a7928c', 'name': 'ctest-vn-69229943', 'tenant_id': '925af65610e243dc9257c391f68287a6', 'project_id': '925af65610e243dc9257c391f68287a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90200023', 'ctest-vn-69229943'], 'port_security_enabled': True, 'description': ''}}
2026-03-23 02:01:09,284 - DEBUG - Response for create_subnet : {'subnet': {'id': '8256f1d5-a743-4885-a5e7-d77ffbfee0f1', 'name': '', 'tenant_id': '925af65610e243dc9257c391f68287a6', 'network_id': '4424db15-79ec-434e-967b-69db13a7928c', 'ip_version': 4, 'cidr': '74.72.218.192/26', 'allocation_pools': [{'start': '74.72.218.194', 'end': '74.72.218.254'}], 'gateway_ip': '74.72.218.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.72.218.194', 'tags': [], 'project_id': '925af65610e243dc9257c391f68287a6'}}
2026-03-23 02:01:09,300 - INFO - Created VN ctest-vn-69229943
2026-03-23 02:01:09,352 - DEBUG - VN ctest-vn-69229943 UUID is 4424db15-79ec-434e-967b-69db13a7928c
2026-03-23 02:01:09,666 - DEBUG - Response for create_network : {'network': {'id': '8c14b444-550d-4529-9354-2b8c4d2e9c68', 'name': 'ctest-vn-22790382', 'tenant_id': '925af65610e243dc9257c391f68287a6', 'project_id': '925af65610e243dc9257c391f68287a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90200023', 'ctest-vn-22790382'], 'port_security_enabled': True, 'description': ''}}
2026-03-23 02:01:09,813 - DEBUG - Response for create_subnet : {'subnet': {'id': '40e324bb-97ce-4100-88e0-448eeae0d637', 'name': '', 'tenant_id': '925af65610e243dc9257c391f68287a6', 'network_id': '8c14b444-550d-4529-9354-2b8c4d2e9c68', 'ip_version': 4, 'cidr': '35.16.10.192/26', 'allocation_pools': [{'start': '35.16.10.194', 'end': '35.16.10.254'}], 'gateway_ip': '35.16.10.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.16.10.194', 'tags': [], 'project_id': '925af65610e243dc9257c391f68287a6'}}
2026-03-23 02:01:09,832 - INFO - Created VN ctest-vn-22790382
2026-03-23 02:01:09,884 - DEBUG - VN ctest-vn-22790382 UUID is 8c14b444-550d-4529-9354-2b8c4d2e9c68
2026-03-23 02:01:10,002 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90200023:ctest-vn-69229943, 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-90200023:ctest-vn-22790382, 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-03-23 02:01:10,342 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4424db15-79ec-434e-967b-69db13a7928c', 'name': 'ctest-vn-69229943', 'tenant_id': '925af65610e243dc9257c391f68287a6', 'project_id': '925af65610e243dc9257c391f68287a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8256f1d5-a743-4885-a5e7-d77ffbfee0f1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90200023', 'ctest-vn-69229943'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90200023', 'ctest-policy-allow-all-82106743']], 'subnet_ipam': [{'subnet_cidr': '74.72.218.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-23 02:01:10,569 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8c14b444-550d-4529-9354-2b8c4d2e9c68', 'name': 'ctest-vn-22790382', 'tenant_id': '925af65610e243dc9257c391f68287a6', 'project_id': '925af65610e243dc9257c391f68287a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['40e324bb-97ce-4100-88e0-448eeae0d637'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90200023', 'ctest-vn-22790382'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90200023', 'ctest-policy-allow-all-82106743']], 'subnet_ipam': [{'subnet_cidr': '35.16.10.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-23 02:01:10,712 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-23 02:01:11,009 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-23 02:01:11,047 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6e20ab88-e9c6-4558-b109-7f218696be1e
2026-03-23 02:01:11,058 - DEBUG - Requesting: http://10.0.0.22:8082/project/925af656-10e2-43dc-9257-c391f68287a6
2026-03-23 02:01:11,130 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4424db15-79ec-434e-967b-69db13a7928c
2026-03-23 02:01:11,140 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4424db15-79ec-434e-967b-69db13a7928c
2026-03-23 02:01:11,149 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/06159879-797d-42b5-a139-fcb6112421ad
2026-03-23 02:01:11,156 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/06159879-797d-42b5-a139-fcb6112421ad
2026-03-23 02:01:11,162 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ea7dcbf8-9923-4326-976e-867761d7001a
2026-03-23 02:01:11,169 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-23 02:01:11,169 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4424db15-79ec-434e-967b-69db13a7928c
2026-03-23 02:01:11,178 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/06159879-797d-42b5-a139-fcb6112421ad
2026-03-23 02:01:11,194 - INFO - Verified VN network id 12 for VN 4424db15-79ec-434e-967b-69db13a7928c
2026-03-23 02:01:11,194 - INFO - Verifications in API Server for VN ctest-vn-69229943 passed
2026-03-23 02:01:11,194 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4424db15-79ec-434e-967b-69db13a7928c
2026-03-23 02:01:11,204 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/06159879-797d-42b5-a139-fcb6112421ad
2026-03-23 02:01:11,210 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/06159879-797d-42b5-a139-fcb6112421ad
2026-03-23 02:01:11,216 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ea7dcbf8-9923-4326-976e-867761d7001a
2026-03-23 02:01:11,227 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90200023:ctest-vn-69229943', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90200023', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4910290379027006286', 'uuid-lslong': '10843376917473104524'}, 'enable': 'true', 'created': '2026-03-23T02:01:09', 'last-modified': '2026-03-23T02:01:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.923743'}
2026-03-23 02:01:11,233 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-23 02:01:11,233 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69229943 passed
2026-03-23 02:01:11,233 - DEBUG - ====Verifying policy data for ctest-vn-69229943 in API_Server ======
2026-03-23 02:01:11,233 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-23 02:01:11,238 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6e20ab88-e9c6-4558-b109-7f218696be1e
2026-03-23 02:01:11,247 - DEBUG - Requesting: http://10.0.0.22:8082/project/925af656-10e2-43dc-9257-c391f68287a6
2026-03-23 02:01:11,316 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/4424db15-79ec-434e-967b-69db13a7928c
2026-03-23 02:01:11,324 - DEBUG - ==>Verifying data for policy with id: 79582361-c9df-4343-8bee-03fb0a247d07, fqn: ['default-domain', 'ctest-TestBasicPolicy-90200023', 'ctest-policy-allow-all-82106743']
2026-03-23 02:01:11,324 - INFO - VN ctest-vn-69229943 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-23 02:01:11,324 - DEBUG - Verifying the vn in opserver
2026-03-23 02:01:11,325 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90200023:ctest-vn-69229943 virtual network link through opserver 10.0.0.22
2026-03-23 02:01:11,325 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-03-23 02:01:11,617 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-03-23 02:01:11,677 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90200023:ctest-vn-69229943', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90200023:ctest-vn-69229943?flat'}
2026-03-23 02:01:11,677 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90200023:ctest-vn-69229943 is found in opserver
2026-03-23 02:01:11,685 - DEBUG - Do not have enough data to verify VN in agent
2026-03-23 02:01:11,689 - DEBUG - VRF ids for VN ctest-vn-69229943: {}
2026-03-23 02:01:11,689 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-23 02:01:11,694 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6e20ab88-e9c6-4558-b109-7f218696be1e
2026-03-23 02:01:11,704 - DEBUG - Requesting: http://10.0.0.22:8082/project/925af656-10e2-43dc-9257-c391f68287a6
2026-03-23 02:01:11,775 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8c14b444-550d-4529-9354-2b8c4d2e9c68
2026-03-23 02:01:11,787 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8c14b444-550d-4529-9354-2b8c4d2e9c68
2026-03-23 02:01:11,795 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8c30343a-3028-41c1-834e-7e88ff86b80f
2026-03-23 02:01:11,801 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8c30343a-3028-41c1-834e-7e88ff86b80f
2026-03-23 02:01:11,807 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1ecd54b9-9fe6-459b-b29c-147e45916c05
2026-03-23 02:01:11,813 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-23 02:01:11,814 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8c14b444-550d-4529-9354-2b8c4d2e9c68
2026-03-23 02:01:11,823 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8c30343a-3028-41c1-834e-7e88ff86b80f
2026-03-23 02:01:11,836 - INFO - Verified VN network id 13 for VN 8c14b444-550d-4529-9354-2b8c4d2e9c68
2026-03-23 02:01:11,836 - INFO - Verifications in API Server for VN ctest-vn-22790382 passed
2026-03-23 02:01:11,836 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8c14b444-550d-4529-9354-2b8c4d2e9c68
2026-03-23 02:01:11,844 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8c30343a-3028-41c1-834e-7e88ff86b80f
2026-03-23 02:01:11,850 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8c30343a-3028-41c1-834e-7e88ff86b80f
2026-03-23 02:01:11,856 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/1ecd54b9-9fe6-459b-b29c-147e45916c05
2026-03-23 02:01:11,868 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90200023:ctest-vn-22790382', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90200023', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10093890870421833001', 'uuid-lslong': '10616158103209417832'}, 'enable': 'true', 'created': '2026-03-23T02:01:09', 'last-modified': '2026-03-23T02:01:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.318161'}
2026-03-23 02:01:11,875 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-23 02:01:11,875 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22790382 passed
2026-03-23 02:01:11,875 - DEBUG - ====Verifying policy data for ctest-vn-22790382 in API_Server ======
2026-03-23 02:01:11,875 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-23 02:01:11,880 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6e20ab88-e9c6-4558-b109-7f218696be1e
2026-03-23 02:01:11,891 - DEBUG - Requesting: http://10.0.0.22:8082/project/925af656-10e2-43dc-9257-c391f68287a6
2026-03-23 02:01:11,963 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/8c14b444-550d-4529-9354-2b8c4d2e9c68
2026-03-23 02:01:11,972 - DEBUG - ==>Verifying data for policy with id: 79582361-c9df-4343-8bee-03fb0a247d07, fqn: ['default-domain', 'ctest-TestBasicPolicy-90200023', 'ctest-policy-allow-all-82106743']
2026-03-23 02:01:11,972 - INFO - VN ctest-vn-22790382 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-23 02:01:11,972 - DEBUG - Verifying the vn in opserver
2026-03-23 02:01:11,972 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90200023:ctest-vn-22790382 virtual network link through opserver 10.0.0.22
2026-03-23 02:01:11,972 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-03-23 02:01:11,983 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90200023:ctest-vn-22790382', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90200023:ctest-vn-22790382?flat'}
2026-03-23 02:01:11,983 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90200023:ctest-vn-22790382 is found in opserver
2026-03-23 02:01:11,993 - DEBUG - Do not have enough data to verify VN in agent
2026-03-23 02:01:11,997 - DEBUG - VRF ids for VN ctest-vn-22790382: {}
2026-03-23 02:01:12,052 - DEBUG - Services list from nova: [