2026-02-05 13:34:12,502 - INFO - Domain Default found not creating
2026-02-05 13:34:12,665 - INFO - Project ctest-TestBasicPolicy-89464910 not found, creating it
2026-02-05 13:34:13,123 - INFO - Created Project:ctest-TestBasicPolicy-89464910, ID : e079f3c4-3154-47e1-ac2b-68171d7c9004
2026-02-05 13:34:14,590 - INFO - ================================================================================
2026-02-05 13:34:14,590 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-05 13:34:14,590 - 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-05 13:34:14,844 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-05 13:34:14,844 - INFO - Initial checks done. Running the testcase now
2026-02-05 13:34:14,844 - INFO -
2026-02-05 13:34:15,396 - DEBUG - Response for create_network : {'network': {'id': '0b80c01a-9459-4796-904c-37a77a1e236e', 'name': 'ctest-vn-69167875', 'tenant_id': 'e079f3c4315447e1ac2b68171d7c9004', 'project_id': 'e079f3c4315447e1ac2b68171d7c9004', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89464910', 'ctest-vn-69167875'], 'port_security_enabled': True, 'description': ''}}
2026-02-05 13:34:15,593 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e8a3821-cdf4-483c-9329-7d13e55118bd', 'name': '', 'tenant_id': 'e079f3c4315447e1ac2b68171d7c9004', 'network_id': '0b80c01a-9459-4796-904c-37a77a1e236e', 'ip_version': 4, 'cidr': '135.93.252.0/26', 'allocation_pools': [{'start': '135.93.252.2', 'end': '135.93.252.62'}], 'gateway_ip': '135.93.252.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.93.252.2', 'tags': [], 'project_id': 'e079f3c4315447e1ac2b68171d7c9004'}}
2026-02-05 13:34:15,610 - INFO - Created VN ctest-vn-69167875
2026-02-05 13:34:15,663 - DEBUG - VN ctest-vn-69167875 UUID is 0b80c01a-9459-4796-904c-37a77a1e236e
2026-02-05 13:34:15,976 - DEBUG - Response for create_network : {'network': {'id': 'd54ec2bb-81ba-497a-ac25-ce37326bd10c', 'name': 'ctest-vn-97998510', 'tenant_id': 'e079f3c4315447e1ac2b68171d7c9004', 'project_id': 'e079f3c4315447e1ac2b68171d7c9004', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89464910', 'ctest-vn-97998510'], 'port_security_enabled': True, 'description': ''}}
2026-02-05 13:34:16,176 - DEBUG - Response for create_subnet : {'subnet': {'id': '773dc8cf-0d99-4433-a2ba-b1793be97052', 'name': '', 'tenant_id': 'e079f3c4315447e1ac2b68171d7c9004', 'network_id': 'd54ec2bb-81ba-497a-ac25-ce37326bd10c', 'ip_version': 4, 'cidr': '149.62.8.0/26', 'allocation_pools': [{'start': '149.62.8.2', 'end': '149.62.8.62'}], 'gateway_ip': '149.62.8.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.62.8.2', 'tags': [], 'project_id': 'e079f3c4315447e1ac2b68171d7c9004'}}
2026-02-05 13:34:16,195 - INFO - Created VN ctest-vn-97998510
2026-02-05 13:34:16,247 - DEBUG - VN ctest-vn-97998510 UUID is d54ec2bb-81ba-497a-ac25-ce37326bd10c
2026-02-05 13:34:16,399 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89464910:ctest-vn-69167875, 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-89464910:ctest-vn-97998510, 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-05 13:34:16,717 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0b80c01a-9459-4796-904c-37a77a1e236e', 'name': 'ctest-vn-69167875', 'tenant_id': 'e079f3c4315447e1ac2b68171d7c9004', 'project_id': 'e079f3c4315447e1ac2b68171d7c9004', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3e8a3821-cdf4-483c-9329-7d13e55118bd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89464910', 'ctest-vn-69167875'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89464910', 'ctest-policy-allow-all-16324364']], 'subnet_ipam': [{'subnet_cidr': '135.93.252.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-05 13:34:17,076 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd54ec2bb-81ba-497a-ac25-ce37326bd10c', 'name': 'ctest-vn-97998510', 'tenant_id': 'e079f3c4315447e1ac2b68171d7c9004', 'project_id': 'e079f3c4315447e1ac2b68171d7c9004', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['773dc8cf-0d99-4433-a2ba-b1793be97052'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89464910', 'ctest-vn-97998510'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89464910', 'ctest-policy-allow-all-16324364']], 'subnet_ipam': [{'subnet_cidr': '149.62.8.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-05 13:34:17,215 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-05 13:34:17,588 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-05 13:34:17,619 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4439cc15-2e5f-4d30-8049-eafb92f213d8
2026-02-05 13:34:17,632 - DEBUG - Requesting: http://10.0.0.50:8082/project/e079f3c4-3154-47e1-ac2b-68171d7c9004
2026-02-05 13:34:17,719 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0b80c01a-9459-4796-904c-37a77a1e236e
2026-02-05 13:34:17,732 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0b80c01a-9459-4796-904c-37a77a1e236e
2026-02-05 13:34:17,744 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d4ef8c74-b6a4-42c2-bf77-bb1752ac4c39
2026-02-05 13:34:17,752 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d4ef8c74-b6a4-42c2-bf77-bb1752ac4c39
2026-02-05 13:34:17,760 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/40da91d4-9d91-45a0-94cf-5ff860780bc3
2026-02-05 13:34:17,767 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-05 13:34:17,767 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0b80c01a-9459-4796-904c-37a77a1e236e
2026-02-05 13:34:17,777 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d4ef8c74-b6a4-42c2-bf77-bb1752ac4c39
2026-02-05 13:34:17,793 - INFO - Verified VN network id 9 for VN 0b80c01a-9459-4796-904c-37a77a1e236e
2026-02-05 13:34:17,793 - INFO - Verifications in API Server for VN ctest-vn-69167875 passed
2026-02-05 13:34:17,793 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0b80c01a-9459-4796-904c-37a77a1e236e
2026-02-05 13:34:17,805 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d4ef8c74-b6a4-42c2-bf77-bb1752ac4c39
2026-02-05 13:34:17,814 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d4ef8c74-b6a4-42c2-bf77-bb1752ac4c39
2026-02-05 13:34:17,822 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/40da91d4-9d91-45a0-94cf-5ff860780bc3
2026-02-05 13:34:17,836 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89464910:ctest-vn-69167875', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89464910', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '828873551826732950', 'uuid-lslong': '10397746832139494254'}, 'enable': 'true', 'created': '2026-02-05T13:34:15', 'last-modified': '2026-02-05T13:34:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.153929'}
2026-02-05 13:34:17,843 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-05 13:34:17,843 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69167875 passed
2026-02-05 13:34:17,843 - DEBUG - ====Verifying policy data for ctest-vn-69167875 in API_Server ======
2026-02-05 13:34:17,843 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-05 13:34:17,849 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4439cc15-2e5f-4d30-8049-eafb92f213d8
2026-02-05 13:34:17,870 - DEBUG - Requesting: http://10.0.0.50:8082/project/e079f3c4-3154-47e1-ac2b-68171d7c9004
2026-02-05 13:34:17,965 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0b80c01a-9459-4796-904c-37a77a1e236e
2026-02-05 13:34:17,977 - DEBUG - ==>Verifying data for policy with id: f358d1d8-9c07-405f-9d1e-e57ffce1f165, fqn: ['default-domain', 'ctest-TestBasicPolicy-89464910', 'ctest-policy-allow-all-16324364']
2026-02-05 13:34:17,977 - INFO - VN ctest-vn-69167875 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-05 13:34:17,977 - DEBUG - Verifying the vn in opserver
2026-02-05 13:34:17,977 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89464910:ctest-vn-69167875 virtual network link through opserver 10.0.0.50
2026-02-05 13:34:17,977 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-05 13:34:18,273 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-05 13:34:18,337 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89464910:ctest-vn-69167875', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89464910:ctest-vn-69167875?flat'}
2026-02-05 13:34:18,337 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89464910:ctest-vn-69167875 is found in opserver
2026-02-05 13:34:18,348 - DEBUG - Do not have enough data to verify VN in agent
2026-02-05 13:34:18,353 - DEBUG - VRF ids for VN ctest-vn-69167875: {}
2026-02-05 13:34:18,353 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-05 13:34:18,358 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4439cc15-2e5f-4d30-8049-eafb92f213d8
2026-02-05 13:34:18,370 - DEBUG - Requesting: http://10.0.0.50:8082/project/e079f3c4-3154-47e1-ac2b-68171d7c9004
2026-02-05 13:34:18,440 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d54ec2bb-81ba-497a-ac25-ce37326bd10c
2026-02-05 13:34:18,453 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d54ec2bb-81ba-497a-ac25-ce37326bd10c
2026-02-05 13:34:18,464 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/04920a3e-005b-4cae-96ed-82b7605ff93a
2026-02-05 13:34:18,472 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/04920a3e-005b-4cae-96ed-82b7605ff93a
2026-02-05 13:34:18,478 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fe914452-446d-4d20-b378-5b88c2f5b483
2026-02-05 13:34:18,485 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-05 13:34:18,485 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d54ec2bb-81ba-497a-ac25-ce37326bd10c
2026-02-05 13:34:18,493 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/04920a3e-005b-4cae-96ed-82b7605ff93a
2026-02-05 13:34:18,508 - INFO - Verified VN network id 10 for VN d54ec2bb-81ba-497a-ac25-ce37326bd10c
2026-02-05 13:34:18,508 - INFO - Verifications in API Server for VN ctest-vn-97998510 passed
2026-02-05 13:34:18,508 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d54ec2bb-81ba-497a-ac25-ce37326bd10c
2026-02-05 13:34:18,517 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/04920a3e-005b-4cae-96ed-82b7605ff93a
2026-02-05 13:34:18,524 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/04920a3e-005b-4cae-96ed-82b7605ff93a
2026-02-05 13:34:18,530 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fe914452-446d-4d20-b378-5b88c2f5b483
2026-02-05 13:34:18,541 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89464910:ctest-vn-97998510', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89464910', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15370436688853223802', 'uuid-lslong': '12404547485126349068'}, 'enable': 'true', 'created': '2026-02-05T13:34:15', 'last-modified': '2026-02-05T13:34:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.501795'}
2026-02-05 13:34:18,546 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-05 13:34:18,546 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97998510 passed
2026-02-05 13:34:18,546 - DEBUG - ====Verifying policy data for ctest-vn-97998510 in API_Server ======
2026-02-05 13:34:18,546 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-05 13:34:18,552 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4439cc15-2e5f-4d30-8049-eafb92f213d8
2026-02-05 13:34:18,563 - DEBUG - Requesting: http://10.0.0.50:8082/project/e079f3c4-3154-47e1-ac2b-68171d7c9004
2026-02-05 13:34:18,631 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d54ec2bb-81ba-497a-ac25-ce37326bd10c
2026-02-05 13:34:18,639 - DEBUG - ==>Verifying data for policy with id: f358d1d8-9c07-405f-9d1e-e57ffce1f165, fqn: ['default-domain', 'ctest-TestBasicPolicy-89464910', 'ctest-policy-allow-all-16324364']
2026-02-05 13:34:18,640 - INFO - VN ctest-vn-97998510 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-05 13:34:18,640 - DEBUG - Verifying the vn in opserver
2026-02-05 13:34:18,640 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89464910:ctest-vn-97998510 virtual network link through opserver 10.0.0.50
2026-02-05 13:34:18,640 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-05 13:34:18,649 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89464910:ctest-vn-97998510', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89464910:ctest-vn-97998510?flat'}
2026-02-05 13:34:18,649 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89464910:ctest-vn-97998510 is found in opserver
2026-02-05 13:34:18,658 - DEBUG - Do not have enough data to verify VN in agent
2026-02-05 13:34:18,662 - DEBUG - VRF ids for VN ctest-vn-97998510: {}
2026-02-05 13:34:18,722 - DEBUG - Services list from nova: [