2026-09-09 13:19:03,408 - INFO - Domain Default found not creating
2026-09-09 13:19:03,586 - INFO - Project ctest-TestBasicPolicy-72141836 not found, creating it
2026-09-09 13:19:04,064 - INFO - Created Project:ctest-TestBasicPolicy-72141836, ID : 36b8a4ba-57e2-4d25-9de9-a56a14a46d00
2026-09-09 13:19:05,766 - INFO - ================================================================================
2026-09-09 13:19:05,766 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-09 13:19:05,766 - 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-09-09 13:19:06,039 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.254': '0'}} with
2026-09-09 13:19:06,039 - INFO - Initial checks done. Running the testcase now
2026-09-09 13:19:06,039 - INFO -
2026-09-09 13:19:06,682 - DEBUG - Response for create_network : {'network': {'id': '9f04ed72-8b0c-412b-9af5-52d0eeec9769', 'name': 'ctest-vn-25608294', 'tenant_id': '36b8a4ba57e24d259de9a56a14a46d00', 'project_id': '36b8a4ba57e24d259de9a56a14a46d00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72141836', 'ctest-vn-25608294'], 'port_security_enabled': True, 'description': ''}}
2026-09-09 13:19:06,862 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a188a92-b775-4d90-a1e4-f05c0b337d12', 'name': '', 'tenant_id': '36b8a4ba57e24d259de9a56a14a46d00', 'network_id': '9f04ed72-8b0c-412b-9af5-52d0eeec9769', 'ip_version': 4, 'cidr': '39.45.26.0/26', 'allocation_pools': [{'start': '39.45.26.2', 'end': '39.45.26.62'}], 'gateway_ip': '39.45.26.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.45.26.2', 'tags': [], 'project_id': '36b8a4ba57e24d259de9a56a14a46d00'}}
2026-09-09 13:19:06,880 - INFO - Created VN ctest-vn-25608294
2026-09-09 13:19:06,940 - DEBUG - VN ctest-vn-25608294 UUID is 9f04ed72-8b0c-412b-9af5-52d0eeec9769
2026-09-09 13:19:07,262 - DEBUG - Response for create_network : {'network': {'id': 'ac30d6c9-5688-445c-845c-c3c175a45672', 'name': 'ctest-vn-50516020', 'tenant_id': '36b8a4ba57e24d259de9a56a14a46d00', 'project_id': '36b8a4ba57e24d259de9a56a14a46d00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72141836', 'ctest-vn-50516020'], 'port_security_enabled': True, 'description': ''}}
2026-09-09 13:19:07,489 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eda1f85b-55cf-4cb3-baf9-ebe7750d869a', 'name': '', 'tenant_id': '36b8a4ba57e24d259de9a56a14a46d00', 'network_id': 'ac30d6c9-5688-445c-845c-c3c175a45672', 'ip_version': 4, 'cidr': '146.122.70.192/26', 'allocation_pools': [{'start': '146.122.70.194', 'end': '146.122.70.254'}], 'gateway_ip': '146.122.70.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.122.70.194', 'tags': [], 'project_id': '36b8a4ba57e24d259de9a56a14a46d00'}}
2026-09-09 13:19:07,508 - INFO - Created VN ctest-vn-50516020
2026-09-09 13:19:07,560 - DEBUG - VN ctest-vn-50516020 UUID is ac30d6c9-5688-445c-845c-c3c175a45672
2026-09-09 13:19:07,671 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-25608294, 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-72141836:ctest-vn-50516020, 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-09-09 13:19:07,984 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9f04ed72-8b0c-412b-9af5-52d0eeec9769', 'name': 'ctest-vn-25608294', 'tenant_id': '36b8a4ba57e24d259de9a56a14a46d00', 'project_id': '36b8a4ba57e24d259de9a56a14a46d00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9a188a92-b775-4d90-a1e4-f05c0b337d12'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72141836', 'ctest-vn-25608294'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72141836', 'ctest-policy-allow-all-10262391']], 'subnet_ipam': [{'subnet_cidr': '39.45.26.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-09 13:19:08,235 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ac30d6c9-5688-445c-845c-c3c175a45672', 'name': 'ctest-vn-50516020', 'tenant_id': '36b8a4ba57e24d259de9a56a14a46d00', 'project_id': '36b8a4ba57e24d259de9a56a14a46d00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['eda1f85b-55cf-4cb3-baf9-ebe7750d869a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72141836', 'ctest-vn-50516020'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72141836', 'ctest-policy-allow-all-10262391']], 'subnet_ipam': [{'subnet_cidr': '146.122.70.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-09 13:19:08,408 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-09 13:19:08,775 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-09 13:19:08,804 - DEBUG - Requesting: http://10.0.0.177:8082/domain/c2cb5d75-1a7b-4cf8-b61a-728c0285ac63
2026-09-09 13:19:08,818 - DEBUG - Requesting: http://10.0.0.177:8082/project/36b8a4ba-57e2-4d25-9de9-a56a14a46d00
2026-09-09 13:19:08,892 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9f04ed72-8b0c-412b-9af5-52d0eeec9769
2026-09-09 13:19:08,904 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9f04ed72-8b0c-412b-9af5-52d0eeec9769
2026-09-09 13:19:08,914 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/39576fb6-0f89-41eb-acf5-0e62395b0070
2026-09-09 13:19:08,922 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/39576fb6-0f89-41eb-acf5-0e62395b0070
2026-09-09 13:19:08,929 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/d473d392-abd3-4c31-a9f9-c2fab4a08390
2026-09-09 13:19:08,935 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-09 13:19:08,935 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9f04ed72-8b0c-412b-9af5-52d0eeec9769
2026-09-09 13:19:08,944 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/39576fb6-0f89-41eb-acf5-0e62395b0070
2026-09-09 13:19:08,958 - INFO - Verified VN network id 12 for VN 9f04ed72-8b0c-412b-9af5-52d0eeec9769
2026-09-09 13:19:08,958 - INFO - Verifications in API Server for VN ctest-vn-25608294 passed
2026-09-09 13:19:08,958 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9f04ed72-8b0c-412b-9af5-52d0eeec9769
2026-09-09 13:19:08,968 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/39576fb6-0f89-41eb-acf5-0e62395b0070
2026-09-09 13:19:08,977 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/39576fb6-0f89-41eb-acf5-0e62395b0070
2026-09-09 13:19:08,985 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/d473d392-abd3-4c31-a9f9-c2fab4a08390
2026-09-09 13:19:08,998 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-25608294', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72141836', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11458544428152275243', 'uuid-lslong': '11165921908450170729'}, 'enable': 'true', 'created': '2026-09-09T13:19:06', 'last-modified': '2026-09-09T13:19:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.038142'}
2026-09-09 13:19:09,007 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-09 13:19:09,007 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25608294 passed
2026-09-09 13:19:09,008 - DEBUG - ====Verifying policy data for ctest-vn-25608294 in API_Server ======
2026-09-09 13:19:09,008 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-09 13:19:09,014 - DEBUG - Requesting: http://10.0.0.177:8082/domain/c2cb5d75-1a7b-4cf8-b61a-728c0285ac63
2026-09-09 13:19:09,026 - DEBUG - Requesting: http://10.0.0.177:8082/project/36b8a4ba-57e2-4d25-9de9-a56a14a46d00
2026-09-09 13:19:09,107 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9f04ed72-8b0c-412b-9af5-52d0eeec9769
2026-09-09 13:19:09,123 - DEBUG - ==>Verifying data for policy with id: 3d8ae71a-5210-4734-abb6-176b817b08d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-72141836', 'ctest-policy-allow-all-10262391']
2026-09-09 13:19:09,123 - INFO - VN ctest-vn-25608294 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-09 13:19:09,123 - DEBUG - Verifying the vn in opserver
2026-09-09 13:19:09,123 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-25608294 virtual network link through opserver 10.0.0.177
2026-09-09 13:19:09,123 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-09 13:19:09,492 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-09 13:19:09,562 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-25608294', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-25608294?flat'}
2026-09-09 13:19:09,562 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-25608294 is found in opserver
2026-09-09 13:19:09,575 - DEBUG - Do not have enough data to verify VN in agent
2026-09-09 13:19:09,580 - DEBUG - VRF ids for VN ctest-vn-25608294: {}
2026-09-09 13:19:09,580 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-09 13:19:09,587 - DEBUG - Requesting: http://10.0.0.177:8082/domain/c2cb5d75-1a7b-4cf8-b61a-728c0285ac63
2026-09-09 13:19:09,597 - DEBUG - Requesting: http://10.0.0.177:8082/project/36b8a4ba-57e2-4d25-9de9-a56a14a46d00
2026-09-09 13:19:09,674 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ac30d6c9-5688-445c-845c-c3c175a45672
2026-09-09 13:19:09,686 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ac30d6c9-5688-445c-845c-c3c175a45672
2026-09-09 13:19:09,696 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/e471f7a4-52a2-4c6b-9691-1344fdbb1ac7
2026-09-09 13:19:09,704 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/e471f7a4-52a2-4c6b-9691-1344fdbb1ac7
2026-09-09 13:19:09,711 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/7ecbdd60-f10d-4305-aa61-416699f557a0
2026-09-09 13:19:09,717 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-09 13:19:09,717 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ac30d6c9-5688-445c-845c-c3c175a45672
2026-09-09 13:19:09,727 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/e471f7a4-52a2-4c6b-9691-1344fdbb1ac7
2026-09-09 13:19:09,742 - INFO - Verified VN network id 13 for VN ac30d6c9-5688-445c-845c-c3c175a45672
2026-09-09 13:19:09,742 - INFO - Verifications in API Server for VN ctest-vn-50516020 passed
2026-09-09 13:19:09,742 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ac30d6c9-5688-445c-845c-c3c175a45672
2026-09-09 13:19:09,752 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/e471f7a4-52a2-4c6b-9691-1344fdbb1ac7
2026-09-09 13:19:09,761 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/e471f7a4-52a2-4c6b-9691-1344fdbb1ac7
2026-09-09 13:19:09,770 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/7ecbdd60-f10d-4305-aa61-416699f557a0
2026-09-09 13:19:09,784 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-50516020', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72141836', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12407653133634258012', 'uuid-lslong': '9537713346533676658'}, 'enable': 'true', 'created': '2026-09-09T13:19:07', 'last-modified': '2026-09-09T13:19:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.569453'}
2026-09-09 13:19:09,793 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-09 13:19:09,793 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50516020 passed
2026-09-09 13:19:09,794 - DEBUG - ====Verifying policy data for ctest-vn-50516020 in API_Server ======
2026-09-09 13:19:09,794 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-09-09 13:19:09,801 - DEBUG - Requesting: http://10.0.0.177:8082/domain/c2cb5d75-1a7b-4cf8-b61a-728c0285ac63
2026-09-09 13:19:09,813 - DEBUG - Requesting: http://10.0.0.177:8082/project/36b8a4ba-57e2-4d25-9de9-a56a14a46d00
2026-09-09 13:19:09,894 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ac30d6c9-5688-445c-845c-c3c175a45672
2026-09-09 13:19:09,904 - DEBUG - ==>Verifying data for policy with id: 3d8ae71a-5210-4734-abb6-176b817b08d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-72141836', 'ctest-policy-allow-all-10262391']
2026-09-09 13:19:09,904 - INFO - VN ctest-vn-50516020 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-09 13:19:09,904 - DEBUG - Verifying the vn in opserver
2026-09-09 13:19:09,904 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-50516020 virtual network link through opserver 10.0.0.177
2026-09-09 13:19:09,904 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-09-09 13:19:09,916 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-50516020', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-50516020?flat'}
2026-09-09 13:19:09,916 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72141836:ctest-vn-50516020 is found in opserver
2026-09-09 13:19:09,927 - DEBUG - Do not have enough data to verify VN in agent
2026-09-09 13:19:09,934 - DEBUG - VRF ids for VN ctest-vn-50516020: {}
2026-09-09 13:19:10,008 - DEBUG - Services list from nova: [