2026-01-21 18:06:22,161 - INFO - Domain Default found not creating
2026-01-21 18:06:22,305 - INFO - Project ctest-TestBasicPolicy-34558632 not found, creating it
2026-01-21 18:06:22,739 - INFO - Created Project:ctest-TestBasicPolicy-34558632, ID : a42381ce-2425-45e3-9259-0c74f0d2da49
2026-01-21 18:06:24,110 - INFO - ================================================================================
2026-01-21 18:06:24,110 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-21 18:06:24,110 - 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-01-21 18:06:24,363 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.5': '0'}} with
2026-01-21 18:06:24,363 - INFO - Initial checks done. Running the testcase now
2026-01-21 18:06:24,363 - INFO -
2026-01-21 18:06:24,914 - DEBUG - Response for create_network : {'network': {'id': '63186057-924f-48a6-a534-9a4bf563c7f2', 'name': 'ctest-vn-95294635', 'tenant_id': 'a42381ce242545e392590c74f0d2da49', 'project_id': 'a42381ce242545e392590c74f0d2da49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34558632', 'ctest-vn-95294635'], 'port_security_enabled': True, 'description': ''}}
2026-01-21 18:06:25,064 - DEBUG - Response for create_subnet : {'subnet': {'id': '87093f29-4bfb-4efa-8a55-abadef49814b', 'name': '', 'tenant_id': 'a42381ce242545e392590c74f0d2da49', 'network_id': '63186057-924f-48a6-a534-9a4bf563c7f2', 'ip_version': 4, 'cidr': '198.216.213.64/26', 'allocation_pools': [{'start': '198.216.213.66', 'end': '198.216.213.126'}], 'gateway_ip': '198.216.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.216.213.66', 'tags': [], 'project_id': 'a42381ce242545e392590c74f0d2da49'}}
2026-01-21 18:06:25,079 - INFO - Created VN ctest-vn-95294635
2026-01-21 18:06:25,131 - DEBUG - VN ctest-vn-95294635 UUID is 63186057-924f-48a6-a534-9a4bf563c7f2
2026-01-21 18:06:25,433 - DEBUG - Response for create_network : {'network': {'id': '9172fae8-3970-40b9-9403-e5e7bb90e8e4', 'name': 'ctest-vn-72457504', 'tenant_id': 'a42381ce242545e392590c74f0d2da49', 'project_id': 'a42381ce242545e392590c74f0d2da49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34558632', 'ctest-vn-72457504'], 'port_security_enabled': True, 'description': ''}}
2026-01-21 18:06:25,600 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c4f89ae-c7b7-48d1-a7bb-2c8ba6f018f4', 'name': '', 'tenant_id': 'a42381ce242545e392590c74f0d2da49', 'network_id': '9172fae8-3970-40b9-9403-e5e7bb90e8e4', 'ip_version': 4, 'cidr': '13.103.56.128/26', 'allocation_pools': [{'start': '13.103.56.130', 'end': '13.103.56.190'}], 'gateway_ip': '13.103.56.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.103.56.130', 'tags': [], 'project_id': 'a42381ce242545e392590c74f0d2da49'}}
2026-01-21 18:06:25,614 - INFO - Created VN ctest-vn-72457504
2026-01-21 18:06:25,662 - DEBUG - VN ctest-vn-72457504 UUID is 9172fae8-3970-40b9-9403-e5e7bb90e8e4
2026-01-21 18:06:25,814 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-34558632:ctest-vn-95294635, 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-34558632:ctest-vn-72457504, 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-01-21 18:06:26,098 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '63186057-924f-48a6-a534-9a4bf563c7f2', 'name': 'ctest-vn-95294635', 'tenant_id': 'a42381ce242545e392590c74f0d2da49', 'project_id': 'a42381ce242545e392590c74f0d2da49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['87093f29-4bfb-4efa-8a55-abadef49814b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34558632', 'ctest-vn-95294635'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34558632', 'ctest-policy-allow-all-51909987']], 'subnet_ipam': [{'subnet_cidr': '198.216.213.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-21 18:06:26,313 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9172fae8-3970-40b9-9403-e5e7bb90e8e4', 'name': 'ctest-vn-72457504', 'tenant_id': 'a42381ce242545e392590c74f0d2da49', 'project_id': 'a42381ce242545e392590c74f0d2da49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8c4f89ae-c7b7-48d1-a7bb-2c8ba6f018f4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-34558632', 'ctest-vn-72457504'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-34558632', 'ctest-policy-allow-all-51909987']], 'subnet_ipam': [{'subnet_cidr': '13.103.56.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-21 18:06:26,478 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-21 18:06:26,773 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-21 18:06:26,799 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7d8a8824-80fc-4728-ad5a-aa119d86da41
2026-01-21 18:06:26,809 - DEBUG - Requesting: http://10.0.0.38:8082/project/a42381ce-2425-45e3-9259-0c74f0d2da49
2026-01-21 18:06:26,876 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/63186057-924f-48a6-a534-9a4bf563c7f2
2026-01-21 18:06:26,887 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/63186057-924f-48a6-a534-9a4bf563c7f2
2026-01-21 18:06:26,896 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ddada00-8913-465d-9e47-99d497795872
2026-01-21 18:06:26,903 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ddada00-8913-465d-9e47-99d497795872
2026-01-21 18:06:26,909 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0d31b4f2-044e-4e0d-b84c-74b3881b94ed
2026-01-21 18:06:26,915 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-21 18:06:26,915 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/63186057-924f-48a6-a534-9a4bf563c7f2
2026-01-21 18:06:26,923 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ddada00-8913-465d-9e47-99d497795872
2026-01-21 18:06:26,938 - INFO - Verified VN network id 12 for VN 63186057-924f-48a6-a534-9a4bf563c7f2
2026-01-21 18:06:26,938 - INFO - Verifications in API Server for VN ctest-vn-95294635 passed
2026-01-21 18:06:26,938 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/63186057-924f-48a6-a534-9a4bf563c7f2
2026-01-21 18:06:26,947 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ddada00-8913-465d-9e47-99d497795872
2026-01-21 18:06:26,953 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3ddada00-8913-465d-9e47-99d497795872
2026-01-21 18:06:26,960 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0d31b4f2-044e-4e0d-b84c-74b3881b94ed
2026-01-21 18:06:26,970 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34558632:ctest-vn-95294635', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34558632', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7140563138429012134', 'uuid-lslong': '11904309366077245426'}, 'enable': 'true', 'created': '2026-01-21T18:06:24', 'last-modified': '2026-01-21T18:06:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893365'}
2026-01-21 18:06:26,976 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-21 18:06:26,976 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95294635 passed
2026-01-21 18:06:26,976 - DEBUG - ====Verifying policy data for ctest-vn-95294635 in API_Server ======
2026-01-21 18:06:26,976 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-21 18:06:26,981 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7d8a8824-80fc-4728-ad5a-aa119d86da41
2026-01-21 18:06:26,990 - DEBUG - Requesting: http://10.0.0.38:8082/project/a42381ce-2425-45e3-9259-0c74f0d2da49
2026-01-21 18:06:27,060 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/63186057-924f-48a6-a534-9a4bf563c7f2
2026-01-21 18:06:27,069 - DEBUG - ==>Verifying data for policy with id: ec7d0c4e-120c-418e-bf2d-1355dd636ed1, fqn: ['default-domain', 'ctest-TestBasicPolicy-34558632', 'ctest-policy-allow-all-51909987']
2026-01-21 18:06:27,069 - INFO - VN ctest-vn-95294635 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-21 18:06:27,069 - DEBUG - Verifying the vn in opserver
2026-01-21 18:06:27,069 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34558632:ctest-vn-95294635 virtual network link through opserver 10.0.0.38
2026-01-21 18:06:27,069 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-21 18:06:27,367 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-21 18:06:27,421 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34558632:ctest-vn-95294635', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34558632:ctest-vn-95294635?flat'}
2026-01-21 18:06:27,421 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34558632:ctest-vn-95294635 is found in opserver
2026-01-21 18:06:27,429 - DEBUG - Do not have enough data to verify VN in agent
2026-01-21 18:06:27,432 - DEBUG - VRF ids for VN ctest-vn-95294635: {}
2026-01-21 18:06:27,432 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-21 18:06:27,437 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7d8a8824-80fc-4728-ad5a-aa119d86da41
2026-01-21 18:06:27,446 - DEBUG - Requesting: http://10.0.0.38:8082/project/a42381ce-2425-45e3-9259-0c74f0d2da49
2026-01-21 18:06:27,510 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9172fae8-3970-40b9-9403-e5e7bb90e8e4
2026-01-21 18:06:27,520 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9172fae8-3970-40b9-9403-e5e7bb90e8e4
2026-01-21 18:06:27,528 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1da54bea-e443-4196-a6da-e57171e2460b
2026-01-21 18:06:27,534 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1da54bea-e443-4196-a6da-e57171e2460b
2026-01-21 18:06:27,540 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f8d71598-b23f-4d94-809e-b71f788e7c99
2026-01-21 18:06:27,545 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-21 18:06:27,545 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9172fae8-3970-40b9-9403-e5e7bb90e8e4
2026-01-21 18:06:27,553 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1da54bea-e443-4196-a6da-e57171e2460b
2026-01-21 18:06:27,564 - INFO - Verified VN network id 13 for VN 9172fae8-3970-40b9-9403-e5e7bb90e8e4
2026-01-21 18:06:27,564 - INFO - Verifications in API Server for VN ctest-vn-72457504 passed
2026-01-21 18:06:27,564 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9172fae8-3970-40b9-9403-e5e7bb90e8e4
2026-01-21 18:06:27,571 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1da54bea-e443-4196-a6da-e57171e2460b
2026-01-21 18:06:27,576 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1da54bea-e443-4196-a6da-e57171e2460b
2026-01-21 18:06:27,581 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f8d71598-b23f-4d94-809e-b71f788e7c99
2026-01-21 18:06:27,590 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-34558632:ctest-vn-72457504', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-34558632', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10480715158147580089', 'uuid-lslong': '10665621125990508772'}, 'enable': 'true', 'created': '2026-01-21T18:06:25', 'last-modified': '2026-01-21T18:06:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.299981'}
2026-01-21 18:06:27,594 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-21 18:06:27,594 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72457504 passed
2026-01-21 18:06:27,594 - DEBUG - ====Verifying policy data for ctest-vn-72457504 in API_Server ======
2026-01-21 18:06:27,594 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-21 18:06:27,598 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7d8a8824-80fc-4728-ad5a-aa119d86da41
2026-01-21 18:06:27,607 - DEBUG - Requesting: http://10.0.0.38:8082/project/a42381ce-2425-45e3-9259-0c74f0d2da49
2026-01-21 18:06:27,675 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9172fae8-3970-40b9-9403-e5e7bb90e8e4
2026-01-21 18:06:27,683 - DEBUG - ==>Verifying data for policy with id: ec7d0c4e-120c-418e-bf2d-1355dd636ed1, fqn: ['default-domain', 'ctest-TestBasicPolicy-34558632', 'ctest-policy-allow-all-51909987']
2026-01-21 18:06:27,683 - INFO - VN ctest-vn-72457504 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-21 18:06:27,683 - DEBUG - Verifying the vn in opserver
2026-01-21 18:06:27,683 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-34558632:ctest-vn-72457504 virtual network link through opserver 10.0.0.38
2026-01-21 18:06:27,683 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-21 18:06:27,691 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-34558632:ctest-vn-72457504', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-34558632:ctest-vn-72457504?flat'}
2026-01-21 18:06:27,691 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-34558632:ctest-vn-72457504 is found in opserver
2026-01-21 18:06:27,699 - DEBUG - Do not have enough data to verify VN in agent
2026-01-21 18:06:27,703 - DEBUG - VRF ids for VN ctest-vn-72457504: {}
2026-01-21 18:06:27,751 - DEBUG - Services list from nova: [