Advertisement
Guest User

Untitled

a guest
Jan 21st, 2019
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 11.66 KB | None | 0 0
  1. root@978e3a86787b:/opt/gopath/src/github.com/hyperledger/fabric/peer# peer chaincode install -n sample -v 1.0 -p "./chaincode/" -l "node"
  2. 2019-01-21 16:57:31.533 UTC [viperutil] getKeysRecursively -> DEBU 001 Found map[string]interface{} value for peer.BCCSP
  3. 2019-01-21 16:57:31.534 UTC [viperutil] unmarshalJSON -> DEBU 002 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value
  4. 2019-01-21 16:57:31.534 UTC [viperutil] getKeysRecursively -> DEBU 003 Found real value for peer.BCCSP.Default setting to string SW
  5. 2019-01-21 16:57:31.534 UTC [viperutil] getKeysRecursively -> DEBU 004 Found map[string]interface{} value for peer.BCCSP.SW
  6. 2019-01-21 16:57:31.534 UTC [viperutil] getKeysRecursively -> DEBU 005 Found map[string]interface{} value for peer.BCCSP.SW.FileKeyStore
  7. 2019-01-21 16:57:31.534 UTC [viperutil] unmarshalJSON -> DEBU 006 Unmarshal JSON: value cannot be unmarshalled: unexpected end of JSON input
  8. 2019-01-21 16:57:31.534 UTC [viperutil] getKeysRecursively -> DEBU 007 Found real value for peer.BCCSP.SW.FileKeyStore.KeyStore setting to string
  9. 2019-01-21 16:57:31.534 UTC [viperutil] unmarshalJSON -> DEBU 008 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value
  10. 2019-01-21 16:57:31.534 UTC [viperutil] getKeysRecursively -> DEBU 009 Found real value for peer.BCCSP.SW.Hash setting to string SHA2
  11. 2019-01-21 16:57:31.534 UTC [viperutil] unmarshalJSON -> DEBU 00a Unmarshal JSON: value is not a string: 256
  12. 2019-01-21 16:57:31.534 UTC [viperutil] getKeysRecursively -> DEBU 00b Found real value for peer.BCCSP.SW.Security setting to int 256
  13. 2019-01-21 16:57:31.535 UTC [viperutil] getKeysRecursively -> DEBU 00c Found map[string]interface{} value for peer.BCCSP.PKCS11
  14. 2019-01-21 16:57:31.535 UTC [viperutil] unmarshalJSON -> DEBU 00d Unmarshal JSON: value is not a string: <nil>
  15. 2019-01-21 16:57:31.535 UTC [viperutil] getKeysRecursively -> DEBU 00e Found real value for peer.BCCSP.PKCS11.Pin setting to <nil> <nil>
  16. 2019-01-21 16:57:31.535 UTC [viperutil] unmarshalJSON -> DEBU 00f Unmarshal JSON: value is not a string: <nil>
  17. 2019-01-21 16:57:31.535 UTC [viperutil] getKeysRecursively -> DEBU 010 Found real value for peer.BCCSP.PKCS11.Hash setting to <nil> <nil>
  18. 2019-01-21 16:57:31.535 UTC [viperutil] unmarshalJSON -> DEBU 011 Unmarshal JSON: value is not a string: <nil>
  19. 2019-01-21 16:57:31.536 UTC [viperutil] getKeysRecursively -> DEBU 012 Found real value for peer.BCCSP.PKCS11.Security setting to <nil> <nil>
  20. 2019-01-21 16:57:31.536 UTC [viperutil] getKeysRecursively -> DEBU 013 Found map[string]interface{} value for peer.BCCSP.PKCS11.FileKeyStore
  21. 2019-01-21 16:57:31.536 UTC [viperutil] unmarshalJSON -> DEBU 014 Unmarshal JSON: value is not a string: <nil>
  22. 2019-01-21 16:57:31.536 UTC [viperutil] getKeysRecursively -> DEBU 015 Found real value for peer.BCCSP.PKCS11.FileKeyStore.KeyStore setting to <nil> <nil>
  23. 2019-01-21 16:57:31.536 UTC [viperutil] unmarshalJSON -> DEBU 016 Unmarshal JSON: value is not a string: <nil>
  24. 2019-01-21 16:57:31.536 UTC [viperutil] getKeysRecursively -> DEBU 017 Found real value for peer.BCCSP.PKCS11.Library setting to <nil> <nil>
  25. 2019-01-21 16:57:31.537 UTC [viperutil] unmarshalJSON -> DEBU 018 Unmarshal JSON: value is not a string: <nil>
  26. 2019-01-21 16:57:31.537 UTC [viperutil] getKeysRecursively -> DEBU 019 Found real value for peer.BCCSP.PKCS11.Label setting to <nil> <nil>
  27. 2019-01-21 16:57:31.537 UTC [viperutil] EnhancedExactUnmarshalKey -> DEBU 01a map[peer.BCCSP:map[Default:SW SW:map[Security:256 FileKeyStore:map[KeyStore:] Hash:SHA2] PKCS11:map[Label:<nil> Pin:<nil> Hash:<nil> Security:<nil> FileKeyStore:map[KeyStore:<nil>] Library:<nil>]]]
  28. 2019-01-21 16:57:31.537 UTC [bccsp_sw] openKeyStore -> DEBU 01b KeyStore opened at [/opt/gabric/orgs/generated/13Org/1Peer/peer/msp/keystore]...done
  29. 2019-01-21 16:57:31.537 UTC [bccsp] initBCCSP -> DEBU 01c Initialize BCCSP [SW]
  30. 2019-01-21 16:57:31.537 UTC [msp] getPemMaterialFromDir -> DEBU 01d Reading directory /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/signcerts
  31. 2019-01-21 16:57:31.537 UTC [msp] getPemMaterialFromDir -> DEBU 01e Inspecting file /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/signcerts/cert.pem
  32. 2019-01-21 16:57:31.537 UTC [msp] getPemMaterialFromDir -> DEBU 01f Reading directory /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/cacerts
  33. 2019-01-21 16:57:31.537 UTC [msp] getPemMaterialFromDir -> DEBU 020 Inspecting file /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/cacerts/172-10-0-54-7054.pem
  34. 2019-01-21 16:57:31.538 UTC [msp] getPemMaterialFromDir -> DEBU 021 Reading directory /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/admincerts
  35. 2019-01-21 16:57:31.538 UTC [msp] getPemMaterialFromDir -> DEBU 022 Inspecting file /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/admincerts/admin-cert.pem
  36. 2019-01-21 16:57:31.538 UTC [msp] getPemMaterialFromDir -> DEBU 023 Reading directory /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/intermediatecerts
  37. 2019-01-21 16:57:31.538 UTC [msp] getMspConfig -> DEBU 024 Intermediate certs folder not found at [/opt/gabric/orgs/generated/13Org/1Peer/peer/msp/intermediatecerts]. Skipping. [stat /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/intermediatecerts: no such file or directory]
  38. 2019-01-21 16:57:31.538 UTC [msp] getPemMaterialFromDir -> DEBU 025 Reading directory /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/tlscacerts
  39. 2019-01-21 16:57:31.538 UTC [msp] getMspConfig -> DEBU 026 TLS CA certs folder not found at [/opt/gabric/orgs/generated/13Org/1Peer/peer/msp/tlsintermediatecerts]. Skipping and ignoring TLS intermediate CA folder. [stat /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/tlscacerts: no such file or directory]
  40. 2019-01-21 16:57:31.538 UTC [msp] getPemMaterialFromDir -> DEBU 027 Reading directory /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/crls
  41. 2019-01-21 16:57:31.538 UTC [msp] getMspConfig -> DEBU 028 crls folder not found at [/opt/gabric/orgs/generated/13Org/1Peer/peer/msp/crls]. Skipping. [stat /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/crls: no such file or directory]
  42. 2019-01-21 16:57:31.538 UTC [msp] getMspConfig -> DEBU 029 MSP configuration file not found at [/opt/gabric/orgs/generated/13Org/1Peer/peer/msp/config.yaml]: [stat /opt/gabric/orgs/generated/13Org/1Peer/peer/msp/config.yaml: no such file or directory]
  43. 2019-01-21 16:57:31.538 UTC [msp] newBccspMsp -> DEBU 02a Creating BCCSP-based MSP instance
  44. 2019-01-21 16:57:31.538 UTC [msp] New -> DEBU 02b Creating Cache-MSP instance
  45. 2019-01-21 16:57:31.538 UTC [msp] loadLocaMSP -> DEBU 02c Created new local MSP
  46. 2019-01-21 16:57:31.538 UTC [msp] Setup -> DEBU 02d Setting up MSP instance 13OrgMSPID
  47. 2019-01-21 16:57:31.538 UTC [msp/identity] newIdentity -> DEBU 02e Creating identity instance for cert -----BEGIN CERTIFICATE-----
  48. MIICBDCCAbOgAwIBAgIUVvIJDWO9j46emXxPEPaTRnF6quMwCAYGKoUDAgIDMF8x
  49. CzAJBgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChML
  50. SHlwZXJsZWRnZXIxDzANBgNVBAsTBkZhYnJpYzEQMA4GA1UEAxMHbWFpbi1jYTAe
  51. Fw0xOTAxMTcxNzA4MDBaFw0zNDAxMTMxNzA4MDBaMF8xCzAJBgNVBAYTAlVTMRcw
  52. FQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlwZXJsZWRnZXIxDzAN
  53. BgNVBAsTBkZhYnJpYzEQMA4GA1UEAxMHbWFpbi1jYTBjMBwGBiqFAwICEzASBgcq
  54. hQMCAiMBBgcqhQMCAh4BA0MABECCE9d74PFy2l4LjVOhGG9BJ8lP0KTjtWbxp7RJ
  55. ChEH0ibwygPtcrwVy0AmB4nn0g9ojLOsSSRrIyVqZ4uCNmMEo0UwQzAOBgNVHQ8B
  56. Af8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBATAdBgNVHQ4EFgQUbb+Kfhwdh0V8
  57. ihAKXzagQMpOpeIwCAYGKoUDAgIDA0EAa5euJOs+Sd2D4bMsAzFl+SKRnBd1u/92
  58. Q/NawtgnWFkPbMmbSaq3p+7CTd0ynJa75rlAsTsrkzg6g8YmnxdDqQ==
  59. -----END CERTIFICATE-----
  60. 2019-01-21 16:57:31.539 UTC [msp/identity] newIdentity -> DEBU 02f Creating identity instance for cert -----BEGIN CERTIFICATE-----
  61. MIICujCCAmmgAwIBAgIUZDhk+97zV/XpdFBVLLfN9TixVOEwCAYGKoUDAgIDMF8x
  62. CzAJBgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChML
  63. SHlwZXJsZWRnZXIxDzANBgNVBAsTBkZhYnJpYzEQMA4GA1UEAxMHbWFpbi1jYTAe
  64. Fw0xOTAxMTcxNzA5MDBaFw0yMDAxMTcxNzE0MDBaMHExCzAJBgNVBAYTAlVTMRcw
  65. FQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlwZXJsZWRnZXIxIDAN
  66. BgNVBAsTBmNsaWVudDAPBgNVBAsTCE9yZyBOYW1lMREwDwYDVQQDEwhPcmdBZG1p
  67. bjBjMBwGBiqFAwICEzASBgcqhQMCAiMBBgcqhQMCAh4BA0MABEBFeN8w/zeneVRM
  68. cxVb3WCrf7AA7CpMIyrA5Pq4RurMr99I/eo8ncqD0K8UuLH/eRFx0+eSx4/m06yY
  69. ofG1lqPro4HoMIHlMA4GA1UdDwEB/wQEAwIHgDAMBgNVHRMBAf8EAjAAMB0GA1Ud
  70. DgQWBBRnztuVgbV+hil5L6Nb2bksfNfnVTAfBgNVHSMEGDAWgBRtv4p+HB2HRXyK
  71. EApfNqBAyk6l4jARBgNVHREECjAIggZkNDEyMTUwcgYIKgMEBQYHCAEEZnsiYXR0
  72. cnMiOnsiYWRtaW4iOiJ0cnVlIiwiaGYuQWZmaWxpYXRpb24iOiJPcmcgTmFtZSIs
  73. ImhmLkVucm9sbG1lbnRJRCI6Ik9yZ0FkbWluIiwiaGYuVHlwZSI6ImNsaWVudCJ9
  74. fTAIBgYqhQMCAgMDQQCcFK5kdaTEfxkyF+1AZj0txgf1CHPqS80q9Xp0Ft9F4DZs
  75. VwZNpkBg6sliVu2SZEND7sjNNLhEoQFaXZgFQ4o1
  76. -----END CERTIFICATE-----
  77. 2019-01-21 16:57:31.539 UTC [msp/identity] newIdentity -> DEBU 030 Creating identity instance for cert -----BEGIN CERTIFICATE-----
  78. MIICrzCCAl6gAwIBAgIUJL8qzmUKa49+IuNEEbX2NerlXBQwCAYGKoUDAgIDMF8x
  79. CzAJBgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChML
  80. SHlwZXJsZWRnZXIxDzANBgNVBAsTBkZhYnJpYzEQMA4GA1UEAxMHbWFpbi1jYTAe
  81. Fw0xOTAxMTcxNzA5MDBaFw0yMDAxMTcxNzE0MDBaMHMxCzAJBgNVBAYTAlVTMRcw
  82. FQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEUMBIGA1UEChMLSHlwZXJsZWRnZXIxHjAL
  83. BgNVBAsTBHBlZXIwDwYDVQQLEwhPcmcgTmFtZTEVMBMGA1UEAxMMT3JnUGVlckFk
  84. bWluMGMwHAYGKoUDAgITMBIGByqFAwICIwEGByqFAwICHgEDQwAEQM4RjudzyrdD
  85. WnEaGhwwI2WtKVufR6Zxc8iDc5G9u1nKu1UGNsfDnrB+GBlFERm9GLYx8y1yDXTu
  86. InTskD5DJw2jgdswgdgwDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwHQYD
  87. VR0OBBYEFKyaop/O1je4HMAn4PcC/Tj68BSjMB8GA1UdIwQYMBaAFG2/in4cHYdF
  88. fIoQCl82oEDKTqXiMBEGA1UdEQQKMAiCBmQ0MTIxNTBlBggqAwQFBgcIAQRZeyJh
  89. dHRycyI6eyJoZi5BZmZpbGlhdGlvbiI6Ik9yZyBOYW1lIiwiaGYuRW5yb2xsbWVu
  90. dElEIjoiT3JnUGVlckFkbWluIiwiaGYuVHlwZSI6InBlZXIifX0wCAYGKoUDAgID
  91. A0EA57sXfn2dYYqsU3Znuyxr6hME4wAQCc+hsuHUVIlTxLnd+GyOZMjvchZVaGkC
  92. CXqerQrCyB2CLXoORs3H8b4lBA==
  93. -----END CERTIFICATE-----
  94. panic: runtime error: invalid memory address or nil pointer dereference
  95. [signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0xd06b46]
  96.  
  97. goroutine 1 [running]:
  98. github.com/hyperledger/fabric/msp.(*bccspmsp).getSigningIdentityFromConf(0xc42059bd40, 0xc420581a60, 0xc4205df310, 0xc4205ad2f0, 0x0, 0x0)
  99.         /opt/gopath/src/github.com/hyperledger/fabric/msp/mspimpl.go:181 +0xa6
  100. github.com/hyperledger/fabric/msp.(*bccspmsp).setupSigningIdentity(0xc42059bd40, 0xc4205d04e0, 0x0, 0x0)
  101.         /opt/gopath/src/github.com/hyperledger/fabric/msp/mspimplsetup.go:264 +0x71
  102. github.com/hyperledger/fabric/msp.(*bccspmsp).preSetupV1(0xc42059bd40, 0xc4205d04e0, 0xc4204c3c98, 0xc1bc4b)
  103.         /opt/gopath/src/github.com/hyperledger/fabric/msp/mspimplsetup.go:407 +0x110
  104. github.com/hyperledger/fabric/msp.(*bccspmsp).setupV1(0xc42059bd40, 0xc4205d04e0, 0x1, 0x1)
  105.         /opt/gopath/src/github.com/hyperledger/fabric/msp/mspimplsetup.go:367 +0x39
  106. github.com/hyperledger/fabric/msp.(*bccspmsp).(github.com/hyperledger/fabric/msp.setupV1)-fm(0xc4205d04e0, 0x149d781, 0x1a)
  107.         /opt/gopath/src/github.com/hyperledger/fabric/msp/mspimpl.go:112 +0x34
  108. github.com/hyperledger/fabric/msp.(*bccspmsp).Setup(0xc42059bd40, 0xc420581720, 0x0, 0x1d9a510)
  109.         /opt/gopath/src/github.com/hyperledger/fabric/msp/mspimpl.go:225 +0x175
  110. github.com/hyperledger/fabric/msp/cache.(*cachedMSP).Setup(0xc4200f16c0, 0xc420581720, 0xc420581320, 0xc420034035)
  111.         /opt/gopath/src/github.com/hyperledger/fabric/msp/cache/cache.go:101 +0x4b
  112. github.com/hyperledger/fabric/msp/mgmt.LoadLocalMspWithType(0xc42003e018, 0x2f, 0xc420581320, 0xc420034035, 0xa, 0xc42045caa0, 0x5, 0xc4201a0990, 0xc4204c3e20)
  113.         /opt/gopath/src/github.com/hyperledger/fabric/msp/mgmt/mgmt.go:32 +0xd5
  114. github.com/hyperledger/fabric/peer/common.InitCrypto(0xc42003e018, 0x2f, 0xc420034035, 0xa, 0xc42045caa0, 0x5, 0x42, 0xc420380b10)
  115.         /opt/gopath/src/github.com/hyperledger/fabric/peer/common/common.go:129 +0x2e9
  116. main.main()
  117.         /opt/gopath/src/github.com/hyperledger/fabric/peer/main.go:87 +0x579
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement