Cucumber failures at first time. Second time is ok

rails
cucumber

#1

Hey all. I’m having intermittent build issues that consistently succeed locally. We had our master build (#3192) succeeds but rebuild (#3193) fails. The failures are only on login feature specs at the first time, the others succeed consistently for both Circle and dev.

Error: “Net::ReadTimeout”

Partial Stack:

  • Rails 4.2.4
  • RSpec 3.3.0
  • Capybara (2.7.1)
  • poltergeist ( 1.6.0 )

It’s just happen at the first time that cucumber run on circle ci.

I have tried to use retry and add more time for timeout (180s for poltergeist ). But it still happend.

Any help is hugely appreciated!


#2