2026-01-19 02:15:33,304 - INFO - Domain Default found not creating
2026-01-19 02:15:33,478 - INFO - Project ctest-TestBasicPolicy-66254033 not found, creating it
2026-01-19 02:15:33,954 - INFO - Created Project:ctest-TestBasicPolicy-66254033, ID : d6710764-fa80-480a-a2b3-5c9cd594e227
2026-01-19 02:15:35,490 - INFO - ================================================================================
2026-01-19 02:15:35,490 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-19 02:15:35,490 - 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-19 02:15:35,767 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.209': '0'}} with
2026-01-19 02:15:35,767 - INFO - Initial checks done. Running the testcase now
2026-01-19 02:15:35,767 - INFO -
2026-01-19 02:15:36,347 - DEBUG - Response for create_network : {'network': {'id': '918504c2-7efa-4eb8-87ca-38fc810da00c', 'name': 'ctest-vn-30291168', 'tenant_id': 'd6710764fa80480aa2b35c9cd594e227', 'project_id': 'd6710764fa80480aa2b35c9cd594e227', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66254033', 'ctest-vn-30291168'], 'port_security_enabled': True, 'description': ''}}
2026-01-19 02:15:36,506 - DEBUG - Response for create_subnet : {'subnet': {'id': '01d26d15-83ea-4a80-baad-0e705c695f63', 'name': '', 'tenant_id': 'd6710764fa80480aa2b35c9cd594e227', 'network_id': '918504c2-7efa-4eb8-87ca-38fc810da00c', 'ip_version': 4, 'cidr': '133.67.234.128/26', 'allocation_pools': [{'start': '133.67.234.130', 'end': '133.67.234.190'}], 'gateway_ip': '133.67.234.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.67.234.130', 'tags': [], 'project_id': 'd6710764fa80480aa2b35c9cd594e227'}}
2026-01-19 02:15:36,523 - INFO - Created VN ctest-vn-30291168
2026-01-19 02:15:36,575 - DEBUG - VN ctest-vn-30291168 UUID is 918504c2-7efa-4eb8-87ca-38fc810da00c
2026-01-19 02:15:36,893 - DEBUG - Response for create_network : {'network': {'id': '16610f92-a0ea-4fc9-bdae-d0c6dccee55c', 'name': 'ctest-vn-35753138', 'tenant_id': 'd6710764fa80480aa2b35c9cd594e227', 'project_id': 'd6710764fa80480aa2b35c9cd594e227', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66254033', 'ctest-vn-35753138'], 'port_security_enabled': True, 'description': ''}}
2026-01-19 02:15:37,060 - DEBUG - Response for create_subnet : {'subnet': {'id': '53fef4b1-50bc-4988-bf10-4615d06463c5', 'name': '', 'tenant_id': 'd6710764fa80480aa2b35c9cd594e227', 'network_id': '16610f92-a0ea-4fc9-bdae-d0c6dccee55c', 'ip_version': 4, 'cidr': '208.62.230.0/26', 'allocation_pools': [{'start': '208.62.230.2', 'end': '208.62.230.62'}], 'gateway_ip': '208.62.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.62.230.2', 'tags': [], 'project_id': 'd6710764fa80480aa2b35c9cd594e227'}}
2026-01-19 02:15:37,079 - INFO - Created VN ctest-vn-35753138
2026-01-19 02:15:37,131 - DEBUG - VN ctest-vn-35753138 UUID is 16610f92-a0ea-4fc9-bdae-d0c6dccee55c
2026-01-19 02:15:37,283 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-30291168, 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-66254033:ctest-vn-35753138, 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-19 02:15:37,574 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '918504c2-7efa-4eb8-87ca-38fc810da00c', 'name': 'ctest-vn-30291168', 'tenant_id': 'd6710764fa80480aa2b35c9cd594e227', 'project_id': 'd6710764fa80480aa2b35c9cd594e227', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['01d26d15-83ea-4a80-baad-0e705c695f63'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66254033', 'ctest-vn-30291168'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66254033', 'ctest-policy-allow-all-19860750']], 'subnet_ipam': [{'subnet_cidr': '133.67.234.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-19 02:15:37,814 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16610f92-a0ea-4fc9-bdae-d0c6dccee55c', 'name': 'ctest-vn-35753138', 'tenant_id': 'd6710764fa80480aa2b35c9cd594e227', 'project_id': 'd6710764fa80480aa2b35c9cd594e227', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['53fef4b1-50bc-4988-bf10-4615d06463c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66254033', 'ctest-vn-35753138'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66254033', 'ctest-policy-allow-all-19860750']], 'subnet_ipam': [{'subnet_cidr': '208.62.230.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-19 02:15:37,983 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-01-19 02:15:38,293 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-01-19 02:15:38,328 - DEBUG - Requesting: http://10.0.0.130:8082/domain/6b1950eb-3744-4375-a1be-2f40ed6a9311
2026-01-19 02:15:38,342 - DEBUG - Requesting: http://10.0.0.130:8082/project/d6710764-fa80-480a-a2b3-5c9cd594e227
2026-01-19 02:15:38,422 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/918504c2-7efa-4eb8-87ca-38fc810da00c
2026-01-19 02:15:38,432 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/918504c2-7efa-4eb8-87ca-38fc810da00c
2026-01-19 02:15:38,441 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/19b701b2-5e3d-4b36-9e66-31a900ac5a50
2026-01-19 02:15:38,449 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/19b701b2-5e3d-4b36-9e66-31a900ac5a50
2026-01-19 02:15:38,455 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/eed79859-149d-4b0f-bb23-00a14d3f852c
2026-01-19 02:15:38,461 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-19 02:15:38,461 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/918504c2-7efa-4eb8-87ca-38fc810da00c
2026-01-19 02:15:38,469 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/19b701b2-5e3d-4b36-9e66-31a900ac5a50
2026-01-19 02:15:38,485 - INFO - Verified VN network id 11 for VN 918504c2-7efa-4eb8-87ca-38fc810da00c
2026-01-19 02:15:38,486 - INFO - Verifications in API Server for VN ctest-vn-30291168 passed
2026-01-19 02:15:38,486 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/918504c2-7efa-4eb8-87ca-38fc810da00c
2026-01-19 02:15:38,495 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/19b701b2-5e3d-4b36-9e66-31a900ac5a50
2026-01-19 02:15:38,502 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/19b701b2-5e3d-4b36-9e66-31a900ac5a50
2026-01-19 02:15:38,508 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/eed79859-149d-4b0f-bb23-00a14d3f852c
2026-01-19 02:15:38,520 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-30291168', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66254033', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10485792540802567864', 'uuid-lslong': '9784695797563891724'}, 'enable': 'true', 'created': '2026-01-19T02:15:36', 'last-modified': '2026-01-19T02:15:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968280'}
2026-01-19 02:15:38,526 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-19 02:15:38,526 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30291168 passed
2026-01-19 02:15:38,526 - DEBUG - ====Verifying policy data for ctest-vn-30291168 in API_Server ======
2026-01-19 02:15:38,526 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-01-19 02:15:38,531 - DEBUG - Requesting: http://10.0.0.130:8082/domain/6b1950eb-3744-4375-a1be-2f40ed6a9311
2026-01-19 02:15:38,541 - DEBUG - Requesting: http://10.0.0.130:8082/project/d6710764-fa80-480a-a2b3-5c9cd594e227
2026-01-19 02:15:38,610 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/918504c2-7efa-4eb8-87ca-38fc810da00c
2026-01-19 02:15:38,617 - DEBUG - ==>Verifying data for policy with id: abac4304-822b-4475-a705-2b3a6a2740f5, fqn: ['default-domain', 'ctest-TestBasicPolicy-66254033', 'ctest-policy-allow-all-19860750']
2026-01-19 02:15:38,617 - INFO - VN ctest-vn-30291168 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-19 02:15:38,618 - DEBUG - Verifying the vn in opserver
2026-01-19 02:15:38,618 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-30291168 virtual network link through opserver 10.0.0.130
2026-01-19 02:15:38,618 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-01-19 02:15:38,912 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-01-19 02:15:38,987 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-30291168', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-30291168?flat'}
2026-01-19 02:15:38,987 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-30291168 is found in opserver
2026-01-19 02:15:38,997 - DEBUG - Do not have enough data to verify VN in agent
2026-01-19 02:15:39,003 - DEBUG - VRF ids for VN ctest-vn-30291168: {}
2026-01-19 02:15:39,003 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-01-19 02:15:39,008 - DEBUG - Requesting: http://10.0.0.130:8082/domain/6b1950eb-3744-4375-a1be-2f40ed6a9311
2026-01-19 02:15:39,018 - DEBUG - Requesting: http://10.0.0.130:8082/project/d6710764-fa80-480a-a2b3-5c9cd594e227
2026-01-19 02:15:39,087 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/16610f92-a0ea-4fc9-bdae-d0c6dccee55c
2026-01-19 02:15:39,098 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/16610f92-a0ea-4fc9-bdae-d0c6dccee55c
2026-01-19 02:15:39,107 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e273c6cc-b664-4109-a132-b7dc03d477ed
2026-01-19 02:15:39,115 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e273c6cc-b664-4109-a132-b7dc03d477ed
2026-01-19 02:15:39,122 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/0fe0a958-7210-49b9-bf06-d79de2b12202
2026-01-19 02:15:39,130 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-19 02:15:39,130 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/16610f92-a0ea-4fc9-bdae-d0c6dccee55c
2026-01-19 02:15:39,139 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e273c6cc-b664-4109-a132-b7dc03d477ed
2026-01-19 02:15:39,157 - INFO - Verified VN network id 12 for VN 16610f92-a0ea-4fc9-bdae-d0c6dccee55c
2026-01-19 02:15:39,157 - INFO - Verifications in API Server for VN ctest-vn-35753138 passed
2026-01-19 02:15:39,157 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/16610f92-a0ea-4fc9-bdae-d0c6dccee55c
2026-01-19 02:15:39,169 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e273c6cc-b664-4109-a132-b7dc03d477ed
2026-01-19 02:15:39,179 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/e273c6cc-b664-4109-a132-b7dc03d477ed
2026-01-19 02:15:39,189 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/0fe0a958-7210-49b9-bf06-d79de2b12202
2026-01-19 02:15:39,206 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-35753138', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66254033', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1612587264014700489', 'uuid-lslong': '13668091471642682716'}, 'enable': 'true', 'created': '2026-01-19T02:15:36', 'last-modified': '2026-01-19T02:15:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.411790'}
2026-01-19 02:15:39,217 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-19 02:15:39,217 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35753138 passed
2026-01-19 02:15:39,217 - DEBUG - ====Verifying policy data for ctest-vn-35753138 in API_Server ======
2026-01-19 02:15:39,217 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-01-19 02:15:39,224 - DEBUG - Requesting: http://10.0.0.130:8082/domain/6b1950eb-3744-4375-a1be-2f40ed6a9311
2026-01-19 02:15:39,234 - DEBUG - Requesting: http://10.0.0.130:8082/project/d6710764-fa80-480a-a2b3-5c9cd594e227
2026-01-19 02:15:39,306 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/16610f92-a0ea-4fc9-bdae-d0c6dccee55c
2026-01-19 02:15:39,316 - DEBUG - ==>Verifying data for policy with id: abac4304-822b-4475-a705-2b3a6a2740f5, fqn: ['default-domain', 'ctest-TestBasicPolicy-66254033', 'ctest-policy-allow-all-19860750']
2026-01-19 02:15:39,316 - INFO - VN ctest-vn-35753138 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-19 02:15:39,316 - DEBUG - Verifying the vn in opserver
2026-01-19 02:15:39,316 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-35753138 virtual network link through opserver 10.0.0.130
2026-01-19 02:15:39,316 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-01-19 02:15:39,333 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-35753138', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-35753138?flat'}
2026-01-19 02:15:39,333 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66254033:ctest-vn-35753138 is found in opserver
2026-01-19 02:15:39,345 - DEBUG - Do not have enough data to verify VN in agent
2026-01-19 02:15:39,350 - DEBUG - VRF ids for VN ctest-vn-35753138: {}
2026-01-19 02:15:39,414 - DEBUG - Services list from nova: [