2025-12-29 02:13:14,967 - INFO - Domain Default found not creating
2025-12-29 02:13:15,164 - INFO - Project ctest-TestBasicPolicy-23437016 not found, creating it
2025-12-29 02:13:15,653 - INFO - Created Project:ctest-TestBasicPolicy-23437016, ID : 999d4f66-11a5-41a7-ad1c-30a715d76ae9
2025-12-29 02:13:17,152 - INFO - ================================================================================
2025-12-29 02:13:17,153 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-29 02:13:17,153 - 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
2025-12-29 02:13:17,418 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.242': '0'}} with
2025-12-29 02:13:17,419 - INFO - Initial checks done. Running the testcase now
2025-12-29 02:13:17,419 - INFO -
2025-12-29 02:13:18,040 - DEBUG - Response for create_network : {'network': {'id': '3b8c79e8-183a-4fa0-a254-833503514cdb', 'name': 'ctest-vn-01122934', 'tenant_id': '999d4f6611a541a7ad1c30a715d76ae9', 'project_id': '999d4f6611a541a7ad1c30a715d76ae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23437016', 'ctest-vn-01122934'], 'port_security_enabled': True, 'description': ''}}
2025-12-29 02:13:18,227 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cbe4468b-29ec-41b8-aa96-0c234219d0d7', 'name': '', 'tenant_id': '999d4f6611a541a7ad1c30a715d76ae9', 'network_id': '3b8c79e8-183a-4fa0-a254-833503514cdb', 'ip_version': 4, 'cidr': '46.182.101.192/26', 'allocation_pools': [{'start': '46.182.101.194', 'end': '46.182.101.254'}], 'gateway_ip': '46.182.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.182.101.194', 'tags': [], 'project_id': '999d4f6611a541a7ad1c30a715d76ae9'}}
2025-12-29 02:13:18,248 - INFO - Created VN ctest-vn-01122934
2025-12-29 02:13:18,299 - DEBUG - VN ctest-vn-01122934 UUID is 3b8c79e8-183a-4fa0-a254-833503514cdb
2025-12-29 02:13:18,583 - DEBUG - Response for create_network : {'network': {'id': 'bb0415b4-ea1e-476d-98f4-57830cf822ce', 'name': 'ctest-vn-89771196', 'tenant_id': '999d4f6611a541a7ad1c30a715d76ae9', 'project_id': '999d4f6611a541a7ad1c30a715d76ae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23437016', 'ctest-vn-89771196'], 'port_security_enabled': True, 'description': ''}}
2025-12-29 02:13:18,811 - DEBUG - Response for create_subnet : {'subnet': {'id': '97c4b1d2-9dee-4995-8eb2-a85a7cf01427', 'name': '', 'tenant_id': '999d4f6611a541a7ad1c30a715d76ae9', 'network_id': 'bb0415b4-ea1e-476d-98f4-57830cf822ce', 'ip_version': 4, 'cidr': '13.59.43.192/26', 'allocation_pools': [{'start': '13.59.43.194', 'end': '13.59.43.254'}], 'gateway_ip': '13.59.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.59.43.194', 'tags': [], 'project_id': '999d4f6611a541a7ad1c30a715d76ae9'}}
2025-12-29 02:13:18,829 - INFO - Created VN ctest-vn-89771196
2025-12-29 02:13:18,883 - DEBUG - VN ctest-vn-89771196 UUID is bb0415b4-ea1e-476d-98f4-57830cf822ce
2025-12-29 02:13:19,031 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-01122934, 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-23437016:ctest-vn-89771196, 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]
2025-12-29 02:13:19,326 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3b8c79e8-183a-4fa0-a254-833503514cdb', 'name': 'ctest-vn-01122934', 'tenant_id': '999d4f6611a541a7ad1c30a715d76ae9', 'project_id': '999d4f6611a541a7ad1c30a715d76ae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cbe4468b-29ec-41b8-aa96-0c234219d0d7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23437016', 'ctest-vn-01122934'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23437016', 'ctest-policy-allow-all-86269233']], 'subnet_ipam': [{'subnet_cidr': '46.182.101.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-29 02:13:19,603 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bb0415b4-ea1e-476d-98f4-57830cf822ce', 'name': 'ctest-vn-89771196', 'tenant_id': '999d4f6611a541a7ad1c30a715d76ae9', 'project_id': '999d4f6611a541a7ad1c30a715d76ae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['97c4b1d2-9dee-4995-8eb2-a85a7cf01427'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23437016', 'ctest-vn-89771196'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23437016', 'ctest-policy-allow-all-86269233']], 'subnet_ipam': [{'subnet_cidr': '13.59.43.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-29 02:13:19,763 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-29 02:13:20,065 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-29 02:13:20,104 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3fd6e016-3db4-43ff-829c-7c4cfc4af3f5
2025-12-29 02:13:20,117 - DEBUG - Requesting: http://10.0.0.19:8082/project/999d4f66-11a5-41a7-ad1c-30a715d76ae9
2025-12-29 02:13:20,194 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b8c79e8-183a-4fa0-a254-833503514cdb
2025-12-29 02:13:20,204 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b8c79e8-183a-4fa0-a254-833503514cdb
2025-12-29 02:13:20,213 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f87fece5-403e-4c72-ae09-1797ac6efbca
2025-12-29 02:13:20,220 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f87fece5-403e-4c72-ae09-1797ac6efbca
2025-12-29 02:13:20,227 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/b5ee7ae4-005b-49d9-a29d-fd12126cdfa4
2025-12-29 02:13:20,233 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-29 02:13:20,233 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b8c79e8-183a-4fa0-a254-833503514cdb
2025-12-29 02:13:20,242 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f87fece5-403e-4c72-ae09-1797ac6efbca
2025-12-29 02:13:20,256 - INFO - Verified VN network id 11 for VN 3b8c79e8-183a-4fa0-a254-833503514cdb
2025-12-29 02:13:20,256 - INFO - Verifications in API Server for VN ctest-vn-01122934 passed
2025-12-29 02:13:20,256 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b8c79e8-183a-4fa0-a254-833503514cdb
2025-12-29 02:13:20,265 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f87fece5-403e-4c72-ae09-1797ac6efbca
2025-12-29 02:13:20,272 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f87fece5-403e-4c72-ae09-1797ac6efbca
2025-12-29 02:13:20,282 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/b5ee7ae4-005b-49d9-a29d-fd12126cdfa4
2025-12-29 02:13:20,295 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-01122934', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23437016', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4290938582723088288', 'uuid-lslong': '11697118395900185819'}, 'enable': 'true', 'created': '2025-12-29T02:13:18', 'last-modified': '2025-12-29T02:13:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.989084'}
2025-12-29 02:13:20,301 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-29 02:13:20,301 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01122934 passed
2025-12-29 02:13:20,302 - DEBUG - ====Verifying policy data for ctest-vn-01122934 in API_Server ======
2025-12-29 02:13:20,302 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-29 02:13:20,307 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3fd6e016-3db4-43ff-829c-7c4cfc4af3f5
2025-12-29 02:13:20,317 - DEBUG - Requesting: http://10.0.0.19:8082/project/999d4f66-11a5-41a7-ad1c-30a715d76ae9
2025-12-29 02:13:20,394 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b8c79e8-183a-4fa0-a254-833503514cdb
2025-12-29 02:13:20,404 - DEBUG - ==>Verifying data for policy with id: d577bd42-6882-4fea-b4d4-73a2ac9d3d8b, fqn: ['default-domain', 'ctest-TestBasicPolicy-23437016', 'ctest-policy-allow-all-86269233']
2025-12-29 02:13:20,404 - INFO - VN ctest-vn-01122934 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-29 02:13:20,404 - DEBUG - Verifying the vn in opserver
2025-12-29 02:13:20,404 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-01122934 virtual network link through opserver 10.0.0.19
2025-12-29 02:13:20,404 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-12-29 02:13:20,714 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-12-29 02:13:20,773 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-01122934', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-01122934?flat'}
2025-12-29 02:13:20,773 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-01122934 is found in opserver
2025-12-29 02:13:20,782 - DEBUG - Do not have enough data to verify VN in agent
2025-12-29 02:13:20,787 - DEBUG - VRF ids for VN ctest-vn-01122934: {}
2025-12-29 02:13:20,787 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-29 02:13:20,792 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3fd6e016-3db4-43ff-829c-7c4cfc4af3f5
2025-12-29 02:13:20,802 - DEBUG - Requesting: http://10.0.0.19:8082/project/999d4f66-11a5-41a7-ad1c-30a715d76ae9
2025-12-29 02:13:20,874 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bb0415b4-ea1e-476d-98f4-57830cf822ce
2025-12-29 02:13:20,885 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bb0415b4-ea1e-476d-98f4-57830cf822ce
2025-12-29 02:13:20,893 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/af48335e-2d67-4ce2-9597-a4f28518ec4f
2025-12-29 02:13:20,900 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/af48335e-2d67-4ce2-9597-a4f28518ec4f
2025-12-29 02:13:20,906 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/083c87a4-ce87-4f73-b097-7674f79b30ba
2025-12-29 02:13:20,912 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-29 02:13:20,912 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bb0415b4-ea1e-476d-98f4-57830cf822ce
2025-12-29 02:13:20,920 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/af48335e-2d67-4ce2-9597-a4f28518ec4f
2025-12-29 02:13:20,933 - INFO - Verified VN network id 12 for VN bb0415b4-ea1e-476d-98f4-57830cf822ce
2025-12-29 02:13:20,933 - INFO - Verifications in API Server for VN ctest-vn-89771196 passed
2025-12-29 02:13:20,933 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bb0415b4-ea1e-476d-98f4-57830cf822ce
2025-12-29 02:13:20,942 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/af48335e-2d67-4ce2-9597-a4f28518ec4f
2025-12-29 02:13:20,948 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/af48335e-2d67-4ce2-9597-a4f28518ec4f
2025-12-29 02:13:20,955 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/083c87a4-ce87-4f73-b097-7674f79b30ba
2025-12-29 02:13:20,965 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-89771196', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23437016', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13475919851765516141', 'uuid-lslong': '11021530408452367054'}, 'enable': 'true', 'created': '2025-12-29T02:13:18', 'last-modified': '2025-12-29T02:13:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.430645'}
2025-12-29 02:13:20,971 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-29 02:13:20,971 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89771196 passed
2025-12-29 02:13:20,971 - DEBUG - ====Verifying policy data for ctest-vn-89771196 in API_Server ======
2025-12-29 02:13:20,971 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-12-29 02:13:20,978 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3fd6e016-3db4-43ff-829c-7c4cfc4af3f5
2025-12-29 02:13:20,988 - DEBUG - Requesting: http://10.0.0.19:8082/project/999d4f66-11a5-41a7-ad1c-30a715d76ae9
2025-12-29 02:13:21,061 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bb0415b4-ea1e-476d-98f4-57830cf822ce
2025-12-29 02:13:21,071 - DEBUG - ==>Verifying data for policy with id: d577bd42-6882-4fea-b4d4-73a2ac9d3d8b, fqn: ['default-domain', 'ctest-TestBasicPolicy-23437016', 'ctest-policy-allow-all-86269233']
2025-12-29 02:13:21,071 - INFO - VN ctest-vn-89771196 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-29 02:13:21,071 - DEBUG - Verifying the vn in opserver
2025-12-29 02:13:21,071 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-89771196 virtual network link through opserver 10.0.0.19
2025-12-29 02:13:21,071 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-12-29 02:13:21,079 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-89771196', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-89771196?flat'}
2025-12-29 02:13:21,079 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-89771196 is found in opserver
2025-12-29 02:13:21,088 - DEBUG - Do not have enough data to verify VN in agent
2025-12-29 02:13:21,093 - DEBUG - VRF ids for VN ctest-vn-89771196: {}
2025-12-29 02:13:21,153 - DEBUG - Services list from nova: [