Page MenuHomePhabricator

Net::ReadTimeout shouldn't mark a test as failed
Closed, DuplicatePublic

Description

If a test fails with Net::ReadTimeout it shouldn't mark a test as failed
This would reduce noise on the browser test job.

https://integration.wikimedia.org/ci/job/browsertests-MobileFrontend-en.m.wikipedia.beta.wmflabs.org-linux-chrome-sauce/645/testReport/junit/(root)/Manage%20Watchlist/Switching_to_List_view/

Example trace:

Net::ReadTimeout (Net::ReadTimeout)
/usr/lib/ruby/2.0.0/net/protocol.rb:158:in `rescue in rbuf_fill'
/usr/lib/ruby/2.0.0/net/protocol.rb:152:in `rbuf_fill'
/usr/lib/ruby/2.0.0/net/protocol.rb:134:in `readuntil'
/usr/lib/ruby/2.0.0/net/protocol.rb:144:in `readline'
/usr/lib/ruby/2.0.0/net/http/response.rb:39:in `read_status_line'
/usr/lib/ruby/2.0.0/net/http/response.rb:28:in `read_new'
/usr/lib/ruby/2.0.0/net/http.rb:1406:in `block in transport_request'
/usr/lib/ruby/2.0.0/net/http.rb:1403:in `catch'
/usr/lib/ruby/2.0.0/net/http.rb:1403:in `transport_request'
/usr/lib/ruby/2.0.0/net/http.rb:1376:in `request'
/usr/lib/ruby/2.0.0/net/http.rb:1369:in `block in request'
/usr/lib/ruby/2.0.0/net/http.rb:852:in `start'
/usr/lib/ruby/2.0.0/net/http.rb:1367:in `request'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/selenium-webdriver-2.45.0/lib/selenium/webdriver/remote/http/default.rb:83:in `response_for'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/selenium-webdriver-2.45.0/lib/selenium/webdriver/remote/http/default.rb:39:in `request'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/selenium-webdriver-2.45.0/lib/selenium/webdriver/remote/http/common.rb:40:in `call'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/selenium-webdriver-2.45.0/lib/selenium/webdriver/remote/bridge.rb:640:in `raw_execute'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/selenium-webdriver-2.45.0/lib/selenium/webdriver/remote/bridge.rb:618:in `execute'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/selenium-webdriver-2.45.0/lib/selenium/webdriver/remote/bridge.rb:216:in `refresh'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/selenium-webdriver-2.45.0/lib/selenium/webdriver/common/navigation.rb:38:in `refresh'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/watir-webdriver-0.7.0/lib/watir-webdriver/browser.rb:202:in `refresh'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/page-object-1.0.3/lib/page-object/platforms/watir_webdriver/page_object.rb:163:in `refresh'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/page-object-1.0.3/lib/page-object.rb:364:in `refresh'
/mnt/jenkins-workspace/workspace/browsertests-Gather-en.m.wikipedia.beta.wmflabs.org-linux-chrome-sauce/tests/browser/features/step_definitions/common_steps.rb:6:in `block (2 levels) in <top (required)>'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/page-object-1.0.3/lib/page-object/page_factory.rb:75:in `call'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/page-object-1.0.3/lib/page-object/page_factory.rb:75:in `on_page'
/mnt/jenkins-workspace/workspace/browsertests-Gather-en.m.wikipedia.beta.wmflabs.org-linux-chrome-sauce/tests/browser/features/step_definitions/common_steps.rb:2:in `block in <top (required)>'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/core_ext/instance_exec.rb:48:in `instance_exec'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/core_ext/instance_exec.rb:48:in `block in cucumber_instance_exec'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/core_ext/instance_exec.rb:69:in `cucumber_run_with_backtrace_filtering'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/core_ext/instance_exec.rb:36:in `cucumber_instance_exec'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/rb_support/rb_step_definition.rb:97:in `invoke'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/step_match.rb:25:in `invoke'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/runtime/support_code.rb:60:in `invoke'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/rb_support/rb_world.rb:52:in `step'
/mnt/jenkins-workspace/workspace/browsertests-Gather-en.m.wikipedia.beta.wmflabs.org-linux-chrome-sauce/tests/browser/features/step_definitions/common_steps.rb:16:in `block in <top (required)>'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/core_ext/instance_exec.rb:48:in `instance_exec'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/core_ext/instance_exec.rb:48:in `block in cucumber_instance_exec'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/core_ext/instance_exec.rb:69:in `cucumber_run_with_backtrace_filtering'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/core_ext/instance_exec.rb:36:in `cucumber_instance_exec'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/rb_support/rb_step_definition.rb:97:in `invoke'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/step_match.rb:25:in `invoke'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/step_invocation.rb:60:in `invoke'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/step_invocation.rb:38:in `accept'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/tree_walker.rb:106:in `block in visit_step'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/tree_walker.rb:170:in `broadcast'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/tree_walker.rb:105:in `visit_step'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/step_collection.rb:19:in `block in accept'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/step_collection.rb:18:in `each'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/step_collection.rb:18:in `accept'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/tree_walker.rb:100:in `block in visit_steps'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/tree_walker.rb:170:in `broadcast'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/tree_walker.rb:99:in `visit_steps'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/tree_walker.rb:15:in `block in execute'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/runtime.rb:83:in `block (2 levels) in with_hooks'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/runtime.rb:99:in `before_and_after'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/runtime.rb:82:in `block in with_hooks'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/runtime/support_code.rb:120:in `call'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/runtime/support_code.rb:120:in `block (3 levels) in around'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/language_support/language_methods.rb:9:in `block in around'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/language_support/language_methods.rb:97:in `call'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/language_support/language_methods.rb:97:in `execute_around'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/language_support/language_methods.rb:8:in `around'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/runtime/support_code.rb:119:in `block (2 levels) in around'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/runtime/support_code.rb:123:in `call'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/runtime/support_code.rb:123:in `around'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/runtime.rb:94:in `around'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/runtime.rb:81:in `with_hooks'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/tree_walker.rb:13:in `execute'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/scenario.rb:32:in `block in accept'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/scenario.rb:79:in `with_visitor'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/scenario.rb:31:in `accept'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/tree_walker.rb:58:in `block in visit_feature_element'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/tree_walker.rb:170:in `broadcast'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/tree_walker.rb:57:in `visit_feature_element'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/feature.rb:38:in `block in accept'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/feature.rb:37:in `each'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/feature.rb:37:in `accept'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/tree_walker.rb:27:in `block in visit_feature'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/tree_walker.rb:170:in `broadcast'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/tree_walker.rb:26:in `visit_feature'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/features.rb:28:in `block in accept'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/features.rb:17:in `each'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/features.rb:17:in `each'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/features.rb:27:in `accept'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/tree_walker.rb:21:in `block in visit_features'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/tree_walker.rb:170:in `broadcast'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/ast/tree_walker.rb:20:in `visit_features'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/runtime.rb:49:in `run!'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/lib/cucumber/cli/main.rb:47:in `execute!'
/mnt/jenkins-workspace/workspace/gems/2.0.0/gems/cucumber-1.3.19/bin/cucumber:13:in `<top (required)>'
/mnt/jenkins-workspace/workspace/gems/2.0.0/bin/cucumber:23:in `load'
/mnt/jenkins-workspace/workspace/gems/2.0.0/bin/cucumber:23:in `<main>'
features/add_to_collection.feature:5:in `Given I am logged into the mobile website'

Event Timeline

Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson updated the task description. (Show Details)
Jdlrobson subscribed.
hashar set Security to None.
hashar updated the task description. (Show Details)