2026-04-02 12:59:21,183 - INFO - Domain Default found not creating
2026-04-02 12:59:21,347 - INFO - Project ctest-TestBasicPolicy-06811372 not found, creating it
2026-04-02 12:59:21,802 - INFO - Created Project:ctest-TestBasicPolicy-06811372, ID : 43ceb231-2088-41dc-934d-6c4124b7c6b6
2026-04-02 12:59:23,253 - INFO - ================================================================================
2026-04-02 12:59:23,254 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-04-02 12:59:23,254 - 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-04-02 12:59:23,509 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with
2026-04-02 12:59:23,509 - INFO - Initial checks done. Running the testcase now
2026-04-02 12:59:23,509 - INFO -
2026-04-02 12:59:24,095 - DEBUG - Response for create_network : {'network': {'id': '59eaac03-2bf9-4070-96a3-661c39914f33', 'name': 'ctest-vn-28368952', 'tenant_id': '43ceb231208841dc934d6c4124b7c6b6', 'project_id': '43ceb231208841dc934d6c4124b7c6b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06811372', 'ctest-vn-28368952'], 'port_security_enabled': True, 'description': ''}}
2026-04-02 12:59:24,303 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c52cc7d-eeef-4342-9f76-e51a0bfffd21', 'name': '', 'tenant_id': '43ceb231208841dc934d6c4124b7c6b6', 'network_id': '59eaac03-2bf9-4070-96a3-661c39914f33', 'ip_version': 4, 'cidr': '152.106.86.192/26', 'allocation_pools': [{'start': '152.106.86.194', 'end': '152.106.86.254'}], 'gateway_ip': '152.106.86.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.106.86.194', 'tags': [], 'project_id': '43ceb231208841dc934d6c4124b7c6b6'}}
2026-04-02 12:59:24,322 - INFO - Created VN ctest-vn-28368952
2026-04-02 12:59:24,375 - DEBUG - VN ctest-vn-28368952 UUID is 59eaac03-2bf9-4070-96a3-661c39914f33
2026-04-02 12:59:24,699 - DEBUG - Response for create_network : {'network': {'id': '90d3aa95-5622-479b-a590-864c84d313ac', 'name': 'ctest-vn-39525694', 'tenant_id': '43ceb231208841dc934d6c4124b7c6b6', 'project_id': '43ceb231208841dc934d6c4124b7c6b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06811372', 'ctest-vn-39525694'], 'port_security_enabled': True, 'description': ''}}
2026-04-02 12:59:24,906 - DEBUG - Response for create_subnet : {'subnet': {'id': '99002889-e590-4f21-be3f-318c82ca7f7b', 'name': '', 'tenant_id': '43ceb231208841dc934d6c4124b7c6b6', 'network_id': '90d3aa95-5622-479b-a590-864c84d313ac', 'ip_version': 4, 'cidr': '204.31.108.128/26', 'allocation_pools': [{'start': '204.31.108.130', 'end': '204.31.108.190'}], 'gateway_ip': '204.31.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.31.108.130', 'tags': [], 'project_id': '43ceb231208841dc934d6c4124b7c6b6'}}
2026-04-02 12:59:24,923 - INFO - Created VN ctest-vn-39525694
2026-04-02 12:59:24,975 - DEBUG - VN ctest-vn-39525694 UUID is 90d3aa95-5622-479b-a590-864c84d313ac
2026-04-02 12:59:25,127 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-28368952, 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-06811372:ctest-vn-39525694, 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-04-02 12:59:25,419 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '59eaac03-2bf9-4070-96a3-661c39914f33', 'name': 'ctest-vn-28368952', 'tenant_id': '43ceb231208841dc934d6c4124b7c6b6', 'project_id': '43ceb231208841dc934d6c4124b7c6b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5c52cc7d-eeef-4342-9f76-e51a0bfffd21'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06811372', 'ctest-vn-28368952'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06811372', 'ctest-policy-allow-all-10446350']], 'subnet_ipam': [{'subnet_cidr': '152.106.86.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-02 12:59:25,645 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '90d3aa95-5622-479b-a590-864c84d313ac', 'name': 'ctest-vn-39525694', 'tenant_id': '43ceb231208841dc934d6c4124b7c6b6', 'project_id': '43ceb231208841dc934d6c4124b7c6b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['99002889-e590-4f21-be3f-318c82ca7f7b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06811372', 'ctest-vn-39525694'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06811372', 'ctest-policy-allow-all-10446350']], 'subnet_ipam': [{'subnet_cidr': '204.31.108.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-02 12:59:25,803 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-04-02 12:59:26,103 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-04-02 12:59:26,140 - DEBUG - Requesting: http://10.0.0.33:8082/domain/95f1b365-d4cc-4bf0-97dc-f2583afcb290
2026-04-02 12:59:26,152 - DEBUG - Requesting: http://10.0.0.33:8082/project/43ceb231-2088-41dc-934d-6c4124b7c6b6
2026-04-02 12:59:26,228 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/59eaac03-2bf9-4070-96a3-661c39914f33
2026-04-02 12:59:26,238 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/59eaac03-2bf9-4070-96a3-661c39914f33
2026-04-02 12:59:26,248 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c00ef52e-771a-4f87-af93-c7db7f9a00b6
2026-04-02 12:59:26,256 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c00ef52e-771a-4f87-af93-c7db7f9a00b6
2026-04-02 12:59:26,263 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/bc90a218-89a3-4153-a193-16c0c8a5ab98
2026-04-02 12:59:26,270 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-02 12:59:26,270 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/59eaac03-2bf9-4070-96a3-661c39914f33
2026-04-02 12:59:26,279 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c00ef52e-771a-4f87-af93-c7db7f9a00b6
2026-04-02 12:59:26,294 - INFO - Verified VN network id 11 for VN 59eaac03-2bf9-4070-96a3-661c39914f33
2026-04-02 12:59:26,294 - INFO - Verifications in API Server for VN ctest-vn-28368952 passed
2026-04-02 12:59:26,294 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/59eaac03-2bf9-4070-96a3-661c39914f33
2026-04-02 12:59:26,303 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c00ef52e-771a-4f87-af93-c7db7f9a00b6
2026-04-02 12:59:26,310 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c00ef52e-771a-4f87-af93-c7db7f9a00b6
2026-04-02 12:59:26,317 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/bc90a218-89a3-4153-a193-16c0c8a5ab98
2026-04-02 12:59:26,329 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-28368952', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06811372', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6479180143548514416', 'uuid-lslong': '10854631798303969075'}, 'enable': 'true', 'created': '2026-04-02T12:59:24', 'last-modified': '2026-04-02T12:59:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.931853'}
2026-04-02 12:59:26,335 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-02 12:59:26,335 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28368952 passed
2026-04-02 12:59:26,335 - DEBUG - ====Verifying policy data for ctest-vn-28368952 in API_Server ======
2026-04-02 12:59:26,335 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-04-02 12:59:26,341 - DEBUG - Requesting: http://10.0.0.33:8082/domain/95f1b365-d4cc-4bf0-97dc-f2583afcb290
2026-04-02 12:59:26,352 - DEBUG - Requesting: http://10.0.0.33:8082/project/43ceb231-2088-41dc-934d-6c4124b7c6b6
2026-04-02 12:59:26,425 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/59eaac03-2bf9-4070-96a3-661c39914f33
2026-04-02 12:59:26,434 - DEBUG - ==>Verifying data for policy with id: 9bfb6bb1-86cd-4e8c-b7dd-7b804291ed5c, fqn: ['default-domain', 'ctest-TestBasicPolicy-06811372', 'ctest-policy-allow-all-10446350']
2026-04-02 12:59:26,434 - INFO - VN ctest-vn-28368952 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-02 12:59:26,434 - DEBUG - Verifying the vn in opserver
2026-04-02 12:59:26,434 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-28368952 virtual network link through opserver 10.0.0.33
2026-04-02 12:59:26,434 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-04-02 12:59:26,733 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-04-02 12:59:26,799 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-28368952', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-28368952?flat'}
2026-04-02 12:59:26,799 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-28368952 is found in opserver
2026-04-02 12:59:26,808 - DEBUG - Do not have enough data to verify VN in agent
2026-04-02 12:59:26,812 - DEBUG - VRF ids for VN ctest-vn-28368952: {}
2026-04-02 12:59:26,812 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-04-02 12:59:26,817 - DEBUG - Requesting: http://10.0.0.33:8082/domain/95f1b365-d4cc-4bf0-97dc-f2583afcb290
2026-04-02 12:59:26,827 - DEBUG - Requesting: http://10.0.0.33:8082/project/43ceb231-2088-41dc-934d-6c4124b7c6b6
2026-04-02 12:59:26,899 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/90d3aa95-5622-479b-a590-864c84d313ac
2026-04-02 12:59:26,910 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/90d3aa95-5622-479b-a590-864c84d313ac
2026-04-02 12:59:26,920 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/982da4ab-9577-47e0-a5f0-a0b5a6eec5bf
2026-04-02 12:59:26,928 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/982da4ab-9577-47e0-a5f0-a0b5a6eec5bf
2026-04-02 12:59:26,935 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/02fe4972-27ce-4364-9cb9-4db788a9e46a
2026-04-02 12:59:26,943 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-02 12:59:26,943 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/90d3aa95-5622-479b-a590-864c84d313ac
2026-04-02 12:59:26,952 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/982da4ab-9577-47e0-a5f0-a0b5a6eec5bf
2026-04-02 12:59:26,966 - INFO - Verified VN network id 12 for VN 90d3aa95-5622-479b-a590-864c84d313ac
2026-04-02 12:59:26,966 - INFO - Verifications in API Server for VN ctest-vn-39525694 passed
2026-04-02 12:59:26,966 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/90d3aa95-5622-479b-a590-864c84d313ac
2026-04-02 12:59:26,975 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/982da4ab-9577-47e0-a5f0-a0b5a6eec5bf
2026-04-02 12:59:26,982 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/982da4ab-9577-47e0-a5f0-a0b5a6eec5bf
2026-04-02 12:59:26,989 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/02fe4972-27ce-4364-9cb9-4db788a9e46a
2026-04-02 12:59:27,002 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-39525694', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06811372', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10435872319919507355', 'uuid-lslong': '11930183076108506028'}, 'enable': 'true', 'created': '2026-04-02T12:59:24', 'last-modified': '2026-04-02T12:59:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.375294'}
2026-04-02 12:59:27,007 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-02 12:59:27,008 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39525694 passed
2026-04-02 12:59:27,008 - DEBUG - ====Verifying policy data for ctest-vn-39525694 in API_Server ======
2026-04-02 12:59:27,008 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-04-02 12:59:27,013 - DEBUG - Requesting: http://10.0.0.33:8082/domain/95f1b365-d4cc-4bf0-97dc-f2583afcb290
2026-04-02 12:59:27,025 - DEBUG - Requesting: http://10.0.0.33:8082/project/43ceb231-2088-41dc-934d-6c4124b7c6b6
2026-04-02 12:59:27,095 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/90d3aa95-5622-479b-a590-864c84d313ac
2026-04-02 12:59:27,103 - DEBUG - ==>Verifying data for policy with id: 9bfb6bb1-86cd-4e8c-b7dd-7b804291ed5c, fqn: ['default-domain', 'ctest-TestBasicPolicy-06811372', 'ctest-policy-allow-all-10446350']
2026-04-02 12:59:27,103 - INFO - VN ctest-vn-39525694 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-02 12:59:27,104 - DEBUG - Verifying the vn in opserver
2026-04-02 12:59:27,104 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-39525694 virtual network link through opserver 10.0.0.33
2026-04-02 12:59:27,104 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-04-02 12:59:27,112 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-39525694', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-39525694?flat'}
2026-04-02 12:59:27,113 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06811372:ctest-vn-39525694 is found in opserver
2026-04-02 12:59:27,122 - DEBUG - Do not have enough data to verify VN in agent
2026-04-02 12:59:27,126 - DEBUG - VRF ids for VN ctest-vn-39525694: {}
2026-04-02 12:59:27,182 - DEBUG - Services list from nova: [