2026-02-02 13:09:59,515 - INFO - Domain Default found not creating
2026-02-02 13:09:59,694 - INFO - Project ctest-TestBasicPolicy-64187717 not found, creating it
2026-02-02 13:10:00,179 - INFO - Created Project:ctest-TestBasicPolicy-64187717, ID : 309da8bc-f21d-442a-9d47-3374f031f8b5
2026-02-02 13:10:01,853 - INFO - ================================================================================
2026-02-02 13:10:01,854 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-02 13:10:01,854 - 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-02-02 13:10:02,115 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with
2026-02-02 13:10:02,115 - INFO - Initial checks done. Running the testcase now
2026-02-02 13:10:02,115 - INFO -
2026-02-02 13:10:02,736 - DEBUG - Response for create_network : {'network': {'id': '4af3f176-b9b1-4b43-bec8-b94cd40446ff', 'name': 'ctest-vn-86584486', 'tenant_id': '309da8bcf21d442a9d473374f031f8b5', 'project_id': '309da8bcf21d442a9d473374f031f8b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64187717', 'ctest-vn-86584486'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 13:10:02,901 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f860b458-dda8-468a-9b21-f6f0246261e1', 'name': '', 'tenant_id': '309da8bcf21d442a9d473374f031f8b5', 'network_id': '4af3f176-b9b1-4b43-bec8-b94cd40446ff', 'ip_version': 4, 'cidr': '93.242.210.64/26', 'allocation_pools': [{'start': '93.242.210.66', 'end': '93.242.210.126'}], 'gateway_ip': '93.242.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.242.210.66', 'tags': [], 'project_id': '309da8bcf21d442a9d473374f031f8b5'}}
2026-02-02 13:10:02,921 - INFO - Created VN ctest-vn-86584486
2026-02-02 13:10:02,976 - DEBUG - VN ctest-vn-86584486 UUID is 4af3f176-b9b1-4b43-bec8-b94cd40446ff
2026-02-02 13:10:03,316 - DEBUG - Response for create_network : {'network': {'id': '5930c90b-b496-44a6-ae07-3399ef662a83', 'name': 'ctest-vn-71841419', 'tenant_id': '309da8bcf21d442a9d473374f031f8b5', 'project_id': '309da8bcf21d442a9d473374f031f8b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64187717', 'ctest-vn-71841419'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 13:10:03,522 - DEBUG - Response for create_subnet : {'subnet': {'id': '22be38bd-60c9-452a-a364-21f965337113', 'name': '', 'tenant_id': '309da8bcf21d442a9d473374f031f8b5', 'network_id': '5930c90b-b496-44a6-ae07-3399ef662a83', 'ip_version': 4, 'cidr': '75.183.60.192/26', 'allocation_pools': [{'start': '75.183.60.194', 'end': '75.183.60.254'}], 'gateway_ip': '75.183.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.183.60.194', 'tags': [], 'project_id': '309da8bcf21d442a9d473374f031f8b5'}}
2026-02-02 13:10:03,542 - INFO - Created VN ctest-vn-71841419
2026-02-02 13:10:03,596 - DEBUG - VN ctest-vn-71841419 UUID is 5930c90b-b496-44a6-ae07-3399ef662a83
2026-02-02 13:10:03,718 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-86584486, 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-64187717:ctest-vn-71841419, 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-02-02 13:10:04,028 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4af3f176-b9b1-4b43-bec8-b94cd40446ff', 'name': 'ctest-vn-86584486', 'tenant_id': '309da8bcf21d442a9d473374f031f8b5', 'project_id': '309da8bcf21d442a9d473374f031f8b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f860b458-dda8-468a-9b21-f6f0246261e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64187717', 'ctest-vn-86584486'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64187717', 'ctest-policy-allow-all-89871383']], 'subnet_ipam': [{'subnet_cidr': '93.242.210.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-02 13:10:04,272 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5930c90b-b496-44a6-ae07-3399ef662a83', 'name': 'ctest-vn-71841419', 'tenant_id': '309da8bcf21d442a9d473374f031f8b5', 'project_id': '309da8bcf21d442a9d473374f031f8b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['22be38bd-60c9-452a-a364-21f965337113'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64187717', 'ctest-vn-71841419'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64187717', 'ctest-policy-allow-all-89871383']], 'subnet_ipam': [{'subnet_cidr': '75.183.60.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-02 13:10:04,444 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-02-02 13:10:04,748 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-02-02 13:10:04,789 - DEBUG - Requesting: http://10.0.0.41:8082/domain/afca86ae-5a0b-4d74-a2b9-f8801d022134
2026-02-02 13:10:04,803 - DEBUG - Requesting: http://10.0.0.41:8082/project/309da8bc-f21d-442a-9d47-3374f031f8b5
2026-02-02 13:10:04,879 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4af3f176-b9b1-4b43-bec8-b94cd40446ff
2026-02-02 13:10:04,891 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4af3f176-b9b1-4b43-bec8-b94cd40446ff
2026-02-02 13:10:04,903 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f3b7823d-4305-4d86-86b7-f15d1ea31d86
2026-02-02 13:10:04,912 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f3b7823d-4305-4d86-86b7-f15d1ea31d86
2026-02-02 13:10:04,921 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/af04ef06-60fc-40d2-956d-bb56c660359d
2026-02-02 13:10:04,929 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-02 13:10:04,929 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4af3f176-b9b1-4b43-bec8-b94cd40446ff
2026-02-02 13:10:04,939 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f3b7823d-4305-4d86-86b7-f15d1ea31d86
2026-02-02 13:10:04,957 - INFO - Verified VN network id 9 for VN 4af3f176-b9b1-4b43-bec8-b94cd40446ff
2026-02-02 13:10:04,957 - INFO - Verifications in API Server for VN ctest-vn-86584486 passed
2026-02-02 13:10:04,957 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4af3f176-b9b1-4b43-bec8-b94cd40446ff
2026-02-02 13:10:04,969 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f3b7823d-4305-4d86-86b7-f15d1ea31d86
2026-02-02 13:10:04,977 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f3b7823d-4305-4d86-86b7-f15d1ea31d86
2026-02-02 13:10:04,986 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/af04ef06-60fc-40d2-956d-bb56c660359d
2026-02-02 13:10:05,000 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-86584486', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64187717', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5400925870371195715', 'uuid-lslong': '13747441602174142207'}, 'enable': 'true', 'created': '2026-02-02T13:10:02', 'last-modified': '2026-02-02T13:10:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.995386'}
2026-02-02 13:10:05,008 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-02 13:10:05,008 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86584486 passed
2026-02-02 13:10:05,008 - DEBUG - ====Verifying policy data for ctest-vn-86584486 in API_Server ======
2026-02-02 13:10:05,008 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-02-02 13:10:05,015 - DEBUG - Requesting: http://10.0.0.41:8082/domain/afca86ae-5a0b-4d74-a2b9-f8801d022134
2026-02-02 13:10:05,026 - DEBUG - Requesting: http://10.0.0.41:8082/project/309da8bc-f21d-442a-9d47-3374f031f8b5
2026-02-02 13:10:05,105 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4af3f176-b9b1-4b43-bec8-b94cd40446ff
2026-02-02 13:10:05,116 - DEBUG - ==>Verifying data for policy with id: b98bddb9-f551-4b55-b3bb-6b1d490886bf, fqn: ['default-domain', 'ctest-TestBasicPolicy-64187717', 'ctest-policy-allow-all-89871383']
2026-02-02 13:10:05,116 - INFO - VN ctest-vn-86584486 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-02 13:10:05,116 - DEBUG - Verifying the vn in opserver
2026-02-02 13:10:05,116 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-86584486 virtual network link through opserver 10.0.0.41
2026-02-02 13:10:05,117 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-02-02 13:10:05,421 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-02-02 13:10:05,495 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-86584486', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-86584486?flat'}
2026-02-02 13:10:05,495 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-86584486 is found in opserver
2026-02-02 13:10:05,505 - DEBUG - Do not have enough data to verify VN in agent
2026-02-02 13:10:05,510 - DEBUG - VRF ids for VN ctest-vn-86584486: {}
2026-02-02 13:10:05,510 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-02-02 13:10:05,516 - DEBUG - Requesting: http://10.0.0.41:8082/domain/afca86ae-5a0b-4d74-a2b9-f8801d022134
2026-02-02 13:10:05,529 - DEBUG - Requesting: http://10.0.0.41:8082/project/309da8bc-f21d-442a-9d47-3374f031f8b5
2026-02-02 13:10:05,607 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5930c90b-b496-44a6-ae07-3399ef662a83
2026-02-02 13:10:05,620 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5930c90b-b496-44a6-ae07-3399ef662a83
2026-02-02 13:10:05,629 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b332fcaf-8e96-4205-8268-fc524c83eac4
2026-02-02 13:10:05,636 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b332fcaf-8e96-4205-8268-fc524c83eac4
2026-02-02 13:10:05,644 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/15dd13b8-d489-41d8-ba7e-a66814b2cd99
2026-02-02 13:10:05,651 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-02 13:10:05,651 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5930c90b-b496-44a6-ae07-3399ef662a83
2026-02-02 13:10:05,660 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b332fcaf-8e96-4205-8268-fc524c83eac4
2026-02-02 13:10:05,675 - INFO - Verified VN network id 10 for VN 5930c90b-b496-44a6-ae07-3399ef662a83
2026-02-02 13:10:05,676 - INFO - Verifications in API Server for VN ctest-vn-71841419 passed
2026-02-02 13:10:05,676 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5930c90b-b496-44a6-ae07-3399ef662a83
2026-02-02 13:10:05,685 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b332fcaf-8e96-4205-8268-fc524c83eac4
2026-02-02 13:10:05,692 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b332fcaf-8e96-4205-8268-fc524c83eac4
2026-02-02 13:10:05,699 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/15dd13b8-d489-41d8-ba7e-a66814b2cd99
2026-02-02 13:10:05,712 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-71841419', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64187717', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6426857720369267878', 'uuid-lslong': '12540048423675898499'}, 'enable': 'true', 'created': '2026-02-02T13:10:03', 'last-modified': '2026-02-02T13:10:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.465965'}
2026-02-02 13:10:05,717 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-02 13:10:05,717 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71841419 passed
2026-02-02 13:10:05,718 - DEBUG - ====Verifying policy data for ctest-vn-71841419 in API_Server ======
2026-02-02 13:10:05,718 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-02-02 13:10:05,725 - DEBUG - Requesting: http://10.0.0.41:8082/domain/afca86ae-5a0b-4d74-a2b9-f8801d022134
2026-02-02 13:10:05,742 - DEBUG - Requesting: http://10.0.0.41:8082/project/309da8bc-f21d-442a-9d47-3374f031f8b5
2026-02-02 13:10:05,816 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5930c90b-b496-44a6-ae07-3399ef662a83
2026-02-02 13:10:05,827 - DEBUG - ==>Verifying data for policy with id: b98bddb9-f551-4b55-b3bb-6b1d490886bf, fqn: ['default-domain', 'ctest-TestBasicPolicy-64187717', 'ctest-policy-allow-all-89871383']
2026-02-02 13:10:05,827 - INFO - VN ctest-vn-71841419 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-02 13:10:05,827 - DEBUG - Verifying the vn in opserver
2026-02-02 13:10:05,827 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-71841419 virtual network link through opserver 10.0.0.41
2026-02-02 13:10:05,827 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-02-02 13:10:05,836 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-71841419', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-71841419?flat'}
2026-02-02 13:10:05,837 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-71841419 is found in opserver
2026-02-02 13:10:05,846 - DEBUG - Do not have enough data to verify VN in agent
2026-02-02 13:10:05,850 - DEBUG - VRF ids for VN ctest-vn-71841419: {}
2026-02-02 13:10:05,921 - DEBUG - Services list from nova: [