Giter Site home page Giter Site logo

Comments (5)

ptolemarch avatar ptolemarch commented on August 26, 2024

The same thing happens right now if you're running Firefox Beta (Firefox 19), which doesn't seem to be supported by Selenium just yet:

/Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/selenium-webdriver-2.29.0/lib/selenium/webdriver/firefox/launcher.rb:79:in `connect_until_stable': unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055) (Selenium::WebDriver::Error::WebDriverError)
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/selenium-webdriver-2.29.0/lib/selenium/webdriver/firefox/launcher.rb:37:in `block in launch'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/selenium-webdriver-2.29.0/lib/selenium/webdriver/firefox/socket_lock.rb:20:in `locked'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/selenium-webdriver-2.29.0/lib/selenium/webdriver/firefox/launcher.rb:32:in `launch'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/selenium-webdriver-2.29.0/lib/selenium/webdriver/firefox/bridge.rb:20:in `initialize'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/selenium-webdriver-2.29.0/lib/selenium/webdriver/common/driver.rb:31:in `new'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/selenium-webdriver-2.29.0/lib/selenium/webdriver/common/driver.rb:31:in `for'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/selenium-webdriver-2.29.0/lib/selenium/webdriver.rb:67:in `for'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/bundler/gems/jasmine-gem-479dccb62f9e/lib/jasmine/selenium_driver.rb:20:in `initialize'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/bundler/gems/jasmine-gem-479dccb62f9e/lib/jasmine/run_specs.rb:20:in `new'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/bundler/gems/jasmine-gem-479dccb62f9e/lib/jasmine/run_specs.rb:20:in `<top (required)>'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:in `load'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:in `block in load'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:in `load'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/rspec-core-2.10.1/lib/rspec/core/configuration.rb:746:in `block in load_spec_files'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/rspec-core-2.10.1/lib/rspec/core/configuration.rb:746:in `map'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/rspec-core-2.10.1/lib/rspec/core/configuration.rb:746:in `load_spec_files'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/rspec-core-2.10.1/lib/rspec/core/command_line.rb:22:in `run'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/rspec-core-2.10.1/lib/rspec/core/runner.rb:69:in `run'
    from /Users/cogent/.rvm/gems/ruby-1.9.3-p194@slashmob/gems/rspec-core-2.10.1/lib/rspec/core/runner.rb:10:in `block in autorun'

Since this still returns as a success, rake ship proceeds unimpeded.

from jasmine-gem.

cantino avatar cantino commented on August 26, 2024

Does anyone know why this is not returning a non-zero exit status?

from jasmine-gem.

mkornblum avatar mkornblum commented on August 26, 2024

We just ran into this as well, Jasmine CI task fails but still returns 0, so the build proceeds as if all is well.

from jasmine-gem.

cantino avatar cantino commented on August 26, 2024

We never figured out why this was happening. It'd be great to understand the root cause.

from jasmine-gem.

jboyens avatar jboyens commented on August 26, 2024

This is likely due to the fact that we don't wrap the entire run script in a begin...rescue. I've created a feature in Tracker for this: https://www.pivotaltracker.com/story/show/54066951

from jasmine-gem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.