Skip to content

Instantly share code, notes, and snippets.

@ajm188
Created April 19, 2015 01:38
Show Gist options
  • Save ajm188/86fd587c9fc30a4d5d38 to your computer and use it in GitHub Desktop.
Save ajm188/86fd587c9fc30a4d5d38 to your computer and use it in GitHub Desktop.
Travis CI: Postgres relation not found
language: ruby
rvm:
- 2.2.0
before_script:
- cp config/database.yml.travis config/database.yml
- psql -c 'create database travis_ci_test;' -U postgres
test:
adapter: postgresql
database: travis_ci_test
username: postgres
Using worker: worker-linux-docker-b0240f9f.prod.travis-ci.org:travis-linux-13
travis_fold:start:system_info
Build system information
Build language: ruby
Build image provisioning date and time
Thu Feb 5 15:09:33 UTC 2015
Operating System Details
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Linux Version
3.13.0-29-generic
Cookbooks Version
a68419e https://github.com/travis-ci/travis-cookbooks/tree/a68419e
GCC version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
LLVM version
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Pre-installed Ruby versions
ruby-1.9.3-p551
Pre-installed Node.js versions
v0.10.36
Pre-installed Go versions
1.4.1
Redis version
redis-server 2.8.19
riak version
2.0.2
MongoDB version
MongoDB 2.4.12
CouchDB version
couchdb 1.6.1
Neo4j version
1.9.4
RabbitMQ Version
3.4.3
ElasticSearch version
1.4.0
Installed Sphinx versions
2.0.10
2.1.9
2.2.6
Default Sphinx version
2.2.6
Installed Firefox version
firefox 31.0esr
PhantomJS version
1.9.8
ant -version
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
mvn -version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00)
Maven home: /usr/local/maven
Java version: 1.7.0_76, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "3.13.0-29-generic", arch: "amd64", family: "unix"
travis_fold:end:system_info

