daily pastebin goal
45%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 277 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. + xvfb-run -a bundle exec rspec
  2. DEPRECATION WARNING: [paperclip] [deprecation] AWS SDK v1 has been deprecated in paperclip 5. Please consider upgrading to AWS 2 before upgrading paperclip. (called from <class:Document> at /home/ec2-user/workspace/PatientUI/care_planning/app/models/care_planning/document.rb:4)
  3. DEPRECATION WARNING: [paperclip] [deprecation] Rails 3.2 and 4.1 are unsupported as of Rails 5 release. Please upgrade to Rails 4.2 before upgrading paperclip. (called from <class:Document> at /home/ec2-user/workspace/PatientUI/care_planning/app/models/care_planning/document.rb:4)
  4. WARNING: The next major version of capybara-webkit will require at least version 5.0 of Qt. You're using version 4.8.6.
  5. FFFF......................
  6.  
  7. Failures:
  8.  
  9.   1) Collect Distress As a patient user Given I am a patient user -> And all surveys are enabled -> And I am submitting a valid survey response -> When I go to the distress survey home -> And I complete the distress survey with depression -> Then I see the distress summary page -> When I submit my distress survey -> Then I see the end patient flow page
  10.      Got 0 failures and 2 other errors:
  11.  
  12.      1.1) Failure/Error: visit distress_survey_path(patient_id: @patient_id)
  13.  
  14.           EOFError:
  15.             end of file reached
  16.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/connection.rb:41:in `read_nonblock'
  17.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/connection.rb:41:in `read'
  18.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/connection.rb:32:in `gets'
  19.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:299:in `check'
  20.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:211:in `command'
  21.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:19:in `visit'
  22.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/driver.rb:50:in `visit'
  23.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara/session.rb:233:in `visit'
  24.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara/dsl.rb:52:in `block (2 levels) in <module:DSL>'
  25.           # spec/acceptance/steps/distress_survey/collect_distress_steps.rb:29:in `block (2 levels) in <top (required)>'
  26.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/turnip-2.1.0/lib/turnip/execute.rb:25:in `step'
  27.           # ./spec/acceptance/surveys/distress_survey_flows.feature:8:in `run_step'
  28.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/turnip-2.1.0/lib/turnip/rspec.rb:44:in `instance_eval'
  29.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/turnip-2.1.0/lib/turnip/rspec.rb:44:in `run_step'
  30.           # ./spec/acceptance/surveys/distress_survey_flows.feature:6:in `block (4 levels) in run_feature'
  31.           # ./spec/acceptance/surveys/distress_survey_flows.feature:5:in `each'
  32.           # ./spec/acceptance/surveys/distress_survey_flows.feature:5:in `block (3 levels) in run_feature'
  33.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'
  34.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'
  35.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'
  36.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'
  37.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
  38.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
  39.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
  40.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
  41.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
  42.           # ./spec/acceptance/surveys/distress_survey_flows.feature:8:in `I go to the distress survey home'
  43.  
  44.      1.2) Failure/Error: raise ConnectionError, "#{SERVER_PATH} failed to start."
  45.  
  46.           Capybara::Webkit::ConnectionError:
  47.             /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/bin/webkit_server failed to start.
  48.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/server.rb:56:in `parse_port'
  49.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/server.rb:42:in `discover_port'
  50.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/server.rb:26:in `start'
  51.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/connection.rb:67:in `start_server'
  52.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/connection.rb:52:in `restart'
  53.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:214:in `rescue in command'
  54.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:205:in `command'
  55.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:39:in `reset!'
  56.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/driver.rb:264:in `reset!'
  57.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara/session.rb:109:in `reset!'
  58.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara.rb:331:in `block in reset_sessions!'
  59.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara.rb:331:in `reverse_each'
  60.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara.rb:331:in `reset_sessions!'
  61.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara/rspec.rb:21:in `block (2 levels) in <top (required)>'
  62.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'
  63.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'
  64.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'
  65.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'
  66.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
  67.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
  68.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
  69.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
  70.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
  71.           # ------------------
  72.           # --- Caused by: ---
  73.           # Errno::EPIPE:
  74.           #   Broken pipe
  75.           #   /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/connection.rb:22:in `write'
  76.  
  77.   2) Collect Distress As a staff user Given I am a staff user -> And all surveys are enabled -> And I am submitting a valid survey response -> When I go to the distress survey home -> And I complete the distress survey with depression -> Then I see the distress summary page -> When I submit my distress survey -> Then I do not see the end patient flow page
  78.      Got 0 failures and 2 other errors:
  79.  
  80.      2.1) Failure/Error: visit '/account/login'
  81.  
  82.           NoMethodError:
  83.             private method `puts' called for nil:NilClass
  84.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/connection.rb:22:in `puts'
  85.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:205:in `command'
  86.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:19:in `visit'
  87.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/driver.rb:50:in `visit'
  88.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara/session.rb:233:in `visit'
  89.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara/dsl.rb:52:in `block (2 levels) in <module:DSL>'
  90.           # spec/acceptance/steps/distress_survey/collect_distress_steps.rb:285:in `log_in_with_test_identity'
  91.           # spec/acceptance/steps/distress_survey/collect_distress_steps.rb:14:in `block (2 levels) in <top (required)>'
  92.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/turnip-2.1.0/lib/turnip/execute.rb:25:in `step'
  93.           # ./spec/acceptance/surveys/distress_survey_flows.feature:17:in `run_step'
  94.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/turnip-2.1.0/lib/turnip/rspec.rb:44:in `instance_eval'
  95.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/turnip-2.1.0/lib/turnip/rspec.rb:44:in `run_step'
  96.           # ./spec/acceptance/surveys/distress_survey_flows.feature:18:in `block (4 levels) in run_feature'
  97.           # ./spec/acceptance/surveys/distress_survey_flows.feature:17:in `each'
  98.           # ./spec/acceptance/surveys/distress_survey_flows.feature:17:in `block (3 levels) in run_feature'
  99.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'
  100.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'
  101.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'
  102.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'
  103.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
  104.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
  105.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
  106.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
  107.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
  108.           # ./spec/acceptance/surveys/distress_survey_flows.feature:17:in `I am a staff user'
  109.  
  110.      2.2) Failure/Error: @socket.puts string
  111.  
  112.           NoMethodError:
  113.             private method `puts' called for nil:NilClass
  114.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/connection.rb:22:in `puts'
  115.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:205:in `command'
  116.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:39:in `reset!'
  117.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/driver.rb:264:in `reset!'
  118.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara/session.rb:109:in `reset!'
  119.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara.rb:331:in `block in reset_sessions!'
  120.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara.rb:331:in `reverse_each'
  121.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara.rb:331:in `reset_sessions!'
  122.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara/rspec.rb:21:in `block (2 levels) in <top (required)>'
  123.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'
  124.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'
  125.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'
  126.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'
  127.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
  128.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
  129.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
  130.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
  131.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
  132.  
  133.   3) Kiosk Flows As a registered patient using the kiosk Given I am a kiosk user -> And all surveys are enabled -> And I am submitting a valid survey response -> When I go to the kiosk home -> Then I see the lets get started page -> When I click the lets get started button -> Then I see the indentify patient page -> When I fill out the identify patient form -> And I submit the identify registered patient page -> Then I should see the distress survey -> When I complete the distress survey with depression -> Then I see the distress summary page -> When I submit my distress survey -> Then I should see the depression survey -> When I complete the depression survey -> Then I see the depression summary page -> When I submit my depression survey -> Then I should see the pain survey -> When I complete the pain survey -> Then I see the registered thank you page
  134.      Got 0 failures and 2 other errors:
  135.  
  136.      3.1) Failure/Error: visit '/account/login'
  137.  
  138.           NoMethodError:
  139.             private method `puts' called for nil:NilClass
  140.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/connection.rb:22:in `puts'
  141.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:205:in `command'
  142.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:19:in `visit'
  143.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/driver.rb:50:in `visit'
  144.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara/session.rb:233:in `visit'
  145.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara/dsl.rb:52:in `block (2 levels) in <module:DSL>'
  146.           # spec/acceptance/steps/distress_survey/collect_distress_steps.rb:285:in `log_in_with_test_identity'
  147.           # spec/acceptance/steps/distress_survey/collect_distress_steps.rb:20:in `block (2 levels) in <top (required)>'
  148.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/turnip-2.1.0/lib/turnip/execute.rb:25:in `step'
  149.           # ./spec/acceptance/surveys/kiosk_survey_flows.feature:5:in `run_step'
  150.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/turnip-2.1.0/lib/turnip/rspec.rb:44:in `instance_eval'
  151.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/turnip-2.1.0/lib/turnip/rspec.rb:44:in `run_step'
  152.           # ./spec/acceptance/surveys/kiosk_survey_flows.feature:6:in `block (4 levels) in run_feature'
  153.           # ./spec/acceptance/surveys/kiosk_survey_flows.feature:5:in `each'
  154.           # ./spec/acceptance/surveys/kiosk_survey_flows.feature:5:in `block (3 levels) in run_feature'
  155.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'
  156.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'
  157.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'
  158.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'
  159.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
  160.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
  161.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
  162.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
  163.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
  164.           # ./spec/acceptance/surveys/kiosk_survey_flows.feature:5:in `I am a kiosk user'
  165.  
  166.      3.2) Failure/Error: @socket.puts string
  167.  
  168.           NoMethodError:
  169.             private method `puts' called for nil:NilClass
  170.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/connection.rb:22:in `puts'
  171.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:205:in `command'
  172.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:39:in `reset!'
  173.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/driver.rb:264:in `reset!'
  174.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara/session.rb:109:in `reset!'
  175.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara.rb:331:in `block in reset_sessions!'
  176.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara.rb:331:in `reverse_each'
  177.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara.rb:331:in `reset_sessions!'
  178.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara/rspec.rb:21:in `block (2 levels) in <top (required)>'
  179.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'
  180.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'
  181.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'
  182.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'
  183.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
  184.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
  185.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
  186.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
  187.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
  188.  
  189.   4) Kiosk Flows As an unregistered patient using the kiosk Given I am a kiosk user -> And all surveys are enabled -> And I am submitting a valid survey response -> When I go to the kiosk home -> Then I see the lets get started page -> When I click the lets get started button -> Then I see the indentify patient page -> When I fill out the identify patient form -> And I submit the identify unregistered patient page -> Then I should see the distress survey -> And I complete the distress survey with depression -> Then I see the distress summary page -> When I submit my distress survey -> Then I should see the depression survey -> When I complete the depression survey -> Then I see the depression summary page -> When I submit my depression survey -> Then I should see the pain survey -> When I complete the pain survey -> Then I see the unregistered thank you page
  190.      Got 0 failures and 2 other errors:
  191.  
  192.      4.1) Failure/Error: visit '/account/login'
  193.  
  194.           NoMethodError:
  195.             private method `puts' called for nil:NilClass
  196.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/connection.rb:22:in `puts'
  197.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:205:in `command'
  198.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:19:in `visit'
  199.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/driver.rb:50:in `visit'
  200.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara/session.rb:233:in `visit'
  201.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara/dsl.rb:52:in `block (2 levels) in <module:DSL>'
  202.           # spec/acceptance/steps/distress_survey/collect_distress_steps.rb:285:in `log_in_with_test_identity'
  203.           # spec/acceptance/steps/distress_survey/collect_distress_steps.rb:20:in `block (2 levels) in <top (required)>'
  204.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/turnip-2.1.0/lib/turnip/execute.rb:25:in `step'
  205.           # ./spec/acceptance/surveys/kiosk_survey_flows.feature:32:in `run_step'
  206.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/turnip-2.1.0/lib/turnip/rspec.rb:44:in `instance_eval'
  207.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/turnip-2.1.0/lib/turnip/rspec.rb:44:in `run_step'
  208.           # ./spec/acceptance/surveys/kiosk_survey_flows.feature:33:in `block (4 levels) in run_feature'
  209.           # ./spec/acceptance/surveys/kiosk_survey_flows.feature:32:in `each'
  210.           # ./spec/acceptance/surveys/kiosk_survey_flows.feature:32:in `block (3 levels) in run_feature'
  211.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'
  212.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'
  213.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'
  214.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'
  215.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
  216.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
  217.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
  218.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
  219.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
  220.           # ./spec/acceptance/surveys/kiosk_survey_flows.feature:32:in `I am a kiosk user'
  221.  
  222.      4.2) Failure/Error: @socket.puts string
  223.  
  224.           NoMethodError:
  225.             private method `puts' called for nil:NilClass
  226.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/connection.rb:22:in `puts'
  227.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:205:in `command'
  228.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/browser.rb:39:in `reset!'
  229.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-webkit-1.11.1/lib/capybara/webkit/driver.rb:264:in `reset!'
  230.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara/session.rb:109:in `reset!'
  231.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara.rb:331:in `block in reset_sessions!'
  232.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara.rb:331:in `reverse_each'
  233.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara.rb:331:in `reset_sessions!'
  234.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/capybara-2.7.1/lib/capybara/rspec.rb:21:in `block (2 levels) in <top (required)>'
  235.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'
  236.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'
  237.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'
  238.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'
  239.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
  240.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
  241.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
  242.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
  243.           # /home/ec2-user/.rvm/gems/ruby-2.1.5@PatientUI/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
  244.  
  245. Finished in 8.39 seconds (files took 6.74 seconds to load)
  246. 26 examples, 4 failures
  247.  
  248. Failed examples:
  249.  
  250. rspec ./spec/acceptance/surveys/distress_survey_flows.feature:4 # Collect Distress As a patient user Given I am a patient user -> And all surveys are enabled -> And I am submitting a valid survey response -> When I go to the distress survey home -> And I complete the distress survey with depression -> Then I see the distress summary page -> When I submit my distress survey -> Then I see the end patient flow page
  251. rspec ./spec/acceptance/surveys/distress_survey_flows.feature:16 # Collect Distress As a staff user Given I am a staff user -> And all surveys are enabled -> And I am submitting a valid survey response -> When I go to the distress survey home -> And I complete the distress survey with depression -> Then I see the distress summary page -> When I submit my distress survey -> Then I do not see the end patient flow page
  252. rspec ./spec/acceptance/surveys/kiosk_survey_flows.feature:4 # Kiosk Flows As a registered patient using the kiosk Given I am a kiosk user -> And all surveys are enabled -> And I am submitting a valid survey response -> When I go to the kiosk home -> Then I see the lets get started page -> When I click the lets get started button -> Then I see the indentify patient page -> When I fill out the identify patient form -> And I submit the identify registered patient page -> Then I should see the distress survey -> When I complete the distress survey with depression -> Then I see the distress summary page -> When I submit my distress survey -> Then I should see the depression survey -> When I complete the depression survey -> Then I see the depression summary page -> When I submit my depression survey -> Then I should see the pain survey -> When I complete the pain survey -> Then I see the registered thank you page
  253. rspec ./spec/acceptance/surveys/kiosk_survey_flows.feature:31 # Kiosk Flows As an unregistered patient using the kiosk Given I am a kiosk user -> And all surveys are enabled -> And I am submitting a valid survey response -> When I go to the kiosk home -> Then I see the lets get started page -> When I click the lets get started button -> Then I see the indentify patient page -> When I fill out the identify patient form -> And I submit the identify unregistered patient page -> Then I should see the distress survey -> And I complete the distress survey with depression -> Then I see the distress summary page -> When I submit my distress survey -> Then I should see the depression survey -> When I complete the depression survey -> Then I see the depression summary page -> When I submit my depression survey -> Then I should see the pain survey -> When I complete the pain survey -> Then I see the unregistered thank you page
  254.  
  255. Coverage report generated for RSpec to /home/ec2-user/workspace/PatientUI/patient_ui/coverage. 157 / 176 LOC (89.2%) covered.
  256. Build step 'Execute shell' marked build as failure
  257. Sending e-mails to: appteam@navigatingcancer.com andrewr@navigatingcancer.com azhou@navigatingcancer.com sgrogan@navigatingcancer.com
  258. [INFO] HipChat notification sent to the following rooms: Jenkins Builds
  259. Finished: FAILURE
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top