2026-10-26 15:07:30,934 - INFO - Domain Default found not creating
2026-10-26 15:07:31,165 - INFO - Project ctest-TestBasicPolicy-02631618 not found, creating it
2026-10-26 15:07:31,688 - INFO - Created Project:ctest-TestBasicPolicy-02631618, ID : a9397ea4-3eed-47a7-a011-66fd4c590a63
2026-10-26 15:07:33,868 - INFO - ================================================================================
2026-10-26 15:07:33,868 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-26 15:07:33,868 - 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-10-26 15:07:34,146 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with
2026-10-26 15:07:34,146 - INFO - Initial checks done. Running the testcase now
2026-10-26 15:07:34,146 - INFO -
2026-10-26 15:07:34,836 - DEBUG - Response for create_network : {'network': {'id': 'c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6', 'name': 'ctest-vn-20029217', 'tenant_id': 'a9397ea43eed47a7a01166fd4c590a63', 'project_id': 'a9397ea43eed47a7a01166fd4c590a63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02631618', 'ctest-vn-20029217'], 'port_security_enabled': True, 'description': ''}}
2026-10-26 15:07:35,086 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b54ea28-4f63-4618-8186-3b81b0f48c5e', 'name': '', 'tenant_id': 'a9397ea43eed47a7a01166fd4c590a63', 'network_id': 'c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6', 'ip_version': 4, 'cidr': '129.225.141.64/26', 'allocation_pools': [{'start': '129.225.141.66', 'end': '129.225.141.126'}], 'gateway_ip': '129.225.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.225.141.66', 'tags': [], 'project_id': 'a9397ea43eed47a7a01166fd4c590a63'}}
2026-10-26 15:07:35,107 - INFO - Created VN ctest-vn-20029217
2026-10-26 15:07:35,162 - DEBUG - VN ctest-vn-20029217 UUID is c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6
2026-10-26 15:07:35,519 - DEBUG - Response for create_network : {'network': {'id': 'f9355c1c-0f4e-4028-af8f-58cdf71c33cf', 'name': 'ctest-vn-04030182', 'tenant_id': 'a9397ea43eed47a7a01166fd4c590a63', 'project_id': 'a9397ea43eed47a7a01166fd4c590a63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02631618', 'ctest-vn-04030182'], 'port_security_enabled': True, 'description': ''}}
2026-10-26 15:07:35,799 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c280ef09-9a01-4d80-a476-5bce696a63f9', 'name': '', 'tenant_id': 'a9397ea43eed47a7a01166fd4c590a63', 'network_id': 'f9355c1c-0f4e-4028-af8f-58cdf71c33cf', 'ip_version': 4, 'cidr': '94.5.93.0/26', 'allocation_pools': [{'start': '94.5.93.2', 'end': '94.5.93.62'}], 'gateway_ip': '94.5.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.5.93.2', 'tags': [], 'project_id': 'a9397ea43eed47a7a01166fd4c590a63'}}
2026-10-26 15:07:35,822 - INFO - Created VN ctest-vn-04030182
2026-10-26 15:07:35,878 - DEBUG - VN ctest-vn-04030182 UUID is f9355c1c-0f4e-4028-af8f-58cdf71c33cf
2026-10-26 15:07:36,005 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-20029217, 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-02631618:ctest-vn-04030182, 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-10-26 15:07:36,348 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6', 'name': 'ctest-vn-20029217', 'tenant_id': 'a9397ea43eed47a7a01166fd4c590a63', 'project_id': 'a9397ea43eed47a7a01166fd4c590a63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['6b54ea28-4f63-4618-8186-3b81b0f48c5e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02631618', 'ctest-vn-20029217'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02631618', 'ctest-policy-allow-all-09423100']], 'subnet_ipam': [{'subnet_cidr': '129.225.141.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-26 15:07:36,632 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f9355c1c-0f4e-4028-af8f-58cdf71c33cf', 'name': 'ctest-vn-04030182', 'tenant_id': 'a9397ea43eed47a7a01166fd4c590a63', 'project_id': 'a9397ea43eed47a7a01166fd4c590a63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c280ef09-9a01-4d80-a476-5bce696a63f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02631618', 'ctest-vn-04030182'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02631618', 'ctest-policy-allow-all-09423100']], 'subnet_ipam': [{'subnet_cidr': '94.5.93.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-26 15:07:36,802 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-26 15:07:37,187 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-26 15:07:37,220 - DEBUG - Requesting: http://10.0.0.161:8082/domain/25cfa2e6-6f87-4fc5-95ab-e0013c9f0920
2026-10-26 15:07:37,234 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9397ea4-3eed-47a7-a011-66fd4c590a63
2026-10-26 15:07:37,321 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6
2026-10-26 15:07:37,335 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6
2026-10-26 15:07:37,354 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/eeaa35cb-4ce5-4e5d-bfda-f06b77c3cf98
2026-10-26 15:07:37,374 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/eeaa35cb-4ce5-4e5d-bfda-f06b77c3cf98
2026-10-26 15:07:37,386 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/e0a05f15-26cd-4360-b7db-b7a732681da8
2026-10-26 15:07:37,395 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-26 15:07:37,395 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6
2026-10-26 15:07:37,408 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/eeaa35cb-4ce5-4e5d-bfda-f06b77c3cf98
2026-10-26 15:07:37,429 - INFO - Verified VN network id 10 for VN c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6
2026-10-26 15:07:37,429 - INFO - Verifications in API Server for VN ctest-vn-20029217 passed
2026-10-26 15:07:37,429 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6
2026-10-26 15:07:37,442 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/eeaa35cb-4ce5-4e5d-bfda-f06b77c3cf98
2026-10-26 15:07:37,454 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/eeaa35cb-4ce5-4e5d-bfda-f06b77c3cf98
2026-10-26 15:07:37,465 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/e0a05f15-26cd-4360-b7db-b7a732681da8
2026-10-26 15:07:37,487 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-20029217', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02631618', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14500833677092736642', 'uuid-lslong': '10210204668454631142'}, 'enable': 'true', 'created': '2026-10-26T15:07:34', 'last-modified': '2026-10-26T15:07:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.170917'}
2026-10-26 15:07:37,497 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-26 15:07:37,497 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20029217 passed
2026-10-26 15:07:37,497 - DEBUG - ====Verifying policy data for ctest-vn-20029217 in API_Server ======
2026-10-26 15:07:37,497 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-26 15:07:37,505 - DEBUG - Requesting: http://10.0.0.161:8082/domain/25cfa2e6-6f87-4fc5-95ab-e0013c9f0920
2026-10-26 15:07:37,521 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9397ea4-3eed-47a7-a011-66fd4c590a63
2026-10-26 15:07:37,601 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6
2026-10-26 15:07:37,617 - DEBUG - ==>Verifying data for policy with id: b6b5574c-504c-490c-97d1-2dd02911c443, fqn: ['default-domain', 'ctest-TestBasicPolicy-02631618', 'ctest-policy-allow-all-09423100']
2026-10-26 15:07:37,617 - INFO - VN ctest-vn-20029217 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-26 15:07:37,617 - DEBUG - Verifying the vn in opserver
2026-10-26 15:07:37,617 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-20029217 virtual network link through opserver 10.0.0.161
2026-10-26 15:07:37,618 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-10-26 15:07:38,024 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-10-26 15:07:38,095 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-20029217', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-20029217?flat'}
2026-10-26 15:07:38,095 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-20029217 is found in opserver
2026-10-26 15:07:38,106 - DEBUG - Do not have enough data to verify VN in agent
2026-10-26 15:07:38,113 - DEBUG - VRF ids for VN ctest-vn-20029217: {}
2026-10-26 15:07:38,114 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-26 15:07:38,121 - DEBUG - Requesting: http://10.0.0.161:8082/domain/25cfa2e6-6f87-4fc5-95ab-e0013c9f0920
2026-10-26 15:07:38,135 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9397ea4-3eed-47a7-a011-66fd4c590a63
2026-10-26 15:07:38,213 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f9355c1c-0f4e-4028-af8f-58cdf71c33cf
2026-10-26 15:07:38,228 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f9355c1c-0f4e-4028-af8f-58cdf71c33cf
2026-10-26 15:07:38,240 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f9ddef73-8197-4c6f-a7f7-d838ec2f4af3
2026-10-26 15:07:38,252 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f9ddef73-8197-4c6f-a7f7-d838ec2f4af3
2026-10-26 15:07:38,263 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/f5753369-ab8e-4d6a-9cd3-5b0fb04c9c50
2026-10-26 15:07:38,273 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-26 15:07:38,273 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f9355c1c-0f4e-4028-af8f-58cdf71c33cf
2026-10-26 15:07:38,288 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f9ddef73-8197-4c6f-a7f7-d838ec2f4af3
2026-10-26 15:07:38,308 - INFO - Verified VN network id 11 for VN f9355c1c-0f4e-4028-af8f-58cdf71c33cf
2026-10-26 15:07:38,308 - INFO - Verifications in API Server for VN ctest-vn-04030182 passed
2026-10-26 15:07:38,308 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f9355c1c-0f4e-4028-af8f-58cdf71c33cf
2026-10-26 15:07:38,324 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f9ddef73-8197-4c6f-a7f7-d838ec2f4af3
2026-10-26 15:07:38,336 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f9ddef73-8197-4c6f-a7f7-d838ec2f4af3
2026-10-26 15:07:38,348 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/f5753369-ab8e-4d6a-9cd3-5b0fb04c9c50
2026-10-26 15:07:38,368 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-04030182', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02631618', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17957360364795346984', 'uuid-lslong': '12650427519944373199'}, 'enable': 'true', 'created': '2026-10-26T15:07:35', 'last-modified': '2026-10-26T15:07:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.774154'}
2026-10-26 15:07:38,377 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-26 15:07:38,378 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04030182 passed
2026-10-26 15:07:38,378 - DEBUG - ====Verifying policy data for ctest-vn-04030182 in API_Server ======
2026-10-26 15:07:38,378 - DEBUG - Requesting: http://10.0.0.161:8082/domains
2026-10-26 15:07:38,385 - DEBUG - Requesting: http://10.0.0.161:8082/domain/25cfa2e6-6f87-4fc5-95ab-e0013c9f0920
2026-10-26 15:07:38,400 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9397ea4-3eed-47a7-a011-66fd4c590a63
2026-10-26 15:07:38,490 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f9355c1c-0f4e-4028-af8f-58cdf71c33cf
2026-10-26 15:07:38,505 - DEBUG - ==>Verifying data for policy with id: b6b5574c-504c-490c-97d1-2dd02911c443, fqn: ['default-domain', 'ctest-TestBasicPolicy-02631618', 'ctest-policy-allow-all-09423100']
2026-10-26 15:07:38,505 - INFO - VN ctest-vn-04030182 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-26 15:07:38,505 - DEBUG - Verifying the vn in opserver
2026-10-26 15:07:38,505 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-04030182 virtual network link through opserver 10.0.0.161
2026-10-26 15:07:38,505 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks
2026-10-26 15:07:38,520 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-04030182', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-04030182?flat'}
2026-10-26 15:07:38,520 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-04030182 is found in opserver
2026-10-26 15:07:38,533 - DEBUG - Do not have enough data to verify VN in agent
2026-10-26 15:07:38,541 - DEBUG - VRF ids for VN ctest-vn-04030182: {}
2026-10-26 15:07:38,621 - DEBUG - Services list from nova: [