travis_fold:start:git.checkout
travis_time:start:32260790
$ git clone --depth=50 --branch=steph-test git://github.com/hacsoc/the_jolly_advisor.git hacsoc/the_jolly_advisor
Cloning into 'hacsoc/the_jolly_advisor'...
remote: Counting objects: 1333, done.
remote: Compressing objects: 0% (1/556) 
remote: Compressing objects: 1% (6/556) 
remote: Compressing objects: 2% (12/556) 
remote: Compressing objects: 3% (17/556) 
remote: Compressing objects: 4% (23/556) 
remote: Compressing objects: 5% (28/556) 
remote: Compressing objects: 6% (34/556) 
remote: Compressing objects: 7% (39/556) 
remote: Compressing objects: 8% (45/556) 
remote: Compressing objects: 9% (51/556) 
remote: Compressing objects: 10% (56/556) 
remote: Compressing objects: 11% (62/556) 
remote: Compressing objects: 12% (67/556) 
remote: Compressing objects: 13% (73/556) 
remote: Compressing objects: 14% (78/556) 
remote: Compressing objects: 15% (84/556) 
remote: Compressing objects: 16% (89/556) 
remote: Compressing objects: 17% (95/556) 
remote: Compressing objects: 18% (101/556) 
remote: Compressing objects: 19% (106/556) 
remote: Compressing objects: 20% (112/556) 
remote: Compressing objects: 21% (117/556) 
remote: Compressing objects: 22% (123/556) 
remote: Compressing objects: 23% (128/556) 
remote: Compressing objects: 24% (134/556) 
remote: Compressing objects: 25% (139/556) 
remote: Compressing objects: 26% (145/556) 
remote: Compressing objects: 27% (151/556) 
remote: Compressing objects: 28% (156/556) 
remote: Compressing objects: 29% (162/556) 
remote: Compressing objects: 30% (167/556) 
remote: Compressing objects: 31% (173/556) 
remote: Compressing objects: 32% (178/556) 
remote: Compressing objects: 33% (184/556) 
remote: Compressing objects: 34% (190/556) 
remote: Compressing objects: 35% (195/556) 
remote: Compressing objects: 36% (201/556) 
remote: Compressing objects: 37% (206/556) 
remote: Compressing objects: 38% (212/556) 
remote: Compressing objects: 39% (217/556) 
remote: Compressing objects: 40% (223/556) 
remote: Compressing objects: 41% (228/556) 
remote: Compressing objects: 42% (234/556) 
remote: Compressing objects: 43% (240/556) 
remote: Compressing objects: 44% (245/556) 
remote: Compressing objects: 45% (251/556) 
remote: Compressing objects: 46% (256/556) 
remote: Compressing objects: 47% (262/556) 
remote: Compressing objects: 48% (267/556) 
remote: Compressing objects: 49% (273/556) 
remote: Compressing objects: 50% (278/556) 
remote: Compressing objects: 51% (284/556) 
remote: Compressing objects: 52% (290/556) 
remote: Compressing objects: 53% (295/556) 
remote: Compressing objects: 54% (301/556) 
remote: Compressing objects: 55% (306/556) 
remote: Compressing objects: 56% (312/556) 
remote: Compressing objects: 57% (317/556) 
remote: Compressing objects: 58% (323/556) 
remote: Compressing objects: 59% (329/556) 
remote: Compressing objects: 60% (334/556) 
remote: Compressing objects: 61% (340/556) 
remote: Compressing objects: 62% (345/556) 
remote: Compressing objects: 63% (351/556) 
remote: Compressing objects: 64% (356/556) 
remote: Compressing objects: 65% (362/556) 
remote: Compressing objects: 66% (367/556) 
remote: Compressing objects: 67% (373/556) 
remote: Compressing objects: 68% (379/556) 
remote: Compressing objects: 69% (384/556) 
remote: Compressing objects: 70% (390/556) 
remote: Compressing objects: 71% (395/556) 
remote: Compressing objects: 72% (401/556) 
remote: Compressing objects: 73% (406/556) 
remote: Compressing objects: 74% (412/556) 
remote: Compressing objects: 75% (417/556) 
remote: Compressing objects: 76% (423/556) 
remote: Compressing objects: 77% (429/556) 
remote: Compressing objects: 78% (434/556) 
remote: Compressing objects: 79% (440/556) 
remote: Compressing objects: 80% (445/556) 
remote: Compressing objects: 81% (451/556) 
remote: Compressing objects: 82% (456/556) 
remote: Compressing objects: 83% (462/556) 
remote: Compressing objects: 84% (468/556) 
remote: Compressing objects: 85% (473/556) 
remote: Compressing objects: 86% (479/556) 
remote: Compressing objects: 87% (484/556) 
remote: Compressing objects: 88% (490/556) 
remote: Compressing objects: 89% (495/556) 
remote: Compressing objects: 90% (501/556) 
remote: Compressing objects: 91% (506/556) 
remote: Compressing objects: 92% (512/556) 
remote: Compressing objects: 93% (518/556) 
remote: Compressing objects: 94% (523/556) 
remote: Compressing objects: 95% (529/556) 
remote: Compressing objects: 96% (534/556) 
remote: Compressing objects: 97% (540/556) 
remote: Compressing objects: 98% (545/556) 
remote: Compressing objects: 99% (551/556) 
remote: Compressing objects: 100% (556/556) 
remote: Compressing objects: 100% (556/556), done.
Receiving objects: 0% (1/1333)
Receiving objects: 1% (14/1333)
Receiving objects: 2% (27/1333)
Receiving objects: 3% (40/1333)
Receiving objects: 4% (54/1333)
Receiving objects: 5% (67/1333)
Receiving objects: 6% (80/1333)
Receiving objects: 7% (94/1333)
Receiving objects: 8% (107/1333)
Receiving objects: 9% (120/1333)
Receiving objects: 10% (134/1333)
Receiving objects: 11% (147/1333)
Receiving objects: 12% (160/1333)
Receiving objects: 13% (174/1333)
Receiving objects: 14% (187/1333)
Receiving objects: 15% (200/1333)
Receiving objects: 16% (214/1333)
Receiving objects: 17% (227/1333)
Receiving objects: 18% (240/1333)
Receiving objects: 19% (254/1333)
Receiving objects: 20% (267/1333)
Receiving objects: 21% (280/1333)
Receiving objects: 22% (294/1333)
Receiving objects: 23% (307/1333)
Receiving objects: 24% (320/1333)
Receiving objects: 25% (334/1333)
Receiving objects: 26% (347/1333)
Receiving objects: 27% (360/1333)
Receiving objects: 28% (374/1333)
Receiving objects: 29% (387/1333)
Receiving objects: 30% (400/1333)
Receiving objects: 31% (414/1333)
Receiving objects: 32% (427/1333)
Receiving objects: 33% (440/1333)
Receiving objects: 34% (454/1333)
Receiving objects: 35% (467/1333)
Receiving objects: 36% (480/1333)
Receiving objects: 37% (494/1333)
Receiving objects: 38% (507/1333)
Receiving objects: 39% (520/1333)
Receiving objects: 40% (534/1333)
Receiving objects: 41% (547/1333)
remote: Total 1333 (delta 747), reused 1302 (delta 725), pack-reused 0
Receiving objects: 42% (560/1333)
Receiving objects: 43% (574/1333)
Receiving objects: 44% (587/1333)
Receiving objects: 45% (600/1333)
Receiving objects: 46% (614/1333)
Receiving objects: 47% (627/1333)
Receiving objects: 48% (640/1333)
Receiving objects: 49% (654/1333)
Receiving objects: 50% (667/1333)
Receiving objects: 51% (680/1333)
Receiving objects: 52% (694/1333)
Receiving objects: 53% (707/1333)
Receiving objects: 54% (720/1333)
Receiving objects: 55% (734/1333)
Receiving objects: 56% (747/1333)
Receiving objects: 57% (760/1333)
Receiving objects: 58% (774/1333)
Receiving objects: 59% (787/1333)
Receiving objects: 60% (800/1333)
Receiving objects: 61% (814/1333)
Receiving objects: 62% (827/1333)
Receiving objects: 63% (840/1333)
Receiving objects: 64% (854/1333)
Receiving objects: 65% (867/1333)
Receiving objects: 66% (880/1333)
Receiving objects: 67% (894/1333)
Receiving objects: 68% (907/1333)
Receiving objects: 69% (920/1333)
Receiving objects: 70% (934/1333)
Receiving objects: 71% (947/1333)
Receiving objects: 72% (960/1333)
Receiving objects: 73% (974/1333)
Receiving objects: 74% (987/1333)
Receiving objects: 75% (1000/1333)
Receiving objects: 76% (1014/1333)
Receiving objects: 77% (1027/1333)
Receiving objects: 78% (1040/1333)
Receiving objects: 79% (1054/1333)
Receiving objects: 80% (1067/1333)
Receiving objects: 81% (1080/1333)
Receiving objects: 82% (1094/1333)
Receiving objects: 83% (1107/1333)
Receiving objects: 84% (1120/1333)
Receiving objects: 85% (1134/1333)
Receiving objects: 86% (1147/1333)
Receiving objects: 87% (1160/1333)
Receiving objects: 88% (1174/1333)
Receiving objects: 89% (1187/1333)
Receiving objects: 90% (1200/1333)
Receiving objects: 91% (1214/1333)
Receiving objects: 92% (1227/1333)
Receiving objects: 93% (1240/1333)
Receiving objects: 94% (1254/1333)
Receiving objects: 95% (1267/1333)
Receiving objects: 96% (1280/1333)
Receiving objects: 97% (1294/1333)
Receiving objects: 98% (1307/1333)
Receiving objects: 99% (1320/1333)
Receiving objects: 100% (1333/1333)
Receiving objects: 100% (1333/1333), 283.05 KiB | 0 bytes/s, done.
Resolving deltas: 0% (0/747)
Resolving deltas: 8% (66/747)
Resolving deltas: 9% (70/747)
Resolving deltas: 12% (95/747)
Resolving deltas: 15% (115/747)
Resolving deltas: 16% (120/747)
Resolving deltas: 18% (135/747)
Resolving deltas: 19% (143/747)
Resolving deltas: 20% (150/747)
Resolving deltas: 21% (158/747)
Resolving deltas: 22% (165/747)
Resolving deltas: 24% (184/747)
Resolving deltas: 25% (190/747)
Resolving deltas: 26% (196/747)
Resolving deltas: 27% (205/747)
Resolving deltas: 28% (213/747)
Resolving deltas: 29% (220/747)
Resolving deltas: 30% (230/747)
Resolving deltas: 31% (232/747)
Resolving deltas: 33% (253/747)
Resolving deltas: 35% (264/747)
Resolving deltas: 36% (274/747)
Resolving deltas: 37% (278/747)
Resolving deltas: 38% (285/747)
Resolving deltas: 39% (292/747)
Resolving deltas: 40% (300/747)
Resolving deltas: 41% (312/747)
Resolving deltas: 42% (314/747)
Resolving deltas: 44% (336/747)
Resolving deltas: 45% (337/747)
Resolving deltas: 46% (344/747)
Resolving deltas: 47% (354/747)
Resolving deltas: 48% (365/747)
Resolving deltas: 49% (367/747)
Resolving deltas: 50% (380/747)
Resolving deltas: 51% (384/747)
Resolving deltas: 52% (393/747)
Resolving deltas: 53% (397/747)
Resolving deltas: 54% (404/747)
Resolving deltas: 55% (412/747)
Resolving deltas: 56% (419/747)
Resolving deltas: 57% (430/747)
Resolving deltas: 58% (434/747)
Resolving deltas: 59% (441/747)
Resolving deltas: 60% (449/747)
Resolving deltas: 61% (459/747)
Resolving deltas: 63% (477/747)
Resolving deltas: 65% (491/747)
Resolving deltas: 66% (495/747)
Resolving deltas: 68% (511/747)
Resolving deltas: 69% (517/747)
Resolving deltas: 70% (529/747)
Resolving deltas: 79% (593/747)
Resolving deltas: 80% (598/747)
Resolving deltas: 82% (613/747)
Resolving deltas: 83% (622/747)
Resolving deltas: 84% (630/747)
Resolving deltas: 85% (640/747)
Resolving deltas: 87% (656/747)
Resolving deltas: 88% (660/747)
Resolving deltas: 89% (669/747)
Resolving deltas: 90% (674/747)
Resolving deltas: 93% (695/747)
Resolving deltas: 94% (704/747)
Resolving deltas: 95% (710/747)
Resolving deltas: 97% (729/747)
Resolving deltas: 98% (734/747)
Resolving deltas: 99% (740/747)
Resolving deltas: 100% (747/747)
Resolving deltas: 100% (747/747), done.
Checking connectivity... done.
travis_time:end:32260790:start=1429406109438920368,finish=1429406109659731533,duration=220811165
$ cd hacsoc/the_jolly_advisor
$ git checkout -qf df9b49f1a0b01df349216de38b8bf210748ad061
travis_fold:end:git.checkout

