2026-09-04 17:12:23,848 - INFO - Domain Default found not creating
2026-09-04 17:12:24,013 - INFO - Project ctest-TestBasicPolicy-69668846 not found, creating it
2026-09-04 17:12:24,494 - INFO - Created Project:ctest-TestBasicPolicy-69668846, ID : 4a70538c-4df8-4fe9-a3f2-1b13c0d2af97
2026-09-04 17:12:26,044 - INFO - ================================================================================
2026-09-04 17:12:26,044 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-04 17:12:26,044 - 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-04 17:12:26,311 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with
2026-09-04 17:12:26,311 - INFO - Initial checks done. Running the testcase now
2026-09-04 17:12:26,311 - INFO -
2026-09-04 17:12:26,921 - DEBUG - Response for create_network : {'network': {'id': 'd87b2c01-dee3-40f4-973c-6eda5bbbf7e5', 'name': 'ctest-vn-02329784', 'tenant_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'project_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69668846', 'ctest-vn-02329784'], 'port_security_enabled': True, 'description': ''}}
2026-09-04 17:12:27,107 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ded11b6-dcae-4b82-9821-1a02f31ff0cc', 'name': '', 'tenant_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'network_id': 'd87b2c01-dee3-40f4-973c-6eda5bbbf7e5', 'ip_version': 4, 'cidr': '21.90.163.64/26', 'allocation_pools': [{'start': '21.90.163.66', 'end': '21.90.163.126'}], 'gateway_ip': '21.90.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.90.163.66', 'tags': [], 'project_id': '4a70538c4df84fe9a3f21b13c0d2af97'}}
2026-09-04 17:12:27,125 - INFO - Created VN ctest-vn-02329784
2026-09-04 17:12:27,177 - DEBUG - VN ctest-vn-02329784 UUID is d87b2c01-dee3-40f4-973c-6eda5bbbf7e5
2026-09-04 17:12:27,523 - DEBUG - Response for create_network : {'network': {'id': 'c54ae023-0e5e-456f-b621-e08e04cafc18', 'name': 'ctest-vn-77613511', 'tenant_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'project_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69668846', 'ctest-vn-77613511'], 'port_security_enabled': True, 'description': ''}}
2026-09-04 17:12:27,696 - DEBUG - Response for create_subnet : {'subnet': {'id': '0466b253-cc33-408f-abb2-1acf6dd579ba', 'name': '', 'tenant_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'network_id': 'c54ae023-0e5e-456f-b621-e08e04cafc18', 'ip_version': 4, 'cidr': '39.234.174.192/26', 'allocation_pools': [{'start': '39.234.174.194', 'end': '39.234.174.254'}], 'gateway_ip': '39.234.174.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.234.174.194', 'tags': [], 'project_id': '4a70538c4df84fe9a3f21b13c0d2af97'}}
2026-09-04 17:12:27,714 - INFO - Created VN ctest-vn-77613511
2026-09-04 17:12:27,768 - DEBUG - VN ctest-vn-77613511 UUID is c54ae023-0e5e-456f-b621-e08e04cafc18
2026-09-04 17:12:27,882 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-02329784, 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-69668846:ctest-vn-77613511, 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-04 17:12:28,207 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd87b2c01-dee3-40f4-973c-6eda5bbbf7e5', 'name': 'ctest-vn-02329784', 'tenant_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'project_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5ded11b6-dcae-4b82-9821-1a02f31ff0cc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69668846', 'ctest-vn-02329784'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69668846', 'ctest-policy-allow-all-65680255']], 'subnet_ipam': [{'subnet_cidr': '21.90.163.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-04 17:12:28,445 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c54ae023-0e5e-456f-b621-e08e04cafc18', 'name': 'ctest-vn-77613511', 'tenant_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'project_id': '4a70538c4df84fe9a3f21b13c0d2af97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0466b253-cc33-408f-abb2-1acf6dd579ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69668846', 'ctest-vn-77613511'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69668846', 'ctest-policy-allow-all-65680255']], 'subnet_ipam': [{'subnet_cidr': '39.234.174.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-04 17:12:28,612 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-04 17:12:28,941 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-04 17:12:28,971 - DEBUG - Requesting: http://10.0.0.177:8082/domain/dca8c92f-f971-435f-a823-b93f140e1a69
2026-09-04 17:12:28,985 - DEBUG - Requesting: http://10.0.0.177:8082/project/4a70538c-4df8-4fe9-a3f2-1b13c0d2af97
2026-09-04 17:12:29,062 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d87b2c01-dee3-40f4-973c-6eda5bbbf7e5
2026-09-04 17:12:29,075 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d87b2c01-dee3-40f4-973c-6eda5bbbf7e5
2026-09-04 17:12:29,086 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/9900dc28-dd65-4539-8134-38d9bfddff7f
2026-09-04 17:12:29,095 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/9900dc28-dd65-4539-8134-38d9bfddff7f
2026-09-04 17:12:29,102 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/23c198f0-85eb-4a15-b89f-6acaaf918de3
2026-09-04 17:12:29,108 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-04 17:12:29,109 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d87b2c01-dee3-40f4-973c-6eda5bbbf7e5
2026-09-04 17:12:29,118 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/9900dc28-dd65-4539-8134-38d9bfddff7f
2026-09-04 17:12:29,134 - INFO - Verified VN network id 12 for VN d87b2c01-dee3-40f4-973c-6eda5bbbf7e5
2026-09-04 17:12:29,134 - INFO - Verifications in API Server for VN ctest-vn-02329784 passed
2026-09-04 17:12:29,134 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d87b2c01-dee3-40f4-973c-6eda5bbbf7e5
2026-09-04 17:12:29,144 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/9900dc28-dd65-4539-8134-38d9bfddff7f
2026-09-04 17:12:29,152 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/9900dc28-dd65-4539-8134-38d9bfddff7f
2026-09-04 17:12:29,161 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/23c198f0-85eb-4a15-b89f-6acaaf918de3
2026-09-04 17:12:29,175 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-02329784', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69668846', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15599110120873869556', 'uuid-lslong': '10897707082450728933'}, 'enable': 'true', 'created': '2026-09-04T17:12:26', 'last-modified': '2026-09-04T17:12:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.007071'}
2026-09-04 17:12:29,182 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-04 17:12:29,182 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02329784 passed
2026-09-04 17:12:29,182 - DEBUG - ====Verifying policy data for ctest-vn-02329784 in API_Server ======
2026-09-04 17:12:29,182 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-04 17:12:29,188 - DEBUG - Requesting: http://10.0.0.177:8082/domain/dca8c92f-f971-435f-a823-b93f140e1a69
2026-09-04 17:12:29,199 - DEBUG - Requesting: http://10.0.0.177:8082/project/4a70538c-4df8-4fe9-a3f2-1b13c0d2af97
2026-09-04 17:12:29,278 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d87b2c01-dee3-40f4-973c-6eda5bbbf7e5
2026-09-04 17:12:29,289 - DEBUG - ==>Verifying data for policy with id: da92015f-5e84-45b6-8aca-d2cb0fd280c7, fqn: ['default-domain', 'ctest-TestBasicPolicy-69668846', 'ctest-policy-allow-all-65680255']
2026-09-04 17:12:29,289 - INFO - VN ctest-vn-02329784 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-04 17:12:29,289 - DEBUG - Verifying the vn in opserver
2026-09-04 17:12:29,289 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-02329784 virtual network link through opserver 10.0.0.177
2026-09-04 17:12:29,290 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-04 17:12:29,609 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-04 17:12:29,660 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-02329784', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-02329784?flat'}
2026-09-04 17:12:29,660 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-02329784 is found in opserver
2026-09-04 17:12:29,672 - DEBUG - Do not have enough data to verify VN in agent
2026-09-04 17:12:29,677 - DEBUG - VRF ids for VN ctest-vn-02329784: {}
2026-09-04 17:12:29,677 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-04 17:12:29,683 - DEBUG - Requesting: http://10.0.0.177:8082/domain/dca8c92f-f971-435f-a823-b93f140e1a69
2026-09-04 17:12:29,693 - DEBUG - Requesting: http://10.0.0.177:8082/project/4a70538c-4df8-4fe9-a3f2-1b13c0d2af97
2026-09-04 17:12:29,769 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c54ae023-0e5e-456f-b621-e08e04cafc18
2026-09-04 17:12:29,779 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c54ae023-0e5e-456f-b621-e08e04cafc18
2026-09-04 17:12:29,787 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/8bef2a1f-816c-4fbb-902c-0954d7577e62
2026-09-04 17:12:29,793 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/8bef2a1f-816c-4fbb-902c-0954d7577e62
2026-09-04 17:12:29,799 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/2b3f14b7-f6f7-45c1-872f-aa47b6a64cb2
2026-09-04 17:12:29,805 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-04 17:12:29,805 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c54ae023-0e5e-456f-b621-e08e04cafc18
2026-09-04 17:12:29,814 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/8bef2a1f-816c-4fbb-902c-0954d7577e62
2026-09-04 17:12:29,830 - INFO - Verified VN network id 13 for VN c54ae023-0e5e-456f-b621-e08e04cafc18
2026-09-04 17:12:29,830 - INFO - Verifications in API Server for VN ctest-vn-77613511 passed
2026-09-04 17:12:29,830 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c54ae023-0e5e-456f-b621-e08e04cafc18
2026-09-04 17:12:29,840 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/8bef2a1f-816c-4fbb-902c-0954d7577e62
2026-09-04 17:12:29,849 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/8bef2a1f-816c-4fbb-902c-0954d7577e62
2026-09-04 17:12:29,856 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/2b3f14b7-f6f7-45c1-872f-aa47b6a64cb2
2026-09-04 17:12:29,872 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-77613511', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69668846', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14216421614917928303', 'uuid-lslong': '13124017689704725528'}, 'enable': 'true', 'created': '2026-09-04T17:12:27', 'last-modified': '2026-09-04T17:12:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.456314'}
2026-09-04 17:12:29,879 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-04 17:12:29,879 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77613511 passed
2026-09-04 17:12:29,880 - DEBUG - ====Verifying policy data for ctest-vn-77613511 in API_Server ======
2026-09-04 17:12:29,880 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-04 17:12:29,886 - DEBUG - Requesting: http://10.0.0.177:8082/domain/dca8c92f-f971-435f-a823-b93f140e1a69
2026-09-04 17:12:29,897 - DEBUG - Requesting: http://10.0.0.177:8082/project/4a70538c-4df8-4fe9-a3f2-1b13c0d2af97
2026-09-04 17:12:29,977 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c54ae023-0e5e-456f-b621-e08e04cafc18
2026-09-04 17:12:29,989 - DEBUG - ==>Verifying data for policy with id: da92015f-5e84-45b6-8aca-d2cb0fd280c7, fqn: ['default-domain', 'ctest-TestBasicPolicy-69668846', 'ctest-policy-allow-all-65680255']
2026-09-04 17:12:29,990 - INFO - VN ctest-vn-77613511 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-04 17:12:29,990 - DEBUG - Verifying the vn in opserver
2026-09-04 17:12:29,990 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-77613511 virtual network link through opserver 10.0.0.177
2026-09-04 17:12:29,990 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-04 17:12:30,001 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-77613511', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-77613511?flat'}
2026-09-04 17:12:30,002 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69668846:ctest-vn-77613511 is found in opserver
2026-09-04 17:12:30,013 - DEBUG - Do not have enough data to verify VN in agent
2026-09-04 17:12:30,019 - DEBUG - VRF ids for VN ctest-vn-77613511: {}
2026-09-04 17:12:30,081 - DEBUG - Services list from nova: [