2026-01-12 02:05:56,190 - INFO - Domain Default found not creating
2026-01-12 02:05:56,386 - INFO - Project ctest-TestBasicPolicy-99521382 not found, creating it
2026-01-12 02:05:56,877 - INFO - Created Project:ctest-TestBasicPolicy-99521382, ID : 593b7a34-17a1-4714-9145-7fad4f62e08e
2026-01-12 02:05:58,517 - INFO - ================================================================================
2026-01-12 02:05:58,517 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-12 02:05:58,517 - 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-01-12 02:05:58,779 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2026-01-12 02:05:58,779 - INFO - Initial checks done. Running the testcase now
2026-01-12 02:05:58,779 - INFO -
2026-01-12 02:05:59,378 - DEBUG - Response for create_network : {'network': {'id': '6fa761a6-eee2-473f-8852-014dc7f16274', 'name': 'ctest-vn-43463662', 'tenant_id': '593b7a3417a1471491457fad4f62e08e', 'project_id': '593b7a3417a1471491457fad4f62e08e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99521382', 'ctest-vn-43463662'], 'port_security_enabled': True, 'description': ''}}
2026-01-12 02:05:59,608 - DEBUG - Response for create_subnet : {'subnet': {'id': '34618027-c77f-45a4-ab55-c7f04f7fc9e2', 'name': '', 'tenant_id': '593b7a3417a1471491457fad4f62e08e', 'network_id': '6fa761a6-eee2-473f-8852-014dc7f16274', 'ip_version': 4, 'cidr': '95.69.145.64/26', 'allocation_pools': [{'start': '95.69.145.66', 'end': '95.69.145.126'}], 'gateway_ip': '95.69.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.69.145.66', 'tags': [], 'project_id': '593b7a3417a1471491457fad4f62e08e'}}
2026-01-12 02:05:59,630 - INFO - Created VN ctest-vn-43463662
2026-01-12 02:05:59,688 - DEBUG - VN ctest-vn-43463662 UUID is 6fa761a6-eee2-473f-8852-014dc7f16274
2026-01-12 02:06:00,000 - DEBUG - Response for create_network : {'network': {'id': 'cacda90b-e51b-4b06-9fbf-8e4edd0168b3', 'name': 'ctest-vn-81548063', 'tenant_id': '593b7a3417a1471491457fad4f62e08e', 'project_id': '593b7a3417a1471491457fad4f62e08e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99521382', 'ctest-vn-81548063'], 'port_security_enabled': True, 'description': ''}}
2026-01-12 02:06:00,217 - DEBUG - Response for create_subnet : {'subnet': {'id': '553be937-0c92-42f0-b283-1cb21e6a842b', 'name': '', 'tenant_id': '593b7a3417a1471491457fad4f62e08e', 'network_id': 'cacda90b-e51b-4b06-9fbf-8e4edd0168b3', 'ip_version': 4, 'cidr': '78.29.87.192/26', 'allocation_pools': [{'start': '78.29.87.194', 'end': '78.29.87.254'}], 'gateway_ip': '78.29.87.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.29.87.194', 'tags': [], 'project_id': '593b7a3417a1471491457fad4f62e08e'}}
2026-01-12 02:06:00,241 - INFO - Created VN ctest-vn-81548063
2026-01-12 02:06:00,300 - DEBUG - VN ctest-vn-81548063 UUID is cacda90b-e51b-4b06-9fbf-8e4edd0168b3
2026-01-12 02:06:00,429 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-43463662, 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-99521382:ctest-vn-81548063, 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-01-12 02:06:00,760 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6fa761a6-eee2-473f-8852-014dc7f16274', 'name': 'ctest-vn-43463662', 'tenant_id': '593b7a3417a1471491457fad4f62e08e', 'project_id': '593b7a3417a1471491457fad4f62e08e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['34618027-c77f-45a4-ab55-c7f04f7fc9e2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99521382', 'ctest-vn-43463662'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99521382', 'ctest-policy-allow-all-68183598']], 'subnet_ipam': [{'subnet_cidr': '95.69.145.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-12 02:06:01,075 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cacda90b-e51b-4b06-9fbf-8e4edd0168b3', 'name': 'ctest-vn-81548063', 'tenant_id': '593b7a3417a1471491457fad4f62e08e', 'project_id': '593b7a3417a1471491457fad4f62e08e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['553be937-0c92-42f0-b283-1cb21e6a842b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99521382', 'ctest-vn-81548063'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99521382', 'ctest-policy-allow-all-68183598']], 'subnet_ipam': [{'subnet_cidr': '78.29.87.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-12 02:06:01,228 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-01-12 02:06:01,602 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-01-12 02:06:01,651 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f6e39bb2-a9eb-4be3-a5bd-dc3765b1b623
2026-01-12 02:06:01,666 - DEBUG - Requesting: http://10.0.0.242:8082/project/593b7a34-17a1-4714-9145-7fad4f62e08e
2026-01-12 02:06:01,747 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6fa761a6-eee2-473f-8852-014dc7f16274
2026-01-12 02:06:01,759 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6fa761a6-eee2-473f-8852-014dc7f16274
2026-01-12 02:06:01,770 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9b40d190-583c-43e7-b224-436d1a309663
2026-01-12 02:06:01,781 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9b40d190-583c-43e7-b224-436d1a309663
2026-01-12 02:06:01,790 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4af6b105-d01d-4ee1-9af4-4b1cc333fd53
2026-01-12 02:06:01,798 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-12 02:06:01,798 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6fa761a6-eee2-473f-8852-014dc7f16274
2026-01-12 02:06:01,809 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9b40d190-583c-43e7-b224-436d1a309663
2026-01-12 02:06:01,827 - INFO - Verified VN network id 11 for VN 6fa761a6-eee2-473f-8852-014dc7f16274
2026-01-12 02:06:01,827 - INFO - Verifications in API Server for VN ctest-vn-43463662 passed
2026-01-12 02:06:01,827 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6fa761a6-eee2-473f-8852-014dc7f16274
2026-01-12 02:06:01,840 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9b40d190-583c-43e7-b224-436d1a309663
2026-01-12 02:06:01,852 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/9b40d190-583c-43e7-b224-436d1a309663
2026-01-12 02:06:01,860 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4af6b105-d01d-4ee1-9af4-4b1cc333fd53
2026-01-12 02:06:01,872 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-43463662', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99521382', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8045506628920952639', 'uuid-lslong': '9822915170827068020'}, 'enable': 'true', 'created': '2026-01-12T02:05:59', 'last-modified': '2026-01-12T02:06:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.150455'}
2026-01-12 02:06:01,879 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-12 02:06:01,880 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43463662 passed
2026-01-12 02:06:01,880 - DEBUG - ====Verifying policy data for ctest-vn-43463662 in API_Server ======
2026-01-12 02:06:01,880 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-01-12 02:06:01,886 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f6e39bb2-a9eb-4be3-a5bd-dc3765b1b623
2026-01-12 02:06:01,901 - DEBUG - Requesting: http://10.0.0.242:8082/project/593b7a34-17a1-4714-9145-7fad4f62e08e
2026-01-12 02:06:01,978 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6fa761a6-eee2-473f-8852-014dc7f16274
2026-01-12 02:06:01,991 - DEBUG - ==>Verifying data for policy with id: 04237ad1-96a0-47b6-9b89-6817bce8a094, fqn: ['default-domain', 'ctest-TestBasicPolicy-99521382', 'ctest-policy-allow-all-68183598']
2026-01-12 02:06:01,991 - INFO - VN ctest-vn-43463662 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-12 02:06:01,991 - DEBUG - Verifying the vn in opserver
2026-01-12 02:06:01,991 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-43463662 virtual network link through opserver 10.0.0.242
2026-01-12 02:06:01,991 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-01-12 02:06:02,355 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-01-12 02:06:02,429 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-43463662', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-43463662?flat'}
2026-01-12 02:06:02,430 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-43463662 is found in opserver
2026-01-12 02:06:02,441 - DEBUG - Do not have enough data to verify VN in agent
2026-01-12 02:06:02,448 - DEBUG - VRF ids for VN ctest-vn-43463662: {}
2026-01-12 02:06:02,448 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-01-12 02:06:02,454 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f6e39bb2-a9eb-4be3-a5bd-dc3765b1b623
2026-01-12 02:06:02,466 - DEBUG - Requesting: http://10.0.0.242:8082/project/593b7a34-17a1-4714-9145-7fad4f62e08e
2026-01-12 02:06:02,542 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cacda90b-e51b-4b06-9fbf-8e4edd0168b3
2026-01-12 02:06:02,554 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cacda90b-e51b-4b06-9fbf-8e4edd0168b3
2026-01-12 02:06:02,564 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dc62bb43-5cc3-4ad6-bcf4-d92017918ded
2026-01-12 02:06:02,572 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dc62bb43-5cc3-4ad6-bcf4-d92017918ded
2026-01-12 02:06:02,579 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/8087abe1-44e7-404a-838e-2ed6efecf442
2026-01-12 02:06:02,586 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-12 02:06:02,586 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cacda90b-e51b-4b06-9fbf-8e4edd0168b3
2026-01-12 02:06:02,595 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dc62bb43-5cc3-4ad6-bcf4-d92017918ded
2026-01-12 02:06:02,609 - INFO - Verified VN network id 12 for VN cacda90b-e51b-4b06-9fbf-8e4edd0168b3
2026-01-12 02:06:02,609 - INFO - Verifications in API Server for VN ctest-vn-81548063 passed
2026-01-12 02:06:02,609 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cacda90b-e51b-4b06-9fbf-8e4edd0168b3
2026-01-12 02:06:02,618 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dc62bb43-5cc3-4ad6-bcf4-d92017918ded
2026-01-12 02:06:02,626 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/dc62bb43-5cc3-4ad6-bcf4-d92017918ded
2026-01-12 02:06:02,632 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/8087abe1-44e7-404a-838e-2ed6efecf442
2026-01-12 02:06:02,643 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-81548063', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99521382', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14613522234440633094', 'uuid-lslong': '11511075641948727475'}, 'enable': 'true', 'created': '2026-01-12T02:05:59', 'last-modified': '2026-01-12T02:06:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.653294'}
2026-01-12 02:06:02,649 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-12 02:06:02,649 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81548063 passed
2026-01-12 02:06:02,649 - DEBUG - ====Verifying policy data for ctest-vn-81548063 in API_Server ======
2026-01-12 02:06:02,649 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-01-12 02:06:02,655 - DEBUG - Requesting: http://10.0.0.242:8082/domain/f6e39bb2-a9eb-4be3-a5bd-dc3765b1b623
2026-01-12 02:06:02,665 - DEBUG - Requesting: http://10.0.0.242:8082/project/593b7a34-17a1-4714-9145-7fad4f62e08e
2026-01-12 02:06:02,738 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/cacda90b-e51b-4b06-9fbf-8e4edd0168b3
2026-01-12 02:06:02,748 - DEBUG - ==>Verifying data for policy with id: 04237ad1-96a0-47b6-9b89-6817bce8a094, fqn: ['default-domain', 'ctest-TestBasicPolicy-99521382', 'ctest-policy-allow-all-68183598']
2026-01-12 02:06:02,748 - INFO - VN ctest-vn-81548063 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-12 02:06:02,748 - DEBUG - Verifying the vn in opserver
2026-01-12 02:06:02,748 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-81548063 virtual network link through opserver 10.0.0.242
2026-01-12 02:06:02,748 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-01-12 02:06:02,761 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-81548063', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-81548063?flat'}
2026-01-12 02:06:02,761 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99521382:ctest-vn-81548063 is found in opserver
2026-01-12 02:06:02,771 - DEBUG - Do not have enough data to verify VN in agent
2026-01-12 02:06:02,777 - DEBUG - VRF ids for VN ctest-vn-81548063: {}
2026-01-12 02:06:02,848 - DEBUG - Services list from nova: [