This job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.
If you require sudo, add 'sudo: required' to your .travis.yml
See http://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.
travis_fold:start:rvm
travis_time:start:0333d120
$ rvm use 2.2.0 --install --binary --fuzzy
Using /home/travis/.rvm/gems/ruby-2.2.0
travis_time:end:0333d120:start=1429406114042376968,finish=1429406114484632519,duration=442255551
travis_fold:end:rvm
$ export BUNDLE_GEMFILE=$PWD/Gemfile
$ ruby --version
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
$ rvm --version
rvm 1.26.10 (latest-minor) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
$ bundle --version
Bundler version 1.7.9
$ gem --version
2.4.5
travis_fold:start:install.bundler
travis_time:start:12102f04
$ bundle install --jobs=3 --retry=3 --deployment
Fetching gem metadata from https://rubygems.org/........
Fetching additional metadata from https://rubygems.org/..
Fetching git://github.com/rubycas/rubycas-client.git
Using rake 10.4.2
Installing i18n 0.7.0
Installing minitest 5.5.1
Installing thread_safe 0.3.4
Installing builder 3.2.2
Installing json 1.8.2
Installing mini_portile 0.6.2
Installing erubis 2.7.0
Installing rack 1.6.0
Installing mime-types 2.4.3
Installing arel 6.0.0
Installing columnize 0.9.0
Installing debug_inspector 0.0.2
Installing debugger-linecache 1.2.0
Installing slop 3.6.0
Installing coderay 1.1.0
Installing coffee-script-source 1.9.0
Installing execjs 2.3.0
Installing thor 0.19.1
Installing commonjs 0.2.7
Installing diff-lcs 1.2.5
Installing multi_json 1.10.1
Installing multi_test 0.1.2
Using bundler 1.7.9
Installing hike 1.2.3
Installing tilt 1.4.1
Installing database_cleaner 1.4.1
Installing docile 1.1.5
Installing ffi 1.9.6
Installing method_source 0.8.2
Installing libv8 3.16.14.7
Using rdoc 4.2.0
Installing ref 1.0.5
Installing rspec-support 3.2.2
Installing rubyzip 1.1.7
Installing websocket 1.2.1
Installing simplecov-html 0.9.0
Installing smarter_csv 1.0.19
Installing spring 1.3.2
Installing tzinfo 1.2.2
Installing pg 0.18.1
Installing rack-test 0.6.3
Installing rack_session_access 0.1.1
Installing mail 2.6.3
Installing binding_of_caller 0.7.2
Installing byebug 3.5.1
Installing coffee-script 2.3.0
Installing uglifier 2.7.0
Installing less 2.6.0
Installing gherkin 2.12.2
Installing sprockets 2.12.3
Installing haml 4.0.6
Installing childprocess 0.5.5
Installing pry 0.10.1
Installing sdoc 0.4.1
Installing therubyracer 0.12.1
Installing rspec-core 3.2.2
Installing rspec-expectations 3.2.0
Installing rspec-mocks 3.2.1
Installing simplecov 0.9.2
Installing activesupport 4.2.0
Installing cucumber 1.3.19
Installing selenium-webdriver 2.44.0
Installing pry-rails 0.3.3
Installing rspec 3.2.0
Installing rails-deprecated_sanitizer 1.0.3
Installing globalid 0.3.2
Installing activemodel 4.2.0
Installing factory_girl 4.5.0
Installing jbuilder 2.2.6
Using rubycas-client 2.3.10.rc1 from git://github.com/rubycas/rubycas-client.git (at master)
Installing shoulda-matchers 2.8.0
Installing watir-webdriver 0.6.11
Installing activejob 4.2.0
Installing activerecord 4.2.0
Installing nokogiri 1.6.6.2
Installing loofah 2.0.1
Installing rails-dom-testing 1.0.5
Installing xpath 2.0.0
Installing rails-html-sanitizer 1.0.1
Installing capybara 2.4.4
Installing actionview 4.2.0
Installing actionpack 4.2.0
Installing actionmailer 4.2.0
Installing railties 4.2.0
Installing sprockets-rails 2.2.4
Installing kaminari 0.16.3
Installing less-rails 2.6.0
Installing coffee-rails 4.1.0
Installing factory_girl_rails 4.5.0
Installing jquery-rails 4.0.3
Installing momentjs-rails 2.9.0
Installing jquery-ui-rails 5.0.3
Installing rspec-rails 3.2.1
Installing rails 4.2.0
Installing web-console 2.0.0
Installing fullcalendar-rails 2.3.1.0
Installing turbolinks 2.5.3
Installing cucumber-rails 1.4.2
Installing twitter-bootstrap-rails 3.2.0
Your bundle is complete!
It was installed into ./vendor/bundle
Post-install message from haml:
HEADS UP! Haml 4.0 has many improvements, but also has changes that may break
your application:
* Support for Ruby 1.8.6 dropped
* Support for Rails 2 dropped
* Sass filter now always outputs <style> tags
* Data attributes are now hyphenated, not underscored
* html2haml utility moved to the html2haml gem
* Textile and Maruku filters moved to the haml-contrib gem
For more info see:
http://rubydoc.info/github/haml/haml/file/CHANGELOG.md
Post-install message from twitter-bootstrap-rails:
Important: You may need to add a javascript runtime to your Gemfile in order for bootstrap's LESS files to compile to CSS.
**********************************************
ExecJS supports these runtimes:
therubyracer - Google V8 embedded within Ruby
therubyrhino - Mozilla Rhino embedded within JRuby
Node.js
Apple JavaScriptCore - Included with Mac OS X
Microsoft Windows Script Host (JScript)
**********************************************
travis_time:end:12102f04:start=1429406114827748712,finish=1429406200938822999,duration=86111074287
travis_fold:end:install.bundler
travis_fold:start:before_script.1
travis_time:start:01d95b06
$ cp config/database.yml.travis config/database.yml
travis_time:end:01d95b06:start=1429406200942674563,finish=1429406200946790770,duration=4116207
travis_fold:end:before_script.1
travis_fold:start:before_script.2
travis_time:start:0153daa5
$ psql -c 'create database travis_ci_test;' -U postgres
CREATE DATABASE
travis_time:end:0153daa5:start=1429406200950538011,finish=1429406201272240712,duration=321702701
travis_fold:end:before_script.2
travis_time:start:28cc44c9
$ bundle exec rake
/home/travis/.rvm/rubies/ruby-2.2.0/bin/ruby -I/home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.2.2/lib:/home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/rspec-support-3.2.2/lib /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.2.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
/home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in `async_exec': PG::UndefinedTable: ERROR: relation "courses" does not exist (ActiveRecord::StatementInvalid)
LINE 5: WHERE a.attrelid = '"courses"'::regclass
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"courses"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in `block in exec_no_cache'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:466:in `block in log'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:460:in `log'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:592:in `exec_no_cache'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:584:in `execute_and_clear'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:733:in `column_definitions'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql/schema_statements.rb:186:in `columns'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/schema_cache.rb:43:in `columns'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/attributes.rb:91:in `columns'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/attributes.rb:96:in `columns_hash'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/inheritance.rb:205:in `subclass_from_attributes?'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.0/lib/active_record/inheritance.rb:54:in `new'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/decorator/new_constructor.rb:9:in `new'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/decorator.rb:14:in `send'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/decorator.rb:10:in `method_missing'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/decorator/invocation_tracker.rb:11:in `method_missing'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/decorator.rb:14:in `send'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/decorator.rb:10:in `method_missing'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/configuration.rb:15:in `block in initialize'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/attribute_assigner.rb:48:in `instance_exec'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/attribute_assigner.rb:48:in `build_class_instance'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/attribute_assigner.rb:13:in `object'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/evaluation.rb:12:in `object'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/strategy/create.rb:9:in `result'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/factory.rb:42:in `run'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/factory_runner.rb:23:in `block in run'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/notifications.rb:166:in `instrument'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/factory_runner.rb:22:in `run'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/strategy_syntax_method_registrar.rb:20:in `block in define_singular_strategy_method'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/strategy_syntax_method_registrar.rb:28:in `block (2 levels) in define_list_strategy_method'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/strategy_syntax_method_registrar.rb:28:in `times'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/strategy_syntax_method_registrar.rb:28:in `each'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/strategy_syntax_method_registrar.rb:28:in `map'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/strategy_syntax_method_registrar.rb:28:in `block in define_list_strategy_method'
from /home/travis/build/hacsoc/the_jolly_advisor/spec/factories/prerequisites.rb:5:in `block (2 levels) in <top (required)>'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/syntax/default.rb:18:in `instance_eval'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/syntax/default.rb:18:in `factory'
from /home/travis/build/hacsoc/the_jolly_advisor/spec/factories/prerequisites.rb:2:in `block in <top (required)>'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/syntax/default.rb:49:in `instance_eval'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/syntax/default.rb:49:in `run'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/syntax/default.rb:7:in `define'
from /home/travis/build/hacsoc/the_jolly_advisor/spec/factories/prerequisites.rb:1:in `<top (required)>'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `load'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `block in load'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `load'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/find_definitions.rb:20:in `block (2 levels) in find_definitions'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/find_definitions.rb:19:in `each'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/find_definitions.rb:19:in `block in find_definitions'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/find_definitions.rb:15:in `each'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl-4.5.0/lib/factory_girl/find_definitions.rb:15:in `find_definitions'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/factory_girl_rails-4.5.0/lib/factory_girl_rails/railtie.rb:21:in `block in <class:Railtie>'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:36:in `call'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:44:in `each'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application/finisher.rb:62:in `block in <module:Finisher>'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `instance_exec'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `run'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:55:in `block in run_initializers'
from /home/travis/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
from /home/travis/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
from /home/travis/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
from /home/travis/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
from /home/travis/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:345:in `each'
from /home/travis/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:345:in `call'
from /home/travis/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
from /home/travis/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
from /home/travis/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:54:in `run_initializers'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application.rb:352:in `initialize!'
from /home/travis/build/hacsoc/the_jolly_advisor/config/environment.rb:5:in `<top (required)>'
from /home/travis/build/hacsoc/the_jolly_advisor/spec/rails_helper.rb:4:in `require'
from /home/travis/build/hacsoc/the_jolly_advisor/spec/rails_helper.rb:4:in `<top (required)>'
from /home/travis/build/hacsoc/the_jolly_advisor/spec/controllers/users_controller_spec.rb:1:in `require'
from /home/travis/build/hacsoc/the_jolly_advisor/spec/controllers/users_controller_spec.rb:1:in `<top (required)>'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1226:in `load'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1226:in `block in load_spec_files'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1224:in `each'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1224:in `load_spec_files'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:97:in `setup'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:85:in `run'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'
from /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.2.2/exe/rspec:4:in `<main>'
/home/travis/.rvm/rubies/ruby-2.2.0/bin/ruby -I/home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.2.2/lib:/home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/rspec-support-3.2.2/lib /home/travis/build/hacsoc/the_jolly_advisor/vendor/bundle/ruby/2.2.0/gems/rspec-core-3.2.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed
travis_time:end:28cc44c9:start=1429406201276378096,finish=1429406205793885755,duration=4517507659

The command "bundle exec rake" exited with 1.
Done. Your build exited with 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment