2025-09-13 06:10:05,377 - INFO - Domain Default found not creating
2025-09-13 06:10:05,542 - INFO - Project ctest-TestBasicPolicy-74109197 not found, creating it
2025-09-13 06:10:06,002 - INFO - Created Project:ctest-TestBasicPolicy-74109197, ID : f08644a5-65d1-49dd-b58d-6f17a790fcfa
2025-09-13 06:10:07,515 - INFO - ================================================================================
2025-09-13 06:10:07,515 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-09-13 06:10:07,516 - 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
2025-09-13 06:10:07,773 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-13 06:10:07,773 - INFO - Initial checks done. Running the testcase now
2025-09-13 06:10:07,773 - INFO -
2025-09-13 06:10:08,384 - DEBUG - Response for create_network : {'network': {'id': '98336c90-3094-4ee5-92ee-6f388c2fb93f', 'name': 'ctest-vn-26420585', 'tenant_id': 'f08644a565d149ddb58d6f17a790fcfa', 'project_id': 'f08644a565d149ddb58d6f17a790fcfa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74109197', 'ctest-vn-26420585'], 'port_security_enabled': True, 'description': ''}}
2025-09-13 06:10:08,610 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2824de3-d23e-4ee0-8095-1f1b7907c68d', 'name': '', 'tenant_id': 'f08644a565d149ddb58d6f17a790fcfa', 'network_id': '98336c90-3094-4ee5-92ee-6f388c2fb93f', 'ip_version': 4, 'cidr': '69.82.175.192/26', 'allocation_pools': [{'start': '69.82.175.194', 'end': '69.82.175.254'}], 'gateway_ip': '69.82.175.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.82.175.194', 'tags': [], 'project_id': 'f08644a565d149ddb58d6f17a790fcfa'}}
2025-09-13 06:10:08,629 - INFO - Created VN ctest-vn-26420585
2025-09-13 06:10:08,683 - DEBUG - VN ctest-vn-26420585 UUID is 98336c90-3094-4ee5-92ee-6f388c2fb93f
2025-09-13 06:10:08,981 - DEBUG - Response for create_network : {'network': {'id': 'f14c2dbd-7659-49e4-af74-5f6498e7d083', 'name': 'ctest-vn-89960805', 'tenant_id': 'f08644a565d149ddb58d6f17a790fcfa', 'project_id': 'f08644a565d149ddb58d6f17a790fcfa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74109197', 'ctest-vn-89960805'], 'port_security_enabled': True, 'description': ''}}
2025-09-13 06:10:09,132 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c6b457a-b8c5-42ce-b5a1-462b6487929f', 'name': '', 'tenant_id': 'f08644a565d149ddb58d6f17a790fcfa', 'network_id': 'f14c2dbd-7659-49e4-af74-5f6498e7d083', 'ip_version': 4, 'cidr': '184.145.94.64/26', 'allocation_pools': [{'start': '184.145.94.66', 'end': '184.145.94.126'}], 'gateway_ip': '184.145.94.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.145.94.66', 'tags': [], 'project_id': 'f08644a565d149ddb58d6f17a790fcfa'}}
2025-09-13 06:10:09,148 - INFO - Created VN ctest-vn-89960805
2025-09-13 06:10:09,203 - DEBUG - VN ctest-vn-89960805 UUID is f14c2dbd-7659-49e4-af74-5f6498e7d083
2025-09-13 06:10:09,319 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-26420585, 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-74109197:ctest-vn-89960805, 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]
2025-09-13 06:10:09,623 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '98336c90-3094-4ee5-92ee-6f388c2fb93f', 'name': 'ctest-vn-26420585', 'tenant_id': 'f08644a565d149ddb58d6f17a790fcfa', 'project_id': 'f08644a565d149ddb58d6f17a790fcfa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f2824de3-d23e-4ee0-8095-1f1b7907c68d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74109197', 'ctest-vn-26420585'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74109197', 'ctest-policy-allow-all-95871621']], 'subnet_ipam': [{'subnet_cidr': '69.82.175.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-09-13 06:10:09,895 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f14c2dbd-7659-49e4-af74-5f6498e7d083', 'name': 'ctest-vn-89960805', 'tenant_id': 'f08644a565d149ddb58d6f17a790fcfa', 'project_id': 'f08644a565d149ddb58d6f17a790fcfa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9c6b457a-b8c5-42ce-b5a1-462b6487929f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74109197', 'ctest-vn-89960805'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74109197', 'ctest-policy-allow-all-95871621']], 'subnet_ipam': [{'subnet_cidr': '184.145.94.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-09-13 06:10:10,043 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-09-13 06:10:10,346 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-09-13 06:10:10,376 - DEBUG - Requesting: http://10.0.0.254:8082/domain/add8d047-1fe8-4989-ab9a-0467b0281e30
2025-09-13 06:10:10,388 - DEBUG - Requesting: http://10.0.0.254:8082/project/f08644a5-65d1-49dd-b58d-6f17a790fcfa
2025-09-13 06:10:10,463 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/98336c90-3094-4ee5-92ee-6f388c2fb93f
2025-09-13 06:10:10,473 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/98336c90-3094-4ee5-92ee-6f388c2fb93f
2025-09-13 06:10:10,482 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e525372e-dd8b-4300-b625-cc075fc28a5a
2025-09-13 06:10:10,489 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e525372e-dd8b-4300-b625-cc075fc28a5a
2025-09-13 06:10:10,495 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/63b70b76-fa4a-4669-8c7b-4ba78952e8d3
2025-09-13 06:10:10,501 - DEBUG - Route Targets: ['target:64512:8000005']
2025-09-13 06:10:10,501 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/98336c90-3094-4ee5-92ee-6f388c2fb93f
2025-09-13 06:10:10,509 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e525372e-dd8b-4300-b625-cc075fc28a5a
2025-09-13 06:10:10,523 - INFO - Verified VN network id 12 for VN 98336c90-3094-4ee5-92ee-6f388c2fb93f
2025-09-13 06:10:10,523 - INFO - Verifications in API Server for VN ctest-vn-26420585 passed
2025-09-13 06:10:10,523 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/98336c90-3094-4ee5-92ee-6f388c2fb93f
2025-09-13 06:10:10,533 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e525372e-dd8b-4300-b625-cc075fc28a5a
2025-09-13 06:10:10,540 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e525372e-dd8b-4300-b625-cc075fc28a5a
2025-09-13 06:10:10,549 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/63b70b76-fa4a-4669-8c7b-4ba78952e8d3
2025-09-13 06:10:10,563 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-26420585', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74109197', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10967228884123406053', 'uuid-lslong': '10587522062655404351'}, 'enable': 'true', 'created': '2025-09-13T06:10:08', 'last-modified': '2025-09-13T06:10:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.969645'}
2025-09-13 06:10:10,569 - DEBUG - Route Targets: ['target:64512:8000005']
2025-09-13 06:10:10,569 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26420585 passed
2025-09-13 06:10:10,570 - DEBUG - ====Verifying policy data for ctest-vn-26420585 in API_Server ======
2025-09-13 06:10:10,570 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-09-13 06:10:10,575 - DEBUG - Requesting: http://10.0.0.254:8082/domain/add8d047-1fe8-4989-ab9a-0467b0281e30
2025-09-13 06:10:10,594 - DEBUG - Requesting: http://10.0.0.254:8082/project/f08644a5-65d1-49dd-b58d-6f17a790fcfa
2025-09-13 06:10:10,674 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/98336c90-3094-4ee5-92ee-6f388c2fb93f
2025-09-13 06:10:10,684 - DEBUG - ==>Verifying data for policy with id: ab5814d1-dbd6-43e8-a520-0fef541b8c62, fqn: ['default-domain', 'ctest-TestBasicPolicy-74109197', 'ctest-policy-allow-all-95871621']
2025-09-13 06:10:10,684 - INFO - VN ctest-vn-26420585 Policy verification: verify_vn_policy_in_api_server, status: True
2025-09-13 06:10:10,684 - DEBUG - Verifying the vn in opserver
2025-09-13 06:10:10,684 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-26420585 virtual network link through opserver 10.0.0.254
2025-09-13 06:10:10,684 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-09-13 06:10:10,985 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-09-13 06:10:11,041 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-26420585', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-26420585?flat'}
2025-09-13 06:10:11,041 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-26420585 is found in opserver
2025-09-13 06:10:11,049 - DEBUG - Do not have enough data to verify VN in agent
2025-09-13 06:10:11,053 - DEBUG - VRF ids for VN ctest-vn-26420585: {}
2025-09-13 06:10:11,053 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-09-13 06:10:11,058 - DEBUG - Requesting: http://10.0.0.254:8082/domain/add8d047-1fe8-4989-ab9a-0467b0281e30
2025-09-13 06:10:11,069 - DEBUG - Requesting: http://10.0.0.254:8082/project/f08644a5-65d1-49dd-b58d-6f17a790fcfa
2025-09-13 06:10:11,141 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f14c2dbd-7659-49e4-af74-5f6498e7d083
2025-09-13 06:10:11,152 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f14c2dbd-7659-49e4-af74-5f6498e7d083
2025-09-13 06:10:11,161 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/81f59d29-0b13-490b-a49d-5353ca54faef
2025-09-13 06:10:11,168 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/81f59d29-0b13-490b-a49d-5353ca54faef
2025-09-13 06:10:11,175 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f81336d5-a862-4c8d-805d-07bb7bba42b8
2025-09-13 06:10:11,182 - DEBUG - Route Targets: ['target:64512:8000006']
2025-09-13 06:10:11,182 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f14c2dbd-7659-49e4-af74-5f6498e7d083
2025-09-13 06:10:11,191 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/81f59d29-0b13-490b-a49d-5353ca54faef
2025-09-13 06:10:11,204 - INFO - Verified VN network id 13 for VN f14c2dbd-7659-49e4-af74-5f6498e7d083
2025-09-13 06:10:11,204 - INFO - Verifications in API Server for VN ctest-vn-89960805 passed
2025-09-13 06:10:11,204 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f14c2dbd-7659-49e4-af74-5f6498e7d083
2025-09-13 06:10:11,213 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/81f59d29-0b13-490b-a49d-5353ca54faef
2025-09-13 06:10:11,219 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/81f59d29-0b13-490b-a49d-5353ca54faef
2025-09-13 06:10:11,226 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f81336d5-a862-4c8d-805d-07bb7bba42b8
2025-09-13 06:10:11,237 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-89960805', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74109197', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17387322553128274404', 'uuid-lslong': '12642834939602522243'}, 'enable': 'true', 'created': '2025-09-13T06:10:08', 'last-modified': '2025-09-13T06:10:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.414104'}
2025-09-13 06:10:11,243 - DEBUG - Route Targets: ['target:64512:8000006']
2025-09-13 06:10:11,243 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89960805 passed
2025-09-13 06:10:11,243 - DEBUG - ====Verifying policy data for ctest-vn-89960805 in API_Server ======
2025-09-13 06:10:11,243 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-09-13 06:10:11,249 - DEBUG - Requesting: http://10.0.0.254:8082/domain/add8d047-1fe8-4989-ab9a-0467b0281e30
2025-09-13 06:10:11,261 - DEBUG - Requesting: http://10.0.0.254:8082/project/f08644a5-65d1-49dd-b58d-6f17a790fcfa
2025-09-13 06:10:11,338 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f14c2dbd-7659-49e4-af74-5f6498e7d083
2025-09-13 06:10:11,349 - DEBUG - ==>Verifying data for policy with id: ab5814d1-dbd6-43e8-a520-0fef541b8c62, fqn: ['default-domain', 'ctest-TestBasicPolicy-74109197', 'ctest-policy-allow-all-95871621']
2025-09-13 06:10:11,349 - INFO - VN ctest-vn-89960805 Policy verification: verify_vn_policy_in_api_server, status: True
2025-09-13 06:10:11,349 - DEBUG - Verifying the vn in opserver
2025-09-13 06:10:11,349 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-89960805 virtual network link through opserver 10.0.0.254
2025-09-13 06:10:11,349 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-09-13 06:10:11,361 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-89960805', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-89960805?flat'}
2025-09-13 06:10:11,361 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74109197:ctest-vn-89960805 is found in opserver
2025-09-13 06:10:11,372 - DEBUG - Do not have enough data to verify VN in agent
2025-09-13 06:10:11,376 - DEBUG - VRF ids for VN ctest-vn-89960805: {}
2025-09-13 06:10:11,439 - DEBUG - Services list from nova: [