2026-09-03 16:51:20,276 - INFO - Domain Default found not creating
2026-09-03 16:51:20,487 - INFO - Project ctest-TestBasicPolicy-10806641 not found, creating it
2026-09-03 16:51:21,021 - INFO - Created Project:ctest-TestBasicPolicy-10806641, ID : 2afd5bfc-ff11-4f9d-aa49-9cb75920a182
2026-09-03 16:51:22,899 - INFO - ================================================================================
2026-09-03 16:51:22,899 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-03 16:51:22,899 - 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-09-03 16:51:23,180 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with
2026-09-03 16:51:23,180 - INFO - Initial checks done. Running the testcase now
2026-09-03 16:51:23,180 - INFO -
2026-09-03 16:51:23,877 - DEBUG - Response for create_network : {'network': {'id': '8e357966-5f0a-4289-b6e3-96a018b8449e', 'name': 'ctest-vn-68347960', 'tenant_id': '2afd5bfcff114f9daa499cb75920a182', 'project_id': '2afd5bfcff114f9daa499cb75920a182', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10806641', 'ctest-vn-68347960'], 'port_security_enabled': True, 'description': ''}}
2026-09-03 16:51:24,150 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ec92153-c82c-4ce6-a0bf-c5b458d512d4', 'name': '', 'tenant_id': '2afd5bfcff114f9daa499cb75920a182', 'network_id': '8e357966-5f0a-4289-b6e3-96a018b8449e', 'ip_version': 4, 'cidr': '69.92.38.128/26', 'allocation_pools': [{'start': '69.92.38.130', 'end': '69.92.38.190'}], 'gateway_ip': '69.92.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.92.38.130', 'tags': [], 'project_id': '2afd5bfcff114f9daa499cb75920a182'}}
2026-09-03 16:51:24,169 - INFO - Created VN ctest-vn-68347960
2026-09-03 16:51:24,226 - DEBUG - VN ctest-vn-68347960 UUID is 8e357966-5f0a-4289-b6e3-96a018b8449e
2026-09-03 16:51:24,589 - DEBUG - Response for create_network : {'network': {'id': 'f06196e7-3246-4bb6-8bc9-06400dcaa9a7', 'name': 'ctest-vn-99333094', 'tenant_id': '2afd5bfcff114f9daa499cb75920a182', 'project_id': '2afd5bfcff114f9daa499cb75920a182', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10806641', 'ctest-vn-99333094'], 'port_security_enabled': True, 'description': ''}}
2026-09-03 16:51:24,836 - DEBUG - Response for create_subnet : {'subnet': {'id': '0dfc7aa2-0655-43db-a85b-e6d2f4e4d0ca', 'name': '', 'tenant_id': '2afd5bfcff114f9daa499cb75920a182', 'network_id': 'f06196e7-3246-4bb6-8bc9-06400dcaa9a7', 'ip_version': 4, 'cidr': '35.94.7.64/26', 'allocation_pools': [{'start': '35.94.7.66', 'end': '35.94.7.126'}], 'gateway_ip': '35.94.7.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.94.7.66', 'tags': [], 'project_id': '2afd5bfcff114f9daa499cb75920a182'}}
2026-09-03 16:51:24,856 - INFO - Created VN ctest-vn-99333094
2026-09-03 16:51:24,910 - DEBUG - VN ctest-vn-99333094 UUID is f06196e7-3246-4bb6-8bc9-06400dcaa9a7
2026-09-03 16:51:25,052 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-68347960, 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-10806641:ctest-vn-99333094, 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-09-03 16:51:25,405 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8e357966-5f0a-4289-b6e3-96a018b8449e', 'name': 'ctest-vn-68347960', 'tenant_id': '2afd5bfcff114f9daa499cb75920a182', 'project_id': '2afd5bfcff114f9daa499cb75920a182', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['8ec92153-c82c-4ce6-a0bf-c5b458d512d4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10806641', 'ctest-vn-68347960'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10806641', 'ctest-policy-allow-all-38451106']], 'subnet_ipam': [{'subnet_cidr': '69.92.38.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-03 16:51:25,690 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f06196e7-3246-4bb6-8bc9-06400dcaa9a7', 'name': 'ctest-vn-99333094', 'tenant_id': '2afd5bfcff114f9daa499cb75920a182', 'project_id': '2afd5bfcff114f9daa499cb75920a182', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0dfc7aa2-0655-43db-a85b-e6d2f4e4d0ca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10806641', 'ctest-vn-99333094'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10806641', 'ctest-policy-allow-all-38451106']], 'subnet_ipam': [{'subnet_cidr': '35.94.7.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-03 16:51:25,874 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-03 16:51:26,258 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-03 16:51:26,291 - DEBUG - Requesting: http://10.0.0.189:8082/domain/923b318e-a07f-431f-acfb-c1010bd93165
2026-09-03 16:51:26,314 - DEBUG - Requesting: http://10.0.0.189:8082/project/2afd5bfc-ff11-4f9d-aa49-9cb75920a182
2026-09-03 16:51:26,401 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/8e357966-5f0a-4289-b6e3-96a018b8449e
2026-09-03 16:51:26,420 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/8e357966-5f0a-4289-b6e3-96a018b8449e
2026-09-03 16:51:26,432 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/6573ed5d-93cc-4eb8-9809-c9450e4b6f71
2026-09-03 16:51:26,442 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/6573ed5d-93cc-4eb8-9809-c9450e4b6f71
2026-09-03 16:51:26,450 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/7c5951d2-aee5-41f1-ad6b-47e56b65d786
2026-09-03 16:51:26,459 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-03 16:51:26,459 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/8e357966-5f0a-4289-b6e3-96a018b8449e
2026-09-03 16:51:26,469 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/6573ed5d-93cc-4eb8-9809-c9450e4b6f71
2026-09-03 16:51:26,487 - INFO - Verified VN network id 12 for VN 8e357966-5f0a-4289-b6e3-96a018b8449e
2026-09-03 16:51:26,487 - INFO - Verifications in API Server for VN ctest-vn-68347960 passed
2026-09-03 16:51:26,487 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/8e357966-5f0a-4289-b6e3-96a018b8449e
2026-09-03 16:51:26,500 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/6573ed5d-93cc-4eb8-9809-c9450e4b6f71
2026-09-03 16:51:26,511 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/6573ed5d-93cc-4eb8-9809-c9450e4b6f71
2026-09-03 16:51:26,522 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/7c5951d2-aee5-41f1-ad6b-47e56b65d786
2026-09-03 16:51:26,537 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-68347960', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10806641', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10247230007739564681', 'uuid-lslong': '13178542548969866398'}, 'enable': 'true', 'created': '2026-09-03T16:51:23', 'last-modified': '2026-09-03T16:51:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.162279'}
2026-09-03 16:51:26,547 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-03 16:51:26,547 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68347960 passed
2026-09-03 16:51:26,547 - DEBUG - ====Verifying policy data for ctest-vn-68347960 in API_Server ======
2026-09-03 16:51:26,547 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-03 16:51:26,555 - DEBUG - Requesting: http://10.0.0.189:8082/domain/923b318e-a07f-431f-acfb-c1010bd93165
2026-09-03 16:51:26,569 - DEBUG - Requesting: http://10.0.0.189:8082/project/2afd5bfc-ff11-4f9d-aa49-9cb75920a182
2026-09-03 16:51:26,666 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/8e357966-5f0a-4289-b6e3-96a018b8449e
2026-09-03 16:51:26,676 - DEBUG - ==>Verifying data for policy with id: 5b66897b-7a64-4804-af7e-645a11d430e6, fqn: ['default-domain', 'ctest-TestBasicPolicy-10806641', 'ctest-policy-allow-all-38451106']
2026-09-03 16:51:26,676 - INFO - VN ctest-vn-68347960 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-03 16:51:26,677 - DEBUG - Verifying the vn in opserver
2026-09-03 16:51:26,677 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-68347960 virtual network link through opserver 10.0.0.189
2026-09-03 16:51:26,677 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-03 16:51:27,051 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-03 16:51:27,112 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-68347960', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-68347960?flat'}
2026-09-03 16:51:27,112 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-68347960 is found in opserver
2026-09-03 16:51:27,126 - DEBUG - Do not have enough data to verify VN in agent
2026-09-03 16:51:27,133 - DEBUG - VRF ids for VN ctest-vn-68347960: {}
2026-09-03 16:51:27,133 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-03 16:51:27,140 - DEBUG - Requesting: http://10.0.0.189:8082/domain/923b318e-a07f-431f-acfb-c1010bd93165
2026-09-03 16:51:27,155 - DEBUG - Requesting: http://10.0.0.189:8082/project/2afd5bfc-ff11-4f9d-aa49-9cb75920a182
2026-09-03 16:51:27,235 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f06196e7-3246-4bb6-8bc9-06400dcaa9a7
2026-09-03 16:51:27,255 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f06196e7-3246-4bb6-8bc9-06400dcaa9a7
2026-09-03 16:51:27,271 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/73dee56a-e1a2-405a-84df-2c5b658ed94e
2026-09-03 16:51:27,283 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/73dee56a-e1a2-405a-84df-2c5b658ed94e
2026-09-03 16:51:27,297 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/721d0b80-1e85-46fb-b039-4820cd03195c
2026-09-03 16:51:27,311 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-03 16:51:27,312 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f06196e7-3246-4bb6-8bc9-06400dcaa9a7
2026-09-03 16:51:27,342 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/73dee56a-e1a2-405a-84df-2c5b658ed94e
2026-09-03 16:51:27,361 - INFO - Verified VN network id 13 for VN f06196e7-3246-4bb6-8bc9-06400dcaa9a7
2026-09-03 16:51:27,361 - INFO - Verifications in API Server for VN ctest-vn-99333094 passed
2026-09-03 16:51:27,362 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f06196e7-3246-4bb6-8bc9-06400dcaa9a7
2026-09-03 16:51:27,373 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/73dee56a-e1a2-405a-84df-2c5b658ed94e
2026-09-03 16:51:27,382 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/73dee56a-e1a2-405a-84df-2c5b658ed94e
2026-09-03 16:51:27,391 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/721d0b80-1e85-46fb-b039-4820cd03195c
2026-09-03 16:51:27,407 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-99333094', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10806641', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17321291561568717750', 'uuid-lslong': '10072588913769884071'}, 'enable': 'true', 'created': '2026-09-03T16:51:24', 'last-modified': '2026-09-03T16:51:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.758924'}
2026-09-03 16:51:27,416 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-03 16:51:27,416 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99333094 passed
2026-09-03 16:51:27,416 - DEBUG - ====Verifying policy data for ctest-vn-99333094 in API_Server ======
2026-09-03 16:51:27,416 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-03 16:51:27,426 - DEBUG - Requesting: http://10.0.0.189:8082/domain/923b318e-a07f-431f-acfb-c1010bd93165
2026-09-03 16:51:27,444 - DEBUG - Requesting: http://10.0.0.189:8082/project/2afd5bfc-ff11-4f9d-aa49-9cb75920a182
2026-09-03 16:51:27,533 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f06196e7-3246-4bb6-8bc9-06400dcaa9a7
2026-09-03 16:51:27,547 - DEBUG - ==>Verifying data for policy with id: 5b66897b-7a64-4804-af7e-645a11d430e6, fqn: ['default-domain', 'ctest-TestBasicPolicy-10806641', 'ctest-policy-allow-all-38451106']
2026-09-03 16:51:27,547 - INFO - VN ctest-vn-99333094 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-03 16:51:27,547 - DEBUG - Verifying the vn in opserver
2026-09-03 16:51:27,547 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-99333094 virtual network link through opserver 10.0.0.189
2026-09-03 16:51:27,547 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-03 16:51:27,561 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-99333094', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-99333094?flat'}
2026-09-03 16:51:27,561 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10806641:ctest-vn-99333094 is found in opserver
2026-09-03 16:51:27,574 - DEBUG - Do not have enough data to verify VN in agent
2026-09-03 16:51:27,580 - DEBUG - VRF ids for VN ctest-vn-99333094: {}
2026-09-03 16:51:27,648 - DEBUG - Services list from nova: [