Skip to content

getting YCodecError when leaf value has string 'sftp://' #1056

@ygorelik

Description

@ygorelik

Opened on behalf of vmusalir

Expected Behavior

Leaf values containing substring 'sftp://' must be allowed.

Current Behavior

The request is going to device and response coming from the device. Still we are getting below exception. The 'sftp://' is considered as data model and giving error "YCodecError:Data model "sftp" not found.."

Leaf data name: "packagepath", value: "sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500", yfilter: "YFilter.not_set", is_set: "True"

Steps to Reproduce

Try to decode this RPC payload:

Debug---:ydk:Trace: Writing message (session 1474803731): 
<?xml version="1.0"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="32">
  <install-add xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-spirit-install-act">
    <packagepath>sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500</packagepath>
    <packagename>ncs5500-iosxr-fwding-5.0.0.1-r75213I.[CSCxr22222](https://quickview.cloudapps.cisco.com/quickview/bug/CSCxr22222).x86_64.rpm</packagename>
    <packagename>ncs5500-infra-5.0.0.1-r75213I.[CSCxr22222](https://quickview.cloudapps.cisco.com/quickview/bug/CSCxr22222).x86_64.rpm</packagename>
  </install-add>
</rpc>

## Logs
Enable [logging](http://ydk.cisco.com/py/docs/guides/introduction.html#logging) and post the logs below

<!--- copy paste your logs below -->

2022-01-22 12:13:21,677 - ydk - Debug--- - Trace: Writing message (session 1474803731):

sftp yang

2022-01-22 12:13:21,677 - ydk - Debug--- - Trace: Writing message (session 1474803731):

sftp yang

Trace: Writing message (session 1474803731):

sftp yang

Debug---:ydk:Trace: Writing message (session 1474803731):

sftp yang

2022-01-22 12:13:21,678 - ydk - Debug--- - NetconfSSHClient: NC session status: 1
2022-01-22 12:13:21,678 - ydk - Debug--- - NetconfSSHClient: NC session status: 1
NetconfSSHClient: NC session status: 1
Debug---:ydk:NetconfSSHClient: NC session status: 1
2022-01-22 12:13:21,678 - ydk - Debug--- - Netconf SSH Client: receiving reply RPC
2022-01-22 12:13:21,678 - ydk - Debug--- - Netconf SSH Client: receiving reply RPC
Netconf SSH Client: receiving reply RPC
Debug---:ydk:Netconf SSH Client: receiving reply RPC
2022-01-22 12:13:21,883 - ydk - Debug--- - Trace: Received message (session 1474803731):

protocol invalid-value error /t:get-schema/t:identifier

2022-01-22 12:13:21,883 - ydk - Debug--- - Trace: Received message (session 1474803731):

protocol invalid-value error /t:get-schema/t:identifier

Trace: Received message (session 1474803731):

protocol invalid-value error /t:get-schema/t:identifier

Debug---:ydk:Trace: Received message (session 1474803731):

protocol invalid-value error /t:get-schema/t:identifier

2022-01-22 12:13:21,884 - ydk - Debug--- - Netconf SSH Client: processing reply
2022-01-22 12:13:21,884 - ydk - Debug--- - Netconf SSH Client: processing reply
Netconf SSH Client: processing reply
Debug---:ydk:Netconf SSH Client: processing reply
2022-01-22 12:13:21,884 - ydk - Error--- - Cannot find model with module name 'sftp'
2022-01-22 12:13:21,884 - ydk - Error--- - Cannot find model with module name 'sftp'
Cannot find model with module name 'sftp'
Error---:ydk:Cannot find model with module name 'sftp'
2022-01-22 12:13:21,884 - ydk - Debug--- - [libyang] Searching for "sftp" in /users/shreyash/.ydk/5.5.18.52.
2022-01-22 12:13:21,884 - ydk - Debug--- - [libyang] Searching for "sftp" in /users/shreyash/.ydk/5.5.18.52.
[libyang] Searching for "sftp" in /users/shreyash/.ydk/5.5.18.52.
Debug---:ydk:[libyang] Searching for "sftp" in /users/shreyash/.ydk/5.5.18.52.
2022-01-22 12:13:21,984 - ydk - Debug--- - [libyang] Searching for "sftp" in /auto/cafy/release/development/cafykit.
2022-01-22 12:13:21,984 - ydk - Debug--- - [libyang] Searching for "sftp" in /auto/cafy/release/development/cafykit.
[libyang] Searching for "sftp" in /auto/cafy/release/development/cafykit.
Debug---:ydk:[libyang] Searching for "sftp" in /auto/cafy/release/development/cafykit.
2022-01-22 12:13:21,986 - ydk - Error--- - Data is invalid according to the yang model. Libyang error: Data model "sftp" not found.
2022-01-22 12:13:21,986 - ydk - Error--- - Data is invalid according to the yang model. Libyang error: Data model "sftp" not found.
Data is invalid according to the yang model. Libyang error: Data model "sftp" not found.
Error---:ydk:Data is invalid according to the yang model. Libyang error: Data model "sftp" not found.
2022-01-22 12:13:21,986 - ydk - Debug--- - Creating node 'packagepath' with value 'sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500'
2022-01-22 12:13:21,986 - ydk - Debug--- - Creating node 'packagepath' with value 'sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500'
Creating node 'packagepath' with value 'sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500'
Debug---:ydk:Creating node 'packagepath' with value 'sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500'
2022-01-22 12:13:21,986 - ydk - Debug--- - Current path: /Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,986 - ydk - Debug--- - Current path: /Cisco-IOS-XR-spirit-install-act:install-add
Current path: /Cisco-IOS-XR-spirit-install-act:install-add
Debug---:ydk:Current path: /Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,987 - ydk - Debug--- - Top container path: Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,987 - ydk - Debug--- - Top container path: Cisco-IOS-XR-spirit-install-act:install-add
Top container path: Cisco-IOS-XR-spirit-install-act:install-add
Debug---:ydk:Top container path: Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,987 - ydk - Debug--- - Populating schema for 'packagepath'
2022-01-22 12:13:21,987 - ydk - Debug--- - Populating schema for 'packagepath'
Populating schema for 'packagepath'
Debug---:ydk:Populating schema for 'packagepath'
2022-01-22 12:13:21,987 - ydk - Debug--- - Looking to populate schemas for 'packagepath'
2022-01-22 12:13:21,987 - ydk - Debug--- - Looking to populate schemas for 'packagepath'
Looking to populate schemas for 'packagepath'
Debug---:ydk:Looking to populate schemas for 'packagepath'
2022-01-22 12:13:21,987 - ydk - Debug--- - Getting new modules for path 'packagepath'
2022-01-22 12:13:21,987 - ydk - Debug--- - Getting new modules for path 'packagepath'
Getting new modules for path 'packagepath'
Debug---:ydk:Getting new modules for path 'packagepath'
2022-01-22 12:13:21,987 - ydk - Debug--- - Getting child schema with path 'packagepath' in /Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,987 - ydk - Debug--- - Getting child schema with path 'packagepath' in /Cisco-IOS-XR-spirit-install-act:install-add
Getting child schema with path 'packagepath' in /Cisco-IOS-XR-spirit-install-act:install-add
Debug---:ydk:Getting child schema with path 'packagepath' in /Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,988 - ydk - Debug--- - Getting data nodes with path 'packagepath'
2022-01-22 12:13:21,988 - ydk - Debug--- - Getting data nodes with path 'packagepath'
Getting data nodes with path 'packagepath'
Debug---:ydk:Getting data nodes with path 'packagepath'
2022-01-22 12:13:21,988 - ydk - Debug--- - Creating new data path 'packagepath' with value 'sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500' in 'install-add'
2022-01-22 12:13:21,988 - ydk - Debug--- - Creating new data path 'packagepath' with value 'sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500' in 'install-add'
Creating new data path 'packagepath' with value 'sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500' in 'install-add'
Debug---:ydk:Creating new data path 'packagepath' with value 'sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500' in 'install-add'
2022-01-22 12:13:21,988 - ydk - Debug--- - Creating leaf 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in input
2022-01-22 12:13:21,988 - ydk - Debug--- - Creating leaf 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in input
Creating leaf 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in input
Debug---:ydk:Creating leaf 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in input
2022-01-22 12:13:21,988 - ydk - Debug--- - Populating schema for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,988 - ydk - Debug--- - Populating schema for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Populating schema for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Debug---:ydk:Populating schema for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,988 - ydk - Debug--- - Looking to populate schemas for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,988 - ydk - Debug--- - Looking to populate schemas for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Looking to populate schemas for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Debug---:ydk:Looking to populate schemas for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,988 - ydk - Debug--- - Getting new modules for path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,988 - ydk - Debug--- - Getting new modules for path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Getting new modules for path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Debug---:ydk:Getting new modules for path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,989 - ydk - Debug--- - Creating node 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value ''
2022-01-22 12:13:21,989 - ydk - Debug--- - Creating node 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value ''
Creating node 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value ''
Debug---:ydk:Creating node 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value ''
2022-01-22 12:13:21,989 - ydk - Debug--- - Current path: /Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,989 - ydk - Debug--- - Current path: /Cisco-IOS-XR-spirit-install-act:install-add
Current path: /Cisco-IOS-XR-spirit-install-act:install-add
Debug---:ydk:Current path: /Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,989 - ydk - Debug--- - Top container path: Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,989 - ydk - Debug--- - Top container path: Cisco-IOS-XR-spirit-install-act:install-add
Top container path: Cisco-IOS-XR-spirit-install-act:install-add
Debug---:ydk:Top container path: Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,989 - ydk - Debug--- - Populating schema for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,989 - ydk - Debug--- - Populating schema for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Populating schema for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Debug---:ydk:Populating schema for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,989 - ydk - Debug--- - Looking to populate schemas for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,989 - ydk - Debug--- - Looking to populate schemas for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Looking to populate schemas for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Debug---:ydk:Looking to populate schemas for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,989 - ydk - Debug--- - Getting new modules for path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,989 - ydk - Debug--- - Getting new modules for path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Getting new modules for path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Debug---:ydk:Getting new modules for path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,990 - ydk - Debug--- - Getting child schema with path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in /Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,990 - ydk - Debug--- - Getting child schema with path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in /Cisco-IOS-XR-spirit-install-act:install-add
Getting child schema with path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in /Cisco-IOS-XR-spirit-install-act:install-add
Debug---:ydk:Getting child schema with path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in /Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,990 - ydk - Debug--- - Getting data nodes with path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,990 - ydk - Debug--- - Getting data nodes with path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Getting data nodes with path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Debug---:ydk:Getting data nodes with path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,990 - ydk - Debug--- - Creating new data path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' in 'install-add'
2022-01-22 12:13:21,990 - ydk - Debug--- - Creating new data path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' in 'install-add'
Creating new data path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' in 'install-add'
Debug---:ydk:Creating new data path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' in 'install-add'
2022-01-22 12:13:21,990 - ydk - Debug--- - Creating leaf 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in input
2022-01-22 12:13:21,990 - ydk - Debug--- - Creating leaf 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in input
Creating leaf 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in input
Debug---:ydk:Creating leaf 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in input
2022-01-22 12:13:21,990 - ydk - Debug--- - Populating schema for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,990 - ydk - Debug--- - Populating schema for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Populating schema for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Debug---:ydk:Populating schema for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,991 - ydk - Debug--- - Looking to populate schemas for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,991 - ydk - Debug--- - Looking to populate schemas for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Looking to populate schemas for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Debug---:ydk:Looking to populate schemas for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,991 - ydk - Debug--- - Getting new modules for path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,991 - ydk - Debug--- - Getting new modules for path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Getting new modules for path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Debug---:ydk:Getting new modules for path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,991 - ydk - Debug--- - Creating node 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value ''
2022-01-22 12:13:21,991 - ydk - Debug--- - Creating node 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value ''
Creating node 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value ''
Debug---:ydk:Creating node 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value ''
2022-01-22 12:13:21,991 - ydk - Debug--- - Current path: /Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,991 - ydk - Debug--- - Current path: /Cisco-IOS-XR-spirit-install-act:install-add
Current path: /Cisco-IOS-XR-spirit-install-act:install-add
Debug---:ydk:Current path: /Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,991 - ydk - Debug--- - Top container path: Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,991 - ydk - Debug--- - Top container path: Cisco-IOS-XR-spirit-install-act:install-add
Top container path: Cisco-IOS-XR-spirit-install-act:install-add
Debug---:ydk:Top container path: Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,991 - ydk - Debug--- - Populating schema for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,991 - ydk - Debug--- - Populating schema for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Populating schema for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Debug---:ydk:Populating schema for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,992 - ydk - Debug--- - Looking to populate schemas for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,992 - ydk - Debug--- - Looking to populate schemas for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Looking to populate schemas for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Debug---:ydk:Looking to populate schemas for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,992 - ydk - Debug--- - Getting new modules for path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,992 - ydk - Debug--- - Getting new modules for path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Getting new modules for path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Debug---:ydk:Getting new modules for path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,992 - ydk - Debug--- - Getting child schema with path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in /Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,992 - ydk - Debug--- - Getting child schema with path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in /Cisco-IOS-XR-spirit-install-act:install-add
Getting child schema with path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in /Cisco-IOS-XR-spirit-install-act:install-add
Debug---:ydk:Getting child schema with path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in /Cisco-IOS-XR-spirit-install-act:install-add
2022-01-22 12:13:21,992 - ydk - Debug--- - Getting data nodes with path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,992 - ydk - Debug--- - Getting data nodes with path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Getting data nodes with path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
Debug---:ydk:Getting data nodes with path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]'
2022-01-22 12:13:21,992 - ydk - Debug--- - Creating new data path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' in 'install-add'
2022-01-22 12:13:21,992 - ydk - Debug--- - Creating new data path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' in 'install-add'
Creating new data path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' in 'install-add'
Debug---:ydk:Creating new data path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' in 'install-add'
2022-01-22 12:13:21,992 - ydk - Debug--- - Getting new modules for path 'ydk:create'
2022-01-22 12:13:21,992 - ydk - Debug--- - Getting new modules for path 'ydk:create'
Getting new modules for path 'ydk:create'
Debug---:ydk:Getting new modules for path 'ydk:create'
2022-01-22 12:13:21,993 - ydk - Debug--- - Loading module 'ydk', revision ''
2022-01-22 12:13:21,993 - ydk - Debug--- - Loading module 'ydk', revision ''
Loading module 'ydk', revision ''
Debug---:ydk:Loading module 'ydk', revision ''
2022-01-22 12:13:21,993 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository
2022-01-22 12:13:21,993 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository
The module 'ydk' schema has already been populated in YDK repository
Debug---:ydk:The module 'ydk' schema has already been populated in YDK repository
2022-01-22 12:13:21,993 - ydk - Debug--- - Getting new modules for path 'ydk:read'
2022-01-22 12:13:21,993 - ydk - Debug--- - Getting new modules for path 'ydk:read'
Getting new modules for path 'ydk:read'
Debug---:ydk:Getting new modules for path 'ydk:read'
2022-01-22 12:13:21,993 - ydk - Debug--- - Loading module 'ydk', revision ''
2022-01-22 12:13:21,993 - ydk - Debug--- - Loading module 'ydk', revision ''
Loading module 'ydk', revision ''
Debug---:ydk:Loading module 'ydk', revision ''
2022-01-22 12:13:21,994 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository
2022-01-22 12:13:21,994 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository
The module 'ydk' schema has already been populated in YDK repository
Debug---:ydk:The module 'ydk' schema has already been populated in YDK repository
2022-01-22 12:13:21,994 - ydk - Debug--- - Getting new modules for path 'ydk:update'
2022-01-22 12:13:21,994 - ydk - Debug--- - Getting new modules for path 'ydk:update'
Getting new modules for path 'ydk:update'
Debug---:ydk:Getting new modules for path 'ydk:update'
2022-01-22 12:13:21,994 - ydk - Debug--- - Loading module 'ydk', revision ''
2022-01-22 12:13:21,994 - ydk - Debug--- - Loading module 'ydk', revision ''
Loading module 'ydk', revision ''
Debug---:ydk:Loading module 'ydk', revision ''
2022-01-22 12:13:21,994 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository
2022-01-22 12:13:21,994 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository
The module 'ydk' schema has already been populated in YDK repository
Debug---:ydk:The module 'ydk' schema has already been populated in YDK repository
2022-01-22 12:13:21,994 - ydk - Debug--- - Getting new modules for path 'ydk:delete'
2022-01-22 12:13:21,994 - ydk - Debug--- - Getting new modules for path 'ydk:delete'
Getting new modules for path 'ydk:delete'
Debug---:ydk:Getting new modules for path 'ydk:delete'
2022-01-22 12:13:21,994 - ydk - Debug--- - Loading module 'ydk', revision ''
2022-01-22 12:13:21,994 - ydk - Debug--- - Loading module 'ydk', revision ''
Loading module 'ydk', revision ''
Debug---:ydk:Loading module 'ydk', revision ''
2022-01-22 12:13:21,995 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository
2022-01-22 12:13:21,995 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository
The module 'ydk' schema has already been populated in YDK repository
Debug---:ydk:The module 'ydk' schema has already been populated in YDK repository
2022-01-22 12:13:21,995 - ydk - Debug--- - ydk::path::Codec: Encoding data node '/Cisco-IOS-XR-spirit-install-act:install-add' to XML formated string
2022-01-22 12:13:21,995 - ydk - Debug--- - ydk::path::Codec: Encoding data node '/Cisco-IOS-XR-spirit-install-act:install-add' to XML formated string
ydk::path::Codec: Encoding data node '/Cisco-IOS-XR-spirit-install-act:install-add' to XML formated string
Debug---:ydk:ydk::path::Codec: Encoding data node '/Cisco-IOS-XR-spirit-install-act:install-add' to XML formated string
2022-01-22 12:13:21,995 - ydk - Info---- - ============= Sending RPC to device =============

sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500
ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm
ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm


2022-01-22 12:13:21,995 - ydk - Info---- - ============= Sending RPC to device =============

sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500
ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm
ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm


============= Sending RPC to device =============

sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500
ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm
ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm


Info----:ydk:============= Sending RPC to device =============

sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500
ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm
ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm


2022-01-22 12:13:21,995 - ydk - Debug--- - NetconfSSHClient: NC session status: 1
2022-01-22 12:13:21,995 - ydk - Debug--- - NetconfSSHClient: NC session status: 1
NetconfSSHClient: NC session status: 1
Debug---:ydk:NetconfSSHClient: NC session status: 1
2022-01-22 12:13:21,996 - ydk - Debug--- - Trace: Missing message-id in rpc.
2022-01-22 12:13:21,996 - ydk - Debug--- - Trace: Missing message-id in rpc.
Trace: Missing message-id in rpc.
Debug---:ydk:Trace: Missing message-id in rpc.
2022-01-22 12:13:21,996 - ydk - Debug--- - Netconf SSH Client: sending RPC
2022-01-22 12:13:21,996 - ydk - Debug--- - Netconf SSH Client: sending RPC
Netconf SSH Client: sending RPC
Debug---:ydk:Netconf SSH Client: sending RPC
2022-01-22 12:13:21,996 - ydk - Debug--- - Trace: Writing message (session 1474803731):

sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500 ncs5500-iosxr-fwding-5.0.0.1-r75213I.[CSCxr22222](https://quickview.cloudapps.cisco.com/quickview/bug/CSCxr22222).x86_64.rpm ncs5500-infra-5.0.0.1-r75213I.[CSCxr22222](https://quickview.cloudapps.cisco.com/quickview/bug/CSCxr22222).x86_64.rpm

2022-01-22 12:13:21,996 - ydk - Debug--- - Trace: Writing message (session 1474803731):

sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500 ncs5500-iosxr-fwding-5.0.0.1-r75213I.[CSCxr22222](https://quickview.cloudapps.cisco.com/quickview/bug/CSCxr22222).x86_64.rpm ncs5500-infra-5.0.0.1-r75213I.[CSCxr22222](https://quickview.cloudapps.cisco.com/quickview/bug/CSCxr22222).x86_64.rpm

Trace: Writing message (session 1474803731):

sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500 ncs5500-iosxr-fwding-5.0.0.1-r75213I.[CSCxr22222](https://quickview.cloudapps.cisco.com/quickview/bug/CSCxr22222).x86_64.rpm ncs5500-infra-5.0.0.1-r75213I.[CSCxr22222](https://quickview.cloudapps.cisco.com/quickview/bug/CSCxr22222).x86_64.rpm

Debug---:ydk:Trace: Writing message (session 1474803731):

sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500 ncs5500-iosxr-fwding-5.0.0.1-r75213I.[CSCxr22222](https://quickview.cloudapps.cisco.com/quickview/bug/CSCxr22222).x86_64.rpm ncs5500-infra-5.0.0.1-r75213I.[CSCxr22222](https://quickview.cloudapps.cisco.com/quickview/bug/CSCxr22222).x86_64.rpm

2022-01-22 12:13:21,996 - ydk - Debug--- - NetconfSSHClient: NC session status: 1
2022-01-22 12:13:21,996 - ydk - Debug--- - NetconfSSHClient: NC session status: 1
NetconfSSHClient: NC session status: 1
Debug---:ydk:NetconfSSHClient: NC session status: 1
2022-01-22 12:13:21,997 - ydk - Debug--- - Netconf SSH Client: receiving reply RPC
2022-01-22 12:13:21,997 - ydk - Debug--- - Netconf SSH Client: receiving reply RPC
Netconf SSH Client: receiving reply RPC
Debug---:ydk:Netconf SSH Client: receiving reply RPC
2022-01-22 12:13:24,814 - ydk - Debug--- - Trace: Received message (session 1474803731):

10

2022-01-22 12:13:24,814 - ydk - Debug--- - Trace: Received message (session 1474803731):

10

Trace: Received message (session 1474803731):

10

Debug---:ydk:Trace: Received message (session 1474803731):

10

2022-01-22 12:13:24,815 - ydk - Debug--- - Netconf SSH Client: processing reply
2022-01-22 12:13:24,815 - ydk - Debug--- - Netconf SSH Client: processing reply
Netconf SSH Client: processing reply
Debug---:ydk:Netconf SSH Client: processing reply
2022-01-22 12:13:24,815 - ydk - Info---- - ============= Received RPC from device =============

10

2022-01-22 12:13:24,815 - ydk - Info---- - ============= Received RPC from device =============

10

============= Received RPC from device =============

10

Info----:ydk:============= Received RPC from device =============

10

2022-01-22 12:13:24,815 - ydk - Debug--- - Decoding output for RPC '/Cisco-IOS-XR-spirit-install-act:install-add'. Output is: 10
2022-01-22 12:13:24,815 - ydk - Debug--- - Decoding output for RPC '/Cisco-IOS-XR-spirit-install-act:install-add'. Output is: 10
Decoding output for RPC '/Cisco-IOS-XR-spirit-install-act:install-add'. Output is: 10
Debug---:ydk:Decoding output for RPC '/Cisco-IOS-XR-spirit-install-act:install-add'. Output is: 10
2022-01-22 12:13:24,815 - ydk - Debug--- - Populating new schema from payload:
10
2022-01-22 12:13:24,815 - ydk - Debug--- - Populating new schema from payload:
10
Populating new schema from payload:
10
Debug---:ydk:Populating new schema from payload:
10
2022-01-22 12:13:24,816 - ydk - Debug--- - Extracting module namespaces from XML payload
2022-01-22 12:13:24,816 - ydk - Debug--- - Extracting module namespaces from XML payload
Extracting module namespaces from XML payload
Debug---:ydk:Extracting module namespaces from XML payload
2022-01-22 12:13:24,816 - ydk - Debug--- - Loading module 'Cisco-IOS-XR-spirit-install-act', revision ''
2022-01-22 12:13:24,816 - ydk - Debug--- - Loading module 'Cisco-IOS-XR-spirit-install-act', revision ''
Loading module 'Cisco-IOS-XR-spirit-install-act', revision ''
Debug---:ydk:Loading module 'Cisco-IOS-XR-spirit-install-act', revision ''
2022-01-22 12:13:24,816 - ydk - Debug--- - The module 'Cisco-IOS-XR-spirit-install-act' schema has already been populated in YDK repository
2022-01-22 12:13:24,816 - ydk - Debug--- - The module 'Cisco-IOS-XR-spirit-install-act' schema has already been populated in YDK repository
The module 'Cisco-IOS-XR-spirit-install-act' schema has already been populated in YDK repository
Debug---:ydk:The module 'Cisco-IOS-XR-spirit-install-act' schema has already been populated in YDK repository
2022-01-22 12:13:24,816 - ydk - Error--- - Parsing failed with message Data model "sftp" not found.
2022-01-22 12:13:24,816 - ydk - Error--- - Parsing failed with message Data model "sftp" not found.
Parsing failed with message Data model "sftp" not found.
Error---:ydk:Parsing failed with message Data model "sftp" not found.
Disconnected from device
Trace: Writing message (session 1310386398):

```

System Information

YDK-0.8.5

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions