github / janky

Continuous integration server built on top of Jenkins and Hubot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build fails locally

rsanheim opened this issue · comments

I ran all the bootstrap stuff locally, and still got this for bin/rake many times over:

janky statuses ✈ ⚡ › bin/rake
Run options: 

# Running tests:

ERROR: Janky::Error - no config.xml.erb template for repo 1
         app janky
      method POST
  user_agent     
      params {"nwo"=>"github/github", "name"=>nil}
     session   {}
    referrer     
   remote_ip     
         url http://example.org/_hubot/setup

/Users/rsanheim/src/github/janky/lib/janky/repository.rb:172:in `job_config_path'
/Users/rsanheim/src/github/janky/lib/janky/repository.rb:190:in `job_name'
/Users/rsanheim/src/github/janky/lib/janky/repository.rb:156:in `setup_job'
/Users/rsanheim/src/github/janky/lib/janky/repository.rb:137:in `setup'
/Users/rsanheim/src/github/janky/lib/janky/repository.rb:36:in `setup'
/Users/rsanheim/src/github/janky/lib/janky/hubot.rb:15:in `block in <class:Hubot>'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:1265:in `call'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:1265:in `block in compile!'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `[]'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `block (3 levels) in route!'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:851:in `route_eval'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `block (2 levels) in route!'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:872:in `block in process_route'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:870:in `catch'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:870:in `process_route'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:834:in `block in route!'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:833:in `each'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:833:in `route!'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:936:in `dispatch!'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:769:in `block in call!'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:921:in `block in invoke'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:921:in `catch'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:921:in `invoke'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:769:in `call!'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:755:in `call'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in `call'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in `call'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in `call'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in `call'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.4.1/lib/rack/nulllogger.rb:9:in `call'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:99:in `call'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:1389:in `block in call'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:1471:in `synchronize'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/sinatra-1.3.3/lib/sinatra/base.rb:1389:in `call'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.4.1/lib/rack/auth/basic.rb:25:in `call'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.4.1/lib/rack/builder.rb:134:in `call'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.4.1/lib/rack/urlmap.rb:64:in `block in call'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in `each'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in `call'
/Users/rsanheim/src/github/janky/lib/janky/exception.rb:44:in `call'
/Users/rsanheim/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.4.1/lib/rack/mock.rb:72:in `request'
/Users/rsanheim/src/github/janky/test/test_helper.rb:121:in `hubot_request'
/Users/rsanheim/src/github/janky/test/test_helper.rb:83:in `hubot_setup'
/Users/rsanheim/src/github/janky/test/janky_test.rb:14:in `setup'
/Users/rsanheim/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:947:in `run'
/Users/rsanheim/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/test/unit/testcase.rb:17:in `run'
/Users/rsanheim/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:787:in `block in _run_suite'
/Users/rsanheim/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:780:in `map'
/Users/rsanheim/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:780:in `_run_suite'
/Users/rsanheim/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/test/unit.rb:565:in `block in _run_suites'
/Users/rsanheim/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/test/unit.rb:563:in `each'
/Users/rsanheim/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/test/unit.rb:563:in `_run_suites'
/Users/rsanheim/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:746:in `_run_anything'
/Users/rsanheim/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/minitest/unit.rb:909:in `run_tests'

/cc @jspahrsummers and @sr -- do you guys have this working locally?

@rsanheim I never did get it to work. I just tested by deploying ci branches.

Updated bin/rake to redirect to script/test in 7be7c7f. Closing.