2026-02-02 02:18:11,847 - INFO - Domain Default found not creating
2026-02-02 02:18:12,005 - INFO - Project ctest-TestBasicPolicy-40491081 not found, creating it
2026-02-02 02:18:12,454 - INFO - Created Project:ctest-TestBasicPolicy-40491081, ID : 386a85ea-b694-481a-b1af-c92d82d4d23d
2026-02-02 02:18:13,946 - INFO - ================================================================================
2026-02-02 02:18:13,946 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-02 02:18:13,946 - 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 02:18:14,199 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.201': '0'}} with
2026-02-02 02:18:14,199 - INFO - Initial checks done. Running the testcase now
2026-02-02 02:18:14,199 - INFO -
2026-02-02 02:18:14,731 - DEBUG - Response for create_network : {'network': {'id': 'a84d9d55-2c23-4395-8946-4a25b8edc64b', 'name': 'ctest-vn-43935616', 'tenant_id': '386a85eab694481ab1afc92d82d4d23d', 'project_id': '386a85eab694481ab1afc92d82d4d23d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40491081', 'ctest-vn-43935616'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 02:18:14,899 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be415c11-d016-4082-a5c2-44cc49f6c160', 'name': '', 'tenant_id': '386a85eab694481ab1afc92d82d4d23d', 'network_id': 'a84d9d55-2c23-4395-8946-4a25b8edc64b', 'ip_version': 4, 'cidr': '142.81.18.128/26', 'allocation_pools': [{'start': '142.81.18.130', 'end': '142.81.18.190'}], 'gateway_ip': '142.81.18.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.81.18.130', 'tags': [], 'project_id': '386a85eab694481ab1afc92d82d4d23d'}}
2026-02-02 02:18:14,915 - INFO - Created VN ctest-vn-43935616
2026-02-02 02:18:14,965 - DEBUG - VN ctest-vn-43935616 UUID is a84d9d55-2c23-4395-8946-4a25b8edc64b
2026-02-02 02:18:15,292 - DEBUG - Response for create_network : {'network': {'id': '652d3823-be3b-4534-9b7b-ce6ec5babd8b', 'name': 'ctest-vn-76247650', 'tenant_id': '386a85eab694481ab1afc92d82d4d23d', 'project_id': '386a85eab694481ab1afc92d82d4d23d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40491081', 'ctest-vn-76247650'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 02:18:15,487 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b60a9d7-0d3a-400c-924c-adb34983b177', 'name': '', 'tenant_id': '386a85eab694481ab1afc92d82d4d23d', 'network_id': '652d3823-be3b-4534-9b7b-ce6ec5babd8b', 'ip_version': 4, 'cidr': '30.232.245.64/26', 'allocation_pools': [{'start': '30.232.245.66', 'end': '30.232.245.126'}], 'gateway_ip': '30.232.245.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.232.245.66', 'tags': [], 'project_id': '386a85eab694481ab1afc92d82d4d23d'}}
2026-02-02 02:18:15,506 - INFO - Created VN ctest-vn-76247650
2026-02-02 02:18:15,558 - DEBUG - VN ctest-vn-76247650 UUID is 652d3823-be3b-4534-9b7b-ce6ec5babd8b
2026-02-02 02:18:15,706 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40491081:ctest-vn-43935616, 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-40491081:ctest-vn-76247650, 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 02:18:16,003 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a84d9d55-2c23-4395-8946-4a25b8edc64b', 'name': 'ctest-vn-43935616', 'tenant_id': '386a85eab694481ab1afc92d82d4d23d', 'project_id': '386a85eab694481ab1afc92d82d4d23d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['be415c11-d016-4082-a5c2-44cc49f6c160'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40491081', 'ctest-vn-43935616'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40491081', 'ctest-policy-allow-all-14191147']], 'subnet_ipam': [{'subnet_cidr': '142.81.18.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-02 02:18:16,214 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '652d3823-be3b-4534-9b7b-ce6ec5babd8b', 'name': 'ctest-vn-76247650', 'tenant_id': '386a85eab694481ab1afc92d82d4d23d', 'project_id': '386a85eab694481ab1afc92d82d4d23d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0b60a9d7-0d3a-400c-924c-adb34983b177'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40491081', 'ctest-vn-76247650'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40491081', 'ctest-policy-allow-all-14191147']], 'subnet_ipam': [{'subnet_cidr': '30.232.245.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-02 02:18:16,369 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-02 02:18:16,666 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-02 02:18:16,698 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8695d92-f891-417e-ab30-235445b6dd12
2026-02-02 02:18:16,708 - DEBUG - Requesting: http://10.0.0.33:8082/project/386a85ea-b694-481a-b1af-c92d82d4d23d
2026-02-02 02:18:16,778 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a84d9d55-2c23-4395-8946-4a25b8edc64b
2026-02-02 02:18:16,788 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a84d9d55-2c23-4395-8946-4a25b8edc64b
2026-02-02 02:18:16,797 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/238ee8cf-9b22-45d2-a183-bbcc14db8136
2026-02-02 02:18:16,804 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/238ee8cf-9b22-45d2-a183-bbcc14db8136
2026-02-02 02:18:16,816 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/224bcd3d-1570-4cf8-ae4c-8a70cc021276
2026-02-02 02:18:16,822 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-02 02:18:16,822 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a84d9d55-2c23-4395-8946-4a25b8edc64b
2026-02-02 02:18:16,832 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/238ee8cf-9b22-45d2-a183-bbcc14db8136
2026-02-02 02:18:16,847 - INFO - Verified VN network id 11 for VN a84d9d55-2c23-4395-8946-4a25b8edc64b
2026-02-02 02:18:16,847 - INFO - Verifications in API Server for VN ctest-vn-43935616 passed
2026-02-02 02:18:16,847 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a84d9d55-2c23-4395-8946-4a25b8edc64b
2026-02-02 02:18:16,857 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/238ee8cf-9b22-45d2-a183-bbcc14db8136
2026-02-02 02:18:16,864 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/238ee8cf-9b22-45d2-a183-bbcc14db8136
2026-02-02 02:18:16,872 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/224bcd3d-1570-4cf8-ae4c-8a70cc021276
2026-02-02 02:18:16,883 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40491081:ctest-vn-43935616', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40491081', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12127522360716903317', 'uuid-lslong': '9891675157442709067'}, 'enable': 'true', 'created': '2026-02-02T02:18:14', 'last-modified': '2026-02-02T02:18:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.899962'}
2026-02-02 02:18:16,888 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-02 02:18:16,888 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43935616 passed
2026-02-02 02:18:16,888 - DEBUG - ====Verifying policy data for ctest-vn-43935616 in API_Server ======
2026-02-02 02:18:16,888 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-02 02:18:16,893 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8695d92-f891-417e-ab30-235445b6dd12
2026-02-02 02:18:16,903 - DEBUG - Requesting: http://10.0.0.33:8082/project/386a85ea-b694-481a-b1af-c92d82d4d23d
2026-02-02 02:18:16,970 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a84d9d55-2c23-4395-8946-4a25b8edc64b
2026-02-02 02:18:16,979 - DEBUG - ==>Verifying data for policy with id: d4b34679-e284-40dc-a9e2-7b337f2e00b3, fqn: ['default-domain', 'ctest-TestBasicPolicy-40491081', 'ctest-policy-allow-all-14191147']
2026-02-02 02:18:16,979 - INFO - VN ctest-vn-43935616 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-02 02:18:16,980 - DEBUG - Verifying the vn in opserver
2026-02-02 02:18:16,980 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40491081:ctest-vn-43935616 virtual network link through opserver 10.0.0.33
2026-02-02 02:18:16,980 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-02 02:18:17,275 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-02 02:18:17,344 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40491081:ctest-vn-43935616', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40491081:ctest-vn-43935616?flat'}
2026-02-02 02:18:17,344 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40491081:ctest-vn-43935616 is found in opserver
2026-02-02 02:18:17,356 - DEBUG - Do not have enough data to verify VN in agent
2026-02-02 02:18:17,361 - DEBUG - VRF ids for VN ctest-vn-43935616: {}
2026-02-02 02:18:17,361 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-02 02:18:17,366 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8695d92-f891-417e-ab30-235445b6dd12
2026-02-02 02:18:17,378 - DEBUG - Requesting: http://10.0.0.33:8082/project/386a85ea-b694-481a-b1af-c92d82d4d23d
2026-02-02 02:18:17,449 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/652d3823-be3b-4534-9b7b-ce6ec5babd8b
2026-02-02 02:18:17,460 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/652d3823-be3b-4534-9b7b-ce6ec5babd8b
2026-02-02 02:18:17,470 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/acc2d75d-ec77-4311-bb56-56a1e6b79e2e
2026-02-02 02:18:17,477 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/acc2d75d-ec77-4311-bb56-56a1e6b79e2e
2026-02-02 02:18:17,484 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e9b541f0-63d7-40b9-9302-f989e85fcdda
2026-02-02 02:18:17,493 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-02 02:18:17,493 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/652d3823-be3b-4534-9b7b-ce6ec5babd8b
2026-02-02 02:18:17,502 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/acc2d75d-ec77-4311-bb56-56a1e6b79e2e
2026-02-02 02:18:17,514 - INFO - Verified VN network id 12 for VN 652d3823-be3b-4534-9b7b-ce6ec5babd8b
2026-02-02 02:18:17,515 - INFO - Verifications in API Server for VN ctest-vn-76247650 passed
2026-02-02 02:18:17,515 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/652d3823-be3b-4534-9b7b-ce6ec5babd8b
2026-02-02 02:18:17,523 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/acc2d75d-ec77-4311-bb56-56a1e6b79e2e
2026-02-02 02:18:17,531 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/acc2d75d-ec77-4311-bb56-56a1e6b79e2e
2026-02-02 02:18:17,538 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e9b541f0-63d7-40b9-9302-f989e85fcdda
2026-02-02 02:18:17,550 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40491081:ctest-vn-76247650', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40491081', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7290545097949267252', 'uuid-lslong': '11203775473173314955'}, 'enable': 'true', 'created': '2026-02-02T02:18:15', 'last-modified': '2026-02-02T02:18:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.355595'}
2026-02-02 02:18:17,556 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-02 02:18:17,556 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76247650 passed
2026-02-02 02:18:17,556 - DEBUG - ====Verifying policy data for ctest-vn-76247650 in API_Server ======
2026-02-02 02:18:17,556 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-02 02:18:17,563 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d8695d92-f891-417e-ab30-235445b6dd12
2026-02-02 02:18:17,574 - DEBUG - Requesting: http://10.0.0.33:8082/project/386a85ea-b694-481a-b1af-c92d82d4d23d
2026-02-02 02:18:17,642 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/652d3823-be3b-4534-9b7b-ce6ec5babd8b
2026-02-02 02:18:17,650 - DEBUG - ==>Verifying data for policy with id: d4b34679-e284-40dc-a9e2-7b337f2e00b3, fqn: ['default-domain', 'ctest-TestBasicPolicy-40491081', 'ctest-policy-allow-all-14191147']
2026-02-02 02:18:17,650 - INFO - VN ctest-vn-76247650 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-02 02:18:17,650 - DEBUG - Verifying the vn in opserver
2026-02-02 02:18:17,650 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40491081:ctest-vn-76247650 virtual network link through opserver 10.0.0.33
2026-02-02 02:18:17,650 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-02 02:18:17,660 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40491081:ctest-vn-76247650', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40491081:ctest-vn-76247650?flat'}
2026-02-02 02:18:17,660 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40491081:ctest-vn-76247650 is found in opserver
2026-02-02 02:18:17,668 - DEBUG - Do not have enough data to verify VN in agent
2026-02-02 02:18:17,674 - DEBUG - VRF ids for VN ctest-vn-76247650: {}
2026-02-02 02:18:17,748 - DEBUG - Services list from nova: [