I have one cucumber scenario which recently has been failing with this backtrace:
And I press "Continue" to complete the task "Print Mix Sheet" # features/step_definitions/app_steps.rb:25
execution expired (Timeout::Error)
/Users/rickd/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/timeout.rb:64:in `rbuf_fill'
/Users/rickd/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
/Users/rickd/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
/Users/rickd/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/net/protocol.rb:126:in `readline'
/Users/rickd/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/net/http.rb:2028:in `read_status_line'
/Users/rickd/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/net/http.rb:2017:in `read_new'
/Users/rickd/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/net/http.rb:1051:in `request'
/Users/rickd/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/net/http.rb:1037:in `request'
/Users/rickd/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/net/http.rb:543:in `start'
/Users/rickd/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/net/http.rb:1035:in `request'
(eval):2:in `send'
(eval):2:in `click_button'
./features/step_definitions/app_steps.rb:28:in `/^I press "([^"]*)" to complete the task "([^"]*)"$/'
All attempts at googling this seem to point at either FakeWeb or WebMock as the culprit for monkeying with the ruby HTTP stack.
Unfortunately this app is using neither of these gems, any ideas would be greatly appreciated.
Note that this is a Rails 2.3.11 app FWIW here's my Gemfile.lock
GIT
revision: 338930e0508b8ea023d6a17ff9f2fb059c48bd0e
specs:
timecop (0.3.5)
GEM
specs:
RedCloth (4.2.2)
actionmailer (2.3.11)
actionpack (= 2.3.11)
actionpack (2.3.11)
activesupport (= 2.3.11)
rack (~> 1.1.0)
activerecord (2.3.11)
activesupport (= 2.3.11)
activerecord-oracle_enhanced-adapter (1.4.0)
activeresource (2.3.11)
activesupport (= 2.3.11)
activesupport (2.3.11)
addressable (2.2.7)
archive-tar-minitar (0.5.2)
builder (3.0.0)
calendar_date_select (1.15)
capistrano (2.12.0)
highline
net-scp (>= 1.0.0)
net-sftp (>= 2.0.0)
net-ssh (>= 2.0.14)
net-ssh-gateway (>= 1.1.0)
capistrano-ext (1.2.1)
capistrano (>= 1.0.0)
capybara (1.1.2)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
selenium-webdriver (~> 2.0)
xpath (~> 0.1.4)
cgi_multipart_eof_fix (2.5.0)
childprocess (0.3.1)
ffi (~> 1.0.6)
columnize (0.3.6)
cucumber (1.1.9)
builder (>= 2.1.2)
diff-lcs (>= 1.1.2)
gherkin (~> 2.9.0)
json (>= 1.4.6)
term-ansicolor (>= 1.0.6)
cucumber-rails (0.3.2)
cucumber (>= 0.8.0)
daemons (1.1.8)
database_cleaner (0.7.2)
diff-lcs (1.1.3)
factory_girl (2.1.2)
activesupport
fastercsv (1.4.0)
fastthread (1.0.7)
ffi (1.0.11)
gchartrb (0.8)
gem_plugin (0.2.3)
gherkin (2.9.3)
json (>= 1.4.6)
highline (1.6.11)
json (1.6.6)
launchy (2.1.0)
addressable (~> 2.2.6)
libwebsocket (0.1.3)
addressable
libxml-ruby (1.1.3)
linecache (0.46)
rbx-require-relative (> 0.0.4)
mime-types (1.18)
mongrel (1.1.5)
cgi_multipart_eof_fix (>= 2.4)
daemons (>= 1.0.3)
fastthread (>= 1.0.1)
gem_plugin (>= 0.2.3)
multi_json (1.2.0)
net-scp (1.0.4)
net-ssh (>= 1.99.1)
net-sftp (2.0.5)
net-ssh (>= 2.0.9)
net-ssh (2.3.0)
net-ssh-gateway (1.1.0)
net-ssh (>= 1.99.1)
nokogiri (1.5.2)
pg (0.11.0)
prawn (0.7.2)
prawn-core (>= 0.7.2, < 0.8)
prawn-layout (>= 0.7.2, < 0.8)
prawn-security (>= 0.7.1, < 0.8)
prawn-core (0.7.2)
prawn-layout (0.7.2)
prawn-security (0.7.1)
progressbar (0.11.0)
rack (1.1.3)
rack-test (0.6.1)
rack (>= 1.0)
rails (2.3.11)
actionmailer (= 2.3.11)
actionpack (= 2.3.11)
activerecord (= 2.3.11)
activeresource (= 2.3.11)
activesupport (= 2.3.11)
rake (>= 0.8.3)
rails-footnotes (3.6.7)
rake (0.9.2.2)
rbx-require-relative (0.0.9)
rspec (1.3.2)
rspec-rails (1.3.4)
rack (>= 1.0.0)
rspec (~> 1.3.1)
ruby-debug (0.10.4)
columnize (>= 0.1)
ruby-debug-base (~> 0.10.4.0)
ruby-debug-base (0.10.4)
linecache (>= 0.3)
ruby-net-ldap (0.0.4)
ruby-ole (1.2.11.3)
rubyzip (0.9.7)
searchlogic (2.3.10)
activerecord (>= 2.0.0)
selenium-webdriver (2.21.1)
childprocess (>= 0.2.5)
ffi (~> 1.0)
libwebsocket (~> 0.1.3)
multi_json (< 1.3)
rubyzip
spreadsheet (0.6.8)
ruby-ole (>= 1.0)
term-ansicolor (1.0.7)
will_paginate (2.3.15)
xpath (0.1.4)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
RedCloth (= 4.2.2)
activerecord-oracle_enhanced-adapter (= 1.4.0)
archive-tar-minitar (= 0.5.2)
calendar_date_select (= 1.15)
capistrano
capistrano-ext
capybara
cucumber-rails (~> 0.3.2)
database_cleaner (>= 0.5.0)
factory_girl (~> 2.1.2)
fastercsv (= 1.4.0)
gchartrb (= 0.8)
launchy
libxml-ruby (= 1.1.3)
mongrel
pg (~> 0.11.0)
prawn (= 0.7.2)
progressbar
rails (= 2.3.11)
rails-footnotes (= 3.6.7)
rspec (~> 1.3.0)
rspec-rails (~> 1.3.2)
ruby-debug
ruby-net-ldap (= 0.0.4)
searchlogic (= 2.3.10)
spreadsheet (>= 0.6.4.1)
timecop!
will_paginate (= 2.3.15)
--
Rick DeNatale
Google+:
+Rick DeNataleBlog:
http://talklikeaduck.denhaven2.com/
Github:
http://github.com/rubyredrickTwitter: @RickDeNatale
WWR:
http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn:
http://www.linkedin.com/in/rickdenatale