2026-02-02 19:48:57,129 - INFO - Domain Default found not creating
2026-02-02 19:48:57,287 - INFO - Project ctest-TestBasicPolicy-25409648 not found, creating it
2026-02-02 19:48:57,725 - INFO - Created Project:ctest-TestBasicPolicy-25409648, ID : faffa190-9c1e-49e2-8325-4a25d1c85e90
2026-02-02 19:48:59,106 - INFO - ================================================================================
2026-02-02 19:48:59,106 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-02 19:48:59,106 - 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 19:48:59,356 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2026-02-02 19:48:59,356 - INFO - Initial checks done. Running the testcase now
2026-02-02 19:48:59,356 - INFO -
2026-02-02 19:48:59,916 - DEBUG - Response for create_network : {'network': {'id': 'cc157f78-6d43-48bd-bc6b-acad53a75c63', 'name': 'ctest-vn-38913413', 'tenant_id': 'faffa1909c1e49e283254a25d1c85e90', 'project_id': 'faffa1909c1e49e283254a25d1c85e90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25409648', 'ctest-vn-38913413'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 19:49:00,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '8686d3b5-87e7-4d45-ab8f-62ff26ae0807', 'name': '', 'tenant_id': 'faffa1909c1e49e283254a25d1c85e90', 'network_id': 'cc157f78-6d43-48bd-bc6b-acad53a75c63', 'ip_version': 4, 'cidr': '15.92.24.64/26', 'allocation_pools': [{'start': '15.92.24.66', 'end': '15.92.24.126'}], 'gateway_ip': '15.92.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.92.24.66', 'tags': [], 'project_id': 'faffa1909c1e49e283254a25d1c85e90'}}
2026-02-02 19:49:00,110 - INFO - Created VN ctest-vn-38913413
2026-02-02 19:49:00,160 - DEBUG - VN ctest-vn-38913413 UUID is cc157f78-6d43-48bd-bc6b-acad53a75c63
2026-02-02 19:49:00,466 - DEBUG - Response for create_network : {'network': {'id': '34649fd9-b72e-4d90-b0df-8ef4a43ae95f', 'name': 'ctest-vn-37362578', 'tenant_id': 'faffa1909c1e49e283254a25d1c85e90', 'project_id': 'faffa1909c1e49e283254a25d1c85e90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25409648', 'ctest-vn-37362578'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 19:49:00,632 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4faf1ea-8d69-44f5-9f31-057142097cb8', 'name': '', 'tenant_id': 'faffa1909c1e49e283254a25d1c85e90', 'network_id': '34649fd9-b72e-4d90-b0df-8ef4a43ae95f', 'ip_version': 4, 'cidr': '99.8.59.192/26', 'allocation_pools': [{'start': '99.8.59.194', 'end': '99.8.59.254'}], 'gateway_ip': '99.8.59.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.8.59.194', 'tags': [], 'project_id': 'faffa1909c1e49e283254a25d1c85e90'}}
2026-02-02 19:49:00,647 - INFO - Created VN ctest-vn-37362578
2026-02-02 19:49:00,696 - DEBUG - VN ctest-vn-37362578 UUID is 34649fd9-b72e-4d90-b0df-8ef4a43ae95f
2026-02-02 19:49:00,848 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-38913413, 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-25409648:ctest-vn-37362578, 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 19:49:01,140 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cc157f78-6d43-48bd-bc6b-acad53a75c63', 'name': 'ctest-vn-38913413', 'tenant_id': 'faffa1909c1e49e283254a25d1c85e90', 'project_id': 'faffa1909c1e49e283254a25d1c85e90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8686d3b5-87e7-4d45-ab8f-62ff26ae0807'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25409648', 'ctest-vn-38913413'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25409648', 'ctest-policy-allow-all-10152326']], 'subnet_ipam': [{'subnet_cidr': '15.92.24.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-02 19:49:01,359 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '34649fd9-b72e-4d90-b0df-8ef4a43ae95f', 'name': 'ctest-vn-37362578', 'tenant_id': 'faffa1909c1e49e283254a25d1c85e90', 'project_id': 'faffa1909c1e49e283254a25d1c85e90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b4faf1ea-8d69-44f5-9f31-057142097cb8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25409648', 'ctest-vn-37362578'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25409648', 'ctest-policy-allow-all-10152326']], 'subnet_ipam': [{'subnet_cidr': '99.8.59.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-02 19:49:01,500 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-02 19:49:01,795 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-02 19:49:01,825 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1f306c58-41d9-464a-bcdb-65e99ba89d24
2026-02-02 19:49:01,835 - DEBUG - Requesting: http://10.0.0.33:8082/project/faffa190-9c1e-49e2-8325-4a25d1c85e90
2026-02-02 19:49:01,905 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cc157f78-6d43-48bd-bc6b-acad53a75c63
2026-02-02 19:49:01,915 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cc157f78-6d43-48bd-bc6b-acad53a75c63
2026-02-02 19:49:01,924 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/eccada84-b192-4280-af40-30d88b306b62
2026-02-02 19:49:01,930 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/eccada84-b192-4280-af40-30d88b306b62
2026-02-02 19:49:01,936 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0d5ee58a-7ed9-435a-ba56-de9ce4824970
2026-02-02 19:49:01,941 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-02 19:49:01,941 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cc157f78-6d43-48bd-bc6b-acad53a75c63
2026-02-02 19:49:01,949 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/eccada84-b192-4280-af40-30d88b306b62
2026-02-02 19:49:01,962 - INFO - Verified VN network id 11 for VN cc157f78-6d43-48bd-bc6b-acad53a75c63
2026-02-02 19:49:01,962 - INFO - Verifications in API Server for VN ctest-vn-38913413 passed
2026-02-02 19:49:01,962 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cc157f78-6d43-48bd-bc6b-acad53a75c63
2026-02-02 19:49:01,971 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/eccada84-b192-4280-af40-30d88b306b62
2026-02-02 19:49:01,976 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/eccada84-b192-4280-af40-30d88b306b62
2026-02-02 19:49:01,981 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0d5ee58a-7ed9-435a-ba56-de9ce4824970
2026-02-02 19:49:01,991 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-38913413', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25409648', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14705800313454151869', 'uuid-lslong': '13577135362071288931'}, 'enable': 'true', 'created': '2026-02-02T19:48:59', 'last-modified': '2026-02-02T19:49:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.876239'}
2026-02-02 19:49:01,996 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-02 19:49:01,996 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38913413 passed
2026-02-02 19:49:01,996 - DEBUG - ====Verifying policy data for ctest-vn-38913413 in API_Server ======
2026-02-02 19:49:01,996 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-02 19:49:02,000 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1f306c58-41d9-464a-bcdb-65e99ba89d24
2026-02-02 19:49:02,011 - DEBUG - Requesting: http://10.0.0.33:8082/project/faffa190-9c1e-49e2-8325-4a25d1c85e90
2026-02-02 19:49:02,079 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cc157f78-6d43-48bd-bc6b-acad53a75c63
2026-02-02 19:49:02,088 - DEBUG - ==>Verifying data for policy with id: b10d1854-b991-4633-aa16-0084daec55bf, fqn: ['default-domain', 'ctest-TestBasicPolicy-25409648', 'ctest-policy-allow-all-10152326']
2026-02-02 19:49:02,088 - INFO - VN ctest-vn-38913413 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-02 19:49:02,089 - DEBUG - Verifying the vn in opserver
2026-02-02 19:49:02,089 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-38913413 virtual network link through opserver 10.0.0.33
2026-02-02 19:49:02,089 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-02 19:49:02,383 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-02 19:49:02,449 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-38913413', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-38913413?flat'}
2026-02-02 19:49:02,449 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-38913413 is found in opserver
2026-02-02 19:49:02,457 - DEBUG - Do not have enough data to verify VN in agent
2026-02-02 19:49:02,461 - DEBUG - VRF ids for VN ctest-vn-38913413: {}
2026-02-02 19:49:02,461 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-02 19:49:02,466 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1f306c58-41d9-464a-bcdb-65e99ba89d24
2026-02-02 19:49:02,475 - DEBUG - Requesting: http://10.0.0.33:8082/project/faffa190-9c1e-49e2-8325-4a25d1c85e90
2026-02-02 19:49:02,541 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/34649fd9-b72e-4d90-b0df-8ef4a43ae95f
2026-02-02 19:49:02,551 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/34649fd9-b72e-4d90-b0df-8ef4a43ae95f
2026-02-02 19:49:02,559 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c7e6c2c0-3337-4bff-9f78-82fcf985ff62
2026-02-02 19:49:02,565 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c7e6c2c0-3337-4bff-9f78-82fcf985ff62
2026-02-02 19:49:02,570 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d9da98a3-e124-435f-be1e-f9020039fcd6
2026-02-02 19:49:02,576 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-02 19:49:02,576 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/34649fd9-b72e-4d90-b0df-8ef4a43ae95f
2026-02-02 19:49:02,583 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c7e6c2c0-3337-4bff-9f78-82fcf985ff62
2026-02-02 19:49:02,593 - INFO - Verified VN network id 12 for VN 34649fd9-b72e-4d90-b0df-8ef4a43ae95f
2026-02-02 19:49:02,593 - INFO - Verifications in API Server for VN ctest-vn-37362578 passed
2026-02-02 19:49:02,593 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/34649fd9-b72e-4d90-b0df-8ef4a43ae95f
2026-02-02 19:49:02,601 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c7e6c2c0-3337-4bff-9f78-82fcf985ff62
2026-02-02 19:49:02,606 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c7e6c2c0-3337-4bff-9f78-82fcf985ff62
2026-02-02 19:49:02,612 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d9da98a3-e124-435f-be1e-f9020039fcd6
2026-02-02 19:49:02,622 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-37362578', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25409648', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3775318145073302928', 'uuid-lslong': '12745062651860281695'}, 'enable': 'true', 'created': '2026-02-02T19:49:00', 'last-modified': '2026-02-02T19:49:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.284950'}
2026-02-02 19:49:02,627 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-02 19:49:02,627 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37362578 passed
2026-02-02 19:49:02,627 - DEBUG - ====Verifying policy data for ctest-vn-37362578 in API_Server ======
2026-02-02 19:49:02,627 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-02 19:49:02,632 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1f306c58-41d9-464a-bcdb-65e99ba89d24
2026-02-02 19:49:02,643 - DEBUG - Requesting: http://10.0.0.33:8082/project/faffa190-9c1e-49e2-8325-4a25d1c85e90
2026-02-02 19:49:02,710 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/34649fd9-b72e-4d90-b0df-8ef4a43ae95f
2026-02-02 19:49:02,718 - DEBUG - ==>Verifying data for policy with id: b10d1854-b991-4633-aa16-0084daec55bf, fqn: ['default-domain', 'ctest-TestBasicPolicy-25409648', 'ctest-policy-allow-all-10152326']
2026-02-02 19:49:02,718 - INFO - VN ctest-vn-37362578 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-02 19:49:02,718 - DEBUG - Verifying the vn in opserver
2026-02-02 19:49:02,718 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-37362578 virtual network link through opserver 10.0.0.33
2026-02-02 19:49:02,718 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-02 19:49:02,726 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-37362578', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-37362578?flat'}
2026-02-02 19:49:02,726 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-37362578 is found in opserver
2026-02-02 19:49:02,735 - DEBUG - Do not have enough data to verify VN in agent
2026-02-02 19:49:02,739 - DEBUG - VRF ids for VN ctest-vn-37362578: {}
2026-02-02 19:49:02,792 - DEBUG - Services list from nova: [