2026-10-31 00:27:11,050 - INFO - Domain Default found not creating
2026-10-31 00:27:11,194 - INFO - Project ctest-TestBasicPolicy-51761549 not found, creating it
2026-10-31 00:27:11,631 - INFO - Created Project:ctest-TestBasicPolicy-51761549, ID : 1b8cbda2-14a7-4dff-a51c-f6cbc0363e90
2026-10-31 00:27:13,090 - INFO - ================================================================================
2026-10-31 00:27:13,090 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-31 00:27:13,090 - 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-10-31 00:27:13,348 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with
2026-10-31 00:27:13,348 - INFO - Initial checks done. Running the testcase now
2026-10-31 00:27:13,348 - INFO -
2026-10-31 00:27:13,883 - DEBUG - Response for create_network : {'network': {'id': 'ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0', 'name': 'ctest-vn-31330424', 'tenant_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'project_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51761549', 'ctest-vn-31330424'], 'port_security_enabled': True, 'description': ''}}
2026-10-31 00:27:14,057 - DEBUG - Response for create_subnet : {'subnet': {'id': '30ecbe64-a3f9-43ae-a5be-8b1bbfd4c6db', 'name': '', 'tenant_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'network_id': 'ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0', 'ip_version': 4, 'cidr': '103.207.31.192/26', 'allocation_pools': [{'start': '103.207.31.194', 'end': '103.207.31.254'}], 'gateway_ip': '103.207.31.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.207.31.194', 'tags': [], 'project_id': '1b8cbda214a74dffa51cf6cbc0363e90'}}
2026-10-31 00:27:14,071 - INFO - Created VN ctest-vn-31330424
2026-10-31 00:27:14,123 - DEBUG - VN ctest-vn-31330424 UUID is ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0
2026-10-31 00:27:14,421 - DEBUG - Response for create_network : {'network': {'id': '42104968-6e50-4bb7-ae37-335f495dab7f', 'name': 'ctest-vn-03178879', 'tenant_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'project_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51761549', 'ctest-vn-03178879'], 'port_security_enabled': True, 'description': ''}}
2026-10-31 00:27:14,560 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a5fd6ae-b0cd-46ee-8a91-d36c0a14ec7c', 'name': '', 'tenant_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'network_id': '42104968-6e50-4bb7-ae37-335f495dab7f', 'ip_version': 4, 'cidr': '21.122.192.128/26', 'allocation_pools': [{'start': '21.122.192.130', 'end': '21.122.192.190'}], 'gateway_ip': '21.122.192.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.122.192.130', 'tags': [], 'project_id': '1b8cbda214a74dffa51cf6cbc0363e90'}}
2026-10-31 00:27:14,573 - INFO - Created VN ctest-vn-03178879
2026-10-31 00:27:14,623 - DEBUG - VN ctest-vn-03178879 UUID is 42104968-6e50-4bb7-ae37-335f495dab7f
2026-10-31 00:27:14,755 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-31330424, 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-51761549:ctest-vn-03178879, 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-10-31 00:27:15,047 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0', 'name': 'ctest-vn-31330424', 'tenant_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'project_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['30ecbe64-a3f9-43ae-a5be-8b1bbfd4c6db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51761549', 'ctest-vn-31330424'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51761549', 'ctest-policy-allow-all-80764818']], 'subnet_ipam': [{'subnet_cidr': '103.207.31.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-31 00:27:15,266 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '42104968-6e50-4bb7-ae37-335f495dab7f', 'name': 'ctest-vn-03178879', 'tenant_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'project_id': '1b8cbda214a74dffa51cf6cbc0363e90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['6a5fd6ae-b0cd-46ee-8a91-d36c0a14ec7c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51761549', 'ctest-vn-03178879'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51761549', 'ctest-policy-allow-all-80764818']], 'subnet_ipam': [{'subnet_cidr': '21.122.192.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-31 00:27:15,431 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-10-31 00:27:15,746 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-10-31 00:27:15,770 - DEBUG - Requesting: http://10.0.0.177:8082/domain/26f98261-18cb-4a0f-9a0b-df0d3247dd8e
2026-10-31 00:27:15,780 - DEBUG - Requesting: http://10.0.0.177:8082/project/1b8cbda2-14a7-4dff-a51c-f6cbc0363e90
2026-10-31 00:27:15,851 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0
2026-10-31 00:27:15,860 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0
2026-10-31 00:27:15,868 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/c9d62e4a-93b9-4725-8f91-a96065ebf238
2026-10-31 00:27:15,874 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/c9d62e4a-93b9-4725-8f91-a96065ebf238
2026-10-31 00:27:15,879 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/b10adf9f-c367-4930-97f2-60bd84fd59d0
2026-10-31 00:27:15,884 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-31 00:27:15,884 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0
2026-10-31 00:27:15,890 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/c9d62e4a-93b9-4725-8f91-a96065ebf238
2026-10-31 00:27:15,901 - INFO - Verified VN network id 11 for VN ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0
2026-10-31 00:27:15,901 - INFO - Verifications in API Server for VN ctest-vn-31330424 passed
2026-10-31 00:27:15,901 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0
2026-10-31 00:27:15,908 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/c9d62e4a-93b9-4725-8f91-a96065ebf238
2026-10-31 00:27:15,914 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/c9d62e4a-93b9-4725-8f91-a96065ebf238
2026-10-31 00:27:15,919 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/b10adf9f-c367-4930-97f2-60bd84fd59d0
2026-10-31 00:27:15,928 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-31330424', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51761549', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15979151558266605118', 'uuid-lslong': '11143072716272820160'}, 'enable': 'true', 'created': '2026-10-31T00:27:13', 'last-modified': '2026-10-31T00:27:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.899780'}
2026-10-31 00:27:15,933 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-31 00:27:15,933 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31330424 passed
2026-10-31 00:27:15,934 - DEBUG - ====Verifying policy data for ctest-vn-31330424 in API_Server ======
2026-10-31 00:27:15,934 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-10-31 00:27:15,938 - DEBUG - Requesting: http://10.0.0.177:8082/domain/26f98261-18cb-4a0f-9a0b-df0d3247dd8e
2026-10-31 00:27:15,946 - DEBUG - Requesting: http://10.0.0.177:8082/project/1b8cbda2-14a7-4dff-a51c-f6cbc0363e90
2026-10-31 00:27:16,011 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ddc159ae-5a9c-4e3e-9aa4-2598cfc9dfc0
2026-10-31 00:27:16,019 - DEBUG - ==>Verifying data for policy with id: fa942448-b33d-4461-b7b7-a236472547a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-51761549', 'ctest-policy-allow-all-80764818']
2026-10-31 00:27:16,019 - INFO - VN ctest-vn-31330424 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-31 00:27:16,019 - DEBUG - Verifying the vn in opserver
2026-10-31 00:27:16,019 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-31330424 virtual network link through opserver 10.0.0.177
2026-10-31 00:27:16,019 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-10-31 00:27:16,331 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-10-31 00:27:16,375 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-31330424', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-31330424?flat'}
2026-10-31 00:27:16,375 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-31330424 is found in opserver
2026-10-31 00:27:16,383 - DEBUG - Do not have enough data to verify VN in agent
2026-10-31 00:27:16,389 - DEBUG - VRF ids for VN ctest-vn-31330424: {}
2026-10-31 00:27:16,389 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-10-31 00:27:16,394 - DEBUG - Requesting: http://10.0.0.177:8082/domain/26f98261-18cb-4a0f-9a0b-df0d3247dd8e
2026-10-31 00:27:16,403 - DEBUG - Requesting: http://10.0.0.177:8082/project/1b8cbda2-14a7-4dff-a51c-f6cbc0363e90
2026-10-31 00:27:16,468 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/42104968-6e50-4bb7-ae37-335f495dab7f
2026-10-31 00:27:16,478 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/42104968-6e50-4bb7-ae37-335f495dab7f
2026-10-31 00:27:16,485 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b02c92c6-3d5a-42e9-91fe-dfbaae631477
2026-10-31 00:27:16,490 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b02c92c6-3d5a-42e9-91fe-dfbaae631477
2026-10-31 00:27:16,495 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/00506b79-f101-4697-9cc4-2496fa341c5f
2026-10-31 00:27:16,499 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-31 00:27:16,499 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/42104968-6e50-4bb7-ae37-335f495dab7f
2026-10-31 00:27:16,506 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b02c92c6-3d5a-42e9-91fe-dfbaae631477
2026-10-31 00:27:16,517 - INFO - Verified VN network id 12 for VN 42104968-6e50-4bb7-ae37-335f495dab7f
2026-10-31 00:27:16,517 - INFO - Verifications in API Server for VN ctest-vn-03178879 passed
2026-10-31 00:27:16,517 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/42104968-6e50-4bb7-ae37-335f495dab7f
2026-10-31 00:27:16,524 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b02c92c6-3d5a-42e9-91fe-dfbaae631477
2026-10-31 00:27:16,530 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b02c92c6-3d5a-42e9-91fe-dfbaae631477
2026-10-31 00:27:16,536 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/00506b79-f101-4697-9cc4-2496fa341c5f
2026-10-31 00:27:16,546 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-03178879', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51761549', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4760385519006796727', 'uuid-lslong': '12553558970664332159'}, 'enable': 'true', 'created': '2026-10-31T00:27:14', 'last-modified': '2026-10-31T00:27:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.296948'}
2026-10-31 00:27:16,551 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-31 00:27:16,551 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03178879 passed
2026-10-31 00:27:16,552 - DEBUG - ====Verifying policy data for ctest-vn-03178879 in API_Server ======
2026-10-31 00:27:16,552 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-10-31 00:27:16,557 - DEBUG - Requesting: http://10.0.0.177:8082/domain/26f98261-18cb-4a0f-9a0b-df0d3247dd8e
2026-10-31 00:27:16,568 - DEBUG - Requesting: http://10.0.0.177:8082/project/1b8cbda2-14a7-4dff-a51c-f6cbc0363e90
2026-10-31 00:27:16,641 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/42104968-6e50-4bb7-ae37-335f495dab7f
2026-10-31 00:27:16,650 - DEBUG - ==>Verifying data for policy with id: fa942448-b33d-4461-b7b7-a236472547a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-51761549', 'ctest-policy-allow-all-80764818']
2026-10-31 00:27:16,650 - INFO - VN ctest-vn-03178879 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-31 00:27:16,650 - DEBUG - Verifying the vn in opserver
2026-10-31 00:27:16,650 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-03178879 virtual network link through opserver 10.0.0.177
2026-10-31 00:27:16,650 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-10-31 00:27:16,659 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-03178879', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-03178879?flat'}
2026-10-31 00:27:16,659 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51761549:ctest-vn-03178879 is found in opserver
2026-10-31 00:27:16,670 - DEBUG - Do not have enough data to verify VN in agent
2026-10-31 00:27:16,675 - DEBUG - VRF ids for VN ctest-vn-03178879: {}
2026-10-31 00:27:16,722 - DEBUG - Services list from nova: [