2026-02-04 06:31:03,840 - INFO - Domain Default found not creating
2026-02-04 06:31:04,022 - INFO - Project ctest-TestBasicPolicy-62688714 not found, creating it
2026-02-04 06:31:04,508 - INFO - Created Project:ctest-TestBasicPolicy-62688714, ID : b3d7d571-0819-46c6-9b10-2d9cae8d8081
2026-02-04 06:31:06,165 - INFO - ================================================================================
2026-02-04 06:31:06,165 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-04 06:31:06,165 - 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-04 06:31:06,424 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-04 06:31:06,424 - INFO - Initial checks done. Running the testcase now
2026-02-04 06:31:06,424 - INFO -
2026-02-04 06:31:06,944 - DEBUG - Response for create_network : {'network': {'id': '79bd1aae-81bb-48a1-93c0-0791bd23af77', 'name': 'ctest-vn-37772363', 'tenant_id': 'b3d7d571081946c69b102d9cae8d8081', 'project_id': 'b3d7d571081946c69b102d9cae8d8081', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62688714', 'ctest-vn-37772363'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 06:31:07,108 - DEBUG - Response for create_subnet : {'subnet': {'id': '1edbd5d7-db4a-4b83-9647-f645ff59ac2a', 'name': '', 'tenant_id': 'b3d7d571081946c69b102d9cae8d8081', 'network_id': '79bd1aae-81bb-48a1-93c0-0791bd23af77', 'ip_version': 4, 'cidr': '88.213.68.128/26', 'allocation_pools': [{'start': '88.213.68.130', 'end': '88.213.68.190'}], 'gateway_ip': '88.213.68.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.213.68.130', 'tags': [], 'project_id': 'b3d7d571081946c69b102d9cae8d8081'}}
2026-02-04 06:31:07,125 - INFO - Created VN ctest-vn-37772363
2026-02-04 06:31:07,179 - DEBUG - VN ctest-vn-37772363 UUID is 79bd1aae-81bb-48a1-93c0-0791bd23af77
2026-02-04 06:31:07,469 - DEBUG - Response for create_network : {'network': {'id': 'fcf992f5-60f6-4745-a290-4b04268bbba7', 'name': 'ctest-vn-00275729', 'tenant_id': 'b3d7d571081946c69b102d9cae8d8081', 'project_id': 'b3d7d571081946c69b102d9cae8d8081', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62688714', 'ctest-vn-00275729'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 06:31:07,676 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf525353-1986-4a45-805d-4c1d696d97ae', 'name': '', 'tenant_id': 'b3d7d571081946c69b102d9cae8d8081', 'network_id': 'fcf992f5-60f6-4745-a290-4b04268bbba7', 'ip_version': 4, 'cidr': '162.203.69.64/26', 'allocation_pools': [{'start': '162.203.69.66', 'end': '162.203.69.126'}], 'gateway_ip': '162.203.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.203.69.66', 'tags': [], 'project_id': 'b3d7d571081946c69b102d9cae8d8081'}}
2026-02-04 06:31:07,697 - INFO - Created VN ctest-vn-00275729
2026-02-04 06:31:07,751 - DEBUG - VN ctest-vn-00275729 UUID is fcf992f5-60f6-4745-a290-4b04268bbba7
2026-02-04 06:31:07,865 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-37772363, 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-62688714:ctest-vn-00275729, 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-04 06:31:08,153 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '79bd1aae-81bb-48a1-93c0-0791bd23af77', 'name': 'ctest-vn-37772363', 'tenant_id': 'b3d7d571081946c69b102d9cae8d8081', 'project_id': 'b3d7d571081946c69b102d9cae8d8081', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1edbd5d7-db4a-4b83-9647-f645ff59ac2a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62688714', 'ctest-vn-37772363'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62688714', 'ctest-policy-allow-all-38840338']], 'subnet_ipam': [{'subnet_cidr': '88.213.68.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-04 06:31:08,400 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fcf992f5-60f6-4745-a290-4b04268bbba7', 'name': 'ctest-vn-00275729', 'tenant_id': 'b3d7d571081946c69b102d9cae8d8081', 'project_id': 'b3d7d571081946c69b102d9cae8d8081', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bf525353-1986-4a45-805d-4c1d696d97ae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62688714', 'ctest-vn-00275729'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62688714', 'ctest-policy-allow-all-38840338']], 'subnet_ipam': [{'subnet_cidr': '162.203.69.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-04 06:31:08,559 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-04 06:31:08,860 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-04 06:31:08,891 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2718dcf-be8a-4092-b32c-ed3b2c379266
2026-02-04 06:31:08,903 - DEBUG - Requesting: http://10.0.0.38:8082/project/b3d7d571-0819-46c6-9b10-2d9cae8d8081
2026-02-04 06:31:08,972 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79bd1aae-81bb-48a1-93c0-0791bd23af77
2026-02-04 06:31:08,986 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79bd1aae-81bb-48a1-93c0-0791bd23af77
2026-02-04 06:31:08,995 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a74fccc0-0c83-4899-8024-1c8e6a463be8
2026-02-04 06:31:09,002 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a74fccc0-0c83-4899-8024-1c8e6a463be8
2026-02-04 06:31:09,008 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/eabce1a8-5dac-485b-bd65-36fc495f7499
2026-02-04 06:31:09,016 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-04 06:31:09,016 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79bd1aae-81bb-48a1-93c0-0791bd23af77
2026-02-04 06:31:09,028 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a74fccc0-0c83-4899-8024-1c8e6a463be8
2026-02-04 06:31:09,044 - INFO - Verified VN network id 12 for VN 79bd1aae-81bb-48a1-93c0-0791bd23af77
2026-02-04 06:31:09,044 - INFO - Verifications in API Server for VN ctest-vn-37772363 passed
2026-02-04 06:31:09,044 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79bd1aae-81bb-48a1-93c0-0791bd23af77
2026-02-04 06:31:09,053 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a74fccc0-0c83-4899-8024-1c8e6a463be8
2026-02-04 06:31:09,061 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a74fccc0-0c83-4899-8024-1c8e6a463be8
2026-02-04 06:31:09,069 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/eabce1a8-5dac-485b-bd65-36fc495f7499
2026-02-04 06:31:09,082 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-37772363', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62688714', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8772196985990760609', 'uuid-lslong': '10646517841628737399'}, 'enable': 'true', 'created': '2026-02-04T06:31:06', 'last-modified': '2026-02-04T06:31:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.946486'}
2026-02-04 06:31:09,088 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-04 06:31:09,088 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37772363 passed
2026-02-04 06:31:09,088 - DEBUG - ====Verifying policy data for ctest-vn-37772363 in API_Server ======
2026-02-04 06:31:09,088 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-04 06:31:09,094 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2718dcf-be8a-4092-b32c-ed3b2c379266
2026-02-04 06:31:09,106 - DEBUG - Requesting: http://10.0.0.38:8082/project/b3d7d571-0819-46c6-9b10-2d9cae8d8081
2026-02-04 06:31:09,179 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79bd1aae-81bb-48a1-93c0-0791bd23af77
2026-02-04 06:31:09,188 - DEBUG - ==>Verifying data for policy with id: 8d59fe35-6109-41e4-b08b-bd8f1616e5ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-62688714', 'ctest-policy-allow-all-38840338']
2026-02-04 06:31:09,188 - INFO - VN ctest-vn-37772363 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-04 06:31:09,188 - DEBUG - Verifying the vn in opserver
2026-02-04 06:31:09,188 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-37772363 virtual network link through opserver 10.0.0.38
2026-02-04 06:31:09,188 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-04 06:31:09,483 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-04 06:31:09,549 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-37772363', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-37772363?flat'}
2026-02-04 06:31:09,549 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-37772363 is found in opserver
2026-02-04 06:31:09,558 - DEBUG - Do not have enough data to verify VN in agent
2026-02-04 06:31:09,563 - DEBUG - VRF ids for VN ctest-vn-37772363: {}
2026-02-04 06:31:09,563 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-04 06:31:09,569 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2718dcf-be8a-4092-b32c-ed3b2c379266
2026-02-04 06:31:09,581 - DEBUG - Requesting: http://10.0.0.38:8082/project/b3d7d571-0819-46c6-9b10-2d9cae8d8081
2026-02-04 06:31:09,652 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fcf992f5-60f6-4745-a290-4b04268bbba7
2026-02-04 06:31:09,664 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fcf992f5-60f6-4745-a290-4b04268bbba7
2026-02-04 06:31:09,673 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8b8d4740-b68c-4aaa-86d3-800bc2d6b5ef
2026-02-04 06:31:09,681 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8b8d4740-b68c-4aaa-86d3-800bc2d6b5ef
2026-02-04 06:31:09,688 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fa1c9c6c-c212-41cb-be8f-3b61c22c3af4
2026-02-04 06:31:09,695 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-04 06:31:09,695 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fcf992f5-60f6-4745-a290-4b04268bbba7
2026-02-04 06:31:09,704 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8b8d4740-b68c-4aaa-86d3-800bc2d6b5ef
2026-02-04 06:31:09,719 - INFO - Verified VN network id 13 for VN fcf992f5-60f6-4745-a290-4b04268bbba7
2026-02-04 06:31:09,719 - INFO - Verifications in API Server for VN ctest-vn-00275729 passed
2026-02-04 06:31:09,719 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fcf992f5-60f6-4745-a290-4b04268bbba7
2026-02-04 06:31:09,729 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8b8d4740-b68c-4aaa-86d3-800bc2d6b5ef
2026-02-04 06:31:09,737 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8b8d4740-b68c-4aaa-86d3-800bc2d6b5ef
2026-02-04 06:31:09,744 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fa1c9c6c-c212-41cb-be8f-3b61c22c3af4
2026-02-04 06:31:09,767 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-00275729', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62688714', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18228762549350188869', 'uuid-lslong': '11713945111989304231'}, 'enable': 'true', 'created': '2026-02-04T06:31:07', 'last-modified': '2026-02-04T06:31:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.393898'}
2026-02-04 06:31:09,774 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-04 06:31:09,774 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00275729 passed
2026-02-04 06:31:09,774 - DEBUG - ====Verifying policy data for ctest-vn-00275729 in API_Server ======
2026-02-04 06:31:09,774 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-04 06:31:09,782 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2718dcf-be8a-4092-b32c-ed3b2c379266
2026-02-04 06:31:09,793 - DEBUG - Requesting: http://10.0.0.38:8082/project/b3d7d571-0819-46c6-9b10-2d9cae8d8081
2026-02-04 06:31:09,869 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fcf992f5-60f6-4745-a290-4b04268bbba7
2026-02-04 06:31:09,878 - DEBUG - ==>Verifying data for policy with id: 8d59fe35-6109-41e4-b08b-bd8f1616e5ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-62688714', 'ctest-policy-allow-all-38840338']
2026-02-04 06:31:09,878 - INFO - VN ctest-vn-00275729 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-04 06:31:09,878 - DEBUG - Verifying the vn in opserver
2026-02-04 06:31:09,878 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-00275729 virtual network link through opserver 10.0.0.38
2026-02-04 06:31:09,878 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-04 06:31:09,888 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-00275729', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-00275729?flat'}
2026-02-04 06:31:09,888 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-00275729 is found in opserver
2026-02-04 06:31:09,899 - DEBUG - Do not have enough data to verify VN in agent
2026-02-04 06:31:09,905 - DEBUG - VRF ids for VN ctest-vn-00275729: {}
2026-02-04 06:31:09,970 - DEBUG - Services list from nova: [