2026-07-29 10:46:29,461 - INFO - Domain Default found not creating
2026-07-29 10:46:29,682 - INFO - Project ctest-TestBasicPolicy-95990047 not found, creating it
2026-07-29 10:46:30,237 - INFO - Created Project:ctest-TestBasicPolicy-95990047, ID : 199e1eae-10ec-454a-b4c4-f52fd434d674
2026-07-29 10:46:32,099 - INFO - ================================================================================
2026-07-29 10:46:32,100 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-07-29 10:46:32,100 - 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-07-29 10:46:32,374 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with
2026-07-29 10:46:32,374 - INFO - Initial checks done. Running the testcase now
2026-07-29 10:46:32,374 - INFO -
2026-07-29 10:46:33,102 - DEBUG - Response for create_network : {'network': {'id': 'a277e437-c5bb-4865-bf2f-dfa976193011', 'name': 'ctest-vn-05865582', 'tenant_id': '199e1eae10ec454ab4c4f52fd434d674', 'project_id': '199e1eae10ec454ab4c4f52fd434d674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95990047', 'ctest-vn-05865582'], 'port_security_enabled': True, 'description': ''}}
2026-07-29 10:46:33,352 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c303704-af42-47a4-9e39-df007edbe930', 'name': '', 'tenant_id': '199e1eae10ec454ab4c4f52fd434d674', 'network_id': 'a277e437-c5bb-4865-bf2f-dfa976193011', 'ip_version': 4, 'cidr': '62.164.203.192/26', 'allocation_pools': [{'start': '62.164.203.194', 'end': '62.164.203.254'}], 'gateway_ip': '62.164.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.164.203.194', 'tags': [], 'project_id': '199e1eae10ec454ab4c4f52fd434d674'}}
2026-07-29 10:46:33,371 - INFO - Created VN ctest-vn-05865582
2026-07-29 10:46:33,426 - DEBUG - VN ctest-vn-05865582 UUID is a277e437-c5bb-4865-bf2f-dfa976193011
2026-07-29 10:46:33,813 - DEBUG - Response for create_network : {'network': {'id': 'afabc3b3-97e2-4375-ac8b-652053dea8fe', 'name': 'ctest-vn-00177157', 'tenant_id': '199e1eae10ec454ab4c4f52fd434d674', 'project_id': '199e1eae10ec454ab4c4f52fd434d674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95990047', 'ctest-vn-00177157'], 'port_security_enabled': True, 'description': ''}}
2026-07-29 10:46:34,053 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb41bdf9-032f-41fc-8c48-bd67d3eb4ca5', 'name': '', 'tenant_id': '199e1eae10ec454ab4c4f52fd434d674', 'network_id': 'afabc3b3-97e2-4375-ac8b-652053dea8fe', 'ip_version': 4, 'cidr': '115.102.137.128/26', 'allocation_pools': [{'start': '115.102.137.130', 'end': '115.102.137.190'}], 'gateway_ip': '115.102.137.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.102.137.130', 'tags': [], 'project_id': '199e1eae10ec454ab4c4f52fd434d674'}}
2026-07-29 10:46:34,076 - INFO - Created VN ctest-vn-00177157
2026-07-29 10:46:34,134 - DEBUG - VN ctest-vn-00177157 UUID is afabc3b3-97e2-4375-ac8b-652053dea8fe
2026-07-29 10:46:34,267 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-05865582, 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-95990047:ctest-vn-00177157, 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-07-29 10:46:34,634 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a277e437-c5bb-4865-bf2f-dfa976193011', 'name': 'ctest-vn-05865582', 'tenant_id': '199e1eae10ec454ab4c4f52fd434d674', 'project_id': '199e1eae10ec454ab4c4f52fd434d674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4c303704-af42-47a4-9e39-df007edbe930'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95990047', 'ctest-vn-05865582'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95990047', 'ctest-policy-allow-all-85771195']], 'subnet_ipam': [{'subnet_cidr': '62.164.203.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-29 10:46:35,016 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'afabc3b3-97e2-4375-ac8b-652053dea8fe', 'name': 'ctest-vn-00177157', 'tenant_id': '199e1eae10ec454ab4c4f52fd434d674', 'project_id': '199e1eae10ec454ab4c4f52fd434d674', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bb41bdf9-032f-41fc-8c48-bd67d3eb4ca5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95990047', 'ctest-vn-00177157'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95990047', 'ctest-policy-allow-all-85771195']], 'subnet_ipam': [{'subnet_cidr': '115.102.137.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-29 10:46:35,194 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-07-29 10:46:35,570 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-07-29 10:46:35,602 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8e7cc33-f874-4504-92cd-6159ee390a1e
2026-07-29 10:46:35,616 - DEBUG - Requesting: http://10.0.0.185:8082/project/199e1eae-10ec-454a-b4c4-f52fd434d674
2026-07-29 10:46:35,700 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a277e437-c5bb-4865-bf2f-dfa976193011
2026-07-29 10:46:35,715 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a277e437-c5bb-4865-bf2f-dfa976193011
2026-07-29 10:46:35,727 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/fb45810d-69c9-42a7-83d9-e112967d6d14
2026-07-29 10:46:35,737 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/fb45810d-69c9-42a7-83d9-e112967d6d14
2026-07-29 10:46:35,747 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/d2cef9d7-4ab9-4fde-b49c-cb5a7bf0d357
2026-07-29 10:46:35,756 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-29 10:46:35,756 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a277e437-c5bb-4865-bf2f-dfa976193011
2026-07-29 10:46:35,770 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/fb45810d-69c9-42a7-83d9-e112967d6d14
2026-07-29 10:46:35,792 - INFO - Verified VN network id 11 for VN a277e437-c5bb-4865-bf2f-dfa976193011
2026-07-29 10:46:35,793 - INFO - Verifications in API Server for VN ctest-vn-05865582 passed
2026-07-29 10:46:35,793 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a277e437-c5bb-4865-bf2f-dfa976193011
2026-07-29 10:46:35,806 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/fb45810d-69c9-42a7-83d9-e112967d6d14
2026-07-29 10:46:35,816 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/fb45810d-69c9-42a7-83d9-e112967d6d14
2026-07-29 10:46:35,827 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/d2cef9d7-4ab9-4fde-b49c-cb5a7bf0d357
2026-07-29 10:46:35,845 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-05865582', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95990047', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11707076684564613221', 'uuid-lslong': '13776475704073465873'}, 'enable': 'true', 'created': '2026-07-29T10:46:33', 'last-modified': '2026-07-29T10:46:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.244380'}
2026-07-29 10:46:35,854 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-29 10:46:35,855 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05865582 passed
2026-07-29 10:46:35,855 - DEBUG - ====Verifying policy data for ctest-vn-05865582 in API_Server ======
2026-07-29 10:46:35,855 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-07-29 10:46:35,863 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8e7cc33-f874-4504-92cd-6159ee390a1e
2026-07-29 10:46:35,877 - DEBUG - Requesting: http://10.0.0.185:8082/project/199e1eae-10ec-454a-b4c4-f52fd434d674
2026-07-29 10:46:35,967 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/a277e437-c5bb-4865-bf2f-dfa976193011
2026-07-29 10:46:35,980 - DEBUG - ==>Verifying data for policy with id: 57976675-243c-4d13-a202-4ba294ee8e89, fqn: ['default-domain', 'ctest-TestBasicPolicy-95990047', 'ctest-policy-allow-all-85771195']
2026-07-29 10:46:35,980 - INFO - VN ctest-vn-05865582 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-29 10:46:35,980 - DEBUG - Verifying the vn in opserver
2026-07-29 10:46:35,981 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-05865582 virtual network link through opserver 10.0.0.185
2026-07-29 10:46:35,981 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-07-29 10:46:36,362 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-07-29 10:46:36,428 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-05865582', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-05865582?flat'}
2026-07-29 10:46:36,428 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-05865582 is found in opserver
2026-07-29 10:46:36,444 - DEBUG - Do not have enough data to verify VN in agent
2026-07-29 10:46:36,450 - DEBUG - VRF ids for VN ctest-vn-05865582: {}
2026-07-29 10:46:36,451 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-07-29 10:46:36,457 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8e7cc33-f874-4504-92cd-6159ee390a1e
2026-07-29 10:46:36,471 - DEBUG - Requesting: http://10.0.0.185:8082/project/199e1eae-10ec-454a-b4c4-f52fd434d674
2026-07-29 10:46:36,551 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/afabc3b3-97e2-4375-ac8b-652053dea8fe
2026-07-29 10:46:36,568 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/afabc3b3-97e2-4375-ac8b-652053dea8fe
2026-07-29 10:46:36,582 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3c554a4d-098b-419c-a9ab-4fcdfeb06105
2026-07-29 10:46:36,592 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3c554a4d-098b-419c-a9ab-4fcdfeb06105
2026-07-29 10:46:36,599 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/3b8d7e15-2adb-4fc0-a916-233a9e990506
2026-07-29 10:46:36,606 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-29 10:46:36,606 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/afabc3b3-97e2-4375-ac8b-652053dea8fe
2026-07-29 10:46:36,617 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3c554a4d-098b-419c-a9ab-4fcdfeb06105
2026-07-29 10:46:36,636 - INFO - Verified VN network id 12 for VN afabc3b3-97e2-4375-ac8b-652053dea8fe
2026-07-29 10:46:36,636 - INFO - Verifications in API Server for VN ctest-vn-00177157 passed
2026-07-29 10:46:36,636 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/afabc3b3-97e2-4375-ac8b-652053dea8fe
2026-07-29 10:46:36,649 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3c554a4d-098b-419c-a9ab-4fcdfeb06105
2026-07-29 10:46:36,658 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3c554a4d-098b-419c-a9ab-4fcdfeb06105
2026-07-29 10:46:36,668 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/3b8d7e15-2adb-4fc0-a916-233a9e990506
2026-07-29 10:46:36,688 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-00177157', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95990047', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12658426353769661301', 'uuid-lslong': '12433142385806846206'}, 'enable': 'true', 'created': '2026-07-29T10:46:33', 'last-modified': '2026-07-29T10:46:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.737697'}
2026-07-29 10:46:36,700 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-29 10:46:36,700 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00177157 passed
2026-07-29 10:46:36,700 - DEBUG - ====Verifying policy data for ctest-vn-00177157 in API_Server ======
2026-07-29 10:46:36,701 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-07-29 10:46:36,708 - DEBUG - Requesting: http://10.0.0.185:8082/domain/a8e7cc33-f874-4504-92cd-6159ee390a1e
2026-07-29 10:46:36,724 - DEBUG - Requesting: http://10.0.0.185:8082/project/199e1eae-10ec-454a-b4c4-f52fd434d674
2026-07-29 10:46:36,808 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/afabc3b3-97e2-4375-ac8b-652053dea8fe
2026-07-29 10:46:36,820 - DEBUG - ==>Verifying data for policy with id: 57976675-243c-4d13-a202-4ba294ee8e89, fqn: ['default-domain', 'ctest-TestBasicPolicy-95990047', 'ctest-policy-allow-all-85771195']
2026-07-29 10:46:36,820 - INFO - VN ctest-vn-00177157 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-29 10:46:36,820 - DEBUG - Verifying the vn in opserver
2026-07-29 10:46:36,820 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-00177157 virtual network link through opserver 10.0.0.185
2026-07-29 10:46:36,820 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-07-29 10:46:36,835 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-00177157', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-00177157?flat'}
2026-07-29 10:46:36,835 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95990047:ctest-vn-00177157 is found in opserver
2026-07-29 10:46:36,847 - DEBUG - Do not have enough data to verify VN in agent
2026-07-29 10:46:36,853 - DEBUG - VRF ids for VN ctest-vn-00177157: {}
2026-07-29 10:46:36,937 - DEBUG - Services list from nova: [