2026-09-10 09:22:56,760 - INFO - Domain Default found not creating
2026-09-10 09:22:56,944 - INFO - Project ctest-TestBasicPolicy-15020023 not found, creating it
2026-09-10 09:22:57,457 - INFO - Created Project:ctest-TestBasicPolicy-15020023, ID : caa20545-46c8-4290-92e1-b7a83a93bb8b
2026-09-10 09:22:59,270 - INFO - ================================================================================
2026-09-10 09:22:59,271 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-10 09:22:59,271 - 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-10 09:22:59,544 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-09-10 09:22:59,545 - INFO - Initial checks done. Running the testcase now
2026-09-10 09:22:59,545 - INFO -
2026-09-10 09:23:00,654 - DEBUG - Response for create_network : {'network': {'id': '2fd02ccc-4fbd-4ee0-91c3-c5e29111896d', 'name': 'ctest-vn-97422958', 'tenant_id': 'caa2054546c8429092e1b7a83a93bb8b', 'project_id': 'caa2054546c8429092e1b7a83a93bb8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15020023', 'ctest-vn-97422958'], 'port_security_enabled': True, 'description': ''}}
2026-09-10 09:23:00,879 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b06995bd-54e7-4cc8-9b5a-152bb39ac8cf', 'name': '', 'tenant_id': 'caa2054546c8429092e1b7a83a93bb8b', 'network_id': '2fd02ccc-4fbd-4ee0-91c3-c5e29111896d', 'ip_version': 4, 'cidr': '160.245.48.64/26', 'allocation_pools': [{'start': '160.245.48.66', 'end': '160.245.48.126'}], 'gateway_ip': '160.245.48.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.245.48.66', 'tags': [], 'project_id': 'caa2054546c8429092e1b7a83a93bb8b'}}
2026-09-10 09:23:00,900 - INFO - Created VN ctest-vn-97422958
2026-09-10 09:23:00,955 - DEBUG - VN ctest-vn-97422958 UUID is 2fd02ccc-4fbd-4ee0-91c3-c5e29111896d
2026-09-10 09:23:01,323 - DEBUG - Response for create_network : {'network': {'id': '08030f30-bfd4-4d12-91dc-6eddfdbd0dea', 'name': 'ctest-vn-92871289', 'tenant_id': 'caa2054546c8429092e1b7a83a93bb8b', 'project_id': 'caa2054546c8429092e1b7a83a93bb8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15020023', 'ctest-vn-92871289'], 'port_security_enabled': True, 'description': ''}}
2026-09-10 09:23:01,564 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6f264f5-d071-403c-a90e-beb6e5d6709e', 'name': '', 'tenant_id': 'caa2054546c8429092e1b7a83a93bb8b', 'network_id': '08030f30-bfd4-4d12-91dc-6eddfdbd0dea', 'ip_version': 4, 'cidr': '28.106.175.0/26', 'allocation_pools': [{'start': '28.106.175.2', 'end': '28.106.175.62'}], 'gateway_ip': '28.106.175.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.106.175.2', 'tags': [], 'project_id': 'caa2054546c8429092e1b7a83a93bb8b'}}
2026-09-10 09:23:01,594 - INFO - Created VN ctest-vn-92871289
2026-09-10 09:23:01,651 - DEBUG - VN ctest-vn-92871289 UUID is 08030f30-bfd4-4d12-91dc-6eddfdbd0dea
2026-09-10 09:23:01,772 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-97422958, 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-15020023:ctest-vn-92871289, 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-10 09:23:02,107 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2fd02ccc-4fbd-4ee0-91c3-c5e29111896d', 'name': 'ctest-vn-97422958', 'tenant_id': 'caa2054546c8429092e1b7a83a93bb8b', 'project_id': 'caa2054546c8429092e1b7a83a93bb8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b06995bd-54e7-4cc8-9b5a-152bb39ac8cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15020023', 'ctest-vn-97422958'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15020023', 'ctest-policy-allow-all-37606045']], 'subnet_ipam': [{'subnet_cidr': '160.245.48.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-10 09:23:02,365 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '08030f30-bfd4-4d12-91dc-6eddfdbd0dea', 'name': 'ctest-vn-92871289', 'tenant_id': 'caa2054546c8429092e1b7a83a93bb8b', 'project_id': 'caa2054546c8429092e1b7a83a93bb8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f6f264f5-d071-403c-a90e-beb6e5d6709e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15020023', 'ctest-vn-92871289'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15020023', 'ctest-policy-allow-all-37606045']], 'subnet_ipam': [{'subnet_cidr': '28.106.175.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-10 09:23:02,535 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-10 09:23:02,923 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-10 09:23:02,957 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9e1ad913-06b6-4cd1-a0fe-874159e10ac1
2026-09-10 09:23:02,972 - DEBUG - Requesting: http://10.0.0.50:8082/project/caa20545-46c8-4290-92e1-b7a83a93bb8b
2026-09-10 09:23:03,060 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2fd02ccc-4fbd-4ee0-91c3-c5e29111896d
2026-09-10 09:23:03,076 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2fd02ccc-4fbd-4ee0-91c3-c5e29111896d
2026-09-10 09:23:03,088 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0444ed88-2eb1-4314-b7f2-93ad460554c0
2026-09-10 09:23:03,100 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0444ed88-2eb1-4314-b7f2-93ad460554c0
2026-09-10 09:23:03,110 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f04dfde5-8e25-4d87-b915-5ecbcced19c6
2026-09-10 09:23:03,120 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-10 09:23:03,120 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2fd02ccc-4fbd-4ee0-91c3-c5e29111896d
2026-09-10 09:23:03,131 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0444ed88-2eb1-4314-b7f2-93ad460554c0
2026-09-10 09:23:03,150 - INFO - Verified VN network id 11 for VN 2fd02ccc-4fbd-4ee0-91c3-c5e29111896d
2026-09-10 09:23:03,150 - INFO - Verifications in API Server for VN ctest-vn-97422958 passed
2026-09-10 09:23:03,150 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2fd02ccc-4fbd-4ee0-91c3-c5e29111896d
2026-09-10 09:23:03,163 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0444ed88-2eb1-4314-b7f2-93ad460554c0
2026-09-10 09:23:03,174 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0444ed88-2eb1-4314-b7f2-93ad460554c0
2026-09-10 09:23:03,185 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f04dfde5-8e25-4d87-b915-5ecbcced19c6
2026-09-10 09:23:03,201 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-97422958', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15020023', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3445302970961186528', 'uuid-lslong': '10503456332845255021'}, 'enable': 'true', 'created': '2026-09-10T09:23:00', 'last-modified': '2026-09-10T09:23:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.129923'}
2026-09-10 09:23:03,209 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-10 09:23:03,209 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97422958 passed
2026-09-10 09:23:03,209 - DEBUG - ====Verifying policy data for ctest-vn-97422958 in API_Server ======
2026-09-10 09:23:03,209 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-10 09:23:03,215 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9e1ad913-06b6-4cd1-a0fe-874159e10ac1
2026-09-10 09:23:03,228 - DEBUG - Requesting: http://10.0.0.50:8082/project/caa20545-46c8-4290-92e1-b7a83a93bb8b
2026-09-10 09:23:03,318 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2fd02ccc-4fbd-4ee0-91c3-c5e29111896d
2026-09-10 09:23:03,328 - DEBUG - ==>Verifying data for policy with id: c78aec3d-0304-4670-b300-72aac068d538, fqn: ['default-domain', 'ctest-TestBasicPolicy-15020023', 'ctest-policy-allow-all-37606045']
2026-09-10 09:23:03,328 - INFO - VN ctest-vn-97422958 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-10 09:23:03,329 - DEBUG - Verifying the vn in opserver
2026-09-10 09:23:03,329 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-97422958 virtual network link through opserver 10.0.0.50
2026-09-10 09:23:03,329 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-09-10 09:23:03,708 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-09-10 09:23:03,764 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-97422958', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-97422958?flat'}
2026-09-10 09:23:03,764 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-97422958 is found in opserver
2026-09-10 09:23:03,777 - DEBUG - Do not have enough data to verify VN in agent
2026-09-10 09:23:03,783 - DEBUG - VRF ids for VN ctest-vn-97422958: {}
2026-09-10 09:23:03,783 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-10 09:23:03,790 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9e1ad913-06b6-4cd1-a0fe-874159e10ac1
2026-09-10 09:23:03,802 - DEBUG - Requesting: http://10.0.0.50:8082/project/caa20545-46c8-4290-92e1-b7a83a93bb8b
2026-09-10 09:23:03,881 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/08030f30-bfd4-4d12-91dc-6eddfdbd0dea
2026-09-10 09:23:03,896 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/08030f30-bfd4-4d12-91dc-6eddfdbd0dea
2026-09-10 09:23:03,910 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de3a6f20-ea9b-46b5-bf56-4ffa0d6460a6
2026-09-10 09:23:03,918 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de3a6f20-ea9b-46b5-bf56-4ffa0d6460a6
2026-09-10 09:23:03,927 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/397eba90-6cc6-4868-b416-ac9d8147ea5d
2026-09-10 09:23:03,933 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-10 09:23:03,933 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/08030f30-bfd4-4d12-91dc-6eddfdbd0dea
2026-09-10 09:23:03,943 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de3a6f20-ea9b-46b5-bf56-4ffa0d6460a6
2026-09-10 09:23:03,957 - INFO - Verified VN network id 12 for VN 08030f30-bfd4-4d12-91dc-6eddfdbd0dea
2026-09-10 09:23:03,957 - INFO - Verifications in API Server for VN ctest-vn-92871289 passed
2026-09-10 09:23:03,957 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/08030f30-bfd4-4d12-91dc-6eddfdbd0dea
2026-09-10 09:23:03,965 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de3a6f20-ea9b-46b5-bf56-4ffa0d6460a6
2026-09-10 09:23:03,971 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de3a6f20-ea9b-46b5-bf56-4ffa0d6460a6
2026-09-10 09:23:03,976 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/397eba90-6cc6-4868-b416-ac9d8147ea5d
2026-09-10 09:23:03,987 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-92871289', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15020023', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '577321879284763922', 'uuid-lslong': '10510397530099748330'}, 'enable': 'true', 'created': '2026-09-10T09:23:01', 'last-modified': '2026-09-10T09:23:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.650758'}
2026-09-10 09:23:03,995 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-10 09:23:03,996 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92871289 passed
2026-09-10 09:23:03,996 - DEBUG - ====Verifying policy data for ctest-vn-92871289 in API_Server ======
2026-09-10 09:23:03,996 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-10 09:23:04,003 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9e1ad913-06b6-4cd1-a0fe-874159e10ac1
2026-09-10 09:23:04,016 - DEBUG - Requesting: http://10.0.0.50:8082/project/caa20545-46c8-4290-92e1-b7a83a93bb8b
2026-09-10 09:23:04,100 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/08030f30-bfd4-4d12-91dc-6eddfdbd0dea
2026-09-10 09:23:04,110 - DEBUG - ==>Verifying data for policy with id: c78aec3d-0304-4670-b300-72aac068d538, fqn: ['default-domain', 'ctest-TestBasicPolicy-15020023', 'ctest-policy-allow-all-37606045']
2026-09-10 09:23:04,110 - INFO - VN ctest-vn-92871289 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-10 09:23:04,110 - DEBUG - Verifying the vn in opserver
2026-09-10 09:23:04,111 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-92871289 virtual network link through opserver 10.0.0.50
2026-09-10 09:23:04,111 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-09-10 09:23:04,122 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-92871289', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-92871289?flat'}
2026-09-10 09:23:04,122 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15020023:ctest-vn-92871289 is found in opserver
2026-09-10 09:23:04,133 - DEBUG - Do not have enough data to verify VN in agent
2026-09-10 09:23:04,138 - DEBUG - VRF ids for VN ctest-vn-92871289: {}
2026-09-10 09:23:04,201 - DEBUG - Services list from nova: [