Guest User

Untitled

a guest
Jul 27th, 2019
304
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ============================================
  2. Guile-SSH 0.11.3: tests/test-suite.log
  3. ============================================
  4.  
  5. # TOTAL: 11
  6. # PASS: 10
  7. # SKIP: 0
  8. # XFAIL: 0
  9. # FAIL: 1
  10. # XPASS: 0
  11. # ERROR: 0
  12.  
  13. .. contents:: :depth: 2
  14.  
  15. FAIL: key
  16. =========
  17.  
  18. Backtrace:
  19. 3 (primitive-load "/tmp/trizen-jojo/guile-ssh/src/guile-ssh-0.11.3/tests/./key.scm")
  20. In ice-9/eval.scm:
  21. 619:8 2 (_ #(#(#(#<directory (guile-user) 55b2c2f3f140> #f) #<test-runner pass-count: 12 fail-count: 1 xpass-count: 0 xfail-count: 0 …>) #))
  22. 293:34 1 (_ #(#(#(#<directory (guile-user) 55b2c2f3f140> #f) #<test-runner pass-count: 12 fail-count: 1 xpass-count: 0 xfail-count: 0 …>) #))
  23. In unknown file:
  24. 0 (public-key->string #<key ecdsa (public) 55b2c304eda0>)
  25.  
  26. ERROR: In procedure public-key->string:
  27. Throw to key `guile-ssh-error' with args `("public-key->string" "Unable to convert the key to a string" #<key ecdsa (public) 55b2c304eda0> #f)'.
  28. %%%% Starting test key (Writing full log to "key.log")
  29. tests/key.scm:90: FAIL get-key-type
  30.  
  31. Some deprecated features have been used. Set the environment
  32. variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
  33. program to get more information. Set it to "no" to suppress
  34. this message.
  35. a key")) (key? *rsa-key*) (key? *dsa-key*) (when-openssl (key? *ecdsa-key*)) (key? *rsa-pub-key*) (key? *dsa-pub-key*) (when-openssl (key? *ecdsa-pub-key*))))
  36. Test end:
  37. result-kind: pass
  38. actual-value: #t
  39. Test begin:
  40. test-name: "private-key?"
  41. source-file: "tests/key.scm"
  42. source-line: 70
  43. source-form: (test-assert "private-key?" (and (private-key? *rsa-key*) (not (private-key? *rsa-pub-key*)) (not (private-key? "not a key"))))
  44. Test end:
  45. result-kind: pass
  46. actual-value: #t
  47. Test begin:
  48. test-name: "public-key?"
  49. source-file: "tests/key.scm"
  50. source-line: 75
  51. source-form: (test-assert "public-key?" (begin (set-log-userdata! "public-key?") (and (public-key? *rsa-pub-key*) (public-key? *rsa-key*) (not (public-key? "not a key")))))
  52. Test end:
  53. result-kind: pass
  54. actual-value: #t
  55. Test begin:
  56. test-name: "private-key->public-key"
  57. source-file: "tests/key.scm"
  58. source-line: 84
  59. source-form: (test-assert "private-key->public-key" (begin (set-log-userdata! "private-key->public-key") (and (private-key->public-key *rsa-key*) (private-key->public-key *dsa-key*) (when-openssl (private-key->public-key *ecdsa-key*)))))
  60. Test end:
  61. result-kind: pass
  62. actual-value: #<key #f (public) 55b2c304ee20>
  63. Test begin:
  64. test-name: "get-key-type"
  65. source-file: "tests/key.scm"
  66. source-line: 90
  67. source-form: (test-assert "get-key-type" (begin (set-log-userdata! "get-key-type") (and (eq? (quote rsa) (get-key-type *rsa-key*)) (eq? (quote dss) (get-key-type *dsa-key*)) (when-openssl (eq? (quote ecdsa) (get-key-type *ecdsa-key*))))))
  68. Test end:
  69. result-kind: fail
  70. actual-value: #f
  71. Test begin:
  72. test-name: "private-key-to-file"
  73. source-file: "tests/key.scm"
  74. source-line: 97
  75. source-form: (test-assert "private-key-to-file" (begin (set-log-userdata! "private-key-to-file") (when-openssl (let ((file-name "./tmp-rsa-key")) (private-key-to-file *rsa-key* file-name) (let ((key (private-key-from-file file-name))) (delete-file file-name) (and (key? key) (private-key? key)))))))
  76. Test end:
  77. result-kind: pass
  78. actual-value: #t
  79. Test begin:
  80. test-name: "public-key->string, RSA"
  81. source-file: "tests/key.scm"
  82. source-line: 117
  83. source-form: (test-equal "public-key->string, RSA" (public-key->string *rsa-pub-key*) %rsakey-pub-string)
  84. Test end:
  85. result-kind: pass
  86. actual-value: "AAAAB3NzaC1yc2EAAAADAQABAAABAQC+8H9j5Yt3xeqaAxXAtSbBsW0JsJegngwfLveHA0ev3ndEKruylR6CZgf6OxshTwUeBaqn7jJMf+6RRQPTcxihgtZAfdyKdPGWDtmePBnG64+uGEaP8N3KvCzlANKf5tmxS8brJlQhxKL8t+3IE8w3QmCMnCGKWprsL/ygPA9koWauUqqKvOQbZXdUEfLvZfnsE1laRyK4dwLiiM2vyGZM/2yePLP4xYu/uYdPFaukxt3DMcgrEy9zuVcU8wbkJMKM57sambvituzMVVqRdeMX9exZv32qcXlpChl4XjFClQ0lqOb8S8CNTPXm3zQ2ZJrQtUHiD54RYhlXD7X0TO6v"
  87. expected-value: "AAAAB3NzaC1yc2EAAAADAQABAAABAQC+8H9j5Yt3xeqaAxXAtSbBsW0JsJegngwfLveHA0ev3ndEKruylR6CZgf6OxshTwUeBaqn7jJMf+6RRQPTcxihgtZAfdyKdPGWDtmePBnG64+uGEaP8N3KvCzlANKf5tmxS8brJlQhxKL8t+3IE8w3QmCMnCGKWprsL/ygPA9koWauUqqKvOQbZXdUEfLvZfnsE1laRyK4dwLiiM2vyGZM/2yePLP4xYu/uYdPFaukxt3DMcgrEy9zuVcU8wbkJMKM57sambvituzMVVqRdeMX9exZv32qcXlpChl4XjFClQ0lqOb8S8CNTPXm3zQ2ZJrQtUHiD54RYhlXD7X0TO6v"
  88. Test begin:
  89. test-name: "public-key->string, DSA"
  90. source-file: "tests/key.scm"
  91. source-line: 121
  92. source-form: (test-equal "public-key->string, DSA" (public-key->string *dsa-pub-key*) %dsakey-pub-string)
  93. Test end:
  94. result-kind: pass
  95. actual-value: "AAAAB3NzaC1kc3MAAACBAOpnJ64w3Qo3HkCCODTPpLqPUrDLg0bxWdoae2tsXFwhBthIlCV8N0hTzOj1Qrgnx/WiuDk5qXSKOHisyqVBv8sGLOUTBy0Fdz1SobZ9+WGu5+5EiJm78MZcgtHXHu1GPuImANifbSaDJpIGKItq0V5WhpLXyQC7o0Vt70sGQboVAAAAFQDeu+6APBWXtqq2Ch+nODn7VDSIhQAAAIA5iGHYbztSq8KnWj1J/6GTvsPp1JFqZ3hFX5wlGIV4XxBdeEZnCPrhYJumM7SRjYjWMpW5eqFNs5o3d+rJPFFwDo7yW10WC3Bfpo5xRxU35xf/aFAVbm3vi/HRQvv4cFrwTLvPHgNYGYdZiHXCXPoYIh+WoKT9n3MfrBXB4hpAmwAAAIEArkWuRnbjfPVFpXrWGw6kMPVdhOZr1ghdlG5bY31y4UKUlmHvXx5YZ776dSRSMJY2u4lS73+SFgwPdkmpgGma/rZdd9gly9T7SiSr/4qXJyS8Muh203xsAU3ukRocY8lsvllKEGiCJmrUTJWmj0UYEDsbqy2k/1Yz2Q/awygyk9c="
  96. expected-value: "AAAAB3NzaC1kc3MAAACBAOpnJ64w3Qo3HkCCODTPpLqPUrDLg0bxWdoae2tsXFwhBthIlCV8N0hTzOj1Qrgnx/WiuDk5qXSKOHisyqVBv8sGLOUTBy0Fdz1SobZ9+WGu5+5EiJm78MZcgtHXHu1GPuImANifbSaDJpIGKItq0V5WhpLXyQC7o0Vt70sGQboVAAAAFQDeu+6APBWXtqq2Ch+nODn7VDSIhQAAAIA5iGHYbztSq8KnWj1J/6GTvsPp1JFqZ3hFX5wlGIV4XxBdeEZnCPrhYJumM7SRjYjWMpW5eqFNs5o3d+rJPFFwDo7yW10WC3Bfpo5xRxU35xf/aFAVbm3vi/HRQvv4cFrwTLvPHgNYGYdZiHXCXPoYIh+WoKT9n3MfrBXB4hpAmwAAAIEArkWuRnbjfPVFpXrWGw6kMPVdhOZr1ghdlG5bY31y4UKUlmHvXx5YZ776dSRSMJY2u4lS73+SFgwPdkmpgGma/rZdd9gly9T7SiSr/4qXJyS8Muh203xsAU3ukRocY8lsvllKEGiCJmrUTJWmj0UYEDsbqy2k/1Yz2Q/awygyk9c="
  97. Test begin:
  98. test-name: "public-key->string, ECDSA"
  99. source-file: "tests/key.scm"
  100. source-line: 126
  101. source-form: (test-equal "public-key->string, ECDSA" (public-key->string *ecdsa-pub-key*) %ecdsakey-pub-string)
  102. Test end:
  103. result-kind: pass
  104. actual-value: "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHcpje/fp21KjuZFKgmKAAwHeYJ6e3ny4LwEVjZr8hOCVlBvqj7/krVqxbwZI7EcowbpYI1F8ZszS7zfUhKT3U4="
  105. expected-value: "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHcpje/fp21KjuZFKgmKAAwHeYJ6e3ny4LwEVjZr8hOCVlBvqj7/krVqxbwZI7EcowbpYI1F8ZszS7zfUhKT3U4="
  106. Test begin:
  107. test-name: "string->public-key, RSA"
  108. source-file: "tests/key.scm"
  109. source-line: 131
  110. source-form: (test-equal "string->public-key, RSA" (public-key->string (string->public-key %rsakey-pub-string (quote rsa))) %rsakey-pub-string)
  111. Test end:
  112. result-kind: pass
  113. actual-value: "AAAAB3NzaC1yc2EAAAADAQABAAABAQC+8H9j5Yt3xeqaAxXAtSbBsW0JsJegngwfLveHA0ev3ndEKruylR6CZgf6OxshTwUeBaqn7jJMf+6RRQPTcxihgtZAfdyKdPGWDtmePBnG64+uGEaP8N3KvCzlANKf5tmxS8brJlQhxKL8t+3IE8w3QmCMnCGKWprsL/ygPA9koWauUqqKvOQbZXdUEfLvZfnsE1laRyK4dwLiiM2vyGZM/2yePLP4xYu/uYdPFaukxt3DMcgrEy9zuVcU8wbkJMKM57sambvituzMVVqRdeMX9exZv32qcXlpChl4XjFClQ0lqOb8S8CNTPXm3zQ2ZJrQtUHiD54RYhlXD7X0TO6v"
  114. expected-value: "AAAAB3NzaC1yc2EAAAADAQABAAABAQC+8H9j5Yt3xeqaAxXAtSbBsW0JsJegngwfLveHA0ev3ndEKruylR6CZgf6OxshTwUeBaqn7jJMf+6RRQPTcxihgtZAfdyKdPGWDtmePBnG64+uGEaP8N3KvCzlANKf5tmxS8brJlQhxKL8t+3IE8w3QmCMnCGKWprsL/ygPA9koWauUqqKvOQbZXdUEfLvZfnsE1laRyK4dwLiiM2vyGZM/2yePLP4xYu/uYdPFaukxt3DMcgrEy9zuVcU8wbkJMKM57sambvituzMVVqRdeMX9exZv32qcXlpChl4XjFClQ0lqOb8S8CNTPXm3zQ2ZJrQtUHiD54RYhlXD7X0TO6v"
  115. Test begin:
  116. test-name: "string->public-key, DSA"
  117. source-file: "tests/key.scm"
  118. source-line: 135
  119. source-form: (test-equal "string->public-key, DSA" (public-key->string (string->public-key %dsakey-pub-string (quote dss))) %dsakey-pub-string)
  120. Test end:
  121. result-kind: pass
  122. actual-value: "AAAAB3NzaC1kc3MAAACBAOpnJ64w3Qo3HkCCODTPpLqPUrDLg0bxWdoae2tsXFwhBthIlCV8N0hTzOj1Qrgnx/WiuDk5qXSKOHisyqVBv8sGLOUTBy0Fdz1SobZ9+WGu5+5EiJm78MZcgtHXHu1GPuImANifbSaDJpIGKItq0V5WhpLXyQC7o0Vt70sGQboVAAAAFQDeu+6APBWXtqq2Ch+nODn7VDSIhQAAAIA5iGHYbztSq8KnWj1J/6GTvsPp1JFqZ3hFX5wlGIV4XxBdeEZnCPrhYJumM7SRjYjWMpW5eqFNs5o3d+rJPFFwDo7yW10WC3Bfpo5xRxU35xf/aFAVbm3vi/HRQvv4cFrwTLvPHgNYGYdZiHXCXPoYIh+WoKT9n3MfrBXB4hpAmwAAAIEArkWuRnbjfPVFpXrWGw6kMPVdhOZr1ghdlG5bY31y4UKUlmHvXx5YZ776dSRSMJY2u4lS73+SFgwPdkmpgGma/rZdd9gly9T7SiSr/4qXJyS8Muh203xsAU3ukRocY8lsvllKEGiCJmrUTJWmj0UYEDsbqy2k/1Yz2Q/awygyk9c="
  123. expected-value: "AAAAB3NzaC1kc3MAAACBAOpnJ64w3Qo3HkCCODTPpLqPUrDLg0bxWdoae2tsXFwhBthIlCV8N0hTzOj1Qrgnx/WiuDk5qXSKOHisyqVBv8sGLOUTBy0Fdz1SobZ9+WGu5+5EiJm78MZcgtHXHu1GPuImANifbSaDJpIGKItq0V5WhpLXyQC7o0Vt70sGQboVAAAAFQDeu+6APBWXtqq2Ch+nODn7VDSIhQAAAIA5iGHYbztSq8KnWj1J/6GTvsPp1JFqZ3hFX5wlGIV4XxBdeEZnCPrhYJumM7SRjYjWMpW5eqFNs5o3d+rJPFFwDo7yW10WC3Bfpo5xRxU35xf/aFAVbm3vi/HRQvv4cFrwTLvPHgNYGYdZiHXCXPoYIh+WoKT9n3MfrBXB4hpAmwAAAIEArkWuRnbjfPVFpXrWGw6kMPVdhOZr1ghdlG5bY31y4UKUlmHvXx5YZ776dSRSMJY2u4lS73+SFgwPdkmpgGma/rZdd9gly9T7SiSr/4qXJyS8Muh203xsAU3ukRocY8lsvllKEGiCJmrUTJWmj0UYEDsbqy2k/1Yz2Q/awygyk9c="
  124. Test begin:
  125. test-name: "string->public-key, ECDSA"
  126. source-file: "tests/key.scm"
  127. source-line: 140
  128. source-form: (test-equal "string->public-key, ECDSA" (public-key->string (string->public-key %ecdsakey-pub-string (quote ecdsa))) %ecdsakey-pub-string)
  129. FAIL key.scm (exit status: 1)
RAW Paste Data