Skip to content

Instantly share code, notes, and snippets.

@jamo
Last active August 29, 2015 14:10
Show Gist options
  • Save jamo/ca188a00e178f6718084 to your computer and use it in GitHub Desktop.
Save jamo/ca188a00e178f6718084 to your computer and use it in GitHub Desktop.
TMC speck run benchmark
git log last: 9f835f985c2422af7c0180562c401cebe45b6d11
/usr/bin/time -f "Hours: %E CPUsecK: %S CPUsecU %U MaxSize %M AvgUnshared: %D AvgShared: %X SysPageSize : %Z NumMajorFaults: %F NumMinorFaults: %R NumSwappedMainMem: %W NumForcedContextSwitch: %c NumWaits: %w NumFilesystemInputs: %I NumFilesystemOutputs: %O NumSocketReceived: %r NumSocketSent: %s NumSignalsTo: %k Command: %C ExitStatus: %x" env DISPLAY=:99 rvmsudo rake spec
Warning: can not check `/etc/sudoers` for `secure_path`, falling back to call via `/usr/bin/env`, this breaks rules from `/etc/sudoers`. Run:
export rvmsudo_secure_path=1
to avoid the warning, put it in shell initialization file to make it persistent.
In case there is no `secure_path` in `/etc/sudoers`. Run:
export rvmsudo_secure_path=0
to avoid the warning, put it in shell initialization file to make it persistent.
/usr/local/rvm/rubies/ruby-2.1.2/bin/ruby -I/usr/local/rvm/gems/ruby-2.1.2/gems/rspec-core-3.1.7/lib:/usr/local/rvm/gems/ruby-2.1.2/gems/rspec-support-3.1.2/lib /usr/local/rvm/gems/ruby-2.1.2/gems/rspec-core-3.1.7/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
Run options: exclude {:gdocs=>true}
...[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
.......................................................................Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
FUnexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
....*...............Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
..Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
.***Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
.Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
...........................................................................*............................................................................................................................................................................................................................................................Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
cometd handshake failed
Unexpected response code: 400
cometd handshake failed
.
Pending:
RemoteSandboxForTesting running tests on a submission for a simple exercise should not create multiple test results for the same test method even if it is involved in multiple points
# Not yet implemented
# ./spec/integration/running_tests/general_spec.rb:38
The system (used by a student) should not accept submissions for exercises whose deadline has passed
# Not yet implemented
# ./spec/integration/student_usecases_spec.rb:107
The system (used by a student) should not accept submissions for hidden courses
# Not yet implemented
# ./spec/integration/student_usecases_spec.rb:109
The system (used by a student) should not show the submission form for unreturnable exercises
# Not yet implemented
# ./spec/integration/student_usecases_spec.rb:111
CourseRefresher should be able to scan maven exercises
# Not yet implemented
# ./spec/lib/course_refresher_spec.rb:521
Failures:
1) Notifications about new code reviews via HTTP push should be delivered in the web interface
Failure/Error: Unable to find matching line from backtrace
expected #has_content?("Your submission for exercise40 was reviewed.") to return true, got false
# /home/tmc/tmc-server/spec/integration/comet/review_notification_spec.rb:41:in `block (3 levels) in <top (required)>'
# /usr/local/rvm/gems/ruby-2.1.2/gems/capybara-2.4.4/lib/capybara.rb:277:in `using_session'
# /usr/local/rvm/gems/ruby-2.1.2/gems/capybara-2.4.4/lib/capybara/dsl.rb:20:in `using_session'
# /home/tmc/tmc-server/spec/integration/comet/review_notification_spec.rb:40:in `block (2 levels) in <top (required)>'
Deprecation Warnings:
Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` instead. Called from /home/tmc/tmc-server/spec/controllers/feedback_answers_controller_spec.rb:75:in `block (3 levels) in <top (required)>'.
Using `stub` from rspec-mocks' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` instead. Called from /home/tmc/tmc-server/spec/support/remote_sandbox_for_testing.rb:39:in `init_stubs!'.
If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
`config.raise_errors_for_deprecations!`, and it will turn the
deprecation warnings into errors, giving you the full backtrace.
2 deprecation warnings total
Finished in 27 minutes 29 seconds (files took 8.32 seconds to load)
463 examples, 1 failure, 5 pending
Failed examples:
rspec ./spec/integration/comet/review_notification_spec.rb:32 # Notifications about new code reviews via HTTP push should be delivered in the web interface
Coverage report generated for RSpec to /home/tmc/tmc-server/coverage. 144 / 202 LOC (71.29%) covered.
/usr/local/rvm/rubies/ruby-2.1.2/bin/ruby -I/usr/local/rvm/gems/ruby-2.1.2/gems/rspec-core-3.1.7/lib:/usr/local/rvm/gems/ruby-2.1.2/gems/rspec-support-3.1.2/lib /usr/local/rvm/gems/ruby-2.1.2/gems/rspec-core-3.1.7/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed
Command exited with non-zero status 1
Hours: 27:42.54 CPUsecK: 77.42 CPUsecU 360.63 MaxSize 583704 AvgUnshared: 0 AvgShared: 0 SysPageSize : 4096 NumMajorFaults: 191 NumMinorFaults: 12544948 NumSwappedMainMem: 0 NumForcedContextSwitch: 177839 NumWaits: 172013 NumFilesystemInputs: 150936 NumFilesystemOutputs: 10560808 NumSocketReceived: 0 NumSocketSent: 0 NumSignalsTo: 0 Command: env DISPLAY=:99 rvmsudo rake spec ExitStatus: 1
git log last: 3884ac772d7632c0d3f5b6ed5783714bd261d735
➜ tmc-server git:(master) ✗ /usr/bin/time -f "Hours: %E CPUsecK: %S CPUsecU %U MaxSize %M AvgUnshared: %D AvgShared: %X SysPageSize : %Z NumMajorFaults: %F NumMinorFaults: %R NumSwappedMainMem: %W NumForcedContextSwitch: %c NumWaits: %w NumFilesystemInputs: %I NumFilesystemOutputs: %O NumSocketReceived: %r NumSocketSent: %s NumSignalsTo: %k Command: %C ExitStatus: %x" env DISPLAY=:99 rvmsudo rake spec
Warning: can not check `/etc/sudoers` for `secure_path`, falling back to call via `/usr/bin/env`, this breaks rules from `/etc/sudoers`. Run:
export rvmsudo_secure_path=1
to avoid the warning, put it in shell initialization file to make it persistent.
In case there is no `secure_path` in `/etc/sudoers`. Run:
export rvmsudo_secure_path=0
to avoid the warning, put it in shell initialization file to make it persistent.
/usr/local/rvm/rubies/ruby-2.1.2/bin/ruby -S rspec ./spec/controllers/auths_controller_spec.rb ./spec/controllers/course_notifications_controller_spec.rb ./spec/controllers/courses_controller_spec.rb ./spec/controllers/exercise_status_controller_spec.rb ./spec/controllers/exercises_controller_spec.rb ./spec/controllers/feedback_answers_controller_spec.rb ./spec/controllers/feedback_replies_controller_spec.rb ./spec/controllers/points_controller_spec.rb ./spec/controllers/sessions_controller_spec.rb ./spec/controllers/users_controller_spec.rb ./spec/helpers/sessions_helper_spec.rb ./spec/integration/admin_usecases_spec.rb ./spec/integration/broken_utf8_spec.rb ./spec/integration/comet/review_notification_spec.rb ./spec/integration/feedback/feedback_question_management_spec.rb ./spec/integration/feedback/viewing_feedback_spec.rb ./spec/integration/personal_deadlines_spec.rb ./spec/integration/requests/pastes_spec.rb ./spec/integration/reset_password_spec.rb ./spec/integration/running_tests/dependent_source_files_spec.rb ./spec/integration/running_tests/general_spec.rb ./spec/integration/running_tests/makefile_c_tests_spec.rb ./spec/integration/running_tests/malicious_code_spec.rb ./spec/integration/running_tests/maven_tests_spec.rb ./spec/integration/running_tests/packages_spec.rb ./spec/integration/running_tests/rerun_spec.rb ./spec/integration/stats_view_usecases_spec.rb ./spec/integration/student_usecases_spec.rb ./spec/integration/utf8_exercise_spec.rb ./spec/lib/course_refresher/exercise_file_filter_spec.rb ./spec/lib/course_refresher_spec.rb ./spec/lib/date_and_time_utils_spec.rb ./spec/lib/exercise_completion_status_generator_spec.rb ./spec/lib/file_tree_hasher_spec.rb ./spec/lib/gdocs_export_spec.rb ./spec/lib/submission_packager/java_maven_spec.rb ./spec/lib/submission_packager/java_simple_spec.rb ./spec/lib/submission_processor_spec.rb ./spec/lib/test_run_grader_spec.rb ./spec/lib/tmc_junit_runner_spec.rb ./spec/lib/version_spec.rb ./spec/mailers/password_reset_key_mailer_spec.rb ./spec/models/available_point_spec.rb ./spec/models/awarded_point_spec.rb ./spec/models/course_spec.rb ./spec/models/deadline_spec_spec.rb ./spec/models/exercise/unlocks_and_deadlines_spec.rb ./spec/models/exercise_group_spec.rb ./spec/models/exercise_spec.rb ./spec/models/extra_field_spec.rb ./spec/models/feedback_answer/feedback_answer_format_validator_spec.rb ./spec/models/feedback_answer_spec.rb ./spec/models/feedback_question_spec.rb ./spec/models/password_reset_key_spec.rb ./spec/models/points_upload_queue_spec.rb ./spec/models/review_spec.rb ./spec/models/solution_spec.rb ./spec/models/stats_spec.rb ./spec/models/submission_spec.rb ./spec/models/test_scanner_cache_spec.rb ./spec/models/uncomputed_unlock_spec.rb ./spec/models/unlock_spec.rb ./spec/models/unlock_spec_spec.rb ./spec/models/user_spec.rb ./spec/usermanual/usermanual_spec.rb
Run options: exclude {:gdocs=>true}
...[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
............................................................................F.................*......................***......................................................................................*.............................................................................................................................................................................................................................................................
Pending:
RemoteSandboxForTesting running tests on a submission for a simple exercise should not create multiple test results for the same test method even if it is involved in multiple points
# Not yet implemented
# /home/tmc/tmc-server/spec/integration/running_tests/general_spec.rb:38
The system (used by a student) should not accept submissions for exercises whose deadline has passed
# Not yet implemented
# /home/tmc/tmc-server/spec/integration/student_usecases_spec.rb:105
The system (used by a student) should not accept submissions for hidden courses
# Not yet implemented
# /home/tmc/tmc-server/spec/integration/student_usecases_spec.rb:107
The system (used by a student) should not show the submission form for unreturnable exercises
# Not yet implemented
# /home/tmc/tmc-server/spec/integration/student_usecases_spec.rb:109
CourseRefresher should be able to scan maven exercises
# Not yet implemented
# /home/tmc/tmc-server/spec/lib/course_refresher_spec.rb:521
Failures:
1) Notifications about new code reviews via HTTP push should be delivered in the web interface
Failure/Error: page.should have_content("Your submission for #{@exercise.name} was reviewed.")
expected there to be content "Your submission for exercise40 was reviewed." in "TestMyCode server\nMy account\nMy stats\nSign out\nTMC\nWelcome to TMC\nCourses\nCourse\ncourse68\n[json]"
# /home/tmc/tmc-server/spec/integration/comet/review_notification_spec.rb:41:in `block (3 levels) in <top (required)>'
# /home/tmc/tmc-server/spec/integration/comet/review_notification_spec.rb:40:in `block (2 levels) in <top (required)>'
Finished in 1508.74 seconds
463 examples, 1 failure, 5 pending
Failed examples:
rspec /home/tmc/tmc-server/spec/integration/comet/review_notification_spec.rb:32 # Notifications about new code reviews via HTTP push should be delivered in the web interface
Coverage report generated for RSpec to /home/tmc/tmc-server/coverage. 144 / 202 LOC (71.29%) covered.
rake aborted!
/usr/local/rvm/rubies/ruby-2.1.2/bin/ruby -S rspec ./spec/controllers/auths_controller_spec.rb ./spec/controllers/course_notifications_controller_spec.rb ./spec/controllers/courses_controller_spec.rb ./spec/controllers/exercise_status_controller_spec.rb ./spec/controllers/exercises_controller_spec.rb ./spec/controllers/feedback_answers_controller_spec.rb ./spec/controllers/feedback_replies_controller_spec.rb ./spec/controllers/points_controller_spec.rb ./spec/controllers/sessions_controller_spec.rb ./spec/controllers/users_controller_spec.rb ./spec/helpers/sessions_helper_spec.rb ./spec/integration/admin_usecases_spec.rb ./spec/integration/broken_utf8_spec.rb ./spec/integration/comet/review_notification_spec.rb ./spec/integration/feedback/feedback_question_management_spec.rb ./spec/integration/feedback/viewing_feedback_spec.rb ./spec/integration/personal_deadlines_spec.rb ./spec/integration/requests/pastes_spec.rb ./spec/integration/reset_password_spec.rb ./spec/integration/running_tests/dependent_source_files_spec.rb ./spec/integration/running_tests/general_spec.rb ./spec/integration/running_tests/makefile_c_tests_spec.rb ./spec/integration/running_tests/malicious_code_spec.rb ./spec/integration/running_tests/maven_tests_spec.rb ./spec/integration/running_tests/packages_spec.rb ./spec/integration/running_tests/rerun_spec.rb ./spec/integration/stats_view_usecases_spec.rb ./spec/integration/student_usecases_spec.rb ./spec/integration/utf8_exercise_spec.rb ./spec/lib/course_refresher/exercise_file_filter_spec.rb ./spec/lib/course_refresher_spec.rb ./spec/lib/date_and_time_utils_spec.rb ./spec/lib/exercise_completion_status_generator_spec.rb ./spec/lib/file_tree_hasher_spec.rb ./spec/lib/gdocs_export_spec.rb ./spec/lib/submission_packager/java_maven_spec.rb ./spec/lib/submission_packager/java_simple_spec.rb ./spec/lib/submission_processor_spec.rb ./spec/lib/test_run_grader_spec.rb ./spec/lib/tmc_junit_runner_spec.rb ./spec/lib/version_spec.rb ./spec/mailers/password_reset_key_mailer_spec.rb ./spec/models/available_point_spec.rb ./spec/models/awarded_point_spec.rb ./spec/models/course_spec.rb ./spec/models/deadline_spec_spec.rb ./spec/models/exercise/unlocks_and_deadlines_spec.rb ./spec/models/exercise_group_spec.rb ./spec/models/exercise_spec.rb ./spec/models/extra_field_spec.rb ./spec/models/feedback_answer/feedback_answer_format_validator_spec.rb ./spec/models/feedback_answer_spec.rb ./spec/models/feedback_question_spec.rb ./spec/models/password_reset_key_spec.rb ./spec/models/points_upload_queue_spec.rb ./spec/models/review_spec.rb ./spec/models/solution_spec.rb ./spec/models/stats_spec.rb ./spec/models/submission_spec.rb ./spec/models/test_scanner_cache_spec.rb ./spec/models/uncomputed_unlock_spec.rb ./spec/models/unlock_spec.rb ./spec/models/unlock_spec_spec.rb ./spec/models/user_spec.rb ./spec/usermanual/usermanual_spec.rb failed
/usr/local/rvm/gems/ruby-2.1.2/gems/rspec-core-2.8.0/lib/rspec/core/rake_task.rb:137:in `block (2 levels) in initialize'
/usr/local/rvm/gems/ruby-2.1.2/gems/rspec-core-2.8.0/lib/rspec/core/rake_task.rb:127:in `block in initialize'
/usr/local/rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => spec
(See full trace by running task with --trace)
Command exited with non-zero status 1
Hours: 25:29.22 CPUsecK: 97.01 CPUsecU 468.98 MaxSize 479816 AvgUnshared: 0 AvgShared: 0 SysPageSize : 4096 NumMajorFaults: 851 NumMinorFaults: 14131593 NumSwappedMainMem: 0 NumForcedContextSwitch: 407855 NumWaits: 494640 NumFilesystemInputs: 364264 NumFilesystemOutputs: 11097880 NumSocketReceived: 0 NumSocketSent: 0 NumSignalsTo: 0 Command: env DISPLAY=:99 rvmsudo rake spec ExitStatus: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment