Guest User

Untitled

a guest
Jun 6th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.21 KB | None | 0 0
  1. hudson@jvx64:~/workspace/padrino-rubinius-test$ bundle exec rake test --trace
  2. (in /var/lib/hudson/workspace/padrino-rubinius-test)
  3. You need to install sdoc: gem install sdoc to correctly generate our api docs.
  4. Rcov is only supported on MRI 1.8. You can safely ignore this message on other platforms
  5. ** Invoke test (first_time)
  6. ** Execute test
  7. cd /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core && /var/lib/hudson/.rvm/rubies/rbx-1.0.1-20100603/bin/rbx -S rake test
  8. (in /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core)
  9. /var/lib/hudson/.rvm/rubies/rbx-1.0.1-20100603/bin/rbx -I"lib:test" "/var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/test_application.rb" "test/test_rendering.rb" "test/test_server.rb" "test/test_routing.rb" "test/test_dependencies.rb" "test/test_reloader_simple.rb" "test/test_mounter.rb" "test/test_logger.rb" "test/test_core.rb" "test/test_reloader_complex.rb" "test/test_router.rb"
  10. Loaded suite /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake/rake_test_loader
  11. Started
  12. ....F.......FE.......................................EE........F............................................F..FF..
  13. Finished in 7.556165 seconds.
  14.  
  15. 1) Failure:
  16. test: for application functionality should set content_type to :html if none can be determined. (TestApplication)
  17. [./test/test_application.rb:46:in `TestApplication {}'
  18. kernel/common/method.rb:68:in `call'
  19. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/shoulda-2.11.1/lib/shoulda/context.rb:382:in `create_test_from_should_hash {}'
  20. kernel/bootstrap/array.rb:163:in `each'
  21. kernel/bootstrap/array.rb:163:in `each']:
  22. <"Foo in xml"> expected but was
  23. <"">.
  24.  
  25. 2) Failure:
  26. test: when we require a dependency that have another dependency should raise an error without reloading it twice. (TestDependencies)
  27. [./test/test_dependencies.rb:8:in `TestDependencies {}'
  28. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings {}'
  29. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/reporting.rb:22:in `with_warnings'
  30. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
  31. ./test/test_dependencies.rb:7:in `TestDependencies {}'
  32. kernel/common/method.rb:68:in `call'
  33. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/shoulda-2.11.1/lib/shoulda/context.rb:382:in `create_test_from_should_hash {}'
  34. kernel/bootstrap/array.rb:163:in `each'
  35. kernel/bootstrap/array.rb:163:in `each']:
  36. <RuntimeError> exception expected but was
  37. Class: <TypeError>
  38. Message: <"Coercion error: nil.to_str => String failed">
  39. ---Backtrace---
  40. kernel/common/type.rb:22:in `coerce_to'
  41. kernel/common/kernel.rb:112:in `StringValue'
  42. kernel/common/codeloader.rb:22:in `initialize'
  43. kernel/common/codeloader.rb:138:in `require'
  44. kernel/common/kernel.rb:693:in `require'
  45. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:175:in `safe_load'
  46. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/loader.rb:111:in `require_dependencies {}'
  47. kernel/bootstrap/array.rb:163:in `each'
  48. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/loader.rb:109:in `require_dependencies'
  49. ./test/test_dependencies.rb:9:in `TestDependencies {}'
  50. ./test/test_dependencies.rb:8:in `TestDependencies {}'
  51. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings {}'
  52. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/reporting.rb:22:in `with_warnings'
  53. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
  54. ./test/test_dependencies.rb:7:in `TestDependencies {}'
  55. kernel/common/method.rb:68:in `call'
  56. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/shoulda-2.11.1/lib/shoulda/context.rb:382:in `create_test_from_should_hash {}'
  57. kernel/bootstrap/array.rb:163:in `each'
  58. kernel/bootstrap/array.rb:163:in `each'
  59. ---------------
  60.  
  61. 3) Error:
  62. test: when we require a dependency that have another dependency should resolve dependency problems. (TestDependencies):
  63. TypeError: Coercion error: nil.to_str => String failed
  64. kernel/common/type.rb:22:in `coerce_to'
  65. kernel/common/kernel.rb:112:in `StringValue'
  66. kernel/common/codeloader.rb:22:in `initialize'
  67. kernel/common/codeloader.rb:138:in `require'
  68. kernel/common/kernel.rb:693:in `require'
  69. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:175:in `safe_load'
  70. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/loader.rb:111:in `require_dependencies {}'
  71. kernel/bootstrap/array.rb:163:in `each'
  72. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/loader.rb:109:in `require_dependencies'
  73. ./test/test_dependencies.rb:22:in `TestDependencies {}'
  74. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings {}'
  75. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/reporting.rb:22:in `with_warnings'
  76. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
  77. ./test/test_dependencies.rb:21:in `TestDependencies {}'
  78. kernel/common/method.rb:68:in `call'
  79. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/shoulda-2.11.1/lib/shoulda/context.rb:382:in `create_test_from_should_hash {}'
  80. kernel/bootstrap/array.rb:163:in `each'
  81. kernel/bootstrap/array.rb:163:in `each'
  82.  
  83. 4) Error:
  84. test: Router should works with padrino applications. (TestRouter):
  85. NameError: wrong constant name #<Class: #<HttpRouter
  86. kernel/common/module.rb:706:in `normalize_const_name'
  87. kernel/common/module.rb:471:in `const_defined?'
  88. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/support_lite.rb:84:in `full_const_get {}'
  89. kernel/bootstrap/array.rb:163:in `each'
  90. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/support_lite.rb:81:in `full_const_get'
  91. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:197:in `remove_constant'
  92. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:123:in `safe_load {}'
  93. kernel/bootstrap/array.rb:163:in `each'
  94. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:123:in `safe_load'
  95. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:95:in `reload! {}'
  96. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:223:in `rotation {}'
  97. kernel/bootstrap/array.rb:185:in `map'
  98. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:215:in `rotation'
  99. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:77:in `reload!'
  100. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/loader.rb:57:in `reload!'
  101. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:25:in `call'
  102. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/logger.rb:282:in `call'
  103. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in `call'
  104. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call {}'
  105. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/sinatra-1.0/lib/sinatra/base.rb:1005:in `synchronize'
  106. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
  107. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/router.rb:71:in `call {}'
  108. kernel/bootstrap/array.rb:163:in `each'
  109. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/router.rb:64:in `call'
  110. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rack-1.2.1/lib/rack/mock.rb:71:in `request'
  111. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rack-1.2.1/lib/rack/mock.rb:56:in `get'
  112. ./test/test_router.rb:138:in `TestRouter {}'
  113. kernel/common/method.rb:68:in `call'
  114. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/shoulda-2.11.1/lib/shoulda/context.rb:382:in `create_test_from_should_hash {}'
  115. kernel/bootstrap/array.rb:163:in `each'
  116. kernel/bootstrap/array.rb:163:in `each'
  117.  
  118. 5) Error:
  119. test: Router should works with padrino core applications. (TestRouter):
  120. NameError: wrong constant name #<Class: #<HttpRouter
  121. kernel/common/module.rb:706:in `normalize_const_name'
  122. kernel/common/module.rb:471:in `const_defined?'
  123. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/support_lite.rb:84:in `full_const_get {}'
  124. kernel/bootstrap/array.rb:163:in `each'
  125. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/support_lite.rb:81:in `full_const_get'
  126. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:197:in `remove_constant'
  127. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:123:in `safe_load {}'
  128. kernel/bootstrap/array.rb:163:in `each'
  129. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:123:in `safe_load'
  130. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/loader.rb:111:in `require_dependencies {}'
  131. kernel/bootstrap/array.rb:163:in `each'
  132. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/loader.rb:109:in `require_dependencies'
  133. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/application.rb:50:in `reload!'
  134. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:87:in `reload! {}'
  135. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:223:in `rotation {}'
  136. kernel/bootstrap/array.rb:185:in `map'
  137. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:215:in `rotation'
  138. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:77:in `reload!'
  139. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/loader.rb:57:in `reload!'
  140. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/reloader.rb:25:in `call'
  141. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/logger.rb:282:in `call'
  142. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in `call'
  143. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call {}'
  144. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/sinatra-1.0/lib/sinatra/base.rb:1005:in `synchronize'
  145. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/sinatra-1.0/lib/sinatra/base.rb:979:in `call'
  146. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/router.rb:71:in `call {}'
  147. kernel/bootstrap/array.rb:163:in `each'
  148. /var/lib/hudson/workspace/padrino-rubinius-test/padrino-core/lib/padrino-core/router.rb:64:in `call'
  149. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rack-1.2.1/lib/rack/mock.rb:71:in `request'
  150. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rack-1.2.1/lib/rack/mock.rb:56:in `get'
  151. ./test/test_router.rb:118:in `TestRouter {}'
  152. kernel/common/method.rb:68:in `call'
  153. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/shoulda-2.11.1/lib/shoulda/context.rb:382:in `create_test_from_should_hash {}'
  154. kernel/bootstrap/array.rb:163:in `each'
  155. kernel/bootstrap/array.rb:163:in `each'
  156.  
  157. 6) Failure:
  158. test: Routing should filters by accept header. (TestRouting)
  159. [./test/test_routing.rb:576:in `TestRouting {}'
  160. kernel/common/method.rb:68:in `call'
  161. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/shoulda-2.11.1/lib/shoulda/context.rb:382:in `create_test_from_should_hash {}'
  162. kernel/bootstrap/array.rb:163:in `each'
  163. kernel/bootstrap/array.rb:163:in `each']:
  164. <false> is not true.
  165.  
  166. 7) Failure:
  167. test: Routing should works allow global provides. (TestRouting)
  168. [./test/test_routing.rb:606:in `TestRouting {}'
  169. kernel/common/method.rb:68:in `call'
  170. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/shoulda-2.11.1/lib/shoulda/context.rb:382:in `create_test_from_should_hash {}'
  171. kernel/bootstrap/array.rb:163:in `each'
  172. kernel/bootstrap/array.rb:163:in `each']:
  173. <"Foo in xml"> expected but was
  174. <"">.
  175.  
  176. 8) Failure:
  177. test: for simple reload functionality should correctly reload SimpleDemo fixture. (TestSimpleReloader)
  178. [./test/test_reloader_simple.rb:58:in `TestSimpleReloader {}'
  179. kernel/common/method.rb:68:in `call'
  180. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/shoulda-2.11.1/lib/shoulda/context.rb:382:in `create_test_from_should_hash {}'
  181. kernel/bootstrap/array.rb:163:in `each'
  182. kernel/bootstrap/array.rb:163:in `each']:
  183. <false> is not true.
  184.  
  185. 9) Failure:
  186. test: for simple reload functionality should correctly reset SimpleDemo fixture. (TestSimpleReloader)
  187. [./test/test_reloader_simple.rb:75:in `TestSimpleReloader {}'
  188. kernel/common/method.rb:68:in `call'
  189. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/shoulda-2.11.1/lib/shoulda/context.rb:382:in `create_test_from_should_hash {}'
  190. kernel/bootstrap/array.rb:163:in `each'
  191. kernel/bootstrap/array.rb:163:in `each']:
  192. <false> is not true.
  193.  
  194. 115 tests, 419 assertions, 6 failures, 3 errors
  195. rake aborted!
  196. Command failed with status (1): [/var/lib/hudson/.rvm/rubies/rbx-1.0.1-2010...]
  197.  
  198. (See full trace by running task with --trace)
  199. rake aborted!
  200. Command failed with status (1): [cd /var/lib/hudson/workspace/padrino-rubin...]
  201. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake.rb:995:in `sh {}'
  202. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake.rb:1010:in `sh'
  203. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake.rb:1094:in `sh'
  204. /var/lib/hudson/workspace/padrino-rubinius-test/Rakefile:104:in `__script__ {}'
  205. kernel/bootstrap/array.rb:163:in `each'
  206. /var/lib/hudson/workspace/padrino-rubinius-test/Rakefile:102:in `__script__ {}'
  207. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake.rb:636:in `execute {}'
  208. kernel/bootstrap/array.rb:163:in `each'
  209. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
  210. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain {}'
  211. /var/lib/hudson/.rvm/rubies/rbx-1.0.1-20100603/lib/monitor.rb:191:in `synchronize (mon_synchronize)'
  212. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
  213. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
  214. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
  215. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level {}'
  216. kernel/bootstrap/array.rb:163:in `each'
  217. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level {}'
  218. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
  219. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
  220. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake.rb:2001:in `run {}'
  221. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
  222. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
  223. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/gems/rake-0.8.7/bin/rake:31:in `__script__'
  224. kernel/common/kernel.rb:642:in `load'
  225. /var/lib/hudson/.rvm/gems/rbx-1.0.1-20100603@padrino-test-build/bin/rake:19:in `__script__'
  226. kernel/delta/codeloader.rb:67:in `load_script'
  227. kernel/delta/codeloader.rb:91:in `load_script'
  228. kernel/loader.rb:435:in `script'
  229. kernel/loader.rb:527:in `main'
  230. kernel/loader.rb:553:in `main'
  231. kernel/loader.rb:565:in `__script__'
  232. hudson@jvx64:~/workspace/padrino-rubinius-test$
Add Comment
Please, Sign In to add comment