2026-10-02 04:51:35,090 - INFO - Domain Default found not creating
2026-10-02 04:51:35,301 - INFO - Project ctest-TestBasicPolicy-91423942 not found, creating it
2026-10-02 04:51:35,832 - INFO - Created Project:ctest-TestBasicPolicy-91423942, ID : 7a08c9fa-242c-4ed4-949d-d0304dcc3803
2026-10-02 04:51:37,698 - INFO - ================================================================================
2026-10-02 04:51:37,698 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-02 04:51:37,699 - 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-02 04:51:37,971 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.17': '0'}} with
2026-10-02 04:51:37,971 - INFO - Initial checks done. Running the testcase now
2026-10-02 04:51:37,971 - INFO -
2026-10-02 04:51:38,727 - DEBUG - Response for create_network : {'network': {'id': 'd561e0db-9b94-4692-876e-bca1b47aaaa5', 'name': 'ctest-vn-04239338', 'tenant_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'project_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91423942', 'ctest-vn-04239338'], 'port_security_enabled': True, 'description': ''}}
2026-10-02 04:51:38,924 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e86e68e7-0e2d-4f52-91ef-43b2c878895e', 'name': '', 'tenant_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'network_id': 'd561e0db-9b94-4692-876e-bca1b47aaaa5', 'ip_version': 4, 'cidr': '223.198.238.128/26', 'allocation_pools': [{'start': '223.198.238.130', 'end': '223.198.238.190'}], 'gateway_ip': '223.198.238.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.198.238.130', 'tags': [], 'project_id': '7a08c9fa242c4ed4949dd0304dcc3803'}}
2026-10-02 04:51:38,945 - INFO - Created VN ctest-vn-04239338
2026-10-02 04:51:39,000 - DEBUG - VN ctest-vn-04239338 UUID is d561e0db-9b94-4692-876e-bca1b47aaaa5
2026-10-02 04:51:39,358 - DEBUG - Response for create_network : {'network': {'id': '78d8593e-2b48-4b6d-8ca1-3697b83b1999', 'name': 'ctest-vn-34489753', 'tenant_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'project_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91423942', 'ctest-vn-34489753'], 'port_security_enabled': True, 'description': ''}}
2026-10-02 04:51:39,597 - DEBUG - Response for create_subnet : {'subnet': {'id': '525484ea-f4a2-455c-9cbd-79297cd2e8fc', 'name': '', 'tenant_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'network_id': '78d8593e-2b48-4b6d-8ca1-3697b83b1999', 'ip_version': 4, 'cidr': '197.232.157.128/26', 'allocation_pools': [{'start': '197.232.157.130', 'end': '197.232.157.190'}], 'gateway_ip': '197.232.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.232.157.130', 'tags': [], 'project_id': '7a08c9fa242c4ed4949dd0304dcc3803'}}
2026-10-02 04:51:39,618 - INFO - Created VN ctest-vn-34489753
2026-10-02 04:51:39,672 - DEBUG - VN ctest-vn-34489753 UUID is 78d8593e-2b48-4b6d-8ca1-3697b83b1999
2026-10-02 04:51:39,799 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-04239338, 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-91423942:ctest-vn-34489753, 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-02 04:51:40,136 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd561e0db-9b94-4692-876e-bca1b47aaaa5', 'name': 'ctest-vn-04239338', 'tenant_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'project_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e86e68e7-0e2d-4f52-91ef-43b2c878895e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91423942', 'ctest-vn-04239338'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91423942', 'ctest-policy-allow-all-99884978']], 'subnet_ipam': [{'subnet_cidr': '223.198.238.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-02 04:51:40,404 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '78d8593e-2b48-4b6d-8ca1-3697b83b1999', 'name': 'ctest-vn-34489753', 'tenant_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'project_id': '7a08c9fa242c4ed4949dd0304dcc3803', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['525484ea-f4a2-455c-9cbd-79297cd2e8fc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91423942', 'ctest-vn-34489753'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91423942', 'ctest-policy-allow-all-99884978']], 'subnet_ipam': [{'subnet_cidr': '197.232.157.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-02 04:51:40,572 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-02 04:51:40,959 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-02 04:51:40,999 - DEBUG - Requesting: http://10.0.0.190:8082/domain/6894662b-5702-4df9-a206-4bbbf4ca6688
2026-10-02 04:51:41,015 - DEBUG - Requesting: http://10.0.0.190:8082/project/7a08c9fa-242c-4ed4-949d-d0304dcc3803
2026-10-02 04:51:41,106 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/d561e0db-9b94-4692-876e-bca1b47aaaa5
2026-10-02 04:51:41,121 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/d561e0db-9b94-4692-876e-bca1b47aaaa5
2026-10-02 04:51:41,133 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/e06d34e2-dab6-4180-9f38-53d613b4429b
2026-10-02 04:51:41,144 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/e06d34e2-dab6-4180-9f38-53d613b4429b
2026-10-02 04:51:41,154 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/f437acb8-aace-4314-8cb4-37e2432f4c8b
2026-10-02 04:51:41,162 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-02 04:51:41,163 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/d561e0db-9b94-4692-876e-bca1b47aaaa5
2026-10-02 04:51:41,175 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/e06d34e2-dab6-4180-9f38-53d613b4429b
2026-10-02 04:51:41,194 - INFO - Verified VN network id 12 for VN d561e0db-9b94-4692-876e-bca1b47aaaa5
2026-10-02 04:51:41,194 - INFO - Verifications in API Server for VN ctest-vn-04239338 passed
2026-10-02 04:51:41,195 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/d561e0db-9b94-4692-876e-bca1b47aaaa5
2026-10-02 04:51:41,208 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/e06d34e2-dab6-4180-9f38-53d613b4429b
2026-10-02 04:51:41,217 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/e06d34e2-dab6-4180-9f38-53d613b4429b
2026-10-02 04:51:41,227 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/f437acb8-aace-4314-8cb4-37e2432f4c8b
2026-10-02 04:51:41,244 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-04239338', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91423942', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15375817836632229522', 'uuid-lslong': '9758944845262138021'}, 'enable': 'true', 'created': '2026-10-02T04:51:38', 'last-modified': '2026-10-02T04:51:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.138199'}
2026-10-02 04:51:41,253 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-02 04:51:41,254 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04239338 passed
2026-10-02 04:51:41,254 - DEBUG - ====Verifying policy data for ctest-vn-04239338 in API_Server ======
2026-10-02 04:51:41,254 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-02 04:51:41,261 - DEBUG - Requesting: http://10.0.0.190:8082/domain/6894662b-5702-4df9-a206-4bbbf4ca6688
2026-10-02 04:51:41,277 - DEBUG - Requesting: http://10.0.0.190:8082/project/7a08c9fa-242c-4ed4-949d-d0304dcc3803
2026-10-02 04:51:41,357 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/d561e0db-9b94-4692-876e-bca1b47aaaa5
2026-10-02 04:51:41,369 - DEBUG - ==>Verifying data for policy with id: 2cc3421f-2989-4b78-a6b0-28d37a9e3db8, fqn: ['default-domain', 'ctest-TestBasicPolicy-91423942', 'ctest-policy-allow-all-99884978']
2026-10-02 04:51:41,369 - INFO - VN ctest-vn-04239338 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-02 04:51:41,369 - DEBUG - Verifying the vn in opserver
2026-10-02 04:51:41,369 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-04239338 virtual network link through opserver 10.0.0.190
2026-10-02 04:51:41,369 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-10-02 04:51:41,756 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-10-02 04:51:41,827 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-04239338', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-04239338?flat'}
2026-10-02 04:51:41,827 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-04239338 is found in opserver
2026-10-02 04:51:41,839 - DEBUG - Do not have enough data to verify VN in agent
2026-10-02 04:51:41,845 - DEBUG - VRF ids for VN ctest-vn-04239338: {}
2026-10-02 04:51:41,845 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-02 04:51:41,852 - DEBUG - Requesting: http://10.0.0.190:8082/domain/6894662b-5702-4df9-a206-4bbbf4ca6688
2026-10-02 04:51:41,865 - DEBUG - Requesting: http://10.0.0.190:8082/project/7a08c9fa-242c-4ed4-949d-d0304dcc3803
2026-10-02 04:51:41,946 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/78d8593e-2b48-4b6d-8ca1-3697b83b1999
2026-10-02 04:51:41,961 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/78d8593e-2b48-4b6d-8ca1-3697b83b1999
2026-10-02 04:51:41,972 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ce307ce6-5e99-491a-bb78-0405dc26180a
2026-10-02 04:51:41,981 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ce307ce6-5e99-491a-bb78-0405dc26180a
2026-10-02 04:51:41,990 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/fd099336-e8ca-4a87-a97d-08aae73671a2
2026-10-02 04:51:42,000 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-02 04:51:42,000 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/78d8593e-2b48-4b6d-8ca1-3697b83b1999
2026-10-02 04:51:42,012 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ce307ce6-5e99-491a-bb78-0405dc26180a
2026-10-02 04:51:42,029 - INFO - Verified VN network id 13 for VN 78d8593e-2b48-4b6d-8ca1-3697b83b1999
2026-10-02 04:51:42,030 - INFO - Verifications in API Server for VN ctest-vn-34489753 passed
2026-10-02 04:51:42,030 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/78d8593e-2b48-4b6d-8ca1-3697b83b1999
2026-10-02 04:51:42,043 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ce307ce6-5e99-491a-bb78-0405dc26180a
2026-10-02 04:51:42,052 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/ce307ce6-5e99-491a-bb78-0405dc26180a
2026-10-02 04:51:42,061 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/fd099336-e8ca-4a87-a97d-08aae73671a2
2026-10-02 04:51:42,077 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-34489753', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91423942', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8707808003069856621', 'uuid-lslong': '10133440661819169177'}, 'enable': 'true', 'created': '2026-10-02T04:51:39', 'last-modified': '2026-10-02T04:51:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.708463'}
2026-10-02 04:51:42,086 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-02 04:51:42,087 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34489753 passed
2026-10-02 04:51:42,087 - DEBUG - ====Verifying policy data for ctest-vn-34489753 in API_Server ======
2026-10-02 04:51:42,087 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-10-02 04:51:42,097 - DEBUG - Requesting: http://10.0.0.190:8082/domain/6894662b-5702-4df9-a206-4bbbf4ca6688
2026-10-02 04:51:42,111 - DEBUG - Requesting: http://10.0.0.190:8082/project/7a08c9fa-242c-4ed4-949d-d0304dcc3803
2026-10-02 04:51:42,192 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/78d8593e-2b48-4b6d-8ca1-3697b83b1999
2026-10-02 04:51:42,204 - DEBUG - ==>Verifying data for policy with id: 2cc3421f-2989-4b78-a6b0-28d37a9e3db8, fqn: ['default-domain', 'ctest-TestBasicPolicy-91423942', 'ctest-policy-allow-all-99884978']
2026-10-02 04:51:42,204 - INFO - VN ctest-vn-34489753 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-02 04:51:42,204 - DEBUG - Verifying the vn in opserver
2026-10-02 04:51:42,204 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-34489753 virtual network link through opserver 10.0.0.190
2026-10-02 04:51:42,205 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-10-02 04:51:42,218 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-34489753', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-34489753?flat'}
2026-10-02 04:51:42,218 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91423942:ctest-vn-34489753 is found in opserver
2026-10-02 04:51:42,230 - DEBUG - Do not have enough data to verify VN in agent
2026-10-02 04:51:42,235 - DEBUG - VRF ids for VN ctest-vn-34489753: {}
2026-10-02 04:51:42,312 - DEBUG - Services list from nova: [