[netconf] issue with yangvalidator recursion limit

Miroslav Kováč <miroslav.kovac@pantheon.tech> Thu, 26 March 2020 14:06 UTC

Return-Path: <miroslav.kovac@pantheon.tech>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A73293A040A for <netconf@ietfa.amsl.com>; Thu, 26 Mar 2020 07:06:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_FONT_SIZE_LARGE=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PpyGfJdy-ZiN for <netconf@ietfa.amsl.com>; Thu, 26 Mar 2020 07:06:34 -0700 (PDT)
Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by ietfa.amsl.com (Postfix) with ESMTP id C88343A03F3 for <netconf@ietf.org>; Thu, 26 Mar 2020 07:06:32 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id 7492E1094E7; Thu, 26 Mar 2020 15:06:31 +0100 (CET)
X-Virus-Scanned: amavisd-new at siecit.sk
Received: from lb.pantheon.sk ([127.0.0.1]) by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JNU7deXfPciO; Thu, 26 Mar 2020 15:06:25 +0100 (CET)
Received: from mail.pantheon.sk (srvw-ptex1.pantheon.local [10.101.4.5]) by lb.pantheon.sk (Postfix) with ESMTPS id B5C5F1094CD; Thu, 26 Mar 2020 15:06:25 +0100 (CET)
Received: from srvw-ptex1.pantheon.local (10.101.4.5) by srvw-ptex1.pantheon.local (10.101.4.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Thu, 26 Mar 2020 15:06:25 +0100
Received: from srvw-ptex1.pantheon.local ([::1]) by srvw-ptex1.pantheon.local ([fe80::b583:f9c5:55e8:f949%7]) with mapi id 15.01.1779.002; Thu, 26 Mar 2020 15:06:25 +0100
From: Miroslav Kováč <miroslav.kovac@pantheon.tech>
To: "netconf@ietf.org" <netconf@ietf.org>
CC: "Benoit Claise (bclaise)" <bclaise@cisco.com>, "Eric Vyncke (evyncke)" <evyncke@cisco.com>
Thread-Topic: issue with yangvalidator recursion limit
Thread-Index: AQHWA2o0l0saxGlw4UCgZObvSFYbnQ==
Date: Thu, 26 Mar 2020 14:06:25 +0000
Message-ID: <d51151a75dbc4c0b8642cbc9a1b81f9a@pantheon.tech>
Accept-Language: sk-SK, en-US
Content-Language: sk-SK
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.101.4.10]
Content-Type: multipart/alternative; boundary="_000_d51151a75dbc4c0b8642cbc9a1b81f9apantheontech_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/y8UzPrsipnBbHEDtaZ5HRDC7AjY>
Subject: [netconf] issue with yangvalidator recursion limit
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Mar 2020 14:06:37 -0000

Hello,


There was an issue with yangvalidator that was recently fixed

When I load ietf-system-capabilities@2020-03-08 into it I get


RecursionError at /yangvalidator/validator
maximum recursion depth exceeded
Request Method:

POST

Request URL:

http://www.yangvalidator.com/yangvalidator/validator

Django Version:

3.0.4

Exception Type:

RecursionError

Exception Value:

maximum recursion depth exceeded

Exception Location:

/home/yang/yangvalidator/lib/python3.6/site-packages/pyang-2.1.1-py3.6.egg/pyang/statements.py in newf, line 42

Python Executable:

/usr/sbin/uwsgi

Python Version:

3.6.10

Python Path:

['/home/yang/yangvalidator/lib/python3.6/site-packages/pyang-2.1.1-py3.6.egg/pyang/transforms',




Regards,

Miroslav Kovac