Skip to content

Instantly share code, notes, and snippets.

@LNA
Last active August 29, 2015 14:14
Show Gist options
  • Save LNA/57bf0d6f91414e608996 to your computer and use it in GitHub Desktop.
Save LNA/57bf0d6f91414e608996 to your computer and use it in GitHub Desktop.
Exercism Process Fail. Everything passes when I comment out the tests that test email. Soooo....
rake aborted!
Command failed with status (1): [ruby -I"lib" -I"/Users/latoyaallen/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib" "/Users/latoyaallen/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/rake_test_loader.rb" "test/acceptance/account_test.rb" "test/acceptance/authentication_test.rb" "test/acceptance/nits_test.rb" "test/acceptance/static_page_test.rb" "test/acceptance/team_test.rb" "test/api/assignments_test.rb" "test/api/comments_test.rb" "test/api/exercises_test.rb" "test/api/iterations_test.rb" "test/api/looks_test.rb" "test/api/stats_test.rb" "test/api/submissions_test.rb" "test/api/users_test.rb" "test/api_test.rb" "test/app/comment_threads_test.rb" "test/app/exercises_test.rb" "test/app/helpers/fuzzy_time_test.rb" "test/app/helpers/markdown_test.rb" "test/app/helpers/ng_esc_test.rb" "test/app/helpers/site_title_helper_test.rb" "test/app/helpers/submissions_helper_test.rb" "test/app/nitpick_test.rb" "test/app/notifications_test.rb" "test/app/presenters/languages_test.rb" "test/app/presenters/profile_test.rb" "test/app/presenters/setup_test.rb" "test/app/presenters/sharing_test.rb" "test/app/presenters/workload_test.rb" "test/app/submissions_test.rb" "test/app/teams_test.rb" "test/db/config_test.rb" "test/exercism/code_test.rb" "test/exercism/cohort_test.rb" "test/exercism/comment_thread_test.rb" "test/exercism/converts_markdown_to_html_test.rb" "test/exercism/decaying_randomizer_test.rb" "test/exercism/guest_test.rb" "test/exercism/iteration_test.rb" "test/exercism/language_test.rb" "test/exercism/language_track_test.rb" "test/exercism/lifecycle_event_test.rb" "test/exercism/markdown_test.rb" "test/exercism/nitstats_test.rb" "test/exercism/notification_center_test.rb" "test/exercism/notification_test.rb" "test/exercism/onboarding_test.rb" "test/exercism/problem_test.rb" "test/exercism/progress_bar_test.rb" "test/exercism/rikki_test.rb" "test/exercism/stats/streak_test.rb" "test/exercism/submission_test.rb" "test/exercism/team_test.rb" "test/exercism/use_cases/attempt_test.rb" "test/exercism/use_cases/completion_test.rb" "test/exercism/use_cases/creates_comment_test.rb" "test/exercism/use_cases/extracts_mentions_from_markdown_test.rb" "test/exercism/use_cases/hibernation_test.rb" "test/exercism/use_cases/mute_test.rb" "test/exercism/use_cases/participants_test.rb" "test/exercism/use_cases/unsubmit_test.rb" "test/exercism/user_exercise_test.rb" "test/exercism/user_test.rb" "test/exercism/work_test.rb" "test/lifecycle/api_test.rb" "test/lifecycle/app_test.rb" "test/services/comment_message_test.rb" "test/services/hibernation_message_test.rb" "test/services/message_test.rb" "test/services/notification_message_test.rb" "test/services/team_invitation_message_test.rb" ]
/Users/latoyaallen/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval'
/Users/latoyaallen/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => default => test
(See full trace by running task with --trace)
1) Error:
NotificationMessageTest#test_sends_email:
Net::ReadTimeout: Net::ReadTimeout
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/protocol.rb:158:in `rescue in rbuf_fill'
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/protocol.rb:152:in `rbuf_fill'
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/protocol.rb:134:in `readuntil'
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/protocol.rb:144:in `readline'
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:938:in `recv_response'
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:555:in `block in do_start'
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:948:in `critical'
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:555:in `do_start'
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:520:in `start'
/Users/latoyaallen/.rvm/gems/ruby-2.1.5/gems/mail-2.6.3/lib/mail/network/delivery_methods/smtp.rb:112:in `deliver!'
/Users/latoyaallen/.rvm/gems/ruby-2.1.5/gems/mail-2.6.3/lib/mail/message.rb:252:in `deliver!'
/Users/latoyaallen/.rvm/gems/ruby-2.1.5/gems/pony-1.11/lib/pony.rb:176:in `deliver'
/Users/latoyaallen/.rvm/gems/ruby-2.1.5/gems/pony-1.11/lib/pony.rb:166:in `mail'
/Users/latoyaallen/projects/exercism.io/lib/services/email.rb:14:in `ship'
/Users/latoyaallen/projects/exercism.io/lib/services/notification_message.rb:38:in `ship'
/Users/latoyaallen/projects/exercism.io/test/services/notification_message_test.rb:76:in `test_sends_email'
2) Error:
NotificationMessageTest#test_sends_email:
Net::ReadTimeout: Net::ReadTimeout
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/protocol.rb:158:in `rescue in rbuf_fill'
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/protocol.rb:152:in `rbuf_fill'
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/protocol.rb:134:in `readuntil'
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/protocol.rb:144:in `readline'
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:938:in `recv_response'
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:555:in `block in do_start'
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:948:in `critical'
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:555:in `do_start'
/Users/latoyaallen/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/net/smtp.rb:520:in `start'
/Users/latoyaallen/.rvm/gems/ruby-2.1.5/gems/mail-2.6.3/lib/mail/network/delivery_methods/smtp.rb:112:in `deliver!'
/Users/latoyaallen/.rvm/gems/ruby-2.1.5/gems/mail-2.6.3/lib/mail/message.rb:252:in `deliver!'
/Users/latoyaallen/.rvm/gems/ruby-2.1.5/gems/pony-1.11/lib/pony.rb:176:in `deliver'
/Users/latoyaallen/.rvm/gems/ruby-2.1.5/gems/pony-1.11/lib/pony.rb:166:in `mail'
/Users/latoyaallen/projects/exercism.io/lib/services/email.rb:14:in `ship'
/Users/latoyaallen/projects/exercism.io/lib/services/notification_message.rb:38:in `ship'
/Users/latoyaallen/projects/exercism.io/test/services/notification_message_test.rb:76:in `test_sends_email'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment