2026-02-23 02:00:38,444 - INFO - Domain Default found not creating
2026-02-23 02:00:38,627 - INFO - Project ctest-TestBasicPolicy-44725500 not found, creating it
2026-02-23 02:00:39,101 - INFO - Created Project:ctest-TestBasicPolicy-44725500, ID : bb82ec74-04a3-49bc-9492-03089fe6e946
2026-02-23 02:00:40,657 - INFO - ================================================================================
2026-02-23 02:00:40,657 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-23 02:00:40,658 - 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-23 02:00:40,917 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with
2026-02-23 02:00:40,917 - INFO - Initial checks done. Running the testcase now
2026-02-23 02:00:40,917 - INFO -
2026-02-23 02:00:41,483 - DEBUG - Response for create_network : {'network': {'id': '85093e76-148d-418c-af4b-c2fab79327e5', 'name': 'ctest-vn-03546520', 'tenant_id': 'bb82ec7404a349bc949203089fe6e946', 'project_id': 'bb82ec7404a349bc949203089fe6e946', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44725500', 'ctest-vn-03546520'], 'port_security_enabled': True, 'description': ''}}
2026-02-23 02:00:41,687 - DEBUG - Response for create_subnet : {'subnet': {'id': '48981109-c78a-4f1f-b1a4-c2043ad972cd', 'name': '', 'tenant_id': 'bb82ec7404a349bc949203089fe6e946', 'network_id': '85093e76-148d-418c-af4b-c2fab79327e5', 'ip_version': 4, 'cidr': '187.148.234.64/26', 'allocation_pools': [{'start': '187.148.234.66', 'end': '187.148.234.126'}], 'gateway_ip': '187.148.234.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.148.234.66', 'tags': [], 'project_id': 'bb82ec7404a349bc949203089fe6e946'}}
2026-02-23 02:00:41,706 - INFO - Created VN ctest-vn-03546520
2026-02-23 02:00:41,760 - DEBUG - VN ctest-vn-03546520 UUID is 85093e76-148d-418c-af4b-c2fab79327e5
2026-02-23 02:00:42,065 - DEBUG - Response for create_network : {'network': {'id': 'c7643bec-4d45-440b-89f2-fcd5649a08e8', 'name': 'ctest-vn-59966594', 'tenant_id': 'bb82ec7404a349bc949203089fe6e946', 'project_id': 'bb82ec7404a349bc949203089fe6e946', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44725500', 'ctest-vn-59966594'], 'port_security_enabled': True, 'description': ''}}
2026-02-23 02:00:42,237 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbb73afa-a2b4-4310-b7ca-70064292093b', 'name': '', 'tenant_id': 'bb82ec7404a349bc949203089fe6e946', 'network_id': 'c7643bec-4d45-440b-89f2-fcd5649a08e8', 'ip_version': 4, 'cidr': '52.154.161.0/26', 'allocation_pools': [{'start': '52.154.161.2', 'end': '52.154.161.62'}], 'gateway_ip': '52.154.161.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.154.161.2', 'tags': [], 'project_id': 'bb82ec7404a349bc949203089fe6e946'}}
2026-02-23 02:00:42,257 - INFO - Created VN ctest-vn-59966594
2026-02-23 02:00:42,312 - DEBUG - VN ctest-vn-59966594 UUID is c7643bec-4d45-440b-89f2-fcd5649a08e8
2026-02-23 02:00:42,434 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-03546520, 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-44725500:ctest-vn-59966594, 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-23 02:00:42,758 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '85093e76-148d-418c-af4b-c2fab79327e5', 'name': 'ctest-vn-03546520', 'tenant_id': 'bb82ec7404a349bc949203089fe6e946', 'project_id': 'bb82ec7404a349bc949203089fe6e946', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48981109-c78a-4f1f-b1a4-c2043ad972cd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44725500', 'ctest-vn-03546520'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44725500', 'ctest-policy-allow-all-21856912']], 'subnet_ipam': [{'subnet_cidr': '187.148.234.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-23 02:00:42,994 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c7643bec-4d45-440b-89f2-fcd5649a08e8', 'name': 'ctest-vn-59966594', 'tenant_id': 'bb82ec7404a349bc949203089fe6e946', 'project_id': 'bb82ec7404a349bc949203089fe6e946', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dbb73afa-a2b4-4310-b7ca-70064292093b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44725500', 'ctest-vn-59966594'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44725500', 'ctest-policy-allow-all-21856912']], 'subnet_ipam': [{'subnet_cidr': '52.154.161.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-23 02:00:43,168 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-02-23 02:00:43,471 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-02-23 02:00:43,506 - DEBUG - Requesting: http://10.0.0.41:8082/domain/39e639d9-c827-4853-b1af-cd594887292a
2026-02-23 02:00:43,519 - DEBUG - Requesting: http://10.0.0.41:8082/project/bb82ec74-04a3-49bc-9492-03089fe6e946
2026-02-23 02:00:43,594 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/85093e76-148d-418c-af4b-c2fab79327e5
2026-02-23 02:00:43,605 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/85093e76-148d-418c-af4b-c2fab79327e5
2026-02-23 02:00:43,614 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/55276063-01e0-40a6-bba1-593f73310d1a
2026-02-23 02:00:43,622 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/55276063-01e0-40a6-bba1-593f73310d1a
2026-02-23 02:00:43,631 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/efd83795-360f-4a59-b081-ad4bb4691674
2026-02-23 02:00:43,638 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-23 02:00:43,638 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/85093e76-148d-418c-af4b-c2fab79327e5
2026-02-23 02:00:43,646 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/55276063-01e0-40a6-bba1-593f73310d1a
2026-02-23 02:00:43,661 - INFO - Verified VN network id 11 for VN 85093e76-148d-418c-af4b-c2fab79327e5
2026-02-23 02:00:43,661 - INFO - Verifications in API Server for VN ctest-vn-03546520 passed
2026-02-23 02:00:43,661 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/85093e76-148d-418c-af4b-c2fab79327e5
2026-02-23 02:00:43,671 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/55276063-01e0-40a6-bba1-593f73310d1a
2026-02-23 02:00:43,679 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/55276063-01e0-40a6-bba1-593f73310d1a
2026-02-23 02:00:43,688 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/efd83795-360f-4a59-b081-ad4bb4691674
2026-02-23 02:00:43,700 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-03546520', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44725500', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9586261958706676108', 'uuid-lslong': '12631403961968175077'}, 'enable': 'true', 'created': '2026-02-23T02:00:41', 'last-modified': '2026-02-23T02:00:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968695'}
2026-02-23 02:00:43,705 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-23 02:00:43,705 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03546520 passed
2026-02-23 02:00:43,706 - DEBUG - ====Verifying policy data for ctest-vn-03546520 in API_Server ======
2026-02-23 02:00:43,706 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-02-23 02:00:43,711 - DEBUG - Requesting: http://10.0.0.41:8082/domain/39e639d9-c827-4853-b1af-cd594887292a
2026-02-23 02:00:43,723 - DEBUG - Requesting: http://10.0.0.41:8082/project/bb82ec74-04a3-49bc-9492-03089fe6e946
2026-02-23 02:00:43,795 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/85093e76-148d-418c-af4b-c2fab79327e5
2026-02-23 02:00:43,805 - DEBUG - ==>Verifying data for policy with id: 42867348-3bdf-49fe-b49a-d5d41f8cfd85, fqn: ['default-domain', 'ctest-TestBasicPolicy-44725500', 'ctest-policy-allow-all-21856912']
2026-02-23 02:00:43,806 - INFO - VN ctest-vn-03546520 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-23 02:00:43,806 - DEBUG - Verifying the vn in opserver
2026-02-23 02:00:43,806 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-03546520 virtual network link through opserver 10.0.0.41
2026-02-23 02:00:43,806 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-02-23 02:00:44,104 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-02-23 02:00:44,174 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-03546520', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-03546520?flat'}
2026-02-23 02:00:44,174 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-03546520 is found in opserver
2026-02-23 02:00:44,185 - DEBUG - Do not have enough data to verify VN in agent
2026-02-23 02:00:44,190 - DEBUG - VRF ids for VN ctest-vn-03546520: {}
2026-02-23 02:00:44,190 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-02-23 02:00:44,195 - DEBUG - Requesting: http://10.0.0.41:8082/domain/39e639d9-c827-4853-b1af-cd594887292a
2026-02-23 02:00:44,207 - DEBUG - Requesting: http://10.0.0.41:8082/project/bb82ec74-04a3-49bc-9492-03089fe6e946
2026-02-23 02:00:44,280 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c7643bec-4d45-440b-89f2-fcd5649a08e8
2026-02-23 02:00:44,293 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c7643bec-4d45-440b-89f2-fcd5649a08e8
2026-02-23 02:00:44,302 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/262b2400-9d50-412f-b117-517ba4c09175
2026-02-23 02:00:44,309 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/262b2400-9d50-412f-b117-517ba4c09175
2026-02-23 02:00:44,316 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/adb17212-53e5-4fdf-a6cd-8bda99c316f1
2026-02-23 02:00:44,324 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-23 02:00:44,324 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c7643bec-4d45-440b-89f2-fcd5649a08e8
2026-02-23 02:00:44,334 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/262b2400-9d50-412f-b117-517ba4c09175
2026-02-23 02:00:44,350 - INFO - Verified VN network id 12 for VN c7643bec-4d45-440b-89f2-fcd5649a08e8
2026-02-23 02:00:44,350 - INFO - Verifications in API Server for VN ctest-vn-59966594 passed
2026-02-23 02:00:44,350 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c7643bec-4d45-440b-89f2-fcd5649a08e8
2026-02-23 02:00:44,363 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/262b2400-9d50-412f-b117-517ba4c09175
2026-02-23 02:00:44,374 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/262b2400-9d50-412f-b117-517ba4c09175
2026-02-23 02:00:44,382 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/adb17212-53e5-4fdf-a6cd-8bda99c316f1
2026-02-23 02:00:44,392 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-59966594', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44725500', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14367674597313430539', 'uuid-lslong': '9940285321006156008'}, 'enable': 'true', 'created': '2026-02-23T02:00:42', 'last-modified': '2026-02-23T02:00:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.422143'}
2026-02-23 02:00:44,398 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-23 02:00:44,398 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59966594 passed
2026-02-23 02:00:44,398 - DEBUG - ====Verifying policy data for ctest-vn-59966594 in API_Server ======
2026-02-23 02:00:44,398 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-02-23 02:00:44,404 - DEBUG - Requesting: http://10.0.0.41:8082/domain/39e639d9-c827-4853-b1af-cd594887292a
2026-02-23 02:00:44,415 - DEBUG - Requesting: http://10.0.0.41:8082/project/bb82ec74-04a3-49bc-9492-03089fe6e946
2026-02-23 02:00:44,487 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c7643bec-4d45-440b-89f2-fcd5649a08e8
2026-02-23 02:00:44,496 - DEBUG - ==>Verifying data for policy with id: 42867348-3bdf-49fe-b49a-d5d41f8cfd85, fqn: ['default-domain', 'ctest-TestBasicPolicy-44725500', 'ctest-policy-allow-all-21856912']
2026-02-23 02:00:44,496 - INFO - VN ctest-vn-59966594 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-23 02:00:44,497 - DEBUG - Verifying the vn in opserver
2026-02-23 02:00:44,497 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-59966594 virtual network link through opserver 10.0.0.41
2026-02-23 02:00:44,497 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-02-23 02:00:44,508 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-59966594', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-59966594?flat'}
2026-02-23 02:00:44,508 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-59966594 is found in opserver
2026-02-23 02:00:44,516 - DEBUG - Do not have enough data to verify VN in agent
2026-02-23 02:00:44,521 - DEBUG - VRF ids for VN ctest-vn-59966594: {}
2026-02-23 02:00:44,581 - DEBUG - Services list from nova: [