2026-02-03 12:58:42,388 - INFO - Domain Default found not creating
2026-02-03 12:58:42,568 - INFO - Project ctest-TestBasicPolicy-77139567 not found, creating it
2026-02-03 12:58:43,026 - INFO - Created Project:ctest-TestBasicPolicy-77139567, ID : d364e2a0-8b06-4e76-9ffc-39c2b565472c
2026-02-03 12:58:44,737 - INFO - ================================================================================
2026-02-03 12:58:44,737 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-03 12:58:44,737 - 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-02-03 12:58:45,003 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with
2026-02-03 12:58:45,003 - INFO - Initial checks done. Running the testcase now
2026-02-03 12:58:45,003 - INFO -
2026-02-03 12:58:45,650 - DEBUG - Response for create_network : {'network': {'id': '4ecb273b-542f-4e62-9da9-86a7c4698f8f', 'name': 'ctest-vn-70513419', 'tenant_id': 'd364e2a08b064e769ffc39c2b565472c', 'project_id': 'd364e2a08b064e769ffc39c2b565472c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77139567', 'ctest-vn-70513419'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 12:58:45,889 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0d53cbd-f95b-4df0-b275-d00500d9c248', 'name': '', 'tenant_id': 'd364e2a08b064e769ffc39c2b565472c', 'network_id': '4ecb273b-542f-4e62-9da9-86a7c4698f8f', 'ip_version': 4, 'cidr': '164.216.144.64/26', 'allocation_pools': [{'start': '164.216.144.66', 'end': '164.216.144.126'}], 'gateway_ip': '164.216.144.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.216.144.66', 'tags': [], 'project_id': 'd364e2a08b064e769ffc39c2b565472c'}}
2026-02-03 12:58:45,911 - INFO - Created VN ctest-vn-70513419
2026-02-03 12:58:45,964 - DEBUG - VN ctest-vn-70513419 UUID is 4ecb273b-542f-4e62-9da9-86a7c4698f8f
2026-02-03 12:58:46,285 - DEBUG - Response for create_network : {'network': {'id': '4f01c3e9-a9b3-4e5c-9d2a-7c8a6b76f061', 'name': 'ctest-vn-54653923', 'tenant_id': 'd364e2a08b064e769ffc39c2b565472c', 'project_id': 'd364e2a08b064e769ffc39c2b565472c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77139567', 'ctest-vn-54653923'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 12:58:46,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '7027f492-8815-4913-9f35-1389b03a8b38', 'name': '', 'tenant_id': 'd364e2a08b064e769ffc39c2b565472c', 'network_id': '4f01c3e9-a9b3-4e5c-9d2a-7c8a6b76f061', 'ip_version': 4, 'cidr': '155.133.198.192/26', 'allocation_pools': [{'start': '155.133.198.194', 'end': '155.133.198.254'}], 'gateway_ip': '155.133.198.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.133.198.194', 'tags': [], 'project_id': 'd364e2a08b064e769ffc39c2b565472c'}}
2026-02-03 12:58:46,793 - INFO - Created VN ctest-vn-54653923
2026-02-03 12:58:46,851 - DEBUG - VN ctest-vn-54653923 UUID is 4f01c3e9-a9b3-4e5c-9d2a-7c8a6b76f061
2026-02-03 12:58:46,992 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77139567:ctest-vn-70513419, 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-77139567:ctest-vn-54653923, 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-02-03 12:58:47,379 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4ecb273b-542f-4e62-9da9-86a7c4698f8f', 'name': 'ctest-vn-70513419', 'tenant_id': 'd364e2a08b064e769ffc39c2b565472c', 'project_id': 'd364e2a08b064e769ffc39c2b565472c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c0d53cbd-f95b-4df0-b275-d00500d9c248'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77139567', 'ctest-vn-70513419'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77139567', 'ctest-policy-allow-all-93888878']], 'subnet_ipam': [{'subnet_cidr': '164.216.144.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 12:58:47,623 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4f01c3e9-a9b3-4e5c-9d2a-7c8a6b76f061', 'name': 'ctest-vn-54653923', 'tenant_id': 'd364e2a08b064e769ffc39c2b565472c', 'project_id': 'd364e2a08b064e769ffc39c2b565472c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7027f492-8815-4913-9f35-1389b03a8b38'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77139567', 'ctest-vn-54653923'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77139567', 'ctest-policy-allow-all-93888878']], 'subnet_ipam': [{'subnet_cidr': '155.133.198.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 12:58:47,799 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-03 12:58:48,108 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-03 12:58:48,150 - DEBUG - Requesting: http://10.0.0.129:8082/domain/33182b97-85b8-4cd8-a9b5-fe71359837a2
2026-02-03 12:58:48,163 - DEBUG - Requesting: http://10.0.0.129:8082/project/d364e2a0-8b06-4e76-9ffc-39c2b565472c
2026-02-03 12:58:48,234 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/4ecb273b-542f-4e62-9da9-86a7c4698f8f
2026-02-03 12:58:48,245 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/4ecb273b-542f-4e62-9da9-86a7c4698f8f
2026-02-03 12:58:48,255 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/174dc953-56fe-42b6-b846-c1394d216d9f
2026-02-03 12:58:48,265 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/174dc953-56fe-42b6-b846-c1394d216d9f
2026-02-03 12:58:48,272 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/747e6d67-ede7-4297-a906-12a5c1decb38
2026-02-03 12:58:48,279 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 12:58:48,279 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/4ecb273b-542f-4e62-9da9-86a7c4698f8f
2026-02-03 12:58:48,289 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/174dc953-56fe-42b6-b846-c1394d216d9f
2026-02-03 12:58:48,303 - INFO - Verified VN network id 11 for VN 4ecb273b-542f-4e62-9da9-86a7c4698f8f
2026-02-03 12:58:48,303 - INFO - Verifications in API Server for VN ctest-vn-70513419 passed
2026-02-03 12:58:48,303 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/4ecb273b-542f-4e62-9da9-86a7c4698f8f
2026-02-03 12:58:48,313 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/174dc953-56fe-42b6-b846-c1394d216d9f
2026-02-03 12:58:48,321 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/174dc953-56fe-42b6-b846-c1394d216d9f
2026-02-03 12:58:48,328 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/747e6d67-ede7-4297-a906-12a5c1decb38
2026-02-03 12:58:48,341 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77139567:ctest-vn-70513419', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77139567', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5677674890999582306', 'uuid-lslong': '11360759590131699599'}, 'enable': 'true', 'created': '2026-02-03T12:58:45', 'last-modified': '2026-02-03T12:58:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.994635'}
2026-02-03 12:58:48,348 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 12:58:48,348 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70513419 passed
2026-02-03 12:58:48,349 - DEBUG - ====Verifying policy data for ctest-vn-70513419 in API_Server ======
2026-02-03 12:58:48,349 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-03 12:58:48,356 - DEBUG - Requesting: http://10.0.0.129:8082/domain/33182b97-85b8-4cd8-a9b5-fe71359837a2
2026-02-03 12:58:48,367 - DEBUG - Requesting: http://10.0.0.129:8082/project/d364e2a0-8b06-4e76-9ffc-39c2b565472c
2026-02-03 12:58:48,442 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/4ecb273b-542f-4e62-9da9-86a7c4698f8f
2026-02-03 12:58:48,451 - DEBUG - ==>Verifying data for policy with id: f00642a8-b0e3-4eee-a95e-4c7088731c85, fqn: ['default-domain', 'ctest-TestBasicPolicy-77139567', 'ctest-policy-allow-all-93888878']
2026-02-03 12:58:48,451 - INFO - VN ctest-vn-70513419 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 12:58:48,451 - DEBUG - Verifying the vn in opserver
2026-02-03 12:58:48,451 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77139567:ctest-vn-70513419 virtual network link through opserver 10.0.0.129
2026-02-03 12:58:48,452 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-03 12:58:48,749 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-03 12:58:48,836 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77139567:ctest-vn-70513419', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77139567:ctest-vn-70513419?flat'}
2026-02-03 12:58:48,836 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77139567:ctest-vn-70513419 is found in opserver
2026-02-03 12:58:48,847 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 12:58:48,852 - DEBUG - VRF ids for VN ctest-vn-70513419: {}
2026-02-03 12:58:48,852 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-03 12:58:48,857 - DEBUG - Requesting: http://10.0.0.129:8082/domain/33182b97-85b8-4cd8-a9b5-fe71359837a2
2026-02-03 12:58:48,869 - DEBUG - Requesting: http://10.0.0.129:8082/project/d364e2a0-8b06-4e76-9ffc-39c2b565472c
2026-02-03 12:58:48,943 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/4f01c3e9-a9b3-4e5c-9d2a-7c8a6b76f061
2026-02-03 12:58:48,955 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/4f01c3e9-a9b3-4e5c-9d2a-7c8a6b76f061
2026-02-03 12:58:48,964 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/a5ddfdfb-067c-458f-ac2e-fd957ed0ca2e
2026-02-03 12:58:48,972 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/a5ddfdfb-067c-458f-ac2e-fd957ed0ca2e
2026-02-03 12:58:48,980 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/8230606c-1a9b-4c48-b1be-d8c3ddc90e84
2026-02-03 12:58:48,988 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 12:58:48,988 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/4f01c3e9-a9b3-4e5c-9d2a-7c8a6b76f061
2026-02-03 12:58:48,998 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/a5ddfdfb-067c-458f-ac2e-fd957ed0ca2e
2026-02-03 12:58:49,017 - INFO - Verified VN network id 12 for VN 4f01c3e9-a9b3-4e5c-9d2a-7c8a6b76f061
2026-02-03 12:58:49,018 - INFO - Verifications in API Server for VN ctest-vn-54653923 passed
2026-02-03 12:58:49,018 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/4f01c3e9-a9b3-4e5c-9d2a-7c8a6b76f061
2026-02-03 12:58:49,029 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/a5ddfdfb-067c-458f-ac2e-fd957ed0ca2e
2026-02-03 12:58:49,039 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/a5ddfdfb-067c-458f-ac2e-fd957ed0ca2e
2026-02-03 12:58:49,047 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/8230606c-1a9b-4c48-b1be-d8c3ddc90e84
2026-02-03 12:58:49,060 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77139567:ctest-vn-54653923', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77139567', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5693046812314914396', 'uuid-lslong': '11325001146926821473'}, 'enable': 'true', 'created': '2026-02-03T12:58:46', 'last-modified': '2026-02-03T12:58:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.456938'}
2026-02-03 12:58:49,066 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 12:58:49,066 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54653923 passed
2026-02-03 12:58:49,066 - DEBUG - ====Verifying policy data for ctest-vn-54653923 in API_Server ======
2026-02-03 12:58:49,066 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-02-03 12:58:49,073 - DEBUG - Requesting: http://10.0.0.129:8082/domain/33182b97-85b8-4cd8-a9b5-fe71359837a2
2026-02-03 12:58:49,085 - DEBUG - Requesting: http://10.0.0.129:8082/project/d364e2a0-8b06-4e76-9ffc-39c2b565472c
2026-02-03 12:58:49,160 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/4f01c3e9-a9b3-4e5c-9d2a-7c8a6b76f061
2026-02-03 12:58:49,170 - DEBUG - ==>Verifying data for policy with id: f00642a8-b0e3-4eee-a95e-4c7088731c85, fqn: ['default-domain', 'ctest-TestBasicPolicy-77139567', 'ctest-policy-allow-all-93888878']
2026-02-03 12:58:49,170 - INFO - VN ctest-vn-54653923 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 12:58:49,170 - DEBUG - Verifying the vn in opserver
2026-02-03 12:58:49,170 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77139567:ctest-vn-54653923 virtual network link through opserver 10.0.0.129
2026-02-03 12:58:49,170 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-02-03 12:58:49,182 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77139567:ctest-vn-54653923', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77139567:ctest-vn-54653923?flat'}
2026-02-03 12:58:49,182 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77139567:ctest-vn-54653923 is found in opserver
2026-02-03 12:58:49,191 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 12:58:49,195 - DEBUG - VRF ids for VN ctest-vn-54653923: {}
2026-02-03 12:58:49,269 - DEBUG - Services list from nova: [